From 4c5c311073ba8e0295aa1a1fab7c697d9db9ced5 Mon Sep 17 00:00:00 2001 From: jar-stripe Date: Tue, 23 Jun 2026 21:49:11 -0700 Subject: [PATCH 1/4] fix: CJS companion namespace access for resource types at all depths (#2765) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: regenerate types for CJS companion namespace access at all depths Regenerated from stripe/sdk-codegen#3768 which fixes: - Resource sub-types (e.g. Stripe.Price.Recurring) now accessible in CJS - Nested resource types (e.g. Stripe.Billing.Alert.Status) now accessible in both CJS and ESM - Deep params namespaces (e.g. AccountCreateParams.BusinessProfile.AnnualRevenue) now accessible in CJS Fixes #2683 Co-Authored-By: Claude Sonnet 4.6 Committed-By-Agent: claude * test: add regression tests for nested namespace type access Adds type assertions for patterns that were previously broken in CJS (and some in ESM too): - Resource sub-types: Stripe.Price.Recurring, Stripe.Customer.InvoiceSettings - Deep resource sub-types: Stripe.Subscription.BillingMode.Type - Nested resource sub-types: Stripe.Billing.Alert.Status, Stripe.Terminal.Configuration.Tipping, Stripe.Apps.Secret.Scope - Deep params: Stripe.AccountCreateParams.BusinessProfile.AnnualRevenue Added to both testProjects/types/ (ESM) and testProjects/types-cjs-node16/ (CJS) so both declaration files are covered. Co-Authored-By: Claude Sonnet 4.6 Committed-By-Agent: claude * test: add namespace regression tests to types-cjs project Same coverage as types/ and types-cjs-node16/ — covers module: commonjs / moduleResolution: node resolution mode. Co-Authored-By: Claude Sonnet 4.6 Committed-By-Agent: claude --------- Co-authored-by: Claude Sonnet 4.6 --- src/resources/Apps/Secrets.ts | 30 +- src/resources/Billing/Alerts.ts | 58 +- src/resources/Billing/CreditBalanceSummary.ts | 88 +- .../Billing/CreditBalanceTransactions.ts | 169 +- src/resources/Billing/CreditGrants.ts | 88 +- .../Billing/MeterEventAdjustments.ts | 22 +- src/resources/Billing/Meters.ts | 80 +- src/resources/BillingPortal/Configurations.ts | 346 +- src/resources/BillingPortal/Sessions.ts | 325 +- src/resources/Checkout/Sessions.ts | 4512 +++--- src/resources/Climate/Orders.ts | 124 +- src/resources/Climate/Products.ts | 32 +- src/resources/Climate/Suppliers.ts | 62 +- .../FinancialConnections/Accounts.ts | 346 +- .../FinancialConnections/Sessions.ts | 94 +- .../FinancialConnections/Transactions.ts | 28 +- src/resources/Forwarding/Requests.ts | 136 +- src/resources/Identity/VerificationReports.ts | 614 +- .../Identity/VerificationSessions.ts | 376 +- src/resources/Issuing/Authorizations.ts | 871 +- src/resources/Issuing/Cardholders.ts | 1540 +- src/resources/Issuing/Cards.ts | 1692 ++- src/resources/Issuing/Disputes.ts | 501 +- .../Issuing/PersonalizationDesigns.ts | 130 +- src/resources/Issuing/PhysicalBundles.ts | 54 +- src/resources/Issuing/Tokens.ts | 332 +- src/resources/Issuing/Transactions.ts | 492 +- src/resources/Radar/PaymentEvaluations.ts | 768 +- src/resources/Radar/ValueListItems.ts | 30 +- src/resources/Radar/ValueLists.ts | 63 +- src/resources/Radar/index.ts | 6 +- src/resources/Reporting/ReportRuns.ts | 72 +- src/resources/Reserve/Holds.ts | 38 +- src/resources/Reserve/Plans.ts | 70 +- src/resources/Reserve/Releases.ts | 64 +- src/resources/Sigma/ScheduledQueryRuns.ts | 16 +- src/resources/Tax/Associations.ts | 64 +- src/resources/Tax/CalculationLineItems.ts | 197 +- src/resources/Tax/Calculations.ts | 674 +- src/resources/Tax/Registrations.ts | 2520 ++-- src/resources/Tax/Settings.ts | 84 +- src/resources/Tax/TransactionLineItems.ts | 26 +- src/resources/Tax/Transactions.ts | 568 +- src/resources/Terminal/Configurations.ts | 977 +- src/resources/Terminal/Locations.ts | 153 +- src/resources/Terminal/OnboardingLinks.ts | 36 +- src/resources/Terminal/Readers.ts | 1509 +- src/resources/Terminal/index.ts | 9 +- src/resources/TestHelpers/TestClocks.ts | 59 +- src/resources/TestHelpers/index.ts | 3 +- src/resources/Treasury/CreditReversals.ts | 24 +- src/resources/Treasury/DebitReversals.ts | 44 +- .../Treasury/FinancialAccountFeatures.ts | 736 +- src/resources/Treasury/FinancialAccounts.ts | 265 +- src/resources/Treasury/InboundTransfers.ts | 208 +- src/resources/Treasury/OutboundPayments.ts | 316 +- src/resources/Treasury/OutboundTransfers.ts | 298 +- src/resources/Treasury/ReceivedCredits.ts | 316 +- src/resources/Treasury/ReceivedDebits.ts | 230 +- src/resources/Treasury/TransactionEntries.ts | 236 +- src/resources/Treasury/Transactions.ts | 200 +- .../V2/Billing/MeterEventAdjustments.ts | 24 +- .../V2/Commerce/ProductCatalogImports.ts | 311 +- src/resources/V2/Core/AccountLinks.ts | 180 +- src/resources/V2/Core/AccountPersons.ts | 990 +- src/resources/V2/Core/Accounts.ts | 9208 ++++++------ src/resources/V2/Core/EventDestinations.ts | 204 +- src/resources/V2/Core/Events.ts | 56 +- src/stripe.cjs.node.ts | 12422 +++++++++++++++- .../types-cjs-node16/typescriptTest.ts | 17 + testProjects/types-cjs/typescriptTest.ts | 17 + testProjects/types/typescriptTest.ts | 17 + 72 files changed, 29564 insertions(+), 17903 deletions(-) diff --git a/src/resources/Apps/Secrets.ts b/src/resources/Apps/Secrets.ts index 1d072d3f0c..18c2399034 100644 --- a/src/resources/Apps/Secrets.ts +++ b/src/resources/Apps/Secrets.ts @@ -100,25 +100,23 @@ export interface Secret { */ payload?: string | null; - scope: Apps.Secret.Scope; + scope: Secret.Scope; } -export namespace Apps { - export namespace Secret { - export interface Scope { - /** - * The secret scope type. - */ - type: Scope.Type; +export namespace Secret { + export interface Scope { + /** + * The secret scope type. + */ + type: Scope.Type; - /** - * The user ID, if type is set to "user" - */ - user?: string; - } + /** + * The user ID, if type is set to "user" + */ + user?: string; + } - export namespace Scope { - export type Type = 'account' | 'user'; - } + export namespace Scope { + export type Type = 'account' | 'user'; } } export namespace Apps { diff --git a/src/resources/Billing/Alerts.ts b/src/resources/Billing/Alerts.ts index 1db6ae4532..3bfa1f3f30 100644 --- a/src/resources/Billing/Alerts.ts +++ b/src/resources/Billing/Alerts.ts @@ -117,7 +117,7 @@ export interface Alert { /** * Status of the alert. This can be active, inactive or archived. */ - status: Billing.Alert.Status | null; + status: Alert.Status | null; /** * Title of the alert. @@ -127,43 +127,41 @@ export interface Alert { /** * Encapsulates configuration of the alert to monitor usage on a specific [Billing Meter](https://docs.stripe.com/api/billing/meter). */ - usage_threshold: Billing.Alert.UsageThreshold | null; + usage_threshold: Alert.UsageThreshold | null; } -export namespace Billing { - export namespace Alert { - export type Status = 'active' | 'archived' | 'inactive'; +export namespace Alert { + export type Status = 'active' | 'archived' | 'inactive'; - export interface UsageThreshold { - /** - * The filters allow limiting the scope of this usage alert. You can only specify up to one filter at this time. - */ - filters: Array | null; + export interface UsageThreshold { + /** + * The filters allow limiting the scope of this usage alert. You can only specify up to one filter at this time. + */ + filters: Array | null; - /** - * The value at which this alert will trigger. - */ - gte: number; + /** + * The value at which this alert will trigger. + */ + gte: number; - /** - * The [Billing Meter](https://docs.stripe.com/api/billing/meter) ID whose usage is monitored. - */ - meter: string | Meter; + /** + * The [Billing Meter](https://docs.stripe.com/api/billing/meter) ID whose usage is monitored. + */ + meter: string | Meter; + + /** + * Defines how the alert will behave. + */ + recurrence: 'one_time'; + } + export namespace UsageThreshold { + export interface Filter { /** - * Defines how the alert will behave. + * Limit the scope of the alert to this customer ID */ - recurrence: 'one_time'; - } + customer: string | Customer | null; - export namespace UsageThreshold { - export interface Filter { - /** - * Limit the scope of the alert to this customer ID - */ - customer: string | Customer | null; - - type: 'customer'; - } + type: 'customer'; } } } diff --git a/src/resources/Billing/CreditBalanceSummary.ts b/src/resources/Billing/CreditBalanceSummary.ts index d96674746d..bffd120d4c 100644 --- a/src/resources/Billing/CreditBalanceSummary.ts +++ b/src/resources/Billing/CreditBalanceSummary.ts @@ -29,7 +29,7 @@ export interface CreditBalanceSummary { /** * The billing credit balances. One entry per credit grant currency. If a customer only has credit grants in a single currency, then this will have a single balance entry. */ - balances: Array; + balances: Array; /** * The customer the balance is for. @@ -46,65 +46,63 @@ export interface CreditBalanceSummary { */ livemode: boolean; } -export namespace Billing { - export namespace CreditBalanceSummary { - export interface Balance { - available_balance: Balance.AvailableBalance; +export namespace CreditBalanceSummary { + export interface Balance { + available_balance: Balance.AvailableBalance; + + ledger_balance: Balance.LedgerBalance; + } + + export namespace Balance { + export interface AvailableBalance { + /** + * The monetary amount. + */ + monetary: AvailableBalance.Monetary | null; + + /** + * The type of this amount. We currently only support `monetary` billing credits. + */ + type: 'monetary'; + } + + export interface LedgerBalance { + /** + * The monetary amount. + */ + monetary: LedgerBalance.Monetary | null; - ledger_balance: Balance.LedgerBalance; + /** + * The type of this amount. We currently only support `monetary` billing credits. + */ + type: 'monetary'; } - export namespace Balance { - export interface AvailableBalance { + export namespace AvailableBalance { + export interface Monetary { /** - * The monetary amount. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - monetary: AvailableBalance.Monetary | null; + currency: string; /** - * The type of this amount. We currently only support `monetary` billing credits. + * A positive integer representing the amount. */ - type: 'monetary'; + value: number; } + } - export interface LedgerBalance { + export namespace LedgerBalance { + export interface Monetary { /** - * The monetary amount. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - monetary: LedgerBalance.Monetary | null; + currency: string; /** - * The type of this amount. We currently only support `monetary` billing credits. + * A positive integer representing the amount. */ - type: 'monetary'; - } - - export namespace AvailableBalance { - export interface Monetary { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * A positive integer representing the amount. - */ - value: number; - } - } - - export namespace LedgerBalance { - export interface Monetary { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * A positive integer representing the amount. - */ - value: number; - } + value: number; } } } diff --git a/src/resources/Billing/CreditBalanceTransactions.ts b/src/resources/Billing/CreditBalanceTransactions.ts index 9204cfb3e6..7288655b88 100644 --- a/src/resources/Billing/CreditBalanceTransactions.ts +++ b/src/resources/Billing/CreditBalanceTransactions.ts @@ -60,7 +60,7 @@ export interface CreditBalanceTransaction { /** * Credit details for this credit balance transaction. Only present if type is `credit`. */ - credit: Billing.CreditBalanceTransaction.Credit | null; + credit: CreditBalanceTransaction.Credit | null; /** * The credit grant associated with this credit balance transaction. @@ -70,7 +70,7 @@ export interface CreditBalanceTransaction { /** * Debit details for this credit balance transaction. Only present if type is `debit`. */ - debit: Billing.CreditBalanceTransaction.Debit | null; + debit: CreditBalanceTransaction.Debit | null; /** * The effective time of this credit balance transaction. @@ -90,126 +90,119 @@ export interface CreditBalanceTransaction { /** * The type of credit balance transaction (credit or debit). */ - type: Billing.CreditBalanceTransaction.Type | null; + type: CreditBalanceTransaction.Type | null; } -export namespace Billing { - export namespace CreditBalanceTransaction { - export interface Credit { - amount: Credit.Amount; +export namespace CreditBalanceTransaction { + export interface Credit { + amount: Credit.Amount; + + /** + * Details of the invoice to which the reinstated credits were originally applied. Only present if `type` is `credits_application_invoice_voided`. + */ + credits_application_invoice_voided: Credit.CreditsApplicationInvoiceVoided | null; + + /** + * The type of credit transaction. + */ + type: Credit.Type; + } + + export interface Debit { + amount: Debit.Amount; + + /** + * Details of how the billing credits were applied to an invoice. Only present if `type` is `credits_applied`. + */ + credits_applied: Debit.CreditsApplied | null; + + /** + * The type of debit transaction. + */ + type: Debit.Type; + } + + export type Type = 'credit' | 'debit'; + export namespace Credit { + export interface Amount { /** - * Details of the invoice to which the reinstated credits were originally applied. Only present if `type` is `credits_application_invoice_voided`. + * The monetary amount. */ - credits_application_invoice_voided: Credit.CreditsApplicationInvoiceVoided | null; + monetary: Amount.Monetary | null; /** - * The type of credit transaction. + * The type of this amount. We currently only support `monetary` billing credits. */ - type: Credit.Type; + type: 'monetary'; } - export interface Debit { - amount: Debit.Amount; - + export interface CreditsApplicationInvoiceVoided { /** - * Details of how the billing credits were applied to an invoice. Only present if `type` is `credits_applied`. + * The invoice to which the reinstated billing credits were originally applied. */ - credits_applied: Debit.CreditsApplied | null; + invoice: string | Invoice; /** - * The type of debit transaction. + * The invoice line item to which the reinstated billing credits were originally applied. */ - type: Debit.Type; + invoice_line_item: string; } - export type Type = 'credit' | 'debit'; + export type Type = 'credits_application_invoice_voided' | 'credits_granted'; - export namespace Credit { - export interface Amount { + export namespace Amount { + export interface Monetary { /** - * The monetary amount. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - monetary: Amount.Monetary | null; + currency: string; /** - * The type of this amount. We currently only support `monetary` billing credits. + * A positive integer representing the amount. */ - type: 'monetary'; + value: number; } + } + } - export interface CreditsApplicationInvoiceVoided { - /** - * The invoice to which the reinstated billing credits were originally applied. - */ - invoice: string | Invoice; - - /** - * The invoice line item to which the reinstated billing credits were originally applied. - */ - invoice_line_item: string; - } + export namespace Debit { + export interface Amount { + /** + * The monetary amount. + */ + monetary: Amount.Monetary | null; - export type Type = - | 'credits_application_invoice_voided' - | 'credits_granted'; - - export namespace Amount { - export interface Monetary { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * A positive integer representing the amount. - */ - value: number; - } - } + /** + * The type of this amount. We currently only support `monetary` billing credits. + */ + type: 'monetary'; } - export namespace Debit { - export interface Amount { - /** - * The monetary amount. - */ - monetary: Amount.Monetary | null; + export interface CreditsApplied { + /** + * The invoice to which the billing credits were applied. + */ + invoice: string | Invoice; - /** - * The type of this amount. We currently only support `monetary` billing credits. - */ - type: 'monetary'; - } + /** + * The invoice line item to which the billing credits were applied. + */ + invoice_line_item: string; + } + + export type Type = 'credits_applied' | 'credits_expired' | 'credits_voided'; - export interface CreditsApplied { + export namespace Amount { + export interface Monetary { /** - * The invoice to which the billing credits were applied. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - invoice: string | Invoice; + currency: string; /** - * The invoice line item to which the billing credits were applied. + * A positive integer representing the amount. */ - invoice_line_item: string; - } - - export type Type = - | 'credits_applied' - | 'credits_expired' - | 'credits_voided'; - - export namespace Amount { - export interface Monetary { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * A positive integer representing the amount. - */ - value: number; - } + value: number; } } } diff --git a/src/resources/Billing/CreditGrants.ts b/src/resources/Billing/CreditGrants.ts index effcc673fa..cdc220d134 100644 --- a/src/resources/Billing/CreditGrants.ts +++ b/src/resources/Billing/CreditGrants.ts @@ -115,14 +115,14 @@ export interface CreditGrant { */ object: 'billing.credit_grant'; - amount: Billing.CreditGrant.Amount; + amount: CreditGrant.Amount; - applicability_config: Billing.CreditGrant.ApplicabilityConfig; + applicability_config: CreditGrant.ApplicabilityConfig; /** * The category of this credit grant. This is for tracking purposes and isn't displayed to the customer. */ - category: Billing.CreditGrant.Category; + category: CreditGrant.Category; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -184,60 +184,58 @@ export interface CreditGrant { */ voided_at: number | null; } -export namespace Billing { - export namespace CreditGrant { - export interface Amount { +export namespace CreditGrant { + export interface Amount { + /** + * The monetary amount. + */ + monetary: Amount.Monetary | null; + + /** + * The type of this amount. We currently only support `monetary` billing credits. + */ + type: 'monetary'; + } + + export interface ApplicabilityConfig { + scope: ApplicabilityConfig.Scope; + } + + export type Category = 'paid' | 'promotional'; + + export namespace Amount { + export interface Monetary { /** - * The monetary amount. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - monetary: Amount.Monetary | null; + currency: string; /** - * The type of this amount. We currently only support `monetary` billing credits. + * A positive integer representing the amount. */ - type: 'monetary'; - } - - export interface ApplicabilityConfig { - scope: ApplicabilityConfig.Scope; + value: number; } + } - export type Category = 'paid' | 'promotional'; - - export namespace Amount { - export interface Monetary { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; + export namespace ApplicabilityConfig { + export interface Scope { + /** + * The price type that credit grants can apply to. We currently only support the `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `prices`. + */ + price_type?: 'metered'; - /** - * A positive integer representing the amount. - */ - value: number; - } + /** + * The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `price_type`. + */ + prices?: Array; } - export namespace ApplicabilityConfig { - export interface Scope { - /** - * The price type that credit grants can apply to. We currently only support the `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `prices`. - */ - price_type?: 'metered'; - + export namespace Scope { + export interface Price { /** - * The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `price_type`. + * Unique identifier for the object. */ - prices?: Array; - } - - export namespace Scope { - export interface Price { - /** - * Unique identifier for the object. - */ - id: string | null; - } + id: string | null; } } } diff --git a/src/resources/Billing/MeterEventAdjustments.ts b/src/resources/Billing/MeterEventAdjustments.ts index eb4395b396..7e9abfc8ca 100644 --- a/src/resources/Billing/MeterEventAdjustments.ts +++ b/src/resources/Billing/MeterEventAdjustments.ts @@ -28,7 +28,7 @@ export interface MeterEventAdjustment { /** * Specifies which event to cancel. */ - cancel: Billing.MeterEventAdjustment.Cancel | null; + cancel: MeterEventAdjustment.Cancel | null; /** * The name of the meter event. Corresponds with the `event_name` field on a meter. @@ -43,24 +43,22 @@ export interface MeterEventAdjustment { /** * The meter event adjustment's status. */ - status: Billing.MeterEventAdjustment.Status; + status: MeterEventAdjustment.Status; /** * Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet. */ type: 'cancel'; } -export namespace Billing { - export namespace MeterEventAdjustment { - export interface Cancel { - /** - * Unique identifier for the event. - */ - identifier: string | null; - } - - export type Status = 'complete' | 'pending'; +export namespace MeterEventAdjustment { + export interface Cancel { + /** + * Unique identifier for the event. + */ + identifier: string | null; } + + export type Status = 'complete' | 'pending'; } export namespace Billing { export interface MeterEventAdjustmentCreateParams { diff --git a/src/resources/Billing/Meters.ts b/src/resources/Billing/Meters.ts index 8a9b79c1a1..cdfedbc7bd 100644 --- a/src/resources/Billing/Meters.ts +++ b/src/resources/Billing/Meters.ts @@ -126,9 +126,9 @@ export interface Meter { */ created: number; - customer_mapping: Billing.Meter.CustomerMapping; + customer_mapping: Meter.CustomerMapping; - default_aggregation: Billing.Meter.DefaultAggregation; + default_aggregation: Meter.DefaultAggregation; /** * The meter's name. @@ -143,7 +143,7 @@ export interface Meter { /** * The time window which meter events have been pre-aggregated for, if any. */ - event_time_window: Billing.Meter.EventTimeWindow | null; + event_time_window: Meter.EventTimeWindow | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -153,59 +153,57 @@ export interface Meter { /** * The meter's status. */ - status: Billing.Meter.Status; + status: Meter.Status; - status_transitions: Billing.Meter.StatusTransitions; + status_transitions: Meter.StatusTransitions; /** * Time at which the object was last updated. Measured in seconds since the Unix epoch. */ updated: number; - value_settings: Billing.Meter.ValueSettings; + value_settings: Meter.ValueSettings; } -export namespace Billing { - export namespace Meter { - export interface CustomerMapping { - /** - * The key in the meter event payload to use for mapping the event to a customer. - */ - event_payload_key: string; +export namespace Meter { + export interface CustomerMapping { + /** + * The key in the meter event payload to use for mapping the event to a customer. + */ + event_payload_key: string; - /** - * The method for mapping a meter event to a customer. - */ - type: 'by_id'; - } + /** + * The method for mapping a meter event to a customer. + */ + type: 'by_id'; + } - export interface DefaultAggregation { - /** - * Specifies how events are aggregated. - */ - formula: DefaultAggregation.Formula; - } + export interface DefaultAggregation { + /** + * Specifies how events are aggregated. + */ + formula: DefaultAggregation.Formula; + } - export type EventTimeWindow = 'day' | 'hour'; + export type EventTimeWindow = 'day' | 'hour'; - export type Status = 'active' | 'inactive'; + export type Status = 'active' | 'inactive'; - export interface StatusTransitions { - /** - * The time the meter was deactivated, if any. Measured in seconds since Unix epoch. - */ - deactivated_at: number | null; - } + export interface StatusTransitions { + /** + * The time the meter was deactivated, if any. Measured in seconds since Unix epoch. + */ + deactivated_at: number | null; + } - export interface ValueSettings { - /** - * The key in the meter event payload to use as the value for this meter. - */ - event_payload_key: string; - } + export interface ValueSettings { + /** + * The key in the meter event payload to use as the value for this meter. + */ + event_payload_key: string; + } - export namespace DefaultAggregation { - export type Formula = 'count' | 'last' | 'sum'; - } + export namespace DefaultAggregation { + export type Formula = 'count' | 'last' | 'sum'; } } export namespace Billing { diff --git a/src/resources/BillingPortal/Configurations.ts b/src/resources/BillingPortal/Configurations.ts index 14efafff61..9cd128bcdc 100644 --- a/src/resources/BillingPortal/Configurations.ts +++ b/src/resources/BillingPortal/Configurations.ts @@ -94,7 +94,7 @@ export interface Configuration { */ application: string | Application | DeletedApplication | null; - business_profile: BillingPortal.Configuration.BusinessProfile; + business_profile: Configuration.BusinessProfile; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -106,7 +106,7 @@ export interface Configuration { */ default_return_url: string | null; - features: BillingPortal.Configuration.Features; + features: Configuration.Features; /** * Whether the configuration is the default. If `true`, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session. @@ -118,7 +118,7 @@ export interface Configuration { */ livemode: boolean; - login_page: BillingPortal.Configuration.LoginPage; + login_page: Configuration.LoginPage; /** * 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. @@ -135,245 +135,243 @@ export interface Configuration { */ updated: number; } -export namespace BillingPortal { - export namespace Configuration { - export interface BusinessProfile { +export namespace Configuration { + export interface BusinessProfile { + /** + * The messaging shown to customers in the portal. + */ + headline: string | null; + + /** + * A link to the business's publicly available privacy policy. + */ + privacy_policy_url: string | null; + + /** + * A link to the business's publicly available terms of service. + */ + terms_of_service_url: string | null; + } + + export interface Features { + customer_update: Features.CustomerUpdate; + + invoice_history: Features.InvoiceHistory; + + payment_method_update: Features.PaymentMethodUpdate; + + subscription_cancel: Features.SubscriptionCancel; + + subscription_update: Features.SubscriptionUpdate; + } + + export interface LoginPage { + /** + * If `true`, a shareable `url` will be generated that will take your customers to a hosted login page for the customer portal. + * + * If `false`, the previously generated `url`, if any, will be deactivated. + */ + enabled: boolean; + + /** + * A shareable URL to the hosted portal login page. Your customers will be able to log in with their [email](https://docs.stripe.com/api/customers/object#customer_object-email) and receive a link to their customer portal. + */ + url: string | null; + } + + export namespace Features { + export interface CustomerUpdate { /** - * The messaging shown to customers in the portal. + * The types of customer updates that are supported. When empty, customers are not updateable. */ - headline: string | null; + allowed_updates: Array; /** - * A link to the business's publicly available privacy policy. + * Whether the feature is enabled. */ - privacy_policy_url: string | null; + enabled: boolean; + } + export interface InvoiceHistory { /** - * A link to the business's publicly available terms of service. + * Whether the feature is enabled. */ - terms_of_service_url: string | null; + enabled: boolean; } - export interface Features { - customer_update: Features.CustomerUpdate; + export interface PaymentMethodUpdate { + /** + * Whether the feature is enabled. + */ + enabled: boolean; - invoice_history: Features.InvoiceHistory; + /** + * The [Payment Method Configuration](https://docs.stripe.com/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set, the default payment method configuration is used. + */ + payment_method_configuration: string | null; + } - payment_method_update: Features.PaymentMethodUpdate; + export interface SubscriptionCancel { + cancellation_reason: SubscriptionCancel.CancellationReason; - subscription_cancel: Features.SubscriptionCancel; + /** + * Whether the feature is enabled. + */ + enabled: boolean; - subscription_update: Features.SubscriptionUpdate; + /** + * Whether to cancel subscriptions immediately or at the end of the billing period. + */ + mode: SubscriptionCancel.Mode; + + /** + * Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`. + */ + proration_behavior: SubscriptionCancel.ProrationBehavior; } - export interface LoginPage { + export interface SubscriptionUpdate { /** - * If `true`, a shareable `url` will be generated that will take your customers to a hosted login page for the customer portal. - * - * If `false`, the previously generated `url`, if any, will be deactivated. + * Determines the value to use for the billing cycle anchor on subscription updates. Valid values are `now` or `unchanged`, and the default value is `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle). */ - enabled: boolean; + billing_cycle_anchor: SubscriptionUpdate.BillingCycleAnchor | null; /** - * A shareable URL to the hosted portal login page. Your customers will be able to log in with their [email](https://docs.stripe.com/api/customers/object#customer_object-email) and receive a link to their customer portal. + * The types of subscription updates that are supported for items listed in the `products` attribute. When empty, subscriptions are not updateable. */ - url: string | null; - } + default_allowed_updates: Array; - export namespace Features { - export interface CustomerUpdate { - /** - * The types of customer updates that are supported. When empty, customers are not updateable. - */ - allowed_updates: Array; + /** + * Whether the feature is enabled. + */ + enabled: boolean; - /** - * Whether the feature is enabled. - */ - enabled: boolean; - } + /** + * The list of up to 10 products that support subscription updates. + */ + products?: Array | null; - export interface InvoiceHistory { - /** - * Whether the feature is enabled. - */ - enabled: boolean; - } + /** + * Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`. Defaults to a value of `none` if you don't set it during creation. + */ + proration_behavior: SubscriptionUpdate.ProrationBehavior; - export interface PaymentMethodUpdate { - /** - * Whether the feature is enabled. - */ - enabled: boolean; + schedule_at_period_end: SubscriptionUpdate.ScheduleAtPeriodEnd; - /** - * The [Payment Method Configuration](https://docs.stripe.com/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set, the default payment method configuration is used. - */ - payment_method_configuration: string | null; - } + /** + * Determines how handle updates to trialing subscriptions. Valid values are `end_trial` and `continue_trial`. Defaults to a value of `end_trial` if you don't set it during creation. + */ + trial_update_behavior: SubscriptionUpdate.TrialUpdateBehavior; + } - export interface SubscriptionCancel { - cancellation_reason: SubscriptionCancel.CancellationReason; + export namespace CustomerUpdate { + export type AllowedUpdate = + | 'address' + | 'email' + | 'name' + | 'phone' + | 'shipping' + | 'tax_id'; + } + export namespace SubscriptionCancel { + export interface CancellationReason { /** * Whether the feature is enabled. */ enabled: boolean; /** - * Whether to cancel subscriptions immediately or at the end of the billing period. + * Which cancellation reasons will be given as options to the customer. */ - mode: SubscriptionCancel.Mode; + options: Array; + } - /** - * Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`. - */ - proration_behavior: SubscriptionCancel.ProrationBehavior; + export type Mode = 'at_period_end' | 'immediately'; + + export type ProrationBehavior = + | 'always_invoice' + | 'create_prorations' + | 'none'; + + export namespace CancellationReason { + export type Option = + | 'customer_service' + | 'low_quality' + | 'missing_features' + | 'other' + | 'switched_service' + | 'too_complex' + | 'too_expensive' + | 'unused'; } + } - export interface SubscriptionUpdate { - /** - * Determines the value to use for the billing cycle anchor on subscription updates. Valid values are `now` or `unchanged`, and the default value is `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle). - */ - billing_cycle_anchor: SubscriptionUpdate.BillingCycleAnchor | null; + export namespace SubscriptionUpdate { + export type BillingCycleAnchor = 'now' | 'unchanged'; - /** - * The types of subscription updates that are supported for items listed in the `products` attribute. When empty, subscriptions are not updateable. - */ - default_allowed_updates: Array; + export type DefaultAllowedUpdate = + | 'price' + | 'promotion_code' + | 'quantity'; - /** - * Whether the feature is enabled. - */ - enabled: boolean; + export interface Product { + adjustable_quantity: Product.AdjustableQuantity; /** - * The list of up to 10 products that support subscription updates. + * The list of price IDs which, when subscribed to, a subscription can be updated. */ - products?: Array | null; + prices: Array; /** - * Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`. Defaults to a value of `none` if you don't set it during creation. + * The product ID. */ - proration_behavior: SubscriptionUpdate.ProrationBehavior; + product: string; + } - schedule_at_period_end: SubscriptionUpdate.ScheduleAtPeriodEnd; + export type ProrationBehavior = + | 'always_invoice' + | 'create_prorations' + | 'none'; + export interface ScheduleAtPeriodEnd { /** - * Determines how handle updates to trialing subscriptions. Valid values are `end_trial` and `continue_trial`. Defaults to a value of `end_trial` if you don't set it during creation. + * List of conditions. When any condition is true, an update will be scheduled at the end of the current period. */ - trial_update_behavior: SubscriptionUpdate.TrialUpdateBehavior; + conditions: Array; } - export namespace CustomerUpdate { - export type AllowedUpdate = - | 'address' - | 'email' - | 'name' - | 'phone' - | 'shipping' - | 'tax_id'; - } + export type TrialUpdateBehavior = 'continue_trial' | 'end_trial'; - export namespace SubscriptionCancel { - export interface CancellationReason { + export namespace Product { + export interface AdjustableQuantity { /** - * Whether the feature is enabled. + * If true, the quantity can be adjusted to any non-negative integer. */ enabled: boolean; /** - * Which cancellation reasons will be given as options to the customer. - */ - options: Array; - } - - export type Mode = 'at_period_end' | 'immediately'; - - export type ProrationBehavior = - | 'always_invoice' - | 'create_prorations' - | 'none'; - - export namespace CancellationReason { - export type Option = - | 'customer_service' - | 'low_quality' - | 'missing_features' - | 'other' - | 'switched_service' - | 'too_complex' - | 'too_expensive' - | 'unused'; - } - } - - export namespace SubscriptionUpdate { - export type BillingCycleAnchor = 'now' | 'unchanged'; - - export type DefaultAllowedUpdate = - | 'price' - | 'promotion_code' - | 'quantity'; - - export interface Product { - adjustable_quantity: Product.AdjustableQuantity; - - /** - * The list of price IDs which, when subscribed to, a subscription can be updated. + * The maximum quantity that can be set for the product. */ - prices: Array; + maximum: number | null; /** - * The product ID. + * The minimum quantity that can be set for the product. */ - product: string; + minimum: number; } + } - export type ProrationBehavior = - | 'always_invoice' - | 'create_prorations' - | 'none'; - - export interface ScheduleAtPeriodEnd { + export namespace ScheduleAtPeriodEnd { + export interface Condition { /** - * List of conditions. When any condition is true, an update will be scheduled at the end of the current period. + * The type of condition. */ - conditions: Array; + type: Condition.Type; } - export type TrialUpdateBehavior = 'continue_trial' | 'end_trial'; - - export namespace Product { - export interface AdjustableQuantity { - /** - * If true, the quantity can be adjusted to any non-negative integer. - */ - enabled: boolean; - - /** - * The maximum quantity that can be set for the product. - */ - maximum: number | null; - - /** - * The minimum quantity that can be set for the product. - */ - minimum: number; - } - } - - export namespace ScheduleAtPeriodEnd { - export interface Condition { - /** - * The type of condition. - */ - type: Condition.Type; - } - - export namespace Condition { - export type Type = 'decreasing_item_amount' | 'shortening_interval'; - } + export namespace Condition { + export type Type = 'decreasing_item_amount' | 'shortening_interval'; } } } diff --git a/src/resources/BillingPortal/Sessions.ts b/src/resources/BillingPortal/Sessions.ts index ae1d535a66..e2b4122b00 100644 --- a/src/resources/BillingPortal/Sessions.ts +++ b/src/resources/BillingPortal/Sessions.ts @@ -54,7 +54,7 @@ export interface Session { /** * Information about a specific flow for the customer to go through. See the [docs](https://docs.stripe.com/customer-management/portal-deep-links) to learn more about using customer portal deep links and flows. */ - flow: BillingPortal.Session.Flow | null; + flow: Session.Flow | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -64,7 +64,7 @@ export interface Session { /** * The IETF language tag of the locale Customer Portal is displayed in. If blank or auto, the customer's `preferred_locales` or browser's locale is used. */ - locale: BillingPortal.Session.Locale | null; + locale: Session.Locale | null; /** * The account for which the session was created on behalf of. When specified, only subscriptions and invoices with this `on_behalf_of` account appear in the portal. For more information, see the [docs](https://docs.stripe.com/connect/separate-charges-and-transfers#settlement-merchant). Use the [Accounts API](https://docs.stripe.com/api/accounts/object#account_object-settings-branding) to modify the `on_behalf_of` account's branding settings, which the portal displays. @@ -81,214 +81,209 @@ export interface Session { */ url: string; } -export namespace BillingPortal { - export namespace Session { - export interface Flow { - after_completion: Flow.AfterCompletion; +export namespace Session { + export interface Flow { + after_completion: Flow.AfterCompletion; + + /** + * Configuration when `flow.type=subscription_cancel`. + */ + subscription_cancel: Flow.SubscriptionCancel | null; + + /** + * Configuration when `flow.type=subscription_update`. + */ + subscription_update: Flow.SubscriptionUpdate | null; + + /** + * Configuration when `flow.type=subscription_update_confirm`. + */ + subscription_update_confirm: Flow.SubscriptionUpdateConfirm | null; + /** + * Type of flow that the customer will go through. + */ + type: Flow.Type; + } + + export type Locale = + | 'auto' + | 'bg' + | 'cs' + | 'da' + | 'de' + | 'el' + | 'en' + | 'en-AU' + | 'en-CA' + | 'en-GB' + | 'en-IE' + | 'en-IN' + | 'en-NZ' + | 'en-SG' + | 'es' + | 'es-419' + | 'et' + | 'fi' + | 'fil' + | 'fr' + | 'fr-CA' + | 'hr' + | 'hu' + | 'id' + | 'it' + | 'ja' + | 'ko' + | 'lt' + | 'lv' + | 'ms' + | 'mt' + | 'nb' + | 'nl' + | 'pl' + | 'pt' + | 'pt-BR' + | 'ro' + | 'ru' + | 'sk' + | 'sl' + | 'sv' + | 'th' + | 'tr' + | 'vi' + | 'zh' + | 'zh-HK' + | 'zh-TW'; + + export namespace Flow { + export interface AfterCompletion { /** - * Configuration when `flow.type=subscription_cancel`. + * Configuration when `after_completion.type=hosted_confirmation`. */ - subscription_cancel: Flow.SubscriptionCancel | null; + hosted_confirmation: AfterCompletion.HostedConfirmation | null; /** - * Configuration when `flow.type=subscription_update`. + * Configuration when `after_completion.type=redirect`. */ - subscription_update: Flow.SubscriptionUpdate | null; + redirect: AfterCompletion.Redirect | null; /** - * Configuration when `flow.type=subscription_update_confirm`. + * The specified type of behavior after the flow is completed. */ - subscription_update_confirm: Flow.SubscriptionUpdateConfirm | null; + type: AfterCompletion.Type; + } + export interface SubscriptionCancel { /** - * Type of flow that the customer will go through. + * Specify a retention strategy to be used in the cancellation flow. */ - type: Flow.Type; + retention: SubscriptionCancel.Retention | null; + + /** + * The ID of the subscription to be canceled. + */ + subscription: string; } - export type Locale = - | 'auto' - | 'bg' - | 'cs' - | 'da' - | 'de' - | 'el' - | 'en' - | 'en-AU' - | 'en-CA' - | 'en-GB' - | 'en-IE' - | 'en-IN' - | 'en-NZ' - | 'en-SG' - | 'es' - | 'es-419' - | 'et' - | 'fi' - | 'fil' - | 'fr' - | 'fr-CA' - | 'hr' - | 'hu' - | 'id' - | 'it' - | 'ja' - | 'ko' - | 'lt' - | 'lv' - | 'ms' - | 'mt' - | 'nb' - | 'nl' - | 'pl' - | 'pt' - | 'pt-BR' - | 'ro' - | 'ru' - | 'sk' - | 'sl' - | 'sv' - | 'th' - | 'tr' - | 'vi' - | 'zh' - | 'zh-HK' - | 'zh-TW'; + export interface SubscriptionUpdate { + /** + * The ID of the subscription to be updated. + */ + subscription: string; + } - export namespace Flow { - export interface AfterCompletion { - /** - * Configuration when `after_completion.type=hosted_confirmation`. - */ - hosted_confirmation: AfterCompletion.HostedConfirmation | null; + export interface SubscriptionUpdateConfirm { + /** + * The coupon or promotion code to apply to this subscription update. + */ + discounts: Array | null; - /** - * Configuration when `after_completion.type=redirect`. - */ - redirect: AfterCompletion.Redirect | null; + /** + * The [subscription item](https://docs.stripe.com/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable. + */ + items: Array; - /** - * The specified type of behavior after the flow is completed. - */ - type: AfterCompletion.Type; - } + /** + * The ID of the subscription to be updated. + */ + subscription: string; + } - export interface SubscriptionCancel { - /** - * Specify a retention strategy to be used in the cancellation flow. - */ - retention: SubscriptionCancel.Retention | null; + export type Type = + | 'payment_method_update' + | 'subscription_cancel' + | 'subscription_update' + | 'subscription_update_confirm'; + export namespace AfterCompletion { + export interface HostedConfirmation { /** - * The ID of the subscription to be canceled. + * A custom message to display to the customer after the flow is completed. */ - subscription: string; + custom_message: string | null; } - export interface SubscriptionUpdate { + export interface Redirect { /** - * The ID of the subscription to be updated. + * The URL the customer will be redirected to after the flow is completed. */ - subscription: string; + return_url: string; } - export interface SubscriptionUpdateConfirm { - /** - * The coupon or promotion code to apply to this subscription update. - */ - discounts: Array | null; + export type Type = 'hosted_confirmation' | 'portal_homepage' | 'redirect'; + } + export namespace SubscriptionCancel { + export interface Retention { /** - * The [subscription item](https://docs.stripe.com/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable. + * Configuration when `retention.type=coupon_offer`. */ - items: Array; + coupon_offer: Retention.CouponOffer | null; /** - * The ID of the subscription to be updated. + * Type of retention strategy that will be used. */ - subscription: string; + type: 'coupon_offer'; } - export type Type = - | 'payment_method_update' - | 'subscription_cancel' - | 'subscription_update' - | 'subscription_update_confirm'; - - export namespace AfterCompletion { - export interface HostedConfirmation { + export namespace Retention { + export interface CouponOffer { /** - * A custom message to display to the customer after the flow is completed. + * The ID of the coupon to be offered. */ - custom_message: string | null; + coupon: string; } - - export interface Redirect { - /** - * The URL the customer will be redirected to after the flow is completed. - */ - return_url: string; - } - - export type Type = - | 'hosted_confirmation' - | 'portal_homepage' - | 'redirect'; } + } - export namespace SubscriptionCancel { - export interface Retention { - /** - * Configuration when `retention.type=coupon_offer`. - */ - coupon_offer: Retention.CouponOffer | null; - - /** - * Type of retention strategy that will be used. - */ - type: 'coupon_offer'; - } + export namespace SubscriptionUpdateConfirm { + export interface Discount { + /** + * The ID of the coupon to apply to this subscription update. + */ + coupon: string | null; - export namespace Retention { - export interface CouponOffer { - /** - * The ID of the coupon to be offered. - */ - coupon: string; - } - } + /** + * The ID of a promotion code to apply to this subscription update. + */ + promotion_code: string | null; } - export namespace SubscriptionUpdateConfirm { - export interface Discount { - /** - * The ID of the coupon to apply to this subscription update. - */ - coupon: string | null; - - /** - * The ID of a promotion code to apply to this subscription update. - */ - promotion_code: string | null; - } - - export interface Item { - /** - * The ID of the [subscription item](https://docs.stripe.com/api/subscriptions/object#subscription_object-items-data-id) to be updated. - */ - id: string | null; + export interface Item { + /** + * The ID of the [subscription item](https://docs.stripe.com/api/subscriptions/object#subscription_object-items-data-id) to be updated. + */ + id: string | null; - /** - * The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](https://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products). - */ - price: string | null; + /** + * The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](https://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products). + */ + price: string | null; - /** - * [Quantity](https://docs.stripe.com/subscriptions/quantities) for this item that the customer should subscribe to through this flow. - */ - quantity?: number; - } + /** + * [Quantity](https://docs.stripe.com/subscriptions/quantities) for this item that the customer should subscribe to through this flow. + */ + quantity?: number; } } } diff --git a/src/resources/Checkout/Sessions.ts b/src/resources/Checkout/Sessions.ts index 5fcb6d80e5..5c06315495 100644 --- a/src/resources/Checkout/Sessions.ts +++ b/src/resources/Checkout/Sessions.ts @@ -653,12 +653,12 @@ export interface Session { /** * Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing). */ - adaptive_pricing: Checkout.Session.AdaptivePricing | null; + adaptive_pricing: Session.AdaptivePricing | null; /** * When set, provides configuration for actions to take if this Checkout Session expires. */ - after_expiration: Checkout.Session.AfterExpiration | null; + after_expiration: Session.AfterExpiration | null; /** * Enables user redeemable promotion codes. @@ -675,14 +675,14 @@ export interface Session { */ amount_total: number | null; - automatic_tax: Checkout.Session.AutomaticTax; + automatic_tax: Session.AutomaticTax; /** * Describes whether Checkout should collect the customer's billing address. Defaults to `auto`. */ - billing_address_collection: Checkout.Session.BillingAddressCollection | null; + billing_address_collection: Session.BillingAddressCollection | null; - branding_settings?: Checkout.Session.BrandingSettings; + branding_settings?: Session.BrandingSettings; /** * If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. @@ -705,17 +705,17 @@ export interface Session { /** * Information about the customer collected within the Checkout Session. */ - collected_information: Checkout.Session.CollectedInformation | null; + collected_information: Session.CollectedInformation | null; /** * Results of `consent_collection` for this session. */ - consent: Checkout.Session.Consent | null; + consent: Session.Consent | null; /** * When set, provides configuration for the Checkout Session to gather active consent from customers. */ - consent_collection: Checkout.Session.ConsentCollection | null; + consent_collection: Session.ConsentCollection | null; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -730,14 +730,14 @@ export interface Session { /** * Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions created before 2025-03-31. */ - currency_conversion: Checkout.Session.CurrencyConversion | null; + currency_conversion: Session.CurrencyConversion | null; /** * Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`. */ - custom_fields: Array; + custom_fields: Array; - custom_text: Checkout.Session.CustomText; + custom_text: Session.CustomText; /** * The ID of the customer for this Session. @@ -756,12 +756,12 @@ export interface Session { /** * Configure whether a Checkout Session creates a Customer when the Checkout Session completes. */ - customer_creation: Checkout.Session.CustomerCreation | null; + customer_creation: Session.CustomerCreation | null; /** * The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode. */ - customer_details: Checkout.Session.CustomerDetails | null; + customer_details: Session.CustomerDetails | null; /** * If provided, this value will be used when the Customer object is created. @@ -775,7 +775,7 @@ export interface Session { /** * List of coupons and promotion codes attached to the Checkout Session. */ - discounts: Array | null; + discounts: Array | null; /** * A list of the types of payment methods (e.g., `card`) that should be excluded from this Checkout Session. This should only be used when payment methods for this Checkout Session are managed through the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). @@ -800,7 +800,7 @@ export interface Session { /** * Details on the state of invoice creation for the Checkout Session. */ - invoice_creation: Checkout.Session.InvoiceCreation | null; + invoice_creation: Session.InvoiceCreation | null; /** * The line items purchased by the customer. @@ -815,12 +815,12 @@ export interface Session { /** * The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used. */ - locale: Checkout.Session.Locale | null; + locale: Session.Locale | null; /** * Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](https://docs.stripe.com/api/payment_intents/object), [Invoices](https://docs.stripe.com/api/invoices/object), and [Subscriptions](https://docs.stripe.com/api/subscriptions/object). */ - managed_payments: Checkout.Session.ManagedPayments | null; + managed_payments: Session.ManagedPayments | null; /** * 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. @@ -830,19 +830,19 @@ export interface Session { /** * The mode of the Checkout Session. */ - mode: Checkout.Session.Mode; + mode: Session.Mode; - name_collection?: Checkout.Session.NameCollection; + name_collection?: Session.NameCollection; /** * The optional items presented to the customer at checkout. */ - optional_items?: Array | null; + optional_items?: Array | null; /** * Where the user is coming from. This informs the optimizations that are applied to the session. */ - origin_context: Checkout.Session.OriginContext | null; + origin_context: Session.OriginContext | null; /** * The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://docs.stripe.com/api/checkout/sessions/expire) instead. @@ -857,17 +857,17 @@ export interface Session { /** * Configure whether a Checkout Session should collect a payment method. Defaults to `always`. */ - payment_method_collection: Checkout.Session.PaymentMethodCollection | null; + payment_method_collection: Session.PaymentMethodCollection | null; /** * Information about the payment method configuration used for this Checkout session if using dynamic payment methods. */ - payment_method_configuration_details: Checkout.Session.PaymentMethodConfigurationDetails | null; + payment_method_configuration_details: Session.PaymentMethodConfigurationDetails | null; /** * Payment-method-specific configuration for the PaymentIntent or SetupIntent of this CheckoutSession. */ - payment_method_options: Checkout.Session.PaymentMethodOptions | null; + payment_method_options: Session.PaymentMethodOptions | null; /** * A list of the types of payment methods (e.g. card) this Checkout @@ -879,18 +879,18 @@ export interface Session { * The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`. * You can use this value to decide when to fulfill your customer's order. */ - payment_status: Checkout.Session.PaymentStatus; + payment_status: Session.PaymentStatus; /** * This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. * * For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`. */ - permissions: Checkout.Session.Permissions | null; + permissions: Session.Permissions | null; - phone_number_collection?: Checkout.Session.PhoneNumberCollection; + phone_number_collection?: Session.PhoneNumberCollection; - presentment_details?: Checkout.Session.PresentmentDetails; + presentment_details?: Session.PresentmentDetails; /** * The ID of the original expired Checkout Session that triggered the recovery flow. @@ -900,7 +900,7 @@ export interface Session { /** * This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`. */ - redirect_on_completion?: Checkout.Session.RedirectOnCompletion; + redirect_on_completion?: Session.RedirectOnCompletion; /** * Applies to Checkout Sessions with `ui_mode: embedded_page` or `ui_mode: elements`. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. @@ -910,7 +910,7 @@ export interface Session { /** * Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode. */ - saved_payment_method_options: Checkout.Session.SavedPaymentMethodOptions | null; + saved_payment_method_options: Session.SavedPaymentMethodOptions | null; /** * The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://docs.stripe.com/api/checkout/sessions/expire) instead. @@ -920,29 +920,29 @@ export interface Session { /** * When set, provides configuration for Checkout to collect a shipping address from a customer. */ - shipping_address_collection: Checkout.Session.ShippingAddressCollection | null; + shipping_address_collection: Session.ShippingAddressCollection | null; /** * The details of the customer cost of shipping, including the customer chosen ShippingRate. */ - shipping_cost: Checkout.Session.ShippingCost | null; + shipping_cost: Session.ShippingCost | null; /** * The shipping rate options applied to this Session. */ - shipping_options: Array; + shipping_options: Array; /** * The status of the Checkout Session, one of `open`, `complete`, or `expired`. */ - status: Checkout.Session.Status | null; + status: Session.Status | null; /** * Describes the type of transaction being performed by Checkout in order to customize * relevant text on the page, such as the submit button. `submit_type` can only be * specified on Checkout Sessions in `payment` mode. If blank or `auto`, `pay` is used. */ - submit_type: Checkout.Session.SubmitType | null; + submit_type: Session.SubmitType | null; /** * The ID of the [Subscription](https://docs.stripe.com/api/subscriptions) for Checkout Sessions in `subscription` mode. @@ -955,17 +955,17 @@ export interface Session { */ success_url: string | null; - tax_id_collection?: Checkout.Session.TaxIdCollection; + tax_id_collection?: Session.TaxIdCollection; /** * Tax and discount details for the computed total amount. */ - total_details: Checkout.Session.TotalDetails | null; + total_details: Session.TotalDetails | null; /** * The UI mode of the Session. Defaults to `hosted_page`. */ - ui_mode: Checkout.Session.UiMode | null; + ui_mode: Session.UiMode | null; /** * The URL to the Checkout Session. Applies to Checkout Sessions with `ui_mode: hosted_page`. Redirect customers to this URL to take them to Checkout. If you're using [Custom Domains](https://docs.stripe.com/payments/checkout/custom-domains), the URL will use your subdomain. Otherwise, it'll use `checkout.stripe.com.` @@ -976,2475 +976,2551 @@ export interface Session { /** * Wallet-specific configuration for this Checkout Session. */ - wallet_options: Checkout.Session.WalletOptions | null; + wallet_options: Session.WalletOptions | null; } -export namespace Checkout { - export namespace Session { - export interface AdaptivePricing { - /** - * If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). - */ - enabled: boolean; - } +export namespace Session { + export interface AdaptivePricing { + /** + * If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). + */ + enabled: boolean; + } - export interface AfterExpiration { - /** - * When set, configuration used to recover the Checkout Session on expiry. - */ - recovery: AfterExpiration.Recovery | null; - } + export interface AfterExpiration { + /** + * When set, configuration used to recover the Checkout Session on expiry. + */ + recovery: AfterExpiration.Recovery | null; + } - export interface AutomaticTax { - /** - * Indicates whether automatic tax is enabled for the session - */ - enabled: boolean; + export interface AutomaticTax { + /** + * Indicates whether automatic tax is enabled for the session + */ + enabled: boolean; - /** - * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. - */ - liability: AutomaticTax.Liability | null; + /** + * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. + */ + liability: AutomaticTax.Liability | null; - /** - * The tax provider powering automatic tax. - */ - provider: string | null; + /** + * The tax provider powering automatic tax. + */ + provider: string | null; - /** - * The status of the most recent automated tax calculation for this session. - */ - status: AutomaticTax.Status | null; - } + /** + * The status of the most recent automated tax calculation for this session. + */ + status: AutomaticTax.Status | null; + } - export type BillingAddressCollection = 'auto' | 'required'; + export type BillingAddressCollection = 'auto' | 'required'; - export interface BrandingSettings { - /** - * A hex color value starting with `#` representing the background color for the Checkout Session. - */ - background_color: string; + export interface BrandingSettings { + /** + * A hex color value starting with `#` representing the background color for the Checkout Session. + */ + background_color: string; - /** - * The border style for the Checkout Session. Must be one of `rounded`, `rectangular`, or `pill`. - */ - border_style: BrandingSettings.BorderStyle; + /** + * The border style for the Checkout Session. Must be one of `rounded`, `rectangular`, or `pill`. + */ + border_style: BrandingSettings.BorderStyle; - /** - * A hex color value starting with `#` representing the button color for the Checkout Session. - */ - button_color: string; + /** + * A hex color value starting with `#` representing the button color for the Checkout Session. + */ + button_color: string; - /** - * The display name shown on the Checkout Session. - */ - display_name: string; + /** + * The display name shown on the Checkout Session. + */ + display_name: string; - /** - * The font family for the Checkout Session. Must be one of the [supported font families](https://docs.stripe.com/payments/checkout/customization/appearance?payment-ui=stripe-hosted#font-compatibility). - */ - font_family: string; + /** + * The font family for the Checkout Session. Must be one of the [supported font families](https://docs.stripe.com/payments/checkout/customization/appearance?payment-ui=stripe-hosted#font-compatibility). + */ + font_family: string; - /** - * The icon for the Checkout Session. You cannot set both `logo` and `icon`. - */ - icon: BrandingSettings.Icon | null; + /** + * The icon for the Checkout Session. You cannot set both `logo` and `icon`. + */ + icon: BrandingSettings.Icon | null; - /** - * The logo for the Checkout Session. You cannot set both `logo` and `icon`. - */ - logo: BrandingSettings.Logo | null; - } + /** + * The logo for the Checkout Session. You cannot set both `logo` and `icon`. + */ + logo: BrandingSettings.Logo | null; + } - export interface CollectedInformation { - /** - * Customer's business name for this Checkout Session - */ - business_name: string | null; + export interface CollectedInformation { + /** + * Customer's business name for this Checkout Session + */ + business_name: string | null; - /** - * Customer's individual name for this Checkout Session - */ - individual_name: string | null; + /** + * Customer's individual name for this Checkout Session + */ + individual_name: string | null; - /** - * Shipping information for this Checkout Session. - */ - shipping_details: CollectedInformation.ShippingDetails | null; - } + /** + * Shipping information for this Checkout Session. + */ + shipping_details: CollectedInformation.ShippingDetails | null; + } - export interface Consent { - /** - * If `opt_in`, the customer consents to receiving promotional communications - * from the merchant about this Checkout Session. - */ - promotions: Consent.Promotions | null; + export interface Consent { + /** + * If `opt_in`, the customer consents to receiving promotional communications + * from the merchant about this Checkout Session. + */ + promotions: Consent.Promotions | null; - /** - * If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service. - */ - terms_of_service: 'accepted' | null; - } + /** + * If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service. + */ + terms_of_service: 'accepted' | null; + } - export interface ConsentCollection { - /** - * If set to `hidden`, it will hide legal text related to the reuse of a payment method. - */ - payment_method_reuse_agreement: ConsentCollection.PaymentMethodReuseAgreement | null; + export interface ConsentCollection { + /** + * If set to `hidden`, it will hide legal text related to the reuse of a payment method. + */ + payment_method_reuse_agreement: ConsentCollection.PaymentMethodReuseAgreement | null; - /** - * If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout - * Session will determine whether to display an option to opt into promotional communication - * from the merchant depending on the customer's locale. Only available to US merchants and US customers. - */ - promotions: ConsentCollection.Promotions | null; + /** + * If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout + * Session will determine whether to display an option to opt into promotional communication + * from the merchant depending on the customer's locale. Only available to US merchants and US customers. + */ + promotions: ConsentCollection.Promotions | null; - /** - * If set to `required`, it requires customers to accept the terms of service before being able to pay. - */ - terms_of_service: ConsentCollection.TermsOfService | null; - } + /** + * If set to `required`, it requires customers to accept the terms of service before being able to pay. + */ + terms_of_service: ConsentCollection.TermsOfService | null; + } - export interface CurrencyConversion { - /** - * Total of all items in source currency before discounts or taxes are applied. - */ - amount_subtotal: number; + export interface CurrencyConversion { + /** + * Total of all items in source currency before discounts or taxes are applied. + */ + amount_subtotal: number; - /** - * Total of all items in source currency after discounts and taxes are applied. - */ - amount_total: number; + /** + * Total of all items in source currency after discounts and taxes are applied. + */ + amount_total: number; - /** - * Exchange rate used to convert source currency amounts to customer currency amounts - */ - fx_rate: Decimal; + /** + * Exchange rate used to convert source currency amounts to customer currency amounts + */ + fx_rate: Decimal; - /** - * Creation currency of the CheckoutSession before localization - */ - source_currency: string; - } + /** + * Creation currency of the CheckoutSession before localization + */ + source_currency: string; + } - export interface CustomField { - dropdown?: CustomField.Dropdown; + export interface CustomField { + dropdown?: CustomField.Dropdown; - /** - * String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. - */ - key: string; + /** + * String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. + */ + key: string; - label: CustomField.Label; + label: CustomField.Label; - numeric?: CustomField.Numeric; + numeric?: CustomField.Numeric; - /** - * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. - */ - optional: boolean; + /** + * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. + */ + optional: boolean; - text?: CustomField.Text; + text?: CustomField.Text; - /** - * The type of the field. - */ - type: CustomField.Type; - } + /** + * The type of the field. + */ + type: CustomField.Type; + } - export interface CustomText { - /** - * Custom text that should be displayed after the payment confirmation button. - */ - after_submit: CustomText.AfterSubmit | null; + export interface CustomText { + /** + * Custom text that should be displayed after the payment confirmation button. + */ + after_submit: CustomText.AfterSubmit | null; - /** - * Custom text that should be displayed alongside shipping address collection. - */ - shipping_address: CustomText.ShippingAddress | null; + /** + * Custom text that should be displayed alongside shipping address collection. + */ + shipping_address: CustomText.ShippingAddress | null; - /** - * Custom text that should be displayed alongside the payment confirmation button. - */ - submit: CustomText.Submit | null; + /** + * Custom text that should be displayed alongside the payment confirmation button. + */ + submit: CustomText.Submit | null; - /** - * Custom text that should be displayed in place of the default terms of service agreement text. - */ - terms_of_service_acceptance: CustomText.TermsOfServiceAcceptance | null; - } + /** + * Custom text that should be displayed in place of the default terms of service agreement text. + */ + terms_of_service_acceptance: CustomText.TermsOfServiceAcceptance | null; + } - export type CustomerCreation = 'always' | 'if_required'; + export type CustomerCreation = 'always' | 'if_required'; - export interface CustomerDetails { - /** - * The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. - */ - address: Address | null; + export interface CustomerDetails { + /** + * The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. + */ + address: Address | null; - /** - * The customer's business name after a completed Checkout Session. - */ - business_name: string | null; + /** + * The customer's business name after a completed Checkout Session. + */ + business_name: string | null; - /** - * The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry. - * Otherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form. - */ - email: string | null; + /** + * The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry. + * Otherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form. + */ + email: string | null; - /** - * The customer's individual name after a completed Checkout Session. - */ - individual_name: string | null; + /** + * The customer's individual name after a completed Checkout Session. + */ + individual_name: string | null; - /** - * The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. - */ - name: string | null; + /** + * The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. + */ + name: string | null; - /** - * The customer's phone number after a completed Checkout Session. - */ - phone: string | null; + /** + * The customer's phone number after a completed Checkout Session. + */ + phone: string | null; - /** - * The customer's tax exempt status after a completed Checkout Session. - */ - tax_exempt: CustomerDetails.TaxExempt | null; + /** + * The customer's tax exempt status after a completed Checkout Session. + */ + tax_exempt: CustomerDetails.TaxExempt | null; - /** - * The customer's tax IDs after a completed Checkout Session. - */ - tax_ids: Array | null; - } + /** + * The customer's tax IDs after a completed Checkout Session. + */ + tax_ids: Array | null; + } - export interface Discount { - /** - * Coupon attached to the Checkout Session. - */ - coupon: string | Coupon | null; + export interface Discount { + /** + * Coupon attached to the Checkout Session. + */ + coupon: string | Coupon | null; - /** - * Promotion code attached to the Checkout Session. - */ - promotion_code: string | PromotionCode | null; - } + /** + * Promotion code attached to the Checkout Session. + */ + promotion_code: string | PromotionCode | null; + } - export interface InvoiceCreation { - /** - * Indicates whether invoice creation is enabled for the Checkout Session. - */ - enabled: boolean; + export interface InvoiceCreation { + /** + * Indicates whether invoice creation is enabled for the Checkout Session. + */ + enabled: boolean; - invoice_data: InvoiceCreation.InvoiceData; - } + invoice_data: InvoiceCreation.InvoiceData; + } - export type Locale = - | 'auto' - | 'bg' - | 'cs' - | 'da' - | 'de' - | 'el' - | 'en' - | 'en-GB' - | 'es' - | 'es-419' - | 'et' - | 'fi' - | 'fil' - | 'fr' - | 'fr-CA' - | 'hr' - | 'hu' - | 'id' - | 'it' - | 'ja' - | 'ko' - | 'lt' - | 'lv' - | 'ms' - | 'mt' - | 'nb' - | 'nl' - | 'pl' - | 'pt' - | 'pt-BR' - | 'ro' - | 'ru' - | 'sk' - | 'sl' - | 'sv' - | 'th' - | 'tr' - | 'vi' - | 'zh' - | 'zh-HK' - | 'zh-TW'; + export type Locale = + | 'auto' + | 'bg' + | 'cs' + | 'da' + | 'de' + | 'el' + | 'en' + | 'en-GB' + | 'es' + | 'es-419' + | 'et' + | 'fi' + | 'fil' + | 'fr' + | 'fr-CA' + | 'hr' + | 'hu' + | 'id' + | 'it' + | 'ja' + | 'ko' + | 'lt' + | 'lv' + | 'ms' + | 'mt' + | 'nb' + | 'nl' + | 'pl' + | 'pt' + | 'pt-BR' + | 'ro' + | 'ru' + | 'sk' + | 'sl' + | 'sv' + | 'th' + | 'tr' + | 'vi' + | 'zh' + | 'zh-HK' + | 'zh-TW'; + + export interface ManagedPayments { + /** + * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session. + */ + enabled: boolean; + } - export interface ManagedPayments { - /** - * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session. - */ - enabled: boolean; - } + export type Mode = 'payment' | 'setup' | 'subscription'; - export type Mode = 'payment' | 'setup' | 'subscription'; + export interface NameCollection { + business?: NameCollection.Business; - export interface NameCollection { - business?: NameCollection.Business; + individual?: NameCollection.Individual; + } - individual?: NameCollection.Individual; - } + export interface OptionalItem { + adjustable_quantity: OptionalItem.AdjustableQuantity | null; - export interface OptionalItem { - adjustable_quantity: OptionalItem.AdjustableQuantity | null; + price: string; - price: string; + quantity: number; + } - quantity: number; - } + export type OriginContext = 'mobile_app' | 'web'; - export type OriginContext = 'mobile_app' | 'web'; + export type PaymentMethodCollection = 'always' | 'if_required'; - export type PaymentMethodCollection = 'always' | 'if_required'; + export interface PaymentMethodConfigurationDetails { + /** + * ID of the payment method configuration used. + */ + id: string; - export interface PaymentMethodConfigurationDetails { - /** - * ID of the payment method configuration used. - */ - id: string; + /** + * ID of the parent payment method configuration used. + */ + parent: string | null; + } - /** - * ID of the parent payment method configuration used. - */ - parent: string | null; - } + export interface PaymentMethodOptions { + acss_debit?: PaymentMethodOptions.AcssDebit; - export interface PaymentMethodOptions { - acss_debit?: PaymentMethodOptions.AcssDebit; + affirm?: PaymentMethodOptions.Affirm; - affirm?: PaymentMethodOptions.Affirm; + afterpay_clearpay?: PaymentMethodOptions.AfterpayClearpay; - afterpay_clearpay?: PaymentMethodOptions.AfterpayClearpay; + alipay?: PaymentMethodOptions.Alipay; - alipay?: PaymentMethodOptions.Alipay; + alma?: PaymentMethodOptions.Alma; - alma?: PaymentMethodOptions.Alma; + amazon_pay?: PaymentMethodOptions.AmazonPay; - amazon_pay?: PaymentMethodOptions.AmazonPay; + au_becs_debit?: PaymentMethodOptions.AuBecsDebit; - au_becs_debit?: PaymentMethodOptions.AuBecsDebit; + bacs_debit?: PaymentMethodOptions.BacsDebit; - bacs_debit?: PaymentMethodOptions.BacsDebit; + bancontact?: PaymentMethodOptions.Bancontact; - bancontact?: PaymentMethodOptions.Bancontact; + billie?: PaymentMethodOptions.Billie; - billie?: PaymentMethodOptions.Billie; + boleto?: PaymentMethodOptions.Boleto; - boleto?: PaymentMethodOptions.Boleto; + card?: PaymentMethodOptions.Card; - card?: PaymentMethodOptions.Card; + cashapp?: PaymentMethodOptions.Cashapp; - cashapp?: PaymentMethodOptions.Cashapp; + customer_balance?: PaymentMethodOptions.CustomerBalance; - customer_balance?: PaymentMethodOptions.CustomerBalance; + eps?: PaymentMethodOptions.Eps; - eps?: PaymentMethodOptions.Eps; + fpx?: PaymentMethodOptions.Fpx; - fpx?: PaymentMethodOptions.Fpx; + giropay?: PaymentMethodOptions.Giropay; - giropay?: PaymentMethodOptions.Giropay; + grabpay?: PaymentMethodOptions.Grabpay; - grabpay?: PaymentMethodOptions.Grabpay; + ideal?: PaymentMethodOptions.Ideal; - ideal?: PaymentMethodOptions.Ideal; + kakao_pay?: PaymentMethodOptions.KakaoPay; - kakao_pay?: PaymentMethodOptions.KakaoPay; + klarna?: PaymentMethodOptions.Klarna; - klarna?: PaymentMethodOptions.Klarna; + konbini?: PaymentMethodOptions.Konbini; - konbini?: PaymentMethodOptions.Konbini; + kr_card?: PaymentMethodOptions.KrCard; - kr_card?: PaymentMethodOptions.KrCard; + link?: PaymentMethodOptions.Link; - link?: PaymentMethodOptions.Link; + mobilepay?: PaymentMethodOptions.Mobilepay; - mobilepay?: PaymentMethodOptions.Mobilepay; + multibanco?: PaymentMethodOptions.Multibanco; - multibanco?: PaymentMethodOptions.Multibanco; + naver_pay?: PaymentMethodOptions.NaverPay; - naver_pay?: PaymentMethodOptions.NaverPay; + oxxo?: PaymentMethodOptions.Oxxo; - oxxo?: PaymentMethodOptions.Oxxo; + p24?: PaymentMethodOptions.P24; - p24?: PaymentMethodOptions.P24; + payco?: PaymentMethodOptions.Payco; - payco?: PaymentMethodOptions.Payco; + paynow?: PaymentMethodOptions.Paynow; - paynow?: PaymentMethodOptions.Paynow; + paypal?: PaymentMethodOptions.Paypal; - paypal?: PaymentMethodOptions.Paypal; + payto?: PaymentMethodOptions.Payto; - payto?: PaymentMethodOptions.Payto; + pix?: PaymentMethodOptions.Pix; - pix?: PaymentMethodOptions.Pix; + revolut_pay?: PaymentMethodOptions.RevolutPay; - revolut_pay?: PaymentMethodOptions.RevolutPay; + samsung_pay?: PaymentMethodOptions.SamsungPay; - samsung_pay?: PaymentMethodOptions.SamsungPay; + satispay?: PaymentMethodOptions.Satispay; - satispay?: PaymentMethodOptions.Satispay; + scalapay?: PaymentMethodOptions.Scalapay; - scalapay?: PaymentMethodOptions.Scalapay; + sepa_debit?: PaymentMethodOptions.SepaDebit; - sepa_debit?: PaymentMethodOptions.SepaDebit; + sofort?: PaymentMethodOptions.Sofort; - sofort?: PaymentMethodOptions.Sofort; + swish?: PaymentMethodOptions.Swish; - swish?: PaymentMethodOptions.Swish; + twint?: PaymentMethodOptions.Twint; - twint?: PaymentMethodOptions.Twint; + upi?: PaymentMethodOptions.Upi; - upi?: PaymentMethodOptions.Upi; + us_bank_account?: PaymentMethodOptions.UsBankAccount; + } - us_bank_account?: PaymentMethodOptions.UsBankAccount; - } + export type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid'; + + export interface Permissions { + /** + * Determines which entity is allowed to update the shipping details. + * + * Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details. + * + * When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API. + */ + update_shipping_details: Permissions.UpdateShippingDetails | null; + } - export type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid'; + export interface PhoneNumberCollection { + /** + * Indicates whether phone number collection is enabled for the session + */ + enabled: boolean; + } - export interface Permissions { + export interface PresentmentDetails { + /** + * Amount intended to be collected by this payment, denominated in `presentment_currency`. + */ + presentment_amount: number; + + /** + * Currency presented to the customer during payment. + */ + presentment_currency: string; + } + + export type RedirectOnCompletion = 'always' | 'if_required' | 'never'; + + export interface SavedPaymentMethodOptions { + /** + * Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout. + */ + allow_redisplay_filters: Array< + SavedPaymentMethodOptions.AllowRedisplayFilter + > | null; + + /** + * Enable customers to choose if they wish to remove their saved payment methods. Disabled by default. + */ + payment_method_remove: SavedPaymentMethodOptions.PaymentMethodRemove | null; + + /** + * Enable customers to choose if they wish to save their payment method for future use. Disabled by default. + */ + payment_method_save: SavedPaymentMethodOptions.PaymentMethodSave | null; + } + + export interface ShippingAddressCollection { + /** + * An array of two-letter ISO country codes representing which countries Checkout should provide as options for + * shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`. + */ + allowed_countries: Array; + } + + export interface ShippingCost { + /** + * Total shipping cost before any discounts or taxes are applied. + */ + amount_subtotal: number; + + /** + * Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0. + */ + amount_tax: number; + + /** + * Total shipping cost after discounts and taxes are applied. + */ + amount_total: number; + + /** + * The ID of the ShippingRate for this order. + */ + shipping_rate: string | ShippingRate | null; + + /** + * The taxes applied to the shipping rate. + */ + taxes?: Array; + } + + export interface ShippingOption { + /** + * A non-negative integer in cents representing how much to charge. + */ + shipping_amount: number; + + /** + * The shipping rate. + */ + shipping_rate: string | ShippingRate; + } + + export type Status = 'complete' | 'expired' | 'open'; + + export type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe'; + + export interface TaxIdCollection { + /** + * Indicates whether tax ID collection is enabled for the session + */ + enabled: boolean; + + /** + * Indicates whether a tax ID is required on the payment page + */ + required: TaxIdCollection.Required; + } + + export interface TotalDetails { + /** + * This is the sum of all the discounts. + */ + amount_discount: number; + + /** + * This is the sum of all the shipping amounts. + */ + amount_shipping: number | null; + + /** + * This is the sum of all the tax amounts. + */ + amount_tax: number; + + breakdown?: TotalDetails.Breakdown; + } + + export type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page'; + + export interface WalletOptions { + link?: WalletOptions.Link; + } + + export namespace AfterExpiration { + export interface Recovery { /** - * Determines which entity is allowed to update the shipping details. - * - * Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details. - * - * When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API. + * Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` */ - update_shipping_details: Permissions.UpdateShippingDetails | null; - } + allow_promotion_codes: boolean; - export interface PhoneNumberCollection { /** - * Indicates whether phone number collection is enabled for the session + * If `true`, a recovery url will be generated to recover this Checkout Session if it + * expires before a transaction is completed. It will be attached to the + * Checkout Session object upon expiration. */ enabled: boolean; - } - export interface PresentmentDetails { /** - * Amount intended to be collected by this payment, denominated in `presentment_currency`. + * The timestamp at which the recovery URL will expire. */ - presentment_amount: number; + expires_at: number | null; /** - * Currency presented to the customer during payment. + * URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session */ - presentment_currency: string; + url: string | null; } + } - export type RedirectOnCompletion = 'always' | 'if_required' | 'never'; + export namespace AutomaticTax { + export interface Liability { + /** + * The connected account being referenced when `type` is `account`. + */ + account?: string | Account; - export interface SavedPaymentMethodOptions { /** - * Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout. + * Type of the account referenced. */ - allow_redisplay_filters: Array< - SavedPaymentMethodOptions.AllowRedisplayFilter - > | null; + type: Liability.Type; + } + + export type Status = 'complete' | 'failed' | 'requires_location_inputs'; + + export namespace Liability { + export type Type = 'account' | 'self'; + } + } + export namespace BrandingSettings { + export type BorderStyle = 'pill' | 'rectangular' | 'rounded'; + + export interface Icon { /** - * Enable customers to choose if they wish to remove their saved payment methods. Disabled by default. + * The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. */ - payment_method_remove: SavedPaymentMethodOptions.PaymentMethodRemove | null; + file?: string; /** - * Enable customers to choose if they wish to save their payment method for future use. Disabled by default. + * The type of image for the icon. Must be one of `file` or `url`. */ - payment_method_save: SavedPaymentMethodOptions.PaymentMethodSave | null; - } + type: Icon.Type; - export interface ShippingAddressCollection { /** - * An array of two-letter ISO country codes representing which countries Checkout should provide as options for - * shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`. + * The URL of the image. Present when `type` is `url`. */ - allowed_countries: Array; + url?: string; } - export interface ShippingCost { + export interface Logo { /** - * Total shipping cost before any discounts or taxes are applied. + * The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. */ - amount_subtotal: number; + file?: string; /** - * Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0. + * The type of image for the logo. Must be one of `file` or `url`. */ - amount_tax: number; + type: Logo.Type; /** - * Total shipping cost after discounts and taxes are applied. + * The URL of the image. Present when `type` is `url`. */ - amount_total: number; + url?: string; + } + + export namespace Icon { + export type Type = 'file' | 'url'; + } + + export namespace Logo { + export type Type = 'file' | 'url'; + } + } + + export namespace CollectedInformation { + export interface ShippingDetails { + address: Address; /** - * The ID of the ShippingRate for this order. + * Customer name. */ - shipping_rate: string | ShippingRate | null; + name: string; + } + } + + export namespace Consent { + export type Promotions = 'opt_in' | 'opt_out'; + } + export namespace ConsentCollection { + export interface PaymentMethodReuseAgreement { /** - * The taxes applied to the shipping rate. + * Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. + * + * When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. */ - taxes?: Array; + position: PaymentMethodReuseAgreement.Position; } - export interface ShippingOption { + export type Promotions = 'auto' | 'none'; + + export type TermsOfService = 'none' | 'required'; + + export namespace PaymentMethodReuseAgreement { + export type Position = 'auto' | 'hidden'; + } + } + + export namespace CustomerDetails { + export type TaxExempt = 'exempt' | 'none' | 'reverse'; + + export interface TaxId { /** - * A non-negative integer in cents representing how much to charge. + * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` */ - shipping_amount: number; + type: TaxId.Type; /** - * The shipping rate. + * The value of the tax ID. */ - shipping_rate: string | ShippingRate; + value: string | null; } - export type Status = 'complete' | 'expired' | 'open'; + export namespace TaxId { + export 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' + | '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'; + } + } - export type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe'; + export namespace CustomField { + export interface Dropdown { + /** + * The value that pre-fills on the payment page. + */ + default_value: string | null; - export interface TaxIdCollection { /** - * Indicates whether tax ID collection is enabled for the session + * The options available for the customer to select. Up to 200 options allowed. */ - enabled: boolean; + options: Array; /** - * Indicates whether a tax ID is required on the payment page + * The option selected by the customer. This will be the `value` for the option. */ - required: TaxIdCollection.Required; + value: string | null; } - export interface TotalDetails { + export interface Label { /** - * This is the sum of all the discounts. + * Custom text for the label, displayed to the customer. Up to 50 characters. */ - amount_discount: number; + custom: string | null; /** - * This is the sum of all the shipping amounts. + * The type of the label. */ - amount_shipping: number | null; + type: 'custom'; + } + export interface Numeric { /** - * This is the sum of all the tax amounts. + * The value that pre-fills the field on the payment page. */ - amount_tax: number; + default_value: string | null; - breakdown?: TotalDetails.Breakdown; - } + /** + * The maximum character length constraint for the customer's input. + */ + maximum_length: number | null; - export type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page'; + /** + * The minimum character length requirement for the customer's input. + */ + minimum_length: number | null; - export interface WalletOptions { - link?: WalletOptions.Link; + /** + * The value entered by the customer, containing only digits. + */ + value: string | null; } - export namespace AfterExpiration { - export interface Recovery { - /** - * Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` - */ - allow_promotion_codes: boolean; + export interface Text { + /** + * The value that pre-fills the field on the payment page. + */ + default_value: string | null; - /** - * If `true`, a recovery url will be generated to recover this Checkout Session if it - * expires before a transaction is completed. It will be attached to the - * Checkout Session object upon expiration. - */ - enabled: boolean; + /** + * The maximum character length constraint for the customer's input. + */ + maximum_length: number | null; - /** - * The timestamp at which the recovery URL will expire. - */ - expires_at: number | null; - - /** - * URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session - */ - url: string | null; - } - } - - export namespace AutomaticTax { - export interface Liability { - /** - * The connected account being referenced when `type` is `account`. - */ - account?: string | Account; - - /** - * Type of the account referenced. - */ - type: Liability.Type; - } - - export type Status = 'complete' | 'failed' | 'requires_location_inputs'; + /** + * The minimum character length requirement for the customer's input. + */ + minimum_length: number | null; - export namespace Liability { - export type Type = 'account' | 'self'; - } + /** + * The value entered by the customer. + */ + value: string | null; } - export namespace BrandingSettings { - export type BorderStyle = 'pill' | 'rectangular' | 'rounded'; - - export interface Icon { - /** - * The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. - */ - file?: string; - - /** - * The type of image for the icon. Must be one of `file` or `url`. - */ - type: Icon.Type; - - /** - * The URL of the image. Present when `type` is `url`. - */ - url?: string; - } - - export interface Logo { - /** - * The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. - */ - file?: string; + export type Type = 'dropdown' | 'numeric' | 'text'; + export namespace Dropdown { + export interface Option { /** - * The type of image for the logo. Must be one of `file` or `url`. + * The label for the option, displayed to the customer. Up to 100 characters. */ - type: Logo.Type; + label: string; /** - * The URL of the image. Present when `type` is `url`. + * The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. */ - url?: string; - } - - export namespace Icon { - export type Type = 'file' | 'url'; - } - - export namespace Logo { - export type Type = 'file' | 'url'; + value: string; } } + } - export namespace CollectedInformation { - export interface ShippingDetails { - address: Address; + export namespace CustomText { + export interface AfterSubmit { + /** + * Text can be up to 1200 characters in length. + */ + message: string; + } - /** - * Customer name. - */ - name: string; - } + export interface ShippingAddress { + /** + * Text can be up to 1200 characters in length. + */ + message: string; } - export namespace Consent { - export type Promotions = 'opt_in' | 'opt_out'; + export interface Submit { + /** + * Text can be up to 1200 characters in length. + */ + message: string; } - export namespace ConsentCollection { - export interface PaymentMethodReuseAgreement { - /** - * Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. - * - * When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. - */ - position: PaymentMethodReuseAgreement.Position; - } + export interface TermsOfServiceAcceptance { + /** + * Text can be up to 1200 characters in length. + */ + message: string; + } + } - export type Promotions = 'auto' | 'none'; + export namespace InvoiceCreation { + export interface InvoiceData { + /** + * The account tax IDs associated with the invoice. + */ + account_tax_ids: Array | null; - export type TermsOfService = 'none' | 'required'; + /** + * Custom fields displayed on the invoice. + */ + custom_fields: Array | null; - export namespace PaymentMethodReuseAgreement { - export type Position = 'auto' | 'hidden'; - } - } + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description: string | null; - export namespace CustomerDetails { - export type TaxExempt = 'exempt' | 'none' | 'reverse'; + /** + * Footer displayed on the invoice. + */ + footer: string | null; - export interface TaxId { - /** - * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` - */ - type: TaxId.Type; + /** + * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. + */ + issuer: InvoiceData.Issuer | null; - /** - * The value of the tax ID. - */ - value: string | null; - } + /** + * 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. + */ + metadata: Metadata | null; - export namespace TaxId { - export 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' - | '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'; - } + /** + * Options for invoice PDF rendering. + */ + rendering_options: InvoiceData.RenderingOptions | null; } - export namespace CustomField { - export interface Dropdown { - /** - * The value that pre-fills on the payment page. - */ - default_value: string | null; - + export namespace InvoiceData { + export interface CustomField { /** - * The options available for the customer to select. Up to 200 options allowed. + * The name of the custom field. */ - options: Array; + name: string; /** - * The option selected by the customer. This will be the `value` for the option. + * The value of the custom field. */ - value: string | null; + value: string; } - export interface Label { + export interface Issuer { /** - * Custom text for the label, displayed to the customer. Up to 50 characters. + * The connected account being referenced when `type` is `account`. */ - custom: string | null; + account?: string | Account; /** - * The type of the label. + * Type of the account referenced. */ - type: 'custom'; + type: Issuer.Type; } - export interface Numeric { - /** - * The value that pre-fills the field on the payment page. - */ - default_value: string | null; - + export interface RenderingOptions { /** - * The maximum character length constraint for the customer's input. + * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. */ - maximum_length: number | null; + amount_tax_display: string | null; /** - * The minimum character length requirement for the customer's input. + * ID of the invoice rendering template to be used for the generated invoice. */ - minimum_length: number | null; + template: string | null; + } - /** - * The value entered by the customer, containing only digits. - */ - value: string | null; + export namespace Issuer { + export type Type = 'account' | 'self'; } + } + } - export interface Text { - /** - * The value that pre-fills the field on the payment page. - */ - default_value: string | null; + export namespace NameCollection { + export interface Business { + /** + * Indicates whether business name collection is enabled for the session + */ + enabled: boolean; - /** - * The maximum character length constraint for the customer's input. - */ - maximum_length: number | null; + /** + * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. + */ + optional: boolean; + } - /** - * The minimum character length requirement for the customer's input. - */ - minimum_length: number | null; + export interface Individual { + /** + * Indicates whether individual name collection is enabled for the session + */ + enabled: boolean; - /** - * The value entered by the customer. - */ - value: string | null; - } + /** + * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. + */ + optional: boolean; + } + } - export type Type = 'dropdown' | 'numeric' | 'text'; + export namespace OptionalItem { + export interface AdjustableQuantity { + /** + * Set to true if the quantity can be adjusted to any non-negative integer. + */ + enabled: boolean; - export namespace Dropdown { - export interface Option { - /** - * The label for the option, displayed to the customer. Up to 100 characters. - */ - label: string; + /** + * The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999. + */ + maximum: number | null; - /** - * The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. - */ - value: string; - } - } + /** + * The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0. + */ + minimum: number | null; } + } - export namespace CustomText { - export interface AfterSubmit { - /** - * Text can be up to 1200 characters in length. - */ - message: string; - } + export namespace PaymentMethodOptions { + export interface AcssDebit { + /** + * Currency supported by the bank account. Returned when the Session is in `setup` mode. + */ + currency?: AcssDebit.Currency; - export interface ShippingAddress { - /** - * Text can be up to 1200 characters in length. - */ - message: string; - } + mandate_options?: AcssDebit.MandateOptions; - export interface Submit { - /** - * Text can be up to 1200 characters in length. - */ - message: string; - } + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: AcssDebit.SetupFutureUsage; - export interface TermsOfServiceAcceptance { - /** - * Text can be up to 1200 characters in length. - */ - message: string; - } + /** + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + */ + target_date?: string; + + /** + * Bank account verification method. The default value is `automatic`. + */ + verification_method?: AcssDebit.VerificationMethod; } - export namespace InvoiceCreation { - export interface InvoiceData { - /** - * The account tax IDs associated with the invoice. - */ - account_tax_ids: Array | null; + export interface Affirm { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - /** - * Custom fields displayed on the invoice. - */ - custom_fields: Array | null; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; + export interface AfterpayClearpay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - /** - * Footer displayed on the invoice. - */ - footer: string | null; - - /** - * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. - */ - issuer: InvoiceData.Issuer | null; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * 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. - */ - metadata: Metadata | null; + export interface Alipay { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * Options for invoice PDF rendering. - */ - rendering_options: InvoiceData.RenderingOptions | null; - } + export interface Alma { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } - export namespace InvoiceData { - export interface CustomField { - /** - * The name of the custom field. - */ - name: string; + export interface AmazonPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - /** - * The value of the custom field. - */ - value: string; - } + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: AmazonPay.SetupFutureUsage; + } - export interface Issuer { - /** - * The connected account being referenced when `type` is `account`. - */ - account?: string | Account; + export interface AuBecsDebit { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; - /** - * Type of the account referenced. - */ - type: Issuer.Type; - } + /** + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + */ + target_date?: string; + } - export interface RenderingOptions { - /** - * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. - */ - amount_tax_display: string | null; + export interface BacsDebit { + mandate_options?: BacsDebit.MandateOptions; - /** - * ID of the invoice rendering template to be used for the generated invoice. - */ - template: string | null; - } + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: BacsDebit.SetupFutureUsage; - export namespace Issuer { - export type Type = 'account' | 'self'; - } - } + /** + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + */ + target_date?: string; } - export namespace NameCollection { - export interface Business { - /** - * Indicates whether business name collection is enabled for the session - */ - enabled: boolean; + export interface Bancontact { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. - */ - optional: boolean; - } + export interface Billie { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } - export interface Individual { - /** - * Indicates whether individual name collection is enabled for the session - */ - enabled: boolean; + export interface Boleto { + /** + * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. + */ + expires_after_days: number; - /** - * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. - */ - optional: boolean; - } + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Boleto.SetupFutureUsage; } - export namespace OptionalItem { - export interface AdjustableQuantity { - /** - * Set to true if the quantity can be adjusted to any non-negative integer. - */ - enabled: boolean; + export interface Card { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - /** - * The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999. - */ - maximum: number | null; + installments?: Card.Installments; - /** - * The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0. - */ - minimum: number | null; - } - } + /** + * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession. + */ + request_extended_authorization?: Card.RequestExtendedAuthorization; - export namespace PaymentMethodOptions { - export interface AcssDebit { - /** - * Currency supported by the bank account. Returned when the Session is in `setup` mode. - */ - currency?: AcssDebit.Currency; + /** + * Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this CheckoutSession. + */ + request_incremental_authorization?: Card.RequestIncrementalAuthorization; - mandate_options?: AcssDebit.MandateOptions; + /** + * Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this CheckoutSession. + */ + request_multicapture?: Card.RequestMulticapture; - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: AcssDebit.SetupFutureUsage; + /** + * Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this CheckoutSession. + */ + request_overcapture?: Card.RequestOvercapture; - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; + /** + * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + */ + request_three_d_secure: Card.RequestThreeDSecure; - /** - * Bank account verification method. The default value is `automatic`. - */ - verification_method?: AcssDebit.VerificationMethod; - } + restrictions?: Card.Restrictions; - export interface Affirm { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Card.SetupFutureUsage; - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + */ + statement_descriptor_suffix_kana?: string; - export interface AfterpayClearpay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + */ + statement_descriptor_suffix_kanji?: string; + } - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + export interface Cashapp { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - export interface Alipay { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - export interface Alma { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } + export interface CustomerBalance { + bank_transfer?: CustomerBalance.BankTransfer; - export interface AmazonPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + /** + * The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + */ + funding_type: 'bank_transfer' | null; - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: AmazonPay.SetupFutureUsage; - } + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - export interface AuBecsDebit { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - } + export interface Eps { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - export interface BacsDebit { - mandate_options?: BacsDebit.MandateOptions; + export interface Fpx { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: BacsDebit.SetupFutureUsage; + export interface Giropay { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - } + export interface Grabpay { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - export interface Bancontact { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + export interface Ideal { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - export interface Billie { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } + export interface KakaoPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - export interface Boleto { - /** - * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. - */ - expires_after_days: number; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: KakaoPay.SetupFutureUsage; + } - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Boleto.SetupFutureUsage; - } + export interface Klarna { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - export interface Card { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Klarna.SetupFutureUsage; + } - installments?: Card.Installments; + export interface Konbini { + /** + * The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. + */ + expires_after_days: number | null; - /** - * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession. - */ - request_extended_authorization?: Card.RequestExtendedAuthorization; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this CheckoutSession. - */ - request_incremental_authorization?: Card.RequestIncrementalAuthorization; + export interface KrCard { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - /** - * Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this CheckoutSession. - */ - request_multicapture?: Card.RequestMulticapture; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: KrCard.SetupFutureUsage; + } - /** - * Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this CheckoutSession. - */ - request_overcapture?: Card.RequestOvercapture; + export interface Link { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure: Card.RequestThreeDSecure; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Link.SetupFutureUsage; + } - restrictions?: Card.Restrictions; + export interface Mobilepay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Card.SetupFutureUsage; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. - */ - statement_descriptor_suffix_kana?: string; + export interface Multibanco { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. - */ - statement_descriptor_suffix_kanji?: string; - } + export interface NaverPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - export interface Cashapp { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: NaverPay.SetupFutureUsage; + } - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + export interface Oxxo { + /** + * The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. + */ + expires_after_days: number; - export interface CustomerBalance { - bank_transfer?: CustomerBalance.BankTransfer; + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. - */ - funding_type: 'bank_transfer' | null; + export interface P24 { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + export interface Payco { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } - export interface Eps { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + export interface Paynow { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - export interface Fpx { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + export interface Paypal { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - export interface Giropay { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + /** + * Preferred locale of the PayPal checkout page that the customer is redirected to. + */ + preferred_locale: string | null; - export interface Grabpay { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + /** + * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID. + */ + reference: string | null; - export interface Ideal { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Paypal.SetupFutureUsage; + } - export interface KakaoPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + export interface Payto { + mandate_options?: Payto.MandateOptions; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Payto.SetupFutureUsage; + } + + export interface Pix { + /** + * Determines if the amount includes the IOF tax. + */ + amount_includes_iof?: Pix.AmountIncludesIof; + + /** + * The number of seconds after which Pix payment will expire. + */ + expires_after_seconds: number | null; + + mandate_options?: Pix.MandateOptions; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Pix.SetupFutureUsage; + } + + export interface RevolutPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: RevolutPay.SetupFutureUsage; + } + + export interface SamsungPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + + export interface Satispay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + + export interface Scalapay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + + export interface SepaDebit { + mandate_options?: SepaDebit.MandateOptions; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: SepaDebit.SetupFutureUsage; + + /** + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + */ + target_date?: string; + } + + export interface Sofort { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } + + export interface Swish { + /** + * The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. + */ + reference: string | null; + } + + export interface Twint { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Twint.SetupFutureUsage; + } + export interface Upi { + mandate_options?: Upi.MandateOptions; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Upi.SetupFutureUsage; + } + + export interface UsBankAccount { + financial_connections?: UsBankAccount.FinancialConnections; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: UsBankAccount.SetupFutureUsage; + + /** + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + */ + target_date?: string; + + /** + * Bank account verification method. The default value is `automatic`. + */ + verification_method?: UsBankAccount.VerificationMethod; + } + + export namespace AcssDebit { + export type Currency = 'cad' | 'usd'; + + export interface MandateOptions { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * A URL for custom mandate text */ - setup_future_usage?: KakaoPay.SetupFutureUsage; - } + custom_mandate_url?: string; - export interface Klarna { /** - * Controls when the funds will be captured from the customer's account. + * List of Stripe products where this mandate can be selected automatically. Returned when the Session is in `setup` mode. */ - capture_method?: 'manual'; + default_for?: Array; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'. */ - setup_future_usage?: Klarna.SetupFutureUsage; - } + interval_description: string | null; - export interface Konbini { /** - * The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. + * Payment schedule for the mandate. */ - expires_after_days: number | null; + payment_schedule: MandateOptions.PaymentSchedule | null; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Transaction type of the mandate. */ - setup_future_usage?: 'none'; + transaction_type: MandateOptions.TransactionType | null; } - export interface KrCard { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: KrCard.SetupFutureUsage; + export type VerificationMethod = + | 'automatic' + | 'instant' + | 'microdeposits'; + + export namespace MandateOptions { + export type DefaultFor = 'invoice' | 'subscription'; + + export type PaymentSchedule = 'combined' | 'interval' | 'sporadic'; + + export type TransactionType = 'business' | 'personal'; } + } - export interface Link { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + export namespace AmazonPay { + export type SetupFutureUsage = 'none' | 'off_session'; + } + export namespace BacsDebit { + export interface MandateOptions { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. */ - setup_future_usage?: Link.SetupFutureUsage; + reference_prefix?: string; } - export interface Mobilepay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + } - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Multibanco { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface NaverPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: NaverPay.SetupFutureUsage; - } - - export interface Oxxo { - /** - * The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. - */ - expires_after_days: number; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface P24 { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Payco { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface Paynow { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Paypal { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Preferred locale of the PayPal checkout page that the customer is redirected to. - */ - preferred_locale: string | null; - - /** - * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID. - */ - reference: string | null; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Paypal.SetupFutureUsage; - } - - export interface Payto { - mandate_options?: Payto.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Payto.SetupFutureUsage; - } - - export interface Pix { - /** - * Determines if the amount includes the IOF tax. - */ - amount_includes_iof?: Pix.AmountIncludesIof; - - /** - * The number of seconds after which Pix payment will expire. - */ - expires_after_seconds: number | null; - - mandate_options?: Pix.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Pix.SetupFutureUsage; - } - - export interface RevolutPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: RevolutPay.SetupFutureUsage; - } - - export interface SamsungPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface Satispay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface Scalapay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface SepaDebit { - mandate_options?: SepaDebit.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: SepaDebit.SetupFutureUsage; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - } - - export interface Sofort { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Swish { - /** - * The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. - */ - reference: string | null; - } - - export interface Twint { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Twint.SetupFutureUsage; - } - - export interface Upi { - mandate_options?: Upi.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Upi.SetupFutureUsage; - } - - export interface UsBankAccount { - financial_connections?: UsBankAccount.FinancialConnections; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: UsBankAccount.SetupFutureUsage; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - - /** - * Bank account verification method. The default value is `automatic`. - */ - verification_method?: UsBankAccount.VerificationMethod; - } - - export namespace AcssDebit { - export type Currency = 'cad' | 'usd'; - - export interface MandateOptions { - /** - * A URL for custom mandate text - */ - custom_mandate_url?: string; - - /** - * List of Stripe products where this mandate can be selected automatically. Returned when the Session is in `setup` mode. - */ - default_for?: Array; - - /** - * Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'. - */ - interval_description: string | null; - - /** - * Payment schedule for the mandate. - */ - payment_schedule: MandateOptions.PaymentSchedule | null; - - /** - * Transaction type of the mandate. - */ - transaction_type: MandateOptions.TransactionType | null; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - - export type VerificationMethod = - | 'automatic' - | 'instant' - | 'microdeposits'; - - export namespace MandateOptions { - export type DefaultFor = 'invoice' | 'subscription'; - - export type PaymentSchedule = 'combined' | 'interval' | 'sporadic'; - - export type TransactionType = 'business' | 'personal'; - } - } - - export namespace AmazonPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace BacsDebit { - export interface MandateOptions { - /** - * Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. - */ - reference_prefix?: string; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - } - - export namespace Boleto { - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - } - - export namespace Card { - export interface Installments { - /** - * Indicates if installments are enabled - */ - enabled?: boolean; - } - - export type RequestExtendedAuthorization = 'if_available' | 'never'; - - export type RequestIncrementalAuthorization = 'if_available' | 'never'; - - export type RequestMulticapture = 'if_available' | 'never'; - - export type RequestOvercapture = 'if_available' | 'never'; - - export type RequestThreeDSecure = 'any' | 'automatic' | 'challenge'; - - export interface Restrictions { - /** - * The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment. - */ - brands_blocked?: Array; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - - export namespace Restrictions { - export type BrandsBlocked = - | 'american_express' - | 'discover_global_network' - | 'mastercard' - | 'visa'; - } - } - - export namespace CustomerBalance { - export interface BankTransfer { - eu_bank_transfer?: BankTransfer.EuBankTransfer; - - /** - * List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. - * - * Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. - */ - requested_address_types?: Array; - - /** - * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. - */ - type: BankTransfer.Type | null; - } - - export namespace BankTransfer { - export interface EuBankTransfer { - /** - * The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`. - */ - country: EuBankTransfer.Country; - } - - export type RequestedAddressType = - | 'aba' - | 'iban' - | 'sepa' - | 'sort_code' - | 'spei' - | 'swift' - | 'zengin'; - - export type Type = - | 'eu_bank_transfer' - | 'gb_bank_transfer' - | 'jp_bank_transfer' - | 'mx_bank_transfer' - | 'us_bank_transfer'; - - export namespace EuBankTransfer { - export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; - } - } - } - - export namespace KakaoPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Klarna { - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - } - - export namespace KrCard { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Link { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace NaverPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Paypal { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Payto { - export interface MandateOptions { - /** - * Amount that will be collected. It is required when `amount_type` is `fixed`. - */ - amount: number | null; - - /** - * The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. - */ - amount_type: MandateOptions.AmountType | null; - - /** - * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date. - */ - end_date: string | null; - - /** - * The periodicity at which payments will be collected. Defaults to `adhoc`. - */ - payment_schedule: MandateOptions.PaymentSchedule | null; - - /** - * The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit. - */ - payments_per_period: number | null; - - /** - * The purpose for which payments are made. Has a default value based on your merchant category code. - */ - purpose: MandateOptions.Purpose | null; - - /** - * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time. - */ - start_date: string | null; - } - - export type SetupFutureUsage = 'none' | 'off_session'; - - export namespace MandateOptions { - export type AmountType = 'fixed' | 'maximum'; - - export type PaymentSchedule = - | 'adhoc' - | 'annual' - | 'daily' - | 'fortnightly' - | 'monthly' - | 'quarterly' - | 'semi_annual' - | 'weekly'; - - export type Purpose = - | 'dependant_support' - | 'government' - | 'loan' - | 'mortgage' - | 'other' - | 'pension' - | 'personal' - | 'retail' - | 'salary' - | 'tax' - | 'utility'; - } - } - - export namespace Pix { - export type AmountIncludesIof = 'always' | 'never'; - - export interface MandateOptions { - /** - * Amount to be charged for future payments. - */ - amount?: number; - - /** - * Determines if the amount includes the IOF tax. - */ - amount_includes_iof?: MandateOptions.AmountIncludesIof; - - /** - * Type of amount. - */ - amount_type?: MandateOptions.AmountType; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. - */ - currency?: string; - - /** - * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. - */ - end_date?: string; - - /** - * Schedule at which the future payments will be charged. - */ - payment_schedule?: MandateOptions.PaymentSchedule; - - /** - * Subscription name displayed to buyers in their bank app. - */ - reference?: string; - - /** - * Start date of the mandate, in `YYYY-MM-DD`. - */ - start_date?: string; - } - - export type SetupFutureUsage = 'none' | 'off_session'; - - export namespace MandateOptions { - export type AmountIncludesIof = 'always' | 'never'; - - export type AmountType = 'fixed' | 'maximum'; - - export type PaymentSchedule = - | 'halfyearly' - | 'monthly' - | 'quarterly' - | 'weekly' - | 'yearly'; - } - } - - export namespace RevolutPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace SepaDebit { - export interface MandateOptions { - /** - * Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. - */ - reference_prefix?: string; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - } - - export namespace Twint { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Upi { - export interface MandateOptions { - /** - * Amount to be charged for future payments. - */ - amount: number | null; - - /** - * One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. - */ - amount_type: MandateOptions.AmountType | null; - - /** - * A description of the mandate or subscription that is meant to be displayed to the customer. - */ - description: string | null; - - /** - * End date of the mandate or subscription. - */ - end_date: number | null; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - - export namespace MandateOptions { - export type AmountType = 'fixed' | 'maximum'; - } - } - - export namespace UsBankAccount { - export interface FinancialConnections { - filters?: FinancialConnections.Filters; - - /** - * The list of permissions to request. The `payment_method` permission must be included. - */ - permissions?: Array; - - /** - * Data features requested to be retrieved upon account creation. - */ - prefetch: Array | null; - - /** - * For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. - */ - return_url?: string; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - - export type VerificationMethod = 'automatic' | 'instant'; - - export namespace FinancialConnections { - export interface Filters { - /** - * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. - */ - account_subcategories?: Array; - } - - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; - - export type Prefetch = 'balances' | 'ownership' | 'transactions'; - - export namespace Filters { - export type AccountSubcategory = 'checking' | 'savings'; - } - } - } - } - - export namespace Permissions { - export type UpdateShippingDetails = 'client_only' | 'server_only'; - } - - export namespace SavedPaymentMethodOptions { - export type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified'; - - export type PaymentMethodRemove = 'disabled' | 'enabled'; - - export type PaymentMethodSave = 'disabled' | 'enabled'; + export namespace Boleto { + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; } - - export namespace ShippingAddressCollection { - export type AllowedCountry = - | 'AC' - | 'AD' - | 'AE' - | 'AF' - | 'AG' - | 'AI' - | 'AL' - | 'AM' - | 'AO' - | 'AQ' - | 'AR' - | 'AT' - | 'AU' - | 'AW' - | 'AX' - | 'AZ' - | 'BA' - | 'BB' - | 'BD' - | 'BE' - | 'BF' - | 'BG' - | 'BH' - | 'BI' - | 'BJ' - | 'BL' - | 'BM' - | 'BN' - | 'BO' - | 'BQ' - | 'BR' - | 'BS' - | 'BT' - | 'BV' - | 'BW' - | 'BY' - | 'BZ' - | 'CA' - | 'CD' - | 'CF' - | 'CG' - | 'CH' - | 'CI' - | 'CK' - | 'CL' - | 'CM' - | 'CN' - | 'CO' - | 'CR' - | 'CV' - | 'CW' - | 'CY' - | 'CZ' - | 'DE' - | 'DJ' - | 'DK' - | 'DM' - | 'DO' - | 'DZ' - | 'EC' - | 'EE' - | 'EG' - | 'EH' - | 'ER' - | 'ES' - | 'ET' - | 'FI' - | 'FJ' - | 'FK' - | 'FO' - | 'FR' - | 'GA' - | 'GB' - | 'GD' - | 'GE' - | 'GF' - | 'GG' - | 'GH' - | 'GI' - | 'GL' - | 'GM' - | 'GN' - | 'GP' - | 'GQ' - | 'GR' - | 'GS' - | 'GT' - | 'GU' - | 'GW' - | 'GY' - | 'HK' - | 'HN' - | 'HR' - | 'HT' - | 'HU' - | 'ID' - | 'IE' - | 'IL' - | 'IM' - | 'IN' - | 'IO' - | 'IQ' - | 'IS' - | 'IT' - | 'JE' - | 'JM' - | 'JO' - | 'JP' - | 'KE' - | 'KG' - | 'KH' - | 'KI' - | 'KM' - | 'KN' - | 'KR' - | 'KW' - | 'KY' - | 'KZ' - | 'LA' - | 'LB' - | 'LC' - | 'LI' - | 'LK' - | 'LR' - | 'LS' - | 'LT' - | 'LU' - | 'LV' - | 'LY' - | 'MA' - | 'MC' - | 'MD' - | 'ME' - | 'MF' - | 'MG' - | 'MK' - | 'ML' - | 'MM' - | 'MN' - | 'MO' - | 'MQ' - | 'MR' - | 'MS' - | 'MT' - | 'MU' - | 'MV' - | 'MW' - | 'MX' - | 'MY' - | 'MZ' - | 'NA' - | 'NC' - | 'NE' - | 'NG' - | 'NI' - | 'NL' - | 'NO' - | 'NP' - | 'NR' - | 'NU' - | 'NZ' - | 'OM' - | 'PA' - | 'PE' - | 'PF' - | 'PG' - | 'PH' - | 'PK' - | 'PL' - | 'PM' - | 'PN' - | 'PR' - | 'PS' - | 'PT' - | 'PY' - | 'QA' - | 'RE' - | 'RO' - | 'RS' - | 'RU' - | 'RW' - | 'SA' - | 'SB' - | 'SC' - | 'SD' - | 'SE' - | 'SG' - | 'SH' - | 'SI' - | 'SJ' - | 'SK' - | 'SL' - | 'SM' - | 'SN' - | 'SO' - | 'SR' - | 'SS' - | 'ST' - | 'SV' - | 'SX' - | 'SZ' - | 'TA' - | 'TC' - | 'TD' - | 'TF' - | 'TG' - | 'TH' - | 'TJ' - | 'TK' - | 'TL' - | 'TM' - | 'TN' - | 'TO' - | 'TR' - | 'TT' - | 'TV' - | 'TW' - | 'TZ' - | 'UA' - | 'UG' - | 'US' - | 'UY' - | 'UZ' - | 'VA' - | 'VC' - | 'VE' - | 'VG' - | 'VN' - | 'VU' - | 'WF' - | 'WS' - | 'XK' - | 'YE' - | 'YT' - | 'ZA' - | 'ZM' - | 'ZW' - | 'ZZ'; + + export namespace Card { + export interface Installments { + /** + * Indicates if installments are enabled + */ + enabled?: boolean; + } + + export type RequestExtendedAuthorization = 'if_available' | 'never'; + + export type RequestIncrementalAuthorization = 'if_available' | 'never'; + + export type RequestMulticapture = 'if_available' | 'never'; + + export type RequestOvercapture = 'if_available' | 'never'; + + export type RequestThreeDSecure = 'any' | 'automatic' | 'challenge'; + + export interface Restrictions { + /** + * The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment. + */ + brands_blocked?: Array; + } + + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + + export namespace Restrictions { + export type BrandsBlocked = + | 'american_express' + | 'discover_global_network' + | 'mastercard' + | 'visa'; + } + } + + export namespace CustomerBalance { + export interface BankTransfer { + eu_bank_transfer?: BankTransfer.EuBankTransfer; + + /** + * List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. + * + * Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + */ + requested_address_types?: Array; + + /** + * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + */ + type: BankTransfer.Type | null; + } + + export namespace BankTransfer { + export interface EuBankTransfer { + /** + * The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`. + */ + country: EuBankTransfer.Country; + } + + export type RequestedAddressType = + | 'aba' + | 'iban' + | 'sepa' + | 'sort_code' + | 'spei' + | 'swift' + | 'zengin'; + + export type Type = + | 'eu_bank_transfer' + | 'gb_bank_transfer' + | 'jp_bank_transfer' + | 'mx_bank_transfer' + | 'us_bank_transfer'; + + export namespace EuBankTransfer { + export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; + } + } + } + + export namespace KakaoPay { + export type SetupFutureUsage = 'none' | 'off_session'; + } + + export namespace Klarna { + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + } + + export namespace KrCard { + export type SetupFutureUsage = 'none' | 'off_session'; + } + + export namespace Link { + export type SetupFutureUsage = 'none' | 'off_session'; + } + + export namespace NaverPay { + export type SetupFutureUsage = 'none' | 'off_session'; + } + + export namespace Paypal { + export type SetupFutureUsage = 'none' | 'off_session'; + } + + export namespace Payto { + export interface MandateOptions { + /** + * Amount that will be collected. It is required when `amount_type` is `fixed`. + */ + amount: number | null; + + /** + * The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. + */ + amount_type: MandateOptions.AmountType | null; + + /** + * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date. + */ + end_date: string | null; + + /** + * The periodicity at which payments will be collected. Defaults to `adhoc`. + */ + payment_schedule: MandateOptions.PaymentSchedule | null; + + /** + * The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit. + */ + payments_per_period: number | null; + + /** + * The purpose for which payments are made. Has a default value based on your merchant category code. + */ + purpose: MandateOptions.Purpose | null; + + /** + * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time. + */ + start_date: string | null; + } + + export type SetupFutureUsage = 'none' | 'off_session'; + + export namespace MandateOptions { + export type AmountType = 'fixed' | 'maximum'; + + export type PaymentSchedule = + | 'adhoc' + | 'annual' + | 'daily' + | 'fortnightly' + | 'monthly' + | 'quarterly' + | 'semi_annual' + | 'weekly'; + + export type Purpose = + | 'dependant_support' + | 'government' + | 'loan' + | 'mortgage' + | 'other' + | 'pension' + | 'personal' + | 'retail' + | 'salary' + | 'tax' + | 'utility'; + } + } + + export namespace Pix { + export type AmountIncludesIof = 'always' | 'never'; + + export interface MandateOptions { + /** + * Amount to be charged for future payments. + */ + amount?: number; + + /** + * Determines if the amount includes the IOF tax. + */ + amount_includes_iof?: MandateOptions.AmountIncludesIof; + + /** + * Type of amount. + */ + amount_type?: MandateOptions.AmountType; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. + */ + currency?: string; + + /** + * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. + */ + end_date?: string; + + /** + * Schedule at which the future payments will be charged. + */ + payment_schedule?: MandateOptions.PaymentSchedule; + + /** + * Subscription name displayed to buyers in their bank app. + */ + reference?: string; + + /** + * Start date of the mandate, in `YYYY-MM-DD`. + */ + start_date?: string; + } + + export type SetupFutureUsage = 'none' | 'off_session'; + + export namespace MandateOptions { + export type AmountIncludesIof = 'always' | 'never'; + + export type AmountType = 'fixed' | 'maximum'; + + export type PaymentSchedule = + | 'halfyearly' + | 'monthly' + | 'quarterly' + | 'weekly' + | 'yearly'; + } + } + + export namespace RevolutPay { + export type SetupFutureUsage = 'none' | 'off_session'; + } + + export namespace SepaDebit { + export interface MandateOptions { + /** + * Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. + */ + reference_prefix?: string; + } + + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + } + + export namespace Twint { + export type SetupFutureUsage = 'none' | 'off_session'; + } + + export namespace Upi { + export interface MandateOptions { + /** + * Amount to be charged for future payments. + */ + amount: number | null; + + /** + * One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + */ + amount_type: MandateOptions.AmountType | null; + + /** + * A description of the mandate or subscription that is meant to be displayed to the customer. + */ + description: string | null; + + /** + * End date of the mandate or subscription. + */ + end_date: number | null; + } + + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + + export namespace MandateOptions { + export type AmountType = 'fixed' | 'maximum'; + } + } + + export namespace UsBankAccount { + export interface FinancialConnections { + filters?: FinancialConnections.Filters; + + /** + * The list of permissions to request. The `payment_method` permission must be included. + */ + permissions?: Array; + + /** + * Data features requested to be retrieved upon account creation. + */ + prefetch: Array | null; + + /** + * For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. + */ + return_url?: string; + } + + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + + export type VerificationMethod = 'automatic' | 'instant'; + + export namespace FinancialConnections { + export interface Filters { + /** + * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. + */ + account_subcategories?: Array; + } + + export type Permission = + | 'balances' + | 'ownership' + | 'payment_method' + | 'transactions'; + + export type Prefetch = 'balances' | 'ownership' | 'transactions'; + + export namespace Filters { + export type AccountSubcategory = 'checking' | 'savings'; + } + } + } + } + + export namespace Permissions { + export type UpdateShippingDetails = 'client_only' | 'server_only'; + } + + export namespace SavedPaymentMethodOptions { + export type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified'; + + export type PaymentMethodRemove = 'disabled' | 'enabled'; + + export type PaymentMethodSave = 'disabled' | 'enabled'; + } + + export namespace ShippingAddressCollection { + export type AllowedCountry = + | 'AC' + | 'AD' + | 'AE' + | 'AF' + | 'AG' + | 'AI' + | 'AL' + | 'AM' + | 'AO' + | 'AQ' + | 'AR' + | 'AT' + | 'AU' + | 'AW' + | 'AX' + | 'AZ' + | 'BA' + | 'BB' + | 'BD' + | 'BE' + | 'BF' + | 'BG' + | 'BH' + | 'BI' + | 'BJ' + | 'BL' + | 'BM' + | 'BN' + | 'BO' + | 'BQ' + | 'BR' + | 'BS' + | 'BT' + | 'BV' + | 'BW' + | 'BY' + | 'BZ' + | 'CA' + | 'CD' + | 'CF' + | 'CG' + | 'CH' + | 'CI' + | 'CK' + | 'CL' + | 'CM' + | 'CN' + | 'CO' + | 'CR' + | 'CV' + | 'CW' + | 'CY' + | 'CZ' + | 'DE' + | 'DJ' + | 'DK' + | 'DM' + | 'DO' + | 'DZ' + | 'EC' + | 'EE' + | 'EG' + | 'EH' + | 'ER' + | 'ES' + | 'ET' + | 'FI' + | 'FJ' + | 'FK' + | 'FO' + | 'FR' + | 'GA' + | 'GB' + | 'GD' + | 'GE' + | 'GF' + | 'GG' + | 'GH' + | 'GI' + | 'GL' + | 'GM' + | 'GN' + | 'GP' + | 'GQ' + | 'GR' + | 'GS' + | 'GT' + | 'GU' + | 'GW' + | 'GY' + | 'HK' + | 'HN' + | 'HR' + | 'HT' + | 'HU' + | 'ID' + | 'IE' + | 'IL' + | 'IM' + | 'IN' + | 'IO' + | 'IQ' + | 'IS' + | 'IT' + | 'JE' + | 'JM' + | 'JO' + | 'JP' + | 'KE' + | 'KG' + | 'KH' + | 'KI' + | 'KM' + | 'KN' + | 'KR' + | 'KW' + | 'KY' + | 'KZ' + | 'LA' + | 'LB' + | 'LC' + | 'LI' + | 'LK' + | 'LR' + | 'LS' + | 'LT' + | 'LU' + | 'LV' + | 'LY' + | 'MA' + | 'MC' + | 'MD' + | 'ME' + | 'MF' + | 'MG' + | 'MK' + | 'ML' + | 'MM' + | 'MN' + | 'MO' + | 'MQ' + | 'MR' + | 'MS' + | 'MT' + | 'MU' + | 'MV' + | 'MW' + | 'MX' + | 'MY' + | 'MZ' + | 'NA' + | 'NC' + | 'NE' + | 'NG' + | 'NI' + | 'NL' + | 'NO' + | 'NP' + | 'NR' + | 'NU' + | 'NZ' + | 'OM' + | 'PA' + | 'PE' + | 'PF' + | 'PG' + | 'PH' + | 'PK' + | 'PL' + | 'PM' + | 'PN' + | 'PR' + | 'PS' + | 'PT' + | 'PY' + | 'QA' + | 'RE' + | 'RO' + | 'RS' + | 'RU' + | 'RW' + | 'SA' + | 'SB' + | 'SC' + | 'SD' + | 'SE' + | 'SG' + | 'SH' + | 'SI' + | 'SJ' + | 'SK' + | 'SL' + | 'SM' + | 'SN' + | 'SO' + | 'SR' + | 'SS' + | 'ST' + | 'SV' + | 'SX' + | 'SZ' + | 'TA' + | 'TC' + | 'TD' + | 'TF' + | 'TG' + | 'TH' + | 'TJ' + | 'TK' + | 'TL' + | 'TM' + | 'TN' + | 'TO' + | 'TR' + | 'TT' + | 'TV' + | 'TW' + | 'TZ' + | 'UA' + | 'UG' + | 'US' + | 'UY' + | 'UZ' + | 'VA' + | 'VC' + | 'VE' + | 'VG' + | 'VN' + | 'VU' + | 'WF' + | 'WS' + | 'XK' + | 'YE' + | 'YT' + | 'ZA' + | 'ZM' + | 'ZW' + | 'ZZ'; + } + + export namespace ShippingCost { + export interface Tax { + /** + * Amount of tax applied for this rate. + */ + amount: number; + + /** + * Tax rates can be applied to [invoices](https://docs.stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://docs.stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://docs.stripe.com/payments/checkout/use-manual-tax-rates) to collect tax. + * + * Related guide: [Tax rates](https://docs.stripe.com/billing/taxes/tax-rates) + */ + rate: TaxRate; + + /** + * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. + */ + taxability_reason: Tax.TaxabilityReason | null; + + /** + * The amount on which tax is calculated, in cents (or local equivalent). + */ + taxable_amount: number | null; + } + + export namespace Tax { + export type TaxabilityReason = + | 'customer_exempt' + | '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'; + } + } + + export namespace TaxIdCollection { + export type Required = 'if_supported' | 'never'; + } + + export namespace TotalDetails { + export interface Breakdown { + /** + * The aggregated discounts. + */ + discounts: Array; + + /** + * The aggregated tax amounts by rate. + */ + taxes: Array; } - export namespace ShippingCost { + export namespace Breakdown { + export interface Discount { + /** + * The amount discounted. + */ + amount: number; + + /** + * A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes). + * It contains information about when the discount began, when it will end, and what it is applied to. + * + * Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts) + */ + discount: _Discount; + } + export interface Tax { /** * Amount of tax applied for this rate. @@ -3488,96 +3564,18 @@ export namespace Checkout { | 'zero_rated'; } } + } - export namespace TaxIdCollection { - export type Required = 'if_supported' | 'never'; - } - - export namespace TotalDetails { - export interface Breakdown { - /** - * The aggregated discounts. - */ - discounts: Array; - - /** - * The aggregated tax amounts by rate. - */ - taxes: Array; - } - - export namespace Breakdown { - export interface Discount { - /** - * The amount discounted. - */ - amount: number; - - /** - * A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes). - * It contains information about when the discount began, when it will end, and what it is applied to. - * - * Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts) - */ - discount: _Discount; - } - - export interface Tax { - /** - * Amount of tax applied for this rate. - */ - amount: number; - - /** - * Tax rates can be applied to [invoices](https://docs.stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://docs.stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://docs.stripe.com/payments/checkout/use-manual-tax-rates) to collect tax. - * - * Related guide: [Tax rates](https://docs.stripe.com/billing/taxes/tax-rates) - */ - rate: TaxRate; - - /** - * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. - */ - taxability_reason: Tax.TaxabilityReason | null; - - /** - * The amount on which tax is calculated, in cents (or local equivalent). - */ - taxable_amount: number | null; - } - - export namespace Tax { - export type TaxabilityReason = - | 'customer_exempt' - | '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'; - } - } + export namespace WalletOptions { + export interface Link { + /** + * Describes whether Checkout should display Link. Defaults to `auto`. + */ + display?: Link.Display; } - export namespace WalletOptions { - export interface Link { - /** - * Describes whether Checkout should display Link. Defaults to `auto`. - */ - display?: Link.Display; - } - - export namespace Link { - export type Display = 'auto' | 'never'; - } + export namespace Link { + export type Display = 'auto' | 'never'; } } } diff --git a/src/resources/Climate/Orders.ts b/src/resources/Climate/Orders.ts index 8b1dddb9fa..03f3fc3389 100644 --- a/src/resources/Climate/Orders.ts +++ b/src/resources/Climate/Orders.ts @@ -149,7 +149,7 @@ export interface Order { */ amount_total: number; - beneficiary?: Climate.Order.Beneficiary; + beneficiary?: Order.Beneficiary; /** * Time at which the order was canceled. Measured in seconds since the Unix epoch. @@ -159,7 +159,7 @@ export interface Order { /** * Reason for the cancellation of this order. */ - cancellation_reason: Climate.Order.CancellationReason | null; + cancellation_reason: Order.CancellationReason | null; /** * For delivered orders, a URL to a delivery certificate for the order. @@ -194,7 +194,7 @@ export interface Order { /** * Details about the delivery of carbon removal for this order. */ - delivery_details: Array; + delivery_details: Array; /** * The year this order is expected to be delivered. @@ -229,83 +229,81 @@ export interface Order { /** * The current status of this order. */ - status: Climate.Order.Status; + status: Order.Status; } -export namespace Climate { - export namespace Order { - export interface Beneficiary { - /** - * Publicly displayable name for the end beneficiary of carbon removal. - */ - public_name: string; - } +export namespace Order { + export interface Beneficiary { + /** + * Publicly displayable name for the end beneficiary of carbon removal. + */ + public_name: string; + } + + export type CancellationReason = + | 'expired' + | 'product_unavailable' + | 'requested'; + + export interface DeliveryDetail { + /** + * Time at which the delivery occurred. Measured in seconds since the Unix epoch. + */ + delivered_at: number; + + /** + * Specific location of this delivery. + */ + location: DeliveryDetail.Location | null; + + /** + * Quantity of carbon removal supplied by this delivery. + */ + metric_tons: string; - export type CancellationReason = - | 'expired' - | 'product_unavailable' - | 'requested'; + /** + * Once retired, a URL to the registry entry for the tons from this delivery. + */ + registry_url: string | null; - export interface DeliveryDetail { + /** + * A supplier of carbon removal. + */ + supplier: Supplier; + } + + export type Status = + | 'awaiting_funds' + | 'canceled' + | 'confirmed' + | 'delivered' + | 'open'; + + export namespace DeliveryDetail { + export interface Location { /** - * Time at which the delivery occurred. Measured in seconds since the Unix epoch. + * The city where the supplier is located. */ - delivered_at: number; + city: string | null; /** - * Specific location of this delivery. + * Two-letter ISO code representing the country where the supplier is located. */ - location: DeliveryDetail.Location | null; + country: string; /** - * Quantity of carbon removal supplied by this delivery. + * The geographic latitude where the supplier is located. */ - metric_tons: string; + latitude: number | null; /** - * Once retired, a URL to the registry entry for the tons from this delivery. + * The geographic longitude where the supplier is located. */ - registry_url: string | null; + longitude: number | null; /** - * A supplier of carbon removal. + * The state/county/province/region where the supplier is located. */ - supplier: Supplier; - } - - export type Status = - | 'awaiting_funds' - | 'canceled' - | 'confirmed' - | 'delivered' - | 'open'; - - export namespace DeliveryDetail { - export interface Location { - /** - * The city where the supplier is located. - */ - city: string | null; - - /** - * Two-letter ISO code representing the country where the supplier is located. - */ - country: string; - - /** - * The geographic latitude where the supplier is located. - */ - latitude: number | null; - - /** - * The geographic longitude where the supplier is located. - */ - longitude: number | null; - - /** - * The state/county/province/region where the supplier is located. - */ - region: string | null; - } + region: string | null; } } } diff --git a/src/resources/Climate/Products.ts b/src/resources/Climate/Products.ts index 64bd8c1db2..6f986bb4f0 100644 --- a/src/resources/Climate/Products.ts +++ b/src/resources/Climate/Products.ts @@ -73,7 +73,7 @@ export interface Product { * Current prices for a metric ton of carbon removal in a currency's smallest unit. */ current_prices_per_metric_ton: { - [key: string]: Climate.Product.CurrentPricesPerMetricTon; + [key: string]: Product.CurrentPricesPerMetricTon; }; /** @@ -101,24 +101,22 @@ export interface Product { */ suppliers: Array; } -export namespace Climate { - export namespace Product { - export interface CurrentPricesPerMetricTon { - /** - * Fees for one metric ton of carbon removal in the currency's smallest unit. - */ - amount_fees: number; +export namespace Product { + export interface CurrentPricesPerMetricTon { + /** + * Fees for one metric ton of carbon removal in the currency's smallest unit. + */ + amount_fees: number; - /** - * Subtotal for one metric ton of carbon removal (excluding fees) in the currency's smallest unit. - */ - amount_subtotal: number; + /** + * Subtotal for one metric ton of carbon removal (excluding fees) in the currency's smallest unit. + */ + amount_subtotal: number; - /** - * Total for one metric ton of carbon removal (including fees) in the currency's smallest unit. - */ - amount_total: number; - } + /** + * Total for one metric ton of carbon removal (including fees) in the currency's smallest unit. + */ + amount_total: number; } } export namespace Climate { diff --git a/src/resources/Climate/Suppliers.ts b/src/resources/Climate/Suppliers.ts index 669fb92f3c..e60fa74835 100644 --- a/src/resources/Climate/Suppliers.ts +++ b/src/resources/Climate/Suppliers.ts @@ -56,7 +56,7 @@ export interface Supplier { /** * The locations in which this supplier operates. */ - locations: Array; + locations: Array; /** * Name of this carbon removal supplier. @@ -66,43 +66,41 @@ export interface Supplier { /** * The scientific pathway used for carbon removal. */ - removal_pathway: Climate.Supplier.RemovalPathway; + removal_pathway: Supplier.RemovalPathway; } -export namespace Climate { - export namespace Supplier { - export interface Location { - /** - * The city where the supplier is located. - */ - city: string | null; - - /** - * Two-letter ISO code representing the country where the supplier is located. - */ - country: string; +export namespace Supplier { + export interface Location { + /** + * The city where the supplier is located. + */ + city: string | null; - /** - * The geographic latitude where the supplier is located. - */ - latitude: number | null; + /** + * Two-letter ISO code representing the country where the supplier is located. + */ + country: string; - /** - * The geographic longitude where the supplier is located. - */ - longitude: number | null; + /** + * The geographic latitude where the supplier is located. + */ + latitude: number | null; - /** - * The state/county/province/region where the supplier is located. - */ - region: string | null; - } + /** + * The geographic longitude where the supplier is located. + */ + longitude: number | null; - export type RemovalPathway = - | 'biomass_carbon_removal_and_storage' - | 'direct_air_capture' - | 'enhanced_weathering' - | 'marine_carbon_removal'; + /** + * The state/county/province/region where the supplier is located. + */ + region: string | null; } + + export type RemovalPathway = + | 'biomass_carbon_removal_and_storage' + | 'direct_air_capture' + | 'enhanced_weathering' + | 'marine_carbon_removal'; } export namespace Climate { export interface SupplierRetrieveParams { diff --git a/src/resources/FinancialConnections/Accounts.ts b/src/resources/FinancialConnections/Accounts.ts index 13256f6d9d..a3aff5598d 100644 --- a/src/resources/FinancialConnections/Accounts.ts +++ b/src/resources/FinancialConnections/Accounts.ts @@ -135,27 +135,27 @@ export interface Account { /** * The account holder that this account belongs to. */ - account_holder: FinancialConnections.Account.AccountHolder | null; + account_holder: Account.AccountHolder | null; /** * Details about the account numbers. */ - account_numbers: Array | null; + account_numbers: Array | null; /** * The most recent information about the account's balance. */ - balance: FinancialConnections.Account.Balance | null; + balance: Account.Balance | null; /** * The state of the most recent attempt to refresh the account balance. */ - balance_refresh: FinancialConnections.Account.BalanceRefresh | null; + balance_refresh: Account.BalanceRefresh | null; /** * The type of the account. Account category is further divided in `subcategory`. */ - category: FinancialConnections.Account.Category; + category: Account.Category; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -190,17 +190,17 @@ export interface Account { /** * The state of the most recent attempt to refresh the account owners. */ - ownership_refresh: FinancialConnections.Account.OwnershipRefresh | null; + ownership_refresh: Account.OwnershipRefresh | null; /** * The list of permissions granted by this account. */ - permissions: Array | null; + permissions: Array | null; /** * The status of the link to the account. */ - status: FinancialConnections.Account.Status; + status: Account.Status; /** * If `category` is `cash`, one of: @@ -218,7 +218,7 @@ export interface Account { * * If `category` is `investment` or `other`, this will be `other`. */ - subcategory: FinancialConnections.Account.Subcategory; + subcategory: Account.Subcategory; /** * The list of data refresh subscriptions requested on this account. @@ -228,214 +228,208 @@ export interface Account { /** * The [PaymentMethod type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type)(s) that can be created from this account. */ - supported_payment_method_types: Array< - FinancialConnections.Account.SupportedPaymentMethodType - >; + supported_payment_method_types: Array; /** * The state of the most recent attempt to refresh the account transactions. */ - transaction_refresh: FinancialConnections.Account.TransactionRefresh | null; + transaction_refresh: Account.TransactionRefresh | null; } -export namespace FinancialConnections { - export namespace Account { - export interface AccountHolder { - /** - * The ID of the Stripe account that this account belongs to. Only available when `account_holder.type` is `account`. - */ - account?: string | Account; - - /** - * The ID for an Account representing a customer that this account belongs to. Only available when `account_holder.type` is `customer`. - */ - customer?: string | Customer; +export namespace Account { + export interface AccountHolder { + /** + * The ID of the Stripe account that this account belongs to. Only available when `account_holder.type` is `account`. + */ + account?: string | Account; - customer_account?: string; + /** + * The ID for an Account representing a customer that this account belongs to. Only available when `account_holder.type` is `customer`. + */ + customer?: string | Customer; - /** - * Type of account holder that this account belongs to. - */ - type: AccountHolder.Type; - } + customer_account?: string; - export interface AccountNumber { - /** - * When the account number is expected to expire, if applicable. - */ - expected_expiry_date: number | null; - - /** - * The type of account number associated with the account. - */ - identifier_type: AccountNumber.IdentifierType; + /** + * Type of account holder that this account belongs to. + */ + type: AccountHolder.Type; + } - /** - * Whether the account number is currently active and usable for transactions. - */ - status: AccountNumber.Status; + export interface AccountNumber { + /** + * When the account number is expected to expire, if applicable. + */ + expected_expiry_date: number | null; - /** - * The payment networks that the account number can be used for. - */ - supported_networks: Array<'ach'>; - } + /** + * The type of account number associated with the account. + */ + identifier_type: AccountNumber.IdentifierType; - export interface Balance { - /** - * The time that the external institution calculated this balance. Measured in seconds since the Unix epoch. - */ - as_of: number; + /** + * Whether the account number is currently active and usable for transactions. + */ + status: AccountNumber.Status; - cash?: Balance.Cash; + /** + * The payment networks that the account number can be used for. + */ + supported_networks: Array<'ach'>; + } - credit?: Balance.Credit; + export interface Balance { + /** + * The time that the external institution calculated this balance. Measured in seconds since the Unix epoch. + */ + as_of: number; - /** - * The balances owed to (or by) the account holder, before subtracting any outbound pending transactions or adding any inbound pending transactions. - * - * Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. - * - * Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder. - */ - current: { - [key: string]: number; - }; + cash?: Balance.Cash; - /** - * The `type` of the balance. An additional hash is included on the balance with a name matching this value. - */ - type: Balance.Type; - } + credit?: Balance.Credit; - export interface BalanceRefresh { - /** - * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. - */ - last_attempted_at: number; + /** + * The balances owed to (or by) the account holder, before subtracting any outbound pending transactions or adding any inbound pending transactions. + * + * Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. + * + * Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder. + */ + current: { + [key: string]: number; + }; - /** - * Time at which the next balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. - */ - next_refresh_available_at: number | null; + /** + * The `type` of the balance. An additional hash is included on the balance with a name matching this value. + */ + type: Balance.Type; + } - /** - * The status of the last refresh attempt. - */ - status: BalanceRefresh.Status; - } + export interface BalanceRefresh { + /** + * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. + */ + last_attempted_at: number; - export type Category = 'cash' | 'credit' | 'investment' | 'other'; + /** + * Time at which the next balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. + */ + next_refresh_available_at: number | null; - export interface OwnershipRefresh { - /** - * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. - */ - last_attempted_at: number; + /** + * The status of the last refresh attempt. + */ + status: BalanceRefresh.Status; + } - /** - * Time at which the next ownership refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. - */ - next_refresh_available_at: number | null; + export type Category = 'cash' | 'credit' | 'investment' | 'other'; - /** - * The status of the last refresh attempt. - */ - status: OwnershipRefresh.Status; - } + export interface OwnershipRefresh { + /** + * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. + */ + last_attempted_at: number; - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; + /** + * Time at which the next ownership refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. + */ + next_refresh_available_at: number | null; - export type Status = 'active' | 'disconnected' | 'inactive'; + /** + * The status of the last refresh attempt. + */ + status: OwnershipRefresh.Status; + } - export type Subcategory = - | 'checking' - | 'credit_card' - | 'line_of_credit' - | 'mortgage' - | 'other' - | 'savings'; + export type Permission = + | 'balances' + | 'ownership' + | 'payment_method' + | 'transactions'; - export type SupportedPaymentMethodType = 'link' | 'us_bank_account'; + export type Status = 'active' | 'disconnected' | 'inactive'; - export interface TransactionRefresh { - /** - * Unique identifier for the object. - */ - id: string; + export type Subcategory = + | 'checking' + | 'credit_card' + | 'line_of_credit' + | 'mortgage' + | 'other' + | 'savings'; - /** - * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. - */ - last_attempted_at: number; + export type SupportedPaymentMethodType = 'link' | 'us_bank_account'; - /** - * Time at which the next transaction refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. - */ - next_refresh_available_at: number | null; + export interface TransactionRefresh { + /** + * Unique identifier for the object. + */ + id: string; - /** - * The status of the last refresh attempt. - */ - status: TransactionRefresh.Status; - } + /** + * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. + */ + last_attempted_at: number; - export namespace AccountHolder { - export type Type = 'account' | 'customer'; - } + /** + * Time at which the next transaction refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. + */ + next_refresh_available_at: number | null; - export namespace AccountNumber { - export type IdentifierType = - | 'account_number' - | 'tokenized_account_number'; + /** + * The status of the last refresh attempt. + */ + status: TransactionRefresh.Status; + } - export type Status = 'deactivated' | 'transactable'; - } + export namespace AccountHolder { + export type Type = 'account' | 'customer'; + } - export namespace Balance { - export interface Cash { - /** - * The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions. - * - * Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. - * - * Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder. - */ - available: { - [key: string]: number; - } | null; - } + export namespace AccountNumber { + export type IdentifierType = 'account_number' | 'tokenized_account_number'; - export interface Credit { - /** - * The credit that has been used by the account holder. - * - * Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. - * - * Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder. - */ - used: { - [key: string]: number; - } | null; - } + export type Status = 'deactivated' | 'transactable'; + } - export type Type = 'cash' | 'credit'; + export namespace Balance { + export interface Cash { + /** + * The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions. + * + * Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. + * + * Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder. + */ + available: { + [key: string]: number; + } | null; } - export namespace BalanceRefresh { - export type Status = 'failed' | 'pending' | 'succeeded'; + export interface Credit { + /** + * The credit that has been used by the account holder. + * + * Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. + * + * Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder. + */ + used: { + [key: string]: number; + } | null; } - export namespace OwnershipRefresh { - export type Status = 'failed' | 'pending' | 'succeeded'; - } + export type Type = 'cash' | 'credit'; + } - export namespace TransactionRefresh { - export type Status = 'failed' | 'pending' | 'succeeded'; - } + export namespace BalanceRefresh { + export type Status = 'failed' | 'pending' | 'succeeded'; + } + + export namespace OwnershipRefresh { + export type Status = 'failed' | 'pending' | 'succeeded'; + } + + export namespace TransactionRefresh { + export type Status = 'failed' | 'pending' | 'succeeded'; } } export namespace FinancialConnections { diff --git a/src/resources/FinancialConnections/Sessions.ts b/src/resources/FinancialConnections/Sessions.ts index 67e09a791f..cc7cb2ff64 100644 --- a/src/resources/FinancialConnections/Sessions.ts +++ b/src/resources/FinancialConnections/Sessions.ts @@ -50,7 +50,7 @@ export interface Session { /** * The account holder for whom accounts are collected in this session. */ - account_holder: FinancialConnections.Session.AccountHolder | null; + account_holder: Session.AccountHolder | null; /** * The accounts that were collected as part of this Session. @@ -62,7 +62,7 @@ export interface Session { */ client_secret: string | null; - filters?: FinancialConnections.Session.Filters; + filters?: Session.Filters; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -72,71 +72,69 @@ export interface Session { /** * Permissions requested for accounts collected during this session. */ - permissions: Array; + permissions: Array; /** * Data features requested to be retrieved upon account creation. */ - prefetch: Array | null; + prefetch: Array | null; /** * For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. */ return_url?: string; } -export namespace FinancialConnections { - export namespace Session { - export interface AccountHolder { - /** - * The ID of the Stripe account that this account belongs to. Only available when `account_holder.type` is `account`. - */ - account?: string | Account; +export namespace Session { + export interface AccountHolder { + /** + * The ID of the Stripe account that this account belongs to. Only available when `account_holder.type` is `account`. + */ + account?: string | Account; - /** - * The ID for an Account representing a customer that this account belongs to. Only available when `account_holder.type` is `customer`. - */ - customer?: string | Customer; + /** + * The ID for an Account representing a customer that this account belongs to. Only available when `account_holder.type` is `customer`. + */ + customer?: string | Customer; - customer_account?: string; + customer_account?: string; - /** - * Type of account holder that this account belongs to. - */ - type: AccountHolder.Type; - } + /** + * Type of account holder that this account belongs to. + */ + type: AccountHolder.Type; + } - export interface Filters { - /** - * Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`. - */ - account_subcategories: Array | null; + export interface Filters { + /** + * Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`. + */ + account_subcategories: Array | null; - /** - * List of countries from which to filter accounts. - */ - countries: Array | null; - } + /** + * List of countries from which to filter accounts. + */ + countries: Array | null; + } - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; + export type Permission = + | 'balances' + | 'ownership' + | 'payment_method' + | 'transactions'; - export type Prefetch = 'balances' | 'ownership' | 'transactions'; + export type Prefetch = 'balances' | 'ownership' | 'transactions'; - export namespace AccountHolder { - export type Type = 'account' | 'customer'; - } + export namespace AccountHolder { + export type Type = 'account' | 'customer'; + } - export namespace Filters { - export type AccountSubcategory = - | 'checking' - | 'credit_card' - | 'line_of_credit' - | 'mortgage' - | 'savings'; - } + export namespace Filters { + export type AccountSubcategory = + | 'checking' + | 'credit_card' + | 'line_of_credit' + | 'mortgage' + | 'savings'; } } export namespace FinancialConnections { diff --git a/src/resources/FinancialConnections/Transactions.ts b/src/resources/FinancialConnections/Transactions.ts index d5df0a6f57..fad48ba494 100644 --- a/src/resources/FinancialConnections/Transactions.ts +++ b/src/resources/FinancialConnections/Transactions.ts @@ -77,9 +77,9 @@ export interface Transaction { /** * The status of the transaction. */ - status: FinancialConnections.Transaction.Status; + status: Transaction.Status; - status_transitions: FinancialConnections.Transaction.StatusTransitions; + status_transitions: Transaction.StatusTransitions; /** * Time at which the transaction was transacted. Measured in seconds since the Unix epoch. @@ -96,21 +96,19 @@ export interface Transaction { */ updated: number; } -export namespace FinancialConnections { - export namespace Transaction { - export type Status = 'pending' | 'posted' | 'void'; +export namespace Transaction { + export type Status = 'pending' | 'posted' | 'void'; - export interface StatusTransitions { - /** - * Time at which this transaction posted. Measured in seconds since the Unix epoch. - */ - posted_at: number | null; + export interface StatusTransitions { + /** + * Time at which this transaction posted. Measured in seconds since the Unix epoch. + */ + posted_at: number | null; - /** - * Time at which this transaction was voided. Measured in seconds since the Unix epoch. - */ - void_at: number | null; - } + /** + * Time at which this transaction was voided. Measured in seconds since the Unix epoch. + */ + void_at: number | null; } } export namespace FinancialConnections { diff --git a/src/resources/Forwarding/Requests.ts b/src/resources/Forwarding/Requests.ts index d4c3852b5e..c1b9d798ad 100644 --- a/src/resources/Forwarding/Requests.ts +++ b/src/resources/Forwarding/Requests.ts @@ -91,109 +91,107 @@ export interface Request { /** * The field kinds to be replaced in the forwarded request. */ - replacements: Array; + replacements: Array; /** * Context about the request from Stripe's servers to the destination endpoint. */ - request_context: Forwarding.Request.RequestContext | null; + request_context: Request.RequestContext | null; /** * The request that was sent to the destination endpoint. We redact any sensitive fields. */ - request_details: Forwarding.Request.RequestDetails | null; + request_details: Request.RequestDetails | null; /** * The response that the destination endpoint returned to us. We redact any sensitive fields. */ - response_details: Forwarding.Request.ResponseDetails | null; + response_details: Request.ResponseDetails | null; /** * The destination URL for the forwarded request. Must be supported by the config. */ url: string | null; } -export namespace Forwarding { - export namespace Request { - export type Replacement = - | 'card_cvc' - | 'card_expiry' - | 'card_number' - | 'cardholder_name' - | 'request_signature'; +export namespace Request { + export type Replacement = + | 'card_cvc' + | 'card_expiry' + | 'card_number' + | 'cardholder_name' + | 'request_signature'; + + export interface RequestContext { + /** + * The time it took in milliseconds for the destination endpoint to respond. + */ + destination_duration: number; - export interface RequestContext { - /** - * The time it took in milliseconds for the destination endpoint to respond. - */ - destination_duration: number; + /** + * The IP address of the destination. + */ + destination_ip_address: string; + } - /** - * The IP address of the destination. - */ - destination_ip_address: string; - } + export interface RequestDetails { + /** + * The body payload to send to the destination endpoint. + */ + body: string; - export interface RequestDetails { - /** - * The body payload to send to the destination endpoint. - */ - body: string; + /** + * The headers to include in the forwarded request. Can be omitted if no additional headers (excluding Stripe-generated ones such as the Content-Type header) should be included. + */ + headers: Array; - /** - * The headers to include in the forwarded request. Can be omitted if no additional headers (excluding Stripe-generated ones such as the Content-Type header) should be included. - */ - headers: Array; + /** + * The HTTP method used to call the destination endpoint. + */ + http_method: 'POST'; + } + + export interface ResponseDetails { + /** + * The response body from the destination endpoint to Stripe. + */ + body: string; + /** + * HTTP headers that the destination endpoint returned. + */ + headers: Array; + + /** + * The HTTP status code that the destination endpoint returned. + */ + status: number; + } + + export namespace RequestDetails { + export interface Header { /** - * The HTTP method used to call the destination endpoint. + * The header name. */ - http_method: 'POST'; - } + name: string; - export interface ResponseDetails { /** - * The response body from the destination endpoint to Stripe. + * The header value. */ - body: string; + value: string; + } + } + export namespace ResponseDetails { + export interface Header { /** - * HTTP headers that the destination endpoint returned. + * The header name. */ - headers: Array; + name: string; /** - * The HTTP status code that the destination endpoint returned. + * The header value. */ - status: number; - } - - export namespace RequestDetails { - export interface Header { - /** - * The header name. - */ - name: string; - - /** - * The header value. - */ - value: string; - } - } - - export namespace ResponseDetails { - export interface Header { - /** - * The header name. - */ - name: string; - - /** - * The header value. - */ - value: string; - } + value: string; } } } diff --git a/src/resources/Identity/VerificationReports.ts b/src/resources/Identity/VerificationReports.ts index 6a82330442..1365d36a1d 100644 --- a/src/resources/Identity/VerificationReports.ts +++ b/src/resources/Identity/VerificationReports.ts @@ -62,39 +62,39 @@ export interface VerificationReport { /** * Result from a document check */ - document?: Identity.VerificationReport.Document; + document?: VerificationReport.Document; /** * Result from a email check */ - email?: Identity.VerificationReport.Email; + email?: VerificationReport.Email; /** * Result from an id_number check */ - id_number?: Identity.VerificationReport.IdNumber; + id_number?: VerificationReport.IdNumber; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. */ livemode: boolean; - options?: Identity.VerificationReport.Options; + options?: VerificationReport.Options; /** * Result from a phone check */ - phone?: Identity.VerificationReport.Phone; + phone?: VerificationReport.Phone; /** * Result from a selfie check */ - selfie?: Identity.VerificationReport.Selfie; + selfie?: VerificationReport.Selfie; /** * Type of report. */ - type: Identity.VerificationReport.Type; + type: VerificationReport.Type; /** * The configuration token of a verification flow from the dashboard. @@ -106,402 +106,400 @@ export interface VerificationReport { */ verification_session: string | null; } -export namespace Identity { - export namespace VerificationReport { - export interface Document { - /** - * Address as it appears in the document. - */ - address: Address | null; +export namespace VerificationReport { + export interface Document { + /** + * Address as it appears in the document. + */ + address: Address | null; - /** - * Date of birth as it appears in the document. - */ - dob?: Document.Dob | null; + /** + * Date of birth as it appears in the document. + */ + dob?: Document.Dob | null; - /** - * Details on the verification error. Present when status is `unverified`. - */ - error: Document.Error | null; + /** + * Details on the verification error. Present when status is `unverified`. + */ + error: Document.Error | null; - /** - * Expiration date of the document. - */ - expiration_date?: Document.ExpirationDate | null; + /** + * Expiration date of the document. + */ + expiration_date?: Document.ExpirationDate | null; - /** - * Array of [File](https://docs.stripe.com/api/files) ids containing images for this document. - */ - files: Array | null; + /** + * Array of [File](https://docs.stripe.com/api/files) ids containing images for this document. + */ + files: Array | null; - /** - * First name as it appears in the document. - */ - first_name: string | null; + /** + * First name as it appears in the document. + */ + first_name: string | null; - /** - * Issued date of the document. - */ - issued_date: Document.IssuedDate | null; + /** + * Issued date of the document. + */ + issued_date: Document.IssuedDate | null; - /** - * Issuing country of the document. - */ - issuing_country: string | null; + /** + * Issuing country of the document. + */ + issuing_country: string | null; - /** - * Last name as it appears in the document. - */ - last_name: string | null; + /** + * Last name as it appears in the document. + */ + last_name: string | null; - /** - * Document ID number. - */ - number?: string | null; + /** + * Document ID number. + */ + number?: string | null; + + /** + * Sex of the person in the document. + */ + sex?: Document.Sex | null; + + /** + * Status of this `document` check. + */ + status: Document.Status; + + /** + * Type of the document. + */ + type: Document.Type | null; + + /** + * Place of birth as it appears in the document. + */ + unparsed_place_of_birth?: string | null; + + /** + * Sex as it appears in the document. + */ + unparsed_sex?: string | null; + } + + export interface Email { + /** + * Email to be verified. + */ + email: string | null; + + /** + * Details on the verification error. Present when status is `unverified`. + */ + error: Email.Error | null; + + /** + * Status of this `email` check. + */ + status: Email.Status; + } + + export interface IdNumber { + /** + * Date of birth. + */ + dob?: IdNumber.Dob | null; + + /** + * Details on the verification error. Present when status is `unverified`. + */ + error: IdNumber.Error | null; + + /** + * First name. + */ + first_name: string | null; + + /** + * ID number. When `id_number_type` is `us_ssn`, only the last 4 digits are present. + */ + id_number?: string | null; + + /** + * Type of ID number. + */ + id_number_type: IdNumber.IdNumberType | null; + + /** + * Last name. + */ + last_name: string | null; + + /** + * Status of this `id_number` check. + */ + status: IdNumber.Status; + } + + export interface Options { + document?: Options.Document; + + id_number?: Options.IdNumber; + } + + export interface Phone { + /** + * Details on the verification error. Present when status is `unverified`. + */ + error: Phone.Error | null; + + /** + * Phone to be verified. + */ + phone: string | null; + + /** + * Status of this `phone` check. + */ + status: Phone.Status; + } + + export interface Selfie { + /** + * ID of the [File](https://docs.stripe.com/api/files) holding the image of the identity document used in this check. + */ + document: string | null; + + /** + * Details on the verification error. Present when status is `unverified`. + */ + error: Selfie.Error | null; + + /** + * ID of the [File](https://docs.stripe.com/api/files) holding the image of the selfie used in this check. + */ + selfie: string | null; + + /** + * Status of this `selfie` check. + */ + status: Selfie.Status; + } + + export type Type = 'document' | 'id_number' | 'verification_flow'; + export namespace Document { + export interface Dob { /** - * Sex of the person in the document. + * Numerical day between 1 and 31. */ - sex?: Document.Sex | null; + day: number | null; /** - * Status of this `document` check. + * Numerical month between 1 and 12. */ - status: Document.Status; + month: number | null; /** - * Type of the document. + * The four-digit year. */ - type: Document.Type | null; + year: number | null; + } + export interface Error { /** - * Place of birth as it appears in the document. + * A short machine-readable string giving the reason for the verification failure. */ - unparsed_place_of_birth?: string | null; + code: Error.Code | null; /** - * Sex as it appears in the document. + * A human-readable message giving the reason for the failure. These messages can be shown to your users. */ - unparsed_sex?: string | null; + reason: string | null; } - export interface Email { + export interface ExpirationDate { /** - * Email to be verified. + * Numerical day between 1 and 31. */ - email: string | null; + day: number | null; /** - * Details on the verification error. Present when status is `unverified`. + * Numerical month between 1 and 12. */ - error: Email.Error | null; + month: number | null; /** - * Status of this `email` check. + * The four-digit year. */ - status: Email.Status; + year: number | null; } - export interface IdNumber { + export interface IssuedDate { /** - * Date of birth. + * Numerical day between 1 and 31. */ - dob?: IdNumber.Dob | null; + day: number | null; /** - * Details on the verification error. Present when status is `unverified`. + * Numerical month between 1 and 12. */ - error: IdNumber.Error | null; + month: number | null; /** - * First name. + * The four-digit year. */ - first_name: string | null; + year: number | null; + } - /** - * ID number. When `id_number_type` is `us_ssn`, only the last 4 digits are present. - */ - id_number?: string | null; + export type Sex = '[redacted]' | 'female' | 'male' | 'unknown'; - /** - * Type of ID number. - */ - id_number_type: IdNumber.IdNumberType | null; + export type Status = 'unverified' | 'verified'; + + export type Type = 'driving_license' | 'id_card' | 'passport'; + + export namespace Error { + export type Code = + | 'document_expired' + | 'document_type_not_supported' + | 'document_unverified_other'; + } + } + export namespace Email { + export interface Error { /** - * Last name. + * A short machine-readable string giving the reason for the verification failure. */ - last_name: string | null; + code: Error.Code | null; /** - * Status of this `id_number` check. + * A human-readable message giving the reason for the failure. These messages can be shown to your users. */ - status: IdNumber.Status; + reason: string | null; } - export interface Options { - document?: Options.Document; + export type Status = 'unverified' | 'verified'; - id_number?: Options.IdNumber; + export namespace Error { + export type Code = + | 'email_unverified_other' + | 'email_verification_declined'; } + } - export interface Phone { + export namespace IdNumber { + export interface Dob { /** - * Details on the verification error. Present when status is `unverified`. + * Numerical day between 1 and 31. */ - error: Phone.Error | null; + day: number | null; /** - * Phone to be verified. + * Numerical month between 1 and 12. */ - phone: string | null; + month: number | null; /** - * Status of this `phone` check. + * The four-digit year. */ - status: Phone.Status; + year: number | null; } - export interface Selfie { - /** - * ID of the [File](https://docs.stripe.com/api/files) holding the image of the identity document used in this check. - */ - document: string | null; - + export interface Error { /** - * Details on the verification error. Present when status is `unverified`. + * A short machine-readable string giving the reason for the verification failure. */ - error: Selfie.Error | null; + code: Error.Code | null; /** - * ID of the [File](https://docs.stripe.com/api/files) holding the image of the selfie used in this check. + * A human-readable message giving the reason for the failure. These messages can be shown to your users. */ - selfie: string | null; - - /** - * Status of this `selfie` check. - */ - status: Selfie.Status; + reason: string | null; } - export type Type = 'document' | 'id_number' | 'verification_flow'; - - export namespace Document { - export interface Dob { - /** - * Numerical day between 1 and 31. - */ - day: number | null; - - /** - * Numerical month between 1 and 12. - */ - month: number | null; - - /** - * The four-digit year. - */ - year: number | null; - } - - export interface Error { - /** - * A short machine-readable string giving the reason for the verification failure. - */ - code: Error.Code | null; + export type IdNumberType = 'br_cpf' | 'sg_nric' | 'us_ssn'; - /** - * A human-readable message giving the reason for the failure. These messages can be shown to your users. - */ - reason: string | null; - } - - export interface ExpirationDate { - /** - * Numerical day between 1 and 31. - */ - day: number | null; - - /** - * Numerical month between 1 and 12. - */ - month: number | null; - - /** - * The four-digit year. - */ - year: number | null; - } + export type Status = 'unverified' | 'verified'; - export interface IssuedDate { - /** - * Numerical day between 1 and 31. - */ - day: number | null; - - /** - * Numerical month between 1 and 12. - */ - month: number | null; - - /** - * The four-digit year. - */ - year: number | null; - } + export namespace Error { + export type Code = + | 'id_number_insufficient_document_data' + | 'id_number_mismatch' + | 'id_number_unverified_other'; + } + } - export type Sex = '[redacted]' | 'female' | 'male' | 'unknown'; + export namespace Options { + export interface Document { + /** + * Array of strings of allowed identity document types. If the provided identity document isn't one of the allowed types, the verification check will fail with a document_type_not_allowed error code. + */ + allowed_types?: Array; - export type Status = 'unverified' | 'verified'; + /** + * Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document's extracted name and date of birth. + */ + require_id_number?: boolean; - export type Type = 'driving_license' | 'id_card' | 'passport'; + /** + * Disable image uploads, identity document images have to be captured using the device's camera. + */ + require_live_capture?: boolean; - export namespace Error { - export type Code = - | 'document_expired' - | 'document_type_not_supported' - | 'document_unverified_other'; - } + /** + * Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user's face. [Learn more](https://docs.stripe.com/identity/selfie). + */ + require_matching_selfie?: boolean; } - export namespace Email { - export interface Error { - /** - * A short machine-readable string giving the reason for the verification failure. - */ - code: Error.Code | null; - - /** - * A human-readable message giving the reason for the failure. These messages can be shown to your users. - */ - reason: string | null; - } - - export type Status = 'unverified' | 'verified'; + export interface IdNumber {} - export namespace Error { - export type Code = - | 'email_unverified_other' - | 'email_verification_declined'; - } + export namespace Document { + export type AllowedType = 'driving_license' | 'id_card' | 'passport'; } + } - export namespace IdNumber { - export interface Dob { - /** - * Numerical day between 1 and 31. - */ - day: number | null; - - /** - * Numerical month between 1 and 12. - */ - month: number | null; - - /** - * The four-digit year. - */ - year: number | null; - } - - export interface Error { - /** - * A short machine-readable string giving the reason for the verification failure. - */ - code: Error.Code | null; - - /** - * A human-readable message giving the reason for the failure. These messages can be shown to your users. - */ - reason: string | null; - } - - export type IdNumberType = 'br_cpf' | 'sg_nric' | 'us_ssn'; - - export type Status = 'unverified' | 'verified'; + export namespace Phone { + export interface Error { + /** + * A short machine-readable string giving the reason for the verification failure. + */ + code: Error.Code | null; - export namespace Error { - export type Code = - | 'id_number_insufficient_document_data' - | 'id_number_mismatch' - | 'id_number_unverified_other'; - } + /** + * A human-readable message giving the reason for the failure. These messages can be shown to your users. + */ + reason: string | null; } - export namespace Options { - export interface Document { - /** - * Array of strings of allowed identity document types. If the provided identity document isn't one of the allowed types, the verification check will fail with a document_type_not_allowed error code. - */ - allowed_types?: Array; - - /** - * Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document's extracted name and date of birth. - */ - require_id_number?: boolean; - - /** - * Disable image uploads, identity document images have to be captured using the device's camera. - */ - require_live_capture?: boolean; - - /** - * Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user's face. [Learn more](https://docs.stripe.com/identity/selfie). - */ - require_matching_selfie?: boolean; - } - - export interface IdNumber {} + export type Status = 'unverified' | 'verified'; - export namespace Document { - export type AllowedType = 'driving_license' | 'id_card' | 'passport'; - } + export namespace Error { + export type Code = + | 'phone_unverified_other' + | 'phone_verification_declined'; } + } - export namespace Phone { - export interface Error { - /** - * A short machine-readable string giving the reason for the verification failure. - */ - code: Error.Code | null; - - /** - * A human-readable message giving the reason for the failure. These messages can be shown to your users. - */ - reason: string | null; - } - - export type Status = 'unverified' | 'verified'; + export namespace Selfie { + export interface Error { + /** + * A short machine-readable string giving the reason for the verification failure. + */ + code: Error.Code | null; - export namespace Error { - export type Code = - | 'phone_unverified_other' - | 'phone_verification_declined'; - } + /** + * A human-readable message giving the reason for the failure. These messages can be shown to your users. + */ + reason: string | null; } - export namespace Selfie { - export interface Error { - /** - * A short machine-readable string giving the reason for the verification failure. - */ - code: Error.Code | null; - - /** - * A human-readable message giving the reason for the failure. These messages can be shown to your users. - */ - reason: string | null; - } + export type Status = 'unverified' | 'verified'; - export type Status = 'unverified' | 'verified'; - - export namespace Error { - export type Code = - | 'selfie_document_missing_photo' - | 'selfie_face_mismatch' - | 'selfie_manipulated' - | 'selfie_unverified_other'; - } + export namespace Error { + export type Code = + | 'selfie_document_missing_photo' + | 'selfie_face_mismatch' + | 'selfie_manipulated' + | 'selfie_unverified_other'; } } } diff --git a/src/resources/Identity/VerificationSessions.ts b/src/resources/Identity/VerificationSessions.ts index cafbb83e9d..b4b9e969bb 100644 --- a/src/resources/Identity/VerificationSessions.ts +++ b/src/resources/Identity/VerificationSessions.ts @@ -166,7 +166,7 @@ export interface VerificationSession { /** * If present, this property tells you the last error encountered when processing the verification. */ - last_error: Identity.VerificationSession.LastError | null; + last_error: VerificationSession.LastError | null; /** * ID of the most recent VerificationReport. [Learn more about accessing detailed verification results.](https://docs.stripe.com/identity/verification-sessions#results) @@ -186,17 +186,17 @@ export interface VerificationSession { /** * A set of options for the session's verification checks. */ - options: Identity.VerificationSession.Options | null; + options: VerificationSession.Options | null; /** * Details provided about the user being verified. These details may be shown to the user. */ - provided_details?: Identity.VerificationSession.ProvidedDetails | null; + provided_details?: VerificationSession.ProvidedDetails | null; /** * Redaction status of this VerificationSession. If the VerificationSession is not redacted, this field will be null. */ - redaction: Identity.VerificationSession.Redaction | null; + redaction: VerificationSession.Redaction | null; /** * Customer ID @@ -208,17 +208,17 @@ export interface VerificationSession { */ related_customer_account: string | null; - related_person?: Identity.VerificationSession.RelatedPerson; + related_person?: VerificationSession.RelatedPerson; /** * Status of this VerificationSession. [Learn more about the lifecycle of sessions](https://docs.stripe.com/identity/how-sessions-work). */ - status: Identity.VerificationSession.Status; + status: VerificationSession.Status; /** * The type of [verification check](https://docs.stripe.com/identity/verification-checks) to be performed. */ - type: Identity.VerificationSession.Type; + type: VerificationSession.Type; /** * The short-lived URL that you use to redirect a user to Stripe to submit their identity information. This URL expires after 48 hours and can only be used once. Don't store it, log it, send it in emails or expose it to anyone other than the user. Refer to our docs on [verifying identity documents](https://docs.stripe.com/identity/verify-identity-documents?platform=web&type=redirect) to learn how to redirect users to Stripe. @@ -233,241 +233,239 @@ export interface VerificationSession { /** * The user's verified data. */ - verified_outputs?: Identity.VerificationSession.VerifiedOutputs | null; + verified_outputs?: VerificationSession.VerifiedOutputs | null; } -export namespace Identity { - export namespace VerificationSession { - export interface LastError { - /** - * A short machine-readable string giving the reason for the verification or user-session failure. - */ - code: LastError.Code | null; +export namespace VerificationSession { + export interface LastError { + /** + * A short machine-readable string giving the reason for the verification or user-session failure. + */ + code: LastError.Code | null; - /** - * A message that explains the reason for verification or user-session failure. - */ - reason: string | null; - } + /** + * A message that explains the reason for verification or user-session failure. + */ + reason: string | null; + } - export interface Options { - document?: Options.Document; + export interface Options { + document?: Options.Document; - email?: Options.Email; + email?: Options.Email; - id_number?: Options.IdNumber; + id_number?: Options.IdNumber; - matching?: Options.Matching; + matching?: Options.Matching; - phone?: Options.Phone; - } + phone?: Options.Phone; + } - export interface ProvidedDetails { - /** - * Email of user being verified - */ - email?: string; + export interface ProvidedDetails { + /** + * Email of user being verified + */ + email?: string; - /** - * Phone number of user being verified - */ - phone?: string; - } + /** + * Phone number of user being verified + */ + phone?: string; + } - export interface Redaction { - /** - * Indicates whether this object and its related objects have been redacted or not. - */ - status: Redaction.Status; - } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } - export interface RelatedPerson { - /** - * Token referencing the associated Account of the related Person resource. - */ - account: string; + export interface RelatedPerson { + /** + * Token referencing the associated Account of the related Person resource. + */ + account: string; - /** - * Token referencing the related Person resource. - */ - person: string; - } + /** + * Token referencing the related Person resource. + */ + person: string; + } - export type Status = - | 'canceled' - | 'processing' - | 'requires_input' - | 'verified'; + export type Status = + | 'canceled' + | 'processing' + | 'requires_input' + | 'verified'; - export type Type = 'document' | 'id_number' | 'verification_flow'; + export type Type = 'document' | 'id_number' | 'verification_flow'; - export interface VerifiedOutputs { - /** - * The user's verified address. - */ - address: Address | null; + export interface VerifiedOutputs { + /** + * The user's verified address. + */ + address: Address | null; - /** - * The user's verified date of birth. - */ - dob?: VerifiedOutputs.Dob | null; + /** + * The user's verified date of birth. + */ + dob?: VerifiedOutputs.Dob | null; - /** - * The user's verified email address - */ - email: string | null; + /** + * The user's verified email address + */ + email: string | null; + + /** + * The user's verified first name. + */ + first_name: string | null; + + /** + * The user's verified id number. + */ + id_number?: string | null; + + /** + * The user's verified id number type. + */ + id_number_type: VerifiedOutputs.IdNumberType | null; + + /** + * The user's verified last name. + */ + last_name: string | null; + + /** + * The user's verified phone number + */ + phone: string | null; + + /** + * The user's verified sex. + */ + sex?: VerifiedOutputs.Sex | null; + + /** + * The user's verified place of birth as it appears in the document. + */ + unparsed_place_of_birth?: string | null; + + /** + * The user's verified sex as it appears in the document. + */ + unparsed_sex?: string | null; + } + + export namespace LastError { + export type Code = + | 'abandoned' + | 'consent_declined' + | 'country_not_supported' + | 'device_not_supported' + | 'document_expired' + | 'document_type_not_supported' + | 'document_unverified_other' + | 'email_unverified_other' + | 'email_verification_declined' + | 'id_number_insufficient_document_data' + | 'id_number_mismatch' + | 'id_number_unverified_other' + | 'phone_unverified_other' + | 'phone_verification_declined' + | 'selfie_document_missing_photo' + | 'selfie_face_mismatch' + | 'selfie_manipulated' + | 'selfie_unverified_other' + | 'under_supported_age'; + } + export namespace Options { + export interface Document { /** - * The user's verified first name. + * Array of strings of allowed identity document types. If the provided identity document isn't one of the allowed types, the verification check will fail with a document_type_not_allowed error code. */ - first_name: string | null; + allowed_types?: Array; /** - * The user's verified id number. + * Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document's extracted name and date of birth. */ - id_number?: string | null; + require_id_number?: boolean; /** - * The user's verified id number type. + * Disable image uploads, identity document images have to be captured using the device's camera. */ - id_number_type: VerifiedOutputs.IdNumberType | null; + require_live_capture?: boolean; /** - * The user's verified last name. + * Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user's face. [Learn more](https://docs.stripe.com/identity/selfie). */ - last_name: string | null; + require_matching_selfie?: boolean; + } + export interface Email { /** - * The user's verified phone number + * Request one time password verification of `provided_details.email`. */ - phone: string | null; + require_verification?: boolean; + } + export interface IdNumber {} + + export interface Matching { /** - * The user's verified sex. + * Strictness of the DOB matching policy to apply. */ - sex?: VerifiedOutputs.Sex | null; + dob?: Matching.Dob; /** - * The user's verified place of birth as it appears in the document. + * Strictness of the name matching policy to apply. */ - unparsed_place_of_birth?: string | null; + name?: Matching.Name; + } + export interface Phone { /** - * The user's verified sex as it appears in the document. + * Request one time password verification of `provided_details.phone`. */ - unparsed_sex?: string | null; + require_verification?: boolean; } - export namespace LastError { - export type Code = - | 'abandoned' - | 'consent_declined' - | 'country_not_supported' - | 'device_not_supported' - | 'document_expired' - | 'document_type_not_supported' - | 'document_unverified_other' - | 'email_unverified_other' - | 'email_verification_declined' - | 'id_number_insufficient_document_data' - | 'id_number_mismatch' - | 'id_number_unverified_other' - | 'phone_unverified_other' - | 'phone_verification_declined' - | 'selfie_document_missing_photo' - | 'selfie_face_mismatch' - | 'selfie_manipulated' - | 'selfie_unverified_other' - | 'under_supported_age'; + export namespace Document { + export type AllowedType = 'driving_license' | 'id_card' | 'passport'; } - export namespace Options { - export interface Document { - /** - * Array of strings of allowed identity document types. If the provided identity document isn't one of the allowed types, the verification check will fail with a document_type_not_allowed error code. - */ - allowed_types?: Array; - - /** - * Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document's extracted name and date of birth. - */ - require_id_number?: boolean; - - /** - * Disable image uploads, identity document images have to be captured using the device's camera. - */ - require_live_capture?: boolean; - - /** - * Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user's face. [Learn more](https://docs.stripe.com/identity/selfie). - */ - require_matching_selfie?: boolean; - } + export namespace Matching { + export type Dob = 'none' | 'similar'; - export interface Email { - /** - * Request one time password verification of `provided_details.email`. - */ - require_verification?: boolean; - } - - export interface IdNumber {} - - export interface Matching { - /** - * Strictness of the DOB matching policy to apply. - */ - dob?: Matching.Dob; - - /** - * Strictness of the name matching policy to apply. - */ - name?: Matching.Name; - } - - export interface Phone { - /** - * Request one time password verification of `provided_details.phone`. - */ - require_verification?: boolean; - } - - export namespace Document { - export type AllowedType = 'driving_license' | 'id_card' | 'passport'; - } - - export namespace Matching { - export type Dob = 'none' | 'similar'; - - export type Name = 'none' | 'similar'; - } + export type Name = 'none' | 'similar'; } + } - export namespace Redaction { - export type Status = 'processing' | 'redacted'; - } + export namespace Redaction { + export type Status = 'processing' | 'redacted'; + } - export namespace VerifiedOutputs { - export interface Dob { - /** - * Numerical day between 1 and 31. - */ - day: number | null; + export namespace VerifiedOutputs { + export interface Dob { + /** + * Numerical day between 1 and 31. + */ + day: number | null; - /** - * Numerical month between 1 and 12. - */ - month: number | null; + /** + * Numerical month between 1 and 12. + */ + month: number | null; - /** - * The four-digit year. - */ - year: number | null; - } + /** + * The four-digit year. + */ + year: number | null; + } - export type IdNumberType = 'br_cpf' | 'sg_nric' | 'us_ssn'; + export type IdNumberType = 'br_cpf' | 'sg_nric' | 'us_ssn'; - export type Sex = '[redacted]' | 'female' | 'male' | 'unknown'; - } + export type Sex = '[redacted]' | 'female' | 'male' | 'unknown'; } } export namespace Identity { diff --git a/src/resources/Issuing/Authorizations.ts b/src/resources/Issuing/Authorizations.ts index d5a39060f1..6948021174 100644 --- a/src/resources/Issuing/Authorizations.ts +++ b/src/resources/Issuing/Authorizations.ts @@ -952,7 +952,7 @@ export interface Authorization { /** * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). */ - amount_details: Issuing.Authorization.AmountDetails | null; + amount_details: Authorization.AmountDetails | null; /** * Whether the authorization has been approved. @@ -962,7 +962,7 @@ export interface Authorization { /** * How the card details were provided. */ - authorization_method: Issuing.Authorization.AuthorizationMethod; + authorization_method: Authorization.AuthorizationMethod; /** * List of balance transactions associated with this authorization. @@ -977,7 +977,7 @@ export interface Authorization { /** * Whether the card was present at the point of sale for the authorization. */ - card_presence: Issuing.Authorization.CardPresence | null; + card_presence: Authorization.CardPresence | null; /** * The cardholder to whom this authorization belongs. @@ -997,17 +997,17 @@ export interface Authorization { /** * Fleet-specific information for authorizations using Fleet cards. */ - fleet: Issuing.Authorization.Fleet | null; + fleet: Authorization.Fleet | null; /** * Fraud challenges sent to the cardholder, if this authorization was declined for fraud risk reasons. */ - fraud_challenges?: Array | null; + fraud_challenges?: Array | null; /** * Information about fuel that was purchased with this transaction. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed. */ - fuel: Issuing.Authorization.Fuel | null; + fuel: Authorization.Fuel | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -1024,7 +1024,7 @@ export interface Authorization { */ merchant_currency: string; - merchant_data: Issuing.Authorization.MerchantData; + merchant_data: Authorization.MerchantData; /** * 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. @@ -1034,22 +1034,22 @@ export interface Authorization { /** * Details about the authorization, such as identifiers, set by the card network. */ - network_data: Issuing.Authorization.NetworkData | null; + network_data: Authorization.NetworkData | null; /** * The pending authorization request. This field will only be non-null during an `issuing_authorization.request` webhook. */ - pending_request: Issuing.Authorization.PendingRequest | null; + pending_request: Authorization.PendingRequest | null; /** * History of every time a `pending_request` authorization was approved/declined, either by you directly or by Stripe (e.g. based on your spending_controls). If the merchant changes the authorization by performing an incremental authorization, you can look at this field to see the previous requests for the authorization. This field can be helpful in determining why a given authorization was approved/declined. */ - request_history: Array; + request_history: Array; /** * The current status of the authorization in its lifecycle. */ - status: Issuing.Authorization.Status; + status: Authorization.Status; /** * [Token](https://docs.stripe.com/api/issuing/tokens/object) object used for this authorization. If a network token was not used for this authorization, this field will be null. @@ -1064,9 +1064,9 @@ export interface Authorization { /** * [Treasury](https://docs.stripe.com/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://docs.stripe.com/api/treasury/financial_accounts). */ - treasury?: Issuing.Authorization.Treasury | null; + treasury?: Authorization.Treasury | null; - verification_data: Issuing.Authorization.VerificationData; + verification_data: Authorization.VerificationData; /** * Whether the authorization bypassed fraud risk checks because the cardholder has previously completed a fraud challenge on a similar high-risk authorization from the same merchant. @@ -1078,543 +1078,538 @@ export interface Authorization { */ wallet: string | null; } -export namespace Issuing { - export namespace Authorization { - export interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; +export namespace Authorization { + export interface AmountDetails { + /** + * The fee charged by the ATM for the cash withdrawal. + */ + atm_fee: number | null; - /** - * The amount of cash requested by the cardholder. - */ - cashback_amount: number | null; - } + /** + * The amount of cash requested by the cardholder. + */ + cashback_amount: number | null; + } - export type AuthorizationMethod = - | 'chip' - | 'contactless' - | 'keyed_in' - | 'online' - | 'swipe'; + export type AuthorizationMethod = + | 'chip' + | 'contactless' + | 'keyed_in' + | 'online' + | 'swipe'; - export type CardPresence = 'not_present' | 'present'; + export type CardPresence = 'not_present' | 'present'; - export interface Fleet { - /** - * Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry. - */ - cardholder_prompt_data: Fleet.CardholderPromptData | null; + export interface Fleet { + /** + * Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry. + */ + cardholder_prompt_data: Fleet.CardholderPromptData | null; - /** - * The type of purchase. - */ - purchase_type: Fleet.PurchaseType | null; + /** + * The type of purchase. + */ + purchase_type: Fleet.PurchaseType | null; - /** - * More information about the total amount. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed. This information is not guaranteed to be accurate as some merchants may provide unreliable data. - */ - reported_breakdown: Fleet.ReportedBreakdown | null; + /** + * More information about the total amount. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed. This information is not guaranteed to be accurate as some merchants may provide unreliable data. + */ + reported_breakdown: Fleet.ReportedBreakdown | null; - /** - * The type of fuel service. - */ - service_type: Fleet.ServiceType | null; - } + /** + * The type of fuel service. + */ + service_type: Fleet.ServiceType | null; + } - export interface FraudChallenge { - /** - * The method by which the fraud challenge was delivered to the cardholder. - */ - channel: 'sms'; + export interface FraudChallenge { + /** + * The method by which the fraud challenge was delivered to the cardholder. + */ + channel: 'sms'; - /** - * The status of the fraud challenge. - */ - status: FraudChallenge.Status; + /** + * The status of the fraud challenge. + */ + status: FraudChallenge.Status; - /** - * If the challenge is not deliverable, the reason why. - */ - undeliverable_reason: FraudChallenge.UndeliverableReason | null; - } + /** + * If the challenge is not deliverable, the reason why. + */ + undeliverable_reason: FraudChallenge.UndeliverableReason | null; + } - export interface Fuel { - /** - * [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. - */ - industry_product_code: string | null; + export interface Fuel { + /** + * [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. + */ + industry_product_code: string | null; - /** - * The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. - */ - quantity_decimal: Decimal | null; + /** + * The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. + */ + quantity_decimal: Decimal | null; - /** - * The type of fuel that was purchased. - */ - type: Fuel.Type | null; + /** + * The type of fuel that was purchased. + */ + type: Fuel.Type | null; - /** - * The units for `quantity_decimal`. - */ - unit: Fuel.Unit | null; + /** + * The units for `quantity_decimal`. + */ + unit: Fuel.Unit | null; - /** - * The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. - */ - unit_cost_decimal: Decimal | null; - } + /** + * The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. + */ + unit_cost_decimal: Decimal | null; + } - export interface MerchantData { - /** - * A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values. - */ - category: string; + export interface MerchantData { + /** + * A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values. + */ + category: string; - /** - * The merchant category code for the seller's business - */ - category_code: string; + /** + * The merchant category code for the seller's business + */ + category_code: string; - /** - * City where the seller is located - */ - city: string | null; + /** + * City where the seller is located + */ + city: string | null; - /** - * Country where the seller is located - */ - country: string | null; + /** + * Country where the seller is located + */ + country: string | null; - /** - * Name of the seller - */ - name: string | null; + /** + * Name of the seller + */ + name: string | null; - /** - * Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant. - */ - network_id: string; + /** + * Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant. + */ + network_id: string; - /** - * Postal code where the seller is located - */ - postal_code: string | null; + /** + * Postal code where the seller is located + */ + postal_code: string | null; - /** - * State where the seller is located - */ - state: string | null; + /** + * State where the seller is located + */ + state: string | null; - /** - * The seller's tax identification number. Currently populated for French merchants only. - */ - tax_id: string | null; + /** + * The seller's tax identification number. Currently populated for French merchants only. + */ + tax_id: string | null; - /** - * An ID assigned by the seller to the location of the sale. - */ - terminal_id: string | null; + /** + * An ID assigned by the seller to the location of the sale. + */ + terminal_id: string | null; - /** - * URL provided by the merchant on a 3DS request - */ - url: string | null; - } + /** + * URL provided by the merchant on a 3DS request + */ + url: string | null; + } - export interface NetworkData { - /** - * Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be `null`. - */ - acquiring_institution_id: string | null; + export interface NetworkData { + /** + * Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be `null`. + */ + acquiring_institution_id: string | null; - /** - * The System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer `network_data.transaction_id` if present, unless you have special requirements. - */ - system_trace_audit_number: string | null; + /** + * The System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer `network_data.transaction_id` if present, unless you have special requirements. + */ + system_trace_audit_number: string | null; - /** - * Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions. - */ - transaction_id: string | null; - } + /** + * Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions. + */ + transaction_id: string | null; + } - export interface PendingRequest { - /** - * The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://docs.stripe.com/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount: number; + export interface PendingRequest { + /** + * The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://docs.stripe.com/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + amount: number; - /** - * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount_details: PendingRequest.AmountDetails | null; + /** + * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + amount_details: PendingRequest.AmountDetails | null; - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; - /** - * If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization. - */ - is_amount_controllable: boolean; + /** + * If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization. + */ + is_amount_controllable: boolean; - /** - * The amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - merchant_amount: number; + /** + * The amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + merchant_amount: number; - /** - * The local currency the merchant is requesting to authorize. - */ - merchant_currency: string; + /** + * The local currency the merchant is requesting to authorize. + */ + merchant_currency: string; - /** - * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. - */ - network_risk_score: number | null; - } + /** + * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. + */ + network_risk_score: number | null; + } - export interface RequestHistory { - /** - * The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved. - */ - amount: number; + export interface RequestHistory { + /** + * The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved. + */ + amount: number; - /** - * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount_details: RequestHistory.AmountDetails | null; + /** + * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + amount_details: RequestHistory.AmountDetails | null; - /** - * Whether this request was approved. - */ - approved: boolean; + /** + * Whether this request was approved. + */ + approved: boolean; - /** - * A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. - */ - authorization_code: string | null; + /** + * A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. + */ + authorization_code: string | null; - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; - /** - * The `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - merchant_amount: number; + /** + * The `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + merchant_amount: number; - /** - * The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - merchant_currency: string; + /** + * The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + merchant_currency: string; - /** - * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. - */ - network_risk_score: number | null; + /** + * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. + */ + network_risk_score: number | null; - /** - * When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome. - */ - reason: RequestHistory.Reason; + /** + * When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome. + */ + reason: RequestHistory.Reason; - /** - * If the `request_history.reason` is `webhook_error` because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field. - */ - reason_message: string | null; + /** + * If the `request_history.reason` is `webhook_error` because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field. + */ + reason_message: string | null; - /** - * Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time. - */ - requested_at: number | null; - } + /** + * Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time. + */ + requested_at: number | null; + } - export type Status = 'closed' | 'expired' | 'pending' | 'reversed'; + export type Status = 'closed' | 'expired' | 'pending' | 'reversed'; - export interface Treasury { - /** - * The array of [ReceivedCredits](https://docs.stripe.com/api/treasury/received_credits) associated with this authorization - */ - received_credits: Array; + export interface Treasury { + /** + * The array of [ReceivedCredits](https://docs.stripe.com/api/treasury/received_credits) associated with this authorization + */ + received_credits: Array; + + /** + * The array of [ReceivedDebits](https://docs.stripe.com/api/treasury/received_debits) associated with this authorization + */ + received_debits: Array; + + /** + * The Treasury [Transaction](https://docs.stripe.com/api/treasury/transactions) associated with this authorization + */ + transaction: string | null; + } + + export interface VerificationData { + /** + * Whether the cardholder provided an address first line and if it matched the cardholder's `billing.address.line1`. + */ + address_line1_check: VerificationData.AddressLine1Check; + + /** + * Whether the cardholder provided a postal code and if it matched the cardholder's `billing.address.postal_code`. + */ + address_postal_code_check: VerificationData.AddressPostalCodeCheck; + + /** + * The exemption applied to this authorization. + */ + authentication_exemption: VerificationData.AuthenticationExemption | null; + + /** + * Whether the cardholder provided a CVC and if it matched Stripe's record. + */ + cvc_check: VerificationData.CvcCheck; + + /** + * Whether the cardholder provided an expiry date and if it matched Stripe's record. + */ + expiry_check: VerificationData.ExpiryCheck; + + /** + * The postal code submitted as part of the authorization used for postal code verification. + */ + postal_code: string | null; + /** + * 3D Secure details. + */ + three_d_secure: VerificationData.ThreeDSecure | null; + } + + export namespace Fleet { + export interface CardholderPromptData { /** - * The array of [ReceivedDebits](https://docs.stripe.com/api/treasury/received_debits) associated with this authorization + * [Deprecated] An alphanumeric ID, though typical point of sales only support numeric entry. The card program can be configured to prompt for a vehicle ID, driver ID, or generic ID. + * @deprecated */ - received_debits: Array; + alphanumeric_id: string | null; /** - * The Treasury [Transaction](https://docs.stripe.com/api/treasury/transactions) associated with this authorization + * Driver ID. */ - transaction: string | null; - } + driver_id: string | null; - export interface VerificationData { /** - * Whether the cardholder provided an address first line and if it matched the cardholder's `billing.address.line1`. + * Odometer reading. */ - address_line1_check: VerificationData.AddressLine1Check; + odometer: number | null; /** - * Whether the cardholder provided a postal code and if it matched the cardholder's `billing.address.postal_code`. + * An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type. */ - address_postal_code_check: VerificationData.AddressPostalCodeCheck; + unspecified_id: string | null; /** - * The exemption applied to this authorization. + * User ID. */ - authentication_exemption: VerificationData.AuthenticationExemption | null; + user_id: string | null; /** - * Whether the cardholder provided a CVC and if it matched Stripe's record. + * Vehicle number. */ - cvc_check: VerificationData.CvcCheck; + vehicle_number: string | null; + } + export type PurchaseType = + | 'fuel_and_non_fuel_purchase' + | 'fuel_purchase' + | 'non_fuel_purchase'; + + export interface ReportedBreakdown { /** - * Whether the cardholder provided an expiry date and if it matched Stripe's record. + * Breakdown of fuel portion of the purchase. */ - expiry_check: VerificationData.ExpiryCheck; + fuel: ReportedBreakdown.Fuel | null; /** - * The postal code submitted as part of the authorization used for postal code verification. + * Breakdown of non-fuel portion of the purchase. */ - postal_code: string | null; + non_fuel: ReportedBreakdown.NonFuel | null; /** - * 3D Secure details. + * Information about tax included in this transaction. */ - three_d_secure: VerificationData.ThreeDSecure | null; + tax: ReportedBreakdown.Tax | null; } - export namespace Fleet { - export interface CardholderPromptData { - /** - * [Deprecated] An alphanumeric ID, though typical point of sales only support numeric entry. The card program can be configured to prompt for a vehicle ID, driver ID, or generic ID. - * @deprecated - */ - alphanumeric_id: string | null; - - /** - * Driver ID. - */ - driver_id: string | null; - - /** - * Odometer reading. - */ - odometer: number | null; - - /** - * An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type. - */ - unspecified_id: string | null; + export type ServiceType = + | 'full_service' + | 'non_fuel_transaction' + | 'self_service'; + export namespace ReportedBreakdown { + export interface Fuel { /** - * User ID. + * Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes. */ - user_id: string | null; - - /** - * Vehicle number. - */ - vehicle_number: string | null; + gross_amount_decimal: Decimal | null; } - export type PurchaseType = - | 'fuel_and_non_fuel_purchase' - | 'fuel_purchase' - | 'non_fuel_purchase'; - - export interface ReportedBreakdown { + export interface NonFuel { /** - * Breakdown of fuel portion of the purchase. + * Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. */ - fuel: ReportedBreakdown.Fuel | null; + gross_amount_decimal: Decimal | null; + } + export interface Tax { /** - * Breakdown of non-fuel portion of the purchase. + * Amount of state or provincial Sales Tax included in the transaction amount. `null` if not reported by merchant or not subject to tax. */ - non_fuel: ReportedBreakdown.NonFuel | null; + local_amount_decimal: Decimal | null; /** - * Information about tax included in this transaction. + * Amount of national Sales Tax or VAT included in the transaction amount. `null` if not reported by merchant or not subject to tax. */ - tax: ReportedBreakdown.Tax | null; - } - - export type ServiceType = - | 'full_service' - | 'non_fuel_transaction' - | 'self_service'; - - export namespace ReportedBreakdown { - export interface Fuel { - /** - * Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes. - */ - gross_amount_decimal: Decimal | null; - } - - export interface NonFuel { - /** - * Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. - */ - gross_amount_decimal: Decimal | null; - } - - export interface Tax { - /** - * Amount of state or provincial Sales Tax included in the transaction amount. `null` if not reported by merchant or not subject to tax. - */ - local_amount_decimal: Decimal | null; - - /** - * Amount of national Sales Tax or VAT included in the transaction amount. `null` if not reported by merchant or not subject to tax. - */ - national_amount_decimal: Decimal | null; - } + national_amount_decimal: Decimal | null; } } + } - export namespace FraudChallenge { - export type Status = - | 'expired' - | 'pending' - | 'rejected' - | 'undeliverable' - | 'verified'; - - export type UndeliverableReason = - | 'no_phone_number' - | 'unsupported_phone_number'; - } + export namespace FraudChallenge { + export type Status = + | 'expired' + | 'pending' + | 'rejected' + | 'undeliverable' + | 'verified'; + + export type UndeliverableReason = + | 'no_phone_number' + | 'unsupported_phone_number'; + } - export namespace Fuel { - export type Type = - | 'diesel' - | 'other' - | 'unleaded_plus' - | 'unleaded_regular' - | 'unleaded_super'; - - export type Unit = - | 'charging_minute' - | 'imperial_gallon' - | 'kilogram' - | 'kilowatt_hour' - | 'liter' - | 'other' - | 'pound' - | 'us_gallon'; - } + export namespace Fuel { + export type Type = + | 'diesel' + | 'other' + | 'unleaded_plus' + | 'unleaded_regular' + | 'unleaded_super'; + + export type Unit = + | 'charging_minute' + | 'imperial_gallon' + | 'kilogram' + | 'kilowatt_hour' + | 'liter' + | 'other' + | 'pound' + | 'us_gallon'; + } - export namespace PendingRequest { - export interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; + export namespace PendingRequest { + export interface AmountDetails { + /** + * The fee charged by the ATM for the cash withdrawal. + */ + atm_fee: number | null; - /** - * The amount of cash requested by the cardholder. - */ - cashback_amount: number | null; - } + /** + * The amount of cash requested by the cardholder. + */ + cashback_amount: number | null; } + } - export namespace RequestHistory { - export interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; - - /** - * The amount of cash requested by the cardholder. - */ - cashback_amount: number | null; - } + export namespace RequestHistory { + export interface AmountDetails { + /** + * The fee charged by the ATM for the cash withdrawal. + */ + atm_fee: number | null; - export type Reason = - | 'account_disabled' - | 'card_active' - | 'card_canceled' - | 'card_expired' - | 'card_inactive' - | 'cardholder_blocked' - | 'cardholder_inactive' - | 'cardholder_verification_required' - | 'insecure_authorization_method' - | 'insufficient_funds' - | 'network_fallback' - | 'not_allowed' - | 'pin_blocked' - | 'spending_controls' - | 'suspected_fraud' - | 'verification_failed' - | 'webhook_approved' - | 'webhook_declined' - | 'webhook_error' - | 'webhook_timeout'; + /** + * The amount of cash requested by the cardholder. + */ + cashback_amount: number | null; } - export namespace VerificationData { - export type AddressLine1Check = 'match' | 'mismatch' | 'not_provided'; + export type Reason = + | 'account_disabled' + | 'card_active' + | 'card_canceled' + | 'card_expired' + | 'card_inactive' + | 'cardholder_blocked' + | 'cardholder_inactive' + | 'cardholder_verification_required' + | 'insecure_authorization_method' + | 'insufficient_funds' + | 'network_fallback' + | 'not_allowed' + | 'pin_blocked' + | 'spending_controls' + | 'suspected_fraud' + | 'verification_failed' + | 'webhook_approved' + | 'webhook_declined' + | 'webhook_error' + | 'webhook_timeout'; + } - export type AddressPostalCodeCheck = - | 'match' - | 'mismatch' - | 'not_provided'; + export namespace VerificationData { + export type AddressLine1Check = 'match' | 'mismatch' | 'not_provided'; - export interface AuthenticationExemption { - /** - * The entity that requested the exemption, either the acquiring merchant or the Issuing user. - */ - claimed_by: AuthenticationExemption.ClaimedBy; + export type AddressPostalCodeCheck = 'match' | 'mismatch' | 'not_provided'; - /** - * The specific exemption claimed for this authorization. - */ - type: AuthenticationExemption.Type; - } + export interface AuthenticationExemption { + /** + * The entity that requested the exemption, either the acquiring merchant or the Issuing user. + */ + claimed_by: AuthenticationExemption.ClaimedBy; - export type CvcCheck = 'match' | 'mismatch' | 'not_provided'; + /** + * The specific exemption claimed for this authorization. + */ + type: AuthenticationExemption.Type; + } - export type ExpiryCheck = 'match' | 'mismatch' | 'not_provided'; + export type CvcCheck = 'match' | 'mismatch' | 'not_provided'; - export interface ThreeDSecure { - /** - * The outcome of the 3D Secure authentication request. - */ - result: ThreeDSecure.Result; - } + export type ExpiryCheck = 'match' | 'mismatch' | 'not_provided'; + + export interface ThreeDSecure { + /** + * The outcome of the 3D Secure authentication request. + */ + result: ThreeDSecure.Result; + } - export namespace AuthenticationExemption { - export type ClaimedBy = 'acquirer' | 'issuer'; + export namespace AuthenticationExemption { + export type ClaimedBy = 'acquirer' | 'issuer'; - export type Type = - | 'low_value_transaction' - | 'transaction_risk_analysis' - | 'unknown'; - } + export type Type = + | 'low_value_transaction' + | 'transaction_risk_analysis' + | 'unknown'; + } - export namespace ThreeDSecure { - export type Result = - | 'attempt_acknowledged' - | 'authenticated' - | 'failed' - | 'required'; - } + export namespace ThreeDSecure { + export type Result = + | 'attempt_acknowledged' + | 'authenticated' + | 'failed' + | 'required'; } } } diff --git a/src/resources/Issuing/Cardholders.ts b/src/resources/Issuing/Cardholders.ts index 85c9b998c1..9a948110b2 100644 --- a/src/resources/Issuing/Cardholders.ts +++ b/src/resources/Issuing/Cardholders.ts @@ -86,12 +86,12 @@ export interface Cardholder { */ object: 'issuing.cardholder'; - billing: Issuing.Cardholder.Billing; + billing: Cardholder.Billing; /** * Additional information about a `company` cardholder. */ - company: Issuing.Cardholder.Company | null; + company: Cardholder.Company | null; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -106,7 +106,7 @@ export interface Cardholder { /** * Additional information about an `individual` cardholder. */ - individual: Issuing.Cardholder.Individual | null; + individual: Cardholder.Individual | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -132,218 +132,827 @@ export interface Cardholder { * The cardholder's preferred locales (languages), ordered by preference. Locales can be `da`, `de`, `en`, `es`, `fr`, `it`, `pl`, or `sv`. * This changes the language of the [3D Secure flow](https://docs.stripe.com/issuing/3d-secure) and one-time password messages sent to the cardholder. */ - preferred_locales: Array | null; + preferred_locales: Array | null; - requirements: Issuing.Cardholder.Requirements; + requirements: Cardholder.Requirements; /** * Rules that control spending across this cardholder's cards. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details. */ - spending_controls: Issuing.Cardholder.SpendingControls | null; + spending_controls: Cardholder.SpendingControls | null; /** * Specifies whether to permit authorizations on this cardholder's cards. */ - status: Issuing.Cardholder.Status; + status: Cardholder.Status; /** * One of `individual` or `company`. See [Choose a cardholder type](https://docs.stripe.com/issuing/other/choose-cardholder) for more details. */ - type: Issuing.Cardholder.Type; + type: Cardholder.Type; } -export namespace Issuing { - export namespace Cardholder { - export interface Billing { - address: Address; - } +export namespace Cardholder { + export interface Billing { + address: Address; + } - export interface Company { - /** - * Whether the company's business ID number was provided. - */ - tax_id_provided: boolean; - } + export interface Company { + /** + * Whether the company's business ID number was provided. + */ + tax_id_provided: boolean; + } - export interface Individual { - /** - * Information related to the card_issuing program for this cardholder. - */ - card_issuing?: Individual.CardIssuing | null; + export interface Individual { + /** + * Information related to the card_issuing program for this cardholder. + */ + card_issuing?: Individual.CardIssuing | null; - /** - * The date of birth of this cardholder. - */ - dob: Individual.Dob | null; + /** + * The date of birth of this cardholder. + */ + dob: Individual.Dob | null; - /** - * The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. - */ - first_name: string | null; + /** + * The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. + */ + first_name: string | null; - /** - * The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. - */ - last_name: string | null; + /** + * The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. + */ + last_name: string | null; - /** - * Government-issued ID document for this cardholder. - */ - verification: Individual.Verification | null; - } + /** + * Government-issued ID document for this cardholder. + */ + verification: Individual.Verification | null; + } - export type PreferredLocale = 'de' | 'en' | 'es' | 'fr' | 'it'; + export type PreferredLocale = 'de' | 'en' | 'es' | 'fr' | 'it'; - export interface Requirements { - /** - * If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason. - */ - disabled_reason: Requirements.DisabledReason | null; + export interface Requirements { + /** + * If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason. + */ + disabled_reason: Requirements.DisabledReason | null; - /** - * Array of fields that need to be collected in order to verify and re-enable the cardholder. - */ - past_due: Array | null; - } + /** + * Array of fields that need to be collected in order to verify and re-enable the cardholder. + */ + past_due: Array | null; + } - export interface SpendingControls { - /** - * Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control. - */ - allowed_card_presences: Array< - SpendingControls.AllowedCardPresence - > | null; + export interface SpendingControls { + /** + * Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control. + */ + allowed_card_presences: Array | null; - /** - * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories: Array | null; + /** + * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. + */ + allowed_categories: Array | null; - /** - * Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control. - */ - allowed_merchant_countries: Array | null; + /** + * Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control. + */ + allowed_merchant_countries: Array | null; + + /** + * Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control. + */ + blocked_card_presences: Array | null; + + /** + * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. + */ + blocked_categories: Array | null; + + /** + * Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control. + */ + blocked_merchant_countries: Array | null; + + /** + * Limit spending with amount-based rules that apply across this cardholder's cards. + */ + spending_limits: Array | null; + + /** + * Currency of the amounts within `spending_limits`. + */ + spending_limits_currency: string | null; + } + + export type Status = 'active' | 'blocked' | 'inactive'; + export type Type = 'company' | 'individual'; + + export namespace Individual { + export interface CardIssuing { /** - * Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control. + * Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program. */ - blocked_card_presences: Array< - SpendingControls.BlockedCardPresence - > | null; + user_terms_acceptance: CardIssuing.UserTermsAcceptance | null; + } + export interface Dob { /** - * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. + * The day of birth, between 1 and 31. */ - blocked_categories: Array | null; + day: number | null; /** - * Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control. + * The month of birth, between 1 and 12. */ - blocked_merchant_countries: Array | null; + month: number | null; /** - * Limit spending with amount-based rules that apply across this cardholder's cards. + * The four-digit year of birth. */ - spending_limits: Array | null; + year: number | null; + } + export interface Verification { /** - * Currency of the amounts within `spending_limits`. + * An identifying document, either a passport or local ID card. */ - spending_limits_currency: string | null; + document: Verification.Document | null; } - export type Status = 'active' | 'blocked' | 'inactive'; - - export type Type = 'company' | 'individual'; - - export namespace Individual { - export interface CardIssuing { + export namespace CardIssuing { + export interface UserTermsAcceptance { /** - * Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program. + * The Unix timestamp marking when the cardholder accepted the Authorized User Terms. */ - user_terms_acceptance: CardIssuing.UserTermsAcceptance | null; - } + date: number | null; - export interface Dob { /** - * The day of birth, between 1 and 31. + * The IP address from which the cardholder accepted the Authorized User Terms. */ - day: number | null; + ip: string | null; /** - * The month of birth, between 1 and 12. + * The user agent of the browser from which the cardholder accepted the Authorized User Terms. */ - month: number | null; + user_agent: string | null; + } + } + export namespace Verification { + export interface Document { /** - * The four-digit year of birth. + * The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. */ - year: number | null; - } + back: string | File | null; - export interface Verification { /** - * An identifying document, either a passport or local ID card. + * The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. */ - document: Verification.Document | null; + front: string | File | null; } + } + } - export namespace CardIssuing { - export interface UserTermsAcceptance { - /** - * The Unix timestamp marking when the cardholder accepted the Authorized User Terms. - */ - date: number | null; - - /** - * The IP address from which the cardholder accepted the Authorized User Terms. - */ - ip: string | null; - - /** - * The user agent of the browser from which the cardholder accepted the Authorized User Terms. - */ - user_agent: string | null; - } - } + export namespace Requirements { + export type DisabledReason = + | 'listed' + | 'rejected.listed' + | 'requirements.past_due' + | 'under_review'; + + export type PastDue = + | 'company.tax_id' + | 'individual.card_issuing.user_terms_acceptance.date' + | 'individual.card_issuing.user_terms_acceptance.ip' + | 'individual.dob.day' + | 'individual.dob.month' + | 'individual.dob.year' + | 'individual.first_name' + | 'individual.last_name' + | 'individual.verification.document'; + } - export namespace Verification { - export interface Document { - /** - * The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. - */ - back: string | File | null; + export namespace SpendingControls { + export type AllowedCardPresence = 'not_present' | 'present'; + + export type AllowedCategory = + | 'ac_refrigeration_repair' + | 'accounting_bookkeeping_services' + | 'advertising_services' + | 'agricultural_cooperative' + | 'airlines_air_carriers' + | 'airports_flying_fields' + | 'ambulance_services' + | 'amusement_parks_carnivals' + | 'antique_reproductions' + | 'antique_shops' + | 'aquariums' + | 'architectural_surveying_services' + | 'art_dealers_and_galleries' + | 'artists_supply_and_craft_shops' + | 'auto_and_home_supply_stores' + | 'auto_body_repair_shops' + | 'auto_paint_shops' + | 'auto_service_shops' + | 'automated_cash_disburse' + | 'automated_fuel_dispensers' + | 'automobile_associations' + | 'automotive_parts_and_accessories_stores' + | 'automotive_tire_stores' + | 'bail_and_bond_payments' + | 'bakeries' + | 'bands_orchestras' + | 'barber_and_beauty_shops' + | 'betting_casino_gambling' + | 'bicycle_shops' + | 'billiard_pool_establishments' + | 'boat_dealers' + | 'boat_rentals_and_leases' + | 'book_stores' + | 'books_periodicals_and_newspapers' + | 'bowling_alleys' + | 'bus_lines' + | 'business_secretarial_schools' + | 'buying_shopping_services' + | 'cable_satellite_and_other_pay_television_and_radio' + | 'camera_and_photographic_supply_stores' + | 'candy_nut_and_confectionery_stores' + | 'car_and_truck_dealers_new_used' + | 'car_and_truck_dealers_used_only' + | 'car_rental_agencies' + | 'car_washes' + | 'carpentry_services' + | 'carpet_upholstery_cleaning' + | 'caterers' + | 'charitable_and_social_service_organizations_fundraising' + | 'chemicals_and_allied_products' + | 'child_care_services' + | 'childrens_and_infants_wear_stores' + | 'chiropodists_podiatrists' + | 'chiropractors' + | 'cigar_stores_and_stands' + | 'civic_social_fraternal_associations' + | 'cleaning_and_maintenance' + | 'clothing_rental' + | 'colleges_universities' + | 'commercial_equipment' + | 'commercial_footwear' + | 'commercial_photography_art_and_graphics' + | 'commuter_transport_and_ferries' + | 'computer_network_services' + | 'computer_programming' + | 'computer_repair' + | 'computer_software_stores' + | 'computers_peripherals_and_software' + | 'concrete_work_services' + | 'construction_materials' + | 'consulting_public_relations' + | 'correspondence_schools' + | 'cosmetic_stores' + | 'counseling_services' + | 'country_clubs' + | 'courier_services' + | 'court_costs' + | 'credit_reporting_agencies' + | 'cruise_lines' + | 'dairy_products_stores' + | 'dance_hall_studios_schools' + | 'dating_escort_services' + | 'dentists_orthodontists' + | 'department_stores' + | 'detective_agencies' + | 'digital_goods_applications' + | 'digital_goods_games' + | 'digital_goods_large_volume' + | 'digital_goods_media' + | 'direct_marketing_catalog_merchant' + | 'direct_marketing_combination_catalog_and_retail_merchant' + | 'direct_marketing_inbound_telemarketing' + | 'direct_marketing_insurance_services' + | 'direct_marketing_other' + | 'direct_marketing_outbound_telemarketing' + | 'direct_marketing_subscription' + | 'direct_marketing_travel' + | 'discount_stores' + | 'doctors' + | 'door_to_door_sales' + | 'drapery_window_covering_and_upholstery_stores' + | 'drinking_places' + | 'drug_stores_and_pharmacies' + | 'drugs_drug_proprietaries_and_druggist_sundries' + | 'dry_cleaners' + | 'durable_goods' + | 'duty_free_stores' + | 'eating_places_restaurants' + | 'educational_services' + | 'electric_razor_stores' + | 'electric_vehicle_charging' + | 'electrical_parts_and_equipment' + | 'electrical_services' + | 'electronics_repair_shops' + | 'electronics_stores' + | 'elementary_secondary_schools' + | 'emergency_services_gcas_visa_use_only' + | 'employment_temp_agencies' + | 'equipment_rental' + | 'exterminating_services' + | 'family_clothing_stores' + | 'fast_food_restaurants' + | 'financial_institutions' + | 'fines_government_administrative_entities' + | 'fireplace_fireplace_screens_and_accessories_stores' + | 'floor_covering_stores' + | 'florists' + | 'florists_supplies_nursery_stock_and_flowers' + | 'freezer_and_locker_meat_provisioners' + | 'fuel_dealers_non_automotive' + | 'funeral_services_crematories' + | 'furniture_home_furnishings_and_equipment_stores_except_appliances' + | 'furniture_repair_refinishing' + | 'furriers_and_fur_shops' + | 'general_services' + | 'gift_card_novelty_and_souvenir_shops' + | 'glass_paint_and_wallpaper_stores' + | 'glassware_crystal_stores' + | 'golf_courses_public' + | 'government_licensed_horse_dog_racing_us_region_only' + | 'government_licensed_online_casions_online_gambling_us_region_only' + | 'government_owned_lotteries_non_us_region' + | 'government_owned_lotteries_us_region_only' + | 'government_services' + | 'grocery_stores_supermarkets' + | 'hardware_equipment_and_supplies' + | 'hardware_stores' + | 'health_and_beauty_spas' + | 'hearing_aids_sales_and_supplies' + | 'heating_plumbing_a_c' + | 'hobby_toy_and_game_shops' + | 'home_supply_warehouse_stores' + | 'hospitals' + | 'hotels_motels_and_resorts' + | 'household_appliance_stores' + | 'industrial_supplies' + | 'information_retrieval_services' + | 'insurance_default' + | 'insurance_underwriting_premiums' + | 'intra_company_purchases' + | 'jewelry_stores_watches_clocks_and_silverware_stores' + | 'landscaping_services' + | 'laundries' + | 'laundry_cleaning_services' + | 'legal_services_attorneys' + | 'luggage_and_leather_goods_stores' + | 'lumber_building_materials_stores' + | 'manual_cash_disburse' + | 'marinas_service_and_supplies' + | 'marketplaces' + | 'masonry_stonework_and_plaster' + | 'massage_parlors' + | 'medical_and_dental_labs' + | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' + | 'medical_services' + | 'membership_organizations' + | 'mens_and_boys_clothing_and_accessories_stores' + | 'mens_womens_clothing_stores' + | 'metal_service_centers' + | 'miscellaneous' + | 'miscellaneous_apparel_and_accessory_shops' + | 'miscellaneous_auto_dealers' + | 'miscellaneous_business_services' + | 'miscellaneous_food_stores' + | 'miscellaneous_general_merchandise' + | 'miscellaneous_general_services' + | 'miscellaneous_home_furnishing_specialty_stores' + | 'miscellaneous_publishing_and_printing' + | 'miscellaneous_recreation_services' + | 'miscellaneous_repair_shops' + | 'miscellaneous_specialty_retail' + | 'mobile_home_dealers' + | 'motion_picture_theaters' + | 'motor_freight_carriers_and_trucking' + | 'motor_homes_dealers' + | 'motor_vehicle_supplies_and_new_parts' + | 'motorcycle_shops_and_dealers' + | 'motorcycle_shops_dealers' + | 'music_stores_musical_instruments_pianos_and_sheet_music' + | 'news_dealers_and_newsstands' + | 'non_fi_money_orders' + | 'non_fi_stored_value_card_purchase_load' + | 'nondurable_goods' + | 'nurseries_lawn_and_garden_supply_stores' + | 'nursing_personal_care' + | 'office_and_commercial_furniture' + | 'opticians_eyeglasses' + | 'optometrists_ophthalmologist' + | 'orthopedic_goods_prosthetic_devices' + | 'osteopaths' + | 'package_stores_beer_wine_and_liquor' + | 'paints_varnishes_and_supplies' + | 'parking_lots_garages' + | 'passenger_railways' + | 'pawn_shops' + | 'pet_shops_pet_food_and_supplies' + | 'petroleum_and_petroleum_products' + | 'photo_developing' + | 'photographic_photocopy_microfilm_equipment_and_supplies' + | 'photographic_studios' + | 'picture_video_production' + | 'piece_goods_notions_and_other_dry_goods' + | 'plumbing_heating_equipment_and_supplies' + | 'political_organizations' + | 'postal_services_government_only' + | 'precious_stones_and_metals_watches_and_jewelry' + | 'professional_services' + | 'public_warehousing_and_storage' + | 'quick_copy_repro_and_blueprint' + | 'railroads' + | 'real_estate_agents_and_managers_rentals' + | 'record_stores' + | 'recreational_vehicle_rentals' + | 'religious_goods_stores' + | 'religious_organizations' + | 'roofing_siding_sheet_metal' + | 'secretarial_support_services' + | 'security_brokers_dealers' + | 'service_stations' + | 'sewing_needlework_fabric_and_piece_goods_stores' + | 'shoe_repair_hat_cleaning' + | 'shoe_stores' + | 'small_appliance_repair' + | 'snowmobile_dealers' + | 'special_trade_services' + | 'specialty_cleaning' + | 'sporting_goods_stores' + | 'sporting_recreation_camps' + | 'sports_and_riding_apparel_stores' + | 'sports_clubs_fields' + | 'stamp_and_coin_stores' + | 'stationary_office_supplies_printing_and_writing_paper' + | 'stationery_stores_office_and_school_supply_stores' + | 'swimming_pools_sales' + | 't_ui_travel_germany' + | 'tailors_alterations' + | 'tax_payments_government_agencies' + | 'tax_preparation_services' + | 'taxicabs_limousines' + | 'telecommunication_equipment_and_telephone_sales' + | 'telecommunication_services' + | 'telegraph_services' + | 'tent_and_awning_shops' + | 'testing_laboratories' + | 'theatrical_ticket_agencies' + | 'timeshares' + | 'tire_retreading_and_repair' + | 'tolls_bridge_fees' + | 'tourist_attractions_and_exhibits' + | 'towing_services' + | 'trailer_parks_campgrounds' + | 'transportation_services' + | 'travel_agencies_tour_operators' + | 'truck_stop_iteration' + | 'truck_utility_trailer_rentals' + | 'typesetting_plate_making_and_related_services' + | 'typewriter_stores' + | 'u_s_federal_government_agencies_or_departments' + | 'uniforms_commercial_clothing' + | 'used_merchandise_and_secondhand_stores' + | 'utilities' + | 'variety_stores' + | 'veterinary_services' + | 'video_amusement_game_supplies' + | 'video_game_arcades' + | 'video_tape_rental_stores' + | 'vocational_trade_schools' + | 'watch_jewelry_repair' + | 'welding_repair' + | 'wholesale_clubs' + | 'wig_and_toupee_stores' + | 'wires_money_orders' + | 'womens_accessory_and_specialty_shops' + | 'womens_ready_to_wear_stores' + | 'wrecking_and_salvage_yards'; + + export type BlockedCardPresence = 'not_present' | 'present'; + + export type BlockedCategory = + | 'ac_refrigeration_repair' + | 'accounting_bookkeeping_services' + | 'advertising_services' + | 'agricultural_cooperative' + | 'airlines_air_carriers' + | 'airports_flying_fields' + | 'ambulance_services' + | 'amusement_parks_carnivals' + | 'antique_reproductions' + | 'antique_shops' + | 'aquariums' + | 'architectural_surveying_services' + | 'art_dealers_and_galleries' + | 'artists_supply_and_craft_shops' + | 'auto_and_home_supply_stores' + | 'auto_body_repair_shops' + | 'auto_paint_shops' + | 'auto_service_shops' + | 'automated_cash_disburse' + | 'automated_fuel_dispensers' + | 'automobile_associations' + | 'automotive_parts_and_accessories_stores' + | 'automotive_tire_stores' + | 'bail_and_bond_payments' + | 'bakeries' + | 'bands_orchestras' + | 'barber_and_beauty_shops' + | 'betting_casino_gambling' + | 'bicycle_shops' + | 'billiard_pool_establishments' + | 'boat_dealers' + | 'boat_rentals_and_leases' + | 'book_stores' + | 'books_periodicals_and_newspapers' + | 'bowling_alleys' + | 'bus_lines' + | 'business_secretarial_schools' + | 'buying_shopping_services' + | 'cable_satellite_and_other_pay_television_and_radio' + | 'camera_and_photographic_supply_stores' + | 'candy_nut_and_confectionery_stores' + | 'car_and_truck_dealers_new_used' + | 'car_and_truck_dealers_used_only' + | 'car_rental_agencies' + | 'car_washes' + | 'carpentry_services' + | 'carpet_upholstery_cleaning' + | 'caterers' + | 'charitable_and_social_service_organizations_fundraising' + | 'chemicals_and_allied_products' + | 'child_care_services' + | 'childrens_and_infants_wear_stores' + | 'chiropodists_podiatrists' + | 'chiropractors' + | 'cigar_stores_and_stands' + | 'civic_social_fraternal_associations' + | 'cleaning_and_maintenance' + | 'clothing_rental' + | 'colleges_universities' + | 'commercial_equipment' + | 'commercial_footwear' + | 'commercial_photography_art_and_graphics' + | 'commuter_transport_and_ferries' + | 'computer_network_services' + | 'computer_programming' + | 'computer_repair' + | 'computer_software_stores' + | 'computers_peripherals_and_software' + | 'concrete_work_services' + | 'construction_materials' + | 'consulting_public_relations' + | 'correspondence_schools' + | 'cosmetic_stores' + | 'counseling_services' + | 'country_clubs' + | 'courier_services' + | 'court_costs' + | 'credit_reporting_agencies' + | 'cruise_lines' + | 'dairy_products_stores' + | 'dance_hall_studios_schools' + | 'dating_escort_services' + | 'dentists_orthodontists' + | 'department_stores' + | 'detective_agencies' + | 'digital_goods_applications' + | 'digital_goods_games' + | 'digital_goods_large_volume' + | 'digital_goods_media' + | 'direct_marketing_catalog_merchant' + | 'direct_marketing_combination_catalog_and_retail_merchant' + | 'direct_marketing_inbound_telemarketing' + | 'direct_marketing_insurance_services' + | 'direct_marketing_other' + | 'direct_marketing_outbound_telemarketing' + | 'direct_marketing_subscription' + | 'direct_marketing_travel' + | 'discount_stores' + | 'doctors' + | 'door_to_door_sales' + | 'drapery_window_covering_and_upholstery_stores' + | 'drinking_places' + | 'drug_stores_and_pharmacies' + | 'drugs_drug_proprietaries_and_druggist_sundries' + | 'dry_cleaners' + | 'durable_goods' + | 'duty_free_stores' + | 'eating_places_restaurants' + | 'educational_services' + | 'electric_razor_stores' + | 'electric_vehicle_charging' + | 'electrical_parts_and_equipment' + | 'electrical_services' + | 'electronics_repair_shops' + | 'electronics_stores' + | 'elementary_secondary_schools' + | 'emergency_services_gcas_visa_use_only' + | 'employment_temp_agencies' + | 'equipment_rental' + | 'exterminating_services' + | 'family_clothing_stores' + | 'fast_food_restaurants' + | 'financial_institutions' + | 'fines_government_administrative_entities' + | 'fireplace_fireplace_screens_and_accessories_stores' + | 'floor_covering_stores' + | 'florists' + | 'florists_supplies_nursery_stock_and_flowers' + | 'freezer_and_locker_meat_provisioners' + | 'fuel_dealers_non_automotive' + | 'funeral_services_crematories' + | 'furniture_home_furnishings_and_equipment_stores_except_appliances' + | 'furniture_repair_refinishing' + | 'furriers_and_fur_shops' + | 'general_services' + | 'gift_card_novelty_and_souvenir_shops' + | 'glass_paint_and_wallpaper_stores' + | 'glassware_crystal_stores' + | 'golf_courses_public' + | 'government_licensed_horse_dog_racing_us_region_only' + | 'government_licensed_online_casions_online_gambling_us_region_only' + | 'government_owned_lotteries_non_us_region' + | 'government_owned_lotteries_us_region_only' + | 'government_services' + | 'grocery_stores_supermarkets' + | 'hardware_equipment_and_supplies' + | 'hardware_stores' + | 'health_and_beauty_spas' + | 'hearing_aids_sales_and_supplies' + | 'heating_plumbing_a_c' + | 'hobby_toy_and_game_shops' + | 'home_supply_warehouse_stores' + | 'hospitals' + | 'hotels_motels_and_resorts' + | 'household_appliance_stores' + | 'industrial_supplies' + | 'information_retrieval_services' + | 'insurance_default' + | 'insurance_underwriting_premiums' + | 'intra_company_purchases' + | 'jewelry_stores_watches_clocks_and_silverware_stores' + | 'landscaping_services' + | 'laundries' + | 'laundry_cleaning_services' + | 'legal_services_attorneys' + | 'luggage_and_leather_goods_stores' + | 'lumber_building_materials_stores' + | 'manual_cash_disburse' + | 'marinas_service_and_supplies' + | 'marketplaces' + | 'masonry_stonework_and_plaster' + | 'massage_parlors' + | 'medical_and_dental_labs' + | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' + | 'medical_services' + | 'membership_organizations' + | 'mens_and_boys_clothing_and_accessories_stores' + | 'mens_womens_clothing_stores' + | 'metal_service_centers' + | 'miscellaneous' + | 'miscellaneous_apparel_and_accessory_shops' + | 'miscellaneous_auto_dealers' + | 'miscellaneous_business_services' + | 'miscellaneous_food_stores' + | 'miscellaneous_general_merchandise' + | 'miscellaneous_general_services' + | 'miscellaneous_home_furnishing_specialty_stores' + | 'miscellaneous_publishing_and_printing' + | 'miscellaneous_recreation_services' + | 'miscellaneous_repair_shops' + | 'miscellaneous_specialty_retail' + | 'mobile_home_dealers' + | 'motion_picture_theaters' + | 'motor_freight_carriers_and_trucking' + | 'motor_homes_dealers' + | 'motor_vehicle_supplies_and_new_parts' + | 'motorcycle_shops_and_dealers' + | 'motorcycle_shops_dealers' + | 'music_stores_musical_instruments_pianos_and_sheet_music' + | 'news_dealers_and_newsstands' + | 'non_fi_money_orders' + | 'non_fi_stored_value_card_purchase_load' + | 'nondurable_goods' + | 'nurseries_lawn_and_garden_supply_stores' + | 'nursing_personal_care' + | 'office_and_commercial_furniture' + | 'opticians_eyeglasses' + | 'optometrists_ophthalmologist' + | 'orthopedic_goods_prosthetic_devices' + | 'osteopaths' + | 'package_stores_beer_wine_and_liquor' + | 'paints_varnishes_and_supplies' + | 'parking_lots_garages' + | 'passenger_railways' + | 'pawn_shops' + | 'pet_shops_pet_food_and_supplies' + | 'petroleum_and_petroleum_products' + | 'photo_developing' + | 'photographic_photocopy_microfilm_equipment_and_supplies' + | 'photographic_studios' + | 'picture_video_production' + | 'piece_goods_notions_and_other_dry_goods' + | 'plumbing_heating_equipment_and_supplies' + | 'political_organizations' + | 'postal_services_government_only' + | 'precious_stones_and_metals_watches_and_jewelry' + | 'professional_services' + | 'public_warehousing_and_storage' + | 'quick_copy_repro_and_blueprint' + | 'railroads' + | 'real_estate_agents_and_managers_rentals' + | 'record_stores' + | 'recreational_vehicle_rentals' + | 'religious_goods_stores' + | 'religious_organizations' + | 'roofing_siding_sheet_metal' + | 'secretarial_support_services' + | 'security_brokers_dealers' + | 'service_stations' + | 'sewing_needlework_fabric_and_piece_goods_stores' + | 'shoe_repair_hat_cleaning' + | 'shoe_stores' + | 'small_appliance_repair' + | 'snowmobile_dealers' + | 'special_trade_services' + | 'specialty_cleaning' + | 'sporting_goods_stores' + | 'sporting_recreation_camps' + | 'sports_and_riding_apparel_stores' + | 'sports_clubs_fields' + | 'stamp_and_coin_stores' + | 'stationary_office_supplies_printing_and_writing_paper' + | 'stationery_stores_office_and_school_supply_stores' + | 'swimming_pools_sales' + | 't_ui_travel_germany' + | 'tailors_alterations' + | 'tax_payments_government_agencies' + | 'tax_preparation_services' + | 'taxicabs_limousines' + | 'telecommunication_equipment_and_telephone_sales' + | 'telecommunication_services' + | 'telegraph_services' + | 'tent_and_awning_shops' + | 'testing_laboratories' + | 'theatrical_ticket_agencies' + | 'timeshares' + | 'tire_retreading_and_repair' + | 'tolls_bridge_fees' + | 'tourist_attractions_and_exhibits' + | 'towing_services' + | 'trailer_parks_campgrounds' + | 'transportation_services' + | 'travel_agencies_tour_operators' + | 'truck_stop_iteration' + | 'truck_utility_trailer_rentals' + | 'typesetting_plate_making_and_related_services' + | 'typewriter_stores' + | 'u_s_federal_government_agencies_or_departments' + | 'uniforms_commercial_clothing' + | 'used_merchandise_and_secondhand_stores' + | 'utilities' + | 'variety_stores' + | 'veterinary_services' + | 'video_amusement_game_supplies' + | 'video_game_arcades' + | 'video_tape_rental_stores' + | 'vocational_trade_schools' + | 'watch_jewelry_repair' + | 'welding_repair' + | 'wholesale_clubs' + | 'wig_and_toupee_stores' + | 'wires_money_orders' + | 'womens_accessory_and_specialty_shops' + | 'womens_ready_to_wear_stores' + | 'wrecking_and_salvage_yards'; + + export interface SpendingLimit { + /** + * Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + amount: number; - /** - * The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. - */ - front: string | File | null; - } - } - } + /** + * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. + */ + categories: Array | null; - export namespace Requirements { - export type DisabledReason = - | 'listed' - | 'rejected.listed' - | 'requirements.past_due' - | 'under_review'; - - export type PastDue = - | 'company.tax_id' - | 'individual.card_issuing.user_terms_acceptance.date' - | 'individual.card_issuing.user_terms_acceptance.ip' - | 'individual.dob.day' - | 'individual.dob.month' - | 'individual.dob.year' - | 'individual.first_name' - | 'individual.last_name' - | 'individual.verification.document'; + /** + * Interval (or event) to which the amount applies. + */ + interval: SpendingLimit.Interval; } - export namespace SpendingControls { - export type AllowedCardPresence = 'not_present' | 'present'; - - export type AllowedCategory = + export namespace SpendingLimit { + export type Category = | 'ac_refrigeration_repair' | 'accounting_bookkeeping_services' | 'advertising_services' @@ -640,628 +1249,13 @@ export namespace Issuing { | 'womens_ready_to_wear_stores' | 'wrecking_and_salvage_yards'; - export type BlockedCardPresence = 'not_present' | 'present'; - - export type BlockedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electric_vehicle_charging' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'emergency_services_gcas_visa_use_only' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_licensed_horse_dog_racing_us_region_only' - | 'government_licensed_online_casions_online_gambling_us_region_only' - | 'government_owned_lotteries_non_us_region' - | 'government_owned_lotteries_us_region_only' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'marketplaces' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - export interface SpendingLimit { - /** - * Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount: number; - - /** - * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. - */ - categories: Array | null; - - /** - * Interval (or event) to which the amount applies. - */ - interval: SpendingLimit.Interval; - } - - export namespace SpendingLimit { - export type Category = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electric_vehicle_charging' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'emergency_services_gcas_visa_use_only' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_licensed_horse_dog_racing_us_region_only' - | 'government_licensed_online_casions_online_gambling_us_region_only' - | 'government_owned_lotteries_non_us_region' - | 'government_owned_lotteries_us_region_only' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'marketplaces' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - export type Interval = - | 'all_time' - | 'daily' - | 'monthly' - | 'per_authorization' - | 'weekly' - | 'yearly'; - } + export type Interval = + | 'all_time' + | 'daily' + | 'monthly' + | 'per_authorization' + | 'weekly' + | 'yearly'; } } } diff --git a/src/resources/Issuing/Cards.ts b/src/resources/Issuing/Cards.ts index 2032e0b3c4..9ef5c190e4 100644 --- a/src/resources/Issuing/Cards.ts +++ b/src/resources/Issuing/Cards.ts @@ -89,7 +89,7 @@ export interface Card { /** * The reason why the card was canceled. */ - cancellation_reason: Issuing.Card.CancellationReason | null; + cancellation_reason: Card.CancellationReason | null; /** * An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://docs.stripe.com/issuing) cards. @@ -136,12 +136,12 @@ export interface Card { /** * Stripe's assessment of whether this card's details have been compromised. If this property isn't null, cancel and reissue the card to prevent fraudulent activity risk. */ - latest_fraud_warning: Issuing.Card.LatestFraudWarning | null; + latest_fraud_warning: Card.LatestFraudWarning | null; /** * Rules that control the lifecycle of this card, such as automatic cancellation. Refer to our [documentation](https://docs.stripe.com/issuing/controls/lifecycle-controls) for more details. */ - lifecycle_controls: Issuing.Card.LifecycleControls | null; + lifecycle_controls: Card.LifecycleControls | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -176,7 +176,7 @@ export interface Card { /** * The reason why the previous card needed to be replaced. */ - replacement_reason: Issuing.Card.ReplacementReason | null; + replacement_reason: Card.ReplacementReason | null; /** * Text separate from cardholder name, printed on the card. @@ -186,255 +186,864 @@ export interface Card { /** * Where and how the card will be shipped. */ - shipping: Issuing.Card.Shipping | null; + shipping: Card.Shipping | null; - spending_controls: Issuing.Card.SpendingControls; + spending_controls: Card.SpendingControls; /** * Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. */ - status: Issuing.Card.Status; + status: Card.Status; /** * The type of the card. */ - type: Issuing.Card.Type; + type: Card.Type; /** * Information relating to digital wallets (like Apple Pay and Google Pay). */ - wallets: Issuing.Card.Wallets | null; + wallets: Card.Wallets | null; } -export namespace Issuing { - export namespace Card { - export type CancellationReason = - | 'design_rejected' - | 'fulfillment_error' - | 'lost' - | 'stolen'; - - export interface LatestFraudWarning { - /** - * Timestamp of the most recent fraud warning. - */ - started_at: number | null; +export namespace Card { + export type CancellationReason = + | 'design_rejected' + | 'fulfillment_error' + | 'lost' + | 'stolen'; + + export interface LatestFraudWarning { + /** + * Timestamp of the most recent fraud warning. + */ + started_at: number | null; - /** - * The type of fraud warning that most recently took place on this card. This field updates with every new fraud warning, so the value changes over time. If populated, cancel and reissue the card. - */ - type: LatestFraudWarning.Type | null; - } + /** + * The type of fraud warning that most recently took place on this card. This field updates with every new fraud warning, so the value changes over time. If populated, cancel and reissue the card. + */ + type: LatestFraudWarning.Type | null; + } - export interface LifecycleControls { - cancel_after: LifecycleControls.CancelAfter; - } + export interface LifecycleControls { + cancel_after: LifecycleControls.CancelAfter; + } - export type ReplacementReason = - | 'damaged' - | 'expired' - | 'fulfillment_error' - | 'lost' - | 'stolen'; + export type ReplacementReason = + | 'damaged' + | 'expired' + | 'fulfillment_error' + | 'lost' + | 'stolen'; - export interface Shipping { - address: Address; + export interface Shipping { + address: Address; - /** - * Address validation details for the shipment. - */ - address_validation: Shipping.AddressValidation | null; + /** + * Address validation details for the shipment. + */ + address_validation: Shipping.AddressValidation | null; - /** - * The delivery company that shipped a card. - */ - carrier: Shipping.Carrier | null; + /** + * The delivery company that shipped a card. + */ + carrier: Shipping.Carrier | null; - /** - * Additional information that may be required for clearing customs. - */ - customs: Shipping.Customs | null; + /** + * Additional information that may be required for clearing customs. + */ + customs: Shipping.Customs | null; - /** - * A unix timestamp representing a best estimate of when the card will be delivered. - */ - eta: number | null; + /** + * A unix timestamp representing a best estimate of when the card will be delivered. + */ + eta: number | null; - /** - * Recipient name. - */ - name: string; + /** + * Recipient name. + */ + name: string; - /** - * The phone number of the receiver of the shipment. Our courier partners will use this number to contact you in the event of card delivery issues. For individual shipments to the EU/UK, if this field is empty, we will provide them with the phone number provided when the cardholder was initially created. - */ - phone_number: string | null; + /** + * The phone number of the receiver of the shipment. Our courier partners will use this number to contact you in the event of card delivery issues. For individual shipments to the EU/UK, if this field is empty, we will provide them with the phone number provided when the cardholder was initially created. + */ + phone_number: string | null; - /** - * Whether a signature is required for card delivery. This feature is only supported for US users. Standard shipping service does not support signature on delivery. The default value for standard shipping service is false and for express and priority services is true. - */ - require_signature: boolean | null; + /** + * Whether a signature is required for card delivery. This feature is only supported for US users. Standard shipping service does not support signature on delivery. The default value for standard shipping service is false and for express and priority services is true. + */ + require_signature: boolean | null; - /** - * Shipment service, such as `standard` or `express`. - */ - service: Shipping.Service; + /** + * Shipment service, such as `standard` or `express`. + */ + service: Shipping.Service; - /** - * The delivery status of the card. - */ - status: Shipping.Status | null; + /** + * The delivery status of the card. + */ + status: Shipping.Status | null; - /** - * A tracking number for a card shipment. - */ - tracking_number: string | null; + /** + * A tracking number for a card shipment. + */ + tracking_number: string | null; - /** - * A link to the shipping carrier's site where you can view detailed information about a card shipment. - */ - tracking_url: string | null; + /** + * A link to the shipping carrier's site where you can view detailed information about a card shipment. + */ + tracking_url: string | null; - /** - * Packaging options. - */ - type: Shipping.Type; - } + /** + * Packaging options. + */ + type: Shipping.Type; + } - export interface SpendingControls { - /** - * Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control. - */ - allowed_card_presences: Array< - SpendingControls.AllowedCardPresence - > | null; + export interface SpendingControls { + /** + * Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control. + */ + allowed_card_presences: Array | null; - /** - * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories: Array | null; + /** + * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. + */ + allowed_categories: Array | null; - /** - * Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control. - */ - allowed_merchant_countries: Array | null; + /** + * Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control. + */ + allowed_merchant_countries: Array | null; - /** - * Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control. - */ - blocked_card_presences: Array< - SpendingControls.BlockedCardPresence - > | null; + /** + * Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control. + */ + blocked_card_presences: Array | null; + + /** + * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. + */ + blocked_categories: Array | null; + + /** + * Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control. + */ + blocked_merchant_countries: Array | null; + + /** + * Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain). + */ + spending_limits: Array | null; + + /** + * Currency of the amounts within `spending_limits`. Always the same as the currency of the card. + */ + spending_limits_currency: string | null; + } + + export type Status = 'active' | 'canceled' | 'inactive'; + + export type Type = 'physical' | 'virtual'; + + export interface Wallets { + apple_pay: Wallets.ApplePay; + + google_pay: Wallets.GooglePay; + + /** + * Unique identifier for a card used with digital wallets + */ + primary_account_identifier: string | null; + } + + export namespace LatestFraudWarning { + export type Type = + | 'card_testing_exposure' + | 'fraud_dispute_filed' + | 'third_party_reported' + | 'user_indicated_fraud'; + } + export namespace LifecycleControls { + export interface CancelAfter { /** - * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. + * The card is automatically cancelled when it makes this number of non-zero payment authorizations and transactions. The count includes penny authorizations, but doesn't include non-payment actions, such as authorization advice. */ - blocked_categories: Array | null; + payment_count: number; + } + } + export namespace Shipping { + export interface AddressValidation { /** - * Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control. + * The address validation capabilities to use. */ - blocked_merchant_countries: Array | null; + mode: AddressValidation.Mode; /** - * Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain). + * The normalized shipping address. */ - spending_limits: Array | null; + normalized_address: Address | null; /** - * Currency of the amounts within `spending_limits`. Always the same as the currency of the card. + * The validation result for the shipping address. */ - spending_limits_currency: string | null; + result: AddressValidation.Result | null; } - export type Status = 'active' | 'canceled' | 'inactive'; - - export type Type = 'physical' | 'virtual'; - - export interface Wallets { - apple_pay: Wallets.ApplePay; - - google_pay: Wallets.GooglePay; + export type Carrier = 'dhl' | 'fedex' | 'royal_mail' | 'usps'; + export interface Customs { /** - * Unique identifier for a card used with digital wallets + * A registration number used for customs in Europe. See [https://www.gov.uk/eori](https://www.gov.uk/eori) for the UK and [https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en](https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en) for the EU. */ - primary_account_identifier: string | null; - } - - export namespace LatestFraudWarning { - export type Type = - | 'card_testing_exposure' - | 'fraud_dispute_filed' - | 'third_party_reported' - | 'user_indicated_fraud'; + eori_number: string | null; } - export namespace LifecycleControls { - export interface CancelAfter { - /** - * The card is automatically cancelled when it makes this number of non-zero payment authorizations and transactions. The count includes penny authorizations, but doesn't include non-payment actions, such as authorization advice. - */ - payment_count: number; - } + export type Service = 'express' | 'priority' | 'standard'; + + export type Status = + | 'canceled' + | 'delivered' + | 'failure' + | 'pending' + | 'returned' + | 'shipped' + | 'submitted'; + + export type Type = 'bulk' | 'individual'; + + export namespace AddressValidation { + export type Mode = + | 'disabled' + | 'normalization_only' + | 'validation_and_normalization'; + + export type Result = + | 'indeterminate' + | 'likely_deliverable' + | 'likely_undeliverable'; } + } - export namespace Shipping { - export interface AddressValidation { - /** - * The address validation capabilities to use. - */ - mode: AddressValidation.Mode; - - /** - * The normalized shipping address. - */ - normalized_address: Address | null; - - /** - * The validation result for the shipping address. - */ - result: AddressValidation.Result | null; - } - - export type Carrier = 'dhl' | 'fedex' | 'royal_mail' | 'usps'; - - export interface Customs { - /** - * A registration number used for customs in Europe. See [https://www.gov.uk/eori](https://www.gov.uk/eori) for the UK and [https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en](https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en) for the EU. - */ - eori_number: string | null; - } - - export type Service = 'express' | 'priority' | 'standard'; - - export type Status = - | 'canceled' - | 'delivered' - | 'failure' - | 'pending' - | 'returned' - | 'shipped' - | 'submitted'; - - export type Type = 'bulk' | 'individual'; + export namespace SpendingControls { + export type AllowedCardPresence = 'not_present' | 'present'; + + export type AllowedCategory = + | 'ac_refrigeration_repair' + | 'accounting_bookkeeping_services' + | 'advertising_services' + | 'agricultural_cooperative' + | 'airlines_air_carriers' + | 'airports_flying_fields' + | 'ambulance_services' + | 'amusement_parks_carnivals' + | 'antique_reproductions' + | 'antique_shops' + | 'aquariums' + | 'architectural_surveying_services' + | 'art_dealers_and_galleries' + | 'artists_supply_and_craft_shops' + | 'auto_and_home_supply_stores' + | 'auto_body_repair_shops' + | 'auto_paint_shops' + | 'auto_service_shops' + | 'automated_cash_disburse' + | 'automated_fuel_dispensers' + | 'automobile_associations' + | 'automotive_parts_and_accessories_stores' + | 'automotive_tire_stores' + | 'bail_and_bond_payments' + | 'bakeries' + | 'bands_orchestras' + | 'barber_and_beauty_shops' + | 'betting_casino_gambling' + | 'bicycle_shops' + | 'billiard_pool_establishments' + | 'boat_dealers' + | 'boat_rentals_and_leases' + | 'book_stores' + | 'books_periodicals_and_newspapers' + | 'bowling_alleys' + | 'bus_lines' + | 'business_secretarial_schools' + | 'buying_shopping_services' + | 'cable_satellite_and_other_pay_television_and_radio' + | 'camera_and_photographic_supply_stores' + | 'candy_nut_and_confectionery_stores' + | 'car_and_truck_dealers_new_used' + | 'car_and_truck_dealers_used_only' + | 'car_rental_agencies' + | 'car_washes' + | 'carpentry_services' + | 'carpet_upholstery_cleaning' + | 'caterers' + | 'charitable_and_social_service_organizations_fundraising' + | 'chemicals_and_allied_products' + | 'child_care_services' + | 'childrens_and_infants_wear_stores' + | 'chiropodists_podiatrists' + | 'chiropractors' + | 'cigar_stores_and_stands' + | 'civic_social_fraternal_associations' + | 'cleaning_and_maintenance' + | 'clothing_rental' + | 'colleges_universities' + | 'commercial_equipment' + | 'commercial_footwear' + | 'commercial_photography_art_and_graphics' + | 'commuter_transport_and_ferries' + | 'computer_network_services' + | 'computer_programming' + | 'computer_repair' + | 'computer_software_stores' + | 'computers_peripherals_and_software' + | 'concrete_work_services' + | 'construction_materials' + | 'consulting_public_relations' + | 'correspondence_schools' + | 'cosmetic_stores' + | 'counseling_services' + | 'country_clubs' + | 'courier_services' + | 'court_costs' + | 'credit_reporting_agencies' + | 'cruise_lines' + | 'dairy_products_stores' + | 'dance_hall_studios_schools' + | 'dating_escort_services' + | 'dentists_orthodontists' + | 'department_stores' + | 'detective_agencies' + | 'digital_goods_applications' + | 'digital_goods_games' + | 'digital_goods_large_volume' + | 'digital_goods_media' + | 'direct_marketing_catalog_merchant' + | 'direct_marketing_combination_catalog_and_retail_merchant' + | 'direct_marketing_inbound_telemarketing' + | 'direct_marketing_insurance_services' + | 'direct_marketing_other' + | 'direct_marketing_outbound_telemarketing' + | 'direct_marketing_subscription' + | 'direct_marketing_travel' + | 'discount_stores' + | 'doctors' + | 'door_to_door_sales' + | 'drapery_window_covering_and_upholstery_stores' + | 'drinking_places' + | 'drug_stores_and_pharmacies' + | 'drugs_drug_proprietaries_and_druggist_sundries' + | 'dry_cleaners' + | 'durable_goods' + | 'duty_free_stores' + | 'eating_places_restaurants' + | 'educational_services' + | 'electric_razor_stores' + | 'electric_vehicle_charging' + | 'electrical_parts_and_equipment' + | 'electrical_services' + | 'electronics_repair_shops' + | 'electronics_stores' + | 'elementary_secondary_schools' + | 'emergency_services_gcas_visa_use_only' + | 'employment_temp_agencies' + | 'equipment_rental' + | 'exterminating_services' + | 'family_clothing_stores' + | 'fast_food_restaurants' + | 'financial_institutions' + | 'fines_government_administrative_entities' + | 'fireplace_fireplace_screens_and_accessories_stores' + | 'floor_covering_stores' + | 'florists' + | 'florists_supplies_nursery_stock_and_flowers' + | 'freezer_and_locker_meat_provisioners' + | 'fuel_dealers_non_automotive' + | 'funeral_services_crematories' + | 'furniture_home_furnishings_and_equipment_stores_except_appliances' + | 'furniture_repair_refinishing' + | 'furriers_and_fur_shops' + | 'general_services' + | 'gift_card_novelty_and_souvenir_shops' + | 'glass_paint_and_wallpaper_stores' + | 'glassware_crystal_stores' + | 'golf_courses_public' + | 'government_licensed_horse_dog_racing_us_region_only' + | 'government_licensed_online_casions_online_gambling_us_region_only' + | 'government_owned_lotteries_non_us_region' + | 'government_owned_lotteries_us_region_only' + | 'government_services' + | 'grocery_stores_supermarkets' + | 'hardware_equipment_and_supplies' + | 'hardware_stores' + | 'health_and_beauty_spas' + | 'hearing_aids_sales_and_supplies' + | 'heating_plumbing_a_c' + | 'hobby_toy_and_game_shops' + | 'home_supply_warehouse_stores' + | 'hospitals' + | 'hotels_motels_and_resorts' + | 'household_appliance_stores' + | 'industrial_supplies' + | 'information_retrieval_services' + | 'insurance_default' + | 'insurance_underwriting_premiums' + | 'intra_company_purchases' + | 'jewelry_stores_watches_clocks_and_silverware_stores' + | 'landscaping_services' + | 'laundries' + | 'laundry_cleaning_services' + | 'legal_services_attorneys' + | 'luggage_and_leather_goods_stores' + | 'lumber_building_materials_stores' + | 'manual_cash_disburse' + | 'marinas_service_and_supplies' + | 'marketplaces' + | 'masonry_stonework_and_plaster' + | 'massage_parlors' + | 'medical_and_dental_labs' + | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' + | 'medical_services' + | 'membership_organizations' + | 'mens_and_boys_clothing_and_accessories_stores' + | 'mens_womens_clothing_stores' + | 'metal_service_centers' + | 'miscellaneous' + | 'miscellaneous_apparel_and_accessory_shops' + | 'miscellaneous_auto_dealers' + | 'miscellaneous_business_services' + | 'miscellaneous_food_stores' + | 'miscellaneous_general_merchandise' + | 'miscellaneous_general_services' + | 'miscellaneous_home_furnishing_specialty_stores' + | 'miscellaneous_publishing_and_printing' + | 'miscellaneous_recreation_services' + | 'miscellaneous_repair_shops' + | 'miscellaneous_specialty_retail' + | 'mobile_home_dealers' + | 'motion_picture_theaters' + | 'motor_freight_carriers_and_trucking' + | 'motor_homes_dealers' + | 'motor_vehicle_supplies_and_new_parts' + | 'motorcycle_shops_and_dealers' + | 'motorcycle_shops_dealers' + | 'music_stores_musical_instruments_pianos_and_sheet_music' + | 'news_dealers_and_newsstands' + | 'non_fi_money_orders' + | 'non_fi_stored_value_card_purchase_load' + | 'nondurable_goods' + | 'nurseries_lawn_and_garden_supply_stores' + | 'nursing_personal_care' + | 'office_and_commercial_furniture' + | 'opticians_eyeglasses' + | 'optometrists_ophthalmologist' + | 'orthopedic_goods_prosthetic_devices' + | 'osteopaths' + | 'package_stores_beer_wine_and_liquor' + | 'paints_varnishes_and_supplies' + | 'parking_lots_garages' + | 'passenger_railways' + | 'pawn_shops' + | 'pet_shops_pet_food_and_supplies' + | 'petroleum_and_petroleum_products' + | 'photo_developing' + | 'photographic_photocopy_microfilm_equipment_and_supplies' + | 'photographic_studios' + | 'picture_video_production' + | 'piece_goods_notions_and_other_dry_goods' + | 'plumbing_heating_equipment_and_supplies' + | 'political_organizations' + | 'postal_services_government_only' + | 'precious_stones_and_metals_watches_and_jewelry' + | 'professional_services' + | 'public_warehousing_and_storage' + | 'quick_copy_repro_and_blueprint' + | 'railroads' + | 'real_estate_agents_and_managers_rentals' + | 'record_stores' + | 'recreational_vehicle_rentals' + | 'religious_goods_stores' + | 'religious_organizations' + | 'roofing_siding_sheet_metal' + | 'secretarial_support_services' + | 'security_brokers_dealers' + | 'service_stations' + | 'sewing_needlework_fabric_and_piece_goods_stores' + | 'shoe_repair_hat_cleaning' + | 'shoe_stores' + | 'small_appliance_repair' + | 'snowmobile_dealers' + | 'special_trade_services' + | 'specialty_cleaning' + | 'sporting_goods_stores' + | 'sporting_recreation_camps' + | 'sports_and_riding_apparel_stores' + | 'sports_clubs_fields' + | 'stamp_and_coin_stores' + | 'stationary_office_supplies_printing_and_writing_paper' + | 'stationery_stores_office_and_school_supply_stores' + | 'swimming_pools_sales' + | 't_ui_travel_germany' + | 'tailors_alterations' + | 'tax_payments_government_agencies' + | 'tax_preparation_services' + | 'taxicabs_limousines' + | 'telecommunication_equipment_and_telephone_sales' + | 'telecommunication_services' + | 'telegraph_services' + | 'tent_and_awning_shops' + | 'testing_laboratories' + | 'theatrical_ticket_agencies' + | 'timeshares' + | 'tire_retreading_and_repair' + | 'tolls_bridge_fees' + | 'tourist_attractions_and_exhibits' + | 'towing_services' + | 'trailer_parks_campgrounds' + | 'transportation_services' + | 'travel_agencies_tour_operators' + | 'truck_stop_iteration' + | 'truck_utility_trailer_rentals' + | 'typesetting_plate_making_and_related_services' + | 'typewriter_stores' + | 'u_s_federal_government_agencies_or_departments' + | 'uniforms_commercial_clothing' + | 'used_merchandise_and_secondhand_stores' + | 'utilities' + | 'variety_stores' + | 'veterinary_services' + | 'video_amusement_game_supplies' + | 'video_game_arcades' + | 'video_tape_rental_stores' + | 'vocational_trade_schools' + | 'watch_jewelry_repair' + | 'welding_repair' + | 'wholesale_clubs' + | 'wig_and_toupee_stores' + | 'wires_money_orders' + | 'womens_accessory_and_specialty_shops' + | 'womens_ready_to_wear_stores' + | 'wrecking_and_salvage_yards'; + + export type BlockedCardPresence = 'not_present' | 'present'; + + export type BlockedCategory = + | 'ac_refrigeration_repair' + | 'accounting_bookkeeping_services' + | 'advertising_services' + | 'agricultural_cooperative' + | 'airlines_air_carriers' + | 'airports_flying_fields' + | 'ambulance_services' + | 'amusement_parks_carnivals' + | 'antique_reproductions' + | 'antique_shops' + | 'aquariums' + | 'architectural_surveying_services' + | 'art_dealers_and_galleries' + | 'artists_supply_and_craft_shops' + | 'auto_and_home_supply_stores' + | 'auto_body_repair_shops' + | 'auto_paint_shops' + | 'auto_service_shops' + | 'automated_cash_disburse' + | 'automated_fuel_dispensers' + | 'automobile_associations' + | 'automotive_parts_and_accessories_stores' + | 'automotive_tire_stores' + | 'bail_and_bond_payments' + | 'bakeries' + | 'bands_orchestras' + | 'barber_and_beauty_shops' + | 'betting_casino_gambling' + | 'bicycle_shops' + | 'billiard_pool_establishments' + | 'boat_dealers' + | 'boat_rentals_and_leases' + | 'book_stores' + | 'books_periodicals_and_newspapers' + | 'bowling_alleys' + | 'bus_lines' + | 'business_secretarial_schools' + | 'buying_shopping_services' + | 'cable_satellite_and_other_pay_television_and_radio' + | 'camera_and_photographic_supply_stores' + | 'candy_nut_and_confectionery_stores' + | 'car_and_truck_dealers_new_used' + | 'car_and_truck_dealers_used_only' + | 'car_rental_agencies' + | 'car_washes' + | 'carpentry_services' + | 'carpet_upholstery_cleaning' + | 'caterers' + | 'charitable_and_social_service_organizations_fundraising' + | 'chemicals_and_allied_products' + | 'child_care_services' + | 'childrens_and_infants_wear_stores' + | 'chiropodists_podiatrists' + | 'chiropractors' + | 'cigar_stores_and_stands' + | 'civic_social_fraternal_associations' + | 'cleaning_and_maintenance' + | 'clothing_rental' + | 'colleges_universities' + | 'commercial_equipment' + | 'commercial_footwear' + | 'commercial_photography_art_and_graphics' + | 'commuter_transport_and_ferries' + | 'computer_network_services' + | 'computer_programming' + | 'computer_repair' + | 'computer_software_stores' + | 'computers_peripherals_and_software' + | 'concrete_work_services' + | 'construction_materials' + | 'consulting_public_relations' + | 'correspondence_schools' + | 'cosmetic_stores' + | 'counseling_services' + | 'country_clubs' + | 'courier_services' + | 'court_costs' + | 'credit_reporting_agencies' + | 'cruise_lines' + | 'dairy_products_stores' + | 'dance_hall_studios_schools' + | 'dating_escort_services' + | 'dentists_orthodontists' + | 'department_stores' + | 'detective_agencies' + | 'digital_goods_applications' + | 'digital_goods_games' + | 'digital_goods_large_volume' + | 'digital_goods_media' + | 'direct_marketing_catalog_merchant' + | 'direct_marketing_combination_catalog_and_retail_merchant' + | 'direct_marketing_inbound_telemarketing' + | 'direct_marketing_insurance_services' + | 'direct_marketing_other' + | 'direct_marketing_outbound_telemarketing' + | 'direct_marketing_subscription' + | 'direct_marketing_travel' + | 'discount_stores' + | 'doctors' + | 'door_to_door_sales' + | 'drapery_window_covering_and_upholstery_stores' + | 'drinking_places' + | 'drug_stores_and_pharmacies' + | 'drugs_drug_proprietaries_and_druggist_sundries' + | 'dry_cleaners' + | 'durable_goods' + | 'duty_free_stores' + | 'eating_places_restaurants' + | 'educational_services' + | 'electric_razor_stores' + | 'electric_vehicle_charging' + | 'electrical_parts_and_equipment' + | 'electrical_services' + | 'electronics_repair_shops' + | 'electronics_stores' + | 'elementary_secondary_schools' + | 'emergency_services_gcas_visa_use_only' + | 'employment_temp_agencies' + | 'equipment_rental' + | 'exterminating_services' + | 'family_clothing_stores' + | 'fast_food_restaurants' + | 'financial_institutions' + | 'fines_government_administrative_entities' + | 'fireplace_fireplace_screens_and_accessories_stores' + | 'floor_covering_stores' + | 'florists' + | 'florists_supplies_nursery_stock_and_flowers' + | 'freezer_and_locker_meat_provisioners' + | 'fuel_dealers_non_automotive' + | 'funeral_services_crematories' + | 'furniture_home_furnishings_and_equipment_stores_except_appliances' + | 'furniture_repair_refinishing' + | 'furriers_and_fur_shops' + | 'general_services' + | 'gift_card_novelty_and_souvenir_shops' + | 'glass_paint_and_wallpaper_stores' + | 'glassware_crystal_stores' + | 'golf_courses_public' + | 'government_licensed_horse_dog_racing_us_region_only' + | 'government_licensed_online_casions_online_gambling_us_region_only' + | 'government_owned_lotteries_non_us_region' + | 'government_owned_lotteries_us_region_only' + | 'government_services' + | 'grocery_stores_supermarkets' + | 'hardware_equipment_and_supplies' + | 'hardware_stores' + | 'health_and_beauty_spas' + | 'hearing_aids_sales_and_supplies' + | 'heating_plumbing_a_c' + | 'hobby_toy_and_game_shops' + | 'home_supply_warehouse_stores' + | 'hospitals' + | 'hotels_motels_and_resorts' + | 'household_appliance_stores' + | 'industrial_supplies' + | 'information_retrieval_services' + | 'insurance_default' + | 'insurance_underwriting_premiums' + | 'intra_company_purchases' + | 'jewelry_stores_watches_clocks_and_silverware_stores' + | 'landscaping_services' + | 'laundries' + | 'laundry_cleaning_services' + | 'legal_services_attorneys' + | 'luggage_and_leather_goods_stores' + | 'lumber_building_materials_stores' + | 'manual_cash_disburse' + | 'marinas_service_and_supplies' + | 'marketplaces' + | 'masonry_stonework_and_plaster' + | 'massage_parlors' + | 'medical_and_dental_labs' + | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' + | 'medical_services' + | 'membership_organizations' + | 'mens_and_boys_clothing_and_accessories_stores' + | 'mens_womens_clothing_stores' + | 'metal_service_centers' + | 'miscellaneous' + | 'miscellaneous_apparel_and_accessory_shops' + | 'miscellaneous_auto_dealers' + | 'miscellaneous_business_services' + | 'miscellaneous_food_stores' + | 'miscellaneous_general_merchandise' + | 'miscellaneous_general_services' + | 'miscellaneous_home_furnishing_specialty_stores' + | 'miscellaneous_publishing_and_printing' + | 'miscellaneous_recreation_services' + | 'miscellaneous_repair_shops' + | 'miscellaneous_specialty_retail' + | 'mobile_home_dealers' + | 'motion_picture_theaters' + | 'motor_freight_carriers_and_trucking' + | 'motor_homes_dealers' + | 'motor_vehicle_supplies_and_new_parts' + | 'motorcycle_shops_and_dealers' + | 'motorcycle_shops_dealers' + | 'music_stores_musical_instruments_pianos_and_sheet_music' + | 'news_dealers_and_newsstands' + | 'non_fi_money_orders' + | 'non_fi_stored_value_card_purchase_load' + | 'nondurable_goods' + | 'nurseries_lawn_and_garden_supply_stores' + | 'nursing_personal_care' + | 'office_and_commercial_furniture' + | 'opticians_eyeglasses' + | 'optometrists_ophthalmologist' + | 'orthopedic_goods_prosthetic_devices' + | 'osteopaths' + | 'package_stores_beer_wine_and_liquor' + | 'paints_varnishes_and_supplies' + | 'parking_lots_garages' + | 'passenger_railways' + | 'pawn_shops' + | 'pet_shops_pet_food_and_supplies' + | 'petroleum_and_petroleum_products' + | 'photo_developing' + | 'photographic_photocopy_microfilm_equipment_and_supplies' + | 'photographic_studios' + | 'picture_video_production' + | 'piece_goods_notions_and_other_dry_goods' + | 'plumbing_heating_equipment_and_supplies' + | 'political_organizations' + | 'postal_services_government_only' + | 'precious_stones_and_metals_watches_and_jewelry' + | 'professional_services' + | 'public_warehousing_and_storage' + | 'quick_copy_repro_and_blueprint' + | 'railroads' + | 'real_estate_agents_and_managers_rentals' + | 'record_stores' + | 'recreational_vehicle_rentals' + | 'religious_goods_stores' + | 'religious_organizations' + | 'roofing_siding_sheet_metal' + | 'secretarial_support_services' + | 'security_brokers_dealers' + | 'service_stations' + | 'sewing_needlework_fabric_and_piece_goods_stores' + | 'shoe_repair_hat_cleaning' + | 'shoe_stores' + | 'small_appliance_repair' + | 'snowmobile_dealers' + | 'special_trade_services' + | 'specialty_cleaning' + | 'sporting_goods_stores' + | 'sporting_recreation_camps' + | 'sports_and_riding_apparel_stores' + | 'sports_clubs_fields' + | 'stamp_and_coin_stores' + | 'stationary_office_supplies_printing_and_writing_paper' + | 'stationery_stores_office_and_school_supply_stores' + | 'swimming_pools_sales' + | 't_ui_travel_germany' + | 'tailors_alterations' + | 'tax_payments_government_agencies' + | 'tax_preparation_services' + | 'taxicabs_limousines' + | 'telecommunication_equipment_and_telephone_sales' + | 'telecommunication_services' + | 'telegraph_services' + | 'tent_and_awning_shops' + | 'testing_laboratories' + | 'theatrical_ticket_agencies' + | 'timeshares' + | 'tire_retreading_and_repair' + | 'tolls_bridge_fees' + | 'tourist_attractions_and_exhibits' + | 'towing_services' + | 'trailer_parks_campgrounds' + | 'transportation_services' + | 'travel_agencies_tour_operators' + | 'truck_stop_iteration' + | 'truck_utility_trailer_rentals' + | 'typesetting_plate_making_and_related_services' + | 'typewriter_stores' + | 'u_s_federal_government_agencies_or_departments' + | 'uniforms_commercial_clothing' + | 'used_merchandise_and_secondhand_stores' + | 'utilities' + | 'variety_stores' + | 'veterinary_services' + | 'video_amusement_game_supplies' + | 'video_game_arcades' + | 'video_tape_rental_stores' + | 'vocational_trade_schools' + | 'watch_jewelry_repair' + | 'welding_repair' + | 'wholesale_clubs' + | 'wig_and_toupee_stores' + | 'wires_money_orders' + | 'womens_accessory_and_specialty_shops' + | 'womens_ready_to_wear_stores' + | 'wrecking_and_salvage_yards'; + + export interface SpendingLimit { + /** + * Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + amount: number; - export namespace AddressValidation { - export type Mode = - | 'disabled' - | 'normalization_only' - | 'validation_and_normalization'; + /** + * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. + */ + categories: Array | null; - export type Result = - | 'indeterminate' - | 'likely_deliverable' - | 'likely_undeliverable'; - } + /** + * Interval (or event) to which the amount applies. + */ + interval: SpendingLimit.Interval; } - export namespace SpendingControls { - export type AllowedCardPresence = 'not_present' | 'present'; - - export type AllowedCategory = + export namespace SpendingLimit { + export type Category = | 'ac_refrigeration_repair' | 'accounting_bookkeeping_services' | 'advertising_services' @@ -731,668 +1340,53 @@ export namespace Issuing { | 'womens_ready_to_wear_stores' | 'wrecking_and_salvage_yards'; - export type BlockedCardPresence = 'not_present' | 'present'; + export type Interval = + | 'all_time' + | 'daily' + | 'monthly' + | 'per_authorization' + | 'weekly' + | 'yearly'; + } + } - export type BlockedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electric_vehicle_charging' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'emergency_services_gcas_visa_use_only' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_licensed_horse_dog_racing_us_region_only' - | 'government_licensed_online_casions_online_gambling_us_region_only' - | 'government_owned_lotteries_non_us_region' - | 'government_owned_lotteries_us_region_only' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'marketplaces' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - export interface SpendingLimit { - /** - * Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount: number; - - /** - * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. - */ - categories: Array | null; - - /** - * Interval (or event) to which the amount applies. - */ - interval: SpendingLimit.Interval; - } - - export namespace SpendingLimit { - export type Category = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electric_vehicle_charging' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'emergency_services_gcas_visa_use_only' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_licensed_horse_dog_racing_us_region_only' - | 'government_licensed_online_casions_online_gambling_us_region_only' - | 'government_owned_lotteries_non_us_region' - | 'government_owned_lotteries_us_region_only' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'marketplaces' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; + export namespace Wallets { + export interface ApplePay { + /** + * Apple Pay Eligibility + */ + eligible: boolean; - export type Interval = - | 'all_time' - | 'daily' - | 'monthly' - | 'per_authorization' - | 'weekly' - | 'yearly'; - } + /** + * Reason the card is ineligible for Apple Pay + */ + ineligible_reason: ApplePay.IneligibleReason | null; } - export namespace Wallets { - export interface ApplePay { - /** - * Apple Pay Eligibility - */ - eligible: boolean; - - /** - * Reason the card is ineligible for Apple Pay - */ - ineligible_reason: ApplePay.IneligibleReason | null; - } - - export interface GooglePay { - /** - * Google Pay Eligibility - */ - eligible: boolean; + export interface GooglePay { + /** + * Google Pay Eligibility + */ + eligible: boolean; - /** - * Reason the card is ineligible for Google Pay - */ - ineligible_reason: GooglePay.IneligibleReason | null; - } + /** + * Reason the card is ineligible for Google Pay + */ + ineligible_reason: GooglePay.IneligibleReason | null; + } - export namespace ApplePay { - export type IneligibleReason = - | 'missing_agreement' - | 'missing_cardholder_contact' - | 'unsupported_region'; - } + export namespace ApplePay { + export type IneligibleReason = + | 'missing_agreement' + | 'missing_cardholder_contact' + | 'unsupported_region'; + } - export namespace GooglePay { - export type IneligibleReason = - | 'missing_agreement' - | 'missing_cardholder_contact' - | 'unsupported_region'; - } + export namespace GooglePay { + export type IneligibleReason = + | 'missing_agreement' + | 'missing_cardholder_contact' + | 'unsupported_region'; } } } diff --git a/src/resources/Issuing/Disputes.ts b/src/resources/Issuing/Disputes.ts index 65bd2db360..2a3712184c 100644 --- a/src/resources/Issuing/Disputes.ts +++ b/src/resources/Issuing/Disputes.ts @@ -116,7 +116,7 @@ export interface Dispute { */ currency: string; - evidence: Issuing.Dispute.Evidence; + evidence: Dispute.Evidence; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -126,7 +126,7 @@ export interface Dispute { /** * The enum that describes the dispute loss outcome. If the dispute is not lost, this field will be absent. New enum values may be added in the future, so be sure to handle unknown values. */ - loss_reason?: Issuing.Dispute.LossReason; + loss_reason?: Dispute.LossReason; /** * 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. @@ -136,7 +136,7 @@ export interface Dispute { /** * Current status of the dispute. */ - status: Issuing.Dispute.Status; + status: Dispute.Status; /** * The transaction being disputed. @@ -146,318 +146,311 @@ export interface Dispute { /** * [Treasury](https://docs.stripe.com/api/treasury) details related to this dispute if it was created on a [FinancialAccount](https://docs.stripe.com/api/treasury/financial_accounts) */ - treasury?: Issuing.Dispute.Treasury | null; + treasury?: Dispute.Treasury | null; } -export namespace Issuing { - export namespace Dispute { - export interface Evidence { - canceled?: Evidence.Canceled; +export namespace Dispute { + export interface Evidence { + canceled?: Evidence.Canceled; - duplicate?: Evidence.Duplicate; + duplicate?: Evidence.Duplicate; - fraudulent?: Evidence.Fraudulent; + fraudulent?: Evidence.Fraudulent; - merchandise_not_as_described?: Evidence.MerchandiseNotAsDescribed; + merchandise_not_as_described?: Evidence.MerchandiseNotAsDescribed; - no_valid_authorization?: Evidence.NoValidAuthorization; + no_valid_authorization?: Evidence.NoValidAuthorization; - not_received?: Evidence.NotReceived; + not_received?: Evidence.NotReceived; - other?: Evidence.Other; + other?: Evidence.Other; - /** - * The reason for filing the dispute. Its value will match the field containing the evidence. - */ - reason: Evidence.Reason; + /** + * The reason for filing the dispute. Its value will match the field containing the evidence. + */ + reason: Evidence.Reason; - service_not_as_described?: Evidence.ServiceNotAsDescribed; - } + service_not_as_described?: Evidence.ServiceNotAsDescribed; + } - export type LossReason = - | 'cardholder_authentication_issuer_liability' - | 'eci5_token_transaction_with_tavv' - | 'excess_disputes_in_timeframe' - | 'has_not_met_the_minimum_dispute_amount_requirements' - | 'invalid_duplicate_dispute' - | 'invalid_incorrect_amount_dispute' - | 'invalid_no_authorization' - | 'invalid_use_of_disputes' - | 'merchandise_delivered_or_shipped' - | 'merchandise_or_service_as_described' - | 'not_cancelled' - | 'other' - | 'refund_issued' - | 'submitted_beyond_allowable_time_limit' - | 'transaction_3ds_required' - | 'transaction_approved_after_prior_fraud_dispute' - | 'transaction_authorized' - | 'transaction_electronically_read' - | 'transaction_qualifies_for_visa_easy_payment_service' - | 'transaction_unattended'; + export type LossReason = + | 'cardholder_authentication_issuer_liability' + | 'eci5_token_transaction_with_tavv' + | 'excess_disputes_in_timeframe' + | 'has_not_met_the_minimum_dispute_amount_requirements' + | 'invalid_duplicate_dispute' + | 'invalid_incorrect_amount_dispute' + | 'invalid_no_authorization' + | 'invalid_use_of_disputes' + | 'merchandise_delivered_or_shipped' + | 'merchandise_or_service_as_described' + | 'not_cancelled' + | 'other' + | 'refund_issued' + | 'submitted_beyond_allowable_time_limit' + | 'transaction_3ds_required' + | 'transaction_approved_after_prior_fraud_dispute' + | 'transaction_authorized' + | 'transaction_electronically_read' + | 'transaction_qualifies_for_visa_easy_payment_service' + | 'transaction_unattended'; + + export type Status = 'expired' | 'lost' | 'submitted' | 'unsubmitted' | 'won'; + + export interface Treasury { + /** + * The Treasury [DebitReversal](https://docs.stripe.com/api/treasury/debit_reversals) representing this Issuing dispute + */ + debit_reversal: string | null; - export type Status = - | 'expired' - | 'lost' - | 'submitted' - | 'unsubmitted' - | 'won'; + /** + * The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) that is being disputed. + */ + received_debit: string; + } - export interface Treasury { + export namespace Evidence { + export interface Canceled { /** - * The Treasury [DebitReversal](https://docs.stripe.com/api/treasury/debit_reversals) representing this Issuing dispute + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. */ - debit_reversal: string | null; + additional_documentation: string | File | null; /** - * The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) that is being disputed. + * Date when order was canceled. */ - received_debit: string; - } + canceled_at: number | null; - export namespace Evidence { - export interface Canceled { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; - - /** - * Date when order was canceled. - */ - canceled_at: number | null; - - /** - * Whether the cardholder was provided with a cancellation policy. - */ - cancellation_policy_provided: boolean | null; + /** + * Whether the cardholder was provided with a cancellation policy. + */ + cancellation_policy_provided: boolean | null; - /** - * Reason for canceling the order. - */ - cancellation_reason: string | null; + /** + * Reason for canceling the order. + */ + cancellation_reason: string | null; - /** - * Date when the cardholder expected to receive the product. - */ - expected_at: number | null; + /** + * Date when the cardholder expected to receive the product. + */ + expected_at: number | null; - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; + /** + * Explanation of why the cardholder is disputing this transaction. + */ + explanation: string | null; - /** - * Description of the merchandise or service that was purchased. - */ - product_description: string | null; + /** + * Description of the merchandise or service that was purchased. + */ + product_description: string | null; - /** - * Whether the product was a merchandise or service. - */ - product_type: Canceled.ProductType | null; + /** + * Whether the product was a merchandise or service. + */ + product_type: Canceled.ProductType | null; - /** - * Result of cardholder's attempt to return the product. - */ - return_status: Canceled.ReturnStatus | null; + /** + * Result of cardholder's attempt to return the product. + */ + return_status: Canceled.ReturnStatus | null; - /** - * Date when the product was returned or attempted to be returned. - */ - returned_at: number | null; - } + /** + * Date when the product was returned or attempted to be returned. + */ + returned_at: number | null; + } - export interface Duplicate { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; + export interface Duplicate { + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. + */ + additional_documentation: string | File | null; - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. - */ - card_statement: string | File | null; + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. + */ + card_statement: string | File | null; - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash. - */ - cash_receipt: string | File | null; + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash. + */ + cash_receipt: string | File | null; - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product. - */ - check_image: string | File | null; + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product. + */ + check_image: string | File | null; - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; + /** + * Explanation of why the cardholder is disputing this transaction. + */ + explanation: string | null; - /** - * Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one. - */ - original_transaction: string | null; - } + /** + * Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one. + */ + original_transaction: string | null; + } - export interface Fraudulent { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; + export interface Fraudulent { + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. + */ + additional_documentation: string | File | null; - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - } + /** + * Explanation of why the cardholder is disputing this transaction. + */ + explanation: string | null; + } - export interface MerchandiseNotAsDescribed { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; + export interface MerchandiseNotAsDescribed { + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. + */ + additional_documentation: string | File | null; - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; + /** + * Explanation of why the cardholder is disputing this transaction. + */ + explanation: string | null; - /** - * Date when the product was received. - */ - received_at: number | null; + /** + * Date when the product was received. + */ + received_at: number | null; - /** - * Description of the cardholder's attempt to return the product. - */ - return_description: string | null; + /** + * Description of the cardholder's attempt to return the product. + */ + return_description: string | null; - /** - * Result of cardholder's attempt to return the product. - */ - return_status: MerchandiseNotAsDescribed.ReturnStatus | null; + /** + * Result of cardholder's attempt to return the product. + */ + return_status: MerchandiseNotAsDescribed.ReturnStatus | null; - /** - * Date when the product was returned or attempted to be returned. - */ - returned_at: number | null; - } + /** + * Date when the product was returned or attempted to be returned. + */ + returned_at: number | null; + } - export interface NoValidAuthorization { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; + export interface NoValidAuthorization { + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. + */ + additional_documentation: string | File | null; - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - } + /** + * Explanation of why the cardholder is disputing this transaction. + */ + explanation: string | null; + } - export interface NotReceived { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; + export interface NotReceived { + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. + */ + additional_documentation: string | File | null; - /** - * Date when the cardholder expected to receive the product. - */ - expected_at: number | null; + /** + * Date when the cardholder expected to receive the product. + */ + expected_at: number | null; - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; + /** + * Explanation of why the cardholder is disputing this transaction. + */ + explanation: string | null; - /** - * Description of the merchandise or service that was purchased. - */ - product_description: string | null; + /** + * Description of the merchandise or service that was purchased. + */ + product_description: string | null; - /** - * Whether the product was a merchandise or service. - */ - product_type: NotReceived.ProductType | null; - } + /** + * Whether the product was a merchandise or service. + */ + product_type: NotReceived.ProductType | null; + } - export interface Other { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; + export interface Other { + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. + */ + additional_documentation: string | File | null; - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; + /** + * Explanation of why the cardholder is disputing this transaction. + */ + explanation: string | null; - /** - * Description of the merchandise or service that was purchased. - */ - product_description: string | null; + /** + * Description of the merchandise or service that was purchased. + */ + product_description: string | null; - /** - * Whether the product was a merchandise or service. - */ - product_type: Other.ProductType | null; - } + /** + * Whether the product was a merchandise or service. + */ + product_type: Other.ProductType | null; + } - export type Reason = - | 'canceled' - | 'duplicate' - | 'fraudulent' - | 'merchandise_not_as_described' - | 'no_valid_authorization' - | 'not_received' - | 'other' - | 'service_not_as_described'; + export type Reason = + | 'canceled' + | 'duplicate' + | 'fraudulent' + | 'merchandise_not_as_described' + | 'no_valid_authorization' + | 'not_received' + | 'other' + | 'service_not_as_described'; - export interface ServiceNotAsDescribed { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; + export interface ServiceNotAsDescribed { + /** + * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. + */ + additional_documentation: string | File | null; - /** - * Date when order was canceled. - */ - canceled_at: number | null; + /** + * Date when order was canceled. + */ + canceled_at: number | null; - /** - * Reason for canceling the order. - */ - cancellation_reason: string | null; + /** + * Reason for canceling the order. + */ + cancellation_reason: string | null; - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; + /** + * Explanation of why the cardholder is disputing this transaction. + */ + explanation: string | null; - /** - * Date when the product was received. - */ - received_at: number | null; - } + /** + * Date when the product was received. + */ + received_at: number | null; + } - export namespace Canceled { - export type ProductType = 'merchandise' | 'service'; + export namespace Canceled { + export type ProductType = 'merchandise' | 'service'; - export type ReturnStatus = 'merchant_rejected' | 'successful'; - } + export type ReturnStatus = 'merchant_rejected' | 'successful'; + } - export namespace MerchandiseNotAsDescribed { - export type ReturnStatus = 'merchant_rejected' | 'successful'; - } + export namespace MerchandiseNotAsDescribed { + export type ReturnStatus = 'merchant_rejected' | 'successful'; + } - export namespace NotReceived { - export type ProductType = 'merchandise' | 'service'; - } + export namespace NotReceived { + export type ProductType = 'merchandise' | 'service'; + } - export namespace Other { - export type ProductType = 'merchandise' | 'service'; - } + export namespace Other { + export type ProductType = 'merchandise' | 'service'; } } } diff --git a/src/resources/Issuing/PersonalizationDesigns.ts b/src/resources/Issuing/PersonalizationDesigns.ts index d0dc4d4769..7dd3cd436b 100644 --- a/src/resources/Issuing/PersonalizationDesigns.ts +++ b/src/resources/Issuing/PersonalizationDesigns.ts @@ -93,7 +93,7 @@ export interface PersonalizationDesign { /** * Hash containing carrier text, for use with physical bundles that support carrier text. */ - carrier_text: Issuing.PersonalizationDesign.CarrierText | null; + carrier_text: PersonalizationDesign.CarrierText | null; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -125,85 +125,83 @@ export interface PersonalizationDesign { */ physical_bundle: string | PhysicalBundle; - preferences: Issuing.PersonalizationDesign.Preferences; + preferences: PersonalizationDesign.Preferences; - rejection_reasons: Issuing.PersonalizationDesign.RejectionReasons; + rejection_reasons: PersonalizationDesign.RejectionReasons; /** * Whether this personalization design can be used to create cards. */ - status: Issuing.PersonalizationDesign.Status; + status: PersonalizationDesign.Status; } -export namespace Issuing { - export namespace PersonalizationDesign { - export interface CarrierText { - /** - * The footer body text of the carrier letter. - */ - footer_body: string | null; - - /** - * The footer title text of the carrier letter. - */ - footer_title: string | null; +export namespace PersonalizationDesign { + export interface CarrierText { + /** + * The footer body text of the carrier letter. + */ + footer_body: string | null; - /** - * The header body text of the carrier letter. - */ - header_body: string | null; + /** + * The footer title text of the carrier letter. + */ + footer_title: string | null; - /** - * The header title text of the carrier letter. - */ - header_title: string | null; - } + /** + * The header body text of the carrier letter. + */ + header_body: string | null; - export interface Preferences { - /** - * Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. - */ - is_default: boolean; + /** + * The header title text of the carrier letter. + */ + header_title: string | null; + } - /** - * Whether this personalization design is used to create cards when one is not specified and a default for this connected account does not exist. - */ - is_platform_default: boolean | null; - } + export interface Preferences { + /** + * Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design. + */ + is_default: boolean; - export interface RejectionReasons { - /** - * The reason(s) the card logo was rejected. - */ - card_logo: Array | null; + /** + * Whether this personalization design is used to create cards when one is not specified and a default for this connected account does not exist. + */ + is_platform_default: boolean | null; + } - /** - * The reason(s) the carrier text was rejected. - */ - carrier_text: Array | null; - } + export interface RejectionReasons { + /** + * The reason(s) the card logo was rejected. + */ + card_logo: Array | null; - export type Status = 'active' | 'inactive' | 'rejected' | 'review'; + /** + * The reason(s) the carrier text was rejected. + */ + carrier_text: Array | null; + } - export namespace RejectionReasons { - export type CardLogo = - | 'geographic_location' - | 'inappropriate' - | 'network_name' - | 'non_binary_image' - | 'non_fiat_currency' - | 'other' - | 'other_entity' - | 'promotional_material'; - - export type CarrierText = - | 'geographic_location' - | 'inappropriate' - | 'network_name' - | 'non_fiat_currency' - | 'other' - | 'other_entity' - | 'promotional_material'; - } + export type Status = 'active' | 'inactive' | 'rejected' | 'review'; + + export namespace RejectionReasons { + export type CardLogo = + | 'geographic_location' + | 'inappropriate' + | 'network_name' + | 'non_binary_image' + | 'non_fiat_currency' + | 'other' + | 'other_entity' + | 'promotional_material'; + + export type CarrierText = + | 'geographic_location' + | 'inappropriate' + | 'network_name' + | 'non_fiat_currency' + | 'other' + | 'other_entity' + | 'promotional_material'; } } export namespace Issuing { diff --git a/src/resources/Issuing/PhysicalBundles.ts b/src/resources/Issuing/PhysicalBundles.ts index 13f84b4987..eca84d0718 100644 --- a/src/resources/Issuing/PhysicalBundles.ts +++ b/src/resources/Issuing/PhysicalBundles.ts @@ -49,7 +49,7 @@ export interface PhysicalBundle { */ object: 'issuing.physical_bundle'; - features: Issuing.PhysicalBundle.Features; + features: PhysicalBundle.Features; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -64,43 +64,41 @@ export interface PhysicalBundle { /** * Whether this physical bundle can be used to create cards. */ - status: Issuing.PhysicalBundle.Status; + status: PhysicalBundle.Status; /** * Whether this physical bundle is a standard Stripe offering or custom-made for you. */ - type: Issuing.PhysicalBundle.Type; + type: PhysicalBundle.Type; } -export namespace Issuing { - export namespace PhysicalBundle { - export interface Features { - /** - * The policy for how to use card logo images in a card design with this physical bundle. - */ - card_logo: Features.CardLogo; - - /** - * The policy for how to use carrier letter text in a card design with this physical bundle. - */ - carrier_text: Features.CarrierText; - - /** - * The policy for how to use a second line on a card with this physical bundle. - */ - second_line: Features.SecondLine; - } +export namespace PhysicalBundle { + export interface Features { + /** + * The policy for how to use card logo images in a card design with this physical bundle. + */ + card_logo: Features.CardLogo; - export type Status = 'active' | 'inactive' | 'review'; + /** + * The policy for how to use carrier letter text in a card design with this physical bundle. + */ + carrier_text: Features.CarrierText; - export type Type = 'custom' | 'standard'; + /** + * The policy for how to use a second line on a card with this physical bundle. + */ + second_line: Features.SecondLine; + } + + export type Status = 'active' | 'inactive' | 'review'; + + export type Type = 'custom' | 'standard'; - export namespace Features { - export type CardLogo = 'optional' | 'required' | 'unsupported'; + export namespace Features { + export type CardLogo = 'optional' | 'required' | 'unsupported'; - export type CarrierText = 'optional' | 'required' | 'unsupported'; + export type CarrierText = 'optional' | 'required' | 'unsupported'; - export type SecondLine = 'optional' | 'required' | 'unsupported'; - } + export type SecondLine = 'optional' | 'required' | 'unsupported'; } } export namespace Issuing { diff --git a/src/resources/Issuing/Tokens.ts b/src/resources/Issuing/Tokens.ts index 601fcaa6ed..14850f31f0 100644 --- a/src/resources/Issuing/Tokens.ts +++ b/src/resources/Issuing/Tokens.ts @@ -87,9 +87,9 @@ export interface Token { /** * The token service provider / card network associated with the token. */ - network: Issuing.Token.Network; + network: Token.Network; - network_data?: Issuing.Token.NetworkData; + network_data?: Token.NetworkData; /** * Time at which the token was last updated by the card network. Measured in seconds since the Unix epoch. @@ -99,215 +99,213 @@ export interface Token { /** * The usage state of the token. */ - status: Issuing.Token.Status; + status: Token.Status; /** * The digital wallet for this token, if one was used. */ - wallet_provider?: Issuing.Token.WalletProvider; + wallet_provider?: Token.WalletProvider; } -export namespace Issuing { - export namespace Token { - export type Network = 'mastercard' | 'visa'; +export namespace Token { + export type Network = 'mastercard' | 'visa'; + + export interface NetworkData { + device?: NetworkData.Device; + + mastercard?: NetworkData.Mastercard; + + /** + * The network that the token is associated with. An additional hash is included with a name matching this value, containing tokenization data specific to the card network. + */ + type: NetworkData.Type; + + visa?: NetworkData.Visa; - export interface NetworkData { - device?: NetworkData.Device; + wallet_provider?: NetworkData.WalletProvider; + } + + export type Status = 'active' | 'deleted' | 'requested' | 'suspended'; - mastercard?: NetworkData.Mastercard; + export type WalletProvider = 'apple_pay' | 'google_pay' | 'samsung_pay'; + export namespace NetworkData { + export interface Device { /** - * The network that the token is associated with. An additional hash is included with a name matching this value, containing tokenization data specific to the card network. + * An obfuscated ID derived from the device ID. */ - type: NetworkData.Type; + device_fingerprint?: string; - visa?: NetworkData.Visa; - - wallet_provider?: NetworkData.WalletProvider; - } + /** + * The IP address of the device at provisioning time. + */ + ip_address?: string; - export type Status = 'active' | 'deleted' | 'requested' | 'suspended'; + /** + * The geographic latitude/longitude coordinates of the device at provisioning time. The format is [+-]decimal/[+-]decimal. + */ + location?: string; - export type WalletProvider = 'apple_pay' | 'google_pay' | 'samsung_pay'; + /** + * The name of the device used for tokenization. + */ + name?: string; - export namespace NetworkData { - export interface Device { - /** - * An obfuscated ID derived from the device ID. - */ - device_fingerprint?: string; + /** + * The phone number of the device used for tokenization. + */ + phone_number?: string; - /** - * The IP address of the device at provisioning time. - */ - ip_address?: string; + /** + * The type of device used for tokenization. + */ + type?: Device.Type; + } - /** - * The geographic latitude/longitude coordinates of the device at provisioning time. The format is [+-]decimal/[+-]decimal. - */ - location?: string; + export interface Mastercard { + /** + * A unique reference ID from MasterCard to represent the card account number. + */ + card_reference_id?: string; - /** - * The name of the device used for tokenization. - */ - name?: string; + /** + * The network-unique identifier for the token. + */ + token_reference_id: string; - /** - * The phone number of the device used for tokenization. - */ - phone_number?: string; + /** + * The ID of the entity requesting tokenization, specific to MasterCard. + */ + token_requestor_id: string; - /** - * The type of device used for tokenization. - */ - type?: Device.Type; - } + /** + * The name of the entity requesting tokenization, if known. This is directly provided from MasterCard. + */ + token_requestor_name?: string; + } - export interface Mastercard { - /** - * A unique reference ID from MasterCard to represent the card account number. - */ - card_reference_id?: string; + export type Type = 'mastercard' | 'visa'; - /** - * The network-unique identifier for the token. - */ - token_reference_id: string; + export interface Visa { + /** + * A unique reference ID from Visa to represent the card account number. + */ + card_reference_id: string | null; - /** - * The ID of the entity requesting tokenization, specific to MasterCard. - */ - token_requestor_id: string; + /** + * The network-unique identifier for the token. + */ + token_reference_id: string; - /** - * The name of the entity requesting tokenization, if known. This is directly provided from MasterCard. - */ - token_requestor_name?: string; - } + /** + * The ID of the entity requesting tokenization, specific to Visa. + */ + token_requestor_id: string; - export type Type = 'mastercard' | 'visa'; + /** + * Degree of risk associated with the token between `01` and `99`, with higher number indicating higher risk. A `00` value indicates the token was not scored by Visa. + */ + token_risk_score?: string; + } - export interface Visa { - /** - * A unique reference ID from Visa to represent the card account number. - */ - card_reference_id: string | null; + export interface WalletProvider { + /** + * The wallet provider-given account ID of the digital wallet the token belongs to. + */ + account_id?: string; - /** - * The network-unique identifier for the token. - */ - token_reference_id: string; + /** + * An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy. + */ + account_trust_score?: number; - /** - * The ID of the entity requesting tokenization, specific to Visa. - */ - token_requestor_id: string; + /** + * The method used for tokenizing a card. + */ + card_number_source?: WalletProvider.CardNumberSource; - /** - * Degree of risk associated with the token between `01` and `99`, with higher number indicating higher risk. A `00` value indicates the token was not scored by Visa. - */ - token_risk_score?: string; - } + cardholder_address?: WalletProvider.CardholderAddress; - export interface WalletProvider { - /** - * The wallet provider-given account ID of the digital wallet the token belongs to. - */ - account_id?: string; + /** + * The name of the cardholder tokenizing the card. + */ + cardholder_name?: string; - /** - * An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy. - */ - account_trust_score?: number; + /** + * An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy. + */ + device_trust_score?: number; - /** - * The method used for tokenizing a card. - */ - card_number_source?: WalletProvider.CardNumberSource; + /** + * The hashed email address of the cardholder's account with the wallet provider. + */ + hashed_account_email_address?: string; - cardholder_address?: WalletProvider.CardholderAddress; + /** + * The reasons for suggested tokenization given by the card network. + */ + reason_codes?: Array; - /** - * The name of the cardholder tokenizing the card. - */ - cardholder_name?: string; + /** + * The recommendation on responding to the tokenization request. + */ + suggested_decision?: WalletProvider.SuggestedDecision; - /** - * An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy. - */ - device_trust_score?: number; + /** + * The version of the standard for mapping reason codes followed by the wallet provider. + */ + suggested_decision_version?: string; + } - /** - * The hashed email address of the cardholder's account with the wallet provider. - */ - hashed_account_email_address?: string; + export namespace Device { + export type Type = 'other' | 'phone' | 'watch'; + } - /** - * The reasons for suggested tokenization given by the card network. - */ - reason_codes?: Array; + export namespace WalletProvider { + export type CardNumberSource = 'app' | 'manual' | 'on_file' | 'other'; + export interface CardholderAddress { /** - * The recommendation on responding to the tokenization request. + * The street address of the cardholder tokenizing the card. */ - suggested_decision?: WalletProvider.SuggestedDecision; + line1: string; /** - * The version of the standard for mapping reason codes followed by the wallet provider. + * The postal code of the cardholder tokenizing the card. */ - suggested_decision_version?: string; + postal_code: string; } - export namespace Device { - export type Type = 'other' | 'phone' | 'watch'; - } - - export namespace WalletProvider { - export type CardNumberSource = 'app' | 'manual' | 'on_file' | 'other'; - - export interface CardholderAddress { - /** - * The street address of the cardholder tokenizing the card. - */ - line1: string; - - /** - * The postal code of the cardholder tokenizing the card. - */ - postal_code: string; - } - - export type ReasonCode = - | 'account_card_too_new' - | 'account_recently_changed' - | 'account_too_new' - | 'account_too_new_since_launch' - | 'additional_device' - | 'data_expired' - | 'defer_id_v_decision' - | 'device_recently_lost' - | 'good_activity_history' - | 'has_suspended_tokens' - | 'high_risk' - | 'inactive_account' - | 'long_account_tenure' - | 'low_account_score' - | 'low_device_score' - | 'low_phone_number_score' - | 'network_service_error' - | 'outside_home_territory' - | 'provisioning_cardholder_mismatch' - | 'provisioning_device_and_cardholder_mismatch' - | 'provisioning_device_mismatch' - | 'same_device_no_prior_authentication' - | 'same_device_successful_prior_authentication' - | 'software_update' - | 'suspicious_activity' - | 'too_many_different_cardholders' - | 'too_many_recent_attempts' - | 'too_many_recent_tokens'; - - export type SuggestedDecision = 'approve' | 'decline' | 'require_auth'; - } + export type ReasonCode = + | 'account_card_too_new' + | 'account_recently_changed' + | 'account_too_new' + | 'account_too_new_since_launch' + | 'additional_device' + | 'data_expired' + | 'defer_id_v_decision' + | 'device_recently_lost' + | 'good_activity_history' + | 'has_suspended_tokens' + | 'high_risk' + | 'inactive_account' + | 'long_account_tenure' + | 'low_account_score' + | 'low_device_score' + | 'low_phone_number_score' + | 'network_service_error' + | 'outside_home_territory' + | 'provisioning_cardholder_mismatch' + | 'provisioning_device_and_cardholder_mismatch' + | 'provisioning_device_mismatch' + | 'same_device_no_prior_authentication' + | 'same_device_successful_prior_authentication' + | 'software_update' + | 'suspicious_activity' + | 'too_many_different_cardholders' + | 'too_many_recent_attempts' + | 'too_many_recent_tokens'; + + export type SuggestedDecision = 'approve' | 'decline' | 'require_auth'; } } } diff --git a/src/resources/Issuing/Transactions.ts b/src/resources/Issuing/Transactions.ts index c7a98cab5c..833b7450c2 100644 --- a/src/resources/Issuing/Transactions.ts +++ b/src/resources/Issuing/Transactions.ts @@ -343,7 +343,7 @@ export interface Transaction { /** * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). */ - amount_details: Issuing.Transaction.AmountDetails | null; + amount_details: Transaction.AmountDetails | null; /** * The `Authorization` object that led to this transaction. @@ -395,7 +395,7 @@ export interface Transaction { */ merchant_currency: string; - merchant_data: Issuing.Transaction.MerchantData; + merchant_data: Transaction.MerchantData; /** * 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. @@ -405,12 +405,12 @@ export interface Transaction { /** * Details about the transaction, such as processing dates, set by the card network. */ - network_data: Issuing.Transaction.NetworkData | null; + network_data: Transaction.NetworkData | null; /** * Additional purchase information that is optionally provided by the merchant. */ - purchase_details?: Issuing.Transaction.PurchaseDetails | null; + purchase_details?: Transaction.PurchaseDetails | null; /** * [Token](https://docs.stripe.com/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null. @@ -420,371 +420,369 @@ export interface Transaction { /** * [Treasury](https://docs.stripe.com/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts */ - treasury?: Issuing.Transaction.Treasury | null; + treasury?: Transaction.Treasury | null; /** * The nature of the transaction. */ - type: Issuing.Transaction.Type; + type: Transaction.Type; /** * The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. */ - wallet: Issuing.Transaction.Wallet | null; + wallet: Transaction.Wallet | null; } -export namespace Issuing { - export namespace Transaction { - export interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; +export namespace Transaction { + export interface AmountDetails { + /** + * The fee charged by the ATM for the cash withdrawal. + */ + atm_fee: number | null; - /** - * The amount of cash requested by the cardholder. - */ - cashback_amount: number | null; - } + /** + * The amount of cash requested by the cardholder. + */ + cashback_amount: number | null; + } - export interface MerchantData { - /** - * A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values. - */ - category: string; + export interface MerchantData { + /** + * A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values. + */ + category: string; - /** - * The merchant category code for the seller's business - */ - category_code: string; + /** + * The merchant category code for the seller's business + */ + category_code: string; + + /** + * City where the seller is located + */ + city: string | null; + + /** + * Country where the seller is located + */ + country: string | null; + + /** + * Name of the seller + */ + name: string | null; + + /** + * Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant. + */ + network_id: string; + + /** + * Postal code where the seller is located + */ + postal_code: string | null; + + /** + * State where the seller is located + */ + state: string | null; + + /** + * The seller's tax identification number. Currently populated for French merchants only. + */ + tax_id: string | null; + + /** + * An ID assigned by the seller to the location of the sale. + */ + terminal_id: string | null; + /** + * URL provided by the merchant on a 3DS request + */ + url: string | null; + } + + export interface NetworkData { + /** + * A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. + */ + authorization_code: string | null; + + /** + * The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network. + */ + processing_date: string | null; + + /** + * Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions. + */ + transaction_id: string | null; + } + + export interface PurchaseDetails { + /** + * Fleet-specific information for transactions using Fleet cards. + */ + fleet: PurchaseDetails.Fleet | null; + + /** + * Information about the flight that was purchased with this transaction. + */ + flight: PurchaseDetails.Flight | null; + + /** + * Information about fuel that was purchased with this transaction. + */ + fuel: PurchaseDetails.Fuel | null; + + /** + * Information about lodging that was purchased with this transaction. + */ + lodging: PurchaseDetails.Lodging | null; + + /** + * The line items in the purchase. + */ + receipt: Array | null; + + /** + * A merchant-specific order number. + */ + reference: string | null; + } + + export interface Treasury { + /** + * The Treasury [ReceivedCredit](https://docs.stripe.com/api/treasury/received_credits) representing this Issuing transaction if it is a refund + */ + received_credit: string | null; + + /** + * The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) representing this Issuing transaction if it is a capture + */ + received_debit: string | null; + } + + export type Type = 'capture' | 'refund'; + + export type Wallet = 'apple_pay' | 'google_pay' | 'samsung_pay'; + + export namespace PurchaseDetails { + export interface Fleet { /** - * City where the seller is located + * Answers to prompts presented to cardholder at point of sale. */ - city: string | null; + cardholder_prompt_data: Fleet.CardholderPromptData | null; /** - * Country where the seller is located + * The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`. */ - country: string | null; + purchase_type: string | null; /** - * Name of the seller + * More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data. */ - name: string | null; + reported_breakdown: Fleet.ReportedBreakdown | null; /** - * Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant. + * The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`. */ - network_id: string; + service_type: string | null; + } + export interface Flight { /** - * Postal code where the seller is located + * The time that the flight departed. */ - postal_code: string | null; + departure_at: number | null; /** - * State where the seller is located + * The name of the passenger. */ - state: string | null; + passenger_name: string | null; /** - * The seller's tax identification number. Currently populated for French merchants only. + * Whether the ticket is refundable. */ - tax_id: string | null; + refundable: boolean | null; /** - * An ID assigned by the seller to the location of the sale. + * The legs of the trip. */ - terminal_id: string | null; + segments: Array | null; /** - * URL provided by the merchant on a 3DS request + * The travel agency that issued the ticket. */ - url: string | null; + travel_agency: string | null; } - export interface NetworkData { + export interface Fuel { /** - * A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. + * [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. */ - authorization_code: string | null; + industry_product_code: string | null; /** - * The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network. + * The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. */ - processing_date: string | null; + quantity_decimal: Decimal | null; /** - * Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions. + * The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`. */ - transaction_id: string | null; - } + type: string; - export interface PurchaseDetails { /** - * Fleet-specific information for transactions using Fleet cards. + * The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`. */ - fleet: PurchaseDetails.Fleet | null; + unit: string; /** - * Information about the flight that was purchased with this transaction. + * The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. */ - flight: PurchaseDetails.Flight | null; + unit_cost_decimal: Decimal; + } + export interface Lodging { /** - * Information about fuel that was purchased with this transaction. + * The time of checking into the lodging. */ - fuel: PurchaseDetails.Fuel | null; + check_in_at: number | null; /** - * Information about lodging that was purchased with this transaction. + * The number of nights stayed at the lodging. */ - lodging: PurchaseDetails.Lodging | null; + nights: number | null; + } + export interface Receipt { /** - * The line items in the purchase. + * The description of the item. The maximum length of this field is 26 characters. */ - receipt: Array | null; + description: string | null; /** - * A merchant-specific order number. + * The quantity of the item. */ - reference: string | null; - } + quantity: number | null; - export interface Treasury { /** - * The Treasury [ReceivedCredit](https://docs.stripe.com/api/treasury/received_credits) representing this Issuing transaction if it is a refund + * The total for this line item in cents. */ - received_credit: string | null; + total: number | null; /** - * The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) representing this Issuing transaction if it is a capture + * The unit cost of the item in cents. */ - received_debit: string | null; + unit_cost: number | null; } - export type Type = 'capture' | 'refund'; - - export type Wallet = 'apple_pay' | 'google_pay' | 'samsung_pay'; - - export namespace PurchaseDetails { - export interface Fleet { + export namespace Fleet { + export interface CardholderPromptData { /** - * Answers to prompts presented to cardholder at point of sale. + * Driver ID. */ - cardholder_prompt_data: Fleet.CardholderPromptData | null; + driver_id: string | null; /** - * The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`. + * Odometer reading. */ - purchase_type: string | null; + odometer: number | null; /** - * More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data. + * An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type. */ - reported_breakdown: Fleet.ReportedBreakdown | null; - - /** - * The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`. - */ - service_type: string | null; - } + unspecified_id: string | null; - export interface Flight { /** - * The time that the flight departed. + * User ID. */ - departure_at: number | null; + user_id: string | null; /** - * The name of the passenger. + * Vehicle number. */ - passenger_name: string | null; + vehicle_number: string | null; + } + export interface ReportedBreakdown { /** - * Whether the ticket is refundable. + * Breakdown of fuel portion of the purchase. */ - refundable: boolean | null; + fuel: ReportedBreakdown.Fuel | null; /** - * The legs of the trip. + * Breakdown of non-fuel portion of the purchase. */ - segments: Array | null; + non_fuel: ReportedBreakdown.NonFuel | null; /** - * The travel agency that issued the ticket. + * Information about tax included in this transaction. */ - travel_agency: string | null; + tax: ReportedBreakdown.Tax | null; } - export interface Fuel { - /** - * [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased. - */ - industry_product_code: string | null; - - /** - * The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. - */ - quantity_decimal: Decimal | null; + export namespace ReportedBreakdown { + export interface Fuel { + /** + * Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. + */ + gross_amount_decimal: Decimal | null; + } - /** - * The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`. - */ - type: string; + export interface NonFuel { + /** + * Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. + */ + gross_amount_decimal: Decimal | null; + } - /** - * The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`. - */ - unit: string; + export interface Tax { + /** + * Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. + */ + local_amount_decimal: Decimal | null; - /** - * The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. - */ - unit_cost_decimal: Decimal; + /** + * Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. + */ + national_amount_decimal: Decimal | null; + } } + } - export interface Lodging { + export namespace Flight { + export interface Segment { /** - * The time of checking into the lodging. + * The three-letter IATA airport code of the flight's destination. */ - check_in_at: number | null; + arrival_airport_code: string | null; /** - * The number of nights stayed at the lodging. + * The airline carrier code. */ - nights: number | null; - } + carrier: string | null; - export interface Receipt { /** - * The description of the item. The maximum length of this field is 26 characters. + * The three-letter IATA airport code that the flight departed from. */ - description: string | null; + departure_airport_code: string | null; /** - * The quantity of the item. + * The flight number. */ - quantity: number | null; + flight_number: string | null; /** - * The total for this line item in cents. + * The flight's service class. */ - total: number | null; + service_class: string | null; /** - * The unit cost of the item in cents. + * Whether a stopover is allowed on this flight. */ - unit_cost: number | null; - } - - export namespace Fleet { - export interface CardholderPromptData { - /** - * Driver ID. - */ - driver_id: string | null; - - /** - * Odometer reading. - */ - odometer: number | null; - - /** - * An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type. - */ - unspecified_id: string | null; - - /** - * User ID. - */ - user_id: string | null; - - /** - * Vehicle number. - */ - vehicle_number: string | null; - } - - export interface ReportedBreakdown { - /** - * Breakdown of fuel portion of the purchase. - */ - fuel: ReportedBreakdown.Fuel | null; - - /** - * Breakdown of non-fuel portion of the purchase. - */ - non_fuel: ReportedBreakdown.NonFuel | null; - - /** - * Information about tax included in this transaction. - */ - tax: ReportedBreakdown.Tax | null; - } - - export namespace ReportedBreakdown { - export interface Fuel { - /** - * Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes. - */ - gross_amount_decimal: Decimal | null; - } - - export interface NonFuel { - /** - * Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. - */ - gross_amount_decimal: Decimal | null; - } - - export interface Tax { - /** - * Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax. - */ - local_amount_decimal: Decimal | null; - - /** - * Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax. - */ - national_amount_decimal: Decimal | null; - } - } - } - - export namespace Flight { - export interface Segment { - /** - * The three-letter IATA airport code of the flight's destination. - */ - arrival_airport_code: string | null; - - /** - * The airline carrier code. - */ - carrier: string | null; - - /** - * The three-letter IATA airport code that the flight departed from. - */ - departure_airport_code: string | null; - - /** - * The flight number. - */ - flight_number: string | null; - - /** - * The flight's service class. - */ - service_class: string | null; - - /** - * Whether a stopover is allowed on this flight. - */ - stopover_allowed: boolean | null; - } + stopover_allowed: boolean | null; } } } diff --git a/src/resources/Radar/PaymentEvaluations.ts b/src/resources/Radar/PaymentEvaluations.ts index aa063996a2..82f2822870 100644 --- a/src/resources/Radar/PaymentEvaluations.ts +++ b/src/resources/Radar/PaymentEvaluations.ts @@ -35,7 +35,7 @@ export interface PaymentEvaluation { /** * Client device metadata attached to this payment evaluation. */ - client_device_metadata_details?: Radar.PaymentEvaluation.ClientDeviceMetadataDetails; + client_device_metadata_details?: PaymentEvaluation.ClientDeviceMetadataDetails; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -45,12 +45,12 @@ export interface PaymentEvaluation { /** * Customer details attached to this payment evaluation. */ - customer_details?: Radar.PaymentEvaluation.CustomerDetails; + customer_details?: PaymentEvaluation.CustomerDetails; /** * Event information associated with the payment evaluation, such as refunds, dispute, early fraud warnings, or user interventions. */ - events?: Array; + events?: Array; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -65,126 +65,196 @@ export interface PaymentEvaluation { /** * Indicates the final outcome for the payment evaluation. */ - outcome?: Radar.PaymentEvaluation.Outcome | null; + outcome?: PaymentEvaluation.Outcome | null; /** * Payment details attached to this payment evaluation. */ - payment_details?: Radar.PaymentEvaluation.PaymentDetails; + payment_details?: PaymentEvaluation.PaymentDetails; /** * Recommended action based on the score of the `fraudulent_payment` signal. Possible values are `block`, `continue` and `request_three_d_secure`. */ - recommended_action: Radar.PaymentEvaluation.RecommendedAction; + recommended_action: PaymentEvaluation.RecommendedAction; /** * Collection of signals for this payment evaluation. */ - signals: Radar.PaymentEvaluation.Signals; + signals: PaymentEvaluation.Signals; } -export namespace Radar { - export namespace PaymentEvaluation { - export interface ClientDeviceMetadataDetails { - /** - * ID for the Radar Session associated with the payment evaluation. A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. - */ - radar_session: string; - } +export namespace PaymentEvaluation { + export interface ClientDeviceMetadataDetails { + /** + * ID for the Radar Session associated with the payment evaluation. A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + */ + radar_session: string; + } - export interface CustomerDetails { - /** - * The ID of the customer associated with the payment evaluation. - */ - customer: string | null; + export interface CustomerDetails { + /** + * The ID of the customer associated with the payment evaluation. + */ + customer: string | null; - /** - * The ID of the Account representing the customer associated with the payment evaluation. - */ - customer_account: string | null; + /** + * The ID of the Account representing the customer associated with the payment evaluation. + */ + customer_account: string | null; - /** - * The customer's email address. - */ - email: string | null; + /** + * The customer's email address. + */ + email: string | null; - /** - * The customer's full name or business name. - */ - name: string | null; + /** + * The customer's full name or business name. + */ + name: string | null; - /** - * The customer's phone number. - */ - phone: string | null; - } + /** + * The customer's phone number. + */ + phone: string | null; + } - export interface Event { - /** - * Dispute opened event details attached to this payment evaluation. - */ - dispute_opened?: Event.DisputeOpened; + export interface Event { + /** + * Dispute opened event details attached to this payment evaluation. + */ + dispute_opened?: Event.DisputeOpened; - /** - * Early Fraud Warning Received event details attached to this payment evaluation. - */ - early_fraud_warning_received?: Event.EarlyFraudWarningReceived; + /** + * Early Fraud Warning Received event details attached to this payment evaluation. + */ + early_fraud_warning_received?: Event.EarlyFraudWarningReceived; - /** - * Timestamp when the event occurred. - */ - occurred_at: number; + /** + * Timestamp when the event occurred. + */ + occurred_at: number; - /** - * Refunded Event details attached to this payment evaluation. - */ - refunded?: Event.Refunded; + /** + * Refunded Event details attached to this payment evaluation. + */ + refunded?: Event.Refunded; - /** - * Indicates the type of event attached to the payment evaluation. - */ - type: Event.Type; + /** + * Indicates the type of event attached to the payment evaluation. + */ + type: Event.Type; - /** - * User intervention raised event details attached to this payment evaluation - */ - user_intervention_raised?: Event.UserInterventionRaised; + /** + * User intervention raised event details attached to this payment evaluation + */ + user_intervention_raised?: Event.UserInterventionRaised; - /** - * User Intervention Resolved Event details attached to this payment evaluation - */ - user_intervention_resolved?: Event.UserInterventionResolved; - } + /** + * User Intervention Resolved Event details attached to this payment evaluation + */ + user_intervention_resolved?: Event.UserInterventionResolved; + } - export interface Outcome { - /** - * Details of a merchant_blocked outcome attached to this payment evaluation. - */ - merchant_blocked?: Outcome.MerchantBlocked; + export interface Outcome { + /** + * Details of a merchant_blocked outcome attached to this payment evaluation. + */ + merchant_blocked?: Outcome.MerchantBlocked; + + /** + * The PaymentIntent ID associated with the payment evaluation. + */ + payment_intent_id?: string; + + /** + * Details of an rejected outcome attached to this payment evaluation. + */ + rejected?: Outcome.Rejected; + + /** + * Details of a succeeded outcome attached to this payment evaluation. + */ + succeeded?: Outcome.Succeeded; + + /** + * Indicates the outcome of the payment evaluation. + */ + type: Outcome.Type; + } + + export interface PaymentDetails { + /** + * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). + */ + amount: number; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description: string | null; + + /** + * Details about the payment's customer presence and type. + */ + money_movement_details: PaymentDetails.MoneyMovementDetails | null; + + /** + * Details about the payment method used for the payment. + */ + payment_method_details: PaymentDetails.PaymentMethodDetails | null; + + /** + * Shipping details for the payment evaluation. + */ + shipping_details: PaymentDetails.ShippingDetails | null; + + /** + * Payment statement descriptor. + */ + statement_descriptor: string | null; + } + + export type RecommendedAction = 'block' | 'continue'; + + export interface Signals { + /** + * A payment evaluation signal with evaluated_at, risk_level, and score fields. + */ + fraudulent_payment: Signals.FraudulentPayment; + } + export namespace Event { + export interface DisputeOpened { /** - * The PaymentIntent ID associated with the payment evaluation. + * Amount to dispute for this payment. A positive integer representing how much to charge in [the smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency). */ - payment_intent_id?: string; + amount: number; /** - * Details of an rejected outcome attached to this payment evaluation. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - rejected?: Outcome.Rejected; + currency: string; /** - * Details of a succeeded outcome attached to this payment evaluation. + * Reason given by cardholder for dispute. */ - succeeded?: Outcome.Succeeded; + reason: DisputeOpened.Reason; + } + export interface EarlyFraudWarningReceived { /** - * Indicates the outcome of the payment evaluation. + * The type of fraud labeled by the issuer. */ - type: Outcome.Type; + fraud_type: EarlyFraudWarningReceived.FraudType; } - export interface PaymentDetails { + export interface Refunded { /** - * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). + * Amount refunded for this payment. A positive integer representing how much to charge in [the smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency). */ amount: number; @@ -194,410 +264,334 @@ export namespace Radar { currency: string; /** - * An arbitrary string attached to the object. Often useful for displaying to users. + * Indicates the reason for the refund. */ - description: string | null; + reason: Refunded.Reason; + } - /** - * Details about the payment's customer presence and type. - */ - money_movement_details: PaymentDetails.MoneyMovementDetails | null; + export type Type = + | 'dispute_opened' + | 'early_fraud_warning_received' + | 'refunded' + | 'user_intervention_raised' + | 'user_intervention_resolved'; + export interface UserInterventionRaised { /** - * Details about the payment method used for the payment. + * User intervention raised custom event details attached to this payment evaluation */ - payment_method_details: PaymentDetails.PaymentMethodDetails | null; + custom?: UserInterventionRaised.Custom; /** - * Shipping details for the payment evaluation. + * Unique identifier for the user intervention event. */ - shipping_details: PaymentDetails.ShippingDetails | null; + key: string; /** - * Payment statement descriptor. + * Type of user intervention raised. */ - statement_descriptor: string | null; + type: UserInterventionRaised.Type; } - export type RecommendedAction = 'block' | 'continue'; + export interface UserInterventionResolved { + /** + * Unique ID of this intervention. Use this to provide the result. + */ + key: string; - export interface Signals { /** - * A payment evaluation signal with evaluated_at, risk_level, and score fields. + * Result of the intervention if it has been completed. */ - fraudulent_payment: Signals.FraudulentPayment; + outcome: UserInterventionResolved.Outcome | null; } - export namespace Event { - export interface DisputeOpened { - /** - * Amount to dispute for this payment. A positive integer representing how much to charge in [the smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency). - */ - amount: number; + export namespace DisputeOpened { + export type Reason = + | 'account_not_available' + | 'credit_not_processed' + | 'customer_initiated' + | 'duplicate' + | 'fraudulent' + | 'general' + | 'noncompliant' + | 'product_not_received' + | 'product_unacceptable' + | 'subscription_canceled' + | 'unrecognized'; + } - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; + export namespace EarlyFraudWarningReceived { + export type FraudType = + | 'made_with_lost_card' + | 'made_with_stolen_card' + | 'other' + | 'unauthorized_use_of_card'; + } - /** - * Reason given by cardholder for dispute. - */ - reason: DisputeOpened.Reason; - } + export namespace Refunded { + export type Reason = + | 'duplicate' + | 'fraudulent' + | 'other' + | 'requested_by_customer'; + } - export interface EarlyFraudWarningReceived { + export namespace UserInterventionRaised { + export interface Custom { /** - * The type of fraud labeled by the issuer. + * Custom type of user intervention raised. The string must use a snake case description for the type of intervention performed. */ - fraud_type: EarlyFraudWarningReceived.FraudType; + type: string; } - export interface Refunded { - /** - * Amount refunded for this payment. A positive integer representing how much to charge in [the smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency). - */ - amount: number; + export type Type = '3ds' | 'captcha' | 'custom'; + } - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; + export namespace UserInterventionResolved { + export type Outcome = 'abandoned' | 'failed' | 'passed'; + } + } - /** - * Indicates the reason for the refund. - */ - reason: Refunded.Reason; - } + export namespace Outcome { + export interface MerchantBlocked { + /** + * The reason the payment was blocked by the merchant. + */ + reason: MerchantBlocked.Reason; + } - export type Type = - | 'dispute_opened' - | 'early_fraud_warning_received' - | 'refunded' - | 'user_intervention_raised' - | 'user_intervention_resolved'; + export interface Rejected { + /** + * Details of an rejected card outcome attached to this payment evaluation. + */ + card?: Rejected.Card; + } - export interface UserInterventionRaised { - /** - * User intervention raised custom event details attached to this payment evaluation - */ - custom?: UserInterventionRaised.Custom; + export interface Succeeded { + /** + * Details of an succeeded card outcome attached to this payment evaluation. + */ + card?: Succeeded.Card; + } + export type Type = 'failed' | 'merchant_blocked' | 'rejected' | 'succeeded'; + + export namespace MerchantBlocked { + export type Reason = + | 'authentication_required' + | 'blocked_for_fraud' + | 'invalid_payment' + | 'other'; + } + + export namespace Rejected { + export interface Card { /** - * Unique identifier for the user intervention event. + * Result of the address line 1 check. */ - key: string; + address_line1_check: Card.AddressLine1Check; /** - * Type of user intervention raised. + * Indicates whether the cardholder provided a postal code and if it matched the cardholder's billing address. */ - type: UserInterventionRaised.Type; - } + address_postal_code_check: Card.AddressPostalCodeCheck; - export interface UserInterventionResolved { /** - * Unique ID of this intervention. Use this to provide the result. + * Result of the CVC check. */ - key: string; + cvc_check: Card.CvcCheck; /** - * Result of the intervention if it has been completed. + * Card issuer's reason for the network decline. */ - outcome: UserInterventionResolved.Outcome | null; + reason: Card.Reason; } - export namespace DisputeOpened { - export type Reason = - | 'account_not_available' - | 'credit_not_processed' - | 'customer_initiated' - | 'duplicate' - | 'fraudulent' - | 'general' - | 'noncompliant' - | 'product_not_received' - | 'product_unacceptable' - | 'subscription_canceled' - | 'unrecognized'; - } + export namespace Card { + export type AddressLine1Check = + | 'fail' + | 'pass' + | 'unavailable' + | 'unchecked'; - export namespace EarlyFraudWarningReceived { - export type FraudType = - | 'made_with_lost_card' - | 'made_with_stolen_card' - | 'other' - | 'unauthorized_use_of_card'; - } + export type AddressPostalCodeCheck = + | 'fail' + | 'pass' + | 'unavailable' + | 'unchecked'; + + export type CvcCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked'; - export namespace Refunded { export type Reason = - | 'duplicate' - | 'fraudulent' + | 'authentication_failed' + | 'do_not_honor' + | 'expired' + | 'incorrect_cvc' + | 'incorrect_number' + | 'incorrect_postal_code' + | 'insufficient_funds' + | 'invalid_account' + | 'lost_card' | 'other' - | 'requested_by_customer'; - } - - export namespace UserInterventionRaised { - export interface Custom { - /** - * Custom type of user intervention raised. The string must use a snake case description for the type of intervention performed. - */ - type: string; - } - - export type Type = '3ds' | 'captcha' | 'custom'; - } - - export namespace UserInterventionResolved { - export type Outcome = 'abandoned' | 'failed' | 'passed'; + | 'processing_error' + | 'reported_stolen' + | 'try_again_later'; } } - export namespace Outcome { - export interface MerchantBlocked { + export namespace Succeeded { + export interface Card { /** - * The reason the payment was blocked by the merchant. + * Result of the address line 1 check. */ - reason: MerchantBlocked.Reason; - } + address_line1_check: Card.AddressLine1Check; - export interface Rejected { /** - * Details of an rejected card outcome attached to this payment evaluation. + * Indicates whether the cardholder provided a postal code and if it matched the cardholder's billing address. */ - card?: Rejected.Card; - } + address_postal_code_check: Card.AddressPostalCodeCheck; - export interface Succeeded { /** - * Details of an succeeded card outcome attached to this payment evaluation. + * Result of the CVC check. */ - card?: Succeeded.Card; + cvc_check: Card.CvcCheck; } - export type Type = - | 'failed' - | 'merchant_blocked' - | 'rejected' - | 'succeeded'; + export namespace Card { + export type AddressLine1Check = + | 'fail' + | 'pass' + | 'unavailable' + | 'unchecked'; - export namespace MerchantBlocked { - export type Reason = - | 'authentication_required' - | 'blocked_for_fraud' - | 'invalid_payment' - | 'other'; - } + export type AddressPostalCodeCheck = + | 'fail' + | 'pass' + | 'unavailable' + | 'unchecked'; - export namespace Rejected { - export interface Card { - /** - * Result of the address line 1 check. - */ - address_line1_check: Card.AddressLine1Check; - - /** - * Indicates whether the cardholder provided a postal code and if it matched the cardholder's billing address. - */ - address_postal_code_check: Card.AddressPostalCodeCheck; + export type CvcCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked'; + } + } + } - /** - * Result of the CVC check. - */ - cvc_check: Card.CvcCheck; + export namespace PaymentDetails { + export interface MoneyMovementDetails { + /** + * Describes card money movement details for the payment evaluation. + */ + card: MoneyMovementDetails.Card | null; - /** - * Card issuer's reason for the network decline. - */ - reason: Card.Reason; - } + /** + * Describes the type of money movement. Currently only `card` is supported. + */ + money_movement_type: 'card'; + } - export namespace Card { - export type AddressLine1Check = - | 'fail' - | 'pass' - | 'unavailable' - | 'unchecked'; - - export type AddressPostalCodeCheck = - | 'fail' - | 'pass' - | 'unavailable' - | 'unchecked'; - - export type CvcCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked'; - - export type Reason = - | 'authentication_failed' - | 'do_not_honor' - | 'expired' - | 'incorrect_cvc' - | 'incorrect_number' - | 'incorrect_postal_code' - | 'insufficient_funds' - | 'invalid_account' - | 'lost_card' - | 'other' - | 'processing_error' - | 'reported_stolen' - | 'try_again_later'; - } - } + export interface PaymentMethodDetails { + /** + * Billing information associated with the payment evaluation. + */ + billing_details: PaymentMethodDetails.BillingDetails | null; - export namespace Succeeded { - export interface Card { - /** - * Result of the address line 1 check. - */ - address_line1_check: Card.AddressLine1Check; + /** + * The payment method used in this payment evaluation. + */ + payment_method: string | PaymentMethod; + } - /** - * Indicates whether the cardholder provided a postal code and if it matched the cardholder's billing address. - */ - address_postal_code_check: Card.AddressPostalCodeCheck; + export interface ShippingDetails { + /** + * Address data. + */ + address: Address; - /** - * Result of the CVC check. - */ - cvc_check: Card.CvcCheck; - } + /** + * Shipping name. + */ + name: string | null; - export namespace Card { - export type AddressLine1Check = - | 'fail' - | 'pass' - | 'unavailable' - | 'unchecked'; - - export type AddressPostalCodeCheck = - | 'fail' - | 'pass' - | 'unavailable' - | 'unchecked'; - - export type CvcCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked'; - } - } + /** + * Shipping phone number. + */ + phone: string | null; } - export namespace PaymentDetails { - export interface MoneyMovementDetails { + export namespace MoneyMovementDetails { + export interface Card { /** - * Describes card money movement details for the payment evaluation. + * Describes the presence of the customer during the payment. */ - card: MoneyMovementDetails.Card | null; + customer_presence: Card.CustomerPresence | null; /** - * Describes the type of money movement. Currently only `card` is supported. + * Describes the type of payment. */ - money_movement_type: 'card'; + payment_type: Card.PaymentType | null; } - export interface PaymentMethodDetails { - /** - * Billing information associated with the payment evaluation. - */ - billing_details: PaymentMethodDetails.BillingDetails | null; + export namespace Card { + export type CustomerPresence = 'off_session' | 'on_session'; - /** - * The payment method used in this payment evaluation. - */ - payment_method: string | PaymentMethod; + export type PaymentType = + | 'one_off' + | 'recurring' + | 'setup_one_off' + | 'setup_recurring'; } + } - export interface ShippingDetails { + export namespace PaymentMethodDetails { + export interface BillingDetails { /** * Address data. */ address: Address; /** - * Shipping name. + * Email address. + */ + email: string | null; + + /** + * Full name. */ name: string | null; /** - * Shipping phone number. + * Billing phone number (including extension). */ phone: string | null; } - - export namespace MoneyMovementDetails { - export interface Card { - /** - * Describes the presence of the customer during the payment. - */ - customer_presence: Card.CustomerPresence | null; - - /** - * Describes the type of payment. - */ - payment_type: Card.PaymentType | null; - } - - export namespace Card { - export type CustomerPresence = 'off_session' | 'on_session'; - - export type PaymentType = - | 'one_off' - | 'recurring' - | 'setup_one_off' - | 'setup_recurring'; - } - } - - export namespace PaymentMethodDetails { - export interface BillingDetails { - /** - * Address data. - */ - address: Address; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - - /** - * Billing phone number (including extension). - */ - phone: string | null; - } - } } + } - export namespace Signals { - export interface FraudulentPayment { - /** - * The time when this signal was evaluated. - */ - evaluated_at: number; + export namespace Signals { + export interface FraudulentPayment { + /** + * The time when this signal was evaluated. + */ + evaluated_at: number; - /** - * Risk level of this signal, based on the score. - */ - risk_level: FraudulentPayment.RiskLevel; + /** + * Risk level of this signal, based on the score. + */ + risk_level: FraudulentPayment.RiskLevel; - /** - * Score for this signal. Possible values for evaluated payments are between 0 and 100. The value is returned with two decimal places and higher scores indicate a higher likelihood of the signal being true. A score of -1 is returned when a model evaluation was not performed, such as requests from incomplete integrations. - */ - score: number; - } + /** + * Score for this signal. Possible values for evaluated payments are between 0 and 100. The value is returned with two decimal places and higher scores indicate a higher likelihood of the signal being true. A score of -1 is returned when a model evaluation was not performed, such as requests from incomplete integrations. + */ + score: number; + } - export namespace FraudulentPayment { - export type RiskLevel = - | 'elevated' - | 'highest' - | 'low' - | 'normal' - | 'not_assessed' - | 'unknown'; - } + export namespace FraudulentPayment { + export type RiskLevel = + | 'elevated' + | 'highest' + | 'low' + | 'normal' + | 'not_assessed' + | 'unknown'; } } } diff --git a/src/resources/Radar/ValueListItems.ts b/src/resources/Radar/ValueListItems.ts index 964a345970..646b733406 100644 --- a/src/resources/Radar/ValueListItems.ts +++ b/src/resources/Radar/ValueListItems.ts @@ -12,7 +12,7 @@ export class ValueListItemResource extends StripeResource { id: string, params?: Radar.ValueListItemDeleteParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'DELETE', `/v1/radar/value_list_items/${encodeURIComponent(id)}`, @@ -108,23 +108,21 @@ export interface ValueListItem { */ value_list: string; } -export namespace Radar { - export interface DeletedValueListItem { - /** - * Unique identifier for the object. - */ - id: string; +export interface DeletedValueListItem { + /** + * Unique identifier for the object. + */ + id: string; - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'radar.value_list_item'; + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'radar.value_list_item'; - /** - * Always true for a deleted object - */ - deleted: true; - } + /** + * Always true for a deleted object + */ + deleted: true; } export namespace Radar { export interface ValueListItemCreateParams { diff --git a/src/resources/Radar/ValueLists.ts b/src/resources/Radar/ValueLists.ts index 75f56cb302..253b259301 100644 --- a/src/resources/Radar/ValueLists.ts +++ b/src/resources/Radar/ValueLists.ts @@ -18,7 +18,7 @@ export class ValueListResource extends StripeResource { id: string, params?: Radar.ValueListDeleteParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'DELETE', `/v1/radar/value_lists/${encodeURIComponent(id)}`, @@ -116,7 +116,7 @@ export interface ValueList { /** * The type of items in the value list. One of `card_fingerprint`, `card_bin`, `crypto_fingerprint`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, `customer_id`, `account`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`. */ - item_type: Radar.ValueList.ItemType; + item_type: ValueList.ItemType; /** * List of items contained within this value list. @@ -138,39 +138,36 @@ export interface ValueList { */ name: string; } -export namespace Radar { - export interface DeletedValueList { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'radar.value_list'; +export interface DeletedValueList { + /** + * Unique identifier for the object. + */ + id: string; - /** - * Always true for a deleted object - */ - deleted: true; - } + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'radar.value_list'; - export namespace ValueList { - export type ItemType = - | 'account' - | 'card_bin' - | 'card_fingerprint' - | 'case_sensitive_string' - | 'country' - | 'crypto_fingerprint' - | 'customer_id' - | 'email' - | 'ip_address' - | 'sepa_debit_fingerprint' - | 'string' - | 'us_bank_account_fingerprint'; - } + /** + * Always true for a deleted object + */ + deleted: true; +} +export namespace ValueList { + export type ItemType = + | 'account' + | 'card_bin' + | 'card_fingerprint' + | 'case_sensitive_string' + | 'country' + | 'crypto_fingerprint' + | 'customer_id' + | 'email' + | 'ip_address' + | 'sepa_debit_fingerprint' + | 'string' + | 'us_bank_account_fingerprint'; } export namespace Radar { export interface ValueListCreateParams { diff --git a/src/resources/Radar/index.ts b/src/resources/Radar/index.ts index a587f8ee5e..ba8e41f89e 100644 --- a/src/resources/Radar/index.ts +++ b/src/resources/Radar/index.ts @@ -14,11 +14,13 @@ import { import { Radar as RadarNamespace2, ValueList, + DeletedValueList, ValueListResource, } from './ValueLists.js'; import { Radar as RadarNamespace3, ValueListItem, + DeletedValueListItem, ValueListItemResource, } from './ValueListItems.js'; @@ -52,12 +54,12 @@ export declare namespace Radar { export import ValueListUpdateParams = RadarNamespace2.ValueListUpdateParams; export import ValueListListParams = RadarNamespace2.ValueListListParams; export import ValueListCreateParams = RadarNamespace2.ValueListCreateParams; - export import DeletedValueList = RadarNamespace2.DeletedValueList; + export {DeletedValueList}; export {ValueList, ValueListResource}; export import ValueListItemDeleteParams = RadarNamespace3.ValueListItemDeleteParams; export import ValueListItemRetrieveParams = RadarNamespace3.ValueListItemRetrieveParams; export import ValueListItemListParams = RadarNamespace3.ValueListItemListParams; export import ValueListItemCreateParams = RadarNamespace3.ValueListItemCreateParams; - export import DeletedValueListItem = RadarNamespace3.DeletedValueListItem; + export {DeletedValueListItem}; export {ValueListItem, ValueListItemResource}; } diff --git a/src/resources/Reporting/ReportRuns.ts b/src/resources/Reporting/ReportRuns.ts index b9427e51a7..a6f7267b6a 100644 --- a/src/resources/Reporting/ReportRuns.ts +++ b/src/resources/Reporting/ReportRuns.ts @@ -80,7 +80,7 @@ export interface ReportRun { */ livemode: boolean; - parameters: Reporting.ReportRun.Parameters; + parameters: ReportRun.Parameters; /** * The ID of the [report type](https://docs.stripe.com/reports/report-types) to run, such as `"balance.summary.1"`. @@ -106,49 +106,47 @@ export interface ReportRun { */ succeeded_at: number | null; } -export namespace Reporting { - export namespace ReportRun { - export interface Parameters { - /** - * The set of output columns requested for inclusion in the report run. - */ - columns?: Array; +export namespace ReportRun { + export interface Parameters { + /** + * The set of output columns requested for inclusion in the report run. + */ + columns?: Array; - /** - * Connected account ID by which to filter the report run. - */ - connected_account?: string; + /** + * Connected account ID by which to filter the report run. + */ + connected_account?: string; - /** - * Currency of objects to be included in the report run. - */ - currency?: string; + /** + * Currency of objects to be included in the report run. + */ + currency?: string; - /** - * Ending timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after the user specified `interval_start` and 1 second before this report's last `data_available_end` value. - */ - interval_end?: number; + /** + * Ending timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after the user specified `interval_start` and 1 second before this report's last `data_available_end` value. + */ + interval_end?: number; - /** - * Starting timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after this report's `data_available_start` and 1 second before the user specified `interval_end` value. - */ - interval_start?: number; + /** + * Starting timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after this report's `data_available_start` and 1 second before the user specified `interval_end` value. + */ + interval_start?: number; - /** - * Payout ID by which to filter the report run. - */ - payout?: string; + /** + * Payout ID by which to filter the report run. + */ + payout?: string; - /** - * Category of balance transactions to be included in the report run. - */ - reporting_category?: string; + /** + * Category of balance transactions to be included in the report run. + */ + reporting_category?: string; - /** - * Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`. - */ - timezone?: string; - } + /** + * Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`. + */ + timezone?: string; } } export namespace Reporting { diff --git a/src/resources/Reserve/Holds.ts b/src/resources/Reserve/Holds.ts index aecdde44b6..695db903ab 100644 --- a/src/resources/Reserve/Holds.ts +++ b/src/resources/Reserve/Holds.ts @@ -33,7 +33,7 @@ export interface Hold { /** * Indicates which party created this ReserveHold. */ - created_by: Reserve.Hold.CreatedBy; + created_by: Hold.CreatedBy; /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -58,9 +58,9 @@ export interface Hold { /** * The reason for the ReserveHold. */ - reason: Reserve.Hold.Reason; + reason: Hold.Reason; - release_schedule: Reserve.Hold.ReleaseSchedule; + release_schedule: Hold.ReleaseSchedule; /** * The ReservePlan which produced this ReserveHold (i.e., resplan_123) @@ -75,26 +75,24 @@ export interface Hold { /** * Which source balance type this ReserveHold reserves funds from. One of `bank_account`, `card`, or `fpx`. */ - source_type: Reserve.Hold.SourceType; + source_type: Hold.SourceType; } -export namespace Reserve { - export namespace Hold { - export type CreatedBy = 'application' | 'stripe'; +export namespace Hold { + export type CreatedBy = 'application' | 'stripe'; - export type Reason = 'charge' | 'standalone'; + export type Reason = 'charge' | 'standalone'; - export interface ReleaseSchedule { - /** - * The time after which the ReserveHold is requested to be released. - */ - release_after: number | null; + export interface ReleaseSchedule { + /** + * The time after which the ReserveHold is requested to be released. + */ + release_after: number | null; - /** - * The time at which the ReserveHold is scheduled to be released, automatically set to midnight UTC of the day after `release_after`. - */ - scheduled_release: number | null; - } - - export type SourceType = 'bank_account' | 'card' | 'fpx'; + /** + * The time at which the ReserveHold is scheduled to be released, automatically set to midnight UTC of the day after `release_after`. + */ + scheduled_release: number | null; } + + export type SourceType = 'bank_account' | 'card' | 'fpx'; } diff --git a/src/resources/Reserve/Plans.ts b/src/resources/Reserve/Plans.ts index cfb0917f93..d8ae9839a8 100644 --- a/src/resources/Reserve/Plans.ts +++ b/src/resources/Reserve/Plans.ts @@ -21,7 +21,7 @@ export interface Plan { /** * Indicates which party created this ReservePlan. */ - created_by: Reserve.Plan.CreatedBy; + created_by: Plan.CreatedBy; /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). An unset currency indicates that the plan applies to all currencies. @@ -33,7 +33,7 @@ export interface Plan { */ disabled_at: number | null; - fixed_release?: Reserve.Plan.FixedRelease; + fixed_release?: Plan.FixedRelease; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -50,48 +50,46 @@ export interface Plan { */ percent: number; - rolling_release?: Reserve.Plan.RollingRelease; + rolling_release?: Plan.RollingRelease; /** * The current status of the ReservePlan. The ReservePlan only affects charges if it is `active`. */ - status: Reserve.Plan.Status; + status: Plan.Status; /** * The type of the ReservePlan. */ - type: Reserve.Plan.Type; + type: Plan.Type; } -export namespace Reserve { - export namespace Plan { - export type CreatedBy = 'application' | 'stripe'; - - export interface FixedRelease { - /** - * The time after which all reserved funds are requested for release. - */ - release_after: number; - - /** - * The time at which reserved funds are scheduled for release, automatically set to midnight UTC of the day after `release_after`. - */ - scheduled_release: number; - } - - export interface RollingRelease { - /** - * The number of days to reserve funds before releasing. - */ - days_after_charge: number; - - /** - * The time at which the ReservePlan expires. - */ - expires_on: number | null; - } - - export type Status = 'active' | 'disabled' | 'expired'; - - export type Type = 'fixed_release' | 'rolling_release'; +export namespace Plan { + export type CreatedBy = 'application' | 'stripe'; + + export interface FixedRelease { + /** + * The time after which all reserved funds are requested for release. + */ + release_after: number; + + /** + * The time at which reserved funds are scheduled for release, automatically set to midnight UTC of the day after `release_after`. + */ + scheduled_release: number; } + + export interface RollingRelease { + /** + * The number of days to reserve funds before releasing. + */ + days_after_charge: number; + + /** + * The time at which the ReservePlan expires. + */ + expires_on: number | null; + } + + export type Status = 'active' | 'disabled' | 'expired'; + + export type Type = 'fixed_release' | 'rolling_release'; } diff --git a/src/resources/Reserve/Releases.ts b/src/resources/Reserve/Releases.ts index 0a41f9a034..ae686da0b5 100644 --- a/src/resources/Reserve/Releases.ts +++ b/src/resources/Reserve/Releases.ts @@ -30,7 +30,7 @@ export interface Release { /** * Indicates which party created this ReserveRelease. */ - created_by: Reserve.Release.CreatedBy; + created_by: Release.CreatedBy; /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -50,7 +50,7 @@ export interface Release { /** * The reason for the ReserveRelease, indicating why the funds were released. */ - reason: Reserve.Release.Reason; + reason: Release.Reason; /** * The release timestamp of the funds. @@ -67,37 +67,35 @@ export interface Release { */ reserve_plan: string | Plan | null; - source_transaction?: Reserve.Release.SourceTransaction; + source_transaction?: Release.SourceTransaction; } -export namespace Reserve { - export namespace Release { - export type CreatedBy = 'application' | 'stripe'; - - export type Reason = - | 'bulk_hold_expiry' - | 'hold_released_early' - | 'hold_reversed' - | 'plan_disabled'; - - export interface SourceTransaction { - /** - * The ID of the dispute. - */ - dispute?: string | Dispute; - - /** - * The ID of the refund. - */ - refund?: string | Refund; - - /** - * The type of source transaction. - */ - type: SourceTransaction.Type; - } - - export namespace SourceTransaction { - export type Type = 'dispute' | 'refund'; - } +export namespace Release { + export type CreatedBy = 'application' | 'stripe'; + + export type Reason = + | 'bulk_hold_expiry' + | 'hold_released_early' + | 'hold_reversed' + | 'plan_disabled'; + + export interface SourceTransaction { + /** + * The ID of the dispute. + */ + dispute?: string | Dispute; + + /** + * The ID of the refund. + */ + refund?: string | Refund; + + /** + * The type of source transaction. + */ + type: SourceTransaction.Type; + } + + export namespace SourceTransaction { + export type Type = 'dispute' | 'refund'; } } diff --git a/src/resources/Sigma/ScheduledQueryRuns.ts b/src/resources/Sigma/ScheduledQueryRuns.ts index 9b7a835b82..dd0ae65f79 100644 --- a/src/resources/Sigma/ScheduledQueryRuns.ts +++ b/src/resources/Sigma/ScheduledQueryRuns.ts @@ -60,7 +60,7 @@ export interface ScheduledQueryRun { */ data_load_time: number; - error?: Sigma.ScheduledQueryRun.Error; + error?: ScheduledQueryRun.Error; /** * The file object representing the results of the query. @@ -92,14 +92,12 @@ export interface ScheduledQueryRun { */ title: string; } -export namespace Sigma { - export namespace ScheduledQueryRun { - export interface Error { - /** - * Information about the run failure. - */ - message: string; - } +export namespace ScheduledQueryRun { + export interface Error { + /** + * Information about the run failure. + */ + message: string; } } export namespace Sigma { diff --git a/src/resources/Tax/Associations.ts b/src/resources/Tax/Associations.ts index 7f2a03ea49..eec6e52540 100644 --- a/src/resources/Tax/Associations.ts +++ b/src/resources/Tax/Associations.ts @@ -43,49 +43,47 @@ export interface Association { /** * Information about the tax transactions linked to this payment intent */ - tax_transaction_attempts: Array | null; + tax_transaction_attempts: Array | null; } -export namespace Tax { - export namespace Association { - export interface TaxTransactionAttempt { - committed?: TaxTransactionAttempt.Committed; +export namespace Association { + export interface TaxTransactionAttempt { + committed?: TaxTransactionAttempt.Committed; + + errored?: TaxTransactionAttempt.Errored; - errored?: TaxTransactionAttempt.Errored; + /** + * The source of the tax transaction attempt. This is either a refund or a payment intent. + */ + source: string; + /** + * The status of the transaction attempt. This can be `errored` or `committed`. + */ + status: string; + } + + export namespace TaxTransactionAttempt { + export interface Committed { /** - * The source of the tax transaction attempt. This is either a refund or a payment intent. + * The [Tax Transaction](https://docs.stripe.com/api/tax/transaction/object) */ - source: string; + transaction: string; + } + export interface Errored { /** - * The status of the transaction attempt. This can be `errored` or `committed`. + * Details on why we couldn't commit the tax transaction. */ - status: string; + reason: Errored.Reason; } - export namespace TaxTransactionAttempt { - export interface Committed { - /** - * The [Tax Transaction](https://docs.stripe.com/api/tax/transaction/object) - */ - transaction: string; - } - - export interface Errored { - /** - * Details on why we couldn't commit the tax transaction. - */ - reason: Errored.Reason; - } - - export namespace Errored { - export type Reason = - | 'another_payment_associated_with_calculation' - | 'calculation_expired' - | 'currency_mismatch' - | 'original_transaction_voided' - | 'unique_reference_violation'; - } + export namespace Errored { + export type Reason = + | 'another_payment_associated_with_calculation' + | 'calculation_expired' + | 'currency_mismatch' + | 'original_transaction_voided' + | 'unique_reference_violation'; } } } diff --git a/src/resources/Tax/CalculationLineItems.ts b/src/resources/Tax/CalculationLineItems.ts index 46849daab4..abbdafcf6f 100644 --- a/src/resources/Tax/CalculationLineItems.ts +++ b/src/resources/Tax/CalculationLineItems.ts @@ -51,136 +51,129 @@ export interface CalculationLineItem { /** * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. */ - tax_behavior: Tax.CalculationLineItem.TaxBehavior; + tax_behavior: CalculationLineItem.TaxBehavior; /** * Detailed account of taxes relevant to this line item. */ - tax_breakdown?: Array | null; + tax_breakdown?: Array | null; /** * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for this resource. */ tax_code: string; } -export namespace Tax { - export namespace CalculationLineItem { - export type TaxBehavior = 'exclusive' | 'inclusive'; +export namespace CalculationLineItem { + export type TaxBehavior = 'exclusive' | 'inclusive'; + + export interface TaxBreakdown { + /** + * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + */ + amount: number; + + jurisdiction: TaxBreakdown.Jurisdiction; + + /** + * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address). + */ + sourcing: TaxBreakdown.Sourcing; + + /** + * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax. + */ + tax_rate_details: TaxBreakdown.TaxRateDetails | null; + + /** + * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. + */ + taxability_reason: TaxBreakdown.TaxabilityReason; + + /** + * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + */ + taxable_amount: number; + } - export interface TaxBreakdown { + export namespace TaxBreakdown { + export interface Jurisdiction { /** - * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). */ - amount: number; + country: string; - jurisdiction: TaxBreakdown.Jurisdiction; + /** + * A human-readable name for the jurisdiction imposing the tax. + */ + display_name: string; + + /** + * Indicates the level of the jurisdiction imposing the tax. + */ + level: Jurisdiction.Level; /** - * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address). + * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States. */ - sourcing: TaxBreakdown.Sourcing; + state: string | null; + } + + export type Sourcing = 'destination' | 'origin'; + export interface TaxRateDetails { /** - * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax. + * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". */ - tax_rate_details: TaxBreakdown.TaxRateDetails | null; + display_name: string; /** - * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. + * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". */ - taxability_reason: TaxBreakdown.TaxabilityReason; + percentage_decimal: string; /** - * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + * The tax type, such as `vat` or `sales_tax`. */ - taxable_amount: number; + tax_type: TaxRateDetails.TaxType; + } + + export type TaxabilityReason = + | 'customer_exempt' + | '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'; + + export namespace Jurisdiction { + export type Level = 'city' | 'country' | 'county' | 'district' | 'state'; } - export namespace TaxBreakdown { - export interface Jurisdiction { - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * A human-readable name for the jurisdiction imposing the tax. - */ - display_name: string; - - /** - * Indicates the level of the jurisdiction imposing the tax. - */ - level: Jurisdiction.Level; - - /** - * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States. - */ - state: string | null; - } - - export type Sourcing = 'destination' | 'origin'; - - export interface TaxRateDetails { - /** - * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". - */ - display_name: string; - - /** - * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". - */ - percentage_decimal: string; - - /** - * The tax type, such as `vat` or `sales_tax`. - */ - tax_type: TaxRateDetails.TaxType; - } - - export type TaxabilityReason = - | 'customer_exempt' - | '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'; - - export namespace Jurisdiction { - export type Level = - | 'city' - | 'country' - | 'county' - | 'district' - | 'state'; - } - - export namespace TaxRateDetails { - export type TaxType = - | 'amusement_tax' - | 'communications_tax' - | 'gst' - | 'hst' - | 'igst' - | 'jct' - | 'lease_tax' - | 'pst' - | 'qst' - | 'retail_delivery_fee' - | 'rst' - | 'sales_tax' - | 'service_tax' - | 'vat'; - } + export namespace TaxRateDetails { + export type TaxType = + | 'amusement_tax' + | 'communications_tax' + | 'gst' + | 'hst' + | 'igst' + | 'jct' + | 'lease_tax' + | 'pst' + | 'qst' + | 'retail_delivery_fee' + | 'rst' + | 'sales_tax' + | 'service_tax' + | 'vat'; } } } diff --git a/src/resources/Tax/Calculations.ts b/src/resources/Tax/Calculations.ts index 85c2d187e6..68fb15dc4a 100644 --- a/src/resources/Tax/Calculations.ts +++ b/src/resources/Tax/Calculations.ts @@ -85,7 +85,7 @@ export interface Calculation { */ customer: string | null; - customer_details: Tax.Calculation.CustomerDetails; + customer_details: Calculation.CustomerDetails; /** * Timestamp of date at which the tax calculation will expire. @@ -105,12 +105,12 @@ export interface Calculation { /** * The details of the ship from location, such as the address. */ - ship_from_details: Tax.Calculation.ShipFromDetails | null; + ship_from_details: Calculation.ShipFromDetails | null; /** * The shipping cost details for the calculation. */ - shipping_cost: Tax.Calculation.ShippingCost | null; + shipping_cost: Calculation.ShippingCost | null; /** * The amount of tax to be collected on top of the line item prices. @@ -125,77 +125,245 @@ export interface Calculation { /** * Breakdown of individual tax amounts that add up to the total. */ - tax_breakdown: Array; + tax_breakdown: Array; /** * The calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window. */ tax_date: number; } -export namespace Tax { - export namespace Calculation { - export interface CustomerDetails { - /** - * The customer's postal address (for example, home or business location). - */ - address: Address | null; +export namespace Calculation { + export interface CustomerDetails { + /** + * The customer's postal address (for example, home or business location). + */ + address: Address | null; - /** - * The type of customer address provided. - */ - address_source: CustomerDetails.AddressSource | null; + /** + * The type of customer address provided. + */ + address_source: CustomerDetails.AddressSource | null; - /** - * The customer's IP address (IPv4 or IPv6). - */ - ip_address: string | null; + /** + * The customer's IP address (IPv4 or IPv6). + */ + ip_address: string | null; - /** - * The customer's tax IDs (for example, EU VAT numbers). - */ - tax_ids: Array; + /** + * The customer's tax IDs (for example, EU VAT numbers). + */ + tax_ids: Array; - /** - * The taxability override used for taxation. - */ - taxability_override: CustomerDetails.TaxabilityOverride; - } + /** + * The taxability override used for taxation. + */ + taxability_override: CustomerDetails.TaxabilityOverride; + } - export interface ShipFromDetails { - address: Address; - } + export interface ShipFromDetails { + address: Address; + } - export interface ShippingCost { - /** - * The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount. - */ - amount: number; + export interface ShippingCost { + /** + * The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount. + */ + amount: number; - /** - * The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). - */ - amount_tax: number; + /** + * The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + */ + amount_tax: number; - /** - * The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object). - */ - shipping_rate?: string; + /** + * The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object). + */ + shipping_rate?: string; - /** - * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. - */ - tax_behavior: ShippingCost.TaxBehavior; + /** + * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. + */ + tax_behavior: ShippingCost.TaxBehavior; + + /** + * Detailed account of taxes relevant to shipping cost. + */ + tax_breakdown?: Array; + + /** + * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping. + */ + tax_code: string; + } + + export interface TaxBreakdown { + /** + * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + */ + amount: number; + + /** + * Specifies whether the tax amount is included in the line item amount. + */ + inclusive: boolean; + + tax_rate_details: TaxBreakdown.TaxRateDetails; + + /** + * The reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules. + */ + taxability_reason: TaxBreakdown.TaxabilityReason; + + /** + * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + */ + taxable_amount: number; + } + export namespace CustomerDetails { + export type AddressSource = 'billing' | 'shipping'; + + export interface TaxId { /** - * Detailed account of taxes relevant to shipping cost. + * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` */ - tax_breakdown?: Array; + type: TaxId.Type; /** - * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping. + * The value of the tax ID. */ - tax_code: string; + value: string; + } + + export type TaxabilityOverride = + | 'customer_exempt' + | 'none' + | 'reverse_charge'; + + export namespace TaxId { + export 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' + | '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'; } + } + + export namespace ShippingCost { + export type TaxBehavior = 'exclusive' | 'inclusive'; export interface TaxBreakdown { /** @@ -203,15 +371,20 @@ export namespace Tax { */ amount: number; + jurisdiction: TaxBreakdown.Jurisdiction; + /** - * Specifies whether the tax amount is included in the line item amount. + * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address). */ - inclusive: boolean; + sourcing: TaxBreakdown.Sourcing; - tax_rate_details: TaxBreakdown.TaxRateDetails; + /** + * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax. + */ + tax_rate_details: TaxBreakdown.TaxRateDetails | null; /** - * The reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules. + * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. */ taxability_reason: TaxBreakdown.TaxabilityReason; @@ -221,299 +394,46 @@ export namespace Tax { taxable_amount: number; } - export namespace CustomerDetails { - export type AddressSource = 'billing' | 'shipping'; - - export interface TaxId { - /** - * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` - */ - type: TaxId.Type; - - /** - * The value of the tax ID. - */ - value: string; - } - - export type TaxabilityOverride = - | 'customer_exempt' - | 'none' - | 'reverse_charge'; - - export namespace TaxId { - export 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' - | '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'; - } - } - - export namespace ShippingCost { - export type TaxBehavior = 'exclusive' | 'inclusive'; - - export interface TaxBreakdown { - /** - * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). - */ - amount: number; - - jurisdiction: TaxBreakdown.Jurisdiction; - + export namespace TaxBreakdown { + export interface Jurisdiction { /** - * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address). + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). */ - sourcing: TaxBreakdown.Sourcing; + country: string; /** - * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax. + * A human-readable name for the jurisdiction imposing the tax. */ - tax_rate_details: TaxBreakdown.TaxRateDetails | null; + display_name: string; /** - * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. + * Indicates the level of the jurisdiction imposing the tax. */ - taxability_reason: TaxBreakdown.TaxabilityReason; + level: Jurisdiction.Level; /** - * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States. */ - taxable_amount: number; + state: string | null; } - export namespace TaxBreakdown { - export interface Jurisdiction { - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * A human-readable name for the jurisdiction imposing the tax. - */ - display_name: string; - - /** - * Indicates the level of the jurisdiction imposing the tax. - */ - level: Jurisdiction.Level; - - /** - * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States. - */ - state: string | null; - } - - export type Sourcing = 'destination' | 'origin'; - - export interface TaxRateDetails { - /** - * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". - */ - display_name: string; - - /** - * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". - */ - percentage_decimal: string; - - /** - * The tax type, such as `vat` or `sales_tax`. - */ - tax_type: TaxRateDetails.TaxType; - } - - export type TaxabilityReason = - | 'customer_exempt' - | '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'; - - export namespace Jurisdiction { - export type Level = - | 'city' - | 'country' - | 'county' - | 'district' - | 'state'; - } - - export namespace TaxRateDetails { - export type TaxType = - | 'amusement_tax' - | 'communications_tax' - | 'gst' - | 'hst' - | 'igst' - | 'jct' - | 'lease_tax' - | 'pst' - | 'qst' - | 'retail_delivery_fee' - | 'rst' - | 'sales_tax' - | 'service_tax' - | 'vat'; - } - } - } + export type Sourcing = 'destination' | 'origin'; - export namespace TaxBreakdown { export interface TaxRateDetails { /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string | null; - - /** - * The amount of the tax rate when the `rate_type` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate. + * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". */ - flat_amount: TaxRateDetails.FlatAmount | null; + display_name: string; /** - * The tax rate percentage as a string. For example, 8.5% is represented as `"8.5"`. + * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". */ percentage_decimal: string; - /** - * Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax. - */ - rate_type: TaxRateDetails.RateType | null; - - /** - * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). - */ - state: string | null; - /** * The tax type, such as `vat` or `sales_tax`. */ - tax_type: TaxRateDetails.TaxType | null; + tax_type: TaxRateDetails.TaxType; } export type TaxabilityReason = @@ -533,21 +453,16 @@ export namespace Tax { | 'taxable_basis_reduced' | 'zero_rated'; - export namespace TaxRateDetails { - export interface FlatAmount { - /** - * Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). - */ - amount: number; - - /** - * Three-letter ISO currency code, in lowercase. - */ - currency: string; - } - - export type RateType = 'flat_amount' | 'percentage'; + export namespace Jurisdiction { + export type Level = + | 'city' + | 'country' + | 'county' + | 'district' + | 'state'; + } + export namespace TaxRateDetails { export type TaxType = | 'amusement_tax' | 'communications_tax' @@ -566,6 +481,89 @@ export namespace Tax { } } } + + export namespace TaxBreakdown { + export interface TaxRateDetails { + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country: string | null; + + /** + * The amount of the tax rate when the `rate_type` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate. + */ + flat_amount: TaxRateDetails.FlatAmount | null; + + /** + * The tax rate percentage as a string. For example, 8.5% is represented as `"8.5"`. + */ + percentage_decimal: string; + + /** + * Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax. + */ + rate_type: TaxRateDetails.RateType | null; + + /** + * State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). + */ + state: string | null; + + /** + * The tax type, such as `vat` or `sales_tax`. + */ + tax_type: TaxRateDetails.TaxType | null; + } + + export type TaxabilityReason = + | 'customer_exempt' + | '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'; + + export namespace TaxRateDetails { + export interface FlatAmount { + /** + * Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). + */ + amount: number; + + /** + * Three-letter ISO currency code, in lowercase. + */ + currency: string; + } + + export type RateType = 'flat_amount' | 'percentage'; + + export type TaxType = + | 'amusement_tax' + | 'communications_tax' + | 'gst' + | 'hst' + | 'igst' + | 'jct' + | 'lease_tax' + | 'pst' + | 'qst' + | 'retail_delivery_fee' + | 'rst' + | 'sales_tax' + | 'service_tax' + | 'vat'; + } + } } export namespace Tax { export interface CalculationCreateParams { diff --git a/src/resources/Tax/Registrations.ts b/src/resources/Tax/Registrations.ts index 2158181196..3ec674ac2a 100644 --- a/src/resources/Tax/Registrations.ts +++ b/src/resources/Tax/Registrations.ts @@ -84,7 +84,7 @@ export interface Registration { */ country: string; - country_options: Tax.Registration.CountryOptions; + country_options: Registration.CountryOptions; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -104,1656 +104,1654 @@ export interface Registration { /** * The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`. */ - status: Tax.Registration.Status; + status: Registration.Status; } -export namespace Tax { - export namespace Registration { - export interface CountryOptions { - ae?: CountryOptions.Ae; +export namespace Registration { + export interface CountryOptions { + ae?: CountryOptions.Ae; - al?: CountryOptions.Al; + al?: CountryOptions.Al; - am?: CountryOptions.Am; + am?: CountryOptions.Am; - ao?: CountryOptions.Ao; + ao?: CountryOptions.Ao; - at?: CountryOptions.At; + at?: CountryOptions.At; - au?: CountryOptions.Au; + au?: CountryOptions.Au; - aw?: CountryOptions.Aw; + aw?: CountryOptions.Aw; - az?: CountryOptions.Az; + az?: CountryOptions.Az; - ba?: CountryOptions.Ba; + ba?: CountryOptions.Ba; - bb?: CountryOptions.Bb; + bb?: CountryOptions.Bb; - bd?: CountryOptions.Bd; + bd?: CountryOptions.Bd; - be?: CountryOptions.Be; + be?: CountryOptions.Be; - bf?: CountryOptions.Bf; + bf?: CountryOptions.Bf; - bg?: CountryOptions.Bg; + bg?: CountryOptions.Bg; - bh?: CountryOptions.Bh; + bh?: CountryOptions.Bh; - bj?: CountryOptions.Bj; + bj?: CountryOptions.Bj; - bs?: CountryOptions.Bs; + bs?: CountryOptions.Bs; - by?: CountryOptions.By; + by?: CountryOptions.By; - ca?: CountryOptions.Ca; + ca?: CountryOptions.Ca; - cd?: CountryOptions.Cd; + cd?: CountryOptions.Cd; - ch?: CountryOptions.Ch; + ch?: CountryOptions.Ch; - cl?: CountryOptions.Cl; + cl?: CountryOptions.Cl; - cm?: CountryOptions.Cm; + cm?: CountryOptions.Cm; - co?: CountryOptions.Co; + co?: CountryOptions.Co; - cr?: CountryOptions.Cr; + cr?: CountryOptions.Cr; - cv?: CountryOptions.Cv; + cv?: CountryOptions.Cv; - cy?: CountryOptions.Cy; + cy?: CountryOptions.Cy; - cz?: CountryOptions.Cz; + cz?: CountryOptions.Cz; - de?: CountryOptions.De; + de?: CountryOptions.De; - dk?: CountryOptions.Dk; + dk?: CountryOptions.Dk; - ec?: CountryOptions.Ec; + ec?: CountryOptions.Ec; - ee?: CountryOptions.Ee; + ee?: CountryOptions.Ee; - eg?: CountryOptions.Eg; + eg?: CountryOptions.Eg; - es?: CountryOptions.Es; + es?: CountryOptions.Es; - et?: CountryOptions.Et; + et?: CountryOptions.Et; - fi?: CountryOptions.Fi; + fi?: CountryOptions.Fi; - fr?: CountryOptions.Fr; + fr?: CountryOptions.Fr; - gb?: CountryOptions.Gb; + gb?: CountryOptions.Gb; - ge?: CountryOptions.Ge; + ge?: CountryOptions.Ge; - gn?: CountryOptions.Gn; + gn?: CountryOptions.Gn; - gr?: CountryOptions.Gr; + gr?: CountryOptions.Gr; - hr?: CountryOptions.Hr; + hr?: CountryOptions.Hr; - hu?: CountryOptions.Hu; + hu?: CountryOptions.Hu; - id?: CountryOptions.Id; + id?: CountryOptions.Id; - ie?: CountryOptions.Ie; + ie?: CountryOptions.Ie; - in?: CountryOptions.In; + in?: CountryOptions.In; - is?: CountryOptions.Is; + is?: CountryOptions.Is; - it?: CountryOptions.It; + it?: CountryOptions.It; - jp?: CountryOptions.Jp; + jp?: CountryOptions.Jp; - ke?: CountryOptions.Ke; + ke?: CountryOptions.Ke; - kg?: CountryOptions.Kg; + kg?: CountryOptions.Kg; - kh?: CountryOptions.Kh; + kh?: CountryOptions.Kh; - kr?: CountryOptions.Kr; + kr?: CountryOptions.Kr; - kz?: CountryOptions.Kz; + kz?: CountryOptions.Kz; - la?: CountryOptions.La; + la?: CountryOptions.La; - lk?: CountryOptions.Lk; + lk?: CountryOptions.Lk; - lt?: CountryOptions.Lt; + lt?: CountryOptions.Lt; - lu?: CountryOptions.Lu; + lu?: CountryOptions.Lu; - lv?: CountryOptions.Lv; + lv?: CountryOptions.Lv; - ma?: CountryOptions.Ma; + ma?: CountryOptions.Ma; - md?: CountryOptions.Md; + md?: CountryOptions.Md; - me?: CountryOptions.Me; + me?: CountryOptions.Me; - mk?: CountryOptions.Mk; + mk?: CountryOptions.Mk; - mr?: CountryOptions.Mr; + mr?: CountryOptions.Mr; - mt?: CountryOptions.Mt; + mt?: CountryOptions.Mt; - mx?: CountryOptions.Mx; + mx?: CountryOptions.Mx; - my?: CountryOptions.My; + my?: CountryOptions.My; - ng?: CountryOptions.Ng; + ng?: CountryOptions.Ng; - nl?: CountryOptions.Nl; + nl?: CountryOptions.Nl; - no?: CountryOptions.No; + no?: CountryOptions.No; - np?: CountryOptions.Np; + np?: CountryOptions.Np; - nz?: CountryOptions.Nz; + nz?: CountryOptions.Nz; - om?: CountryOptions.Om; + om?: CountryOptions.Om; - pe?: CountryOptions.Pe; + pe?: CountryOptions.Pe; - ph?: CountryOptions.Ph; + ph?: CountryOptions.Ph; - pl?: CountryOptions.Pl; + pl?: CountryOptions.Pl; - pt?: CountryOptions.Pt; + pt?: CountryOptions.Pt; - ro?: CountryOptions.Ro; + ro?: CountryOptions.Ro; - rs?: CountryOptions.Rs; + rs?: CountryOptions.Rs; - ru?: CountryOptions.Ru; + ru?: CountryOptions.Ru; - sa?: CountryOptions.Sa; + sa?: CountryOptions.Sa; - se?: CountryOptions.Se; + se?: CountryOptions.Se; - sg?: CountryOptions.Sg; + sg?: CountryOptions.Sg; - si?: CountryOptions.Si; + si?: CountryOptions.Si; - sk?: CountryOptions.Sk; + sk?: CountryOptions.Sk; - sn?: CountryOptions.Sn; + sn?: CountryOptions.Sn; - sr?: CountryOptions.Sr; + sr?: CountryOptions.Sr; - th?: CountryOptions.Th; + th?: CountryOptions.Th; - tj?: CountryOptions.Tj; + tj?: CountryOptions.Tj; - tr?: CountryOptions.Tr; + tr?: CountryOptions.Tr; - tw?: CountryOptions.Tw; + tw?: CountryOptions.Tw; - tz?: CountryOptions.Tz; + tz?: CountryOptions.Tz; - ua?: CountryOptions.Ua; + ua?: CountryOptions.Ua; - ug?: CountryOptions.Ug; + ug?: CountryOptions.Ug; - us?: CountryOptions.Us; + us?: CountryOptions.Us; - uy?: CountryOptions.Uy; + uy?: CountryOptions.Uy; - uz?: CountryOptions.Uz; + uz?: CountryOptions.Uz; - vn?: CountryOptions.Vn; + vn?: CountryOptions.Vn; - za?: CountryOptions.Za; + za?: CountryOptions.Za; - zm?: CountryOptions.Zm; + zm?: CountryOptions.Zm; - zw?: CountryOptions.Zw; - } + zw?: CountryOptions.Zw; + } - export type Status = 'active' | 'expired' | 'scheduled'; + export type Status = 'active' | 'expired' | 'scheduled'; - export namespace CountryOptions { - export interface Ae { - standard?: Ae.Standard; + export namespace CountryOptions { + export interface Ae { + standard?: Ae.Standard; - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Al { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Al { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Am { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Am { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Ao { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Ao { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface At { - standard?: At.Standard; + export interface At { + standard?: At.Standard; - /** - * Type of registration in an EU country. - */ - type: At.Type; - } + /** + * Type of registration in an EU country. + */ + type: At.Type; + } - export interface Au { - standard?: Au.Standard; + export interface Au { + standard?: Au.Standard; - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Aw { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Aw { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Az { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Az { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Ba { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Ba { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Bb { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Bb { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Bd { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Bd { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Be { - standard?: Be.Standard; + export interface Be { + standard?: Be.Standard; - /** - * Type of registration in an EU country. - */ - type: Be.Type; - } + /** + * Type of registration in an EU country. + */ + type: Be.Type; + } - export interface Bf { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Bf { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Bg { - standard?: Bg.Standard; + export interface Bg { + standard?: Bg.Standard; - /** - * Type of registration in an EU country. - */ - type: Bg.Type; - } + /** + * Type of registration in an EU country. + */ + type: Bg.Type; + } - export interface Bh { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Bh { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Bj { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Bj { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Bs { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Bs { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface By { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface By { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Ca { - province_standard?: Ca.ProvinceStandard; + export interface Ca { + province_standard?: Ca.ProvinceStandard; - /** - * Type of registration in Canada. - */ - type: Ca.Type; - } + /** + * Type of registration in Canada. + */ + type: Ca.Type; + } - export interface Cd { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Cd { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Ch { - standard?: Ch.Standard; + export interface Ch { + standard?: Ch.Standard; - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Cl { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Cl { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Cm { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Cm { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Co { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Co { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Cr { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Cr { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Cv { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Cv { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Cy { - standard?: Cy.Standard; + export interface Cy { + standard?: Cy.Standard; - /** - * Type of registration in an EU country. - */ - type: Cy.Type; - } + /** + * Type of registration in an EU country. + */ + type: Cy.Type; + } - export interface Cz { - standard?: Cz.Standard; + export interface Cz { + standard?: Cz.Standard; - /** - * Type of registration in an EU country. - */ - type: Cz.Type; - } + /** + * Type of registration in an EU country. + */ + type: Cz.Type; + } - export interface De { - standard?: De.Standard; + export interface De { + standard?: De.Standard; - /** - * Type of registration in an EU country. - */ - type: De.Type; - } + /** + * Type of registration in an EU country. + */ + type: De.Type; + } - export interface Dk { - standard?: Dk.Standard; + export interface Dk { + standard?: Dk.Standard; - /** - * Type of registration in an EU country. - */ - type: Dk.Type; - } + /** + * Type of registration in an EU country. + */ + type: Dk.Type; + } - export interface Ec { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Ec { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Ee { - standard?: Ee.Standard; + export interface Ee { + standard?: Ee.Standard; - /** - * Type of registration in an EU country. - */ - type: Ee.Type; - } + /** + * Type of registration in an EU country. + */ + type: Ee.Type; + } - export interface Eg { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Eg { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Es { - standard?: Es.Standard; + export interface Es { + standard?: Es.Standard; - /** - * Type of registration in an EU country. - */ - type: Es.Type; - } + /** + * Type of registration in an EU country. + */ + type: Es.Type; + } - export interface Et { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Et { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Fi { - standard?: Fi.Standard; + export interface Fi { + standard?: Fi.Standard; - /** - * Type of registration in an EU country. - */ - type: Fi.Type; - } + /** + * Type of registration in an EU country. + */ + type: Fi.Type; + } - export interface Fr { - standard?: Fr.Standard; + export interface Fr { + standard?: Fr.Standard; - /** - * Type of registration in an EU country. - */ - type: Fr.Type; - } + /** + * Type of registration in an EU country. + */ + type: Fr.Type; + } - export interface Gb { - standard?: Gb.Standard; + export interface Gb { + standard?: Gb.Standard; - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Ge { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Ge { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Gn { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Gn { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Gr { - standard?: Gr.Standard; + export interface Gr { + standard?: Gr.Standard; - /** - * Type of registration in an EU country. - */ - type: Gr.Type; - } + /** + * Type of registration in an EU country. + */ + type: Gr.Type; + } - export interface Hr { - standard?: Hr.Standard; + export interface Hr { + standard?: Hr.Standard; - /** - * Type of registration in an EU country. - */ - type: Hr.Type; - } + /** + * Type of registration in an EU country. + */ + type: Hr.Type; + } - export interface Hu { - standard?: Hu.Standard; + export interface Hu { + standard?: Hu.Standard; - /** - * Type of registration in an EU country. - */ - type: Hu.Type; - } + /** + * Type of registration in an EU country. + */ + type: Hu.Type; + } - export interface Id { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Id { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Ie { - standard?: Ie.Standard; + export interface Ie { + standard?: Ie.Standard; - /** - * Type of registration in an EU country. - */ - type: Ie.Type; - } + /** + * Type of registration in an EU country. + */ + type: Ie.Type; + } - export interface In { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface In { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Is { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Is { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface It { - standard?: It.Standard; + export interface It { + standard?: It.Standard; - /** - * Type of registration in an EU country. - */ - type: It.Type; - } + /** + * Type of registration in an EU country. + */ + type: It.Type; + } - export interface Jp { - standard?: Jp.Standard; + export interface Jp { + standard?: Jp.Standard; - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Ke { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Ke { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Kg { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Kg { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Kh { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Kh { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Kr { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Kr { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Kz { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Kz { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface La { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface La { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Lk { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Lk { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Lt { - standard?: Lt.Standard; + export interface Lt { + standard?: Lt.Standard; - /** - * Type of registration in an EU country. - */ - type: Lt.Type; - } + /** + * Type of registration in an EU country. + */ + type: Lt.Type; + } - export interface Lu { - standard?: Lu.Standard; + export interface Lu { + standard?: Lu.Standard; - /** - * Type of registration in an EU country. - */ - type: Lu.Type; - } + /** + * Type of registration in an EU country. + */ + type: Lu.Type; + } - export interface Lv { - standard?: Lv.Standard; + export interface Lv { + standard?: Lv.Standard; - /** - * Type of registration in an EU country. - */ - type: Lv.Type; - } + /** + * Type of registration in an EU country. + */ + type: Lv.Type; + } - export interface Ma { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Ma { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Md { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Md { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Me { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Me { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Mk { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Mk { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Mr { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Mr { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Mt { - standard?: Mt.Standard; + export interface Mt { + standard?: Mt.Standard; - /** - * Type of registration in an EU country. - */ - type: Mt.Type; - } + /** + * Type of registration in an EU country. + */ + type: Mt.Type; + } - export interface Mx { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Mx { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface My { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface My { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Ng { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Ng { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Nl { - standard?: Nl.Standard; + export interface Nl { + standard?: Nl.Standard; - /** - * Type of registration in an EU country. - */ - type: Nl.Type; - } + /** + * Type of registration in an EU country. + */ + type: Nl.Type; + } - export interface No { - standard?: No.Standard; + export interface No { + standard?: No.Standard; - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Np { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Np { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Nz { - standard?: Nz.Standard; + export interface Nz { + standard?: Nz.Standard; - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Om { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Om { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Pe { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Pe { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Ph { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Ph { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Pl { - standard?: Pl.Standard; + export interface Pl { + standard?: Pl.Standard; - /** - * Type of registration in an EU country. - */ - type: Pl.Type; - } + /** + * Type of registration in an EU country. + */ + type: Pl.Type; + } - export interface Pt { - standard?: Pt.Standard; + export interface Pt { + standard?: Pt.Standard; - /** - * Type of registration in an EU country. - */ - type: Pt.Type; - } + /** + * Type of registration in an EU country. + */ + type: Pt.Type; + } - export interface Ro { - standard?: Ro.Standard; + export interface Ro { + standard?: Ro.Standard; - /** - * Type of registration in an EU country. - */ - type: Ro.Type; - } + /** + * Type of registration in an EU country. + */ + type: Ro.Type; + } - export interface Rs { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Rs { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Ru { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Ru { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Sa { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Se { + standard?: Se.Standard; + + /** + * Type of registration in an EU country. + */ + type: Se.Type; + } + + export interface Sg { + standard?: Sg.Standard; + + /** + * Type of registration in `country`. + */ + type: 'standard'; + } + + export interface Si { + standard?: Si.Standard; + + /** + * Type of registration in an EU country. + */ + type: Si.Type; + } + + export interface Sk { + standard?: Sk.Standard; + + /** + * Type of registration in an EU country. + */ + type: Sk.Type; + } + + export interface Sn { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Sr { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } + + export interface Th { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Tj { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Tr { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Tw { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Tz { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Ua { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } + + export interface Ug { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Sa { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Us { + local_amusement_tax?: Us.LocalAmusementTax; - export interface Se { - standard?: Se.Standard; + local_lease_tax?: Us.LocalLeaseTax; - /** - * Type of registration in an EU country. - */ - type: Se.Type; - } + /** + * Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). + */ + state: string; - export interface Sg { - standard?: Sg.Standard; + state_sales_tax?: Us.StateSalesTax; - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + /** + * Type of registration in the US. + */ + type: Us.Type; + } - export interface Si { - standard?: Si.Standard; + export interface Uy { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - /** - * Type of registration in an EU country. - */ - type: Si.Type; - } + export interface Uz { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Sk { - standard?: Sk.Standard; + export interface Vn { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - /** - * Type of registration in an EU country. - */ - type: Sk.Type; - } + export interface Za { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Sn { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export interface Zm { + /** + * Type of registration in `country`. + */ + type: 'simplified'; + } - export interface Sr { - /** - * Type of registration in `country`. - */ - type: 'standard'; - } + export interface Zw { + /** + * Type of registration in `country`. + */ + type: 'standard'; + } - export interface Th { + export namespace Ae { + export interface Standard { /** - * Type of registration in `country`. + * Place of supply scheme used in an Default standard registration. */ - type: 'simplified'; + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export interface Tj { - /** - * Type of registration in `country`. - */ - type: 'simplified'; + export namespace Standard { + export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; } + } - export interface Tr { + export namespace At { + export interface Standard { /** - * Type of registration in `country`. + * Place of supply scheme used in an EU standard registration. */ - type: 'simplified'; + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export interface Tw { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export interface Tz { - /** - * Type of registration in `country`. - */ - type: 'simplified'; + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export interface Ua { + export namespace Au { + export interface Standard { /** - * Type of registration in `country`. + * Place of supply scheme used in an Default standard registration. */ - type: 'simplified'; + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export interface Ug { - /** - * Type of registration in `country`. - */ - type: 'simplified'; + export namespace Standard { + export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; } + } - export interface Us { - local_amusement_tax?: Us.LocalAmusementTax; - - local_lease_tax?: Us.LocalLeaseTax; - + export namespace Be { + export interface Standard { /** - * Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). + * Place of supply scheme used in an EU standard registration. */ - state: string; + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - state_sales_tax?: Us.StateSalesTax; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - /** - * Type of registration in the US. - */ - type: Us.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export interface Uy { + export namespace Bg { + export interface Standard { /** - * Type of registration in `country`. + * Place of supply scheme used in an EU standard registration. */ - type: 'standard'; + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export interface Uz { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export interface Vn { - /** - * Type of registration in `country`. - */ - type: 'simplified'; + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export interface Za { + export namespace Ca { + export interface ProvinceStandard { /** - * Type of registration in `country`. + * Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). */ - type: 'standard'; + province: string; } - export interface Zm { - /** - * Type of registration in `country`. - */ - type: 'simplified'; - } + export type Type = 'province_standard' | 'simplified' | 'standard'; + } - export interface Zw { + export namespace Ch { + export interface Standard { /** - * Type of registration in `country`. + * Place of supply scheme used in an Default standard registration. */ - type: 'standard'; - } - - export namespace Ae { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } - } - - export namespace At { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Au { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } - } - - export namespace Be { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export namespace Bg { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; } + } - export namespace Ca { - export interface ProvinceStandard { - /** - * Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). - */ - province: string; - } - - export type Type = 'province_standard' | 'simplified' | 'standard'; + export namespace Cy { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export namespace Ch { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Cy { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Cz { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export namespace Cz { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace De { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace De { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Dk { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Dk { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Ee { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Ee { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Es { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Es { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Fi { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Fi { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Fr { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Fr { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Gb { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Gb { + export interface Standard { + /** + * Place of supply scheme used in an Default standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; } + } - export namespace Gr { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Gr { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Hr { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Hr { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Hu { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Hu { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Ie { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Ie { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace It { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace It { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Jp { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Jp { + export interface Standard { + /** + * Place of supply scheme used in an Default standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; } + } - export namespace Lt { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Lt { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Lu { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Lu { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } + + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; + } + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export namespace Lv { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Lv { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Mt { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Mt { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Nl { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Nl { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace No { + export interface Standard { + /** + * Place of supply scheme used in an Default standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export namespace Standard { + export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; + } + } - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Nz { + export interface Standard { + /** + * Place of supply scheme used in an Default standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export namespace No { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Standard { + export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; + } + } - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + export namespace Pl { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export namespace Nz { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Pl { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Pt { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Pt { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Ro { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Ro { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Se { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Se { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Sg { + export interface Standard { + /** + * Place of supply scheme used in an Default standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export namespace Standard { + export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; + } + } - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Si { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export namespace Sg { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Si { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Sk { + export interface Standard { + /** + * Place of supply scheme used in an EU standard registration. + */ + place_of_supply_scheme: Standard.PlaceOfSupplyScheme; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } + } - export namespace Sk { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } + export namespace Us { + export interface LocalAmusementTax { + /** + * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. + */ + jurisdiction: string; + } - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; + export interface LocalLeaseTax { + /** + * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. + */ + jurisdiction: string; + } - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export interface StateSalesTax { + /** + * Elections for the state sales tax registration. + */ + elections?: Array; } - export namespace Us { - export interface LocalAmusementTax { - /** - * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. - */ - jurisdiction: string; - } + export type Type = + | 'local_amusement_tax' + | 'local_lease_tax' + | 'state_communications_tax' + | 'state_retail_delivery_fee' + | 'state_sales_tax'; - export interface LocalLeaseTax { + export namespace StateSalesTax { + export interface Election { /** * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. */ - jurisdiction: string; - } + jurisdiction?: string; - export interface StateSalesTax { /** - * Elections for the state sales tax registration. + * The type of the election for the state sales tax registration. */ - elections?: Array; + type: Election.Type; } - export type Type = - | 'local_amusement_tax' - | 'local_lease_tax' - | 'state_communications_tax' - | 'state_retail_delivery_fee' - | 'state_sales_tax'; - - export namespace StateSalesTax { - export interface Election { - /** - * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. - */ - jurisdiction?: string; - - /** - * The type of the election for the state sales tax registration. - */ - type: Election.Type; - } - - export namespace Election { - export type Type = - | 'local_use_tax' - | 'simplified_sellers_use_tax' - | 'single_local_use_tax'; - } + export namespace Election { + export type Type = + | 'local_use_tax' + | 'simplified_sellers_use_tax' + | 'single_local_use_tax'; } } } diff --git a/src/resources/Tax/Settings.ts b/src/resources/Tax/Settings.ts index 9850988e96..f25bd20f40 100644 --- a/src/resources/Tax/Settings.ts +++ b/src/resources/Tax/Settings.ts @@ -35,12 +35,12 @@ export interface Settings { */ object: 'tax.settings'; - defaults: Tax.Settings.Defaults; + defaults: Settings.Defaults; /** * The place where your business is located. */ - head_office: Tax.Settings.HeadOffice | null; + head_office: Settings.HeadOffice | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -50,59 +50,57 @@ export interface Settings { /** * The status of the Tax `Settings`. */ - status: Tax.Settings.Status; + status: Settings.Status; - status_details: Tax.Settings.StatusDetails; + status_details: Settings.StatusDetails; } -export namespace Tax { - export namespace Settings { - export interface Defaults { - /** - * The tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](https://docs.stripe.com/tax/third-party-apps). - */ - provider: Defaults.Provider; +export namespace Settings { + export interface Defaults { + /** + * The tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](https://docs.stripe.com/tax/third-party-apps). + */ + provider: Defaults.Provider; - /** - * Default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item's price has a tax behavior set, it will take precedence over the default tax behavior. - */ - tax_behavior: Defaults.TaxBehavior | null; + /** + * Default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item's price has a tax behavior set, it will take precedence over the default tax behavior. + */ + tax_behavior: Defaults.TaxBehavior | null; - /** - * Default [tax code](https://stripe.com/docs/tax/tax-categories) used to classify your products and prices. - */ - tax_code: string | null; - } + /** + * Default [tax code](https://stripe.com/docs/tax/tax-categories) used to classify your products and prices. + */ + tax_code: string | null; + } - export interface HeadOffice { - address: Address; - } + export interface HeadOffice { + address: Address; + } - export type Status = 'active' | 'pending'; + export type Status = 'active' | 'pending'; - export interface StatusDetails { - active?: StatusDetails.Active; + export interface StatusDetails { + active?: StatusDetails.Active; - pending?: StatusDetails.Pending; - } + pending?: StatusDetails.Pending; + } - export namespace Defaults { - export type Provider = 'anrok' | 'avalara' | 'sphere' | 'stripe'; + export namespace Defaults { + export type Provider = 'anrok' | 'avalara' | 'sphere' | 'stripe'; - export type TaxBehavior = - | 'exclusive' - | 'inclusive' - | 'inferred_by_currency'; - } + export type TaxBehavior = + | 'exclusive' + | 'inclusive' + | 'inferred_by_currency'; + } - export namespace StatusDetails { - export interface Active {} + export namespace StatusDetails { + export interface Active {} - export interface Pending { - /** - * The list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call. - */ - missing_fields: Array | null; - } + export interface Pending { + /** + * The list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call. + */ + missing_fields: Array | null; } } } diff --git a/src/resources/Tax/TransactionLineItems.ts b/src/resources/Tax/TransactionLineItems.ts index fbb0423302..ee4b97d9f5 100644 --- a/src/resources/Tax/TransactionLineItems.ts +++ b/src/resources/Tax/TransactionLineItems.ts @@ -51,12 +51,12 @@ export interface TransactionLineItem { /** * If `type=reversal`, contains information about what was reversed. */ - reversal: Tax.TransactionLineItem.Reversal | null; + reversal: TransactionLineItem.Reversal | null; /** * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. */ - tax_behavior: Tax.TransactionLineItem.TaxBehavior; + tax_behavior: TransactionLineItem.TaxBehavior; /** * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for this resource. @@ -66,19 +66,17 @@ export interface TransactionLineItem { /** * If `reversal`, this line item reverses an earlier transaction. */ - type: Tax.TransactionLineItem.Type; + type: TransactionLineItem.Type; } -export namespace Tax { - export namespace TransactionLineItem { - export interface Reversal { - /** - * The `id` of the line item to reverse in the original transaction. - */ - original_line_item: string; - } +export namespace TransactionLineItem { + export interface Reversal { + /** + * The `id` of the line item to reverse in the original transaction. + */ + original_line_item: string; + } - export type TaxBehavior = 'exclusive' | 'inclusive'; + export type TaxBehavior = 'exclusive' | 'inclusive'; - export type Type = 'reversal' | 'transaction'; - } + export type Type = 'reversal' | 'transaction'; } diff --git a/src/resources/Tax/Transactions.ts b/src/resources/Tax/Transactions.ts index b313f55b6b..f86efc46a3 100644 --- a/src/resources/Tax/Transactions.ts +++ b/src/resources/Tax/Transactions.ts @@ -99,7 +99,7 @@ export interface Transaction { */ customer: string | null; - customer_details: Tax.Transaction.CustomerDetails; + customer_details: Transaction.CustomerDetails; /** * The tax collected or refunded, by line item. @@ -129,17 +129,17 @@ export interface Transaction { /** * If `type=reversal`, contains information about what was reversed. */ - reversal: Tax.Transaction.Reversal | null; + reversal: Transaction.Reversal | null; /** * The details of the ship from location, such as the address. */ - ship_from_details: Tax.Transaction.ShipFromDetails | null; + ship_from_details: Transaction.ShipFromDetails | null; /** * The shipping cost details for the transaction. */ - shipping_cost: Tax.Transaction.ShippingCost | null; + shipping_cost: Transaction.ShippingCost | null; /** * The calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window. @@ -149,341 +149,339 @@ export interface Transaction { /** * If `reversal`, this transaction reverses an earlier transaction. */ - type: Tax.Transaction.Type; + type: Transaction.Type; } -export namespace Tax { - export namespace Transaction { - export interface CustomerDetails { - /** - * The customer's postal address (for example, home or business location). - */ - address: Address | null; +export namespace Transaction { + export interface CustomerDetails { + /** + * The customer's postal address (for example, home or business location). + */ + address: Address | null; - /** - * The type of customer address provided. - */ - address_source: CustomerDetails.AddressSource | null; + /** + * The type of customer address provided. + */ + address_source: CustomerDetails.AddressSource | null; - /** - * The customer's IP address (IPv4 or IPv6). - */ - ip_address: string | null; + /** + * The customer's IP address (IPv4 or IPv6). + */ + ip_address: string | null; - /** - * The customer's tax IDs (for example, EU VAT numbers). - */ - tax_ids: Array; + /** + * The customer's tax IDs (for example, EU VAT numbers). + */ + tax_ids: Array; + /** + * The taxability override used for taxation. + */ + taxability_override: CustomerDetails.TaxabilityOverride; + } + + export interface Reversal { + /** + * The `id` of the reversed `Transaction` object. + */ + original_transaction: string | null; + } + + export interface ShipFromDetails { + address: Address; + } + + export interface ShippingCost { + /** + * The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount. + */ + amount: number; + + /** + * The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + */ + amount_tax: number; + + /** + * The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object). + */ + shipping_rate?: string; + + /** + * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. + */ + tax_behavior: ShippingCost.TaxBehavior; + + /** + * Detailed account of taxes relevant to shipping cost. (It is not populated for the transaction resource object and will be removed in the next API version.) + */ + tax_breakdown?: Array; + + /** + * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping. + */ + tax_code: string; + } + + export type Type = 'reversal' | 'transaction'; + + export namespace CustomerDetails { + export type AddressSource = 'billing' | 'shipping'; + + export interface TaxId { /** - * The taxability override used for taxation. + * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` */ - taxability_override: CustomerDetails.TaxabilityOverride; - } + type: TaxId.Type; - export interface Reversal { /** - * The `id` of the reversed `Transaction` object. + * The value of the tax ID. */ - original_transaction: string | null; + value: string; } - export interface ShipFromDetails { - address: Address; + export type TaxabilityOverride = + | 'customer_exempt' + | 'none' + | 'reverse_charge'; + + export namespace TaxId { + export 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' + | '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'; } + } - export interface ShippingCost { + export namespace ShippingCost { + export type TaxBehavior = 'exclusive' | 'inclusive'; + + export interface TaxBreakdown { /** - * The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount. + * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). */ amount: number; - /** - * The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). - */ - amount_tax: number; + jurisdiction: TaxBreakdown.Jurisdiction; /** - * The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object). + * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address). */ - shipping_rate?: string; + sourcing: TaxBreakdown.Sourcing; /** - * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. + * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax. */ - tax_behavior: ShippingCost.TaxBehavior; + tax_rate_details: TaxBreakdown.TaxRateDetails | null; /** - * Detailed account of taxes relevant to shipping cost. (It is not populated for the transaction resource object and will be removed in the next API version.) + * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. */ - tax_breakdown?: Array; + taxability_reason: TaxBreakdown.TaxabilityReason; /** - * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping. + * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). */ - tax_code: string; + taxable_amount: number; } - export type Type = 'reversal' | 'transaction'; - - export namespace CustomerDetails { - export type AddressSource = 'billing' | 'shipping'; - - export interface TaxId { + export namespace TaxBreakdown { + export interface Jurisdiction { /** - * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). */ - type: TaxId.Type; + country: string; /** - * The value of the tax ID. + * A human-readable name for the jurisdiction imposing the tax. */ - value: string; - } + display_name: string; - export type TaxabilityOverride = - | 'customer_exempt' - | 'none' - | 'reverse_charge'; - - export namespace TaxId { - export 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' - | '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'; - } - } - - export namespace ShippingCost { - export type TaxBehavior = 'exclusive' | 'inclusive'; - - export interface TaxBreakdown { /** - * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + * Indicates the level of the jurisdiction imposing the tax. */ - amount: number; - - jurisdiction: TaxBreakdown.Jurisdiction; + level: Jurisdiction.Level; /** - * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address). + * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States. */ - sourcing: TaxBreakdown.Sourcing; + state: string | null; + } + export type Sourcing = 'destination' | 'origin'; + + export interface TaxRateDetails { /** - * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax. + * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". */ - tax_rate_details: TaxBreakdown.TaxRateDetails | null; + display_name: string; /** - * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. + * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". */ - taxability_reason: TaxBreakdown.TaxabilityReason; + percentage_decimal: string; /** - * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). + * The tax type, such as `vat` or `sales_tax`. */ - taxable_amount: number; + tax_type: TaxRateDetails.TaxType; + } + + export type TaxabilityReason = + | 'customer_exempt' + | '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'; + + export namespace Jurisdiction { + export type Level = + | 'city' + | 'country' + | 'county' + | 'district' + | 'state'; } - export namespace TaxBreakdown { - export interface Jurisdiction { - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * A human-readable name for the jurisdiction imposing the tax. - */ - display_name: string; - - /** - * Indicates the level of the jurisdiction imposing the tax. - */ - level: Jurisdiction.Level; - - /** - * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States. - */ - state: string | null; - } - - export type Sourcing = 'destination' | 'origin'; - - export interface TaxRateDetails { - /** - * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". - */ - display_name: string; - - /** - * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". - */ - percentage_decimal: string; - - /** - * The tax type, such as `vat` or `sales_tax`. - */ - tax_type: TaxRateDetails.TaxType; - } - - export type TaxabilityReason = - | 'customer_exempt' - | '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'; - - export namespace Jurisdiction { - export type Level = - | 'city' - | 'country' - | 'county' - | 'district' - | 'state'; - } - - export namespace TaxRateDetails { - export type TaxType = - | 'amusement_tax' - | 'communications_tax' - | 'gst' - | 'hst' - | 'igst' - | 'jct' - | 'lease_tax' - | 'pst' - | 'qst' - | 'retail_delivery_fee' - | 'rst' - | 'sales_tax' - | 'service_tax' - | 'vat'; - } + export namespace TaxRateDetails { + export type TaxType = + | 'amusement_tax' + | 'communications_tax' + | 'gst' + | 'hst' + | 'igst' + | 'jct' + | 'lease_tax' + | 'pst' + | 'qst' + | 'retail_delivery_fee' + | 'rst' + | 'sales_tax' + | 'service_tax' + | 'vat'; } } } diff --git a/src/resources/Terminal/Configurations.ts b/src/resources/Terminal/Configurations.ts index 6d56d9706b..97c5936dff 100644 --- a/src/resources/Terminal/Configurations.ts +++ b/src/resources/Terminal/Configurations.ts @@ -13,7 +13,7 @@ export class ConfigurationResource extends StripeResource { id: string, params?: Terminal.ConfigurationDeleteParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'DELETE', `/v1/terminal/configurations/${encodeURIComponent(id)}`, @@ -28,7 +28,7 @@ export class ConfigurationResource extends StripeResource { id: string, params?: Terminal.ConfigurationRetrieveParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'GET', `/v1/terminal/configurations/${encodeURIComponent(id)}`, @@ -43,7 +43,7 @@ export class ConfigurationResource extends StripeResource { id: string, params?: Terminal.ConfigurationUpdateParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'POST', `/v1/terminal/configurations/${encodeURIComponent(id)}`, @@ -94,11 +94,11 @@ export interface Configuration { */ object: 'terminal.configuration'; - bbpos_wisepad3?: Terminal.Configuration.BbposWisepad3; + bbpos_wisepad3?: Configuration.BbposWisepad3; - bbpos_wisepos_e?: Terminal.Configuration.BbposWiseposE; + bbpos_wisepos_e?: Configuration.BbposWiseposE; - cellular?: Terminal.Configuration.Cellular; + cellular?: Configuration.Cellular; /** * Always true for a deleted object @@ -120,619 +120,616 @@ export interface Configuration { */ name: string | null; - offline?: Terminal.Configuration.Offline; + offline?: Configuration.Offline; - reboot_window?: Terminal.Configuration.RebootWindow; + reboot_window?: Configuration.RebootWindow; - stripe_s700?: Terminal.Configuration.StripeS700; + stripe_s700?: Configuration.StripeS700; - stripe_s710?: Terminal.Configuration.StripeS710; + stripe_s710?: Configuration.StripeS710; - tipping?: Terminal.Configuration.Tipping; + tipping?: Configuration.Tipping; - verifone_m425?: Terminal.Configuration.VerifoneM425; + verifone_m425?: Configuration.VerifoneM425; - verifone_p400?: Terminal.Configuration.VerifoneP400; + verifone_p400?: Configuration.VerifoneP400; - verifone_p630?: Terminal.Configuration.VerifoneP630; + verifone_p630?: Configuration.VerifoneP630; - verifone_ux700?: Terminal.Configuration.VerifoneUx700; + verifone_ux700?: Configuration.VerifoneUx700; - verifone_v660p?: Terminal.Configuration.VerifoneV660p; + verifone_v660p?: Configuration.VerifoneV660p; - wifi?: Terminal.Configuration.Wifi; + wifi?: Configuration.Wifi; } -export namespace Terminal { - export interface DeletedConfiguration { +export interface DeletedConfiguration { + /** + * Unique identifier for the object. + */ + id: string; + + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'terminal.configuration'; + + /** + * Always true for a deleted object + */ + deleted: true; +} +export namespace Configuration { + export interface BbposWisepad3 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface BbposWiseposE { /** - * Unique identifier for the object. + * A File ID representing an image to display on the reader */ - id: string; + splashscreen?: string | File; + } + export interface Cellular { /** - * String representing the object's type. Objects of the same type share the same value. + * Whether a cellular-capable reader can connect to the internet over cellular. */ - object: 'terminal.configuration'; + enabled: boolean; + } + export interface Offline { /** - * Always true for a deleted object + * Determines whether to allow transactions to be collected while reader is offline. Defaults to false. */ - deleted: true; + enabled: boolean | null; } - export namespace Configuration { - export interface BbposWisepad3 { + export interface RebootWindow { + /** + * Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. + */ + end_hour: number; + + /** + * Integer between 0 to 23 that represents the start hour of the reboot time window. + */ + start_hour: number; + } + + export interface StripeS700 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface StripeS710 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface Tipping { + aed?: Tipping.Aed; + + aud?: Tipping.Aud; + + cad?: Tipping.Cad; + + chf?: Tipping.Chf; + + czk?: Tipping.Czk; + + dkk?: Tipping.Dkk; + + eur?: Tipping.Eur; + + gbp?: Tipping.Gbp; + + gip?: Tipping.Gip; + + hkd?: Tipping.Hkd; + + huf?: Tipping.Huf; + + jpy?: Tipping.Jpy; + + mxn?: Tipping.Mxn; + + myr?: Tipping.Myr; + + nok?: Tipping.Nok; + + nzd?: Tipping.Nzd; + + pln?: Tipping.Pln; + + ron?: Tipping.Ron; + + sek?: Tipping.Sek; + + sgd?: Tipping.Sgd; + + usd?: Tipping.Usd; + } + + export interface VerifoneM425 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface VerifoneP400 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface VerifoneP630 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface VerifoneUx700 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface VerifoneV660p { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface Wifi { + enterprise_eap_peap?: Wifi.EnterpriseEapPeap; + + enterprise_eap_tls?: Wifi.EnterpriseEapTls; + + personal_psk?: Wifi.PersonalPsk; + + /** + * Security type of the WiFi network. The hash with the corresponding name contains the credentials for this security type. + */ + type: Wifi.Type; + } + + export namespace Tipping { + export interface Aed { /** - * A File ID representing an image to display on the reader + * Fixed amounts displayed when collecting a tip */ - splashscreen?: string | File; - } + fixed_amounts?: Array | null; - export interface BbposWiseposE { /** - * A File ID representing an image to display on the reader + * Percentages displayed when collecting a tip */ - splashscreen?: string | File; - } + percentages?: Array | null; - export interface Cellular { /** - * Whether a cellular-capable reader can connect to the internet over cellular. + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed */ - enabled: boolean; + smart_tip_threshold?: number; } - export interface Offline { + export interface Aud { /** - * Determines whether to allow transactions to be collected while reader is offline. Defaults to false. + * Fixed amounts displayed when collecting a tip */ - enabled: boolean | null; - } + fixed_amounts?: Array | null; - export interface RebootWindow { /** - * Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. + * Percentages displayed when collecting a tip */ - end_hour: number; + percentages?: Array | null; /** - * Integer between 0 to 23 that represents the start hour of the reboot time window. + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed */ - start_hour: number; + smart_tip_threshold?: number; } - export interface StripeS700 { + export interface Cad { /** - * A File ID representing an image to display on the reader + * Fixed amounts displayed when collecting a tip */ - splashscreen?: string | File; - } + fixed_amounts?: Array | null; - export interface StripeS710 { /** - * A File ID representing an image to display on the reader + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; + + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed */ - splashscreen?: string | File; + smart_tip_threshold?: number; } - export interface Tipping { - aed?: Tipping.Aed; + export interface Chf { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - aud?: Tipping.Aud; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - cad?: Tipping.Cad; + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - chf?: Tipping.Chf; + export interface Czk { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - czk?: Tipping.Czk; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - dkk?: Tipping.Dkk; + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - eur?: Tipping.Eur; + export interface Dkk { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - gbp?: Tipping.Gbp; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - gip?: Tipping.Gip; + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - hkd?: Tipping.Hkd; + export interface Eur { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - huf?: Tipping.Huf; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - jpy?: Tipping.Jpy; + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - mxn?: Tipping.Mxn; + export interface Gbp { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - myr?: Tipping.Myr; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - nok?: Tipping.Nok; + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - nzd?: Tipping.Nzd; + export interface Gip { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - pln?: Tipping.Pln; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - ron?: Tipping.Ron; + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - sek?: Tipping.Sek; + export interface Hkd { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - sgd?: Tipping.Sgd; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - usd?: Tipping.Usd; + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; } - export interface VerifoneM425 { + export interface Huf { /** - * A File ID representing an image to display on the reader + * Fixed amounts displayed when collecting a tip */ - splashscreen?: string | File; - } + fixed_amounts?: Array | null; - export interface VerifoneP400 { /** - * A File ID representing an image to display on the reader + * Percentages displayed when collecting a tip */ - splashscreen?: string | File; - } + percentages?: Array | null; - export interface VerifoneP630 { /** - * A File ID representing an image to display on the reader + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed */ - splashscreen?: string | File; + smart_tip_threshold?: number; } - export interface VerifoneUx700 { + export interface Jpy { /** - * A File ID representing an image to display on the reader + * Fixed amounts displayed when collecting a tip */ - splashscreen?: string | File; - } + fixed_amounts?: Array | null; - export interface VerifoneV660p { /** - * A File ID representing an image to display on the reader + * Percentages displayed when collecting a tip */ - splashscreen?: string | File; - } + percentages?: Array | null; - export interface Wifi { - enterprise_eap_peap?: Wifi.EnterpriseEapPeap; + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - enterprise_eap_tls?: Wifi.EnterpriseEapTls; + export interface Mxn { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - personal_psk?: Wifi.PersonalPsk; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; /** - * Security type of the WiFi network. The hash with the corresponding name contains the credentials for this security type. + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed */ - type: Wifi.Type; + smart_tip_threshold?: number; } - export namespace Tipping { - export interface Aed { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; + export interface Myr { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - export interface Aud { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; + export interface Nok { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - export interface Cad { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; + export interface Nzd { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Chf { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Czk { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Dkk { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Eur { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Gbp { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Gip { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Hkd { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Huf { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Jpy { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Mxn { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Myr { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Nok { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } - - export interface Nzd { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; - - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; - - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - export interface Pln { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; + export interface Pln { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - export interface Ron { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; + export interface Ron { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - export interface Sek { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; + export interface Sek { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - export interface Sgd { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; + export interface Sgd { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; + } - export interface Usd { - /** - * Fixed amounts displayed when collecting a tip - */ - fixed_amounts?: Array | null; + export interface Usd { + /** + * Fixed amounts displayed when collecting a tip + */ + fixed_amounts?: Array | null; - /** - * Percentages displayed when collecting a tip - */ - percentages?: Array | null; + /** + * Percentages displayed when collecting a tip + */ + percentages?: Array | null; - /** - * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed - */ - smart_tip_threshold?: number; - } + /** + * Below this amount, fixed amounts will be displayed; above it, percentages will be displayed + */ + smart_tip_threshold?: number; } + } - export namespace Wifi { - export interface EnterpriseEapPeap { - /** - * A File ID representing a PEM file containing the server certificate - */ - ca_certificate_file?: string; - - /** - * Password for connecting to the WiFi network - */ - password: string; + export namespace Wifi { + export interface EnterpriseEapPeap { + /** + * A File ID representing a PEM file containing the server certificate + */ + ca_certificate_file?: string; - /** - * Name of the WiFi network - */ - ssid: string; + /** + * Password for connecting to the WiFi network + */ + password: string; - /** - * Username for connecting to the WiFi network - */ - username: string; - } + /** + * Name of the WiFi network + */ + ssid: string; - export interface EnterpriseEapTls { - /** - * A File ID representing a PEM file containing the server certificate - */ - ca_certificate_file?: string; + /** + * Username for connecting to the WiFi network + */ + username: string; + } - /** - * A File ID representing a PEM file containing the client certificate - */ - client_certificate_file: string; + export interface EnterpriseEapTls { + /** + * A File ID representing a PEM file containing the server certificate + */ + ca_certificate_file?: string; - /** - * A File ID representing a PEM file containing the client RSA private key - */ - private_key_file: string; + /** + * A File ID representing a PEM file containing the client certificate + */ + client_certificate_file: string; - /** - * Password for the private key file - */ - private_key_file_password?: string; + /** + * A File ID representing a PEM file containing the client RSA private key + */ + private_key_file: string; - /** - * Name of the WiFi network - */ - ssid: string; - } + /** + * Password for the private key file + */ + private_key_file_password?: string; - export interface PersonalPsk { - /** - * Password for connecting to the WiFi network - */ - password: string; + /** + * Name of the WiFi network + */ + ssid: string; + } - /** - * Name of the WiFi network - */ - ssid: string; - } + export interface PersonalPsk { + /** + * Password for connecting to the WiFi network + */ + password: string; - export type Type = - | 'enterprise_eap_peap' - | 'enterprise_eap_tls' - | 'personal_psk'; + /** + * Name of the WiFi network + */ + ssid: string; } + + export type Type = + | 'enterprise_eap_peap' + | 'enterprise_eap_tls' + | 'personal_psk'; } } export namespace Terminal { diff --git a/src/resources/Terminal/Locations.ts b/src/resources/Terminal/Locations.ts index 69a7913a85..5750e5d1d0 100644 --- a/src/resources/Terminal/Locations.ts +++ b/src/resources/Terminal/Locations.ts @@ -20,7 +20,7 @@ export class LocationResource extends StripeResource { id: string, params?: Terminal.LocationDeleteParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'DELETE', `/v1/terminal/locations/${encodeURIComponent(id)}`, @@ -35,7 +35,7 @@ export class LocationResource extends StripeResource { id: string, params?: Terminal.LocationRetrieveParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'GET', `/v1/terminal/locations/${encodeURIComponent(id)}`, @@ -50,7 +50,7 @@ export class LocationResource extends StripeResource { id: string, params?: Terminal.LocationUpdateParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'POST', `/v1/terminal/locations/${encodeURIComponent(id)}`, @@ -98,9 +98,9 @@ export interface Location { address: Address; - address_kana?: Terminal.Location.AddressKana; + address_kana?: Location.AddressKana; - address_kanji?: Terminal.Location.AddressKanji; + address_kanji?: Location.AddressKanji; /** * The ID of a configuration that will be used to customize all readers in this location. @@ -142,98 +142,95 @@ export interface Location { */ phone?: string; } -export namespace Terminal { - export interface DeletedLocation { +export interface DeletedLocation { + /** + * Unique identifier for the object. + */ + id: string; + + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'terminal.location'; + + /** + * Always true for a deleted object + */ + deleted: true; +} +export namespace Location { + export interface AddressKana { /** - * Unique identifier for the object. + * City/Ward. */ - id: string; + city: string | null; /** - * String representing the object's type. Objects of the same type share the same value. + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). */ - object: 'terminal.location'; + country: string | null; /** - * Always true for a deleted object + * Block/Building number. */ - deleted: true; - } - - export namespace Location { - export interface AddressKana { - /** - * City/Ward. - */ - city: string | null; + line1: string | null; - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string | null; - - /** - * Block/Building number. - */ - line1: string | null; - - /** - * Building details. - */ - line2: string | null; + /** + * Building details. + */ + line2: string | null; - /** - * ZIP or postal code. - */ - postal_code: string | null; + /** + * ZIP or postal code. + */ + postal_code: string | null; - /** - * Prefecture. - */ - state: string | null; + /** + * Prefecture. + */ + state: string | null; - /** - * Town/cho-me. - */ - town: string | null; - } + /** + * Town/cho-me. + */ + town: string | null; + } - export interface AddressKanji { - /** - * City/Ward. - */ - city: string | null; + export interface AddressKanji { + /** + * City/Ward. + */ + city: string | null; - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string | null; + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country: string | null; - /** - * Block/Building number. - */ - line1: string | null; + /** + * Block/Building number. + */ + line1: string | null; - /** - * Building details. - */ - line2: string | null; + /** + * Building details. + */ + line2: string | null; - /** - * ZIP or postal code. - */ - postal_code: string | null; + /** + * ZIP or postal code. + */ + postal_code: string | null; - /** - * Prefecture. - */ - state: string | null; + /** + * Prefecture. + */ + state: string | null; - /** - * Town/cho-me. - */ - town: string | null; - } + /** + * Town/cho-me. + */ + town: string | null; } } export namespace Terminal { diff --git a/src/resources/Terminal/OnboardingLinks.ts b/src/resources/Terminal/OnboardingLinks.ts index 848358a848..2068199420 100644 --- a/src/resources/Terminal/OnboardingLinks.ts +++ b/src/resources/Terminal/OnboardingLinks.ts @@ -25,7 +25,7 @@ export interface OnboardingLink { /** * Link type options associated with the current onboarding link object. */ - link_options: Terminal.OnboardingLink.LinkOptions; + link_options: OnboardingLink.LinkOptions; /** * The type of link being generated. @@ -42,27 +42,25 @@ export interface OnboardingLink { */ redirect_url: string; } -export namespace Terminal { - export namespace OnboardingLink { - export interface LinkOptions { +export namespace OnboardingLink { + export interface LinkOptions { + /** + * The options associated with the Apple Terms and Conditions link type. + */ + apple_terms_and_conditions: LinkOptions.AppleTermsAndConditions | null; + } + + export namespace LinkOptions { + export interface AppleTermsAndConditions { /** - * The options associated with the Apple Terms and Conditions link type. + * Whether the link should also support users relinking their Apple account. */ - apple_terms_and_conditions: LinkOptions.AppleTermsAndConditions | null; - } + allow_relinking: boolean | null; - export namespace LinkOptions { - export interface AppleTermsAndConditions { - /** - * Whether the link should also support users relinking their Apple account. - */ - allow_relinking: boolean | null; - - /** - * The business name of the merchant accepting Apple's Terms and Conditions. - */ - merchant_display_name: string; - } + /** + * The business name of the merchant accepting Apple's Terms and Conditions. + */ + merchant_display_name: string; } } } diff --git a/src/resources/Terminal/Readers.ts b/src/resources/Terminal/Readers.ts index 0337a7b791..446251e2d2 100644 --- a/src/resources/Terminal/Readers.ts +++ b/src/resources/Terminal/Readers.ts @@ -24,7 +24,7 @@ export class ReaderResource extends StripeResource { id: string, params?: Terminal.ReaderDeleteParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'DELETE', `/v1/terminal/readers/${encodeURIComponent(id)}`, @@ -39,7 +39,7 @@ export class ReaderResource extends StripeResource { id: string, params?: Terminal.ReaderRetrieveParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'GET', `/v1/terminal/readers/${encodeURIComponent(id)}`, @@ -54,7 +54,7 @@ export class ReaderResource extends StripeResource { id: string, params?: Terminal.ReaderUpdateParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'POST', `/v1/terminal/readers/${encodeURIComponent(id)}`, @@ -222,7 +222,7 @@ export interface Reader { /** * The most recent action performed by the reader. */ - action: Terminal.Reader.Action | null; + action: Reader.Action | null; /** * Always true for a deleted object @@ -237,7 +237,7 @@ export interface Reader { /** * Device type of the reader. */ - device_type: Terminal.Reader.DeviceType; + device_type: Reader.DeviceType; /** * The local IP address of the reader. @@ -277,972 +277,965 @@ export interface Reader { /** * The networking status of the reader. We do not recommend using this field in flows that may block taking payments. */ - status: Terminal.Reader.Status | null; + status: Reader.Status | null; } -export namespace Terminal { - export interface DeletedReader { +export interface DeletedReader { + /** + * Unique identifier for the object. + */ + id: string; + + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'terminal.reader'; + + /** + * Always true for a deleted object + */ + deleted: true; + + /** + * Device type of the reader. + */ + device_type: DeletedReader.DeviceType; + + /** + * Serial number of the reader. + */ + serial_number: string; +} +export namespace DeletedReader { + export type DeviceType = + | 'bbpos_chipper2x' + | 'bbpos_wisepad3' + | 'bbpos_wisepos_e' + | 'mobile_phone_reader' + | 'simulated_stripe_s700' + | 'simulated_stripe_s710' + | 'simulated_verifone_m425' + | 'simulated_verifone_p630' + | 'simulated_verifone_ux700' + | 'simulated_verifone_v660p' + | 'simulated_wisepos_e' + | 'stripe_m2' + | 'stripe_s700' + | 'stripe_s710' + | 'verifone_P400' + | 'verifone_m425' + | 'verifone_p630' + | 'verifone_ux700' + | 'verifone_v660p'; +} +export namespace Reader { + export interface Action { /** - * Unique identifier for the object. + * The reader action failed due to an [API error](https://docs.stripe.com/api/errors). Only present when `status` is `failed` and the underlying failure was an API error. Avoid parsing the `message` field for programmatic logic; use `type` or `code` instead. The `message` field is for display to humans only and may be updated at anytime. Requires [reader version](https://docs.stripe.com/terminal/readers/stripe-reader-s700-s710#reader-software-version) 2.42 or later. Readers on older versions always return null. */ - id: string; + api_error: Action.ApiError | null; /** - * String representing the object's type. Objects of the same type share the same value. + * Represents a reader action to collect customer inputs */ - object: 'terminal.reader'; + collect_inputs?: Action.CollectInputs; /** - * Always true for a deleted object + * Represents a reader action to collect a payment method */ - deleted: true; + collect_payment_method?: Action.CollectPaymentMethod; /** - * Device type of the reader. + * Represents a reader action to confirm a payment */ - device_type: DeletedReader.DeviceType; + confirm_payment_intent?: Action.ConfirmPaymentIntent; /** - * Serial number of the reader. + * Failure code, only set if status is `failed`. */ - serial_number: string; - } + failure_code: string | null; - export namespace DeletedReader { - export type DeviceType = - | 'bbpos_chipper2x' - | 'bbpos_wisepad3' - | 'bbpos_wisepos_e' - | 'mobile_phone_reader' - | 'simulated_stripe_s700' - | 'simulated_stripe_s710' - | 'simulated_verifone_m425' - | 'simulated_verifone_p630' - | 'simulated_verifone_ux700' - | 'simulated_verifone_v660p' - | 'simulated_wisepos_e' - | 'stripe_m2' - | 'stripe_s700' - | 'stripe_s710' - | 'verifone_P400' - | 'verifone_m425' - | 'verifone_p630' - | 'verifone_ux700' - | 'verifone_v660p'; + /** + * Detailed failure message, only set if status is `failed`. + */ + failure_message: string | null; + + /** + * Represents a reader action to print content + */ + print_content?: Action.PrintContent; + + /** + * Represents a reader action to process a payment intent + */ + process_payment_intent?: Action.ProcessPaymentIntent; + + /** + * Represents a reader action to process a setup intent + */ + process_setup_intent?: Action.ProcessSetupIntent; + + /** + * Represents a reader action to refund a payment + */ + refund_payment?: Action.RefundPayment; + + /** + * Represents a reader action to set the reader display + */ + set_reader_display?: Action.SetReaderDisplay; + + /** + * Status of the action performed by the reader. + */ + status: Action.Status; + + /** + * Type of action performed by the reader. + */ + type: Action.Type; } - export namespace Reader { - export interface Action { + export type DeviceType = + | 'bbpos_chipper2x' + | 'bbpos_wisepad3' + | 'bbpos_wisepos_e' + | 'mobile_phone_reader' + | 'simulated_stripe_s700' + | 'simulated_stripe_s710' + | 'simulated_verifone_m425' + | 'simulated_verifone_p630' + | 'simulated_verifone_ux700' + | 'simulated_verifone_v660p' + | 'simulated_wisepos_e' + | 'stripe_m2' + | 'stripe_s700' + | 'stripe_s710' + | 'verifone_P400' + | 'verifone_m425' + | 'verifone_p630' + | 'verifone_ux700' + | 'verifone_v660p'; + + export type Status = 'offline' | 'online'; + + export namespace Action { + export interface ApiError { /** - * The reader action failed due to an [API error](https://docs.stripe.com/api/errors). Only present when `status` is `failed` and the underlying failure was an API error. Avoid parsing the `message` field for programmatic logic; use `type` or `code` instead. The `message` field is for display to humans only and may be updated at anytime. Requires [reader version](https://docs.stripe.com/terminal/readers/stripe-reader-s700-s710#reader-software-version) 2.42 or later. Readers on older versions always return null. + * For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one. */ - api_error: Action.ApiError | null; + advice_code?: string; /** - * Represents a reader action to collect customer inputs + * For card errors, the ID of the failed charge. */ - collect_inputs?: Action.CollectInputs; + charge?: string; /** - * Represents a reader action to collect a payment method + * For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported. */ - collect_payment_method?: Action.CollectPaymentMethod; + code?: ApiError.Code; /** - * Represents a reader action to confirm a payment + * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one. */ - confirm_payment_intent?: Action.ConfirmPaymentIntent; + decline_code?: string; /** - * Failure code, only set if status is `failed`. + * A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported. */ - failure_code: string | null; + doc_url?: string; /** - * Detailed failure message, only set if status is `failed`. + * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users. */ - failure_message: string | null; + message?: string; /** - * Represents a reader action to print content + * For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error. */ - print_content?: Action.PrintContent; + network_advice_code?: string; /** - * Represents a reader action to process a payment intent + * For payments declined by the network, an alphanumeric code which indicates the reason the payment failed. */ - process_payment_intent?: Action.ProcessPaymentIntent; + network_decline_code?: string; /** - * Represents a reader action to process a setup intent + * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field. */ - process_setup_intent?: Action.ProcessSetupIntent; + param?: string; /** - * Represents a reader action to refund a payment + * A PaymentIntent guides you through the process of collecting a payment from your customer. + * We recommend that you create exactly one PaymentIntent for each order or + * customer session in your system. You can reference the PaymentIntent later to + * see the history of payment attempts for a particular session. + * + * A PaymentIntent transitions through + * [multiple statuses](https://docs.stripe.com/payments/paymentintents/lifecycle) + * throughout its lifetime as it interfaces with Stripe.js to perform + * authentication flows and ultimately creates at most one successful charge. + * + * Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents) */ - refund_payment?: Action.RefundPayment; + payment_intent?: PaymentIntent; /** - * Represents a reader action to set the reader display + * PaymentMethod objects represent your customer's payment instruments. + * You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to + * Customer objects to store instrument details for future payments. + * + * Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios). */ - set_reader_display?: Action.SetReaderDisplay; + payment_method?: PaymentMethod; /** - * Status of the action performed by the reader. + * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. */ - status: Action.Status; + payment_method_type?: string; /** - * Type of action performed by the reader. + * A URL to the request log entry in your dashboard. */ - type: Action.Type; - } + request_log_url?: string; - export type DeviceType = - | 'bbpos_chipper2x' - | 'bbpos_wisepad3' - | 'bbpos_wisepos_e' - | 'mobile_phone_reader' - | 'simulated_stripe_s700' - | 'simulated_stripe_s710' - | 'simulated_verifone_m425' - | 'simulated_verifone_p630' - | 'simulated_verifone_ux700' - | 'simulated_verifone_v660p' - | 'simulated_wisepos_e' - | 'stripe_m2' - | 'stripe_s700' - | 'stripe_s710' - | 'verifone_P400' - | 'verifone_m425' - | 'verifone_p630' - | 'verifone_ux700' - | 'verifone_v660p'; - - export type Status = 'offline' | 'online'; - - export namespace Action { - export interface ApiError { - /** - * For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one. - */ - advice_code?: string; + /** + * A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments. + * For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment. + * Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow. + * + * Create a SetupIntent when you're ready to collect your customer's payment credentials. + * Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid. + * The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides + * you through the setup process. + * + * Successful SetupIntents result in payment credentials that are optimized for future payments. + * For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through + * [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection + * to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents). + * If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer), + * it automatically attaches the resulting payment method to that Customer after successful setup. + * We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on + * PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods. + * + * By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. + * + * Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) + */ + setup_intent?: SetupIntent; - /** - * For card errors, the ID of the failed charge. - */ - charge?: string; + source?: CustomerSource; - /** - * For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported. - */ - code?: ApiError.Code; + /** + * The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` + */ + type: ApiError.Type; + } - /** - * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one. - */ - decline_code?: string; + export interface CollectInputs { + /** + * List of inputs to be collected. + */ + inputs: Array; - /** - * A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported. - */ - doc_url?: string; + /** + * 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. + */ + metadata: Metadata | null; + } - /** - * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users. - */ - message?: string; + export interface CollectPaymentMethod { + /** + * Represents a per-transaction override of a reader configuration + */ + collect_config?: CollectPaymentMethod.CollectConfig; - /** - * For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error. - */ - network_advice_code?: string; + /** + * Most recent PaymentIntent processed by the reader. + */ + payment_intent: string | PaymentIntent; - /** - * For payments declined by the network, an alphanumeric code which indicates the reason the payment failed. - */ - network_decline_code?: string; + /** + * PaymentMethod objects represent your customer's payment instruments. + * You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to + * Customer objects to store instrument details for future payments. + * + * Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios). + */ + payment_method?: PaymentMethod; + } - /** - * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field. - */ - param?: string; + export interface ConfirmPaymentIntent { + /** + * Represents a per-transaction override of a reader configuration + */ + confirm_config?: ConfirmPaymentIntent.ConfirmConfig; - /** - * A PaymentIntent guides you through the process of collecting a payment from your customer. - * We recommend that you create exactly one PaymentIntent for each order or - * customer session in your system. You can reference the PaymentIntent later to - * see the history of payment attempts for a particular session. - * - * A PaymentIntent transitions through - * [multiple statuses](https://docs.stripe.com/payments/paymentintents/lifecycle) - * throughout its lifetime as it interfaces with Stripe.js to perform - * authentication flows and ultimately creates at most one successful charge. - * - * Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents) - */ - payment_intent?: PaymentIntent; + /** + * Most recent PaymentIntent processed by the reader. + */ + payment_intent: string | PaymentIntent; + } - /** - * PaymentMethod objects represent your customer's payment instruments. - * You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to - * Customer objects to store instrument details for future payments. - * - * Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios). - */ - payment_method?: PaymentMethod; + export interface PrintContent { + /** + * Metadata of an uploaded file + */ + image?: PrintContent.Image; - /** - * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. - */ - payment_method_type?: string; + /** + * The type of content to print. Currently supports `image`. + */ + type: 'image'; + } - /** - * A URL to the request log entry in your dashboard. - */ - request_log_url?: string; + export interface ProcessPaymentIntent { + /** + * Most recent PaymentIntent processed by the reader. + */ + payment_intent: string | PaymentIntent; - /** - * A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments. - * For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment. - * Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow. - * - * Create a SetupIntent when you're ready to collect your customer's payment credentials. - * Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid. - * The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides - * you through the setup process. - * - * Successful SetupIntents result in payment credentials that are optimized for future payments. - * For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through - * [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection - * to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents). - * If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer), - * it automatically attaches the resulting payment method to that Customer after successful setup. - * We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on - * PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods. - * - * By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. - * - * Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents) - */ - setup_intent?: SetupIntent; + /** + * Represents a per-transaction override of a reader configuration + */ + process_config?: ProcessPaymentIntent.ProcessConfig; + } - source?: CustomerSource; + export interface ProcessSetupIntent { + /** + * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. + */ + generated_card?: string; - /** - * The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error` - */ - type: ApiError.Type; - } + /** + * Represents a per-setup override of a reader configuration + */ + process_config?: ProcessSetupIntent.ProcessConfig; - export interface CollectInputs { - /** - * List of inputs to be collected. - */ - inputs: Array; + /** + * Most recent SetupIntent processed by the reader. + */ + setup_intent: string | SetupIntent; + } - /** - * 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. - */ - metadata: Metadata | null; - } + export interface RefundPayment { + /** + * The amount being refunded. + */ + amount?: number; - export interface CollectPaymentMethod { - /** - * Represents a per-transaction override of a reader configuration - */ - collect_config?: CollectPaymentMethod.CollectConfig; + /** + * Charge that is being refunded. + */ + charge?: string | Charge; - /** - * Most recent PaymentIntent processed by the reader. - */ - payment_intent: string | PaymentIntent; + /** + * 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. + */ + metadata?: Metadata; - /** - * PaymentMethod objects represent your customer's payment instruments. - * You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to - * Customer objects to store instrument details for future payments. - * - * Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios). - */ - payment_method?: PaymentMethod; - } + /** + * Payment intent that is being refunded. + */ + payment_intent?: string | PaymentIntent; - export interface ConfirmPaymentIntent { - /** - * Represents a per-transaction override of a reader configuration - */ - confirm_config?: ConfirmPaymentIntent.ConfirmConfig; + /** + * The reason for the refund. + */ + reason?: RefundPayment.Reason; - /** - * Most recent PaymentIntent processed by the reader. - */ - payment_intent: string | PaymentIntent; - } + /** + * Unique identifier for the refund object. + */ + refund?: string | Refund; - export interface PrintContent { - /** - * Metadata of an uploaded file - */ - image?: PrintContent.Image; + /** + * Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. + */ + refund_application_fee?: boolean; - /** - * The type of content to print. Currently supports `image`. - */ - type: 'image'; - } + /** + * Represents a per-transaction override of a reader configuration + */ + refund_payment_config?: RefundPayment.RefundPaymentConfig; - export interface ProcessPaymentIntent { - /** - * Most recent PaymentIntent processed by the reader. - */ - payment_intent: string | PaymentIntent; + /** + * Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge. + */ + reverse_transfer?: boolean; + } - /** - * Represents a per-transaction override of a reader configuration - */ - process_config?: ProcessPaymentIntent.ProcessConfig; - } + export interface SetReaderDisplay { + /** + * Cart object to be displayed by the reader, including line items, amounts, and currency. + */ + cart: SetReaderDisplay.Cart | null; - export interface ProcessSetupIntent { - /** - * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. - */ - generated_card?: string; + /** + * Type of information to be displayed by the reader. Only `cart` is currently supported. + */ + type: 'cart'; + } - /** - * Represents a per-setup override of a reader configuration - */ - process_config?: ProcessSetupIntent.ProcessConfig; + export type Status = 'failed' | 'in_progress' | 'succeeded'; + + export type Type = + | 'collect_inputs' + | 'collect_payment_method' + | 'confirm_payment_intent' + | 'print_content' + | 'process_payment_intent' + | 'process_setup_intent' + | 'refund_payment' + | 'set_reader_display'; + + export namespace ApiError { + export 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' + | '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' + | '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_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_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_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'; - /** - * Most recent SetupIntent processed by the reader. - */ - setup_intent: string | SetupIntent; - } + export type Type = + | 'api_error' + | 'card_error' + | 'idempotency_error' + | 'invalid_request_error'; + } - export interface RefundPayment { + export namespace CollectInputs { + export interface Input { /** - * The amount being refunded. + * Default text of input being collected. */ - amount?: number; + custom_text: Input.CustomText | null; /** - * Charge that is being refunded. + * Information about a email being collected using a reader */ - charge?: string | Charge; + email?: Input.Email; /** - * 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. + * Information about a number being collected using a reader */ - metadata?: Metadata; + numeric?: Input.Numeric; /** - * Payment intent that is being refunded. + * Information about a phone number being collected using a reader */ - payment_intent?: string | PaymentIntent; + phone?: Input.Phone; /** - * The reason for the refund. + * Indicate that this input is required, disabling the skip button. */ - reason?: RefundPayment.Reason; + required: boolean | null; /** - * Unique identifier for the refund object. + * Information about a selection being collected using a reader */ - refund?: string | Refund; + selection?: Input.Selection; /** - * Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. + * Information about a signature being collected using a reader */ - refund_application_fee?: boolean; + signature?: Input.Signature; /** - * Represents a per-transaction override of a reader configuration + * Indicate that this input was skipped by the user. */ - refund_payment_config?: RefundPayment.RefundPaymentConfig; + skipped?: boolean; /** - * Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge. + * Information about text being collected using a reader */ - reverse_transfer?: boolean; - } + text?: Input.Text; - export interface SetReaderDisplay { /** - * Cart object to be displayed by the reader, including line items, amounts, and currency. + * List of toggles being collected. Values are present if collection is complete. */ - cart: SetReaderDisplay.Cart | null; + toggles: Array | null; /** - * Type of information to be displayed by the reader. Only `cart` is currently supported. + * Type of input being collected. */ - type: 'cart'; - } - - export type Status = 'failed' | 'in_progress' | 'succeeded'; - - export type Type = - | 'collect_inputs' - | 'collect_payment_method' - | 'confirm_payment_intent' - | 'print_content' - | 'process_payment_intent' - | 'process_setup_intent' - | 'refund_payment' - | 'set_reader_display'; - - export namespace ApiError { - export 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' - | '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' - | '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_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_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_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'; - - export type Type = - | 'api_error' - | 'card_error' - | 'idempotency_error' - | 'invalid_request_error'; + type: Input.Type; } - export namespace CollectInputs { - export interface Input { + export namespace Input { + export interface CustomText { /** - * Default text of input being collected. + * Customize the default description for this input */ - custom_text: Input.CustomText | null; + description: string | null; /** - * Information about a email being collected using a reader + * Customize the default label for this input's skip button */ - email?: Input.Email; + skip_button: string | null; /** - * Information about a number being collected using a reader + * Customize the default label for this input's submit button */ - numeric?: Input.Numeric; + submit_button: string | null; /** - * Information about a phone number being collected using a reader + * Customize the default title for this input */ - phone?: Input.Phone; + title: string | null; + } + export interface Email { /** - * Indicate that this input is required, disabling the skip button. + * The collected email address */ - required: boolean | null; + value: string | null; + } + export interface Numeric { /** - * Information about a selection being collected using a reader + * The collected number */ - selection?: Input.Selection; + value: string | null; + } + export interface Phone { /** - * Information about a signature being collected using a reader + * The collected phone number */ - signature?: Input.Signature; + value: string | null; + } + export interface Selection { /** - * Indicate that this input was skipped by the user. + * List of possible choices to be selected */ - skipped?: boolean; + choices: Array; /** - * Information about text being collected using a reader + * The id of the selected choice */ - text?: Input.Text; + id: string | null; /** - * List of toggles being collected. Values are present if collection is complete. + * The text of the selected choice */ - toggles: Array | null; + text: string | null; + } + export interface Signature { /** - * Type of input being collected. + * The File ID of a collected signature image */ - type: Input.Type; + value: string | null; } - export namespace Input { - export interface CustomText { - /** - * Customize the default description for this input - */ - description: string | null; - - /** - * Customize the default label for this input's skip button - */ - skip_button: string | null; - - /** - * Customize the default label for this input's submit button - */ - submit_button: string | null; - - /** - * Customize the default title for this input - */ - title: string | null; - } + export interface Text { + /** + * The collected text value + */ + value: string | null; + } - export interface Email { - /** - * The collected email address - */ - value: string | null; - } + export interface Toggle { + /** + * The toggle's default value. Can be `enabled` or `disabled`. + */ + default_value: Toggle.DefaultValue | null; - export interface Numeric { - /** - * The collected number - */ - value: string | null; - } + /** + * The toggle's description text. Maximum 50 characters. + */ + description: string | null; - export interface Phone { - /** - * The collected phone number - */ - value: string | null; - } + /** + * The toggle's title text. Maximum 50 characters. + */ + title: string | null; - export interface Selection { - /** - * List of possible choices to be selected - */ - choices: Array; + /** + * The toggle's collected value. Can be `enabled` or `disabled`. + */ + value: Toggle.Value | null; + } + export type Type = + | 'email' + | 'numeric' + | 'phone' + | 'selection' + | 'signature' + | 'text'; + + export namespace Selection { + export interface Choice { /** - * The id of the selected choice + * The identifier for the selected choice. Maximum 50 characters. */ id: string | null; /** - * The text of the selected choice + * The button style for the choice. Can be `primary` or `secondary`. */ - text: string | null; - } - - export interface Signature { - /** - * The File ID of a collected signature image - */ - value: string | null; - } - - export interface Text { - /** - * The collected text value - */ - value: string | null; - } - - export interface Toggle { - /** - * The toggle's default value. Can be `enabled` or `disabled`. - */ - default_value: Toggle.DefaultValue | null; + style: Choice.Style | null; /** - * The toggle's description text. Maximum 50 characters. + * The text to be selected. Maximum 30 characters. */ - description: string | null; - - /** - * The toggle's title text. Maximum 50 characters. - */ - title: string | null; - - /** - * The toggle's collected value. Can be `enabled` or `disabled`. - */ - value: Toggle.Value | null; + text: string; } - export type Type = - | 'email' - | 'numeric' - | 'phone' - | 'selection' - | 'signature' - | 'text'; - - export namespace Selection { - export interface Choice { - /** - * The identifier for the selected choice. Maximum 50 characters. - */ - id: string | null; - - /** - * The button style for the choice. Can be `primary` or `secondary`. - */ - style: Choice.Style | null; - - /** - * The text to be selected. Maximum 30 characters. - */ - text: string; - } - - export namespace Choice { - export type Style = 'primary' | 'secondary'; - } + export namespace Choice { + export type Style = 'primary' | 'secondary'; } + } - export namespace Toggle { - export type DefaultValue = 'disabled' | 'enabled'; + export namespace Toggle { + export type DefaultValue = 'disabled' | 'enabled'; - export type Value = 'disabled' | 'enabled'; - } + export type Value = 'disabled' | 'enabled'; } } + } - export namespace CollectPaymentMethod { - export interface CollectConfig { - /** - * Enable customer-initiated cancellation when processing this payment. - */ - enable_customer_cancellation?: boolean; - - /** - * Override showing a tipping selection screen on this transaction. - */ - skip_tipping?: boolean; + export namespace CollectPaymentMethod { + export interface CollectConfig { + /** + * Enable customer-initiated cancellation when processing this payment. + */ + enable_customer_cancellation?: boolean; - /** - * Represents a per-transaction tipping configuration - */ - tipping?: CollectConfig.Tipping; - } + /** + * Override showing a tipping selection screen on this transaction. + */ + skip_tipping?: boolean; - export namespace CollectConfig { - export interface Tipping { - /** - * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). - */ - amount_eligible?: number; - } - } + /** + * Represents a per-transaction tipping configuration + */ + tipping?: CollectConfig.Tipping; } - export namespace ConfirmPaymentIntent { - export interface ConfirmConfig { + export namespace CollectConfig { + export interface Tipping { /** - * If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. + * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). */ - return_url?: string; + amount_eligible?: number; } } + } - export namespace PrintContent { - export interface Image { - /** - * Creation time of the object (in seconds since the Unix epoch). - */ - created_at: number; + export namespace ConfirmPaymentIntent { + export interface ConfirmConfig { + /** + * If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. + */ + return_url?: string; + } + } - /** - * The original name of the uploaded file (e.g. `receipt.png`). - */ - filename: string; + export namespace PrintContent { + export interface Image { + /** + * Creation time of the object (in seconds since the Unix epoch). + */ + created_at: number; - /** - * The size (in bytes) of the uploaded file. - */ - size: number; + /** + * The original name of the uploaded file (e.g. `receipt.png`). + */ + filename: string; - /** - * The format of the uploaded file. - */ - type: string; - } - } + /** + * The size (in bytes) of the uploaded file. + */ + size: number; - export namespace ProcessPaymentIntent { - export interface ProcessConfig { - /** - * Enable customer-initiated cancellation when processing this payment. - */ - enable_customer_cancellation?: boolean; + /** + * The format of the uploaded file. + */ + type: string; + } + } - /** - * If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. - */ - return_url?: string; + export namespace ProcessPaymentIntent { + export interface ProcessConfig { + /** + * Enable customer-initiated cancellation when processing this payment. + */ + enable_customer_cancellation?: boolean; - /** - * Override showing a tipping selection screen on this transaction. - */ - skip_tipping?: boolean; + /** + * If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. + */ + return_url?: string; - /** - * Represents a per-transaction tipping configuration - */ - tipping?: ProcessConfig.Tipping; - } + /** + * Override showing a tipping selection screen on this transaction. + */ + skip_tipping?: boolean; - export namespace ProcessConfig { - export interface Tipping { - /** - * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). - */ - amount_eligible?: number; - } - } + /** + * Represents a per-transaction tipping configuration + */ + tipping?: ProcessConfig.Tipping; } - export namespace ProcessSetupIntent { - export interface ProcessConfig { + export namespace ProcessConfig { + export interface Tipping { /** - * Enable customer-initiated cancellation when processing this SetupIntent. + * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). */ - enable_customer_cancellation?: boolean; + amount_eligible?: number; } } + } - export namespace RefundPayment { - export type Reason = - | 'duplicate' - | 'fraudulent' - | 'requested_by_customer'; + export namespace ProcessSetupIntent { + export interface ProcessConfig { + /** + * Enable customer-initiated cancellation when processing this SetupIntent. + */ + enable_customer_cancellation?: boolean; + } + } - export interface RefundPaymentConfig { - /** - * Enable customer-initiated cancellation when refunding this payment. - */ - enable_customer_cancellation?: boolean; - } + export namespace RefundPayment { + export type Reason = 'duplicate' | 'fraudulent' | 'requested_by_customer'; + + export interface RefundPaymentConfig { + /** + * Enable customer-initiated cancellation when refunding this payment. + */ + enable_customer_cancellation?: boolean; } + } - export namespace SetReaderDisplay { - export interface Cart { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; + export namespace SetReaderDisplay { + export interface Cart { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * List of line items in the cart. + */ + line_items: Array; + + /** + * Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + tax: number | null; + + /** + * Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + total: number; + } + export namespace Cart { + export interface LineItem { /** - * List of line items in the cart. + * The amount of the line item. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). */ - line_items: Array; + amount: number; /** - * Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + * Description of the line item. */ - tax: number | null; + description: string; /** - * Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + * The quantity of the line item. */ - total: number; - } - - export namespace Cart { - export interface LineItem { - /** - * The amount of the line item. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount: number; - - /** - * Description of the line item. - */ - description: string; - - /** - * The quantity of the line item. - */ - quantity: number; - } + quantity: number; } } } diff --git a/src/resources/Terminal/index.ts b/src/resources/Terminal/index.ts index da788f9348..4081b46318 100644 --- a/src/resources/Terminal/index.ts +++ b/src/resources/Terminal/index.ts @@ -4,6 +4,7 @@ import {Stripe} from '../../stripe.core.js'; import { Terminal as TerminalNamespace0, Configuration, + DeletedConfiguration, ConfigurationResource, } from './Configurations.js'; import { @@ -14,6 +15,7 @@ import { import { Terminal as TerminalNamespace2, Location, + DeletedLocation, LocationResource, } from './Locations.js'; import { @@ -24,6 +26,7 @@ import { import { Terminal as TerminalNamespace4, Reader, + DeletedReader, ReaderResource, } from './Readers.js'; @@ -55,7 +58,7 @@ export declare namespace Terminal { export import ConfigurationUpdateParams = TerminalNamespace0.ConfigurationUpdateParams; export import ConfigurationListParams = TerminalNamespace0.ConfigurationListParams; export import ConfigurationCreateParams = TerminalNamespace0.ConfigurationCreateParams; - export import DeletedConfiguration = TerminalNamespace0.DeletedConfiguration; + export {DeletedConfiguration}; export {Configuration, ConfigurationResource}; export import ConnectionTokenCreateParams = TerminalNamespace1.ConnectionTokenCreateParams; export {ConnectionToken, ConnectionTokenResource}; @@ -64,7 +67,7 @@ export declare namespace Terminal { export import LocationUpdateParams = TerminalNamespace2.LocationUpdateParams; export import LocationListParams = TerminalNamespace2.LocationListParams; export import LocationCreateParams = TerminalNamespace2.LocationCreateParams; - export import DeletedLocation = TerminalNamespace2.DeletedLocation; + export {DeletedLocation}; export {Location, LocationResource}; export import OnboardingLinkCreateParams = TerminalNamespace3.OnboardingLinkCreateParams; export {OnboardingLink, OnboardingLinkResource}; @@ -81,6 +84,6 @@ export declare namespace Terminal { export import ReaderProcessSetupIntentParams = TerminalNamespace4.ReaderProcessSetupIntentParams; export import ReaderRefundPaymentParams = TerminalNamespace4.ReaderRefundPaymentParams; export import ReaderSetReaderDisplayParams = TerminalNamespace4.ReaderSetReaderDisplayParams; - export import DeletedReader = TerminalNamespace4.DeletedReader; + export {DeletedReader}; export {Reader, ReaderResource}; } diff --git a/src/resources/TestHelpers/TestClocks.ts b/src/resources/TestHelpers/TestClocks.ts index 3568c6b4fc..43343c70e7 100644 --- a/src/resources/TestHelpers/TestClocks.ts +++ b/src/resources/TestHelpers/TestClocks.ts @@ -12,7 +12,7 @@ export class TestClockResource extends StripeResource { id: string, params?: TestHelpers.TestClockDeleteParams, options?: RequestOptions - ): Promise> { + ): Promise> { return this._makeRequest( 'DELETE', `/v1/test_helpers/test_clocks/${encodeURIComponent(id)}`, @@ -126,42 +126,39 @@ export interface TestClock { /** * The status of the Test Clock. */ - status: TestHelpers.TestClock.Status; + status: TestClock.Status; - status_details: TestHelpers.TestClock.StatusDetails; + status_details: TestClock.StatusDetails; } -export namespace TestHelpers { - export interface DeletedTestClock { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'test_helpers.test_clock'; +export interface DeletedTestClock { + /** + * Unique identifier for the object. + */ + id: string; - /** - * Always true for a deleted object - */ - deleted: true; - } + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'test_helpers.test_clock'; - export namespace TestClock { - export type Status = 'advancing' | 'internal_failure' | 'ready'; + /** + * Always true for a deleted object + */ + deleted: true; +} +export namespace TestClock { + export type Status = 'advancing' | 'internal_failure' | 'ready'; - export interface StatusDetails { - advancing?: StatusDetails.Advancing; - } + export interface StatusDetails { + advancing?: StatusDetails.Advancing; + } - export namespace StatusDetails { - export interface Advancing { - /** - * The `frozen_time` that the Test Clock is advancing towards. - */ - target_frozen_time: number; - } + export namespace StatusDetails { + export interface Advancing { + /** + * The `frozen_time` that the Test Clock is advancing towards. + */ + target_frozen_time: number; } } } diff --git a/src/resources/TestHelpers/index.ts b/src/resources/TestHelpers/index.ts index 555fad4d08..9dada4ec4a 100644 --- a/src/resources/TestHelpers/index.ts +++ b/src/resources/TestHelpers/index.ts @@ -16,6 +16,7 @@ import { import { TestHelpers as TestHelpersNamespace3, TestClock, + DeletedTestClock, TestClockResource, } from './TestClocks.js'; import {Issuing} from './Issuing/index.js'; @@ -50,7 +51,7 @@ export declare namespace TestHelpers { export import TestClockListParams = TestHelpersNamespace3.TestClockListParams; export import TestClockCreateParams = TestHelpersNamespace3.TestClockCreateParams; export import TestClockAdvanceParams = TestHelpersNamespace3.TestClockAdvanceParams; - export import DeletedTestClock = TestHelpersNamespace3.DeletedTestClock; + export {DeletedTestClock}; export {TestClock, TestClockResource}; export {Issuing}; export {Terminal}; diff --git a/src/resources/Treasury/CreditReversals.ts b/src/resources/Treasury/CreditReversals.ts index 5ef7dff71e..da31a83a81 100644 --- a/src/resources/Treasury/CreditReversals.ts +++ b/src/resources/Treasury/CreditReversals.ts @@ -102,7 +102,7 @@ export interface CreditReversal { /** * The rails used to reverse the funds. */ - network: Treasury.CreditReversal.Network; + network: CreditReversal.Network; /** * The ReceivedCredit being reversed. @@ -112,27 +112,25 @@ export interface CreditReversal { /** * Status of the CreditReversal */ - status: Treasury.CreditReversal.Status; + status: CreditReversal.Status; - status_transitions: Treasury.CreditReversal.StatusTransitions; + status_transitions: CreditReversal.StatusTransitions; /** * The Transaction associated with this object. */ transaction: string | Transaction | null; } -export namespace Treasury { - export namespace CreditReversal { - export type Network = 'ach' | 'stripe'; +export namespace CreditReversal { + export type Network = 'ach' | 'stripe'; - export type Status = 'canceled' | 'posted' | 'processing'; + export type Status = 'canceled' | 'posted' | 'processing'; - export interface StatusTransitions { - /** - * Timestamp describing when the CreditReversal changed status to `posted` - */ - posted_at: number | null; - } + export interface StatusTransitions { + /** + * Timestamp describing when the CreditReversal changed status to `posted` + */ + posted_at: number | null; } } export namespace Treasury { diff --git a/src/resources/Treasury/DebitReversals.ts b/src/resources/Treasury/DebitReversals.ts index bd62987e4b..d467dcc9ae 100644 --- a/src/resources/Treasury/DebitReversals.ts +++ b/src/resources/Treasury/DebitReversals.ts @@ -92,7 +92,7 @@ export interface DebitReversal { /** * Other flows linked to a DebitReversal. */ - linked_flows: Treasury.DebitReversal.LinkedFlows | null; + linked_flows: DebitReversal.LinkedFlows | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -107,7 +107,7 @@ export interface DebitReversal { /** * The rails used to reverse the funds. */ - network: Treasury.DebitReversal.Network; + network: DebitReversal.Network; /** * The ReceivedDebit being reversed. @@ -117,34 +117,32 @@ export interface DebitReversal { /** * Status of the DebitReversal */ - status: Treasury.DebitReversal.Status; + status: DebitReversal.Status; - status_transitions: Treasury.DebitReversal.StatusTransitions; + status_transitions: DebitReversal.StatusTransitions; /** * The Transaction associated with this object. */ transaction: string | Transaction | null; } -export namespace Treasury { - export namespace DebitReversal { - export interface LinkedFlows { - /** - * Set if there is an Issuing dispute associated with the DebitReversal. - */ - issuing_dispute: string | null; - } - - export type Network = 'ach' | 'card'; - - export type Status = 'failed' | 'processing' | 'succeeded'; - - export interface StatusTransitions { - /** - * Timestamp describing when the DebitReversal changed status to `completed`. - */ - completed_at: number | null; - } +export namespace DebitReversal { + export interface LinkedFlows { + /** + * Set if there is an Issuing dispute associated with the DebitReversal. + */ + issuing_dispute: string | null; + } + + export type Network = 'ach' | 'card'; + + export type Status = 'failed' | 'processing' | 'succeeded'; + + export interface StatusTransitions { + /** + * Timestamp describing when the DebitReversal changed status to `completed`. + */ + completed_at: number | null; } } export namespace Treasury { diff --git a/src/resources/Treasury/FinancialAccountFeatures.ts b/src/resources/Treasury/FinancialAccountFeatures.ts index f65f5bc2c0..105e9bcc0e 100644 --- a/src/resources/Treasury/FinancialAccountFeatures.ts +++ b/src/resources/Treasury/FinancialAccountFeatures.ts @@ -10,130 +10,229 @@ export interface FinancialAccountFeatures { /** * Toggle settings for enabling/disabling a feature */ - card_issuing?: Treasury.FinancialAccountFeatures.CardIssuing; + card_issuing?: FinancialAccountFeatures.CardIssuing; /** * Toggle settings for enabling/disabling a feature */ - deposit_insurance?: Treasury.FinancialAccountFeatures.DepositInsurance; + deposit_insurance?: FinancialAccountFeatures.DepositInsurance; /** * Settings related to Financial Addresses features on a Financial Account */ - financial_addresses?: Treasury.FinancialAccountFeatures.FinancialAddresses; + financial_addresses?: FinancialAccountFeatures.FinancialAddresses; /** * InboundTransfers contains inbound transfers features for a FinancialAccount. */ - inbound_transfers?: Treasury.FinancialAccountFeatures.InboundTransfers; + inbound_transfers?: FinancialAccountFeatures.InboundTransfers; /** * Toggle settings for enabling/disabling a feature */ - intra_stripe_flows?: Treasury.FinancialAccountFeatures.IntraStripeFlows; + intra_stripe_flows?: FinancialAccountFeatures.IntraStripeFlows; /** * Settings related to Outbound Payments features on a Financial Account */ - outbound_payments?: Treasury.FinancialAccountFeatures.OutboundPayments; + outbound_payments?: FinancialAccountFeatures.OutboundPayments; /** * OutboundTransfers contains outbound transfers features for a FinancialAccount. */ - outbound_transfers?: Treasury.FinancialAccountFeatures.OutboundTransfers; + outbound_transfers?: FinancialAccountFeatures.OutboundTransfers; } -export namespace Treasury { - export namespace FinancialAccountFeatures { - export interface CardIssuing { - /** - * Whether the FinancialAccount should have the Feature. - */ - requested: boolean; +export namespace FinancialAccountFeatures { + export interface CardIssuing { + /** + * Whether the FinancialAccount should have the Feature. + */ + requested: boolean; + + /** + * Whether the Feature is operational. + */ + status: CardIssuing.Status; + + /** + * Additional details; includes at least one entry when the status is not `active`. + */ + status_details: Array; + } - /** - * Whether the Feature is operational. - */ - status: CardIssuing.Status; + export interface DepositInsurance { + /** + * Whether the FinancialAccount should have the Feature. + */ + requested: boolean; + + /** + * Whether the Feature is operational. + */ + status: DepositInsurance.Status; + + /** + * Additional details; includes at least one entry when the status is not `active`. + */ + status_details: Array; + } - /** - * Additional details; includes at least one entry when the status is not `active`. - */ - status_details: Array; - } + export interface FinancialAddresses { + /** + * Toggle settings for enabling/disabling the ABA address feature + */ + aba?: FinancialAddresses.Aba; + } - export interface DepositInsurance { - /** - * Whether the FinancialAccount should have the Feature. - */ - requested: boolean; + export interface InboundTransfers { + /** + * Toggle settings for enabling/disabling an inbound ACH specific feature + */ + ach?: InboundTransfers.Ach; + } + + export interface IntraStripeFlows { + /** + * Whether the FinancialAccount should have the Feature. + */ + requested: boolean; + + /** + * Whether the Feature is operational. + */ + status: IntraStripeFlows.Status; + + /** + * Additional details; includes at least one entry when the status is not `active`. + */ + status_details: Array; + } + + export interface OutboundPayments { + /** + * Toggle settings for enabling/disabling an outbound ACH specific feature + */ + ach?: OutboundPayments.Ach; + /** + * Toggle settings for enabling/disabling a feature + */ + us_domestic_wire?: OutboundPayments.UsDomesticWire; + } + + export interface OutboundTransfers { + /** + * Toggle settings for enabling/disabling an outbound ACH specific feature + */ + ach?: OutboundTransfers.Ach; + + /** + * Toggle settings for enabling/disabling a feature + */ + us_domestic_wire?: OutboundTransfers.UsDomesticWire; + } + + export namespace CardIssuing { + export type Status = 'active' | 'pending' | 'restricted'; + + export interface StatusDetail { /** - * Whether the Feature is operational. + * Represents the reason why the status is `pending` or `restricted`. */ - status: DepositInsurance.Status; + code: StatusDetail.Code; /** - * Additional details; includes at least one entry when the status is not `active`. + * Represents what the user should do, if anything, to activate the Feature. */ - status_details: Array; - } + resolution: StatusDetail.Resolution | null; - export interface FinancialAddresses { /** - * Toggle settings for enabling/disabling the ABA address feature + * The `platform_restrictions` that are restricting this Feature. */ - aba?: FinancialAddresses.Aba; + restriction?: StatusDetail.Restriction; } - export interface InboundTransfers { - /** - * Toggle settings for enabling/disabling an inbound ACH specific feature - */ - ach?: InboundTransfers.Ach; + export namespace StatusDetail { + export type Code = + | 'activating' + | 'capability_not_requested' + | 'financial_account_closed' + | 'rejected_other' + | 'rejected_unsupported_business' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_by_platform' + | 'restricted_other'; + + export type Resolution = + | 'contact_stripe' + | 'provide_information' + | 'remove_restriction'; + + export type Restriction = 'inbound_flows' | 'outbound_flows'; } + } + + export namespace DepositInsurance { + export type Status = 'active' | 'pending' | 'restricted'; - export interface IntraStripeFlows { + export interface StatusDetail { /** - * Whether the FinancialAccount should have the Feature. + * Represents the reason why the status is `pending` or `restricted`. */ - requested: boolean; + code: StatusDetail.Code; /** - * Whether the Feature is operational. + * Represents what the user should do, if anything, to activate the Feature. */ - status: IntraStripeFlows.Status; + resolution: StatusDetail.Resolution | null; /** - * Additional details; includes at least one entry when the status is not `active`. + * The `platform_restrictions` that are restricting this Feature. */ - status_details: Array; + restriction?: StatusDetail.Restriction; } - export interface OutboundPayments { - /** - * Toggle settings for enabling/disabling an outbound ACH specific feature - */ - ach?: OutboundPayments.Ach; + export namespace StatusDetail { + export type Code = + | 'activating' + | 'capability_not_requested' + | 'financial_account_closed' + | 'rejected_other' + | 'rejected_unsupported_business' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_by_platform' + | 'restricted_other'; + + export type Resolution = + | 'contact_stripe' + | 'provide_information' + | 'remove_restriction'; + + export type Restriction = 'inbound_flows' | 'outbound_flows'; + } + } + export namespace FinancialAddresses { + export interface Aba { /** - * Toggle settings for enabling/disabling a feature + * Whether the FinancialAccount should have the Feature. */ - us_domestic_wire?: OutboundPayments.UsDomesticWire; - } + requested: boolean; - export interface OutboundTransfers { /** - * Toggle settings for enabling/disabling an outbound ACH specific feature + * Whether the Feature is operational. */ - ach?: OutboundTransfers.Ach; + status: Aba.Status; /** - * Toggle settings for enabling/disabling a feature + * Additional details; includes at least one entry when the status is not `active`. */ - us_domestic_wire?: OutboundTransfers.UsDomesticWire; + status_details: Array; } - export namespace CardIssuing { + export namespace Aba { export type Status = 'active' | 'pending' | 'restricted'; export interface StatusDetail { @@ -173,8 +272,27 @@ export namespace Treasury { export type Restriction = 'inbound_flows' | 'outbound_flows'; } } + } + + export namespace InboundTransfers { + export interface Ach { + /** + * Whether the FinancialAccount should have the Feature. + */ + requested: boolean; + + /** + * Whether the Feature is operational. + */ + status: Ach.Status; - export namespace DepositInsurance { + /** + * Additional details; includes at least one entry when the status is not `active`. + */ + status_details: Array; + } + + export namespace Ach { export type Status = 'active' | 'pending' | 'restricted'; export interface StatusDetail { @@ -214,128 +332,85 @@ export namespace Treasury { export type Restriction = 'inbound_flows' | 'outbound_flows'; } } + } - export namespace FinancialAddresses { - export interface Aba { - /** - * Whether the FinancialAccount should have the Feature. - */ - requested: boolean; + export namespace IntraStripeFlows { + export type Status = 'active' | 'pending' | 'restricted'; - /** - * Whether the Feature is operational. - */ - status: Aba.Status; + export interface StatusDetail { + /** + * Represents the reason why the status is `pending` or `restricted`. + */ + code: StatusDetail.Code; - /** - * Additional details; includes at least one entry when the status is not `active`. - */ - status_details: Array; - } + /** + * Represents what the user should do, if anything, to activate the Feature. + */ + resolution: StatusDetail.Resolution | null; - export namespace Aba { - export type Status = 'active' | 'pending' | 'restricted'; - - export interface StatusDetail { - /** - * Represents the reason why the status is `pending` or `restricted`. - */ - code: StatusDetail.Code; - - /** - * Represents what the user should do, if anything, to activate the Feature. - */ - resolution: StatusDetail.Resolution | null; - - /** - * The `platform_restrictions` that are restricting this Feature. - */ - restriction?: StatusDetail.Restriction; - } - - export namespace StatusDetail { - export type Code = - | 'activating' - | 'capability_not_requested' - | 'financial_account_closed' - | 'rejected_other' - | 'rejected_unsupported_business' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_by_platform' - | 'restricted_other'; - - export type Resolution = - | 'contact_stripe' - | 'provide_information' - | 'remove_restriction'; - - export type Restriction = 'inbound_flows' | 'outbound_flows'; - } - } + /** + * The `platform_restrictions` that are restricting this Feature. + */ + restriction?: StatusDetail.Restriction; } - export namespace InboundTransfers { - export interface Ach { - /** - * Whether the FinancialAccount should have the Feature. - */ - requested: boolean; + export namespace StatusDetail { + export type Code = + | 'activating' + | 'capability_not_requested' + | 'financial_account_closed' + | 'rejected_other' + | 'rejected_unsupported_business' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_by_platform' + | 'restricted_other'; + + export type Resolution = + | 'contact_stripe' + | 'provide_information' + | 'remove_restriction'; + + export type Restriction = 'inbound_flows' | 'outbound_flows'; + } + } - /** - * Whether the Feature is operational. - */ - status: Ach.Status; + export namespace OutboundPayments { + export interface Ach { + /** + * Whether the FinancialAccount should have the Feature. + */ + requested: boolean; - /** - * Additional details; includes at least one entry when the status is not `active`. - */ - status_details: Array; - } + /** + * Whether the Feature is operational. + */ + status: Ach.Status; - export namespace Ach { - export type Status = 'active' | 'pending' | 'restricted'; - - export interface StatusDetail { - /** - * Represents the reason why the status is `pending` or `restricted`. - */ - code: StatusDetail.Code; - - /** - * Represents what the user should do, if anything, to activate the Feature. - */ - resolution: StatusDetail.Resolution | null; - - /** - * The `platform_restrictions` that are restricting this Feature. - */ - restriction?: StatusDetail.Restriction; - } - - export namespace StatusDetail { - export type Code = - | 'activating' - | 'capability_not_requested' - | 'financial_account_closed' - | 'rejected_other' - | 'rejected_unsupported_business' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_by_platform' - | 'restricted_other'; - - export type Resolution = - | 'contact_stripe' - | 'provide_information' - | 'remove_restriction'; - - export type Restriction = 'inbound_flows' | 'outbound_flows'; - } - } + /** + * Additional details; includes at least one entry when the status is not `active`. + */ + status_details: Array; + } + + export interface UsDomesticWire { + /** + * Whether the FinancialAccount should have the Feature. + */ + requested: boolean; + + /** + * Whether the Feature is operational. + */ + status: UsDomesticWire.Status; + + /** + * Additional details; includes at least one entry when the status is not `active`. + */ + status_details: Array; } - export namespace IntraStripeFlows { + export namespace Ach { export type Status = 'active' | 'pending' | 'restricted'; export interface StatusDetail { @@ -376,239 +451,162 @@ export namespace Treasury { } } - export namespace OutboundPayments { - export interface Ach { + export namespace UsDomesticWire { + export type Status = 'active' | 'pending' | 'restricted'; + + export interface StatusDetail { /** - * Whether the FinancialAccount should have the Feature. + * Represents the reason why the status is `pending` or `restricted`. */ - requested: boolean; + code: StatusDetail.Code; /** - * Whether the Feature is operational. + * Represents what the user should do, if anything, to activate the Feature. */ - status: Ach.Status; + resolution: StatusDetail.Resolution | null; /** - * Additional details; includes at least one entry when the status is not `active`. + * The `platform_restrictions` that are restricting this Feature. */ - status_details: Array; + restriction?: StatusDetail.Restriction; } - export interface UsDomesticWire { - /** - * Whether the FinancialAccount should have the Feature. - */ - requested: boolean; + export namespace StatusDetail { + export type Code = + | 'activating' + | 'capability_not_requested' + | 'financial_account_closed' + | 'rejected_other' + | 'rejected_unsupported_business' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_by_platform' + | 'restricted_other'; - /** - * Whether the Feature is operational. - */ - status: UsDomesticWire.Status; + export type Resolution = + | 'contact_stripe' + | 'provide_information' + | 'remove_restriction'; - /** - * Additional details; includes at least one entry when the status is not `active`. - */ - status_details: Array; + export type Restriction = 'inbound_flows' | 'outbound_flows'; } + } + } - export namespace Ach { - export type Status = 'active' | 'pending' | 'restricted'; - - export interface StatusDetail { - /** - * Represents the reason why the status is `pending` or `restricted`. - */ - code: StatusDetail.Code; - - /** - * Represents what the user should do, if anything, to activate the Feature. - */ - resolution: StatusDetail.Resolution | null; - - /** - * The `platform_restrictions` that are restricting this Feature. - */ - restriction?: StatusDetail.Restriction; - } - - export namespace StatusDetail { - export type Code = - | 'activating' - | 'capability_not_requested' - | 'financial_account_closed' - | 'rejected_other' - | 'rejected_unsupported_business' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_by_platform' - | 'restricted_other'; - - export type Resolution = - | 'contact_stripe' - | 'provide_information' - | 'remove_restriction'; - - export type Restriction = 'inbound_flows' | 'outbound_flows'; - } - } + export namespace OutboundTransfers { + export interface Ach { + /** + * Whether the FinancialAccount should have the Feature. + */ + requested: boolean; - export namespace UsDomesticWire { - export type Status = 'active' | 'pending' | 'restricted'; - - export interface StatusDetail { - /** - * Represents the reason why the status is `pending` or `restricted`. - */ - code: StatusDetail.Code; - - /** - * Represents what the user should do, if anything, to activate the Feature. - */ - resolution: StatusDetail.Resolution | null; - - /** - * The `platform_restrictions` that are restricting this Feature. - */ - restriction?: StatusDetail.Restriction; - } - - export namespace StatusDetail { - export type Code = - | 'activating' - | 'capability_not_requested' - | 'financial_account_closed' - | 'rejected_other' - | 'rejected_unsupported_business' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_by_platform' - | 'restricted_other'; - - export type Resolution = - | 'contact_stripe' - | 'provide_information' - | 'remove_restriction'; - - export type Restriction = 'inbound_flows' | 'outbound_flows'; - } - } + /** + * Whether the Feature is operational. + */ + status: Ach.Status; + + /** + * Additional details; includes at least one entry when the status is not `active`. + */ + status_details: Array; + } + + export interface UsDomesticWire { + /** + * Whether the FinancialAccount should have the Feature. + */ + requested: boolean; + + /** + * Whether the Feature is operational. + */ + status: UsDomesticWire.Status; + + /** + * Additional details; includes at least one entry when the status is not `active`. + */ + status_details: Array; } - export namespace OutboundTransfers { - export interface Ach { + export namespace Ach { + export type Status = 'active' | 'pending' | 'restricted'; + + export interface StatusDetail { /** - * Whether the FinancialAccount should have the Feature. + * Represents the reason why the status is `pending` or `restricted`. */ - requested: boolean; + code: StatusDetail.Code; /** - * Whether the Feature is operational. + * Represents what the user should do, if anything, to activate the Feature. */ - status: Ach.Status; + resolution: StatusDetail.Resolution | null; /** - * Additional details; includes at least one entry when the status is not `active`. + * The `platform_restrictions` that are restricting this Feature. */ - status_details: Array; + restriction?: StatusDetail.Restriction; } - export interface UsDomesticWire { + export namespace StatusDetail { + export type Code = + | 'activating' + | 'capability_not_requested' + | 'financial_account_closed' + | 'rejected_other' + | 'rejected_unsupported_business' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_by_platform' + | 'restricted_other'; + + export type Resolution = + | 'contact_stripe' + | 'provide_information' + | 'remove_restriction'; + + export type Restriction = 'inbound_flows' | 'outbound_flows'; + } + } + + export namespace UsDomesticWire { + export type Status = 'active' | 'pending' | 'restricted'; + + export interface StatusDetail { /** - * Whether the FinancialAccount should have the Feature. + * Represents the reason why the status is `pending` or `restricted`. */ - requested: boolean; + code: StatusDetail.Code; /** - * Whether the Feature is operational. + * Represents what the user should do, if anything, to activate the Feature. */ - status: UsDomesticWire.Status; + resolution: StatusDetail.Resolution | null; /** - * Additional details; includes at least one entry when the status is not `active`. + * The `platform_restrictions` that are restricting this Feature. */ - status_details: Array; + restriction?: StatusDetail.Restriction; } - export namespace Ach { - export type Status = 'active' | 'pending' | 'restricted'; - - export interface StatusDetail { - /** - * Represents the reason why the status is `pending` or `restricted`. - */ - code: StatusDetail.Code; - - /** - * Represents what the user should do, if anything, to activate the Feature. - */ - resolution: StatusDetail.Resolution | null; - - /** - * The `platform_restrictions` that are restricting this Feature. - */ - restriction?: StatusDetail.Restriction; - } - - export namespace StatusDetail { - export type Code = - | 'activating' - | 'capability_not_requested' - | 'financial_account_closed' - | 'rejected_other' - | 'rejected_unsupported_business' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_by_platform' - | 'restricted_other'; - - export type Resolution = - | 'contact_stripe' - | 'provide_information' - | 'remove_restriction'; - - export type Restriction = 'inbound_flows' | 'outbound_flows'; - } - } + export namespace StatusDetail { + export type Code = + | 'activating' + | 'capability_not_requested' + | 'financial_account_closed' + | 'rejected_other' + | 'rejected_unsupported_business' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_by_platform' + | 'restricted_other'; - export namespace UsDomesticWire { - export type Status = 'active' | 'pending' | 'restricted'; - - export interface StatusDetail { - /** - * Represents the reason why the status is `pending` or `restricted`. - */ - code: StatusDetail.Code; - - /** - * Represents what the user should do, if anything, to activate the Feature. - */ - resolution: StatusDetail.Resolution | null; - - /** - * The `platform_restrictions` that are restricting this Feature. - */ - restriction?: StatusDetail.Restriction; - } - - export namespace StatusDetail { - export type Code = - | 'activating' - | 'capability_not_requested' - | 'financial_account_closed' - | 'rejected_other' - | 'rejected_unsupported_business' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_by_platform' - | 'restricted_other'; - - export type Resolution = - | 'contact_stripe' - | 'provide_information' - | 'remove_restriction'; - - export type Restriction = 'inbound_flows' | 'outbound_flows'; - } + export type Resolution = + | 'contact_stripe' + | 'provide_information' + | 'remove_restriction'; + + export type Restriction = 'inbound_flows' | 'outbound_flows'; } } } diff --git a/src/resources/Treasury/FinancialAccounts.ts b/src/resources/Treasury/FinancialAccounts.ts index d0cc057d67..35846cafb8 100644 --- a/src/resources/Treasury/FinancialAccounts.ts +++ b/src/resources/Treasury/FinancialAccounts.ts @@ -133,12 +133,12 @@ export interface FinancialAccount { /** * The array of paths to active Features in the Features hash. */ - active_features?: Array; + active_features?: Array; /** * Balance information for the FinancialAccount */ - balance: Treasury.FinancialAccount.Balance; + balance: FinancialAccount.Balance; /** * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). @@ -159,7 +159,7 @@ export interface FinancialAccount { /** * The set of credentials that resolve to a FinancialAccount. */ - financial_addresses: Array; + financial_addresses: Array; is_default?: boolean; @@ -181,183 +181,178 @@ export interface FinancialAccount { /** * The array of paths to pending Features in the Features hash. */ - pending_features?: Array; + pending_features?: Array; /** * The set of functionalities that the platform can restrict on the FinancialAccount. */ - platform_restrictions?: Treasury.FinancialAccount.PlatformRestrictions | null; + platform_restrictions?: FinancialAccount.PlatformRestrictions | null; /** * The array of paths to restricted Features in the Features hash. */ - restricted_features?: Array; + restricted_features?: Array; /** * Status of this FinancialAccount. */ - status: Treasury.FinancialAccount.Status; + status: FinancialAccount.Status; - status_details: Treasury.FinancialAccount.StatusDetails; + status_details: FinancialAccount.StatusDetails; /** * The currencies the FinancialAccount can hold a balance in. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. */ supported_currencies: Array; } -export namespace Treasury { - export namespace FinancialAccount { - export type ActiveFeature = - | 'card_issuing' - | 'deposit_insurance' - | 'financial_addresses.aba' - | 'financial_addresses.aba.forwarding' - | 'inbound_transfers.ach' - | 'intra_stripe_flows' - | 'outbound_payments.ach' - | 'outbound_payments.us_domestic_wire' - | 'outbound_transfers.ach' - | 'outbound_transfers.us_domestic_wire' - | 'remote_deposit_capture'; +export namespace FinancialAccount { + export type ActiveFeature = + | 'card_issuing' + | 'deposit_insurance' + | 'financial_addresses.aba' + | 'financial_addresses.aba.forwarding' + | 'inbound_transfers.ach' + | 'intra_stripe_flows' + | 'outbound_payments.ach' + | 'outbound_payments.us_domestic_wire' + | 'outbound_transfers.ach' + | 'outbound_transfers.us_domestic_wire' + | 'remote_deposit_capture'; + + export interface Balance { + /** + * Funds the user can spend right now. + */ + cash: { + [key: string]: number; + }; - export interface Balance { - /** - * Funds the user can spend right now. - */ - cash: { - [key: string]: number; - }; + /** + * Funds not spendable yet, but will become available at a later time. + */ + inbound_pending: { + [key: string]: number; + }; - /** - * Funds not spendable yet, but will become available at a later time. - */ - inbound_pending: { - [key: string]: number; - }; + /** + * Funds in the account, but not spendable because they are being held for pending outbound flows. + */ + outbound_pending: { + [key: string]: number; + }; + } - /** - * Funds in the account, but not spendable because they are being held for pending outbound flows. - */ - outbound_pending: { - [key: string]: number; - }; - } + export interface FinancialAddress { + /** + * ABA Records contain U.S. bank account details per the ABA format. + */ + aba?: FinancialAddress.Aba; - export interface FinancialAddress { - /** - * ABA Records contain U.S. bank account details per the ABA format. - */ - aba?: FinancialAddress.Aba; + /** + * The list of networks that the address supports + */ + supported_networks?: Array; + + /** + * The type of financial address + */ + type: 'aba'; + } + + export type PendingFeature = + | 'card_issuing' + | 'deposit_insurance' + | 'financial_addresses.aba' + | 'financial_addresses.aba.forwarding' + | 'inbound_transfers.ach' + | 'intra_stripe_flows' + | 'outbound_payments.ach' + | 'outbound_payments.us_domestic_wire' + | 'outbound_transfers.ach' + | 'outbound_transfers.us_domestic_wire' + | 'remote_deposit_capture'; + + export interface PlatformRestrictions { + /** + * Restricts all inbound money movement. + */ + inbound_flows: PlatformRestrictions.InboundFlows | null; + /** + * Restricts all outbound money movement. + */ + outbound_flows: PlatformRestrictions.OutboundFlows | null; + } + + export type RestrictedFeature = + | 'card_issuing' + | 'deposit_insurance' + | 'financial_addresses.aba' + | 'financial_addresses.aba.forwarding' + | 'inbound_transfers.ach' + | 'intra_stripe_flows' + | 'outbound_payments.ach' + | 'outbound_payments.us_domestic_wire' + | 'outbound_transfers.ach' + | 'outbound_transfers.us_domestic_wire' + | 'remote_deposit_capture'; + + export type Status = 'closed' | 'open'; + + export interface StatusDetails { + /** + * Details related to the closure of this FinancialAccount + */ + closed: StatusDetails.Closed | null; + } + + export namespace FinancialAddress { + export interface Aba { /** - * The list of networks that the address supports + * The name of the person or business that owns the bank account. */ - supported_networks?: Array; + account_holder_name: string; /** - * The type of financial address + * The account number. */ - type: 'aba'; - } + account_number?: string | null; - export type PendingFeature = - | 'card_issuing' - | 'deposit_insurance' - | 'financial_addresses.aba' - | 'financial_addresses.aba.forwarding' - | 'inbound_transfers.ach' - | 'intra_stripe_flows' - | 'outbound_payments.ach' - | 'outbound_payments.us_domestic_wire' - | 'outbound_transfers.ach' - | 'outbound_transfers.us_domestic_wire' - | 'remote_deposit_capture'; - - export interface PlatformRestrictions { /** - * Restricts all inbound money movement. + * The last four characters of the account number. */ - inbound_flows: PlatformRestrictions.InboundFlows | null; + account_number_last4: string; /** - * Restricts all outbound money movement. + * Name of the bank. */ - outbound_flows: PlatformRestrictions.OutboundFlows | null; - } + bank_name: string; - export type RestrictedFeature = - | 'card_issuing' - | 'deposit_insurance' - | 'financial_addresses.aba' - | 'financial_addresses.aba.forwarding' - | 'inbound_transfers.ach' - | 'intra_stripe_flows' - | 'outbound_payments.ach' - | 'outbound_payments.us_domestic_wire' - | 'outbound_transfers.ach' - | 'outbound_transfers.us_domestic_wire' - | 'remote_deposit_capture'; - - export type Status = 'closed' | 'open'; - - export interface StatusDetails { /** - * Details related to the closure of this FinancialAccount + * Routing number for the account. */ - closed: StatusDetails.Closed | null; + routing_number: string; } - export namespace FinancialAddress { - export interface Aba { - /** - * The name of the person or business that owns the bank account. - */ - account_holder_name: string; - - /** - * The account number. - */ - account_number?: string | null; - - /** - * The last four characters of the account number. - */ - account_number_last4: string; - - /** - * Name of the bank. - */ - bank_name: string; - - /** - * Routing number for the account. - */ - routing_number: string; - } + export type SupportedNetwork = 'ach' | 'us_domestic_wire'; + } - export type SupportedNetwork = 'ach' | 'us_domestic_wire'; - } + export namespace PlatformRestrictions { + export type InboundFlows = 'restricted' | 'unrestricted'; - export namespace PlatformRestrictions { - export type InboundFlows = 'restricted' | 'unrestricted'; + export type OutboundFlows = 'restricted' | 'unrestricted'; + } - export type OutboundFlows = 'restricted' | 'unrestricted'; + export namespace StatusDetails { + export interface Closed { + /** + * The array that contains reasons for a FinancialAccount closure. + */ + reasons: Array; } - export namespace StatusDetails { - export interface Closed { - /** - * The array that contains reasons for a FinancialAccount closure. - */ - reasons: Array; - } - - export namespace Closed { - export type Reason = - | 'account_rejected' - | 'closed_by_platform' - | 'other'; - } + export namespace Closed { + export type Reason = 'account_rejected' | 'closed_by_platform' | 'other'; } } } diff --git a/src/resources/Treasury/InboundTransfers.ts b/src/resources/Treasury/InboundTransfers.ts index cdc312e200..e8b38e5da4 100644 --- a/src/resources/Treasury/InboundTransfers.ts +++ b/src/resources/Treasury/InboundTransfers.ts @@ -113,7 +113,7 @@ export interface InboundTransfer { /** * Details about this InboundTransfer's failure. Only set when status is `failed`. */ - failure_details: Treasury.InboundTransfer.FailureDetails | null; + failure_details: InboundTransfer.FailureDetails | null; /** * The FinancialAccount that received the funds. @@ -125,7 +125,7 @@ export interface InboundTransfer { */ hosted_regulatory_receipt_url: string | null; - linked_flows: Treasury.InboundTransfer.LinkedFlows; + linked_flows: InboundTransfer.LinkedFlows; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -145,7 +145,7 @@ export interface InboundTransfer { /** * Details about the PaymentMethod for an InboundTransfer. */ - origin_payment_method_details: Treasury.InboundTransfer.OriginPaymentMethodDetails | null; + origin_payment_method_details: InboundTransfer.OriginPaymentMethodDetails | null; /** * Returns `true` if the funds for an InboundTransfer were returned after the InboundTransfer went to the `succeeded` state. @@ -160,140 +160,138 @@ export interface InboundTransfer { /** * Status of the InboundTransfer: `processing`, `succeeded`, `failed`, and `canceled`. An InboundTransfer is `processing` if it is created and pending. The status changes to `succeeded` once the funds have been "confirmed" and a `transaction` is created and posted. The status changes to `failed` if the transfer fails. */ - status: Treasury.InboundTransfer.Status; + status: InboundTransfer.Status; - status_transitions: Treasury.InboundTransfer.StatusTransitions; + status_transitions: InboundTransfer.StatusTransitions; /** * The Transaction associated with this object. */ transaction: string | Transaction | null; } -export namespace Treasury { - export namespace InboundTransfer { - export interface FailureDetails { +export namespace InboundTransfer { + export interface FailureDetails { + /** + * Reason for the failure. + */ + code: FailureDetails.Code; + } + + export interface LinkedFlows { + /** + * If funds for this flow were returned after the flow went to the `succeeded` state, this field contains a reference to the ReceivedDebit return. + */ + received_debit: string | null; + } + + export interface OriginPaymentMethodDetails { + billing_details: OriginPaymentMethodDetails.BillingDetails; + + /** + * The type of the payment method used in the InboundTransfer. + */ + type: 'us_bank_account'; + + us_bank_account?: OriginPaymentMethodDetails.UsBankAccount; + } + + export type Status = 'canceled' | 'failed' | 'processing' | 'succeeded'; + + export interface StatusTransitions { + /** + * Timestamp describing when an InboundTransfer changed status to `canceled`. + */ + canceled_at?: number | null; + + /** + * Timestamp describing when an InboundTransfer changed status to `failed`. + */ + failed_at: number | null; + + /** + * Timestamp describing when an InboundTransfer changed status to `succeeded`. + */ + succeeded_at: number | null; + } + + export namespace FailureDetails { + export type Code = + | 'account_closed' + | 'account_frozen' + | 'bank_account_restricted' + | 'bank_ownership_changed' + | 'debit_not_authorized' + | 'incorrect_account_holder_address' + | 'incorrect_account_holder_name' + | 'incorrect_account_holder_tax_id' + | 'insufficient_funds' + | 'invalid_account_number' + | 'invalid_currency' + | 'no_account' + | 'other'; + } + + export namespace OriginPaymentMethodDetails { + export interface BillingDetails { + address: Address; + /** - * Reason for the failure. + * Email address. */ - code: FailureDetails.Code; - } + email: string | null; - export interface LinkedFlows { /** - * If funds for this flow were returned after the flow went to the `succeeded` state, this field contains a reference to the ReceivedDebit return. + * Full name. */ - received_debit: string | null; + name: string | null; } - export interface OriginPaymentMethodDetails { - billing_details: OriginPaymentMethodDetails.BillingDetails; + export interface UsBankAccount { + /** + * Account holder type: individual or company. + */ + account_holder_type: UsBankAccount.AccountHolderType | null; /** - * The type of the payment method used in the InboundTransfer. + * Account type: checkings or savings. Defaults to checking if omitted. */ - type: 'us_bank_account'; + account_type: UsBankAccount.AccountType | null; - us_bank_account?: OriginPaymentMethodDetails.UsBankAccount; - } + /** + * Name of the bank associated with the bank account. + */ + bank_name: string | null; - export type Status = 'canceled' | 'failed' | 'processing' | 'succeeded'; + /** + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + */ + fingerprint: string | null; - export interface StatusTransitions { /** - * Timestamp describing when an InboundTransfer changed status to `canceled`. + * Last four digits of the bank account number. */ - canceled_at?: number | null; + last4: string | null; /** - * Timestamp describing when an InboundTransfer changed status to `failed`. + * ID of the mandate used to make this payment. */ - failed_at: number | null; + mandate?: string | Mandate; /** - * Timestamp describing when an InboundTransfer changed status to `succeeded`. + * The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. */ - succeeded_at: number | null; - } + network: 'ach'; - export namespace FailureDetails { - export type Code = - | 'account_closed' - | 'account_frozen' - | 'bank_account_restricted' - | 'bank_ownership_changed' - | 'debit_not_authorized' - | 'incorrect_account_holder_address' - | 'incorrect_account_holder_name' - | 'incorrect_account_holder_tax_id' - | 'insufficient_funds' - | 'invalid_account_number' - | 'invalid_currency' - | 'no_account' - | 'other'; + /** + * Routing number of the bank account. + */ + routing_number: string | null; } - export namespace OriginPaymentMethodDetails { - export interface BillingDetails { - address: Address; - - /** - * Email address. - */ - email: string | null; + export namespace UsBankAccount { + export type AccountHolderType = 'company' | 'individual'; - /** - * Full name. - */ - name: string | null; - } - - export interface UsBankAccount { - /** - * Account holder type: individual or company. - */ - account_holder_type: UsBankAccount.AccountHolderType | null; - - /** - * Account type: checkings or savings. Defaults to checking if omitted. - */ - account_type: UsBankAccount.AccountType | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * ID of the mandate used to make this payment. - */ - mandate?: string | Mandate; - - /** - * The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. - */ - network: 'ach'; - - /** - * Routing number of the bank account. - */ - routing_number: string | null; - } - - export namespace UsBankAccount { - export type AccountHolderType = 'company' | 'individual'; - - export type AccountType = 'checking' | 'savings'; - } + export type AccountType = 'checking' | 'savings'; } } } diff --git a/src/resources/Treasury/OutboundPayments.ts b/src/resources/Treasury/OutboundPayments.ts index a09c507984..5f822981dd 100644 --- a/src/resources/Treasury/OutboundPayments.ts +++ b/src/resources/Treasury/OutboundPayments.ts @@ -126,12 +126,12 @@ export interface OutboundPayment { /** * Details about the PaymentMethod for an OutboundPayment. */ - destination_payment_method_details: Treasury.OutboundPayment.DestinationPaymentMethodDetails | null; + destination_payment_method_details: OutboundPayment.DestinationPaymentMethodDetails | null; /** * Details about the end user. */ - end_user_details: Treasury.OutboundPayment.EndUserDetails | null; + end_user_details: OutboundPayment.EndUserDetails | null; /** * The date when funds are expected to arrive in the destination account. @@ -161,7 +161,7 @@ export interface OutboundPayment { /** * Details about a returned OutboundPayment. Only set when the status is `returned`. */ - returned_details: Treasury.OutboundPayment.ReturnedDetails | null; + returned_details: OutboundPayment.ReturnedDetails | null; /** * The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer). @@ -171,219 +171,217 @@ export interface OutboundPayment { /** * Current status of the OutboundPayment: `processing`, `failed`, `posted`, `returned`, `canceled`. An OutboundPayment is `processing` if it has been created and is pending. The status changes to `posted` once the OutboundPayment has been "confirmed" and funds have left the account, or to `failed` or `canceled`. If an OutboundPayment fails to arrive at its destination, its status will change to `returned`. */ - status: Treasury.OutboundPayment.Status; + status: OutboundPayment.Status; - status_transitions: Treasury.OutboundPayment.StatusTransitions; + status_transitions: OutboundPayment.StatusTransitions; /** * Details about network-specific tracking information if available. */ - tracking_details: Treasury.OutboundPayment.TrackingDetails | null; + tracking_details: OutboundPayment.TrackingDetails | null; /** * The Transaction associated with this object. */ transaction: string | Transaction; } -export namespace Treasury { - export namespace OutboundPayment { - export interface DestinationPaymentMethodDetails { - billing_details: DestinationPaymentMethodDetails.BillingDetails; +export namespace OutboundPayment { + export interface DestinationPaymentMethodDetails { + billing_details: DestinationPaymentMethodDetails.BillingDetails; - financial_account?: DestinationPaymentMethodDetails.FinancialAccount; + financial_account?: DestinationPaymentMethodDetails.FinancialAccount; - /** - * The type of the payment method used in the OutboundPayment. - */ - type: DestinationPaymentMethodDetails.Type; + /** + * The type of the payment method used in the OutboundPayment. + */ + type: DestinationPaymentMethodDetails.Type; - us_bank_account?: DestinationPaymentMethodDetails.UsBankAccount; - } + us_bank_account?: DestinationPaymentMethodDetails.UsBankAccount; + } + + export interface EndUserDetails { + /** + * IP address of the user initiating the OutboundPayment. Set if `present` is set to `true`. IP address collection is required for risk and compliance reasons. This will be used to help determine if the OutboundPayment is authorized or should be blocked. + */ + ip_address: string | null; + + /** + * `true` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`. + */ + present: boolean; + } + + export interface ReturnedDetails { + /** + * Reason for the return. + */ + code: ReturnedDetails.Code; + + /** + * The Transaction associated with this object. + */ + transaction: string | Transaction; + } + + export type Status = + | 'canceled' + | 'failed' + | 'posted' + | 'processing' + | 'returned'; + + export interface StatusTransitions { + /** + * Timestamp describing when an OutboundPayment changed status to `canceled`. + */ + canceled_at: number | null; + + /** + * Timestamp describing when an OutboundPayment changed status to `failed`. + */ + failed_at: number | null; + + /** + * Timestamp describing when an OutboundPayment changed status to `posted`. + */ + posted_at: number | null; + + /** + * Timestamp describing when an OutboundPayment changed status to `returned`. + */ + returned_at: number | null; + } + + export interface TrackingDetails { + ach?: TrackingDetails.Ach; + + /** + * The US bank account network used to send funds. + */ + type: TrackingDetails.Type; + + us_domestic_wire?: TrackingDetails.UsDomesticWire; + } + + export namespace DestinationPaymentMethodDetails { + export interface BillingDetails { + address: Address; - export interface EndUserDetails { /** - * IP address of the user initiating the OutboundPayment. Set if `present` is set to `true`. IP address collection is required for risk and compliance reasons. This will be used to help determine if the OutboundPayment is authorized or should be blocked. + * Email address. */ - ip_address: string | null; + email: string | null; /** - * `true` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`. + * Full name. */ - present: boolean; + name: string | null; } - export interface ReturnedDetails { + export interface FinancialAccount { /** - * Reason for the return. + * Token of the FinancialAccount. */ - code: ReturnedDetails.Code; + id: string; /** - * The Transaction associated with this object. + * The rails used to send funds. */ - transaction: string | Transaction; + network: 'stripe'; } - export type Status = - | 'canceled' - | 'failed' - | 'posted' - | 'processing' - | 'returned'; + export type Type = 'financial_account' | 'us_bank_account'; - export interface StatusTransitions { + export interface UsBankAccount { /** - * Timestamp describing when an OutboundPayment changed status to `canceled`. + * Account holder type: individual or company. */ - canceled_at: number | null; + account_holder_type: UsBankAccount.AccountHolderType | null; /** - * Timestamp describing when an OutboundPayment changed status to `failed`. + * Account type: checkings or savings. Defaults to checking if omitted. */ - failed_at: number | null; + account_type: UsBankAccount.AccountType | null; /** - * Timestamp describing when an OutboundPayment changed status to `posted`. + * Name of the bank associated with the bank account. */ - posted_at: number | null; + bank_name: string | null; /** - * Timestamp describing when an OutboundPayment changed status to `returned`. + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. */ - returned_at: number | null; - } - - export interface TrackingDetails { - ach?: TrackingDetails.Ach; + fingerprint: string | null; /** - * The US bank account network used to send funds. + * Last four digits of the bank account number. */ - type: TrackingDetails.Type; - - us_domestic_wire?: TrackingDetails.UsDomesticWire; - } - - export namespace DestinationPaymentMethodDetails { - export interface BillingDetails { - address: Address; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - } - - export interface FinancialAccount { - /** - * Token of the FinancialAccount. - */ - id: string; - - /** - * The rails used to send funds. - */ - network: 'stripe'; - } - - export type Type = 'financial_account' | 'us_bank_account'; - - export interface UsBankAccount { - /** - * Account holder type: individual or company. - */ - account_holder_type: UsBankAccount.AccountHolderType | null; - - /** - * Account type: checkings or savings. Defaults to checking if omitted. - */ - account_type: UsBankAccount.AccountType | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; + last4: string | null; - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * ID of the mandate used to make this payment. - */ - mandate?: string | Mandate; + /** + * ID of the mandate used to make this payment. + */ + mandate?: string | Mandate; - /** - * The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. - */ - network: UsBankAccount.Network; + /** + * The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. + */ + network: UsBankAccount.Network; - /** - * Routing number of the bank account. - */ - routing_number: string | null; - } + /** + * Routing number of the bank account. + */ + routing_number: string | null; + } - export namespace UsBankAccount { - export type AccountHolderType = 'company' | 'individual'; + export namespace UsBankAccount { + export type AccountHolderType = 'company' | 'individual'; - export type AccountType = 'checking' | 'savings'; + export type AccountType = 'checking' | 'savings'; - export type Network = 'ach' | 'us_domestic_wire'; - } + export type Network = 'ach' | 'us_domestic_wire'; } + } - export namespace ReturnedDetails { - export type Code = - | 'account_closed' - | 'account_frozen' - | 'bank_account_restricted' - | 'bank_ownership_changed' - | 'declined' - | 'incorrect_account_holder_name' - | 'invalid_account_number' - | 'invalid_currency' - | 'no_account' - | 'other'; - } + export namespace ReturnedDetails { + export type Code = + | 'account_closed' + | 'account_frozen' + | 'bank_account_restricted' + | 'bank_ownership_changed' + | 'declined' + | 'incorrect_account_holder_name' + | 'invalid_account_number' + | 'invalid_currency' + | 'no_account' + | 'other'; + } - export namespace TrackingDetails { - export interface Ach { - /** - * ACH trace ID of the OutboundPayment for payments sent over the `ach` network. - */ - trace_id: string; - } + export namespace TrackingDetails { + export interface Ach { + /** + * ACH trace ID of the OutboundPayment for payments sent over the `ach` network. + */ + trace_id: string; + } - export type Type = 'ach' | 'us_domestic_wire'; + export type Type = 'ach' | 'us_domestic_wire'; - export interface UsDomesticWire { - /** - * CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network. - */ - chips: string | null; + export interface UsDomesticWire { + /** + * CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network. + */ + chips: string | null; - /** - * IMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network. - */ - imad: string | null; + /** + * IMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network. + */ + imad: string | null; - /** - * OMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network. - */ - omad: string | null; - } + /** + * OMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network. + */ + omad: string | null; } } } diff --git a/src/resources/Treasury/OutboundTransfers.ts b/src/resources/Treasury/OutboundTransfers.ts index 9a106b53ac..f82f6f77df 100644 --- a/src/resources/Treasury/OutboundTransfers.ts +++ b/src/resources/Treasury/OutboundTransfers.ts @@ -116,7 +116,7 @@ export interface OutboundTransfer { */ destination_payment_method: string | null; - destination_payment_method_details: Treasury.OutboundTransfer.DestinationPaymentMethodDetails; + destination_payment_method_details: OutboundTransfer.DestinationPaymentMethodDetails; /** * The date when funds are expected to arrive in the destination account. @@ -146,7 +146,7 @@ export interface OutboundTransfer { /** * Details about a returned OutboundTransfer. Only set when the status is `returned`. */ - returned_details: Treasury.OutboundTransfer.ReturnedDetails | null; + returned_details: OutboundTransfer.ReturnedDetails | null; /** * Information about the OutboundTransfer to be sent to the recipient account. @@ -156,207 +156,205 @@ export interface OutboundTransfer { /** * Current status of the OutboundTransfer: `processing`, `failed`, `canceled`, `posted`, `returned`. An OutboundTransfer is `processing` if it has been created and is pending. The status changes to `posted` once the OutboundTransfer has been "confirmed" and funds have left the account, or to `failed` or `canceled`. If an OutboundTransfer fails to arrive at its destination, its status will change to `returned`. */ - status: Treasury.OutboundTransfer.Status; + status: OutboundTransfer.Status; - status_transitions: Treasury.OutboundTransfer.StatusTransitions; + status_transitions: OutboundTransfer.StatusTransitions; /** * Details about network-specific tracking information if available. */ - tracking_details: Treasury.OutboundTransfer.TrackingDetails | null; + tracking_details: OutboundTransfer.TrackingDetails | null; /** * The Transaction associated with this object. */ transaction: string | Transaction; } -export namespace Treasury { - export namespace OutboundTransfer { - export interface DestinationPaymentMethodDetails { - billing_details: DestinationPaymentMethodDetails.BillingDetails; +export namespace OutboundTransfer { + export interface DestinationPaymentMethodDetails { + billing_details: DestinationPaymentMethodDetails.BillingDetails; + + financial_account?: DestinationPaymentMethodDetails.FinancialAccount; + + /** + * The type of the payment method used in the OutboundTransfer. + */ + type: DestinationPaymentMethodDetails.Type; + + us_bank_account?: DestinationPaymentMethodDetails.UsBankAccount; + } + + export interface ReturnedDetails { + /** + * Reason for the return. + */ + code: ReturnedDetails.Code; + + /** + * The Transaction associated with this object. + */ + transaction: string | Transaction; + } + + export type Status = + | 'canceled' + | 'failed' + | 'posted' + | 'processing' + | 'returned'; - financial_account?: DestinationPaymentMethodDetails.FinancialAccount; + export interface StatusTransitions { + /** + * Timestamp describing when an OutboundTransfer changed status to `canceled` + */ + canceled_at: number | null; + + /** + * Timestamp describing when an OutboundTransfer changed status to `failed` + */ + failed_at: number | null; + + /** + * Timestamp describing when an OutboundTransfer changed status to `posted` + */ + posted_at: number | null; + + /** + * Timestamp describing when an OutboundTransfer changed status to `returned` + */ + returned_at: number | null; + } + + export interface TrackingDetails { + ach?: TrackingDetails.Ach; + + /** + * The US bank account network used to send funds. + */ + type: TrackingDetails.Type; + + us_domestic_wire?: TrackingDetails.UsDomesticWire; + } + + export namespace DestinationPaymentMethodDetails { + export interface BillingDetails { + address: Address; /** - * The type of the payment method used in the OutboundTransfer. + * Email address. */ - type: DestinationPaymentMethodDetails.Type; + email: string | null; - us_bank_account?: DestinationPaymentMethodDetails.UsBankAccount; + /** + * Full name. + */ + name: string | null; } - export interface ReturnedDetails { + export interface FinancialAccount { /** - * Reason for the return. + * Token of the FinancialAccount. */ - code: ReturnedDetails.Code; + id: string; /** - * The Transaction associated with this object. + * The rails used to send funds. */ - transaction: string | Transaction; + network: 'stripe'; } - export type Status = - | 'canceled' - | 'failed' - | 'posted' - | 'processing' - | 'returned'; + export type Type = 'financial_account' | 'us_bank_account'; - export interface StatusTransitions { + export interface UsBankAccount { /** - * Timestamp describing when an OutboundTransfer changed status to `canceled` + * Account holder type: individual or company. */ - canceled_at: number | null; + account_holder_type: UsBankAccount.AccountHolderType | null; /** - * Timestamp describing when an OutboundTransfer changed status to `failed` + * Account type: checkings or savings. Defaults to checking if omitted. */ - failed_at: number | null; + account_type: UsBankAccount.AccountType | null; /** - * Timestamp describing when an OutboundTransfer changed status to `posted` + * Name of the bank associated with the bank account. */ - posted_at: number | null; + bank_name: string | null; /** - * Timestamp describing when an OutboundTransfer changed status to `returned` + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. */ - returned_at: number | null; - } - - export interface TrackingDetails { - ach?: TrackingDetails.Ach; + fingerprint: string | null; /** - * The US bank account network used to send funds. + * Last four digits of the bank account number. */ - type: TrackingDetails.Type; + last4: string | null; - us_domestic_wire?: TrackingDetails.UsDomesticWire; - } - - export namespace DestinationPaymentMethodDetails { - export interface BillingDetails { - address: Address; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - } - - export interface FinancialAccount { - /** - * Token of the FinancialAccount. - */ - id: string; - - /** - * The rails used to send funds. - */ - network: 'stripe'; - } - - export type Type = 'financial_account' | 'us_bank_account'; - - export interface UsBankAccount { - /** - * Account holder type: individual or company. - */ - account_holder_type: UsBankAccount.AccountHolderType | null; - - /** - * Account type: checkings or savings. Defaults to checking if omitted. - */ - account_type: UsBankAccount.AccountType | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * ID of the mandate used to make this payment. - */ - mandate?: string | Mandate; + /** + * ID of the mandate used to make this payment. + */ + mandate?: string | Mandate; - /** - * The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. - */ - network: UsBankAccount.Network; + /** + * The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. + */ + network: UsBankAccount.Network; - /** - * Routing number of the bank account. - */ - routing_number: string | null; - } + /** + * Routing number of the bank account. + */ + routing_number: string | null; + } - export namespace UsBankAccount { - export type AccountHolderType = 'company' | 'individual'; + export namespace UsBankAccount { + export type AccountHolderType = 'company' | 'individual'; - export type AccountType = 'checking' | 'savings'; + export type AccountType = 'checking' | 'savings'; - export type Network = 'ach' | 'us_domestic_wire'; - } + export type Network = 'ach' | 'us_domestic_wire'; } + } - export namespace ReturnedDetails { - export type Code = - | 'account_closed' - | 'account_frozen' - | 'bank_account_restricted' - | 'bank_ownership_changed' - | 'declined' - | 'incorrect_account_holder_name' - | 'invalid_account_number' - | 'invalid_currency' - | 'no_account' - | 'other'; - } + export namespace ReturnedDetails { + export type Code = + | 'account_closed' + | 'account_frozen' + | 'bank_account_restricted' + | 'bank_ownership_changed' + | 'declined' + | 'incorrect_account_holder_name' + | 'invalid_account_number' + | 'invalid_currency' + | 'no_account' + | 'other'; + } - export namespace TrackingDetails { - export interface Ach { - /** - * ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network. - */ - trace_id: string; - } + export namespace TrackingDetails { + export interface Ach { + /** + * ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network. + */ + trace_id: string; + } - export type Type = 'ach' | 'us_domestic_wire'; + export type Type = 'ach' | 'us_domestic_wire'; - export interface UsDomesticWire { - /** - * CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. - */ - chips: string | null; + export interface UsDomesticWire { + /** + * CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. + */ + chips: string | null; - /** - * IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. - */ - imad: string | null; + /** + * IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. + */ + imad: string | null; - /** - * OMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. - */ - omad: string | null; - } + /** + * OMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. + */ + omad: string | null; } } } diff --git a/src/resources/Treasury/ReceivedCredits.ts b/src/resources/Treasury/ReceivedCredits.ts index e828731efc..dda6448fac 100644 --- a/src/resources/Treasury/ReceivedCredits.ts +++ b/src/resources/Treasury/ReceivedCredits.ts @@ -77,7 +77,7 @@ export interface ReceivedCredit { /** * Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen. */ - failure_code: Treasury.ReceivedCredit.FailureCode | null; + failure_code: ReceivedCredit.FailureCode | null; /** * The FinancialAccount that received the funds. @@ -89,9 +89,9 @@ export interface ReceivedCredit { */ hosted_regulatory_receipt_url: string | null; - initiating_payment_method_details: Treasury.ReceivedCredit.InitiatingPaymentMethodDetails; + initiating_payment_method_details: ReceivedCredit.InitiatingPaymentMethodDetails; - linked_flows: Treasury.ReceivedCredit.LinkedFlows; + linked_flows: ReceivedCredit.LinkedFlows; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -101,216 +101,214 @@ export interface ReceivedCredit { /** * The rails used to send the funds. */ - network: Treasury.ReceivedCredit.Network; + network: ReceivedCredit.Network; /** * Details describing when a ReceivedCredit may be reversed. */ - reversal_details: Treasury.ReceivedCredit.ReversalDetails | null; + reversal_details: ReceivedCredit.ReversalDetails | null; /** * Status of the ReceivedCredit. ReceivedCredits are created either `succeeded` (approved) or `failed` (declined). If a ReceivedCredit is declined, the failure reason can be found in the `failure_code` field. */ - status: Treasury.ReceivedCredit.Status; + status: ReceivedCredit.Status; /** * The Transaction associated with this object. */ transaction: string | Transaction | null; } -export namespace Treasury { - export namespace ReceivedCredit { - export type FailureCode = - | 'account_closed' - | 'account_frozen' - | 'international_transaction' - | 'other'; - - export interface InitiatingPaymentMethodDetails { - /** - * Set when `type` is `balance`. - */ - balance?: 'payments'; +export namespace ReceivedCredit { + export type FailureCode = + | 'account_closed' + | 'account_frozen' + | 'international_transaction' + | 'other'; + + export interface InitiatingPaymentMethodDetails { + /** + * Set when `type` is `balance`. + */ + balance?: 'payments'; + + billing_details: InitiatingPaymentMethodDetails.BillingDetails; + + financial_account?: InitiatingPaymentMethodDetails.FinancialAccount; + + /** + * Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID. + */ + issuing_card?: string; + + /** + * Polymorphic type matching the originating money movement's source. This can be an external account, a Stripe balance, or a FinancialAccount. + */ + type: InitiatingPaymentMethodDetails.Type; + + us_bank_account?: InitiatingPaymentMethodDetails.UsBankAccount; + } + + export interface LinkedFlows { + /** + * The CreditReversal created as a result of this ReceivedCredit being reversed. + */ + credit_reversal: string | null; + + /** + * Set if the ReceivedCredit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object. + */ + issuing_authorization: string | null; + + /** + * Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://api.stripe.com#issuing_transactions) object. + */ + issuing_transaction: string | null; + + /** + * ID of the source flow. Set if `network` is `stripe` and the source flow is visible to the user. Examples of source flows include OutboundPayments, payouts, or CreditReversals. + */ + source_flow: string | null; + + /** + * The expandable object of the source flow. + */ + source_flow_details?: LinkedFlows.SourceFlowDetails | null; + + /** + * The type of flow that originated the ReceivedCredit (for example, `outbound_payment`). + */ + source_flow_type: string | null; + } + + export type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire'; + + export interface ReversalDetails { + /** + * Time before which a ReceivedCredit can be reversed. + */ + deadline: number | null; + + /** + * Set if a ReceivedCredit cannot be reversed. + */ + restricted_reason: ReversalDetails.RestrictedReason | null; + } - billing_details: InitiatingPaymentMethodDetails.BillingDetails; + export type Status = 'failed' | 'succeeded'; - financial_account?: InitiatingPaymentMethodDetails.FinancialAccount; + export namespace InitiatingPaymentMethodDetails { + export interface BillingDetails { + address: Address; /** - * Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID. + * Email address. */ - issuing_card?: string; + email: string | null; /** - * Polymorphic type matching the originating money movement's source. This can be an external account, a Stripe balance, or a FinancialAccount. + * Full name. */ - type: InitiatingPaymentMethodDetails.Type; - - us_bank_account?: InitiatingPaymentMethodDetails.UsBankAccount; + name: string | null; } - export interface LinkedFlows { + export interface FinancialAccount { /** - * The CreditReversal created as a result of this ReceivedCredit being reversed. + * The FinancialAccount ID. */ - credit_reversal: string | null; + id: string; /** - * Set if the ReceivedCredit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object. + * The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`. */ - issuing_authorization: string | null; + network: 'stripe'; + } - /** - * Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://api.stripe.com#issuing_transactions) object. - */ - issuing_transaction: string | null; + export type Type = + | 'balance' + | 'financial_account' + | 'issuing_card' + | 'stripe' + | 'us_bank_account'; + export interface UsBankAccount { /** - * ID of the source flow. Set if `network` is `stripe` and the source flow is visible to the user. Examples of source flows include OutboundPayments, payouts, or CreditReversals. + * Bank name. */ - source_flow: string | null; + bank_name: string | null; /** - * The expandable object of the source flow. + * The last four digits of the bank account number. */ - source_flow_details?: LinkedFlows.SourceFlowDetails | null; + last4: string | null; /** - * The type of flow that originated the ReceivedCredit (for example, `outbound_payment`). + * The routing number for the bank account. */ - source_flow_type: string | null; + routing_number: string | null; } + } - export type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire'; - - export interface ReversalDetails { + export namespace LinkedFlows { + export interface SourceFlowDetails { /** - * Time before which a ReceivedCredit can be reversed. + * You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. */ - deadline: number | null; + credit_reversal?: CreditReversal; /** - * Set if a ReceivedCredit cannot be reversed. + * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers). + * + * Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. + * + * Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) */ - restricted_reason: ReversalDetails.RestrictedReason | null; - } - - export type Status = 'failed' | 'succeeded'; - - export namespace InitiatingPaymentMethodDetails { - export interface BillingDetails { - address: Address; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - } - - export interface FinancialAccount { - /** - * The FinancialAccount ID. - */ - id: string; - - /** - * The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`. - */ - network: 'stripe'; - } + outbound_payment?: OutboundPayment; - export type Type = - | 'balance' - | 'financial_account' - | 'issuing_card' - | 'stripe' - | 'us_bank_account'; - - export interface UsBankAccount { - /** - * Bank name. - */ - bank_name: string | null; - - /** - * The last four digits of the bank account number. - */ - last4: string | null; - - /** - * The routing number for the bank account. - */ - routing_number: string | null; - } - } + /** + * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. + * + * Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. + * + * Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) + */ + outbound_transfer?: OutboundTransfer; - export namespace LinkedFlows { - export interface SourceFlowDetails { - /** - * You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - */ - credit_reversal?: CreditReversal; - - /** - * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers). - * - * Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. - * - * Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - */ - outbound_payment?: OutboundPayment; - - /** - * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. - * - * Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. - * - * Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - */ - outbound_transfer?: OutboundTransfer; - - /** - * A `Payout` object is created when you receive funds from Stripe, or when you - * initiate a payout to either a bank account or debit card of a [connected - * Stripe account](https://docs.stripe.com/docs/connect/bank-debit-card-payouts). You can retrieve individual payouts, - * and list all payouts. Payouts are made on [varying - * schedules](https://docs.stripe.com/docs/connect/manage-payout-schedule), depending on your country and - * industry. - * - * Related guide: [Receiving payouts](https://docs.stripe.com/payouts) - */ - payout?: Payout; - - /** - * The type of the source flow that originated the ReceivedCredit. - */ - type: SourceFlowDetails.Type; - } + /** + * A `Payout` object is created when you receive funds from Stripe, or when you + * initiate a payout to either a bank account or debit card of a [connected + * Stripe account](https://docs.stripe.com/docs/connect/bank-debit-card-payouts). You can retrieve individual payouts, + * and list all payouts. Payouts are made on [varying + * schedules](https://docs.stripe.com/docs/connect/manage-payout-schedule), depending on your country and + * industry. + * + * Related guide: [Receiving payouts](https://docs.stripe.com/payouts) + */ + payout?: Payout; - export namespace SourceFlowDetails { - export type Type = - | 'credit_reversal' - | 'other' - | 'outbound_payment' - | 'outbound_transfer' - | 'payout'; - } + /** + * The type of the source flow that originated the ReceivedCredit. + */ + type: SourceFlowDetails.Type; } - export namespace ReversalDetails { - export type RestrictedReason = - | 'already_reversed' - | 'deadline_passed' - | 'network_restricted' + export namespace SourceFlowDetails { + export type Type = + | 'credit_reversal' | 'other' - | 'source_flow_restricted'; + | 'outbound_payment' + | 'outbound_transfer' + | 'payout'; } } + + export namespace ReversalDetails { + export type RestrictedReason = + | 'already_reversed' + | 'deadline_passed' + | 'network_restricted' + | 'other' + | 'source_flow_restricted'; + } } export namespace Treasury { export interface ReceivedCreditRetrieveParams { diff --git a/src/resources/Treasury/ReceivedDebits.ts b/src/resources/Treasury/ReceivedDebits.ts index dc687b66a8..6d15066c8a 100644 --- a/src/resources/Treasury/ReceivedDebits.ts +++ b/src/resources/Treasury/ReceivedDebits.ts @@ -73,7 +73,7 @@ export interface ReceivedDebit { /** * Reason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn't have sufficient funds, is closed, or is frozen. */ - failure_code: Treasury.ReceivedDebit.FailureCode | null; + failure_code: ReceivedDebit.FailureCode | null; /** * The FinancialAccount that funds were pulled from. @@ -85,9 +85,9 @@ export interface ReceivedDebit { */ hosted_regulatory_receipt_url: string | null; - initiating_payment_method_details?: Treasury.ReceivedDebit.InitiatingPaymentMethodDetails; + initiating_payment_method_details?: ReceivedDebit.InitiatingPaymentMethodDetails; - linked_flows: Treasury.ReceivedDebit.LinkedFlows; + linked_flows: ReceivedDebit.LinkedFlows; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -97,163 +97,161 @@ export interface ReceivedDebit { /** * The network used for the ReceivedDebit. */ - network: Treasury.ReceivedDebit.Network; + network: ReceivedDebit.Network; /** * Details describing when a ReceivedDebit might be reversed. */ - reversal_details: Treasury.ReceivedDebit.ReversalDetails | null; + reversal_details: ReceivedDebit.ReversalDetails | null; /** * Status of the ReceivedDebit. ReceivedDebits are created with a status of either `succeeded` (approved) or `failed` (declined). The failure reason can be found under the `failure_code`. */ - status: Treasury.ReceivedDebit.Status; + status: ReceivedDebit.Status; /** * The Transaction associated with this object. */ transaction: string | Transaction | null; } -export namespace Treasury { - export namespace ReceivedDebit { - export type FailureCode = - | 'account_closed' - | 'account_frozen' - | 'insufficient_funds' - | 'international_transaction' - | 'other'; - - export interface InitiatingPaymentMethodDetails { - /** - * Set when `type` is `balance`. - */ - balance?: 'payments'; +export namespace ReceivedDebit { + export type FailureCode = + | 'account_closed' + | 'account_frozen' + | 'insufficient_funds' + | 'international_transaction' + | 'other'; + + export interface InitiatingPaymentMethodDetails { + /** + * Set when `type` is `balance`. + */ + balance?: 'payments'; - billing_details: InitiatingPaymentMethodDetails.BillingDetails; + billing_details: InitiatingPaymentMethodDetails.BillingDetails; - financial_account?: InitiatingPaymentMethodDetails.FinancialAccount; + financial_account?: InitiatingPaymentMethodDetails.FinancialAccount; - /** - * Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID. - */ - issuing_card?: string; + /** + * Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID. + */ + issuing_card?: string; - /** - * Polymorphic type matching the originating money movement's source. This can be an external account, a Stripe balance, or a FinancialAccount. - */ - type: InitiatingPaymentMethodDetails.Type; + /** + * Polymorphic type matching the originating money movement's source. This can be an external account, a Stripe balance, or a FinancialAccount. + */ + type: InitiatingPaymentMethodDetails.Type; - us_bank_account?: InitiatingPaymentMethodDetails.UsBankAccount; - } + us_bank_account?: InitiatingPaymentMethodDetails.UsBankAccount; + } - export interface LinkedFlows { - /** - * The DebitReversal created as a result of this ReceivedDebit being reversed. - */ - debit_reversal: string | null; + export interface LinkedFlows { + /** + * The DebitReversal created as a result of this ReceivedDebit being reversed. + */ + debit_reversal: string | null; - /** - * Set if the ReceivedDebit is associated with an InboundTransfer's return of funds. - */ - inbound_transfer: string | null; + /** + * Set if the ReceivedDebit is associated with an InboundTransfer's return of funds. + */ + inbound_transfer: string | null; + + /** + * Set if the ReceivedDebit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object. + */ + issuing_authorization: string | null; + + /** + * Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://api.stripe.com#issuing_disputes) object. + */ + issuing_transaction: string | null; + + /** + * Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object. + */ + payout: string | null; + + /** + * Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object. + */ + topup: string | null; + } + + export type Network = 'ach' | 'card' | 'stripe'; + + export interface ReversalDetails { + /** + * Time before which a ReceivedDebit can be reversed. + */ + deadline: number | null; + + /** + * Set if a ReceivedDebit can't be reversed. + */ + restricted_reason: ReversalDetails.RestrictedReason | null; + } + + export type Status = 'failed' | 'succeeded'; + + export namespace InitiatingPaymentMethodDetails { + export interface BillingDetails { + address: Address; /** - * Set if the ReceivedDebit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object. + * Email address. */ - issuing_authorization: string | null; + email: string | null; /** - * Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://api.stripe.com#issuing_disputes) object. + * Full name. */ - issuing_transaction: string | null; + name: string | null; + } + export interface FinancialAccount { /** - * Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object. + * The FinancialAccount ID. */ - payout: string | null; + id: string; /** - * Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object. + * The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`. */ - topup: string | null; + network: 'stripe'; } - export type Network = 'ach' | 'card' | 'stripe'; + export type Type = + | 'balance' + | 'financial_account' + | 'issuing_card' + | 'stripe' + | 'us_bank_account'; - export interface ReversalDetails { + export interface UsBankAccount { /** - * Time before which a ReceivedDebit can be reversed. + * Bank name. */ - deadline: number | null; + bank_name: string | null; /** - * Set if a ReceivedDebit can't be reversed. + * The last four digits of the bank account number. */ - restricted_reason: ReversalDetails.RestrictedReason | null; - } - - export type Status = 'failed' | 'succeeded'; - - export namespace InitiatingPaymentMethodDetails { - export interface BillingDetails { - address: Address; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - } - - export interface FinancialAccount { - /** - * The FinancialAccount ID. - */ - id: string; + last4: string | null; - /** - * The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`. - */ - network: 'stripe'; - } - - export type Type = - | 'balance' - | 'financial_account' - | 'issuing_card' - | 'stripe' - | 'us_bank_account'; - - export interface UsBankAccount { - /** - * Bank name. - */ - bank_name: string | null; - - /** - * The last four digits of the bank account number. - */ - last4: string | null; - - /** - * The routing number for the bank account. - */ - routing_number: string | null; - } + /** + * The routing number for the bank account. + */ + routing_number: string | null; } + } - export namespace ReversalDetails { - export type RestrictedReason = - | 'already_reversed' - | 'deadline_passed' - | 'network_restricted' - | 'other' - | 'source_flow_restricted'; - } + export namespace ReversalDetails { + export type RestrictedReason = + | 'already_reversed' + | 'deadline_passed' + | 'network_restricted' + | 'other' + | 'source_flow_restricted'; } } export namespace Treasury { diff --git a/src/resources/Treasury/TransactionEntries.ts b/src/resources/Treasury/TransactionEntries.ts index b85f6b2915..abc86eabf2 100644 --- a/src/resources/Treasury/TransactionEntries.ts +++ b/src/resources/Treasury/TransactionEntries.ts @@ -445,7 +445,7 @@ export interface TransactionEntry { /** * Change to a FinancialAccount's balance */ - balance_impact: Treasury.TransactionEntry.BalanceImpact; + balance_impact: TransactionEntry.BalanceImpact; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -475,12 +475,12 @@ export interface TransactionEntry { /** * Details of the flow associated with the TransactionEntry. */ - flow_details?: Treasury.TransactionEntry.FlowDetails | null; + flow_details?: TransactionEntry.FlowDetails | null; /** * Type of the flow associated with the TransactionEntry. */ - flow_type: Treasury.TransactionEntry.FlowType; + flow_type: TransactionEntry.FlowType; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -495,133 +495,131 @@ export interface TransactionEntry { /** * The specific money movement that generated the TransactionEntry. */ - type: Treasury.TransactionEntry.Type; + type: TransactionEntry.Type; } -export namespace Treasury { - export namespace TransactionEntry { - export interface BalanceImpact { - /** - * The change made to funds the user can spend right now. - */ - cash: number; - - /** - * The change made to funds that are not spendable yet, but will become available at a later time. - */ - inbound_pending: number; - - /** - * The change made to funds in the account, but not spendable because they are being held for pending outbound flows. - */ - outbound_pending: number; - } - - export interface FlowDetails { - /** - * You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - */ - credit_reversal?: CreditReversal; - - /** - * You can reverse some [ReceivedDebits](https://api.stripe.com#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. - */ - debit_reversal?: DebitReversal; - - /** - * Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://api.stripe.com#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. - * - * Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) - */ - inbound_transfer?: InboundTransfer; - - /** - * When an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization` - * object is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the - * purchase to be completed successfully. - * - * Related guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations) - */ - issuing_authorization?: Issuing.Authorization; - - /** - * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers). - * - * Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. - * - * Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - */ - outbound_payment?: OutboundPayment; - - /** - * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. - * - * Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. - * - * Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - */ - outbound_transfer?: OutboundTransfer; - - /** - * ReceivedCredits represent funds sent to a [FinancialAccount](https://api.stripe.com#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. - */ - received_credit?: ReceivedCredit; - - /** - * ReceivedDebits represent funds pulled from a [FinancialAccount](https://api.stripe.com#financial_accounts). These are not initiated from the FinancialAccount. - */ - received_debit?: ReceivedDebit; - - /** - * Type of the flow that created the Transaction. Set to the same value as `flow_type`. - */ - type: FlowDetails.Type; - } - - export type FlowType = - | 'credit_reversal' - | 'debit_reversal' - | 'inbound_transfer' - | 'issuing_authorization' - | 'other' - | 'outbound_payment' - | 'outbound_transfer' - | 'received_credit' - | 'received_debit'; +export namespace TransactionEntry { + export interface BalanceImpact { + /** + * The change made to funds the user can spend right now. + */ + cash: number; + + /** + * The change made to funds that are not spendable yet, but will become available at a later time. + */ + inbound_pending: number; + + /** + * The change made to funds in the account, but not spendable because they are being held for pending outbound flows. + */ + outbound_pending: number; + } + + export interface FlowDetails { + /** + * You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. + */ + credit_reversal?: CreditReversal; + + /** + * You can reverse some [ReceivedDebits](https://api.stripe.com#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. + */ + debit_reversal?: DebitReversal; + /** + * Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://api.stripe.com#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. + * + * Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) + */ + inbound_transfer?: InboundTransfer; + + /** + * When an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization` + * object is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the + * purchase to be completed successfully. + * + * Related guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations) + */ + issuing_authorization?: Issuing.Authorization; + + /** + * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers). + * + * Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. + * + * Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) + */ + outbound_payment?: OutboundPayment; + + /** + * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. + * + * Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. + * + * Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) + */ + outbound_transfer?: OutboundTransfer; + + /** + * ReceivedCredits represent funds sent to a [FinancialAccount](https://api.stripe.com#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. + */ + received_credit?: ReceivedCredit; + + /** + * ReceivedDebits represent funds pulled from a [FinancialAccount](https://api.stripe.com#financial_accounts). These are not initiated from the FinancialAccount. + */ + received_debit?: ReceivedDebit; + + /** + * Type of the flow that created the Transaction. Set to the same value as `flow_type`. + */ + type: FlowDetails.Type; + } + + export type FlowType = + | 'credit_reversal' + | 'debit_reversal' + | 'inbound_transfer' + | 'issuing_authorization' + | 'other' + | 'outbound_payment' + | 'outbound_transfer' + | 'received_credit' + | 'received_debit'; + + export type Type = + | 'credit_reversal' + | 'credit_reversal_posting' + | 'debit_reversal' + | 'inbound_transfer' + | 'inbound_transfer_return' + | 'issuing_authorization_hold' + | 'issuing_authorization_release' + | 'other' + | 'outbound_payment' + | 'outbound_payment_cancellation' + | 'outbound_payment_failure' + | 'outbound_payment_posting' + | 'outbound_payment_return' + | 'outbound_transfer' + | 'outbound_transfer_cancellation' + | 'outbound_transfer_failure' + | 'outbound_transfer_posting' + | 'outbound_transfer_return' + | 'received_credit' + | 'received_debit'; + + export namespace FlowDetails { export type Type = | 'credit_reversal' - | 'credit_reversal_posting' | 'debit_reversal' | 'inbound_transfer' - | 'inbound_transfer_return' - | 'issuing_authorization_hold' - | 'issuing_authorization_release' + | 'issuing_authorization' | 'other' | 'outbound_payment' - | 'outbound_payment_cancellation' - | 'outbound_payment_failure' - | 'outbound_payment_posting' - | 'outbound_payment_return' | 'outbound_transfer' - | 'outbound_transfer_cancellation' - | 'outbound_transfer_failure' - | 'outbound_transfer_posting' - | 'outbound_transfer_return' | 'received_credit' | 'received_debit'; - - export namespace FlowDetails { - export type Type = - | 'credit_reversal' - | 'debit_reversal' - | 'inbound_transfer' - | 'issuing_authorization' - | 'other' - | 'outbound_payment' - | 'outbound_transfer' - | 'received_credit' - | 'received_debit'; - } } } export namespace Treasury { diff --git a/src/resources/Treasury/Transactions.ts b/src/resources/Treasury/Transactions.ts index 6f3055ff44..96e7ed3732 100644 --- a/src/resources/Treasury/Transactions.ts +++ b/src/resources/Treasury/Transactions.ts @@ -526,7 +526,7 @@ export interface Transaction { /** * Change to a FinancialAccount's balance */ - balance_impact: Treasury.Transaction.BalanceImpact; + balance_impact: Transaction.BalanceImpact; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -561,12 +561,12 @@ export interface Transaction { /** * Details of the flow that created the Transaction. */ - flow_details?: Treasury.Transaction.FlowDetails | null; + flow_details?: Transaction.FlowDetails | null; /** * Type of the flow that created the Transaction. */ - flow_type: Treasury.Transaction.FlowType; + flow_type: Transaction.FlowType; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -576,91 +576,116 @@ export interface Transaction { /** * Status of the Transaction. */ - status: Treasury.Transaction.Status; + status: Transaction.Status; - status_transitions: Treasury.Transaction.StatusTransitions; + status_transitions: Transaction.StatusTransitions; } -export namespace Treasury { - export namespace Transaction { - export interface BalanceImpact { - /** - * The change made to funds the user can spend right now. - */ - cash: number; +export namespace Transaction { + export interface BalanceImpact { + /** + * The change made to funds the user can spend right now. + */ + cash: number; - /** - * The change made to funds that are not spendable yet, but will become available at a later time. - */ - inbound_pending: number; + /** + * The change made to funds that are not spendable yet, but will become available at a later time. + */ + inbound_pending: number; - /** - * The change made to funds in the account, but not spendable because they are being held for pending outbound flows. - */ - outbound_pending: number; - } + /** + * The change made to funds in the account, but not spendable because they are being held for pending outbound flows. + */ + outbound_pending: number; + } - export interface FlowDetails { - /** - * You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - */ - credit_reversal?: CreditReversal; + export interface FlowDetails { + /** + * You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. + */ + credit_reversal?: CreditReversal; - /** - * You can reverse some [ReceivedDebits](https://api.stripe.com#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. - */ - debit_reversal?: DebitReversal; + /** + * You can reverse some [ReceivedDebits](https://api.stripe.com#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal. + */ + debit_reversal?: DebitReversal; - /** - * Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://api.stripe.com#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. - * - * Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) - */ - inbound_transfer?: InboundTransfer; + /** + * Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://api.stripe.com#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. + * + * Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) + */ + inbound_transfer?: InboundTransfer; - /** - * When an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization` - * object is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the - * purchase to be completed successfully. - * - * Related guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations) - */ - issuing_authorization?: Issuing.Authorization; + /** + * When an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization` + * object is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the + * purchase to be completed successfully. + * + * Related guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations) + */ + issuing_authorization?: Issuing.Authorization; - /** - * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers). - * - * Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. - * - * Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - */ - outbound_payment?: OutboundPayment; + /** + * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers). + * + * Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. + * + * Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) + */ + outbound_payment?: OutboundPayment; - /** - * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. - * - * Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. - * - * Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - */ - outbound_transfer?: OutboundTransfer; + /** + * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. + * + * Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. + * + * Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) + */ + outbound_transfer?: OutboundTransfer; - /** - * ReceivedCredits represent funds sent to a [FinancialAccount](https://api.stripe.com#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. - */ - received_credit?: ReceivedCredit; + /** + * ReceivedCredits represent funds sent to a [FinancialAccount](https://api.stripe.com#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount. + */ + received_credit?: ReceivedCredit; - /** - * ReceivedDebits represent funds pulled from a [FinancialAccount](https://api.stripe.com#financial_accounts). These are not initiated from the FinancialAccount. - */ - received_debit?: ReceivedDebit; + /** + * ReceivedDebits represent funds pulled from a [FinancialAccount](https://api.stripe.com#financial_accounts). These are not initiated from the FinancialAccount. + */ + received_debit?: ReceivedDebit; - /** - * Type of the flow that created the Transaction. Set to the same value as `flow_type`. - */ - type: FlowDetails.Type; - } + /** + * Type of the flow that created the Transaction. Set to the same value as `flow_type`. + */ + type: FlowDetails.Type; + } + + export type FlowType = + | 'credit_reversal' + | 'debit_reversal' + | 'inbound_transfer' + | 'issuing_authorization' + | 'other' + | 'outbound_payment' + | 'outbound_transfer' + | 'received_credit' + | 'received_debit'; - export type FlowType = + export type Status = 'open' | 'posted' | 'void'; + + export interface StatusTransitions { + /** + * Timestamp describing when the Transaction changed status to `posted`. + */ + posted_at: number | null; + + /** + * Timestamp describing when the Transaction changed status to `void`. + */ + void_at: number | null; + } + + export namespace FlowDetails { + export type Type = | 'credit_reversal' | 'debit_reversal' | 'inbound_transfer' @@ -670,33 +695,6 @@ export namespace Treasury { | 'outbound_transfer' | 'received_credit' | 'received_debit'; - - export type Status = 'open' | 'posted' | 'void'; - - export interface StatusTransitions { - /** - * Timestamp describing when the Transaction changed status to `posted`. - */ - posted_at: number | null; - - /** - * Timestamp describing when the Transaction changed status to `void`. - */ - void_at: number | null; - } - - export namespace FlowDetails { - export type Type = - | 'credit_reversal' - | 'debit_reversal' - | 'inbound_transfer' - | 'issuing_authorization' - | 'other' - | 'outbound_payment' - | 'outbound_transfer' - | 'received_credit' - | 'received_debit'; - } } } export namespace Treasury { diff --git a/src/resources/V2/Billing/MeterEventAdjustments.ts b/src/resources/V2/Billing/MeterEventAdjustments.ts index 4dd21c4fd3..275117592b 100644 --- a/src/resources/V2/Billing/MeterEventAdjustments.ts +++ b/src/resources/V2/Billing/MeterEventAdjustments.ts @@ -33,7 +33,7 @@ export interface MeterEventAdjustment { /** * Specifies which event to cancel. */ - cancel: V2.Billing.MeterEventAdjustment.Cancel; + cancel: MeterEventAdjustment.Cancel; /** * The time the adjustment was created. @@ -53,26 +53,22 @@ export interface MeterEventAdjustment { /** * Open Enum. The meter event adjustment's status. */ - status: V2.Billing.MeterEventAdjustment.Status; + status: MeterEventAdjustment.Status; /** * Open Enum. Specifies the type of cancellation. Currently supports canceling a single event. */ type: 'cancel'; } -export namespace V2 { - export namespace Billing { - export namespace MeterEventAdjustment { - export interface Cancel { - /** - * The identifier that was originally assigned to the meter event. You can only cancel events within 24 hours of Stripe receiving them. - */ - identifier: string; - } - - export type Status = 'complete' | 'pending'; - } +export namespace MeterEventAdjustment { + export interface Cancel { + /** + * The identifier that was originally assigned to the meter event. You can only cancel events within 24 hours of Stripe receiving them. + */ + identifier: string; } + + export type Status = 'complete' | 'pending'; } export namespace V2 { export namespace Billing { diff --git a/src/resources/V2/Commerce/ProductCatalogImports.ts b/src/resources/V2/Commerce/ProductCatalogImports.ts index 9334a52975..c2b66bbcf1 100644 --- a/src/resources/V2/Commerce/ProductCatalogImports.ts +++ b/src/resources/V2/Commerce/ProductCatalogImports.ts @@ -21,7 +21,7 @@ export interface ProductCatalogImport { /** * The type of feed data being imported into the product catalog. */ - feed_type: V2.Commerce.ProductCatalogImport.FeedType; + feed_type: ProductCatalogImport.FeedType; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -36,194 +36,187 @@ export interface ProductCatalogImport { /** * The current status of this ProductCatalogImport. */ - status: V2.Commerce.ProductCatalogImport.Status; + status: ProductCatalogImport.Status; /** * Details about the current import status. */ - status_details?: V2.Commerce.ProductCatalogImport.StatusDetails; + status_details?: ProductCatalogImport.StatusDetails; } -export namespace V2 { - export namespace Commerce { - export namespace ProductCatalogImport { - export type FeedType = 'inventory' | 'pricing' | 'product'; - - export type Status = - | 'awaiting_upload' - | 'failed' - | 'processing' - | 'succeeded' - | 'succeeded_with_errors'; - - export interface StatusDetails { +export namespace ProductCatalogImport { + export type FeedType = 'inventory' | 'pricing' | 'product'; + + export type Status = + | 'awaiting_upload' + | 'failed' + | 'processing' + | 'succeeded' + | 'succeeded_with_errors'; + + export interface StatusDetails { + /** + * Details when the import is awaiting file upload. + */ + awaiting_upload?: StatusDetails.AwaitingUpload; + + /** + * Details when the import didn't complete. + */ + failed?: StatusDetails.Failed; + + /** + * Details when the import is processing. + */ + processing?: StatusDetails.Processing; + + /** + * Details when the import has succeeded. + */ + succeeded?: StatusDetails.Succeeded; + + /** + * Details when the import completed but some records failed to process. + */ + succeeded_with_errors?: StatusDetails.SucceededWithErrors; + } + + export namespace StatusDetails { + export interface AwaitingUpload { + /** + * The pre-signed URL information for uploading the catalog file. + */ + upload_url: AwaitingUpload.UploadUrl; + } + + export interface Failed { + /** + * The error code for this product catalog processing failure. + */ + code: Failed.Code; + + /** + * A message explaining why the import failed. + */ + failure_message: string; + + /** + * The error type for this product catalog processing failure. + */ + type: Failed.Type; + } + + export interface Processing { + /** + * The number of records that failed to process so far. + */ + error_count: bigint; + + /** + * The number of records processed so far. + */ + success_count: bigint; + } + + export interface Succeeded { + /** + * The total number of records processed. + */ + success_count: bigint; + } + + export interface SucceededWithErrors { + /** + * The total number of records that failed to process. + */ + error_count: bigint; + + /** + * A file containing details about all errors that occurred. + */ + error_file: SucceededWithErrors.ErrorFile; + + /** + * A sample of errors that occurred during processing. + */ + samples: Array; + + /** + * The total number of records processed. + */ + success_count: bigint; + } + + export namespace AwaitingUpload { + export interface UploadUrl { /** - * Details when the import is awaiting file upload. + * The timestamp when the upload URL expires. */ - awaiting_upload?: StatusDetails.AwaitingUpload; + expires_at: string; /** - * Details when the import didn't complete. + * The pre-signed URL for uploading the catalog file. */ - failed?: StatusDetails.Failed; + url: string; + } + } + + export namespace Failed { + export type Code = 'file_not_found' | 'internal_error' | 'invalid_file'; + export type Type = 'cannot_proceed' | 'transient_failure'; + } + + export namespace SucceededWithErrors { + export interface ErrorFile { /** - * Details when the import is processing. + * The MIME type of the error file. */ - processing?: StatusDetails.Processing; + content_type: string; /** - * Details when the import has succeeded. + * The pre-signed URL information for downloading the error file. */ - succeeded?: StatusDetails.Succeeded; + download_url: ErrorFile.DownloadUrl; /** - * Details when the import completed but some records failed to process. + * The size of the error file in bytes. */ - succeeded_with_errors?: StatusDetails.SucceededWithErrors; + size: bigint; } - export namespace StatusDetails { - export interface AwaitingUpload { - /** - * The pre-signed URL information for uploading the catalog file. - */ - upload_url: AwaitingUpload.UploadUrl; - } - - export interface Failed { - /** - * The error code for this product catalog processing failure. - */ - code: Failed.Code; - - /** - * A message explaining why the import failed. - */ - failure_message: string; - - /** - * The error type for this product catalog processing failure. - */ - type: Failed.Type; - } - - export interface Processing { - /** - * The number of records that failed to process so far. - */ - error_count: bigint; - - /** - * The number of records processed so far. - */ - success_count: bigint; - } + export interface Sample { + /** + * A description of what went wrong with this record. + */ + error_message: string; - export interface Succeeded { - /** - * The total number of records processed. - */ - success_count: bigint; - } + /** + * The name of the field that caused the error. + */ + field: string; - export interface SucceededWithErrors { - /** - * The total number of records that failed to process. - */ - error_count: bigint; + /** + * The identifier of the record that failed to process. + */ + id: string; - /** - * A file containing details about all errors that occurred. - */ - error_file: SucceededWithErrors.ErrorFile; + /** + * The row number in the import file where the error occurred. + */ + row: bigint; + } + export namespace ErrorFile { + export interface DownloadUrl { /** - * A sample of errors that occurred during processing. + * The timestamp when the download URL expires. */ - samples: Array; + expires_at: string; /** - * The total number of records processed. + * The pre-signed URL for downloading the error file. */ - success_count: bigint; - } - - export namespace AwaitingUpload { - export interface UploadUrl { - /** - * The timestamp when the upload URL expires. - */ - expires_at: string; - - /** - * The pre-signed URL for uploading the catalog file. - */ - url: string; - } - } - - export namespace Failed { - export type Code = - | 'file_not_found' - | 'internal_error' - | 'invalid_file'; - - export type Type = 'cannot_proceed' | 'transient_failure'; - } - - export namespace SucceededWithErrors { - export interface ErrorFile { - /** - * The MIME type of the error file. - */ - content_type: string; - - /** - * The pre-signed URL information for downloading the error file. - */ - download_url: ErrorFile.DownloadUrl; - - /** - * The size of the error file in bytes. - */ - size: bigint; - } - - export interface Sample { - /** - * A description of what went wrong with this record. - */ - error_message: string; - - /** - * The name of the field that caused the error. - */ - field: string; - - /** - * The identifier of the record that failed to process. - */ - id: string; - - /** - * The row number in the import file where the error occurred. - */ - row: bigint; - } - - export namespace ErrorFile { - export interface DownloadUrl { - /** - * The timestamp when the download URL expires. - */ - expires_at: string; - - /** - * The pre-signed URL for downloading the error file. - */ - url: string; - } - } + url: string; } } } diff --git a/src/resources/V2/Core/AccountLinks.ts b/src/resources/V2/Core/AccountLinks.ts index 710e25e2f6..b4a1e2c199 100644 --- a/src/resources/V2/Core/AccountLinks.ts +++ b/src/resources/V2/Core/AccountLinks.ts @@ -54,118 +54,114 @@ export interface AccountLink { /** * Hash containing usage options. */ - use_case: V2.Core.AccountLink.UseCase; + use_case: AccountLink.UseCase; } -export namespace V2 { - export namespace Core { - export namespace AccountLink { - export interface UseCase { - /** - * Hash containing configuration options for an Account Link object that onboards a new account. - */ - account_onboarding?: UseCase.AccountOnboarding; - - /** - * Hash containing configuration options for an Account Link that updates an existing account. - */ - account_update?: UseCase.AccountUpdate; - - /** - * Open Enum. The type of Account Link the user is requesting. - */ - type: UseCase.Type; - } +export namespace AccountLink { + export interface UseCase { + /** + * Hash containing configuration options for an Account Link object that onboards a new account. + */ + account_onboarding?: UseCase.AccountOnboarding; + + /** + * Hash containing configuration options for an Account Link that updates an existing account. + */ + account_update?: UseCase.AccountUpdate; + + /** + * Open Enum. The type of Account Link the user is requesting. + */ + type: UseCase.Type; + } - export namespace UseCase { - export interface AccountOnboarding { - /** - * Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow. - */ - collection_options?: AccountOnboarding.CollectionOptions; + export namespace UseCase { + export interface AccountOnboarding { + /** + * Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow. + */ + collection_options?: AccountOnboarding.CollectionOptions; - /** - * Open Enum. A v2/core/account can be configured to enable certain functionality. The configuration param targets the v2/core/account_link to collect information for the specified v2/core/account configuration/s. - */ - configurations: Array; + /** + * Open Enum. A v2/core/account can be configured to enable certain functionality. The configuration param targets the v2/core/account_link to collect information for the specified v2/core/account configuration/s. + */ + configurations: Array; - /** - * The URL the user will be redirected to if the AccountLink is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new AccountLink with the same parameters used to create the original AccountLink, then redirect the user to the new AccountLink's URL so they can continue the flow. If a new AccountLink cannot be generated or the redirect fails you should display a useful error to the user. Please make sure to implement authentication before redirecting the user in case this URL is leaked to a third party. - */ - refresh_url: string; + /** + * The URL the user will be redirected to if the AccountLink is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new AccountLink with the same parameters used to create the original AccountLink, then redirect the user to the new AccountLink's URL so they can continue the flow. If a new AccountLink cannot be generated or the redirect fails you should display a useful error to the user. Please make sure to implement authentication before redirecting the user in case this URL is leaked to a third party. + */ + refresh_url: string; - /** - * The URL that the user will be redirected to upon completing the linked flow. - */ - return_url?: string; - } + /** + * The URL that the user will be redirected to upon completing the linked flow. + */ + return_url?: string; + } - export interface AccountUpdate { - /** - * Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow. - */ - collection_options?: AccountUpdate.CollectionOptions; + export interface AccountUpdate { + /** + * Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow. + */ + collection_options?: AccountUpdate.CollectionOptions; - /** - * Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s. - */ - configurations: Array; + /** + * Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s. + */ + configurations: Array; - /** - * The URL the user will be redirected to if the Account Link is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new Account Link with the same parameters used to create the original Account Link, then redirect the user to the new Account Link URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can't be generated, or if the redirect fails, you should display a useful error to the user. - */ - refresh_url: string; + /** + * The URL the user will be redirected to if the Account Link is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new Account Link with the same parameters used to create the original Account Link, then redirect the user to the new Account Link URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can't be generated, or if the redirect fails, you should display a useful error to the user. + */ + refresh_url: string; - /** - * The URL that the user will be redirected to upon completing the linked flow. - */ - return_url?: string; - } + /** + * The URL that the user will be redirected to upon completing the linked flow. + */ + return_url?: string; + } - export type Type = 'account_onboarding' | 'account_update'; + export type Type = 'account_onboarding' | 'account_update'; - export namespace AccountOnboarding { - export interface CollectionOptions { - /** - * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify collection_options, the default value is currently_due. - */ - fields?: CollectionOptions.Fields; + export namespace AccountOnboarding { + export interface CollectionOptions { + /** + * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify collection_options, the default value is currently_due. + */ + fields?: CollectionOptions.Fields; - /** - * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. - */ - future_requirements?: CollectionOptions.FutureRequirements; - } + /** + * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. + */ + future_requirements?: CollectionOptions.FutureRequirements; + } - export type Configuration = 'customer' | 'merchant' | 'recipient'; + export type Configuration = 'customer' | 'merchant' | 'recipient'; - export namespace CollectionOptions { - export type Fields = 'currently_due' | 'eventually_due'; + export namespace CollectionOptions { + export type Fields = 'currently_due' | 'eventually_due'; - export type FutureRequirements = 'include' | 'omit'; - } - } + export type FutureRequirements = 'include' | 'omit'; + } + } - export namespace AccountUpdate { - export interface CollectionOptions { - /** - * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). The default value is `currently_due`. - */ - fields?: CollectionOptions.Fields; + export namespace AccountUpdate { + export interface CollectionOptions { + /** + * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). The default value is `currently_due`. + */ + fields?: CollectionOptions.Fields; - /** - * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. - */ - future_requirements?: CollectionOptions.FutureRequirements; - } + /** + * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. + */ + future_requirements?: CollectionOptions.FutureRequirements; + } - export type Configuration = 'customer' | 'merchant' | 'recipient'; + export type Configuration = 'customer' | 'merchant' | 'recipient'; - export namespace CollectionOptions { - export type Fields = 'currently_due' | 'eventually_due'; + export namespace CollectionOptions { + export type Fields = 'currently_due' | 'eventually_due'; - export type FutureRequirements = 'include' | 'omit'; - } - } + export type FutureRequirements = 'include' | 'omit'; } } } diff --git a/src/resources/V2/Core/AccountPersons.ts b/src/resources/V2/Core/AccountPersons.ts index 03b30e5198..a4c81ad650 100644 --- a/src/resources/V2/Core/AccountPersons.ts +++ b/src/resources/V2/Core/AccountPersons.ts @@ -21,22 +21,22 @@ export interface AccountPerson { /** * Additional addresses associated with the person. */ - additional_addresses?: Array; + additional_addresses?: Array; /** * Additional names (e.g. aliases) associated with the person. */ - additional_names?: Array; + additional_names?: Array; /** * Attestations of accepted terms of service agreements. */ - additional_terms_of_service?: V2.Core.AccountPerson.AdditionalTermsOfService; + additional_terms_of_service?: AccountPerson.AdditionalTermsOfService; /** * The person's residential address. */ - address?: V2.Core.AccountPerson.Address; + address?: AccountPerson.Address; /** * Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -46,12 +46,12 @@ export interface AccountPerson { /** * The person's date of birth. */ - date_of_birth?: V2.Core.AccountPerson.DateOfBirth; + date_of_birth?: AccountPerson.DateOfBirth; /** * Documents that may be submitted to satisfy various informational requests. */ - documents?: V2.Core.AccountPerson.Documents; + documents?: AccountPerson.Documents; /** * The person's email address. @@ -66,12 +66,12 @@ export interface AccountPerson { /** * The identification numbers (e.g., SSN) associated with the person. */ - id_numbers?: Array; + id_numbers?: Array; /** * The person's gender (International regulations require either "male" or "female"). */ - legal_gender?: V2.Core.AccountPerson.LegalGender; + legal_gender?: AccountPerson.LegalGender; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -96,22 +96,22 @@ export interface AccountPerson { /** * The person's political exposure. */ - political_exposure?: V2.Core.AccountPerson.PoliticalExposure; + political_exposure?: AccountPerson.PoliticalExposure; /** * The relationship that this person has with the Account's business or legal entity. */ - relationship?: V2.Core.AccountPerson.Relationship; + relationship?: AccountPerson.Relationship; /** * The script addresses (e.g., non-Latin characters) associated with the person. */ - script_addresses?: V2.Core.AccountPerson.ScriptAddresses; + script_addresses?: AccountPerson.ScriptAddresses; /** * The script names (e.g. non-Latin characters) associated with the person. */ - script_names?: V2.Core.AccountPerson.ScriptNames; + script_names?: AccountPerson.ScriptNames; /** * The person's last name. @@ -123,533 +123,529 @@ export interface AccountPerson { */ updated: string; } -export namespace V2 { - export namespace Core { - export namespace AccountPerson { - export interface AdditionalAddress { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * Purpose of additional address. - */ - purpose: 'registered'; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface AdditionalName { - /** - * The individual's full name. - */ - full_name?: string; - - /** - * The individual's first or given name. - */ - given_name?: string; - - /** - * The purpose or type of the additional name. - */ - purpose: AdditionalName.Purpose; - - /** - * The individual's last or family name. - */ - surname?: string; - } - - export interface AdditionalTermsOfService { - /** - * Stripe terms of service agreement. - */ - account?: AdditionalTermsOfService.Account; - } - - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; +export namespace AccountPerson { + export interface AdditionalAddress { + /** + * City, district, suburb, town, or village. + */ + city?: string; + + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; + + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; + + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; + + /** + * ZIP or postal code. + */ + postal_code?: string; + + /** + * Purpose of additional address. + */ + purpose: 'registered'; + + /** + * State, county, province, or region. + */ + state?: string; + + /** + * Town or district. + */ + town?: string; + } - /** - * ZIP or postal code. - */ - postal_code?: string; + export interface AdditionalName { + /** + * The individual's full name. + */ + full_name?: string; + + /** + * The individual's first or given name. + */ + given_name?: string; + + /** + * The purpose or type of the additional name. + */ + purpose: AdditionalName.Purpose; + + /** + * The individual's last or family name. + */ + surname?: string; + } - /** - * State, county, province, or region. - */ - state?: string; + export interface AdditionalTermsOfService { + /** + * Stripe terms of service agreement. + */ + account?: AdditionalTermsOfService.Account; + } - /** - * Town or district. - */ - town?: string; - } + export interface Address { + /** + * City, district, suburb, town, or village. + */ + city?: string; + + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; + + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; + + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; + + /** + * ZIP or postal code. + */ + postal_code?: string; + + /** + * State, county, province, or region. + */ + state?: string; + + /** + * Town or district. + */ + town?: string; + } - export interface DateOfBirth { - /** - * The day of birth, between 1 and 31. - */ - day: number; + export interface DateOfBirth { + /** + * The day of birth, between 1 and 31. + */ + day: number; + + /** + * The month of birth, between 1 and 12. + */ + month: number; + + /** + * The four-digit year of birth. + */ + year: number; + } - /** - * The month of birth, between 1 and 12. - */ - month: number; + export interface Documents { + /** + * One or more documents that demonstrate proof that this person is authorized to represent the company. + */ + company_authorization?: Documents.CompanyAuthorization; + + /** + * One or more documents showing the person's passport page with photo and personal data. + */ + passport?: Documents.Passport; + + /** + * An identifying document showing the person's name, either a passport or local ID card. + */ + primary_verification?: Documents.PrimaryVerification; + + /** + * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. + */ + secondary_verification?: Documents.SecondaryVerification; + + /** + * One or more documents showing the person's visa required for living in the country where they are residing. + */ + visa?: Documents.Visa; + } - /** - * The four-digit year of birth. - */ - year: number; - } + export interface IdNumber { + /** + * The ID number type of an individual. + */ + type: IdNumber.Type; + } - export interface Documents { - /** - * One or more documents that demonstrate proof that this person is authorized to represent the company. - */ - company_authorization?: Documents.CompanyAuthorization; + export type LegalGender = 'female' | 'male'; + + export type PoliticalExposure = 'existing' | 'none'; + + export interface Relationship { + /** + * Whether the individual is an authorizer of the Account's identity. + */ + authorizer?: boolean; + + /** + * Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations. + */ + director?: boolean; + + /** + * Whether the individual has significant responsibility to control, manage, or direct the organization. + */ + executive?: boolean; + + /** + * Whether the individual is the legal guardian of the Account's representative. + */ + legal_guardian?: boolean; + + /** + * Whether the individual is an owner of the Account's identity. + */ + owner?: boolean; + + /** + * The percentage of the Account's identity that the individual owns. + */ + percent_ownership?: Decimal; + + /** + * Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. + */ + representative?: boolean; + + /** + * The individual's title (e.g., CEO, Support Engineer). + */ + title?: string; + } - /** - * One or more documents showing the person's passport page with photo and personal data. - */ - passport?: Documents.Passport; + export interface ScriptAddresses { + /** + * Kana Address. + */ + kana?: ScriptAddresses.Kana; - /** - * An identifying document showing the person's name, either a passport or local ID card. - */ - primary_verification?: Documents.PrimaryVerification; + /** + * Kanji Address. + */ + kanji?: ScriptAddresses.Kanji; + } - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - secondary_verification?: Documents.SecondaryVerification; + export interface ScriptNames { + /** + * Persons name in kana script. + */ + kana?: ScriptNames.Kana; - /** - * One or more documents showing the person's visa required for living in the country where they are residing. - */ - visa?: Documents.Visa; - } + /** + * Persons name in kanji script. + */ + kanji?: ScriptNames.Kanji; + } - export interface IdNumber { - /** - * The ID number type of an individual. - */ - type: IdNumber.Type; - } + export namespace AdditionalName { + export type Purpose = 'alias' | 'maiden'; + } - export type LegalGender = 'female' | 'male'; + export namespace AdditionalTermsOfService { + export interface Account { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; + + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; + + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } - export type PoliticalExposure = 'existing' | 'none'; + export namespace Documents { + export interface CompanyAuthorization { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; + + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - export interface Relationship { - /** - * Whether the individual is an authorizer of the Account's identity. - */ - authorizer?: boolean; + export interface Passport { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; - /** - * Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations. - */ - director?: boolean; + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - /** - * Whether the individual has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; + export interface PrimaryVerification { + /** + * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. + */ + front_back: PrimaryVerification.FrontBack; - /** - * Whether the individual is the legal guardian of the Account's representative. - */ - legal_guardian?: boolean; + /** + * The format of the verification document. Currently supports `front_back` only. + */ + type: 'front_back'; + } - /** - * Whether the individual is an owner of the Account's identity. - */ - owner?: boolean; + export interface SecondaryVerification { + /** + * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. + */ + front_back: SecondaryVerification.FrontBack; - /** - * The percentage of the Account's identity that the individual owns. - */ - percent_ownership?: Decimal; + /** + * The format of the verification document. Currently supports `front_back` only. + */ + type: 'front_back'; + } - /** - * Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; + export interface Visa { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; - /** - * The individual's title (e.g., CEO, Support Engineer). - */ - title?: string; - } + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - export interface ScriptAddresses { + export namespace PrimaryVerification { + export interface FrontBack { /** - * Kana Address. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - kana?: ScriptAddresses.Kana; + back?: string; /** - * Kanji Address. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - kanji?: ScriptAddresses.Kanji; + front: string; } + } - export interface ScriptNames { + export namespace SecondaryVerification { + export interface FrontBack { /** - * Persons name in kana script. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - kana?: ScriptNames.Kana; + back?: string; /** - * Persons name in kanji script. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - kanji?: ScriptNames.Kanji; + front: string; } + } + } - export namespace AdditionalName { - export type Purpose = 'alias' | 'maiden'; - } + export namespace IdNumber { + export type Type = + | 'ae_eid' + | 'ao_nif' + | 'ar_cuil' + | 'ar_dni' + | 'at_stn' + | 'az_tin' + | 'bd_brc' + | 'bd_etin' + | 'bd_nid' + | 'be_nrn' + | 'bg_ucn' + | 'bn_nric' + | 'br_cpf' + | 'ca_sin' + | 'ch_oasi' + | 'cl_rut' + | 'cn_pp' + | 'co_nuip' + | 'cr_ci' + | 'cr_cpf' + | 'cr_dimex' + | 'cr_nite' + | 'cy_tic' + | 'cz_rc' + | 'de_stn' + | 'dk_cpr' + | 'do_cie' + | 'do_rcn' + | 'ec_ci' + | 'ee_ik' + | 'es_nif' + | 'fi_hetu' + | 'fr_nir' + | 'gb_nino' + | 'gr_afm' + | 'gt_nit' + | 'hk_id' + | 'hr_oib' + | 'hu_ad' + | 'id_nik' + | 'ie_ppsn' + | 'is_kt' + | 'it_cf' + | 'jp_inc' + | 'ke_pin' + | 'kz_iin' + | 'li_peid' + | 'lt_ak' + | 'lu_nif' + | 'lv_pk' + | 'mx_rfc' + | 'my_nric' + | 'mz_nuit' + | 'ng_nin' + | 'nl_bsn' + | 'no_nin' + | 'nz_ird' + | 'pe_dni' + | 'pk_cnic' + | 'pk_snic' + | 'pl_pesel' + | 'pt_nif' + | 'ro_cnp' + | 'sa_tin' + | 'se_pin' + | 'sg_fin' + | 'sg_nric' + | 'sk_dic' + | 'th_lc' + | 'th_pin' + | 'tr_tin' + | 'us_itin' + | 'us_itin_last_4' + | 'us_ssn' + | 'us_ssn_last_4' + | 'uy_dni' + | 'za_id'; + } - export namespace AdditionalTermsOfService { - export interface Account { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } + export namespace ScriptAddresses { + export interface Kana { + /** + * City, district, suburb, town, or village. + */ + city?: string; + + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; + + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; + + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; + + /** + * ZIP or postal code. + */ + postal_code?: string; + + /** + * State, county, province, or region. + */ + state?: string; + + /** + * Town or district. + */ + town?: string; + } - export namespace Documents { - export interface CompanyAuthorization { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface Passport { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface PrimaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: PrimaryVerification.FrontBack; - - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } - - export interface SecondaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: SecondaryVerification.FrontBack; - - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } - - export interface Visa { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export namespace PrimaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - - export namespace SecondaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - } + export interface Kanji { + /** + * City, district, suburb, town, or village. + */ + city?: string; + + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; + + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; + + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; + + /** + * ZIP or postal code. + */ + postal_code?: string; + + /** + * State, county, province, or region. + */ + state?: string; + + /** + * Town or district. + */ + town?: string; + } + } - export namespace IdNumber { - export type Type = - | 'ae_eid' - | 'ao_nif' - | 'ar_cuil' - | 'ar_dni' - | 'at_stn' - | 'az_tin' - | 'bd_brc' - | 'bd_etin' - | 'bd_nid' - | 'be_nrn' - | 'bg_ucn' - | 'bn_nric' - | 'br_cpf' - | 'ca_sin' - | 'ch_oasi' - | 'cl_rut' - | 'cn_pp' - | 'co_nuip' - | 'cr_ci' - | 'cr_cpf' - | 'cr_dimex' - | 'cr_nite' - | 'cy_tic' - | 'cz_rc' - | 'de_stn' - | 'dk_cpr' - | 'do_cie' - | 'do_rcn' - | 'ec_ci' - | 'ee_ik' - | 'es_nif' - | 'fi_hetu' - | 'fr_nir' - | 'gb_nino' - | 'gr_afm' - | 'gt_nit' - | 'hk_id' - | 'hr_oib' - | 'hu_ad' - | 'id_nik' - | 'ie_ppsn' - | 'is_kt' - | 'it_cf' - | 'jp_inc' - | 'ke_pin' - | 'kz_iin' - | 'li_peid' - | 'lt_ak' - | 'lu_nif' - | 'lv_pk' - | 'mx_rfc' - | 'my_nric' - | 'mz_nuit' - | 'ng_nin' - | 'nl_bsn' - | 'no_nin' - | 'nz_ird' - | 'pe_dni' - | 'pk_cnic' - | 'pk_snic' - | 'pl_pesel' - | 'pt_nif' - | 'ro_cnp' - | 'sa_tin' - | 'se_pin' - | 'sg_fin' - | 'sg_nric' - | 'sk_dic' - | 'th_lc' - | 'th_pin' - | 'tr_tin' - | 'us_itin' - | 'us_itin_last_4' - | 'us_ssn' - | 'us_ssn_last_4' - | 'uy_dni' - | 'za_id'; - } + export namespace ScriptNames { + export interface Kana { + /** + * The person's first or given name. + */ + given_name?: string; + + /** + * The person's last or family name. + */ + surname?: string; + } - export namespace ScriptAddresses { - export interface Kana { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface Kanji { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - } + export interface Kanji { + /** + * The person's first or given name. + */ + given_name?: string; - export namespace ScriptNames { - export interface Kana { - /** - * The person's first or given name. - */ - given_name?: string; - - /** - * The person's last or family name. - */ - surname?: string; - } - - export interface Kanji { - /** - * The person's first or given name. - */ - given_name?: string; - - /** - * The person's last or family name. - */ - surname?: string; - } - } + /** + * The person's last or family name. + */ + surname?: string; } } } diff --git a/src/resources/V2/Core/Accounts.ts b/src/resources/V2/Core/Accounts.ts index 8911e7fe2a..e9099ce27e 100644 --- a/src/resources/V2/Core/Accounts.ts +++ b/src/resources/V2/Core/Accounts.ts @@ -256,7 +256,7 @@ export interface Account { /** * The configurations that have been applied to this account. */ - applied_configurations: Array; + applied_configurations: Array; /** * Indicates whether the account has been closed. @@ -266,7 +266,7 @@ export interface Account { /** * An Account represents a company, individual, or other entity that a user interacts with. Accounts store identity information and one or more configurations that enable product-specific capabilities. You can assign configurations at creation or add them later. */ - configuration?: V2.Core.Account.Configuration; + configuration?: Account.Configuration; /** * The primary contact email address for the Account. @@ -286,12 +286,12 @@ export interface Account { /** * A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account. */ - dashboard?: V2.Core.Account.Dashboard; + dashboard?: Account.Dashboard; /** * Default values for settings shared across Account configurations. */ - defaults?: V2.Core.Account.Defaults; + defaults?: Account.Defaults; /** * A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account. @@ -301,12 +301,12 @@ export interface Account { /** * Information about the future requirements for the Account that will eventually come into effect, including what information needs to be collected, and by when. */ - future_requirements?: V2.Core.Account.FutureRequirements; + future_requirements?: Account.FutureRequirements; /** * Information about the company, individual, and business represented by the Account. */ - identity?: V2.Core.Account.Identity; + identity?: Account.Identity; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -321,5367 +321,5321 @@ export interface Account { /** * Information about the active requirements for the Account, including what information needs to be collected, and by when. */ - requirements?: V2.Core.Account.Requirements; + requirements?: Account.Requirements; } -export namespace V2 { - export namespace Core { - export namespace Account { - export type AppliedConfiguration = 'customer' | 'merchant' | 'recipient'; +export namespace Account { + export type AppliedConfiguration = 'customer' | 'merchant' | 'recipient'; + + export interface Configuration { + /** + * The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows). + */ + customer?: Configuration.Customer; + + /** + * Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set. + */ + merchant?: Configuration.Merchant; + + /** + * The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set. + */ + recipient?: Configuration.Recipient; + } - export interface Configuration { - /** - * The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows). - */ - customer?: Configuration.Customer; + export type Dashboard = 'express' | 'full' | 'none'; - /** - * Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set. - */ - merchant?: Configuration.Merchant; + export interface Defaults { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency?: string; - /** - * The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set. - */ - recipient?: Configuration.Recipient; - } + /** + * The Account's preferred locales (languages), ordered by preference. + */ + locales?: Array; - export type Dashboard = 'express' | 'full' | 'none'; + /** + * Account profile information. + */ + profile?: Defaults.Profile; - export interface Defaults { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency?: string; + /** + * Default responsibilities held by either Stripe or the platform. + */ + responsibilities: Defaults.Responsibilities; + } - /** - * The Account's preferred locales (languages), ordered by preference. - */ - locales?: Array; + export interface FutureRequirements { + /** + * A list of requirements for the Account. + */ + entries?: Array; + + /** + * The time at which the future requirements become effective. + */ + minimum_transition_date?: string; + + /** + * An object containing an overview of requirements for the Account. + */ + summary?: FutureRequirements.Summary; + } - /** - * Account profile information. - */ - profile?: Defaults.Profile; + export interface Identity { + /** + * Attestations from the identity's key people, e.g. owners, executives, directors, representatives. + */ + attestations?: Identity.Attestations; + + /** + * Information about the company or business. + */ + business_details?: Identity.BusinessDetails; + + /** + * The country in which the account holder resides, or in which the business is legally established. This should be an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. + */ + country?: string; + + /** + * The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated. + */ + entity_type?: Identity.EntityType; + + /** + * Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`. + */ + individual?: Identity.Individual; + } - /** - * Default responsibilities held by either Stripe or the platform. - */ - responsibilities: Defaults.Responsibilities; - } + export interface Requirements { + /** + * A list of requirements for the Account. + */ + entries?: Array; + + /** + * An object containing an overview of requirements for the Account. + */ + summary?: Requirements.Summary; + } + + export namespace Configuration { + export interface Customer { + /** + * Indicates whether the customer configuration is active. You can deactivate or reactivate the customer configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. + */ + applied: boolean; + + /** + * Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax calculation is available for the customer account's location. + */ + automatic_indirect_tax?: Customer.AutomaticIndirectTax; + + /** + * Default Billing settings for the customer account, used in Invoices and Subscriptions. + */ + billing?: Customer.Billing; + + /** + * Capabilities that have been requested on the Customer Configuration. + */ + capabilities?: Customer.Capabilities; + + /** + * The customer's shipping information. Appears on invoices emailed to this customer. + */ + shipping?: Customer.Shipping; + + /** + * ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account. + */ + test_clock?: string; + } + + export interface Merchant { + /** + * Indicates whether the merchant configuration is active. You can deactivate or reactivate the merchant configuration by updating this property. Deactivating the configuration by setting this value to false doesn't delete the configuration's properties. + */ + applied: boolean; + + /** + * Settings for Bacs Direct Debit payments. + */ + bacs_debit_payments?: Merchant.BacsDebitPayments; + + /** + * Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products. + */ + branding?: Merchant.Branding; + + /** + * Capabilities that have been requested on the Merchant Configuration. + */ + capabilities?: Merchant.Capabilities; + + /** + * Card payments settings. + */ + card_payments?: Merchant.CardPayments; + + /** + * Settings specific to Konbini payments on the account. + */ + konbini_payments?: Merchant.KonbiniPayments; + + /** + * The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide. + */ + mcc?: string; + + /** + * Settings for the default text that appears on statements for language variations. + */ + script_statement_descriptor?: Merchant.ScriptStatementDescriptor; + + /** + * Settings for SEPA Direct Debit payments. + */ + sepa_debit_payments?: Merchant.SepaDebitPayments; + + /** + * Statement descriptor. + */ + statement_descriptor?: Merchant.StatementDescriptor; + + /** + * Publicly available contact information for sending support issues to. + */ + support?: Merchant.Support; + } + + export interface Recipient { + /** + * Indicates whether the recipient configuration is active. You can deactivate or reactivate the recipient configuration by updating this property. Deactivating the configuration by setting this value to false unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. + */ + applied: boolean; + + /** + * Capabilities that have been requested on the Recipient Configuration. + */ + capabilities?: Recipient.Capabilities; + } - export interface FutureRequirements { + export namespace Customer { + export interface AutomaticIndirectTax { /** - * A list of requirements for the Account. + * The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge". */ - entries?: Array; + exempt?: AutomaticIndirectTax.Exempt; /** - * The time at which the future requirements become effective. + * A recent IP address of the customer used for tax reporting and tax location inference. */ - minimum_transition_date?: string; + ip_address?: string; /** - * An object containing an overview of requirements for the Account. + * The customer account's identified tax location, derived from `location_source`. Only rendered if the `automatic_indirect_tax` feature is requested and `active`. */ - summary?: FutureRequirements.Summary; - } + location?: AutomaticIndirectTax.Location; - export interface Identity { /** - * Attestations from the identity's key people, e.g. owners, executives, directors, representatives. + * Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation. */ - attestations?: Identity.Attestations; + location_source?: AutomaticIndirectTax.LocationSource; + } + export interface Billing { /** - * Information about the company or business. + * The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions. */ - business_details?: Identity.BusinessDetails; + default_payment_method?: string; /** - * The country in which the account holder resides, or in which the business is legally established. This should be an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. + * Default invoice settings for the customer account. */ - country?: string; + invoice?: Billing.Invoice; + } + export interface Capabilities { /** - * The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated. + * Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. */ - entity_type?: Identity.EntityType; + automatic_indirect_tax?: Capabilities.AutomaticIndirectTax; + } + export interface Shipping { /** - * Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`. + * Customer shipping address. */ - individual?: Identity.Individual; - } + address?: Shipping.Address; - export interface Requirements { /** - * A list of requirements for the Account. + * Customer name. */ - entries?: Array; + name?: string; /** - * An object containing an overview of requirements for the Account. + * Customer phone (including extension). */ - summary?: Requirements.Summary; + phone?: string; } - export namespace Configuration { - export interface Customer { - /** - * Indicates whether the customer configuration is active. You can deactivate or reactivate the customer configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. - */ - applied: boolean; + export namespace AutomaticIndirectTax { + export type Exempt = 'exempt' | 'none' | 'reverse'; + export interface Location { /** - * Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax calculation is available for the customer account's location. + * The identified tax country of the customer. */ - automatic_indirect_tax?: Customer.AutomaticIndirectTax; + country?: string; /** - * Default Billing settings for the customer account, used in Invoices and Subscriptions. + * The identified tax state, county, province, or region of the customer. */ - billing?: Customer.Billing; + state?: string; + } - /** - * Capabilities that have been requested on the Customer Configuration. - */ - capabilities?: Customer.Capabilities; + export type LocationSource = + | 'identity_address' + | 'ip_address' + | 'payment_method' + | 'shipping_address'; + } + export namespace Billing { + export interface Invoice { /** - * The customer's shipping information. Appears on invoices emailed to this customer. + * The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. */ - shipping?: Customer.Shipping; + custom_fields: Array; /** - * ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account. + * Default invoice footer. */ - test_clock?: string; - } + footer?: string; - export interface Merchant { /** - * Indicates whether the merchant configuration is active. You can deactivate or reactivate the merchant configuration by updating this property. Deactivating the configuration by setting this value to false doesn't delete the configuration's properties. + * Sequence number to use on the customer account's next invoice. Defaults to 1. */ - applied: boolean; + next_sequence?: number; /** - * Settings for Bacs Direct Debit payments. + * Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers. */ - bacs_debit_payments?: Merchant.BacsDebitPayments; + prefix?: string; /** - * Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products. + * Default invoice PDF rendering options. */ - branding?: Merchant.Branding; + rendering?: Invoice.Rendering; + } - /** - * Capabilities that have been requested on the Merchant Configuration. - */ - capabilities?: Merchant.Capabilities; + export namespace Invoice { + export interface CustomField { + /** + * The name of the custom field. This may be up to 40 characters. + */ + name: string; - /** - * Card payments settings. - */ - card_payments?: Merchant.CardPayments; + /** + * The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values. + */ + value: string; + } + + export interface Rendering { + /** + * Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`. + */ + amount_tax_display?: Rendering.AmountTaxDisplay; + + /** + * ID of the invoice rendering template to use for future invoices. + */ + template?: string; + } + export namespace Rendering { + export type AmountTaxDisplay = + | 'exclude_tax' + | 'include_inclusive_tax'; + } + } + } + + export namespace Capabilities { + export interface AutomaticIndirectTax { /** - * Settings specific to Konbini payments on the account. + * The status of the Capability. */ - konbini_payments?: Merchant.KonbiniPayments; + status: AutomaticIndirectTax.Status; /** - * The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - mcc?: string; + status_details: Array; + } + + export namespace AutomaticIndirectTax { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } + export namespace Shipping { + export interface Address { /** - * Settings for the default text that appears on statements for language variations. + * City, district, suburb, town, or village. */ - script_statement_descriptor?: Merchant.ScriptStatementDescriptor; + city?: string; /** - * Settings for SEPA Direct Debit payments. + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). */ - sepa_debit_payments?: Merchant.SepaDebitPayments; + country?: string; /** - * Statement descriptor. + * Address line 1 (e.g., street, PO Box, or company name). */ - statement_descriptor?: Merchant.StatementDescriptor; + line1?: string; /** - * Publicly available contact information for sending support issues to. + * Address line 2 (e.g., apartment, suite, unit, or building). */ - support?: Merchant.Support; - } + line2?: string; - export interface Recipient { /** - * Indicates whether the recipient configuration is active. You can deactivate or reactivate the recipient configuration by updating this property. Deactivating the configuration by setting this value to false unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. + * ZIP or postal code. */ - applied: boolean; + postal_code?: string; /** - * Capabilities that have been requested on the Recipient Configuration. + * State, county, province, or region. */ - capabilities?: Recipient.Capabilities; + state?: string; } + } + } - export namespace Customer { - export interface AutomaticIndirectTax { - /** - * The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge". - */ - exempt?: AutomaticIndirectTax.Exempt; + export namespace Merchant { + export interface BacsDebitPayments { + /** + * Display name for Bacs Direct Debit payments. + */ + display_name?: string; - /** - * A recent IP address of the customer used for tax reporting and tax location inference. - */ - ip_address?: string; + /** + * Service User Number (SUN) for Bacs Direct Debit payments. + */ + service_user_number?: string; + } - /** - * The customer account's identified tax location, derived from `location_source`. Only rendered if the `automatic_indirect_tax` feature is requested and `active`. - */ - location?: AutomaticIndirectTax.Location; + export interface Branding { + /** + * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. + */ + icon?: string; - /** - * Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation. - */ - location_source?: AutomaticIndirectTax.LocationSource; - } + /** + * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. + */ + logo?: string; - export interface Billing { - /** - * The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions. - */ - default_payment_method?: string; + /** + * A CSS hex color value representing the primary branding color for the merchant. + */ + primary_color?: string; - /** - * Default invoice settings for the customer account. - */ - invoice?: Billing.Invoice; - } + /** + * A CSS hex color value representing the secondary branding color for the merchant. + */ + secondary_color?: string; + } - export interface Capabilities { - /** - * Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. - */ - automatic_indirect_tax?: Capabilities.AutomaticIndirectTax; - } + export interface Capabilities { + /** + * Allow the merchant to process ACH debit payments. + */ + ach_debit_payments?: Capabilities.AchDebitPayments; - export interface Shipping { - /** - * Customer shipping address. - */ - address?: Shipping.Address; + /** + * Allow the merchant to process ACSS debit payments. + */ + acss_debit_payments?: Capabilities.AcssDebitPayments; - /** - * Customer name. - */ - name?: string; + /** + * Allow the merchant to process Affirm payments. + */ + affirm_payments?: Capabilities.AffirmPayments; - /** - * Customer phone (including extension). - */ - phone?: string; - } - - export namespace AutomaticIndirectTax { - export type Exempt = 'exempt' | 'none' | 'reverse'; + /** + * Allow the merchant to process Afterpay/Clearpay payments. + */ + afterpay_clearpay_payments?: Capabilities.AfterpayClearpayPayments; - export interface Location { - /** - * The identified tax country of the customer. - */ - country?: string; + /** + * Allow the merchant to process Alma payments. + */ + alma_payments?: Capabilities.AlmaPayments; - /** - * The identified tax state, county, province, or region of the customer. - */ - state?: string; - } + /** + * Allow the merchant to process Amazon Pay payments. + */ + amazon_pay_payments?: Capabilities.AmazonPayPayments; - export type LocationSource = - | 'identity_address' - | 'ip_address' - | 'payment_method' - | 'shipping_address'; - } + /** + * Allow the merchant to process Australian BECS Direct Debit payments. + */ + au_becs_debit_payments?: Capabilities.AuBecsDebitPayments; - export namespace Billing { - export interface Invoice { - /** - * The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. - */ - custom_fields: Array; + /** + * Allow the merchant to process BACS Direct Debit payments. + */ + bacs_debit_payments?: Capabilities.BacsDebitPayments; - /** - * Default invoice footer. - */ - footer?: string; + /** + * Allow the merchant to process Bancontact payments. + */ + bancontact_payments?: Capabilities.BancontactPayments; - /** - * Sequence number to use on the customer account's next invoice. Defaults to 1. - */ - next_sequence?: number; + /** + * Allow the merchant to process BLIK payments. + */ + blik_payments?: Capabilities.BlikPayments; - /** - * Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers. - */ - prefix?: string; + /** + * Allow the merchant to process Boleto payments. + */ + boleto_payments?: Capabilities.BoletoPayments; - /** - * Default invoice PDF rendering options. - */ - rendering?: Invoice.Rendering; - } + /** + * Allow the merchant to collect card payments. + */ + card_payments?: Capabilities.CardPayments; - export namespace Invoice { - export interface CustomField { - /** - * The name of the custom field. This may be up to 40 characters. - */ - name: string; + /** + * Allow the merchant to process Cartes Bancaires payments. + */ + cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; - /** - * The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values. - */ - value: string; - } + /** + * Allow the merchant to process Cash App payments. + */ + cashapp_payments?: Capabilities.CashappPayments; - export interface Rendering { - /** - * Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`. - */ - amount_tax_display?: Rendering.AmountTaxDisplay; + /** + * Allow the merchant to process EPS payments. + */ + eps_payments?: Capabilities.EpsPayments; - /** - * ID of the invoice rendering template to use for future invoices. - */ - template?: string; - } + /** + * Allow the merchant to process FPX payments. + */ + fpx_payments?: Capabilities.FpxPayments; - export namespace Rendering { - export type AmountTaxDisplay = - | 'exclude_tax' - | 'include_inclusive_tax'; - } - } - } + /** + * Allow the merchant to process UK bank transfer payments. + */ + gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments; - export namespace Capabilities { - export interface AutomaticIndirectTax { - /** - * The status of the Capability. - */ - status: AutomaticIndirectTax.Status; + /** + * Allow the merchant to process GrabPay payments. + */ + grabpay_payments?: Capabilities.GrabpayPayments; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Allow the merchant to process iDEAL payments. + */ + ideal_payments?: Capabilities.IdealPayments; - export namespace AutomaticIndirectTax { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * Allow the merchant to process JCB card payments. + */ + jcb_payments?: Capabilities.JcbPayments; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Allow the merchant to process Japanese bank transfer payments. + */ + jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Allow the merchant to process Kakao Pay payments. + */ + kakao_pay_payments?: Capabilities.KakaoPayPayments; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } + /** + * Allow the merchant to process Klarna payments. + */ + klarna_payments?: Capabilities.KlarnaPayments; - export namespace Shipping { - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; + /** + * Allow the merchant to process Konbini convenience store payments. + */ + konbini_payments?: Capabilities.KonbiniPayments; - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; + /** + * Allow the merchant to process Korean card payments. + */ + kr_card_payments?: Capabilities.KrCardPayments; - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; + /** + * Allow the merchant to process Link payments. + */ + link_payments?: Capabilities.LinkPayments; - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; + /** + * Allow the merchant to process MobilePay payments. + */ + mobilepay_payments?: Capabilities.MobilepayPayments; - /** - * ZIP or postal code. - */ - postal_code?: string; + /** + * Allow the merchant to process Multibanco payments. + */ + multibanco_payments?: Capabilities.MultibancoPayments; - /** - * State, county, province, or region. - */ - state?: string; - } - } - } + /** + * Allow the merchant to process Mexican bank transfer payments. + */ + mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments; - export namespace Merchant { - export interface BacsDebitPayments { - /** - * Display name for Bacs Direct Debit payments. - */ - display_name?: string; + /** + * Allow the merchant to process Naver Pay payments. + */ + naver_pay_payments?: Capabilities.NaverPayPayments; - /** - * Service User Number (SUN) for Bacs Direct Debit payments. - */ - service_user_number?: string; - } + /** + * Allow the merchant to process OXXO payments. + */ + oxxo_payments?: Capabilities.OxxoPayments; - export interface Branding { - /** - * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. - */ - icon?: string; + /** + * Allow the merchant to process Przelewy24 (P24) payments. + */ + p24_payments?: Capabilities.P24Payments; - /** - * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. - */ - logo?: string; + /** + * Allow the merchant to process Pay by Bank payments. + */ + pay_by_bank_payments?: Capabilities.PayByBankPayments; - /** - * A CSS hex color value representing the primary branding color for the merchant. - */ - primary_color?: string; + /** + * Allow the merchant to process PAYCO payments. + */ + payco_payments?: Capabilities.PaycoPayments; - /** - * A CSS hex color value representing the secondary branding color for the merchant. - */ - secondary_color?: string; - } + /** + * Allow the merchant to process PayNow payments. + */ + paynow_payments?: Capabilities.PaynowPayments; - export interface Capabilities { - /** - * Allow the merchant to process ACH debit payments. - */ - ach_debit_payments?: Capabilities.AchDebitPayments; + /** + * Allow the merchant to process PromptPay payments. + */ + promptpay_payments?: Capabilities.PromptpayPayments; - /** - * Allow the merchant to process ACSS debit payments. - */ - acss_debit_payments?: Capabilities.AcssDebitPayments; + /** + * Allow the merchant to process Revolut Pay payments. + */ + revolut_pay_payments?: Capabilities.RevolutPayPayments; - /** - * Allow the merchant to process Affirm payments. - */ - affirm_payments?: Capabilities.AffirmPayments; + /** + * Allow the merchant to process Samsung Pay payments. + */ + samsung_pay_payments?: Capabilities.SamsungPayPayments; - /** - * Allow the merchant to process Afterpay/Clearpay payments. - */ - afterpay_clearpay_payments?: Capabilities.AfterpayClearpayPayments; + /** + * Allow the merchant to process SEPA bank transfer payments. + */ + sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments; - /** - * Allow the merchant to process Alma payments. - */ - alma_payments?: Capabilities.AlmaPayments; + /** + * Allow the merchant to process SEPA Direct Debit payments. + */ + sepa_debit_payments?: Capabilities.SepaDebitPayments; - /** - * Allow the merchant to process Amazon Pay payments. - */ - amazon_pay_payments?: Capabilities.AmazonPayPayments; + /** + * Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance). + */ + stripe_balance?: Capabilities.StripeBalance; - /** - * Allow the merchant to process Australian BECS Direct Debit payments. - */ - au_becs_debit_payments?: Capabilities.AuBecsDebitPayments; + /** + * Allow the merchant to process Swish payments. + */ + swish_payments?: Capabilities.SwishPayments; - /** - * Allow the merchant to process BACS Direct Debit payments. - */ - bacs_debit_payments?: Capabilities.BacsDebitPayments; + /** + * Allow the merchant to process TWINT payments. + */ + twint_payments?: Capabilities.TwintPayments; - /** - * Allow the merchant to process Bancontact payments. - */ - bancontact_payments?: Capabilities.BancontactPayments; + /** + * Allow the merchant to process US bank transfer payments. + */ + us_bank_transfer_payments?: Capabilities.UsBankTransferPayments; - /** - * Allow the merchant to process BLIK payments. - */ - blik_payments?: Capabilities.BlikPayments; + /** + * Allow the merchant to process Zip payments. + */ + zip_payments?: Capabilities.ZipPayments; + } - /** - * Allow the merchant to process Boleto payments. - */ - boleto_payments?: Capabilities.BoletoPayments; + export interface CardPayments { + /** + * Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. + */ + decline_on?: CardPayments.DeclineOn; + } - /** - * Allow the merchant to collect card payments. - */ - card_payments?: Capabilities.CardPayments; + export interface KonbiniPayments { + /** + * Support for Konbini payments. + */ + support?: KonbiniPayments.Support; + } - /** - * Allow the merchant to process Cartes Bancaires payments. - */ - cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; + export interface ScriptStatementDescriptor { + /** + * The Kana variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). + */ + kana?: ScriptStatementDescriptor.Kana; - /** - * Allow the merchant to process Cash App payments. - */ - cashapp_payments?: Capabilities.CashappPayments; + /** + * The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). + */ + kanji?: ScriptStatementDescriptor.Kanji; + } - /** - * Allow the merchant to process EPS payments. - */ - eps_payments?: Capabilities.EpsPayments; + export interface SepaDebitPayments { + /** + * Creditor ID for SEPA Direct Debit payments. + */ + creditor_id?: string; + } - /** - * Allow the merchant to process FPX payments. - */ - fpx_payments?: Capabilities.FpxPayments; + export interface StatementDescriptor { + /** + * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + descriptor?: string; - /** - * Allow the merchant to process UK bank transfer payments. - */ - gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments; + /** + * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + prefix?: string; + } - /** - * Allow the merchant to process GrabPay payments. - */ - grabpay_payments?: Capabilities.GrabpayPayments; + export interface Support { + /** + * A publicly available mailing address for sending support issues to. + */ + address?: Support.Address; - /** - * Allow the merchant to process iDEAL payments. - */ - ideal_payments?: Capabilities.IdealPayments; + /** + * A publicly available email address for sending support issues to. + */ + email?: string; - /** - * Allow the merchant to process JCB card payments. - */ - jcb_payments?: Capabilities.JcbPayments; + /** + * A publicly available phone number to call with support issues. + */ + phone?: string; - /** - * Allow the merchant to process Japanese bank transfer payments. - */ - jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments; + /** + * A publicly available website for handling support issues. + */ + url?: string; + } - /** - * Allow the merchant to process Kakao Pay payments. - */ - kakao_pay_payments?: Capabilities.KakaoPayPayments; + export namespace Capabilities { + export interface AchDebitPayments { + /** + * The status of the Capability. + */ + status: AchDebitPayments.Status; - /** - * Allow the merchant to process Klarna payments. - */ - klarna_payments?: Capabilities.KlarnaPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Konbini convenience store payments. - */ - konbini_payments?: Capabilities.KonbiniPayments; + export interface AcssDebitPayments { + /** + * The status of the Capability. + */ + status: AcssDebitPayments.Status; - /** - * Allow the merchant to process Korean card payments. - */ - kr_card_payments?: Capabilities.KrCardPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Link payments. - */ - link_payments?: Capabilities.LinkPayments; + export interface AffirmPayments { + /** + * The status of the Capability. + */ + status: AffirmPayments.Status; - /** - * Allow the merchant to process MobilePay payments. - */ - mobilepay_payments?: Capabilities.MobilepayPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Multibanco payments. - */ - multibanco_payments?: Capabilities.MultibancoPayments; + export interface AfterpayClearpayPayments { + /** + * The status of the Capability. + */ + status: AfterpayClearpayPayments.Status; - /** - * Allow the merchant to process Mexican bank transfer payments. - */ - mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Naver Pay payments. - */ - naver_pay_payments?: Capabilities.NaverPayPayments; + export interface AlmaPayments { + /** + * The status of the Capability. + */ + status: AlmaPayments.Status; - /** - * Allow the merchant to process OXXO payments. - */ - oxxo_payments?: Capabilities.OxxoPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Przelewy24 (P24) payments. - */ - p24_payments?: Capabilities.P24Payments; + export interface AmazonPayPayments { + /** + * The status of the Capability. + */ + status: AmazonPayPayments.Status; - /** - * Allow the merchant to process Pay by Bank payments. - */ - pay_by_bank_payments?: Capabilities.PayByBankPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process PAYCO payments. - */ - payco_payments?: Capabilities.PaycoPayments; + export interface AuBecsDebitPayments { + /** + * The status of the Capability. + */ + status: AuBecsDebitPayments.Status; - /** - * Allow the merchant to process PayNow payments. - */ - paynow_payments?: Capabilities.PaynowPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process PromptPay payments. - */ - promptpay_payments?: Capabilities.PromptpayPayments; + export interface BacsDebitPayments { + /** + * The status of the Capability. + */ + status: BacsDebitPayments.Status; - /** - * Allow the merchant to process Revolut Pay payments. - */ - revolut_pay_payments?: Capabilities.RevolutPayPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Samsung Pay payments. - */ - samsung_pay_payments?: Capabilities.SamsungPayPayments; + export interface BancontactPayments { + /** + * The status of the Capability. + */ + status: BancontactPayments.Status; - /** - * Allow the merchant to process SEPA bank transfer payments. - */ - sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process SEPA Direct Debit payments. - */ - sepa_debit_payments?: Capabilities.SepaDebitPayments; + export interface BlikPayments { + /** + * The status of the Capability. + */ + status: BlikPayments.Status; - /** - * Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance). - */ - stripe_balance?: Capabilities.StripeBalance; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Swish payments. - */ - swish_payments?: Capabilities.SwishPayments; + export interface BoletoPayments { + /** + * The status of the Capability. + */ + status: BoletoPayments.Status; - /** - * Allow the merchant to process TWINT payments. - */ - twint_payments?: Capabilities.TwintPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process US bank transfer payments. - */ - us_bank_transfer_payments?: Capabilities.UsBankTransferPayments; + export interface CardPayments { + /** + * The status of the Capability. + */ + status: CardPayments.Status; - /** - * Allow the merchant to process Zip payments. - */ - zip_payments?: Capabilities.ZipPayments; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface CardPayments { - /** - * Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. - */ - decline_on?: CardPayments.DeclineOn; - } + export interface CartesBancairesPayments { + /** + * The status of the Capability. + */ + status: CartesBancairesPayments.Status; - export interface KonbiniPayments { - /** - * Support for Konbini payments. - */ - support?: KonbiniPayments.Support; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface ScriptStatementDescriptor { - /** - * The Kana variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). - */ - kana?: ScriptStatementDescriptor.Kana; + export interface CashappPayments { + /** + * The status of the Capability. + */ + status: CashappPayments.Status; - /** - * The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). - */ - kanji?: ScriptStatementDescriptor.Kanji; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface SepaDebitPayments { - /** - * Creditor ID for SEPA Direct Debit payments. - */ - creditor_id?: string; - } + export interface EpsPayments { + /** + * The status of the Capability. + */ + status: EpsPayments.Status; - export interface StatementDescriptor { - /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - descriptor?: string; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - prefix?: string; - } + export interface FpxPayments { + /** + * The status of the Capability. + */ + status: FpxPayments.Status; - export interface Support { - /** - * A publicly available mailing address for sending support issues to. - */ - address?: Support.Address; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * A publicly available email address for sending support issues to. - */ - email?: string; + export interface GbBankTransferPayments { + /** + * The status of the Capability. + */ + status: GbBankTransferPayments.Status; - /** - * A publicly available phone number to call with support issues. - */ - phone?: string; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * A publicly available website for handling support issues. - */ - url?: string; - } + export interface GrabpayPayments { + /** + * The status of the Capability. + */ + status: GrabpayPayments.Status; - export namespace Capabilities { - export interface AchDebitPayments { - /** - * The status of the Capability. - */ - status: AchDebitPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface IdealPayments { + /** + * The status of the Capability. + */ + status: IdealPayments.Status; - export interface AcssDebitPayments { - /** - * The status of the Capability. - */ - status: AcssDebitPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface JcbPayments { + /** + * The status of the Capability. + */ + status: JcbPayments.Status; - export interface AffirmPayments { - /** - * The status of the Capability. - */ - status: AffirmPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface JpBankTransferPayments { + /** + * The status of the Capability. + */ + status: JpBankTransferPayments.Status; - export interface AfterpayClearpayPayments { - /** - * The status of the Capability. - */ - status: AfterpayClearpayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface KakaoPayPayments { + /** + * The status of the Capability. + */ + status: KakaoPayPayments.Status; - export interface AlmaPayments { - /** - * The status of the Capability. - */ - status: AlmaPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface KlarnaPayments { + /** + * The status of the Capability. + */ + status: KlarnaPayments.Status; - export interface AmazonPayPayments { - /** - * The status of the Capability. - */ - status: AmazonPayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface KonbiniPayments { + /** + * The status of the Capability. + */ + status: KonbiniPayments.Status; - export interface AuBecsDebitPayments { - /** - * The status of the Capability. - */ - status: AuBecsDebitPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface KrCardPayments { + /** + * The status of the Capability. + */ + status: KrCardPayments.Status; - export interface BacsDebitPayments { - /** - * The status of the Capability. - */ - status: BacsDebitPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface LinkPayments { + /** + * The status of the Capability. + */ + status: LinkPayments.Status; - export interface BancontactPayments { - /** - * The status of the Capability. - */ - status: BancontactPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface MobilepayPayments { + /** + * The status of the Capability. + */ + status: MobilepayPayments.Status; - export interface BlikPayments { - /** - * The status of the Capability. - */ - status: BlikPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface MultibancoPayments { + /** + * The status of the Capability. + */ + status: MultibancoPayments.Status; - export interface BoletoPayments { - /** - * The status of the Capability. - */ - status: BoletoPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface MxBankTransferPayments { + /** + * The status of the Capability. + */ + status: MxBankTransferPayments.Status; - export interface CardPayments { - /** - * The status of the Capability. - */ - status: CardPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface NaverPayPayments { + /** + * The status of the Capability. + */ + status: NaverPayPayments.Status; - export interface CartesBancairesPayments { - /** - * The status of the Capability. - */ - status: CartesBancairesPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface OxxoPayments { + /** + * The status of the Capability. + */ + status: OxxoPayments.Status; - export interface CashappPayments { - /** - * The status of the Capability. - */ - status: CashappPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface P24Payments { + /** + * The status of the Capability. + */ + status: P24Payments.Status; - export interface EpsPayments { - /** - * The status of the Capability. - */ - status: EpsPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface PayByBankPayments { + /** + * The status of the Capability. + */ + status: PayByBankPayments.Status; - export interface FpxPayments { - /** - * The status of the Capability. - */ - status: FpxPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface PaycoPayments { + /** + * The status of the Capability. + */ + status: PaycoPayments.Status; - export interface GbBankTransferPayments { - /** - * The status of the Capability. - */ - status: GbBankTransferPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface PaynowPayments { + /** + * The status of the Capability. + */ + status: PaynowPayments.Status; - export interface GrabpayPayments { - /** - * The status of the Capability. - */ - status: GrabpayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface PromptpayPayments { + /** + * The status of the Capability. + */ + status: PromptpayPayments.Status; - export interface IdealPayments { - /** - * The status of the Capability. - */ - status: IdealPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface RevolutPayPayments { + /** + * The status of the Capability. + */ + status: RevolutPayPayments.Status; - export interface JcbPayments { - /** - * The status of the Capability. - */ - status: JcbPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface SamsungPayPayments { + /** + * The status of the Capability. + */ + status: SamsungPayPayments.Status; - export interface JpBankTransferPayments { - /** - * The status of the Capability. - */ - status: JpBankTransferPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface SepaBankTransferPayments { + /** + * The status of the Capability. + */ + status: SepaBankTransferPayments.Status; - export interface KakaoPayPayments { - /** - * The status of the Capability. - */ - status: KakaoPayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface SepaDebitPayments { + /** + * The status of the Capability. + */ + status: SepaDebitPayments.Status; - export interface KlarnaPayments { - /** - * The status of the Capability. - */ - status: KlarnaPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StripeBalance { + /** + * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). + */ + payouts?: StripeBalance.Payouts; + } - export interface KonbiniPayments { - /** - * The status of the Capability. - */ - status: KonbiniPayments.Status; + export interface SwishPayments { + /** + * The status of the Capability. + */ + status: SwishPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface KrCardPayments { - /** - * The status of the Capability. - */ - status: KrCardPayments.Status; + export interface TwintPayments { + /** + * The status of the Capability. + */ + status: TwintPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface LinkPayments { - /** - * The status of the Capability. - */ - status: LinkPayments.Status; + export interface UsBankTransferPayments { + /** + * The status of the Capability. + */ + status: UsBankTransferPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface MobilepayPayments { - /** - * The status of the Capability. - */ - status: MobilepayPayments.Status; + export interface ZipPayments { + /** + * The status of the Capability. + */ + status: ZipPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface MultibancoPayments { - /** - * The status of the Capability. - */ - status: MultibancoPayments.Status; + export namespace AchDebitPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface MxBankTransferPayments { - /** - * The status of the Capability. - */ - status: MxBankTransferPayments.Status; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface NaverPayPayments { - /** - * The status of the Capability. - */ - status: NaverPayPayments.Status; + export namespace AcssDebitPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface OxxoPayments { - /** - * The status of the Capability. - */ - status: OxxoPayments.Status; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface P24Payments { - /** - * The status of the Capability. - */ - status: P24Payments.Status; + export namespace AffirmPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface PayByBankPayments { - /** - * The status of the Capability. - */ - status: PayByBankPayments.Status; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface PaycoPayments { - /** - * The status of the Capability. - */ - status: PaycoPayments.Status; + export namespace AfterpayClearpayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface PaynowPayments { - /** - * The status of the Capability. - */ - status: PaynowPayments.Status; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface PromptpayPayments { - /** - * The status of the Capability. - */ - status: PromptpayPayments.Status; + export namespace AlmaPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface RevolutPayPayments { - /** - * The status of the Capability. - */ - status: RevolutPayPayments.Status; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface SamsungPayPayments { - /** - * The status of the Capability. - */ - status: SamsungPayPayments.Status; + export namespace AmazonPayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface SepaBankTransferPayments { - /** - * The status of the Capability. - */ - status: SepaBankTransferPayments.Status; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface SepaDebitPayments { - /** - * The status of the Capability. - */ - status: SepaDebitPayments.Status; + export namespace AuBecsDebitPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface StripeBalance { - /** - * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). - */ - payouts?: StripeBalance.Payouts; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface SwishPayments { - /** - * The status of the Capability. - */ - status: SwishPayments.Status; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace BacsDebitPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export interface TwintPayments { - /** - * The status of the Capability. - */ - status: TwintPayments.Status; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface UsBankTransferPayments { - /** - * The status of the Capability. - */ - status: UsBankTransferPayments.Status; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace BancontactPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export interface ZipPayments { - /** - * The status of the Capability. - */ - status: ZipPayments.Status; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace AchDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace BlikPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace AcssDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace BoletoPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace AffirmPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace CardPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace AfterpayClearpayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace CartesBancairesPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace AlmaPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace CashappPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace AmazonPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace EpsPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace AuBecsDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace FpxPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace BacsDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace GbBankTransferPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace BancontactPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace GrabpayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace BlikPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace IdealPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace BoletoPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace JcbPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace CardPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace JpBankTransferPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace CartesBancairesPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace KakaoPayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace CashappPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace KlarnaPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace EpsPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace KonbiniPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace FpxPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace KrCardPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace GbBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace LinkPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace GrabpayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace MobilepayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace IdealPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace MultibancoPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace JcbPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace MxBankTransferPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace JpBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace NaverPayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace KakaoPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace OxxoPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace KlarnaPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace P24Payments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace KonbiniPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace PayByBankPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace KrCardPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace PaycoPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace LinkPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace PaynowPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace MobilepayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace PromptpayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace MultibancoPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace RevolutPayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace MxBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace SamsungPayPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace NaverPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace SepaBankTransferPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace OxxoPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace SepaDebitPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace P24Payments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StripeBalance { + export interface Payouts { + /** + * The status of the Capability. + */ + status: Payouts.Status; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Payouts { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace PayByBankPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; } + } + } - export namespace PaycoPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace SwishPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace PaynowPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace PromptpayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace RevolutPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace TwintPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace SamsungPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace UsBankTransferPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace SepaBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace ZipPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace SepaDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace CardPayments { + export interface DeclineOn { + /** + * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. + */ + avs_failure?: boolean; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. + */ + cvc_failure?: boolean; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace KonbiniPayments { + export interface Support { + /** + * Support email address for Konbini payments. + */ + email?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Support hours for Konbini payments. + */ + hours?: Support.Hours; - export namespace StripeBalance { - export interface Payouts { - /** - * The status of the Capability. - */ - status: Payouts.Status; + /** + * Support phone number for Konbini payments. + */ + phone?: string; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace Support { + export interface Hours { + /** + * Support hours end time (JST time of day) for in `HH:MM` format. + */ + end_time?: string; - export namespace Payouts { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } + /** + * Support hours start time (JST time of day) for in `HH:MM` format. + */ + start_time?: string; + } + } + } - export namespace SwishPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace ScriptStatementDescriptor { + export interface Kana { + /** + * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + descriptor?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + prefix?: string; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface Kanji { + /** + * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + descriptor?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + prefix?: string; + } + } - export namespace TwintPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace Support { + export interface Address { + /** + * City, district, suburb, town, or village. + */ + city?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - export namespace UsBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * ZIP or postal code. + */ + postal_code?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * State, county, province, or region. + */ + state?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Town or district. + */ + town?: string; + } + } + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Recipient { + export interface Capabilities { + /** + * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). + */ + stripe_balance?: Capabilities.StripeBalance; + } - export namespace ZipPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace Capabilities { + export interface StripeBalance { + /** + * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). + */ + payouts?: StripeBalance.Payouts; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). + */ + stripe_transfers?: StripeBalance.StripeTransfers; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StripeBalance { + export interface Payouts { + /** + * The status of the Capability. + */ + status: Payouts.Status; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; } - export namespace CardPayments { - export interface DeclineOn { - /** - * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. - */ - avs_failure?: boolean; + export interface StripeTransfers { + /** + * The status of the Capability. + */ + status: StripeTransfers.Status; - /** - * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. - */ - cvc_failure?: boolean; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; } - export namespace KonbiniPayments { - export interface Support { - /** - * Support email address for Konbini payments. - */ - email?: string; + export namespace Payouts { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + export interface StatusDetail { /** - * Support hours for Konbini payments. + * Machine-readable code explaining the reason for the Capability to be in its current status. */ - hours?: Support.Hours; + code: StatusDetail.Code; /** - * Support phone number for Konbini payments. + * Machine-readable code explaining how to make the Capability active. */ - phone?: string; + resolution: StatusDetail.Resolution; } - export namespace Support { - export interface Hours { - /** - * Support hours end time (JST time of day) for in `HH:MM` format. - */ - end_time?: string; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Support hours start time (JST time of day) for in `HH:MM` format. - */ - start_time?: string; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; } } - export namespace ScriptStatementDescriptor { - export interface Kana { + export namespace StripeTransfers { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + * Machine-readable code explaining the reason for the Capability to be in its current status. */ - descriptor?: string; + code: StatusDetail.Code; /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + * Machine-readable code explaining how to make the Capability active. */ - prefix?: string; + resolution: StatusDetail.Resolution; } - export interface Kanji { - /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - descriptor?: string; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - prefix?: string; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; } } + } + } + } + } - export namespace Support { - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; + export namespace Defaults { + export type Locale = + | 'ar-SA' + | 'bg' + | 'bg-BG' + | 'cs' + | 'cs-CZ' + | 'da' + | 'da-DK' + | 'de' + | 'de-DE' + | 'el' + | 'el-GR' + | 'en' + | 'en-AU' + | 'en-CA' + | 'en-GB' + | 'en-IE' + | 'en-IN' + | 'en-NZ' + | 'en-SG' + | 'en-US' + | 'es' + | 'es-419' + | 'es-ES' + | 'et' + | 'et-EE' + | 'fi' + | 'fil' + | 'fil-PH' + | 'fi-FI' + | 'fr' + | 'fr-CA' + | 'fr-FR' + | 'he-IL' + | 'hr' + | 'hr-HR' + | 'hu' + | 'hu-HU' + | 'id' + | 'id-ID' + | 'it' + | 'it-IT' + | 'ja' + | 'ja-JP' + | 'ko' + | 'ko-KR' + | 'lt' + | 'lt-LT' + | 'lv' + | 'lv-LV' + | 'ms' + | 'ms-MY' + | 'mt' + | 'mt-MT' + | 'nb' + | 'nb-NO' + | 'nl' + | 'nl-NL' + | 'pl' + | 'pl-PL' + | 'pt' + | 'pt-BR' + | 'pt-PT' + | 'ro' + | 'ro-RO' + | 'ru' + | 'ru-RU' + | 'sk' + | 'sk-SK' + | 'sl' + | 'sl-SI' + | 'sv' + | 'sv-SE' + | 'th' + | 'th-TH' + | 'tr' + | 'tr-TR' + | 'vi' + | 'vi-VN' + | 'zh' + | 'zh-Hans' + | 'zh-Hant-HK' + | 'zh-Hant-TW' + | 'zh-HK' + | 'zh-TW'; + + export interface Profile { + /** + * The business's publicly-available website. + */ + business_url?: string; - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; + /** + * The customer-facing business name. + */ + doing_business_as?: string; - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - } - } + /** + * Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes. + */ + product_description?: string; + } - export namespace Recipient { - export interface Capabilities { - /** - * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). - */ - stripe_balance?: Capabilities.StripeBalance; - } + export interface Responsibilities { + /** + * Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products. + */ + fees_collector?: Responsibilities.FeesCollector; - export namespace Capabilities { - export interface StripeBalance { - /** - * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). - */ - payouts?: StripeBalance.Payouts; + /** + * A value indicating responsibility for collecting requirements on this account. + */ + losses_collector?: Responsibilities.LossesCollector; - /** - * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). - */ - stripe_transfers?: StripeBalance.StripeTransfers; - } + /** + * A value indicating responsibility for collecting requirements on this account. + */ + requirements_collector: Responsibilities.RequirementsCollector; + } - export namespace StripeBalance { - export interface Payouts { - /** - * The status of the Capability. - */ - status: Payouts.Status; + export namespace Responsibilities { + export type FeesCollector = + | 'application' + | 'application_custom' + | 'application_express' + | 'stripe'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export type LossesCollector = 'application' | 'stripe'; - export interface StripeTransfers { - /** - * The status of the Capability. - */ - status: StripeTransfers.Status; + export type RequirementsCollector = 'application' | 'stripe'; + } + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace FutureRequirements { + export interface Entry { + /** + * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`. + */ + awaiting_action_from: Entry.AwaitingActionFrom; - export namespace Payouts { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable string describing the requirement. + */ + description: string; - export namespace StripeTransfers { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } - } - } - } + /** + * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe. + */ + errors: Array; - export namespace Defaults { - export type Locale = - | 'ar-SA' - | 'bg' - | 'bg-BG' - | 'cs' - | 'cs-CZ' - | 'da' - | 'da-DK' - | 'de' - | 'de-DE' - | 'el' - | 'el-GR' - | 'en' - | 'en-AU' - | 'en-CA' - | 'en-GB' - | 'en-IE' - | 'en-IN' - | 'en-NZ' - | 'en-SG' - | 'en-US' - | 'es' - | 'es-419' - | 'es-ES' - | 'et' - | 'et-EE' - | 'fi' - | 'fil' - | 'fil-PH' - | 'fi-FI' - | 'fr' - | 'fr-CA' - | 'fr-FR' - | 'he-IL' - | 'hr' - | 'hr-HR' - | 'hu' - | 'hu-HU' - | 'id' - | 'id-ID' - | 'it' - | 'it-IT' - | 'ja' - | 'ja-JP' - | 'ko' - | 'ko-KR' - | 'lt' - | 'lt-LT' - | 'lv' - | 'lv-LV' - | 'ms' - | 'ms-MY' - | 'mt' - | 'mt-MT' - | 'nb' - | 'nb-NO' - | 'nl' - | 'nl-NL' - | 'pl' - | 'pl-PL' - | 'pt' - | 'pt-BR' - | 'pt-PT' - | 'ro' - | 'ro-RO' - | 'ru' - | 'ru-RU' - | 'sk' - | 'sk-SK' - | 'sl' - | 'sl-SI' - | 'sv' - | 'sv-SE' - | 'th' - | 'th-TH' - | 'tr' - | 'tr-TR' - | 'vi' - | 'vi-VN' - | 'zh' - | 'zh-Hans' - | 'zh-Hant-HK' - | 'zh-Hant-TW' - | 'zh-HK' - | 'zh-TW'; + /** + * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information. + */ + impact: Entry.Impact; - export interface Profile { - /** - * The business's publicly-available website. - */ - business_url?: string; + /** + * The soonest point when the account will be impacted by not providing the requirement. + */ + minimum_deadline: Entry.MinimumDeadline; - /** - * The customer-facing business name. - */ - doing_business_as?: string; + /** + * A reference to the location of the requirement. + */ + reference?: Entry.Reference; - /** - * Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes. - */ - product_description?: string; - } + /** + * A list of reasons why Stripe is collecting the requirement. + */ + requested_reasons: Array; + } - export interface Responsibilities { - /** - * Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products. - */ - fees_collector?: Responsibilities.FeesCollector; + export interface Summary { + /** + * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + */ + minimum_deadline?: Summary.MinimumDeadline; + } - /** - * A value indicating responsibility for collecting requirements on this account. - */ - losses_collector?: Responsibilities.LossesCollector; + export namespace Entry { + export type AwaitingActionFrom = 'stripe' | 'user'; - /** - * A value indicating responsibility for collecting requirements on this account. - */ - requirements_collector: Responsibilities.RequirementsCollector; - } + export interface Error { + /** + * Machine-readable code describing the error. + */ + code: Error.Code; - export namespace Responsibilities { - export type FeesCollector = - | 'application' - | 'application_custom' - | 'application_express' - | 'stripe'; + /** + * Human-readable description of the error. + */ + description: string; + } - export type LossesCollector = 'application' | 'stripe'; + export interface Impact { + /** + * The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe. + */ + restricts_capabilities?: Array; + } - export type RequirementsCollector = 'application' | 'stripe'; - } + export interface MinimumDeadline { + /** + * The current status of the requirement's impact. + */ + status: MinimumDeadline.Status; } - export namespace FutureRequirements { - export interface Entry { - /** - * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`. - */ - awaiting_action_from: Entry.AwaitingActionFrom; + export interface Reference { + /** + * If `inquiry` is the type, the inquiry token. + */ + inquiry?: string; - /** - * Machine-readable string describing the requirement. - */ - description: string; + /** + * If `resource` is the type, the resource token. + */ + resource?: string; - /** - * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe. - */ - errors: Array; + /** + * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. + * Otherwise the type is an API resource, the token for which can be found in the "resource" field. + */ + type: Reference.Type; + } - /** - * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information. - */ - impact: Entry.Impact; + export interface RequestedReason { + /** + * Machine-readable description of Stripe's reason for collecting the requirement. + */ + code: RequestedReason.Code; + } - /** - * The soonest point when the account will be impacted by not providing the requirement. - */ - minimum_deadline: Entry.MinimumDeadline; + export namespace Error { + export type Code = + | 'invalid_address_city_state_postal_code' + | 'invalid_address_highway_contract_box' + | 'invalid_address_private_mailbox' + | 'invalid_business_profile_name' + | 'invalid_business_profile_name_denylisted' + | 'invalid_company_name_denylisted' + | 'invalid_dob_age_over_maximum' + | 'invalid_dob_age_under_18' + | 'invalid_dob_age_under_minimum' + | 'invalid_product_description_length' + | 'invalid_product_description_url_match' + | 'invalid_representative_country' + | 'invalid_statement_descriptor_business_mismatch' + | 'invalid_statement_descriptor_denylisted' + | 'invalid_statement_descriptor_length' + | 'invalid_statement_descriptor_prefix_denylisted' + | 'invalid_statement_descriptor_prefix_mismatch' + | 'invalid_street_address' + | 'invalid_tax_id' + | 'invalid_tax_id_format' + | 'invalid_tos_acceptance' + | 'invalid_url_denylisted' + | 'invalid_url_format' + | 'invalid_url_website_business_information_mismatch' + | 'invalid_url_website_empty' + | 'invalid_url_website_inaccessible' + | 'invalid_url_website_inaccessible_geoblocked' + | 'invalid_url_website_inaccessible_password_protected' + | 'invalid_url_website_incomplete' + | 'invalid_url_website_incomplete_cancellation_policy' + | 'invalid_url_website_incomplete_customer_service_details' + | 'invalid_url_website_incomplete_legal_restrictions' + | 'invalid_url_website_incomplete_refund_policy' + | 'invalid_url_website_incomplete_return_policy' + | 'invalid_url_website_incomplete_terms_and_conditions' + | 'invalid_url_website_incomplete_under_construction' + | 'invalid_url_website_other' + | 'invalid_url_web_presence_detected' + | 'invalid_value_other' + | 'unresolvable_ip_address' + | 'unresolvable_postal_code' + | 'verification_directors_mismatch' + | 'verification_document_address_mismatch' + | 'verification_document_address_missing' + | 'verification_document_corrupt' + | 'verification_document_country_not_supported' + | 'verification_document_directors_mismatch' + | 'verification_document_dob_mismatch' + | 'verification_document_duplicate_type' + | 'verification_document_expired' + | 'verification_document_failed_copy' + | 'verification_document_failed_greyscale' + | 'verification_document_failed_other' + | 'verification_document_failed_test_mode' + | 'verification_document_fraudulent' + | 'verification_document_id_number_mismatch' + | 'verification_document_id_number_missing' + | 'verification_document_incomplete' + | 'verification_document_invalid' + | 'verification_document_issue_or_expiry_date_missing' + | 'verification_document_manipulated' + | 'verification_document_missing_back' + | 'verification_document_missing_front' + | 'verification_document_name_mismatch' + | 'verification_document_name_missing' + | 'verification_document_nationality_mismatch' + | 'verification_document_not_readable' + | 'verification_document_not_signed' + | 'verification_document_not_uploaded' + | 'verification_document_photo_mismatch' + | 'verification_document_too_large' + | 'verification_document_type_not_supported' + | 'verification_extraneous_directors' + | 'verification_failed_address_match' + | 'verification_failed_business_iec_number' + | 'verification_failed_document_match' + | 'verification_failed_id_number_match' + | 'verification_failed_keyed_identity' + | 'verification_failed_keyed_match' + | 'verification_failed_name_match' + | 'verification_failed_other' + | 'verification_failed_representative_authority' + | 'verification_failed_residential_address' + | 'verification_failed_tax_id_match' + | 'verification_failed_tax_id_not_issued' + | 'verification_missing_directors' + | 'verification_missing_executives' + | 'verification_missing_owners' + | 'verification_requires_additional_memorandum_of_associations' + | 'verification_requires_additional_proof_of_registration' + | 'verification_selfie_document_missing_photo' + | 'verification_selfie_face_mismatch' + | 'verification_selfie_manipulated' + | 'verification_selfie_unverified_other' + | 'verification_supportability' + | 'verification_token_stale'; + } + export namespace Impact { + export interface RestrictsCapability { /** - * A reference to the location of the requirement. + * The name of the Capability which will be restricted. */ - reference?: Entry.Reference; + capability: RestrictsCapability.Capability; /** - * A list of reasons why Stripe is collecting the requirement. + * The configuration which specifies the Capability which will be restricted. */ - requested_reasons: Array; - } + configuration: RestrictsCapability.Configuration; - export interface Summary { /** - * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. */ - minimum_deadline?: Summary.MinimumDeadline; + deadline: RestrictsCapability.Deadline; } - export namespace Entry { - export type AwaitingActionFrom = 'stripe' | 'user'; - - export interface Error { - /** - * Machine-readable code describing the error. - */ - code: Error.Code; - + export namespace RestrictsCapability { + export type Capability = + | 'ach_debit_payments' + | 'acss_debit_payments' + | 'affirm_payments' + | 'afterpay_clearpay_payments' + | 'alma_payments' + | 'amazon_pay_payments' + | 'automatic_indirect_tax' + | 'au_becs_debit_payments' + | 'bacs_debit_payments' + | 'bancontact_payments' + | 'bank_accounts.local' + | 'bank_accounts.wire' + | 'blik_payments' + | 'boleto_payments' + | 'cards' + | 'card_payments' + | 'cartes_bancaires_payments' + | 'cashapp_payments' + | 'eps_payments' + | 'fpx_payments' + | 'gb_bank_transfer_payments' + | 'grabpay_payments' + | 'ideal_payments' + | 'jcb_payments' + | 'jp_bank_transfer_payments' + | 'kakao_pay_payments' + | 'klarna_payments' + | 'konbini_payments' + | 'kr_card_payments' + | 'link_payments' + | 'mobilepay_payments' + | 'multibanco_payments' + | 'mx_bank_transfer_payments' + | 'naver_pay_payments' + | 'oxxo_payments' + | 'p24_payments' + | 'payco_payments' + | 'paynow_payments' + | 'pay_by_bank_payments' + | 'promptpay_payments' + | 'revolut_pay_payments' + | 'samsung_pay_payments' + | 'sepa_bank_transfer_payments' + | 'sepa_debit_payments' + | 'stripe_balance.payouts' + | 'stripe_balance.stripe_transfers' + | 'swish_payments' + | 'twint_payments' + | 'us_bank_transfer_payments' + | 'zip_payments'; + + export type Configuration = 'customer' | 'merchant' | 'recipient'; + + export interface Deadline { /** - * Human-readable description of the error. + * The current status of the requirement's impact. */ - description: string; + status: Deadline.Status; } - export interface Impact { - /** - * The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe. - */ - restricts_capabilities?: Array; + export namespace Deadline { + export type Status = + | 'currently_due' + | 'eventually_due' + | 'past_due'; } + } + } - export interface MinimumDeadline { - /** - * The current status of the requirement's impact. - */ - status: MinimumDeadline.Status; - } + export namespace MinimumDeadline { + export type Status = 'currently_due' | 'eventually_due' | 'past_due'; + } - export interface Reference { - /** - * If `inquiry` is the type, the inquiry token. - */ - inquiry?: string; - - /** - * If `resource` is the type, the resource token. - */ - resource?: string; + export namespace Reference { + export type Type = 'inquiry' | 'payment_method' | 'person'; + } - /** - * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. - * Otherwise the type is an API resource, the token for which can be found in the "resource" field. - */ - type: Reference.Type; - } + export namespace RequestedReason { + export type Code = 'routine_onboarding' | 'routine_verification'; + } + } - export interface RequestedReason { - /** - * Machine-readable description of Stripe's reason for collecting the requirement. - */ - code: RequestedReason.Code; - } + export namespace Summary { + export interface MinimumDeadline { + /** + * The current strictest status of all requirements on the Account. + */ + status: MinimumDeadline.Status; - export namespace Error { - export type Code = - | 'invalid_address_city_state_postal_code' - | 'invalid_address_highway_contract_box' - | 'invalid_address_private_mailbox' - | 'invalid_business_profile_name' - | 'invalid_business_profile_name_denylisted' - | 'invalid_company_name_denylisted' - | 'invalid_dob_age_over_maximum' - | 'invalid_dob_age_under_18' - | 'invalid_dob_age_under_minimum' - | 'invalid_product_description_length' - | 'invalid_product_description_url_match' - | 'invalid_representative_country' - | 'invalid_statement_descriptor_business_mismatch' - | 'invalid_statement_descriptor_denylisted' - | 'invalid_statement_descriptor_length' - | 'invalid_statement_descriptor_prefix_denylisted' - | 'invalid_statement_descriptor_prefix_mismatch' - | 'invalid_street_address' - | 'invalid_tax_id' - | 'invalid_tax_id_format' - | 'invalid_tos_acceptance' - | 'invalid_url_denylisted' - | 'invalid_url_format' - | 'invalid_url_website_business_information_mismatch' - | 'invalid_url_website_empty' - | 'invalid_url_website_inaccessible' - | 'invalid_url_website_inaccessible_geoblocked' - | 'invalid_url_website_inaccessible_password_protected' - | 'invalid_url_website_incomplete' - | 'invalid_url_website_incomplete_cancellation_policy' - | 'invalid_url_website_incomplete_customer_service_details' - | 'invalid_url_website_incomplete_legal_restrictions' - | 'invalid_url_website_incomplete_refund_policy' - | 'invalid_url_website_incomplete_return_policy' - | 'invalid_url_website_incomplete_terms_and_conditions' - | 'invalid_url_website_incomplete_under_construction' - | 'invalid_url_website_other' - | 'invalid_url_web_presence_detected' - | 'invalid_value_other' - | 'unresolvable_ip_address' - | 'unresolvable_postal_code' - | 'verification_directors_mismatch' - | 'verification_document_address_mismatch' - | 'verification_document_address_missing' - | 'verification_document_corrupt' - | 'verification_document_country_not_supported' - | 'verification_document_directors_mismatch' - | 'verification_document_dob_mismatch' - | 'verification_document_duplicate_type' - | 'verification_document_expired' - | 'verification_document_failed_copy' - | 'verification_document_failed_greyscale' - | 'verification_document_failed_other' - | 'verification_document_failed_test_mode' - | 'verification_document_fraudulent' - | 'verification_document_id_number_mismatch' - | 'verification_document_id_number_missing' - | 'verification_document_incomplete' - | 'verification_document_invalid' - | 'verification_document_issue_or_expiry_date_missing' - | 'verification_document_manipulated' - | 'verification_document_missing_back' - | 'verification_document_missing_front' - | 'verification_document_name_mismatch' - | 'verification_document_name_missing' - | 'verification_document_nationality_mismatch' - | 'verification_document_not_readable' - | 'verification_document_not_signed' - | 'verification_document_not_uploaded' - | 'verification_document_photo_mismatch' - | 'verification_document_too_large' - | 'verification_document_type_not_supported' - | 'verification_extraneous_directors' - | 'verification_failed_address_match' - | 'verification_failed_business_iec_number' - | 'verification_failed_document_match' - | 'verification_failed_id_number_match' - | 'verification_failed_keyed_identity' - | 'verification_failed_keyed_match' - | 'verification_failed_name_match' - | 'verification_failed_other' - | 'verification_failed_representative_authority' - | 'verification_failed_residential_address' - | 'verification_failed_tax_id_match' - | 'verification_failed_tax_id_not_issued' - | 'verification_missing_directors' - | 'verification_missing_executives' - | 'verification_missing_owners' - | 'verification_requires_additional_memorandum_of_associations' - | 'verification_requires_additional_proof_of_registration' - | 'verification_selfie_document_missing_photo' - | 'verification_selfie_face_mismatch' - | 'verification_selfie_manipulated' - | 'verification_selfie_unverified_other' - | 'verification_supportability' - | 'verification_token_stale'; - } - - export namespace Impact { - export interface RestrictsCapability { - /** - * The name of the Capability which will be restricted. - */ - capability: RestrictsCapability.Capability; - - /** - * The configuration which specifies the Capability which will be restricted. - */ - configuration: RestrictsCapability.Configuration; - - /** - * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. - */ - deadline: RestrictsCapability.Deadline; - } - - export namespace RestrictsCapability { - export type Capability = - | 'ach_debit_payments' - | 'acss_debit_payments' - | 'affirm_payments' - | 'afterpay_clearpay_payments' - | 'alma_payments' - | 'amazon_pay_payments' - | 'automatic_indirect_tax' - | 'au_becs_debit_payments' - | 'bacs_debit_payments' - | 'bancontact_payments' - | 'bank_accounts.local' - | 'bank_accounts.wire' - | 'blik_payments' - | 'boleto_payments' - | 'cards' - | 'card_payments' - | 'cartes_bancaires_payments' - | 'cashapp_payments' - | 'eps_payments' - | 'fpx_payments' - | 'gb_bank_transfer_payments' - | 'grabpay_payments' - | 'ideal_payments' - | 'jcb_payments' - | 'jp_bank_transfer_payments' - | 'kakao_pay_payments' - | 'klarna_payments' - | 'konbini_payments' - | 'kr_card_payments' - | 'link_payments' - | 'mobilepay_payments' - | 'multibanco_payments' - | 'mx_bank_transfer_payments' - | 'naver_pay_payments' - | 'oxxo_payments' - | 'p24_payments' - | 'payco_payments' - | 'paynow_payments' - | 'pay_by_bank_payments' - | 'promptpay_payments' - | 'revolut_pay_payments' - | 'samsung_pay_payments' - | 'sepa_bank_transfer_payments' - | 'sepa_debit_payments' - | 'stripe_balance.payouts' - | 'stripe_balance.stripe_transfers' - | 'swish_payments' - | 'twint_payments' - | 'us_bank_transfer_payments' - | 'zip_payments'; - - export type Configuration = 'customer' | 'merchant' | 'recipient'; - - export interface Deadline { - /** - * The current status of the requirement's impact. - */ - status: Deadline.Status; - } + /** + * The soonest RFC3339 date & time UTC value a requirement can impact the Account. + */ + time?: string; + } - export namespace Deadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } - } - } + export namespace MinimumDeadline { + export type Status = 'currently_due' | 'eventually_due' | 'past_due'; + } + } + } - export namespace MinimumDeadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } + export namespace Identity { + export interface Attestations { + /** + * This hash is used to attest that the directors information provided to Stripe is both current and correct. + */ + directorship_declaration?: Attestations.DirectorshipDeclaration; - export namespace Reference { - export type Type = 'inquiry' | 'payment_method' | 'person'; - } + /** + * This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct. + */ + ownership_declaration?: Attestations.OwnershipDeclaration; - export namespace RequestedReason { - export type Code = 'routine_onboarding' | 'routine_verification'; - } - } + /** + * Attestation that all Persons with a specific Relationship value have been provided. + */ + persons_provided?: Attestations.PersonsProvided; - export namespace Summary { - export interface MinimumDeadline { - /** - * The current strictest status of all requirements on the Account. - */ - status: MinimumDeadline.Status; + /** + * This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + */ + representative_declaration?: Attestations.RepresentativeDeclaration; - /** - * The soonest RFC3339 date & time UTC value a requirement can impact the Account. - */ - time?: string; - } + /** + * Attestations of accepted terms of service agreements. + */ + terms_of_service?: Attestations.TermsOfService; + } - export namespace MinimumDeadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } - } - } + export interface BusinessDetails { + /** + * The company's primary address. + */ + address?: BusinessDetails.Address; - export namespace Identity { - export interface Attestations { - /** - * This hash is used to attest that the directors information provided to Stripe is both current and correct. - */ - directorship_declaration?: Attestations.DirectorshipDeclaration; + /** + * The business gross annual revenue for its preceding fiscal year. + */ + annual_revenue?: BusinessDetails.AnnualRevenue; - /** - * This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct. - */ - ownership_declaration?: Attestations.OwnershipDeclaration; + /** + * Documents that may be submitted to satisfy various informational requests. + */ + documents?: BusinessDetails.Documents; - /** - * Attestation that all Persons with a specific Relationship value have been provided. - */ - persons_provided?: Attestations.PersonsProvided; + /** + * Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors). + */ + estimated_worker_count?: number; - /** - * This hash is used to attest that the representative is authorized to act as the representative of their legal entity. - */ - representative_declaration?: Attestations.RepresentativeDeclaration; + /** + * The provided ID numbers of a business entity. + */ + id_numbers?: Array; - /** - * Attestations of accepted terms of service agreements. - */ - terms_of_service?: Attestations.TermsOfService; - } + /** + * An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India. + */ + monthly_estimated_revenue?: BusinessDetails.MonthlyEstimatedRevenue; - export interface BusinessDetails { - /** - * The company's primary address. - */ - address?: BusinessDetails.Address; + /** + * The company's phone number (used for verification). + */ + phone?: string; - /** - * The business gross annual revenue for its preceding fiscal year. - */ - annual_revenue?: BusinessDetails.AnnualRevenue; + /** + * The business legal name. + */ + registered_name?: string; - /** - * Documents that may be submitted to satisfy various informational requests. - */ - documents?: BusinessDetails.Documents; + /** + * When the business was incorporated or registered. + */ + registration_date?: BusinessDetails.RegistrationDate; - /** - * Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors). - */ - estimated_worker_count?: number; + /** + * The business registration address of the business entity in non latin script. + */ + script_addresses?: BusinessDetails.ScriptAddresses; - /** - * The provided ID numbers of a business entity. - */ - id_numbers?: Array; + /** + * The business legal name in non latin script. + */ + script_names?: BusinessDetails.ScriptNames; - /** - * An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India. - */ - monthly_estimated_revenue?: BusinessDetails.MonthlyEstimatedRevenue; + /** + * The category identifying the legal structure of the business. + */ + structure?: BusinessDetails.Structure; + } - /** - * The company's phone number (used for verification). - */ - phone?: string; + export type EntityType = + | 'company' + | 'government_entity' + | 'individual' + | 'non_profit'; - /** - * The business legal name. - */ - registered_name?: string; + export interface Individual { + /** + * The account ID which the individual belongs to. + */ + account: string; - /** - * When the business was incorporated or registered. - */ - registration_date?: BusinessDetails.RegistrationDate; + /** + * Additional addresses associated with the individual. + */ + additional_addresses?: Array; - /** - * The business registration address of the business entity in non latin script. - */ - script_addresses?: BusinessDetails.ScriptAddresses; + /** + * Additional names (e.g. aliases) associated with the individual. + */ + additional_names?: Array; - /** - * The business legal name in non latin script. - */ - script_names?: BusinessDetails.ScriptNames; + /** + * Terms of service acceptances. + */ + additional_terms_of_service?: Individual.AdditionalTermsOfService; - /** - * The category identifying the legal structure of the business. - */ - structure?: BusinessDetails.Structure; - } + /** + * The individual's residential address. + */ + address?: Individual.Address; - export type EntityType = - | 'company' - | 'government_entity' - | 'individual' - | 'non_profit'; + /** + * Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + created: string; - export interface Individual { - /** - * The account ID which the individual belongs to. - */ - account: string; + /** + * The individual's date of birth. + */ + date_of_birth?: Individual.DateOfBirth; - /** - * Additional addresses associated with the individual. - */ - additional_addresses?: Array; + /** + * Documents that may be submitted to satisfy various informational requests. + */ + documents?: Individual.Documents; - /** - * Additional names (e.g. aliases) associated with the individual. - */ - additional_names?: Array; + /** + * The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account. + */ + email?: string; - /** - * Terms of service acceptances. - */ - additional_terms_of_service?: Individual.AdditionalTermsOfService; + /** + * The individual's first name. + */ + given_name?: string; - /** - * The individual's residential address. - */ - address?: Individual.Address; + /** + * Unique identifier for the object. + */ + id: string; - /** - * Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - created: string; + /** + * The identification numbers (e.g., SSN) associated with the individual. + */ + id_numbers?: Array; - /** - * The individual's date of birth. - */ - date_of_birth?: Individual.DateOfBirth; + /** + * The individual's gender (International regulations require either "male” or "female"). + */ + legal_gender?: Individual.LegalGender; - /** - * Documents that may be submitted to satisfy various informational requests. - */ - documents?: Individual.Documents; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata?: Metadata; - /** - * The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account. - */ - email?: string; + /** + * The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + nationalities?: Array; - /** - * The individual's first name. - */ - given_name?: string; + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: string; - /** - * Unique identifier for the object. - */ - id: string; + /** + * The individual's phone number. + */ + phone?: string; - /** - * The identification numbers (e.g., SSN) associated with the individual. - */ - id_numbers?: Array; + /** + * Indicates if the individual or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. + */ + political_exposure?: Individual.PoliticalExposure; - /** - * The individual's gender (International regulations require either "male” or "female"). - */ - legal_gender?: Individual.LegalGender; + /** + * The relationship that this individual has with the Account's identity. + */ + relationship?: Individual.Relationship; - /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Metadata; + /** + * The script addresses (e.g., non-Latin characters) associated with the individual. + */ + script_addresses?: Individual.ScriptAddresses; - /** - * The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - nationalities?: Array; + /** + * The script names (e.g. non-Latin characters) associated with the individual. + */ + script_names?: Individual.ScriptNames; - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: string; + /** + * The individual's last name. + */ + surname?: string; - /** - * The individual's phone number. - */ - phone?: string; + /** + * Time at which the object was last updated. + */ + updated: string; + } - /** - * Indicates if the individual or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: Individual.PoliticalExposure; + export namespace Attestations { + export interface DirectorshipDeclaration { + /** + * The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * The relationship that this individual has with the Account's identity. - */ - relationship?: Individual.Relationship; + /** + * The IP address from which the director attestation was made. + */ + ip?: string; - /** - * The script addresses (e.g., non-Latin characters) associated with the individual. - */ - script_addresses?: Individual.ScriptAddresses; + /** + * The user agent of the browser from which the director attestation was made. + */ + user_agent?: string; + } + + export interface OwnershipDeclaration { + /** + * The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; + + /** + * The IP address from which the beneficial owner attestation was made. + */ + ip?: string; + + /** + * The user agent of the browser from which the beneficial owner attestation was made. + */ + user_agent?: string; + } + + export interface PersonsProvided { + /** + * Whether the company's directors have been provided. Set this Boolean to true after creating all the company's directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). + */ + directors?: boolean; + + /** + * Whether the company's executives have been provided. Set this Boolean to true after creating all the company's executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). + */ + executives?: boolean; + + /** + * Whether the company's owners have been provided. Set this Boolean to true after creating all the company's owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). + */ + owners?: boolean; + + /** + * Reason for why the company is exempt from providing ownership information. + */ + ownership_exemption_reason?: PersonsProvided.OwnershipExemptionReason; + } + + export interface RepresentativeDeclaration { + /** + * The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; + + /** + * The IP address from which the representative attestation was made. + */ + ip?: string; + + /** + * The user agent of the browser from which the representative attestation was made. + */ + user_agent?: string; + } + export interface TermsOfService { + /** + * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). + */ + account?: TermsOfService.Account; + } + + export namespace PersonsProvided { + export type OwnershipExemptionReason = + | 'qualified_entity_exceeds_ownership_threshold' + | 'qualifies_as_financial_institution'; + } + + export namespace TermsOfService { + export interface Account { /** - * The script names (e.g. non-Latin characters) associated with the individual. + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - script_names?: Individual.ScriptNames; + date?: string; /** - * The individual's last name. + * The IP address from which the Account's representative accepted the terms of service. */ - surname?: string; + ip?: string; /** - * Time at which the object was last updated. + * The user agent of the browser from which the Account's representative accepted the terms of service. */ - updated: string; + user_agent?: string; } + } + } - export namespace Attestations { - export interface DirectorshipDeclaration { - /** - * The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the director attestation was made. - */ - ip?: string; + export namespace BusinessDetails { + export interface Address { + /** + * City, district, suburb, town, or village. + */ + city?: string; - /** - * The user agent of the browser from which the director attestation was made. - */ - user_agent?: string; - } + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - export interface OwnershipDeclaration { - /** - * The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - /** - * The IP address from which the beneficial owner attestation was made. - */ - ip?: string; + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - /** - * The user agent of the browser from which the beneficial owner attestation was made. - */ - user_agent?: string; - } + /** + * ZIP or postal code. + */ + postal_code?: string; - export interface PersonsProvided { - /** - * Whether the company's directors have been provided. Set this Boolean to true after creating all the company's directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - directors?: boolean; + /** + * State, county, province, or region. + */ + state?: string; - /** - * Whether the company's executives have been provided. Set this Boolean to true after creating all the company's executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - executives?: boolean; + /** + * Town or district. + */ + town?: string; + } - /** - * Whether the company's owners have been provided. Set this Boolean to true after creating all the company's owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - owners?: boolean; + export interface AnnualRevenue { + /** + * Annual revenue amount in minor currency units (for example, '123' for 1.23 USD). + */ + amount?: V2Amount; - /** - * Reason for why the company is exempt from providing ownership information. - */ - ownership_exemption_reason?: PersonsProvided.OwnershipExemptionReason; - } + /** + * The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. + */ + fiscal_year_end?: string; + } - export interface RepresentativeDeclaration { - /** - * The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; + export interface Documents { + /** + * One or more documents that support the Bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check. + */ + bank_account_ownership_verification?: Documents.BankAccountOwnershipVerification; - /** - * The IP address from which the representative attestation was made. - */ - ip?: string; + /** + * One or more documents that demonstrate proof of a company's license to operate. + */ + company_license?: Documents.CompanyLicense; - /** - * The user agent of the browser from which the representative attestation was made. - */ - user_agent?: string; - } + /** + * One or more documents showing the company's Memorandum of Association. + */ + company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation; - export interface TermsOfService { - /** - * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). - */ - account?: TermsOfService.Account; - } + /** + * Certain countries only: One or more documents showing the ministerial decree legalizing the company's establishment. + */ + company_ministerial_decree?: Documents.CompanyMinisterialDecree; - export namespace PersonsProvided { - export type OwnershipExemptionReason = - | 'qualified_entity_exceeds_ownership_threshold' - | 'qualifies_as_financial_institution'; - } + /** + * One or more documents that demonstrate proof of a company's registration with the appropriate local authorities. + */ + company_registration_verification?: Documents.CompanyRegistrationVerification; - export namespace TermsOfService { - export interface Account { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; + /** + * One or more documents that demonstrate proof of a company's tax ID. + */ + company_tax_id_verification?: Documents.CompanyTaxIdVerification; - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; + /** + * A document verifying the business. + */ + primary_verification?: Documents.PrimaryVerification; - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - } + /** + * One or more documents that demonstrate proof of address. + */ + proof_of_address?: Documents.ProofOfAddress; - export namespace BusinessDetails { - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; + /** + * One or more documents showing the company's proof of registration with the national business registry. + */ + proof_of_registration?: Documents.ProofOfRegistration; - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; + /** + * One or more documents that demonstrate proof of ultimate beneficial ownership. + */ + proof_of_ultimate_beneficial_ownership?: Documents.ProofOfUltimateBeneficialOwnership; + } - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; + export interface IdNumber { + /** + * The registrar of the ID number (Only valid for DE ID number types). + */ + registrar?: string; - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; + /** + * Open Enum. The ID number type of a business entity. + */ + type: IdNumber.Type; + } - /** - * ZIP or postal code. - */ - postal_code?: string; + export interface MonthlyEstimatedRevenue { + /** + * Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD). + */ + amount?: V2Amount; + } - /** - * State, county, province, or region. - */ - state?: string; + export interface RegistrationDate { + /** + * The day of registration, between 1 and 31. + */ + day: number; - /** - * Town or district. - */ - town?: string; - } + /** + * The month of registration, between 1 and 12. + */ + month: number; - export interface AnnualRevenue { - /** - * Annual revenue amount in minor currency units (for example, '123' for 1.23 USD). - */ - amount?: V2Amount; + /** + * The four-digit year of registration. + */ + year: number; + } - /** - * The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. - */ - fiscal_year_end?: string; - } + export interface ScriptAddresses { + /** + * Kana Address. + */ + kana?: ScriptAddresses.Kana; - export interface Documents { - /** - * One or more documents that support the Bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check. - */ - bank_account_ownership_verification?: Documents.BankAccountOwnershipVerification; + /** + * Kanji Address. + */ + kanji?: ScriptAddresses.Kanji; + } - /** - * One or more documents that demonstrate proof of a company's license to operate. - */ - company_license?: Documents.CompanyLicense; + export interface ScriptNames { + /** + * Kana name. + */ + kana?: ScriptNames.Kana; - /** - * One or more documents showing the company's Memorandum of Association. - */ - company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation; + /** + * Kanji name. + */ + kanji?: ScriptNames.Kanji; + } - /** - * Certain countries only: One or more documents showing the ministerial decree legalizing the company's establishment. - */ - company_ministerial_decree?: Documents.CompanyMinisterialDecree; + export type Structure = + | 'cooperative' + | 'free_zone_establishment' + | 'free_zone_llc' + | 'governmental_unit' + | 'government_instrumentality' + | 'incorporated_association' + | 'incorporated_non_profit' + | 'incorporated_partnership' + | 'limited_liability_partnership' + | 'llc' + | 'multi_member_llc' + | 'private_company' + | 'private_corporation' + | 'private_partnership' + | 'public_company' + | 'public_corporation' + | 'public_listed_corporation' + | 'public_partnership' + | 'registered_charity' + | 'single_member_llc' + | 'sole_establishment' + | 'sole_proprietorship' + | 'tax_exempt_government_instrumentality' + | 'trust' + | 'unincorporated_association' + | 'unincorporated_non_profit' + | 'unincorporated_partnership'; + + export namespace Documents { + export interface BankAccountOwnershipVerification { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; + + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - /** - * One or more documents that demonstrate proof of a company's registration with the appropriate local authorities. - */ - company_registration_verification?: Documents.CompanyRegistrationVerification; + export interface CompanyLicense { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; - /** - * One or more documents that demonstrate proof of a company's tax ID. - */ - company_tax_id_verification?: Documents.CompanyTaxIdVerification; + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - /** - * A document verifying the business. - */ - primary_verification?: Documents.PrimaryVerification; + export interface CompanyMemorandumOfAssociation { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; - /** - * One or more documents that demonstrate proof of address. - */ - proof_of_address?: Documents.ProofOfAddress; + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - /** - * One or more documents showing the company's proof of registration with the national business registry. - */ - proof_of_registration?: Documents.ProofOfRegistration; + export interface CompanyMinisterialDecree { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; - /** - * One or more documents that demonstrate proof of ultimate beneficial ownership. - */ - proof_of_ultimate_beneficial_ownership?: Documents.ProofOfUltimateBeneficialOwnership; - } + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - export interface IdNumber { - /** - * The registrar of the ID number (Only valid for DE ID number types). - */ - registrar?: string; + export interface CompanyRegistrationVerification { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; - /** - * Open Enum. The ID number type of a business entity. - */ - type: IdNumber.Type; - } + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - export interface MonthlyEstimatedRevenue { - /** - * Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD). - */ - amount?: V2Amount; - } + export interface CompanyTaxIdVerification { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; - export interface RegistrationDate { - /** - * The day of registration, between 1 and 31. - */ - day: number; + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - /** - * The month of registration, between 1 and 12. - */ - month: number; + export interface PrimaryVerification { + /** + * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. + */ + front_back: PrimaryVerification.FrontBack; - /** - * The four-digit year of registration. - */ - year: number; - } + /** + * The format of the verification document. Currently supports `front_back` only. + */ + type: 'front_back'; + } - export interface ScriptAddresses { + export interface ProofOfAddress { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; + + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } + + export interface ProofOfRegistration { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; + + /** + * Person that is signing the document. + */ + signer?: ProofOfRegistration.Signer; + + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } + + export interface ProofOfUltimateBeneficialOwnership { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; + + /** + * Person that is signing the document. + */ + signer?: ProofOfUltimateBeneficialOwnership.Signer; + + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } + + export namespace PrimaryVerification { + export interface FrontBack { /** - * Kana Address. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - kana?: ScriptAddresses.Kana; + back?: string; /** - * Kanji Address. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - kanji?: ScriptAddresses.Kanji; + front: string; } + } - export interface ScriptNames { + export namespace ProofOfRegistration { + export interface Signer { /** - * Kana name. + * Person signing the document. */ - kana?: ScriptNames.Kana; + person: string; + } + } + export namespace ProofOfUltimateBeneficialOwnership { + export interface Signer { /** - * Kanji name. + * Person signing the document. */ - kanji?: ScriptNames.Kanji; + person: string; } + } + } - export type Structure = - | 'cooperative' - | 'free_zone_establishment' - | 'free_zone_llc' - | 'governmental_unit' - | 'government_instrumentality' - | 'incorporated_association' - | 'incorporated_non_profit' - | 'incorporated_partnership' - | 'limited_liability_partnership' - | 'llc' - | 'multi_member_llc' - | 'private_company' - | 'private_corporation' - | 'private_partnership' - | 'public_company' - | 'public_corporation' - | 'public_listed_corporation' - | 'public_partnership' - | 'registered_charity' - | 'single_member_llc' - | 'sole_establishment' - | 'sole_proprietorship' - | 'tax_exempt_government_instrumentality' - | 'trust' - | 'unincorporated_association' - | 'unincorporated_non_profit' - | 'unincorporated_partnership'; + export namespace IdNumber { + export type Type = + | 'ae_crn' + | 'ae_vat' + | 'ao_nif' + | 'ar_cuit' + | 'at_fn' + | 'at_stn' + | 'at_vat' + | 'au_abn' + | 'au_acn' + | 'au_in' + | 'az_tin' + | 'bd_etin' + | 'be_cbe' + | 'be_vat' + | 'bg_uic' + | 'bg_vat' + | 'br_cnpj' + | 'ca_cn' + | 'ca_crarr' + | 'ca_gst_hst' + | 'ca_neq' + | 'ca_rid' + | 'ch_chid' + | 'ch_uid' + | 'cr_cpj' + | 'cr_nite' + | 'cy_he' + | 'cy_tic' + | 'cy_vat' + | 'cz_ico' + | 'cz_vat' + | 'de_hrn' + | 'de_stn' + | 'de_vat' + | 'dk_cvr' + | 'dk_vat' + | 'do_rcn' + | 'ee_rk' + | 'ee_vat' + | 'es_cif' + | 'es_vat' + | 'fi_vat' + | 'fi_yt' + | 'fr_rna' + | 'fr_siren' + | 'fr_vat' + | 'gb_crn' + | 'gb_vat' + | 'gi_crn' + | 'gr_afm' + | 'gr_gemi' + | 'gr_vat' + | 'gt_nit' + | 'hk_br' + | 'hk_cr' + | 'hr_mbs' + | 'hr_oib' + | 'hr_vat' + | 'hu_cjs' + | 'hu_tin' + | 'hu_vat' + | 'ie_crn' + | 'ie_trn' + | 'ie_vat' + | 'it_rea' + | 'it_vat' + | 'jp_cn' + | 'kz_bin' + | 'li_uid' + | 'lt_ccrn' + | 'lt_vat' + | 'lu_nif' + | 'lu_rcs' + | 'lu_vat' + | 'lv_urn' + | 'lv_vat' + | 'mt_crn' + | 'mt_tin' + | 'mt_vat' + | 'mx_rfc' + | 'my_brn' + | 'my_coid' + | 'my_itn' + | 'my_sst' + | 'mz_nuit' + | 'nl_kvk' + | 'nl_rsin' + | 'nl_vat' + | 'no_orgnr' + | 'nz_bn' + | 'nz_ird' + | 'pe_ruc' + | 'pk_ntn' + | 'pl_nip' + | 'pl_regon' + | 'pl_vat' + | 'pt_vat' + | 'ro_cui' + | 'ro_orc' + | 'ro_vat' + | 'sa_crn' + | 'sa_tin' + | 'se_orgnr' + | 'se_vat' + | 'sg_uen' + | 'si_msp' + | 'si_tin' + | 'si_vat' + | 'sk_dic' + | 'sk_ico' + | 'sk_vat' + | 'th_crn' + | 'th_prn' + | 'th_tin' + | 'us_ein'; + } - export namespace Documents { - export interface BankAccountOwnershipVerification { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; + export namespace ScriptAddresses { + export interface Kana { + /** + * City, district, suburb, town, or village. + */ + city?: string; - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - export interface CompanyLicense { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - export interface CompanyMemorandumOfAssociation { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; + /** + * ZIP or postal code. + */ + postal_code?: string; - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } + /** + * State, county, province, or region. + */ + state?: string; - export interface CompanyMinisterialDecree { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; + /** + * Town or district. + */ + town?: string; + } - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } + export interface Kanji { + /** + * City, district, suburb, town, or village. + */ + city?: string; - export interface CompanyRegistrationVerification { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - export interface CompanyTaxIdVerification { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface PrimaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: PrimaryVerification.FrontBack; - - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } - - export interface ProofOfAddress { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface ProofOfRegistration { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * Person that is signing the document. - */ - signer?: ProofOfRegistration.Signer; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface ProofOfUltimateBeneficialOwnership { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * Person that is signing the document. - */ - signer?: ProofOfUltimateBeneficialOwnership.Signer; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export namespace PrimaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - - export namespace ProofOfRegistration { - export interface Signer { - /** - * Person signing the document. - */ - person: string; - } - } - - export namespace ProofOfUltimateBeneficialOwnership { - export interface Signer { - /** - * Person signing the document. - */ - person: string; - } - } - } - - export namespace IdNumber { - export type Type = - | 'ae_crn' - | 'ae_vat' - | 'ao_nif' - | 'ar_cuit' - | 'at_fn' - | 'at_stn' - | 'at_vat' - | 'au_abn' - | 'au_acn' - | 'au_in' - | 'az_tin' - | 'bd_etin' - | 'be_cbe' - | 'be_vat' - | 'bg_uic' - | 'bg_vat' - | 'br_cnpj' - | 'ca_cn' - | 'ca_crarr' - | 'ca_gst_hst' - | 'ca_neq' - | 'ca_rid' - | 'ch_chid' - | 'ch_uid' - | 'cr_cpj' - | 'cr_nite' - | 'cy_he' - | 'cy_tic' - | 'cy_vat' - | 'cz_ico' - | 'cz_vat' - | 'de_hrn' - | 'de_stn' - | 'de_vat' - | 'dk_cvr' - | 'dk_vat' - | 'do_rcn' - | 'ee_rk' - | 'ee_vat' - | 'es_cif' - | 'es_vat' - | 'fi_vat' - | 'fi_yt' - | 'fr_rna' - | 'fr_siren' - | 'fr_vat' - | 'gb_crn' - | 'gb_vat' - | 'gi_crn' - | 'gr_afm' - | 'gr_gemi' - | 'gr_vat' - | 'gt_nit' - | 'hk_br' - | 'hk_cr' - | 'hr_mbs' - | 'hr_oib' - | 'hr_vat' - | 'hu_cjs' - | 'hu_tin' - | 'hu_vat' - | 'ie_crn' - | 'ie_trn' - | 'ie_vat' - | 'it_rea' - | 'it_vat' - | 'jp_cn' - | 'kz_bin' - | 'li_uid' - | 'lt_ccrn' - | 'lt_vat' - | 'lu_nif' - | 'lu_rcs' - | 'lu_vat' - | 'lv_urn' - | 'lv_vat' - | 'mt_crn' - | 'mt_tin' - | 'mt_vat' - | 'mx_rfc' - | 'my_brn' - | 'my_coid' - | 'my_itn' - | 'my_sst' - | 'mz_nuit' - | 'nl_kvk' - | 'nl_rsin' - | 'nl_vat' - | 'no_orgnr' - | 'nz_bn' - | 'nz_ird' - | 'pe_ruc' - | 'pk_ntn' - | 'pl_nip' - | 'pl_regon' - | 'pl_vat' - | 'pt_vat' - | 'ro_cui' - | 'ro_orc' - | 'ro_vat' - | 'sa_crn' - | 'sa_tin' - | 'se_orgnr' - | 'se_vat' - | 'sg_uen' - | 'si_msp' - | 'si_tin' - | 'si_vat' - | 'sk_dic' - | 'sk_ico' - | 'sk_vat' - | 'th_crn' - | 'th_prn' - | 'th_tin' - | 'us_ein'; - } - - export namespace ScriptAddresses { - export interface Kana { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface Kanji { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - } - - export namespace ScriptNames { - export interface Kana { - /** - * Registered name of the business. - */ - registered_name?: string; - } - - export interface Kanji { - /** - * Registered name of the business. - */ - registered_name?: string; - } - } - } - - export namespace Individual { - export interface AdditionalAddress { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * Purpose of additional address. - */ - purpose: 'registered'; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface AdditionalName { - /** - * The individual's full name. - */ - full_name?: string; - - /** - * The individual's first or given name. - */ - given_name?: string; - - /** - * The purpose or type of the additional name. - */ - purpose: AdditionalName.Purpose; - - /** - * The individual's last or family name. - */ - surname?: string; - } - - export interface AdditionalTermsOfService { - /** - * Stripe terms of service agreement. - */ - account?: AdditionalTermsOfService.Account; - } - - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface DateOfBirth { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - export interface Documents { - /** - * One or more documents that demonstrate proof that this person is authorized to represent the company. - */ - company_authorization?: Documents.CompanyAuthorization; - - /** - * One or more documents showing the person's passport page with photo and personal data. - */ - passport?: Documents.Passport; - - /** - * An identifying document showing the person's name, either a passport or local ID card. - */ - primary_verification?: Documents.PrimaryVerification; - - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - secondary_verification?: Documents.SecondaryVerification; - - /** - * One or more documents showing the person's visa required for living in the country where they are residing. - */ - visa?: Documents.Visa; - } - - export interface IdNumber { - /** - * The ID number type of an individual. - */ - type: IdNumber.Type; - } - - export type LegalGender = 'female' | 'male'; + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - export type PoliticalExposure = 'existing' | 'none'; + /** + * ZIP or postal code. + */ + postal_code?: string; - export interface Relationship { - /** - * Whether the individual is an authorizer of the Account's identity. - */ - authorizer?: boolean; + /** + * State, county, province, or region. + */ + state?: string; - /** - * Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations. - */ - director?: boolean; + /** + * Town or district. + */ + town?: string; + } + } - /** - * Whether the individual has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; + export namespace ScriptNames { + export interface Kana { + /** + * Registered name of the business. + */ + registered_name?: string; + } - /** - * Whether the individual is the legal guardian of the Account's representative. - */ - legal_guardian?: boolean; + export interface Kanji { + /** + * Registered name of the business. + */ + registered_name?: string; + } + } + } - /** - * Whether the individual is an owner of the Account's identity. - */ - owner?: boolean; + export namespace Individual { + export interface AdditionalAddress { + /** + * City, district, suburb, town, or village. + */ + city?: string; - /** - * The percentage of the Account's identity that the individual owns. - */ - percent_ownership?: Decimal; + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - /** - * Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - /** - * The individual's title (e.g., CEO, Support Engineer). - */ - title?: string; - } + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - export interface ScriptAddresses { - /** - * Kana Address. - */ - kana?: ScriptAddresses.Kana; + /** + * ZIP or postal code. + */ + postal_code?: string; - /** - * Kanji Address. - */ - kanji?: ScriptAddresses.Kanji; - } + /** + * Purpose of additional address. + */ + purpose: 'registered'; - export interface ScriptNames { - /** - * Persons name in kana script. - */ - kana?: ScriptNames.Kana; + /** + * State, county, province, or region. + */ + state?: string; - /** - * Persons name in kanji script. - */ - kanji?: ScriptNames.Kanji; - } + /** + * Town or district. + */ + town?: string; + } - export namespace AdditionalName { - export type Purpose = 'alias' | 'maiden'; - } + export interface AdditionalName { + /** + * The individual's full name. + */ + full_name?: string; - export namespace AdditionalTermsOfService { - export interface Account { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; + /** + * The individual's first or given name. + */ + given_name?: string; - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; + /** + * The purpose or type of the additional name. + */ + purpose: AdditionalName.Purpose; - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } + /** + * The individual's last or family name. + */ + surname?: string; + } - export namespace Documents { - export interface CompanyAuthorization { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; + export interface AdditionalTermsOfService { + /** + * Stripe terms of service agreement. + */ + account?: AdditionalTermsOfService.Account; + } - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } + export interface Address { + /** + * City, district, suburb, town, or village. + */ + city?: string; - export interface Passport { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - export interface PrimaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: PrimaryVerification.FrontBack; + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } + /** + * ZIP or postal code. + */ + postal_code?: string; - export interface SecondaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: SecondaryVerification.FrontBack; + /** + * State, county, province, or region. + */ + state?: string; - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } + /** + * Town or district. + */ + town?: string; + } - export interface Visa { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; + export interface DateOfBirth { + /** + * The day of birth, between 1 and 31. + */ + day: number; - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } + /** + * The month of birth, between 1 and 12. + */ + month: number; - export namespace PrimaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; + /** + * The four-digit year of birth. + */ + year: number; + } - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } + export interface Documents { + /** + * One or more documents that demonstrate proof that this person is authorized to represent the company. + */ + company_authorization?: Documents.CompanyAuthorization; - export namespace SecondaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; + /** + * One or more documents showing the person's passport page with photo and personal data. + */ + passport?: Documents.Passport; - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - } + /** + * An identifying document showing the person's name, either a passport or local ID card. + */ + primary_verification?: Documents.PrimaryVerification; - export namespace IdNumber { - export type Type = - | 'ae_eid' - | 'ao_nif' - | 'ar_cuil' - | 'ar_dni' - | 'at_stn' - | 'az_tin' - | 'bd_brc' - | 'bd_etin' - | 'bd_nid' - | 'be_nrn' - | 'bg_ucn' - | 'bn_nric' - | 'br_cpf' - | 'ca_sin' - | 'ch_oasi' - | 'cl_rut' - | 'cn_pp' - | 'co_nuip' - | 'cr_ci' - | 'cr_cpf' - | 'cr_dimex' - | 'cr_nite' - | 'cy_tic' - | 'cz_rc' - | 'de_stn' - | 'dk_cpr' - | 'do_cie' - | 'do_rcn' - | 'ec_ci' - | 'ee_ik' - | 'es_nif' - | 'fi_hetu' - | 'fr_nir' - | 'gb_nino' - | 'gr_afm' - | 'gt_nit' - | 'hk_id' - | 'hr_oib' - | 'hu_ad' - | 'id_nik' - | 'ie_ppsn' - | 'is_kt' - | 'it_cf' - | 'jp_inc' - | 'ke_pin' - | 'kz_iin' - | 'li_peid' - | 'lt_ak' - | 'lu_nif' - | 'lv_pk' - | 'mx_rfc' - | 'my_nric' - | 'mz_nuit' - | 'ng_nin' - | 'nl_bsn' - | 'no_nin' - | 'nz_ird' - | 'pe_dni' - | 'pk_cnic' - | 'pk_snic' - | 'pl_pesel' - | 'pt_nif' - | 'ro_cnp' - | 'sa_tin' - | 'se_pin' - | 'sg_fin' - | 'sg_nric' - | 'sk_dic' - | 'th_lc' - | 'th_pin' - | 'tr_tin' - | 'us_itin' - | 'us_itin_last_4' - | 'us_ssn' - | 'us_ssn_last_4' - | 'uy_dni' - | 'za_id'; - } + /** + * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. + */ + secondary_verification?: Documents.SecondaryVerification; - export namespace ScriptAddresses { - export interface Kana { - /** - * City, district, suburb, town, or village. - */ - city?: string; + /** + * One or more documents showing the person's visa required for living in the country where they are residing. + */ + visa?: Documents.Visa; + } - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; + export interface IdNumber { + /** + * The ID number type of an individual. + */ + type: IdNumber.Type; + } - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; + export type LegalGender = 'female' | 'male'; - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; + export type PoliticalExposure = 'existing' | 'none'; - /** - * ZIP or postal code. - */ - postal_code?: string; + export interface Relationship { + /** + * Whether the individual is an authorizer of the Account's identity. + */ + authorizer?: boolean; - /** - * State, county, province, or region. - */ - state?: string; + /** + * Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations. + */ + director?: boolean; - /** - * Town or district. - */ - town?: string; - } + /** + * Whether the individual has significant responsibility to control, manage, or direct the organization. + */ + executive?: boolean; - export interface Kanji { - /** - * City, district, suburb, town, or village. - */ - city?: string; + /** + * Whether the individual is the legal guardian of the Account's representative. + */ + legal_guardian?: boolean; + + /** + * Whether the individual is an owner of the Account's identity. + */ + owner?: boolean; - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; + /** + * The percentage of the Account's identity that the individual owns. + */ + percent_ownership?: Decimal; - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; + /** + * Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. + */ + representative?: boolean; - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; + /** + * The individual's title (e.g., CEO, Support Engineer). + */ + title?: string; + } - /** - * ZIP or postal code. - */ - postal_code?: string; + export interface ScriptAddresses { + /** + * Kana Address. + */ + kana?: ScriptAddresses.Kana; - /** - * State, county, province, or region. - */ - state?: string; + /** + * Kanji Address. + */ + kanji?: ScriptAddresses.Kanji; + } - /** - * Town or district. - */ - town?: string; - } - } + export interface ScriptNames { + /** + * Persons name in kana script. + */ + kana?: ScriptNames.Kana; - export namespace ScriptNames { - export interface Kana { - /** - * The person's first or given name. - */ - given_name?: string; + /** + * Persons name in kanji script. + */ + kanji?: ScriptNames.Kanji; + } - /** - * The person's last or family name. - */ - surname?: string; - } + export namespace AdditionalName { + export type Purpose = 'alias' | 'maiden'; + } - export interface Kanji { - /** - * The person's first or given name. - */ - given_name?: string; + export namespace AdditionalTermsOfService { + export interface Account { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * The person's last or family name. - */ - surname?: string; - } - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; + + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; } } - export namespace Requirements { - export interface Entry { + export namespace Documents { + export interface CompanyAuthorization { + /** + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. + */ + files: Array; + /** - * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`. + * The format of the document. Currently supports `files` only. */ - awaiting_action_from: Entry.AwaitingActionFrom; + type: 'files'; + } + export interface Passport { /** - * Machine-readable string describing the requirement. + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. */ - description: string; + files: Array; /** - * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe. + * The format of the document. Currently supports `files` only. */ - errors: Array; + type: 'files'; + } + export interface PrimaryVerification { /** - * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information. + * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. */ - impact: Entry.Impact; + front_back: PrimaryVerification.FrontBack; /** - * The soonest point when the account will be impacted by not providing the requirement. + * The format of the verification document. Currently supports `front_back` only. */ - minimum_deadline: Entry.MinimumDeadline; + type: 'front_back'; + } + export interface SecondaryVerification { /** - * A reference to the location of the requirement. + * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. */ - reference?: Entry.Reference; + front_back: SecondaryVerification.FrontBack; /** - * A list of reasons why Stripe is collecting the requirement. + * The format of the verification document. Currently supports `front_back` only. */ - requested_reasons: Array; + type: 'front_back'; } - export interface Summary { + export interface Visa { /** - * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. */ - minimum_deadline?: Summary.MinimumDeadline; - } + files: Array; - export namespace Entry { - export type AwaitingActionFrom = 'stripe' | 'user'; + /** + * The format of the document. Currently supports `files` only. + */ + type: 'files'; + } - export interface Error { + export namespace PrimaryVerification { + export interface FrontBack { /** - * Machine-readable code describing the error. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - code: Error.Code; + back?: string; /** - * Human-readable description of the error. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - description: string; + front: string; } + } - export interface Impact { + export namespace SecondaryVerification { + export interface FrontBack { /** - * The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - restricts_capabilities?: Array; - } + back?: string; - export interface MinimumDeadline { /** - * The current status of the requirement's impact. + * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - status: MinimumDeadline.Status; + front: string; } + } + } - export interface Reference { - /** - * If `inquiry` is the type, the inquiry token. - */ - inquiry?: string; + export namespace IdNumber { + export type Type = + | 'ae_eid' + | 'ao_nif' + | 'ar_cuil' + | 'ar_dni' + | 'at_stn' + | 'az_tin' + | 'bd_brc' + | 'bd_etin' + | 'bd_nid' + | 'be_nrn' + | 'bg_ucn' + | 'bn_nric' + | 'br_cpf' + | 'ca_sin' + | 'ch_oasi' + | 'cl_rut' + | 'cn_pp' + | 'co_nuip' + | 'cr_ci' + | 'cr_cpf' + | 'cr_dimex' + | 'cr_nite' + | 'cy_tic' + | 'cz_rc' + | 'de_stn' + | 'dk_cpr' + | 'do_cie' + | 'do_rcn' + | 'ec_ci' + | 'ee_ik' + | 'es_nif' + | 'fi_hetu' + | 'fr_nir' + | 'gb_nino' + | 'gr_afm' + | 'gt_nit' + | 'hk_id' + | 'hr_oib' + | 'hu_ad' + | 'id_nik' + | 'ie_ppsn' + | 'is_kt' + | 'it_cf' + | 'jp_inc' + | 'ke_pin' + | 'kz_iin' + | 'li_peid' + | 'lt_ak' + | 'lu_nif' + | 'lv_pk' + | 'mx_rfc' + | 'my_nric' + | 'mz_nuit' + | 'ng_nin' + | 'nl_bsn' + | 'no_nin' + | 'nz_ird' + | 'pe_dni' + | 'pk_cnic' + | 'pk_snic' + | 'pl_pesel' + | 'pt_nif' + | 'ro_cnp' + | 'sa_tin' + | 'se_pin' + | 'sg_fin' + | 'sg_nric' + | 'sk_dic' + | 'th_lc' + | 'th_pin' + | 'tr_tin' + | 'us_itin' + | 'us_itin_last_4' + | 'us_ssn' + | 'us_ssn_last_4' + | 'uy_dni' + | 'za_id'; + } - /** - * If `resource` is the type, the resource token. - */ - resource?: string; + export namespace ScriptAddresses { + export interface Kana { + /** + * City, district, suburb, town, or village. + */ + city?: string; - /** - * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. - * Otherwise the type is an API resource, the token for which can be found in the "resource" field. - */ - type: Reference.Type; - } + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - export interface RequestedReason { - /** - * Machine-readable description of Stripe's reason for collecting the requirement. - */ - code: RequestedReason.Code; - } + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - export namespace Error { - export type Code = - | 'invalid_address_city_state_postal_code' - | 'invalid_address_highway_contract_box' - | 'invalid_address_private_mailbox' - | 'invalid_business_profile_name' - | 'invalid_business_profile_name_denylisted' - | 'invalid_company_name_denylisted' - | 'invalid_dob_age_over_maximum' - | 'invalid_dob_age_under_18' - | 'invalid_dob_age_under_minimum' - | 'invalid_product_description_length' - | 'invalid_product_description_url_match' - | 'invalid_representative_country' - | 'invalid_statement_descriptor_business_mismatch' - | 'invalid_statement_descriptor_denylisted' - | 'invalid_statement_descriptor_length' - | 'invalid_statement_descriptor_prefix_denylisted' - | 'invalid_statement_descriptor_prefix_mismatch' - | 'invalid_street_address' - | 'invalid_tax_id' - | 'invalid_tax_id_format' - | 'invalid_tos_acceptance' - | 'invalid_url_denylisted' - | 'invalid_url_format' - | 'invalid_url_website_business_information_mismatch' - | 'invalid_url_website_empty' - | 'invalid_url_website_inaccessible' - | 'invalid_url_website_inaccessible_geoblocked' - | 'invalid_url_website_inaccessible_password_protected' - | 'invalid_url_website_incomplete' - | 'invalid_url_website_incomplete_cancellation_policy' - | 'invalid_url_website_incomplete_customer_service_details' - | 'invalid_url_website_incomplete_legal_restrictions' - | 'invalid_url_website_incomplete_refund_policy' - | 'invalid_url_website_incomplete_return_policy' - | 'invalid_url_website_incomplete_terms_and_conditions' - | 'invalid_url_website_incomplete_under_construction' - | 'invalid_url_website_other' - | 'invalid_url_web_presence_detected' - | 'invalid_value_other' - | 'unresolvable_ip_address' - | 'unresolvable_postal_code' - | 'verification_directors_mismatch' - | 'verification_document_address_mismatch' - | 'verification_document_address_missing' - | 'verification_document_corrupt' - | 'verification_document_country_not_supported' - | 'verification_document_directors_mismatch' - | 'verification_document_dob_mismatch' - | 'verification_document_duplicate_type' - | 'verification_document_expired' - | 'verification_document_failed_copy' - | 'verification_document_failed_greyscale' - | 'verification_document_failed_other' - | 'verification_document_failed_test_mode' - | 'verification_document_fraudulent' - | 'verification_document_id_number_mismatch' - | 'verification_document_id_number_missing' - | 'verification_document_incomplete' - | 'verification_document_invalid' - | 'verification_document_issue_or_expiry_date_missing' - | 'verification_document_manipulated' - | 'verification_document_missing_back' - | 'verification_document_missing_front' - | 'verification_document_name_mismatch' - | 'verification_document_name_missing' - | 'verification_document_nationality_mismatch' - | 'verification_document_not_readable' - | 'verification_document_not_signed' - | 'verification_document_not_uploaded' - | 'verification_document_photo_mismatch' - | 'verification_document_too_large' - | 'verification_document_type_not_supported' - | 'verification_extraneous_directors' - | 'verification_failed_address_match' - | 'verification_failed_business_iec_number' - | 'verification_failed_document_match' - | 'verification_failed_id_number_match' - | 'verification_failed_keyed_identity' - | 'verification_failed_keyed_match' - | 'verification_failed_name_match' - | 'verification_failed_other' - | 'verification_failed_representative_authority' - | 'verification_failed_residential_address' - | 'verification_failed_tax_id_match' - | 'verification_failed_tax_id_not_issued' - | 'verification_missing_directors' - | 'verification_missing_executives' - | 'verification_missing_owners' - | 'verification_requires_additional_memorandum_of_associations' - | 'verification_requires_additional_proof_of_registration' - | 'verification_selfie_document_missing_photo' - | 'verification_selfie_face_mismatch' - | 'verification_selfie_manipulated' - | 'verification_selfie_unverified_other' - | 'verification_supportability' - | 'verification_token_stale'; - } - - export namespace Impact { - export interface RestrictsCapability { - /** - * The name of the Capability which will be restricted. - */ - capability: RestrictsCapability.Capability; - - /** - * The configuration which specifies the Capability which will be restricted. - */ - configuration: RestrictsCapability.Configuration; - - /** - * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. - */ - deadline: RestrictsCapability.Deadline; - } - - export namespace RestrictsCapability { - export type Capability = - | 'ach_debit_payments' - | 'acss_debit_payments' - | 'affirm_payments' - | 'afterpay_clearpay_payments' - | 'alma_payments' - | 'amazon_pay_payments' - | 'automatic_indirect_tax' - | 'au_becs_debit_payments' - | 'bacs_debit_payments' - | 'bancontact_payments' - | 'bank_accounts.local' - | 'bank_accounts.wire' - | 'blik_payments' - | 'boleto_payments' - | 'cards' - | 'card_payments' - | 'cartes_bancaires_payments' - | 'cashapp_payments' - | 'eps_payments' - | 'fpx_payments' - | 'gb_bank_transfer_payments' - | 'grabpay_payments' - | 'ideal_payments' - | 'jcb_payments' - | 'jp_bank_transfer_payments' - | 'kakao_pay_payments' - | 'klarna_payments' - | 'konbini_payments' - | 'kr_card_payments' - | 'link_payments' - | 'mobilepay_payments' - | 'multibanco_payments' - | 'mx_bank_transfer_payments' - | 'naver_pay_payments' - | 'oxxo_payments' - | 'p24_payments' - | 'payco_payments' - | 'paynow_payments' - | 'pay_by_bank_payments' - | 'promptpay_payments' - | 'revolut_pay_payments' - | 'samsung_pay_payments' - | 'sepa_bank_transfer_payments' - | 'sepa_debit_payments' - | 'stripe_balance.payouts' - | 'stripe_balance.stripe_transfers' - | 'swish_payments' - | 'twint_payments' - | 'us_bank_transfer_payments' - | 'zip_payments'; - - export type Configuration = 'customer' | 'merchant' | 'recipient'; - - export interface Deadline { - /** - * The current status of the requirement's impact. - */ - status: Deadline.Status; - } + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - export namespace Deadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } - } - } + /** + * ZIP or postal code. + */ + postal_code?: string; - export namespace MinimumDeadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } + /** + * State, county, province, or region. + */ + state?: string; - export namespace Reference { - export type Type = 'inquiry' | 'payment_method' | 'person'; - } + /** + * Town or district. + */ + town?: string; + } - export namespace RequestedReason { - export type Code = 'routine_onboarding' | 'routine_verification'; - } + export interface Kanji { + /** + * City, district, suburb, town, or village. + */ + city?: string; + + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; + + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; + + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; + + /** + * ZIP or postal code. + */ + postal_code?: string; + + /** + * State, county, province, or region. + */ + state?: string; + + /** + * Town or district. + */ + town?: string; } + } - export namespace Summary { - export interface MinimumDeadline { - /** - * The current strictest status of all requirements on the Account. - */ - status: MinimumDeadline.Status; + export namespace ScriptNames { + export interface Kana { + /** + * The person's first or given name. + */ + given_name?: string; + + /** + * The person's last or family name. + */ + surname?: string; + } + + export interface Kanji { + /** + * The person's first or given name. + */ + given_name?: string; + + /** + * The person's last or family name. + */ + surname?: string; + } + } + } + } + + export namespace Requirements { + export interface Entry { + /** + * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`. + */ + awaiting_action_from: Entry.AwaitingActionFrom; + + /** + * Machine-readable string describing the requirement. + */ + description: string; + + /** + * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe. + */ + errors: Array; + + /** + * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information. + */ + impact: Entry.Impact; + + /** + * The soonest point when the account will be impacted by not providing the requirement. + */ + minimum_deadline: Entry.MinimumDeadline; + + /** + * A reference to the location of the requirement. + */ + reference?: Entry.Reference; + + /** + * A list of reasons why Stripe is collecting the requirement. + */ + requested_reasons: Array; + } + + export interface Summary { + /** + * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + */ + minimum_deadline?: Summary.MinimumDeadline; + } + + export namespace Entry { + export type AwaitingActionFrom = 'stripe' | 'user'; + + export interface Error { + /** + * Machine-readable code describing the error. + */ + code: Error.Code; + + /** + * Human-readable description of the error. + */ + description: string; + } + + export interface Impact { + /** + * The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe. + */ + restricts_capabilities?: Array; + } + + export interface MinimumDeadline { + /** + * The current status of the requirement's impact. + */ + status: MinimumDeadline.Status; + } + + export interface Reference { + /** + * If `inquiry` is the type, the inquiry token. + */ + inquiry?: string; + + /** + * If `resource` is the type, the resource token. + */ + resource?: string; + + /** + * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. + * Otherwise the type is an API resource, the token for which can be found in the "resource" field. + */ + type: Reference.Type; + } + + export interface RequestedReason { + /** + * Machine-readable description of Stripe's reason for collecting the requirement. + */ + code: RequestedReason.Code; + } + + export namespace Error { + export type Code = + | 'invalid_address_city_state_postal_code' + | 'invalid_address_highway_contract_box' + | 'invalid_address_private_mailbox' + | 'invalid_business_profile_name' + | 'invalid_business_profile_name_denylisted' + | 'invalid_company_name_denylisted' + | 'invalid_dob_age_over_maximum' + | 'invalid_dob_age_under_18' + | 'invalid_dob_age_under_minimum' + | 'invalid_product_description_length' + | 'invalid_product_description_url_match' + | 'invalid_representative_country' + | 'invalid_statement_descriptor_business_mismatch' + | 'invalid_statement_descriptor_denylisted' + | 'invalid_statement_descriptor_length' + | 'invalid_statement_descriptor_prefix_denylisted' + | 'invalid_statement_descriptor_prefix_mismatch' + | 'invalid_street_address' + | 'invalid_tax_id' + | 'invalid_tax_id_format' + | 'invalid_tos_acceptance' + | 'invalid_url_denylisted' + | 'invalid_url_format' + | 'invalid_url_website_business_information_mismatch' + | 'invalid_url_website_empty' + | 'invalid_url_website_inaccessible' + | 'invalid_url_website_inaccessible_geoblocked' + | 'invalid_url_website_inaccessible_password_protected' + | 'invalid_url_website_incomplete' + | 'invalid_url_website_incomplete_cancellation_policy' + | 'invalid_url_website_incomplete_customer_service_details' + | 'invalid_url_website_incomplete_legal_restrictions' + | 'invalid_url_website_incomplete_refund_policy' + | 'invalid_url_website_incomplete_return_policy' + | 'invalid_url_website_incomplete_terms_and_conditions' + | 'invalid_url_website_incomplete_under_construction' + | 'invalid_url_website_other' + | 'invalid_url_web_presence_detected' + | 'invalid_value_other' + | 'unresolvable_ip_address' + | 'unresolvable_postal_code' + | 'verification_directors_mismatch' + | 'verification_document_address_mismatch' + | 'verification_document_address_missing' + | 'verification_document_corrupt' + | 'verification_document_country_not_supported' + | 'verification_document_directors_mismatch' + | 'verification_document_dob_mismatch' + | 'verification_document_duplicate_type' + | 'verification_document_expired' + | 'verification_document_failed_copy' + | 'verification_document_failed_greyscale' + | 'verification_document_failed_other' + | 'verification_document_failed_test_mode' + | 'verification_document_fraudulent' + | 'verification_document_id_number_mismatch' + | 'verification_document_id_number_missing' + | 'verification_document_incomplete' + | 'verification_document_invalid' + | 'verification_document_issue_or_expiry_date_missing' + | 'verification_document_manipulated' + | 'verification_document_missing_back' + | 'verification_document_missing_front' + | 'verification_document_name_mismatch' + | 'verification_document_name_missing' + | 'verification_document_nationality_mismatch' + | 'verification_document_not_readable' + | 'verification_document_not_signed' + | 'verification_document_not_uploaded' + | 'verification_document_photo_mismatch' + | 'verification_document_too_large' + | 'verification_document_type_not_supported' + | 'verification_extraneous_directors' + | 'verification_failed_address_match' + | 'verification_failed_business_iec_number' + | 'verification_failed_document_match' + | 'verification_failed_id_number_match' + | 'verification_failed_keyed_identity' + | 'verification_failed_keyed_match' + | 'verification_failed_name_match' + | 'verification_failed_other' + | 'verification_failed_representative_authority' + | 'verification_failed_residential_address' + | 'verification_failed_tax_id_match' + | 'verification_failed_tax_id_not_issued' + | 'verification_missing_directors' + | 'verification_missing_executives' + | 'verification_missing_owners' + | 'verification_requires_additional_memorandum_of_associations' + | 'verification_requires_additional_proof_of_registration' + | 'verification_selfie_document_missing_photo' + | 'verification_selfie_face_mismatch' + | 'verification_selfie_manipulated' + | 'verification_selfie_unverified_other' + | 'verification_supportability' + | 'verification_token_stale'; + } + + export namespace Impact { + export interface RestrictsCapability { + /** + * The name of the Capability which will be restricted. + */ + capability: RestrictsCapability.Capability; + /** + * The configuration which specifies the Capability which will be restricted. + */ + configuration: RestrictsCapability.Configuration; + + /** + * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. + */ + deadline: RestrictsCapability.Deadline; + } + + export namespace RestrictsCapability { + export type Capability = + | 'ach_debit_payments' + | 'acss_debit_payments' + | 'affirm_payments' + | 'afterpay_clearpay_payments' + | 'alma_payments' + | 'amazon_pay_payments' + | 'automatic_indirect_tax' + | 'au_becs_debit_payments' + | 'bacs_debit_payments' + | 'bancontact_payments' + | 'bank_accounts.local' + | 'bank_accounts.wire' + | 'blik_payments' + | 'boleto_payments' + | 'cards' + | 'card_payments' + | 'cartes_bancaires_payments' + | 'cashapp_payments' + | 'eps_payments' + | 'fpx_payments' + | 'gb_bank_transfer_payments' + | 'grabpay_payments' + | 'ideal_payments' + | 'jcb_payments' + | 'jp_bank_transfer_payments' + | 'kakao_pay_payments' + | 'klarna_payments' + | 'konbini_payments' + | 'kr_card_payments' + | 'link_payments' + | 'mobilepay_payments' + | 'multibanco_payments' + | 'mx_bank_transfer_payments' + | 'naver_pay_payments' + | 'oxxo_payments' + | 'p24_payments' + | 'payco_payments' + | 'paynow_payments' + | 'pay_by_bank_payments' + | 'promptpay_payments' + | 'revolut_pay_payments' + | 'samsung_pay_payments' + | 'sepa_bank_transfer_payments' + | 'sepa_debit_payments' + | 'stripe_balance.payouts' + | 'stripe_balance.stripe_transfers' + | 'swish_payments' + | 'twint_payments' + | 'us_bank_transfer_payments' + | 'zip_payments'; + + export type Configuration = 'customer' | 'merchant' | 'recipient'; + + export interface Deadline { /** - * The soonest RFC3339 date & time UTC value a requirement can impact the Account. + * The current status of the requirement's impact. */ - time?: string; + status: Deadline.Status; } - export namespace MinimumDeadline { + export namespace Deadline { export type Status = | 'currently_due' | 'eventually_due' @@ -5689,6 +5643,36 @@ export namespace V2 { } } } + + export namespace MinimumDeadline { + export type Status = 'currently_due' | 'eventually_due' | 'past_due'; + } + + export namespace Reference { + export type Type = 'inquiry' | 'payment_method' | 'person'; + } + + export namespace RequestedReason { + export type Code = 'routine_onboarding' | 'routine_verification'; + } + } + + export namespace Summary { + export interface MinimumDeadline { + /** + * The current strictest status of all requirements on the Account. + */ + status: MinimumDeadline.Status; + + /** + * The soonest RFC3339 date & time UTC value a requirement can impact the Account. + */ + time?: string; + } + + export namespace MinimumDeadline { + export type Status = 'currently_due' | 'eventually_due' | 'past_due'; + } } } } diff --git a/src/resources/V2/Core/EventDestinations.ts b/src/resources/V2/Core/EventDestinations.ts index 9a3c55936b..7ae0005d9a 100644 --- a/src/resources/V2/Core/EventDestinations.ts +++ b/src/resources/V2/Core/EventDestinations.ts @@ -143,12 +143,12 @@ export interface EventDestination { /** * Amazon EventBridge configuration. */ - amazon_eventbridge?: V2.Core.EventDestination.AmazonEventbridge; + amazon_eventbridge?: EventDestination.AmazonEventbridge; /** * Azure Event Grid configuration. */ - azure_event_grid?: V2.Core.EventDestination.AzureEventGrid; + azure_event_grid?: EventDestination.AzureEventGrid; /** * Time at which the object was created. @@ -168,7 +168,7 @@ export interface EventDestination { /** * Payload type of events being subscribed to. */ - event_payload: V2.Core.EventDestination.EventPayload; + event_payload: EventDestination.EventPayload; /** * Specifies which accounts' events route to this destination. @@ -202,17 +202,17 @@ export interface EventDestination { /** * Status. It can be set to either enabled or disabled. */ - status: V2.Core.EventDestination.Status; + status: EventDestination.Status; /** * Additional information about event destination status. */ - status_details?: V2.Core.EventDestination.StatusDetails; + status_details?: EventDestination.StatusDetails; /** * Event destination type. */ - type: V2.Core.EventDestination.Type; + type: EventDestination.Type; /** * Time at which the object was last updated. @@ -222,114 +222,110 @@ export interface EventDestination { /** * Webhook endpoint configuration. */ - webhook_endpoint?: V2.Core.EventDestination.WebhookEndpoint; + webhook_endpoint?: EventDestination.WebhookEndpoint; } -export namespace V2 { - export namespace Core { - export namespace EventDestination { - export interface AmazonEventbridge { - /** - * The AWS account ID. - */ - aws_account_id: string; - - /** - * The ARN of the AWS event source. - */ - aws_event_source_arn: string; - - /** - * The state of the AWS event source. - */ - aws_event_source_status: AmazonEventbridge.AwsEventSourceStatus; - } - - export interface AzureEventGrid { - /** - * The name of the Azure partner topic. - */ - azure_partner_topic_name: string; - - /** - * The status of the Azure partner topic. - */ - azure_partner_topic_status: AzureEventGrid.AzurePartnerTopicStatus; - - /** - * The Azure region. - */ - azure_region: string; - - /** - * The name of the Azure resource group. - */ - azure_resource_group_name: string; - - /** - * The Azure subscription ID. - */ - azure_subscription_id: string; - } +export namespace EventDestination { + export interface AmazonEventbridge { + /** + * The AWS account ID. + */ + aws_account_id: string; + + /** + * The ARN of the AWS event source. + */ + aws_event_source_arn: string; + + /** + * The state of the AWS event source. + */ + aws_event_source_status: AmazonEventbridge.AwsEventSourceStatus; + } - export type EventPayload = 'snapshot' | 'thin'; + export interface AzureEventGrid { + /** + * The name of the Azure partner topic. + */ + azure_partner_topic_name: string; + + /** + * The status of the Azure partner topic. + */ + azure_partner_topic_status: AzureEventGrid.AzurePartnerTopicStatus; + + /** + * The Azure region. + */ + azure_region: string; + + /** + * The name of the Azure resource group. + */ + azure_resource_group_name: string; + + /** + * The Azure subscription ID. + */ + azure_subscription_id: string; + } - export type Status = 'disabled' | 'enabled'; + export type EventPayload = 'snapshot' | 'thin'; - export interface StatusDetails { - /** - * Details about why the event destination has been disabled. - */ - disabled?: StatusDetails.Disabled; - } + export type Status = 'disabled' | 'enabled'; - export type Type = - | 'amazon_eventbridge' - | 'azure_event_grid' - | 'webhook_endpoint'; + export interface StatusDetails { + /** + * Details about why the event destination has been disabled. + */ + disabled?: StatusDetails.Disabled; + } - export interface WebhookEndpoint { - /** - * The signing secret of the webhook endpoint, only includable on creation. - */ - signing_secret?: string; + export type Type = + | 'amazon_eventbridge' + | 'azure_event_grid' + | 'webhook_endpoint'; + + export interface WebhookEndpoint { + /** + * The signing secret of the webhook endpoint, only includable on creation. + */ + signing_secret?: string; + + /** + * The URL of the webhook endpoint, includable. + */ + url?: string; + } - /** - * The URL of the webhook endpoint, includable. - */ - url?: string; - } + export namespace AmazonEventbridge { + export type AwsEventSourceStatus = + | 'active' + | 'deleted' + | 'pending' + | 'unknown'; + } - export namespace AmazonEventbridge { - export type AwsEventSourceStatus = - | 'active' - | 'deleted' - | 'pending' - | 'unknown'; - } + export namespace AzureEventGrid { + export type AzurePartnerTopicStatus = + | 'activated' + | 'deleted' + | 'never_activated' + | 'unknown'; + } - export namespace AzureEventGrid { - export type AzurePartnerTopicStatus = - | 'activated' - | 'deleted' - | 'never_activated' - | 'unknown'; - } + export namespace StatusDetails { + export interface Disabled { + /** + * Reason event destination has been disabled. + */ + reason: Disabled.Reason; + } - export namespace StatusDetails { - export interface Disabled { - /** - * Reason event destination has been disabled. - */ - reason: Disabled.Reason; - } - - export namespace Disabled { - export type Reason = - | 'no_aws_event_source_exists' - | 'no_azure_partner_topic_exists' - | 'user'; - } - } + export namespace Disabled { + export type Reason = + | 'no_aws_event_source_exists' + | 'no_azure_partner_topic_exists' + | 'user'; } } } diff --git a/src/resources/V2/Core/Events.ts b/src/resources/V2/Core/Events.ts index 57633bd699..4a88193ac6 100644 --- a/src/resources/V2/Core/Events.ts +++ b/src/resources/V2/Core/Events.ts @@ -84,7 +84,7 @@ export interface EventBase { /** * Before and after changes for the primary related object. */ - changes?: V2.Core.Event.Changes; + changes?: Event.Changes; /** * Authentication context needed to fetch the event or related object. @@ -104,45 +104,41 @@ export interface EventBase { /** * Reason for the event. */ - reason?: V2.Core.Event.Reason; + reason?: Event.Reason; /** * The type of the event. */ type: string; } -export namespace V2 { - export namespace Core { - export namespace Event { - export type Changes = { - [key: string]: unknown; - }; +export namespace Event { + export type Changes = { + [key: string]: unknown; + }; - export interface Reason { - /** - * Information on the API request that instigated the event. - */ - request?: Reason.Request; + export interface Reason { + /** + * Information on the API request that instigated the event. + */ + request?: Reason.Request; - /** - * Event reason type. - */ - type: 'request'; - } + /** + * Event reason type. + */ + type: 'request'; + } - export namespace Reason { - export interface Request { - /** - * ID of the API request that caused the event. - */ - id: string; + export namespace Reason { + export interface Request { + /** + * ID of the API request that caused the event. + */ + id: string; - /** - * The idempotency key transmitted during the request. - */ - idempotency_key: string; - } - } + /** + * The idempotency key transmitted during the request. + */ + idempotency_key: string; } } } diff --git a/src/stripe.cjs.node.ts b/src/stripe.cjs.node.ts index 48168d85c0..3be37c6d21 100644 --- a/src/stripe.cjs.node.ts +++ b/src/stripe.cjs.node.ts @@ -513,6 +513,163 @@ declare namespace StripeConstructor { export type Settings = Stripe.AccountCreateParams.Settings; export type TosAcceptance = Stripe.AccountCreateParams.TosAcceptance; export type Type = Stripe.AccountCreateParams.Type; + export namespace BusinessProfile { + export type AnnualRevenue = Stripe.AccountCreateParams.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe.AccountCreateParams.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe.AccountCreateParams.BusinessProfile.MonthlyEstimatedRevenue; + } + export namespace Capabilities { + export type AcssDebitPayments = Stripe.AccountCreateParams.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe.AccountCreateParams.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe.AccountCreateParams.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe.AccountCreateParams.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe.AccountCreateParams.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe.AccountCreateParams.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe.AccountCreateParams.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe.AccountCreateParams.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe.AccountCreateParams.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe.AccountCreateParams.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe.AccountCreateParams.Capabilities.BilliePayments; + export type BizumPayments = Stripe.AccountCreateParams.Capabilities.BizumPayments; + export type BlikPayments = Stripe.AccountCreateParams.Capabilities.BlikPayments; + export type BoletoPayments = Stripe.AccountCreateParams.Capabilities.BoletoPayments; + export type CardIssuing = Stripe.AccountCreateParams.Capabilities.CardIssuing; + export type CardPayments = Stripe.AccountCreateParams.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe.AccountCreateParams.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe.AccountCreateParams.Capabilities.CashappPayments; + export type CryptoPayments = Stripe.AccountCreateParams.Capabilities.CryptoPayments; + export type EpsPayments = Stripe.AccountCreateParams.Capabilities.EpsPayments; + export type FpxPayments = Stripe.AccountCreateParams.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe.AccountCreateParams.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe.AccountCreateParams.Capabilities.GiropayPayments; + export type GrabpayPayments = Stripe.AccountCreateParams.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe.AccountCreateParams.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe.AccountCreateParams.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe.AccountCreateParams.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe.AccountCreateParams.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe.AccountCreateParams.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe.AccountCreateParams.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe.AccountCreateParams.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe.AccountCreateParams.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe.AccountCreateParams.Capabilities.LegacyPayments; + export type LinkPayments = Stripe.AccountCreateParams.Capabilities.LinkPayments; + export type MbWayPayments = Stripe.AccountCreateParams.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe.AccountCreateParams.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe.AccountCreateParams.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe.AccountCreateParams.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe.AccountCreateParams.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe.AccountCreateParams.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe.AccountCreateParams.Capabilities.OxxoPayments; + export type P24Payments = Stripe.AccountCreateParams.Capabilities.P24Payments; + export type PayByBankPayments = Stripe.AccountCreateParams.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe.AccountCreateParams.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe.AccountCreateParams.Capabilities.PaynowPayments; + export type PaytoPayments = Stripe.AccountCreateParams.Capabilities.PaytoPayments; + export type PixPayments = Stripe.AccountCreateParams.Capabilities.PixPayments; + export type PromptpayPayments = Stripe.AccountCreateParams.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe.AccountCreateParams.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe.AccountCreateParams.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe.AccountCreateParams.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe.AccountCreateParams.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe.AccountCreateParams.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe.AccountCreateParams.Capabilities.SepaDebitPayments; + export type SofortPayments = Stripe.AccountCreateParams.Capabilities.SofortPayments; + export type SunbitPayments = Stripe.AccountCreateParams.Capabilities.SunbitPayments; + export type SwishPayments = Stripe.AccountCreateParams.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe.AccountCreateParams.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe.AccountCreateParams.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe.AccountCreateParams.Capabilities.Transfers; + export type Treasury = Stripe.AccountCreateParams.Capabilities.Treasury; + export type TwintPayments = Stripe.AccountCreateParams.Capabilities.TwintPayments; + export type UpiPayments = Stripe.AccountCreateParams.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe.AccountCreateParams.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe.AccountCreateParams.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe.AccountCreateParams.Capabilities.ZipPayments; + } + export namespace Company { + export type DirectorshipDeclaration = Stripe.AccountCreateParams.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe.AccountCreateParams.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe.AccountCreateParams.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe.AccountCreateParams.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe.AccountCreateParams.Company.RepresentativeDeclaration; + export type Structure = Stripe.AccountCreateParams.Company.Structure; + export type Verification = Stripe.AccountCreateParams.Company.Verification; + export namespace Verification { + export type Document = Stripe.AccountCreateParams.Company.Verification.Document; + } + } + export namespace Controller { + export type Fees = Stripe.AccountCreateParams.Controller.Fees; + export type Losses = Stripe.AccountCreateParams.Controller.Losses; + export type RequirementCollection = Stripe.AccountCreateParams.Controller.RequirementCollection; + export type StripeDashboard = Stripe.AccountCreateParams.Controller.StripeDashboard; + export namespace Fees { + export type Payer = Stripe.AccountCreateParams.Controller.Fees.Payer; + } + export namespace Losses { + export type Payments = Stripe.AccountCreateParams.Controller.Losses.Payments; + } + export namespace StripeDashboard { + export type Type = Stripe.AccountCreateParams.Controller.StripeDashboard.Type; + } + } + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe.AccountCreateParams.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe.AccountCreateParams.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe.AccountCreateParams.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe.AccountCreateParams.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe.AccountCreateParams.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe.AccountCreateParams.Documents.CompanyTaxIdVerification; + export type ProofOfAddress = Stripe.AccountCreateParams.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe.AccountCreateParams.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe.AccountCreateParams.Documents.ProofOfUltimateBeneficialOwnership; + export namespace ProofOfRegistration { + export type Signer = Stripe.AccountCreateParams.Documents.ProofOfRegistration.Signer; + } + export namespace ProofOfUltimateBeneficialOwnership { + export type Signer = Stripe.AccountCreateParams.Documents.ProofOfUltimateBeneficialOwnership.Signer; + } + } + export namespace Individual { + export type Dob = Stripe.AccountCreateParams.Individual.Dob; + export type PoliticalExposure = Stripe.AccountCreateParams.Individual.PoliticalExposure; + export type Relationship = Stripe.AccountCreateParams.Individual.Relationship; + export type Verification = Stripe.AccountCreateParams.Individual.Verification; + export namespace Verification { + export type AdditionalDocument = Stripe.AccountCreateParams.Individual.Verification.AdditionalDocument; + export type Document = Stripe.AccountCreateParams.Individual.Verification.Document; + } + } + export namespace Settings { + export type BacsDebitPayments = Stripe.AccountCreateParams.Settings.BacsDebitPayments; + export type Branding = Stripe.AccountCreateParams.Settings.Branding; + export type CardIssuing = Stripe.AccountCreateParams.Settings.CardIssuing; + export type CardPayments = Stripe.AccountCreateParams.Settings.CardPayments; + export type Invoices = Stripe.AccountCreateParams.Settings.Invoices; + export type Payments = Stripe.AccountCreateParams.Settings.Payments; + export type Payouts = Stripe.AccountCreateParams.Settings.Payouts; + export type Treasury = Stripe.AccountCreateParams.Settings.Treasury; + export namespace CardIssuing { + export type TosAcceptance = Stripe.AccountCreateParams.Settings.CardIssuing.TosAcceptance; + } + export namespace CardPayments { + export type DeclineOn = Stripe.AccountCreateParams.Settings.CardPayments.DeclineOn; + } + export namespace Invoices { + export type HostedPaymentMethodSave = Stripe.AccountCreateParams.Settings.Invoices.HostedPaymentMethodSave; + } + export namespace Payouts { + export type Schedule = Stripe.AccountCreateParams.Settings.Payouts.Schedule; + export namespace Schedule { + export type Interval = Stripe.AccountCreateParams.Settings.Payouts.Schedule.Interval; + export type WeeklyAnchor = Stripe.AccountCreateParams.Settings.Payouts.Schedule.WeeklyAnchor; + export type WeeklyPayoutDay = Stripe.AccountCreateParams.Settings.Payouts.Schedule.WeeklyPayoutDay; + } + } + export namespace Treasury { + export type TosAcceptance = Stripe.AccountCreateParams.Settings.Treasury.TosAcceptance; + } + } } export namespace AccountUpdateParams { export type BusinessProfile = Stripe.AccountUpdateParams.BusinessProfile; @@ -527,11 +684,159 @@ declare namespace StripeConstructor { export type Individual = Stripe.AccountUpdateParams.Individual; export type Settings = Stripe.AccountUpdateParams.Settings; export type TosAcceptance = Stripe.AccountUpdateParams.TosAcceptance; + export namespace BankAccount { + export type AccountHolderType = Stripe.AccountUpdateParams.BankAccount.AccountHolderType; + } + export namespace BusinessProfile { + export type AnnualRevenue = Stripe.AccountUpdateParams.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe.AccountUpdateParams.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe.AccountUpdateParams.BusinessProfile.MonthlyEstimatedRevenue; + } + export namespace Capabilities { + export type AcssDebitPayments = Stripe.AccountUpdateParams.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe.AccountUpdateParams.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe.AccountUpdateParams.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe.AccountUpdateParams.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe.AccountUpdateParams.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe.AccountUpdateParams.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe.AccountUpdateParams.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe.AccountUpdateParams.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe.AccountUpdateParams.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe.AccountUpdateParams.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe.AccountUpdateParams.Capabilities.BilliePayments; + export type BizumPayments = Stripe.AccountUpdateParams.Capabilities.BizumPayments; + export type BlikPayments = Stripe.AccountUpdateParams.Capabilities.BlikPayments; + export type BoletoPayments = Stripe.AccountUpdateParams.Capabilities.BoletoPayments; + export type CardIssuing = Stripe.AccountUpdateParams.Capabilities.CardIssuing; + export type CardPayments = Stripe.AccountUpdateParams.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe.AccountUpdateParams.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe.AccountUpdateParams.Capabilities.CashappPayments; + export type CryptoPayments = Stripe.AccountUpdateParams.Capabilities.CryptoPayments; + export type EpsPayments = Stripe.AccountUpdateParams.Capabilities.EpsPayments; + export type FpxPayments = Stripe.AccountUpdateParams.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe.AccountUpdateParams.Capabilities.GiropayPayments; + export type GrabpayPayments = Stripe.AccountUpdateParams.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe.AccountUpdateParams.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe.AccountUpdateParams.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe.AccountUpdateParams.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe.AccountUpdateParams.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe.AccountUpdateParams.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe.AccountUpdateParams.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe.AccountUpdateParams.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe.AccountUpdateParams.Capabilities.LegacyPayments; + export type LinkPayments = Stripe.AccountUpdateParams.Capabilities.LinkPayments; + export type MbWayPayments = Stripe.AccountUpdateParams.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe.AccountUpdateParams.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe.AccountUpdateParams.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe.AccountUpdateParams.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe.AccountUpdateParams.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe.AccountUpdateParams.Capabilities.OxxoPayments; + export type P24Payments = Stripe.AccountUpdateParams.Capabilities.P24Payments; + export type PayByBankPayments = Stripe.AccountUpdateParams.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe.AccountUpdateParams.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe.AccountUpdateParams.Capabilities.PaynowPayments; + export type PaytoPayments = Stripe.AccountUpdateParams.Capabilities.PaytoPayments; + export type PixPayments = Stripe.AccountUpdateParams.Capabilities.PixPayments; + export type PromptpayPayments = Stripe.AccountUpdateParams.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe.AccountUpdateParams.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe.AccountUpdateParams.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe.AccountUpdateParams.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe.AccountUpdateParams.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe.AccountUpdateParams.Capabilities.SepaDebitPayments; + export type SofortPayments = Stripe.AccountUpdateParams.Capabilities.SofortPayments; + export type SunbitPayments = Stripe.AccountUpdateParams.Capabilities.SunbitPayments; + export type SwishPayments = Stripe.AccountUpdateParams.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe.AccountUpdateParams.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe.AccountUpdateParams.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe.AccountUpdateParams.Capabilities.Transfers; + export type Treasury = Stripe.AccountUpdateParams.Capabilities.Treasury; + export type TwintPayments = Stripe.AccountUpdateParams.Capabilities.TwintPayments; + export type UpiPayments = Stripe.AccountUpdateParams.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe.AccountUpdateParams.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe.AccountUpdateParams.Capabilities.ZipPayments; + } + export namespace Company { + export type DirectorshipDeclaration = Stripe.AccountUpdateParams.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe.AccountUpdateParams.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe.AccountUpdateParams.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe.AccountUpdateParams.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe.AccountUpdateParams.Company.RepresentativeDeclaration; + export type Structure = Stripe.AccountUpdateParams.Company.Structure; + export type Verification = Stripe.AccountUpdateParams.Company.Verification; + export namespace Verification { + export type Document = Stripe.AccountUpdateParams.Company.Verification.Document; + } + } + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe.AccountUpdateParams.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe.AccountUpdateParams.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe.AccountUpdateParams.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe.AccountUpdateParams.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe.AccountUpdateParams.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe.AccountUpdateParams.Documents.CompanyTaxIdVerification; + export type ProofOfAddress = Stripe.AccountUpdateParams.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe.AccountUpdateParams.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe.AccountUpdateParams.Documents.ProofOfUltimateBeneficialOwnership; + export namespace ProofOfRegistration { + export type Signer = Stripe.AccountUpdateParams.Documents.ProofOfRegistration.Signer; + } + export namespace ProofOfUltimateBeneficialOwnership { + export type Signer = Stripe.AccountUpdateParams.Documents.ProofOfUltimateBeneficialOwnership.Signer; + } + } + export namespace Individual { + export type Dob = Stripe.AccountUpdateParams.Individual.Dob; + export type PoliticalExposure = Stripe.AccountUpdateParams.Individual.PoliticalExposure; + export type Relationship = Stripe.AccountUpdateParams.Individual.Relationship; + export type Verification = Stripe.AccountUpdateParams.Individual.Verification; + export namespace Verification { + export type AdditionalDocument = Stripe.AccountUpdateParams.Individual.Verification.AdditionalDocument; + export type Document = Stripe.AccountUpdateParams.Individual.Verification.Document; + } + } + export namespace Settings { + export type BacsDebitPayments = Stripe.AccountUpdateParams.Settings.BacsDebitPayments; + export type Branding = Stripe.AccountUpdateParams.Settings.Branding; + export type CardIssuing = Stripe.AccountUpdateParams.Settings.CardIssuing; + export type CardPayments = Stripe.AccountUpdateParams.Settings.CardPayments; + export type Invoices = Stripe.AccountUpdateParams.Settings.Invoices; + export type Payments = Stripe.AccountUpdateParams.Settings.Payments; + export type Payouts = Stripe.AccountUpdateParams.Settings.Payouts; + export type Treasury = Stripe.AccountUpdateParams.Settings.Treasury; + export namespace CardIssuing { + export type TosAcceptance = Stripe.AccountUpdateParams.Settings.CardIssuing.TosAcceptance; + } + export namespace CardPayments { + export type DeclineOn = Stripe.AccountUpdateParams.Settings.CardPayments.DeclineOn; + } + export namespace Invoices { + export type HostedPaymentMethodSave = Stripe.AccountUpdateParams.Settings.Invoices.HostedPaymentMethodSave; + } + export namespace Payouts { + export type Schedule = Stripe.AccountUpdateParams.Settings.Payouts.Schedule; + export namespace Schedule { + export type Interval = Stripe.AccountUpdateParams.Settings.Payouts.Schedule.Interval; + export type WeeklyAnchor = Stripe.AccountUpdateParams.Settings.Payouts.Schedule.WeeklyAnchor; + export type WeeklyPayoutDay = Stripe.AccountUpdateParams.Settings.Payouts.Schedule.WeeklyPayoutDay; + } + } + export namespace Treasury { + export type TosAcceptance = Stripe.AccountUpdateParams.Settings.Treasury.TosAcceptance; + } + } } export namespace AccountCreateExternalAccountParams { export type Card = Stripe.AccountCreateExternalAccountParams.Card; export type BankAccount = Stripe.AccountCreateExternalAccountParams.BankAccount; export type CardToken = Stripe.AccountCreateExternalAccountParams.CardToken; + export namespace BankAccount { + export type AccountHolderType = Stripe.AccountCreateExternalAccountParams.BankAccount.AccountHolderType; + } } export namespace AccountCreatePersonParams { export type AdditionalTosAcceptances = Stripe.AccountCreatePersonParams.AdditionalTosAcceptances; @@ -541,6 +846,28 @@ declare namespace StripeConstructor { export type Relationship = Stripe.AccountCreatePersonParams.Relationship; export type UsCfpbData = Stripe.AccountCreatePersonParams.UsCfpbData; export type Verification = Stripe.AccountCreatePersonParams.Verification; + export namespace AdditionalTosAcceptances { + export type Account = Stripe.AccountCreatePersonParams.AdditionalTosAcceptances.Account; + } + export namespace Documents { + export type CompanyAuthorization = Stripe.AccountCreatePersonParams.Documents.CompanyAuthorization; + export type Passport = Stripe.AccountCreatePersonParams.Documents.Passport; + export type Visa = Stripe.AccountCreatePersonParams.Documents.Visa; + } + export namespace UsCfpbData { + export type EthnicityDetails = Stripe.AccountCreatePersonParams.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe.AccountCreatePersonParams.UsCfpbData.RaceDetails; + export namespace EthnicityDetails { + export type Ethnicity = Stripe.AccountCreatePersonParams.UsCfpbData.EthnicityDetails.Ethnicity; + } + export namespace RaceDetails { + export type Race = Stripe.AccountCreatePersonParams.UsCfpbData.RaceDetails.Race; + } + } + export namespace Verification { + export type AdditionalDocument = Stripe.AccountCreatePersonParams.Verification.AdditionalDocument; + export type Document = Stripe.AccountCreatePersonParams.Verification.Document; + } } export namespace AccountListExternalAccountsParams { export type Object = Stripe.AccountListExternalAccountsParams.Object; @@ -552,6 +879,9 @@ declare namespace StripeConstructor { export type AccountHolderType = Stripe.AccountUpdateExternalAccountParams.AccountHolderType; export type AccountType = Stripe.AccountUpdateExternalAccountParams.AccountType; export type Documents = Stripe.AccountUpdateExternalAccountParams.Documents; + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe.AccountUpdateExternalAccountParams.Documents.BankAccountOwnershipVerification; + } } export namespace AccountUpdatePersonParams { export type AdditionalTosAcceptances = Stripe.AccountUpdatePersonParams.AdditionalTosAcceptances; @@ -561,17 +891,471 @@ declare namespace StripeConstructor { export type Relationship = Stripe.AccountUpdatePersonParams.Relationship; export type UsCfpbData = Stripe.AccountUpdatePersonParams.UsCfpbData; export type Verification = Stripe.AccountUpdatePersonParams.Verification; + export namespace AdditionalTosAcceptances { + export type Account = Stripe.AccountUpdatePersonParams.AdditionalTosAcceptances.Account; + } + export namespace Documents { + export type CompanyAuthorization = Stripe.AccountUpdatePersonParams.Documents.CompanyAuthorization; + export type Passport = Stripe.AccountUpdatePersonParams.Documents.Passport; + export type Visa = Stripe.AccountUpdatePersonParams.Documents.Visa; + } + export namespace UsCfpbData { + export type EthnicityDetails = Stripe.AccountUpdatePersonParams.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe.AccountUpdatePersonParams.UsCfpbData.RaceDetails; + export namespace EthnicityDetails { + export type Ethnicity = Stripe.AccountUpdatePersonParams.UsCfpbData.EthnicityDetails.Ethnicity; + } + export namespace RaceDetails { + export type Race = Stripe.AccountUpdatePersonParams.UsCfpbData.RaceDetails.Race; + } + } + export namespace Verification { + export type AdditionalDocument = Stripe.AccountUpdatePersonParams.Verification.AdditionalDocument; + export type Document = Stripe.AccountUpdatePersonParams.Verification.Document; + } + } + export namespace Account { + export type BusinessProfile = Stripe.Account.BusinessProfile; + export type BusinessType = Stripe.Account.BusinessType; + export type Capabilities = Stripe.Account.Capabilities; + export type Company = Stripe.Account.Company; + export type Controller = Stripe.Account.Controller; + export type FutureRequirements = Stripe.Account.FutureRequirements; + export type Groups = Stripe.Account.Groups; + export type Requirements = Stripe.Account.Requirements; + export type Settings = Stripe.Account.Settings; + export type TosAcceptance = Stripe.Account.TosAcceptance; + export type Type = Stripe.Account.Type; + export namespace BusinessProfile { + export type AnnualRevenue = Stripe.Account.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe.Account.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe.Account.BusinessProfile.MonthlyEstimatedRevenue; + } + export namespace Capabilities { + export type AcssDebitPayments = Stripe.Account.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe.Account.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe.Account.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe.Account.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe.Account.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe.Account.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe.Account.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe.Account.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe.Account.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe.Account.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe.Account.Capabilities.BilliePayments; + export type BizumPayments = Stripe.Account.Capabilities.BizumPayments; + export type BlikPayments = Stripe.Account.Capabilities.BlikPayments; + export type BoletoPayments = Stripe.Account.Capabilities.BoletoPayments; + export type CardIssuing = Stripe.Account.Capabilities.CardIssuing; + export type CardPayments = Stripe.Account.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe.Account.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe.Account.Capabilities.CashappPayments; + export type CryptoPayments = Stripe.Account.Capabilities.CryptoPayments; + export type EpsPayments = Stripe.Account.Capabilities.EpsPayments; + export type FpxPayments = Stripe.Account.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe.Account.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe.Account.Capabilities.GiropayPayments; + export type GrabpayPayments = Stripe.Account.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe.Account.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe.Account.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe.Account.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe.Account.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe.Account.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe.Account.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe.Account.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe.Account.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe.Account.Capabilities.LegacyPayments; + export type LinkPayments = Stripe.Account.Capabilities.LinkPayments; + export type MbWayPayments = Stripe.Account.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe.Account.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe.Account.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe.Account.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe.Account.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe.Account.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe.Account.Capabilities.OxxoPayments; + export type P24Payments = Stripe.Account.Capabilities.P24Payments; + export type PayByBankPayments = Stripe.Account.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe.Account.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe.Account.Capabilities.PaynowPayments; + export type PaytoPayments = Stripe.Account.Capabilities.PaytoPayments; + export type PixPayments = Stripe.Account.Capabilities.PixPayments; + export type PromptpayPayments = Stripe.Account.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe.Account.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe.Account.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe.Account.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe.Account.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe.Account.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe.Account.Capabilities.SepaDebitPayments; + export type SofortPayments = Stripe.Account.Capabilities.SofortPayments; + export type SunbitPayments = Stripe.Account.Capabilities.SunbitPayments; + export type SwishPayments = Stripe.Account.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe.Account.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe.Account.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe.Account.Capabilities.Transfers; + export type Treasury = Stripe.Account.Capabilities.Treasury; + export type TwintPayments = Stripe.Account.Capabilities.TwintPayments; + export type UpiPayments = Stripe.Account.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe.Account.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe.Account.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe.Account.Capabilities.ZipPayments; + } + export namespace Company { + export type AddressKana = Stripe.Account.Company.AddressKana; + export type AddressKanji = Stripe.Account.Company.AddressKanji; + export type DirectorshipDeclaration = Stripe.Account.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe.Account.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe.Account.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe.Account.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe.Account.Company.RepresentativeDeclaration; + export type Structure = Stripe.Account.Company.Structure; + export type Verification = Stripe.Account.Company.Verification; + export namespace Verification { + export type Document = Stripe.Account.Company.Verification.Document; + } + } + export namespace Controller { + export type Fees = Stripe.Account.Controller.Fees; + export type Losses = Stripe.Account.Controller.Losses; + export type RequirementCollection = Stripe.Account.Controller.RequirementCollection; + export type StripeDashboard = Stripe.Account.Controller.StripeDashboard; + export type Type = Stripe.Account.Controller.Type; + export namespace Fees { + export type Payer = Stripe.Account.Controller.Fees.Payer; + } + export namespace Losses { + export type Payments = Stripe.Account.Controller.Losses.Payments; + } + export namespace StripeDashboard { + export type Type = Stripe.Account.Controller.StripeDashboard.Type; + } + } + export namespace FutureRequirements { + export type Alternative = Stripe.Account.FutureRequirements.Alternative; + export type DisabledReason = Stripe.Account.FutureRequirements.DisabledReason; + export type Error = Stripe.Account.FutureRequirements.Error; + export namespace Error { + export type Code = Stripe.Account.FutureRequirements.Error.Code; + } + } + export namespace Requirements { + export type Alternative = Stripe.Account.Requirements.Alternative; + export type DisabledReason = Stripe.Account.Requirements.DisabledReason; + export type Error = Stripe.Account.Requirements.Error; + export namespace Error { + export type Code = Stripe.Account.Requirements.Error.Code; + } + } + export namespace Settings { + export type BacsDebitPayments = Stripe.Account.Settings.BacsDebitPayments; + export type Branding = Stripe.Account.Settings.Branding; + export type CardIssuing = Stripe.Account.Settings.CardIssuing; + export type CardPayments = Stripe.Account.Settings.CardPayments; + export type Dashboard = Stripe.Account.Settings.Dashboard; + export type Invoices = Stripe.Account.Settings.Invoices; + export type Payments = Stripe.Account.Settings.Payments; + export type Payouts = Stripe.Account.Settings.Payouts; + export type SepaDebitPayments = Stripe.Account.Settings.SepaDebitPayments; + export type Treasury = Stripe.Account.Settings.Treasury; + export namespace CardIssuing { + export type TosAcceptance = Stripe.Account.Settings.CardIssuing.TosAcceptance; + } + export namespace CardPayments { + export type DeclineOn = Stripe.Account.Settings.CardPayments.DeclineOn; + } + export namespace Invoices { + export type HostedPaymentMethodSave = Stripe.Account.Settings.Invoices.HostedPaymentMethodSave; + } + export namespace Payouts { + export type Schedule = Stripe.Account.Settings.Payouts.Schedule; + export namespace Schedule { + export type WeeklyPayoutDay = Stripe.Account.Settings.Payouts.Schedule.WeeklyPayoutDay; + } + } + export namespace Treasury { + export type TosAcceptance = Stripe.Account.Settings.Treasury.TosAcceptance; + } + } } export namespace AccountLinkCreateParams { export type Type = Stripe.AccountLinkCreateParams.Type; export type Collect = Stripe.AccountLinkCreateParams.Collect; export type CollectionOptions = Stripe.AccountLinkCreateParams.CollectionOptions; + export namespace CollectionOptions { + export type Fields = Stripe.AccountLinkCreateParams.CollectionOptions.Fields; + export type FutureRequirements = Stripe.AccountLinkCreateParams.CollectionOptions.FutureRequirements; + } } export namespace AccountSessionCreateParams { export type Components = Stripe.AccountSessionCreateParams.Components; + export namespace Components { + export type AccountManagement = Stripe.AccountSessionCreateParams.Components.AccountManagement; + export type AccountOnboarding = Stripe.AccountSessionCreateParams.Components.AccountOnboarding; + export type BalanceReport = Stripe.AccountSessionCreateParams.Components.BalanceReport; + export type Balances = Stripe.AccountSessionCreateParams.Components.Balances; + export type DisputesList = Stripe.AccountSessionCreateParams.Components.DisputesList; + export type Documents = Stripe.AccountSessionCreateParams.Components.Documents; + export type FinancialAccount = Stripe.AccountSessionCreateParams.Components.FinancialAccount; + export type FinancialAccountTransactions = Stripe.AccountSessionCreateParams.Components.FinancialAccountTransactions; + export type InstantPayoutsPromotion = Stripe.AccountSessionCreateParams.Components.InstantPayoutsPromotion; + export type IssuingCard = Stripe.AccountSessionCreateParams.Components.IssuingCard; + export type IssuingCardsList = Stripe.AccountSessionCreateParams.Components.IssuingCardsList; + export type NotificationBanner = Stripe.AccountSessionCreateParams.Components.NotificationBanner; + export type PaymentDetails = Stripe.AccountSessionCreateParams.Components.PaymentDetails; + export type PaymentDisputes = Stripe.AccountSessionCreateParams.Components.PaymentDisputes; + export type Payments = Stripe.AccountSessionCreateParams.Components.Payments; + export type PayoutDetails = Stripe.AccountSessionCreateParams.Components.PayoutDetails; + export type PayoutReconciliationReport = Stripe.AccountSessionCreateParams.Components.PayoutReconciliationReport; + export type Payouts = Stripe.AccountSessionCreateParams.Components.Payouts; + export type PayoutsList = Stripe.AccountSessionCreateParams.Components.PayoutsList; + export type TaxRegistrations = Stripe.AccountSessionCreateParams.Components.TaxRegistrations; + export type TaxSettings = Stripe.AccountSessionCreateParams.Components.TaxSettings; + export namespace AccountManagement { + export type Features = Stripe.AccountSessionCreateParams.Components.AccountManagement.Features; + } + export namespace AccountOnboarding { + export type Features = Stripe.AccountSessionCreateParams.Components.AccountOnboarding.Features; + } + export namespace BalanceReport { + export type Features = Stripe.AccountSessionCreateParams.Components.BalanceReport.Features; + } + export namespace Balances { + export type Features = Stripe.AccountSessionCreateParams.Components.Balances.Features; + } + export namespace DisputesList { + export type Features = Stripe.AccountSessionCreateParams.Components.DisputesList.Features; + } + export namespace Documents { + export type Features = Stripe.AccountSessionCreateParams.Components.Documents.Features; + } + export namespace FinancialAccount { + export type Features = Stripe.AccountSessionCreateParams.Components.FinancialAccount.Features; + } + export namespace FinancialAccountTransactions { + export type Features = Stripe.AccountSessionCreateParams.Components.FinancialAccountTransactions.Features; + } + export namespace InstantPayoutsPromotion { + export type Features = Stripe.AccountSessionCreateParams.Components.InstantPayoutsPromotion.Features; + } + export namespace IssuingCard { + export type Features = Stripe.AccountSessionCreateParams.Components.IssuingCard.Features; + } + export namespace IssuingCardsList { + export type Features = Stripe.AccountSessionCreateParams.Components.IssuingCardsList.Features; + } + export namespace NotificationBanner { + export type Features = Stripe.AccountSessionCreateParams.Components.NotificationBanner.Features; + } + export namespace PaymentDetails { + export type Features = Stripe.AccountSessionCreateParams.Components.PaymentDetails.Features; + } + export namespace PaymentDisputes { + export type Features = Stripe.AccountSessionCreateParams.Components.PaymentDisputes.Features; + } + export namespace Payments { + export type Features = Stripe.AccountSessionCreateParams.Components.Payments.Features; + } + export namespace PayoutDetails { + export type Features = Stripe.AccountSessionCreateParams.Components.PayoutDetails.Features; + } + export namespace PayoutReconciliationReport { + export type Features = Stripe.AccountSessionCreateParams.Components.PayoutReconciliationReport.Features; + } + export namespace Payouts { + export type Features = Stripe.AccountSessionCreateParams.Components.Payouts.Features; + } + export namespace PayoutsList { + export type Features = Stripe.AccountSessionCreateParams.Components.PayoutsList.Features; + } + export namespace TaxRegistrations { + export type Features = Stripe.AccountSessionCreateParams.Components.TaxRegistrations.Features; + } + export namespace TaxSettings { + export type Features = Stripe.AccountSessionCreateParams.Components.TaxSettings.Features; + } + } + } + export namespace AccountSession { + export type Components = Stripe.AccountSession.Components; + export namespace Components { + export type AccountManagement = Stripe.AccountSession.Components.AccountManagement; + export type AccountOnboarding = Stripe.AccountSession.Components.AccountOnboarding; + export type BalanceReport = Stripe.AccountSession.Components.BalanceReport; + export type Balances = Stripe.AccountSession.Components.Balances; + export type DisputesList = Stripe.AccountSession.Components.DisputesList; + export type Documents = Stripe.AccountSession.Components.Documents; + export type FinancialAccount = Stripe.AccountSession.Components.FinancialAccount; + export type FinancialAccountTransactions = Stripe.AccountSession.Components.FinancialAccountTransactions; + export type InstantPayoutsPromotion = Stripe.AccountSession.Components.InstantPayoutsPromotion; + export type IssuingCard = Stripe.AccountSession.Components.IssuingCard; + export type IssuingCardsList = Stripe.AccountSession.Components.IssuingCardsList; + export type NotificationBanner = Stripe.AccountSession.Components.NotificationBanner; + export type PaymentDetails = Stripe.AccountSession.Components.PaymentDetails; + export type PaymentDisputes = Stripe.AccountSession.Components.PaymentDisputes; + export type Payments = Stripe.AccountSession.Components.Payments; + export type PayoutDetails = Stripe.AccountSession.Components.PayoutDetails; + export type PayoutReconciliationReport = Stripe.AccountSession.Components.PayoutReconciliationReport; + export type Payouts = Stripe.AccountSession.Components.Payouts; + export type PayoutsList = Stripe.AccountSession.Components.PayoutsList; + export type TaxRegistrations = Stripe.AccountSession.Components.TaxRegistrations; + export type TaxSettings = Stripe.AccountSession.Components.TaxSettings; + export namespace AccountManagement { + export type Features = Stripe.AccountSession.Components.AccountManagement.Features; + } + export namespace AccountOnboarding { + export type Features = Stripe.AccountSession.Components.AccountOnboarding.Features; + } + export namespace BalanceReport { + export type Features = Stripe.AccountSession.Components.BalanceReport.Features; + } + export namespace Balances { + export type Features = Stripe.AccountSession.Components.Balances.Features; + } + export namespace DisputesList { + export type Features = Stripe.AccountSession.Components.DisputesList.Features; + } + export namespace Documents { + export type Features = Stripe.AccountSession.Components.Documents.Features; + } + export namespace FinancialAccount { + export type Features = Stripe.AccountSession.Components.FinancialAccount.Features; + } + export namespace FinancialAccountTransactions { + export type Features = Stripe.AccountSession.Components.FinancialAccountTransactions.Features; + } + export namespace InstantPayoutsPromotion { + export type Features = Stripe.AccountSession.Components.InstantPayoutsPromotion.Features; + } + export namespace IssuingCard { + export type Features = Stripe.AccountSession.Components.IssuingCard.Features; + } + export namespace IssuingCardsList { + export type Features = Stripe.AccountSession.Components.IssuingCardsList.Features; + } + export namespace NotificationBanner { + export type Features = Stripe.AccountSession.Components.NotificationBanner.Features; + } + export namespace PaymentDetails { + export type Features = Stripe.AccountSession.Components.PaymentDetails.Features; + } + export namespace PaymentDisputes { + export type Features = Stripe.AccountSession.Components.PaymentDisputes.Features; + } + export namespace Payments { + export type Features = Stripe.AccountSession.Components.Payments.Features; + } + export namespace PayoutDetails { + export type Features = Stripe.AccountSession.Components.PayoutDetails.Features; + } + export namespace PayoutReconciliationReport { + export type Features = Stripe.AccountSession.Components.PayoutReconciliationReport.Features; + } + export namespace Payouts { + export type Features = Stripe.AccountSession.Components.Payouts.Features; + } + export namespace PayoutsList { + export type Features = Stripe.AccountSession.Components.PayoutsList.Features; + } + export namespace TaxRegistrations { + export type Features = Stripe.AccountSession.Components.TaxRegistrations.Features; + } + export namespace TaxSettings { + export type Features = Stripe.AccountSession.Components.TaxSettings.Features; + } + } + } + export namespace ApplicationFee { + export type FeeSource = Stripe.ApplicationFee.FeeSource; + export namespace FeeSource { + export type Type = Stripe.ApplicationFee.FeeSource.Type; + } + } + export namespace Balance { + export type Available = Stripe.Balance.Available; + export type ConnectReserved = Stripe.Balance.ConnectReserved; + export type InstantAvailable = Stripe.Balance.InstantAvailable; + export type Issuing = Stripe.Balance.Issuing; + export type Pending = Stripe.Balance.Pending; + export type RefundAndDisputePrefunding = Stripe.Balance.RefundAndDisputePrefunding; + export namespace Available { + export type SourceTypes = Stripe.Balance.Available.SourceTypes; + } + export namespace ConnectReserved { + export type SourceTypes = Stripe.Balance.ConnectReserved.SourceTypes; + } + export namespace InstantAvailable { + export type NetAvailable = Stripe.Balance.InstantAvailable.NetAvailable; + export type SourceTypes = Stripe.Balance.InstantAvailable.SourceTypes; + export namespace NetAvailable { + export type SourceTypes = Stripe.Balance.InstantAvailable.NetAvailable.SourceTypes; + } + } + export namespace Issuing { + export type Available = Stripe.Balance.Issuing.Available; + export namespace Available { + export type SourceTypes = Stripe.Balance.Issuing.Available.SourceTypes; + } + } + export namespace Pending { + export type SourceTypes = Stripe.Balance.Pending.SourceTypes; + } + export namespace RefundAndDisputePrefunding { + export type Available = Stripe.Balance.RefundAndDisputePrefunding.Available; + export type Pending = Stripe.Balance.RefundAndDisputePrefunding.Pending; + export namespace Available { + export type SourceTypes = Stripe.Balance.RefundAndDisputePrefunding.Available.SourceTypes; + } + export namespace Pending { + export type SourceTypes = Stripe.Balance.RefundAndDisputePrefunding.Pending.SourceTypes; + } + } } export namespace BalanceSettingsUpdateParams { export type Payments = Stripe.BalanceSettingsUpdateParams.Payments; + export namespace Payments { + export type Payouts = Stripe.BalanceSettingsUpdateParams.Payments.Payouts; + export type SettlementTiming = Stripe.BalanceSettingsUpdateParams.Payments.SettlementTiming; + export namespace Payouts { + export type AutomaticTransferRulesByCurrency = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.AutomaticTransferRulesByCurrency; + export type Schedule = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.Schedule; + export namespace AutomaticTransferRulesByCurrency { + export type Type = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.AutomaticTransferRulesByCurrency.Type; + } + export namespace Schedule { + export type Interval = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.Schedule.Interval; + export type WeeklyPayoutDay = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.Schedule.WeeklyPayoutDay; + } + } + export namespace SettlementTiming { + export type StartOfDay = Stripe.BalanceSettingsUpdateParams.Payments.SettlementTiming.StartOfDay; + } + } + } + export namespace BalanceSettings { + export type Payments = Stripe.BalanceSettings.Payments; + export namespace Payments { + export type Payouts = Stripe.BalanceSettings.Payments.Payouts; + export type SettlementTiming = Stripe.BalanceSettings.Payments.SettlementTiming; + export namespace Payouts { + export type AutomaticTransferRulesByCurrency = Stripe.BalanceSettings.Payments.Payouts.AutomaticTransferRulesByCurrency; + export type Schedule = Stripe.BalanceSettings.Payments.Payouts.Schedule; + export type Status = Stripe.BalanceSettings.Payments.Payouts.Status; + export namespace AutomaticTransferRulesByCurrency { + export type Type = Stripe.BalanceSettings.Payments.Payouts.AutomaticTransferRulesByCurrency.Type; + } + export namespace Schedule { + export type Interval = Stripe.BalanceSettings.Payments.Payouts.Schedule.Interval; + export type WeeklyPayoutDay = Stripe.BalanceSettings.Payments.Payouts.Schedule.WeeklyPayoutDay; + } + } + export namespace SettlementTiming { + export type StartOfDay = Stripe.BalanceSettings.Payments.SettlementTiming.StartOfDay; + } + } + } + export namespace BalanceTransaction { + export type BalanceType = Stripe.BalanceTransaction.BalanceType; + export type FeeDetail = Stripe.BalanceTransaction.FeeDetail; + export type Type = Stripe.BalanceTransaction.Type; } export namespace ChargeCreateParams { export type Destination = Stripe.ChargeCreateParams.Destination; @@ -582,10 +1366,417 @@ declare namespace StripeConstructor { export namespace ChargeUpdateParams { export type FraudDetails = Stripe.ChargeUpdateParams.FraudDetails; export type Shipping = Stripe.ChargeUpdateParams.Shipping; + export namespace FraudDetails { + export type UserReport = Stripe.ChargeUpdateParams.FraudDetails.UserReport; + } } export namespace ChargeCaptureParams { export type TransferData = Stripe.ChargeCaptureParams.TransferData; } + export namespace Charge { + export type BillingDetails = Stripe.Charge.BillingDetails; + export type FraudDetails = Stripe.Charge.FraudDetails; + export type Level3 = Stripe.Charge.Level3; + export type Outcome = Stripe.Charge.Outcome; + export type PaymentMethodDetails = Stripe.Charge.PaymentMethodDetails; + export type PresentmentDetails = Stripe.Charge.PresentmentDetails; + export type RadarOptions = Stripe.Charge.RadarOptions; + export type Shipping = Stripe.Charge.Shipping; + export type Status = Stripe.Charge.Status; + export type TransferData = Stripe.Charge.TransferData; + export namespace Level3 { + export type LineItem = Stripe.Charge.Level3.LineItem; + } + export namespace Outcome { + export type AdviceCode = Stripe.Charge.Outcome.AdviceCode; + export type Rule = Stripe.Charge.Outcome.Rule; + } + export namespace PaymentMethodDetails { + export type AchCreditTransfer = Stripe.Charge.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe.Charge.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe.Charge.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe.Charge.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe.Charge.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe.Charge.PaymentMethodDetails.Alipay; + export type Alma = Stripe.Charge.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe.Charge.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe.Charge.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe.Charge.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe.Charge.PaymentMethodDetails.Bancontact; + export type Billie = Stripe.Charge.PaymentMethodDetails.Billie; + export type Bizum = Stripe.Charge.PaymentMethodDetails.Bizum; + export type Blik = Stripe.Charge.PaymentMethodDetails.Blik; + export type Boleto = Stripe.Charge.PaymentMethodDetails.Boleto; + export type Card = Stripe.Charge.PaymentMethodDetails.Card; + export type CardPresent = Stripe.Charge.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe.Charge.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe.Charge.PaymentMethodDetails.Crypto; + export type CustomerBalance = Stripe.Charge.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe.Charge.PaymentMethodDetails.Eps; + export type Fpx = Stripe.Charge.PaymentMethodDetails.Fpx; + export type Giropay = Stripe.Charge.PaymentMethodDetails.Giropay; + export type Grabpay = Stripe.Charge.PaymentMethodDetails.Grabpay; + export type Ideal = Stripe.Charge.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe.Charge.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe.Charge.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe.Charge.PaymentMethodDetails.Klarna; + export type Konbini = Stripe.Charge.PaymentMethodDetails.Konbini; + export type KrCard = Stripe.Charge.PaymentMethodDetails.KrCard; + export type Link = Stripe.Charge.PaymentMethodDetails.Link; + export type MbWay = Stripe.Charge.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe.Charge.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe.Charge.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe.Charge.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe.Charge.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe.Charge.PaymentMethodDetails.Oxxo; + export type P24 = Stripe.Charge.PaymentMethodDetails.P24; + export type PayByBank = Stripe.Charge.PaymentMethodDetails.PayByBank; + export type Payco = Stripe.Charge.PaymentMethodDetails.Payco; + export type Paynow = Stripe.Charge.PaymentMethodDetails.Paynow; + export type Paypal = Stripe.Charge.PaymentMethodDetails.Paypal; + export type Payto = Stripe.Charge.PaymentMethodDetails.Payto; + export type Pix = Stripe.Charge.PaymentMethodDetails.Pix; + export type Promptpay = Stripe.Charge.PaymentMethodDetails.Promptpay; + export type RevolutPay = Stripe.Charge.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe.Charge.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe.Charge.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe.Charge.PaymentMethodDetails.Scalapay; + export type SepaCreditTransfer = Stripe.Charge.PaymentMethodDetails.SepaCreditTransfer; + export type SepaDebit = Stripe.Charge.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe.Charge.PaymentMethodDetails.Sofort; + export type StripeAccount = Stripe.Charge.PaymentMethodDetails.StripeAccount; + export type Sunbit = Stripe.Charge.PaymentMethodDetails.Sunbit; + export type Swish = Stripe.Charge.PaymentMethodDetails.Swish; + export type Twint = Stripe.Charge.PaymentMethodDetails.Twint; + export type Upi = Stripe.Charge.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe.Charge.PaymentMethodDetails.UsBankAccount; + export type Wechat = Stripe.Charge.PaymentMethodDetails.Wechat; + export type WechatPay = Stripe.Charge.PaymentMethodDetails.WechatPay; + export type Zip = Stripe.Charge.PaymentMethodDetails.Zip; + export namespace AchDebit { + export type AccountHolderType = Stripe.Charge.PaymentMethodDetails.AchDebit.AccountHolderType; + } + export namespace Alma { + export type Installments = Stripe.Charge.PaymentMethodDetails.Alma.Installments; + } + export namespace AmazonPay { + export type Funding = Stripe.Charge.PaymentMethodDetails.AmazonPay.Funding; + export namespace Funding { + export type Card = Stripe.Charge.PaymentMethodDetails.AmazonPay.Funding.Card; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.Charge.PaymentMethodDetails.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Checks = Stripe.Charge.PaymentMethodDetails.Card.Checks; + export type ExtendedAuthorization = Stripe.Charge.PaymentMethodDetails.Card.ExtendedAuthorization; + export type IncrementalAuthorization = Stripe.Charge.PaymentMethodDetails.Card.IncrementalAuthorization; + export type Installments = Stripe.Charge.PaymentMethodDetails.Card.Installments; + export type Multicapture = Stripe.Charge.PaymentMethodDetails.Card.Multicapture; + export type NetworkToken = Stripe.Charge.PaymentMethodDetails.Card.NetworkToken; + export type Overcapture = Stripe.Charge.PaymentMethodDetails.Card.Overcapture; + export type RegulatedStatus = Stripe.Charge.PaymentMethodDetails.Card.RegulatedStatus; + export type ThreeDSecure = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe.Charge.PaymentMethodDetails.Card.Wallet; + export namespace ExtendedAuthorization { + export type Status = Stripe.Charge.PaymentMethodDetails.Card.ExtendedAuthorization.Status; + } + export namespace IncrementalAuthorization { + export type Status = Stripe.Charge.PaymentMethodDetails.Card.IncrementalAuthorization.Status; + } + export namespace Installments { + export type Plan = Stripe.Charge.PaymentMethodDetails.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.Charge.PaymentMethodDetails.Card.Installments.Plan.Type; + } + } + export namespace Multicapture { + export type Status = Stripe.Charge.PaymentMethodDetails.Card.Multicapture.Status; + } + export namespace Overcapture { + export type Status = Stripe.Charge.PaymentMethodDetails.Card.Overcapture.Status; + } + export namespace ThreeDSecure { + export type AuthenticationFlow = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; + export type Result = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.Version; + } + export namespace Wallet { + export type AmexExpressCheckout = Stripe.Charge.PaymentMethodDetails.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe.Charge.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe.Charge.PaymentMethodDetails.Card.Wallet.GooglePay; + export type Link = Stripe.Charge.PaymentMethodDetails.Card.Wallet.Link; + export type Masterpass = Stripe.Charge.PaymentMethodDetails.Card.Wallet.Masterpass; + export type SamsungPay = Stripe.Charge.PaymentMethodDetails.Card.Wallet.SamsungPay; + export type Type = Stripe.Charge.PaymentMethodDetails.Card.Wallet.Type; + export type VisaCheckout = Stripe.Charge.PaymentMethodDetails.Card.Wallet.VisaCheckout; + } + } + export namespace CardPresent { + export type Offline = Stripe.Charge.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe.Charge.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe.Charge.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe.Charge.PaymentMethodDetails.CardPresent.Wallet; + export namespace Receipt { + export type AccountType = Stripe.Charge.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe.Charge.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + export namespace Crypto { + export type Network = Stripe.Charge.PaymentMethodDetails.Crypto.Network; + export type TokenCurrency = Stripe.Charge.PaymentMethodDetails.Crypto.TokenCurrency; + } + export namespace Eps { + export type Bank = Stripe.Charge.PaymentMethodDetails.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.Charge.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe.Charge.PaymentMethodDetails.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.Charge.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe.Charge.PaymentMethodDetails.Ideal.Bic; + } + export namespace InteracPresent { + export type ReadMethod = Stripe.Charge.PaymentMethodDetails.InteracPresent.ReadMethod; + export type Receipt = Stripe.Charge.PaymentMethodDetails.InteracPresent.Receipt; + export namespace Receipt { + export type AccountType = Stripe.Charge.PaymentMethodDetails.InteracPresent.Receipt.AccountType; + } + } + export namespace Klarna { + export type PayerDetails = Stripe.Charge.PaymentMethodDetails.Klarna.PayerDetails; + export namespace PayerDetails { + export type Address = Stripe.Charge.PaymentMethodDetails.Klarna.PayerDetails.Address; + } + } + export namespace Konbini { + export type Store = Stripe.Charge.PaymentMethodDetails.Konbini.Store; + export namespace Store { + export type Chain = Stripe.Charge.PaymentMethodDetails.Konbini.Store.Chain; + } + } + export namespace KrCard { + export type Brand = Stripe.Charge.PaymentMethodDetails.KrCard.Brand; + } + export namespace Mobilepay { + export type Card = Stripe.Charge.PaymentMethodDetails.Mobilepay.Card; + } + export namespace P24 { + export type Bank = Stripe.Charge.PaymentMethodDetails.P24.Bank; + } + export namespace Paypal { + export type SellerProtection = Stripe.Charge.PaymentMethodDetails.Paypal.SellerProtection; + export namespace SellerProtection { + export type DisputeCategory = Stripe.Charge.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; + export type Status = Stripe.Charge.PaymentMethodDetails.Paypal.SellerProtection.Status; + } + } + export namespace RevolutPay { + export type Funding = Stripe.Charge.PaymentMethodDetails.RevolutPay.Funding; + export namespace Funding { + export type Card = Stripe.Charge.PaymentMethodDetails.RevolutPay.Funding.Card; + } + } + export namespace Sofort { + export type PreferredLanguage = Stripe.Charge.PaymentMethodDetails.Sofort.PreferredLanguage; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.Charge.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.Charge.PaymentMethodDetails.UsBankAccount.AccountType; + } + } + } + export namespace ConfirmationToken { + export type MandateData = Stripe.ConfirmationToken.MandateData; + export type PaymentMethodOptions = Stripe.ConfirmationToken.PaymentMethodOptions; + export type PaymentMethodPreview = Stripe.ConfirmationToken.PaymentMethodPreview; + export type SetupFutureUsage = Stripe.ConfirmationToken.SetupFutureUsage; + export type Shipping = Stripe.ConfirmationToken.Shipping; + export namespace MandateData { + export type CustomerAcceptance = Stripe.ConfirmationToken.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Online = Stripe.ConfirmationToken.MandateData.CustomerAcceptance.Online; + } + } + export namespace PaymentMethodOptions { + export type Card = Stripe.ConfirmationToken.PaymentMethodOptions.Card; + export namespace Card { + export type Installments = Stripe.ConfirmationToken.PaymentMethodOptions.Card.Installments; + export namespace Installments { + export type Plan = Stripe.ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + } + } + export namespace PaymentMethodPreview { + export type AcssDebit = Stripe.ConfirmationToken.PaymentMethodPreview.AcssDebit; + export type Affirm = Stripe.ConfirmationToken.PaymentMethodPreview.Affirm; + export type AfterpayClearpay = Stripe.ConfirmationToken.PaymentMethodPreview.AfterpayClearpay; + export type Alipay = Stripe.ConfirmationToken.PaymentMethodPreview.Alipay; + export type AllowRedisplay = Stripe.ConfirmationToken.PaymentMethodPreview.AllowRedisplay; + export type Alma = Stripe.ConfirmationToken.PaymentMethodPreview.Alma; + export type AmazonPay = Stripe.ConfirmationToken.PaymentMethodPreview.AmazonPay; + export type AuBecsDebit = Stripe.ConfirmationToken.PaymentMethodPreview.AuBecsDebit; + export type BacsDebit = Stripe.ConfirmationToken.PaymentMethodPreview.BacsDebit; + export type Bancontact = Stripe.ConfirmationToken.PaymentMethodPreview.Bancontact; + export type Billie = Stripe.ConfirmationToken.PaymentMethodPreview.Billie; + export type BillingDetails = Stripe.ConfirmationToken.PaymentMethodPreview.BillingDetails; + export type Bizum = Stripe.ConfirmationToken.PaymentMethodPreview.Bizum; + export type Blik = Stripe.ConfirmationToken.PaymentMethodPreview.Blik; + export type Boleto = Stripe.ConfirmationToken.PaymentMethodPreview.Boleto; + export type Card = Stripe.ConfirmationToken.PaymentMethodPreview.Card; + export type CardPresent = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent; + export type Cashapp = Stripe.ConfirmationToken.PaymentMethodPreview.Cashapp; + export type Crypto = Stripe.ConfirmationToken.PaymentMethodPreview.Crypto; + export type CustomerBalance = Stripe.ConfirmationToken.PaymentMethodPreview.CustomerBalance; + export type Eps = Stripe.ConfirmationToken.PaymentMethodPreview.Eps; + export type Fpx = Stripe.ConfirmationToken.PaymentMethodPreview.Fpx; + export type Giropay = Stripe.ConfirmationToken.PaymentMethodPreview.Giropay; + export type Grabpay = Stripe.ConfirmationToken.PaymentMethodPreview.Grabpay; + export type Ideal = Stripe.ConfirmationToken.PaymentMethodPreview.Ideal; + export type InteracPresent = Stripe.ConfirmationToken.PaymentMethodPreview.InteracPresent; + export type KakaoPay = Stripe.ConfirmationToken.PaymentMethodPreview.KakaoPay; + export type Klarna = Stripe.ConfirmationToken.PaymentMethodPreview.Klarna; + export type Konbini = Stripe.ConfirmationToken.PaymentMethodPreview.Konbini; + export type KrCard = Stripe.ConfirmationToken.PaymentMethodPreview.KrCard; + export type Link = Stripe.ConfirmationToken.PaymentMethodPreview.Link; + export type MbWay = Stripe.ConfirmationToken.PaymentMethodPreview.MbWay; + export type Mobilepay = Stripe.ConfirmationToken.PaymentMethodPreview.Mobilepay; + export type Multibanco = Stripe.ConfirmationToken.PaymentMethodPreview.Multibanco; + export type NaverPay = Stripe.ConfirmationToken.PaymentMethodPreview.NaverPay; + export type NzBankAccount = Stripe.ConfirmationToken.PaymentMethodPreview.NzBankAccount; + export type Oxxo = Stripe.ConfirmationToken.PaymentMethodPreview.Oxxo; + export type P24 = Stripe.ConfirmationToken.PaymentMethodPreview.P24; + export type PayByBank = Stripe.ConfirmationToken.PaymentMethodPreview.PayByBank; + export type Payco = Stripe.ConfirmationToken.PaymentMethodPreview.Payco; + export type Paynow = Stripe.ConfirmationToken.PaymentMethodPreview.Paynow; + export type Paypal = Stripe.ConfirmationToken.PaymentMethodPreview.Paypal; + export type Payto = Stripe.ConfirmationToken.PaymentMethodPreview.Payto; + export type Pix = Stripe.ConfirmationToken.PaymentMethodPreview.Pix; + export type Promptpay = Stripe.ConfirmationToken.PaymentMethodPreview.Promptpay; + export type RevolutPay = Stripe.ConfirmationToken.PaymentMethodPreview.RevolutPay; + export type SamsungPay = Stripe.ConfirmationToken.PaymentMethodPreview.SamsungPay; + export type Satispay = Stripe.ConfirmationToken.PaymentMethodPreview.Satispay; + export type Scalapay = Stripe.ConfirmationToken.PaymentMethodPreview.Scalapay; + export type SepaDebit = Stripe.ConfirmationToken.PaymentMethodPreview.SepaDebit; + export type Sofort = Stripe.ConfirmationToken.PaymentMethodPreview.Sofort; + export type Sunbit = Stripe.ConfirmationToken.PaymentMethodPreview.Sunbit; + export type Swish = Stripe.ConfirmationToken.PaymentMethodPreview.Swish; + export type Twint = Stripe.ConfirmationToken.PaymentMethodPreview.Twint; + export type Type = Stripe.ConfirmationToken.PaymentMethodPreview.Type; + export type Upi = Stripe.ConfirmationToken.PaymentMethodPreview.Upi; + export type UsBankAccount = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount; + export type WechatPay = Stripe.ConfirmationToken.PaymentMethodPreview.WechatPay; + export type Zip = Stripe.ConfirmationToken.PaymentMethodPreview.Zip; + export namespace Card { + export type Checks = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Checks; + export type GeneratedFrom = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom; + export type Networks = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Networks; + export type RegulatedStatus = Stripe.ConfirmationToken.PaymentMethodPreview.Card.RegulatedStatus; + export type ThreeDSecureUsage = Stripe.ConfirmationToken.PaymentMethodPreview.Card.ThreeDSecureUsage; + export type Wallet = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet; + export namespace GeneratedFrom { + export type PaymentMethodDetails = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails; + export namespace PaymentMethodDetails { + export type CardPresent = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; + export namespace CardPresent { + export type Offline = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; + export namespace Receipt { + export type AccountType = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + } + } + export namespace Wallet { + export type AmexExpressCheckout = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.ApplePay; + export type GooglePay = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.GooglePay; + export type Link = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Link; + export type Masterpass = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Masterpass; + export type SamsungPay = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.SamsungPay; + export type Type = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Type; + export type VisaCheckout = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.VisaCheckout; + } + } + export namespace CardPresent { + export type Networks = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.Networks; + export type Offline = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.Offline; + export type ReadMethod = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.ReadMethod; + export type Wallet = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.Wallet; + export namespace Wallet { + export type Type = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.Wallet.Type; + } + } + export namespace Eps { + export type Bank = Stripe.ConfirmationToken.PaymentMethodPreview.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.ConfirmationToken.PaymentMethodPreview.Fpx.AccountHolderType; + export type Bank = Stripe.ConfirmationToken.PaymentMethodPreview.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.ConfirmationToken.PaymentMethodPreview.Ideal.Bank; + export type Bic = Stripe.ConfirmationToken.PaymentMethodPreview.Ideal.Bic; + } + export namespace InteracPresent { + export type Networks = Stripe.ConfirmationToken.PaymentMethodPreview.InteracPresent.Networks; + export type ReadMethod = Stripe.ConfirmationToken.PaymentMethodPreview.InteracPresent.ReadMethod; + } + export namespace Klarna { + export type Dob = Stripe.ConfirmationToken.PaymentMethodPreview.Klarna.Dob; + } + export namespace KrCard { + export type Brand = Stripe.ConfirmationToken.PaymentMethodPreview.KrCard.Brand; + } + export namespace NaverPay { + export type Funding = Stripe.ConfirmationToken.PaymentMethodPreview.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.ConfirmationToken.PaymentMethodPreview.P24.Bank; + } + export namespace SepaDebit { + export type GeneratedFrom = Stripe.ConfirmationToken.PaymentMethodPreview.SepaDebit.GeneratedFrom; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.AccountType; + export type Networks = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networks; + export type StatusDetails = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails; + export namespace Networks { + export type Supported = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networks.Supported; + } + export namespace StatusDetails { + export type Blocked = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked; + export namespace Blocked { + export type NetworkCode = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked.NetworkCode; + export type Reason = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked.Reason; + } + } + } + } + } + export namespace CountrySpec { + export type VerificationFields = Stripe.CountrySpec.VerificationFields; + export namespace VerificationFields { + export type Company = Stripe.CountrySpec.VerificationFields.Company; + export type Individual = Stripe.CountrySpec.VerificationFields.Individual; + } + } export namespace CouponCreateParams { export type AppliesTo = Stripe.CouponCreateParams.AppliesTo; export type CurrencyOptions = Stripe.CouponCreateParams.CurrencyOptions; @@ -594,12 +1785,25 @@ declare namespace StripeConstructor { export namespace CouponUpdateParams { export type CurrencyOptions = Stripe.CouponUpdateParams.CurrencyOptions; } + export namespace Coupon { + export type AppliesTo = Stripe.Coupon.AppliesTo; + export type CurrencyOptions = Stripe.Coupon.CurrencyOptions; + export type Duration = Stripe.Coupon.Duration; + } export namespace CreditNoteCreateParams { export type EmailType = Stripe.CreditNoteCreateParams.EmailType; export type Line = Stripe.CreditNoteCreateParams.Line; export type Reason = Stripe.CreditNoteCreateParams.Reason; export type Refund = Stripe.CreditNoteCreateParams.Refund; export type ShippingCost = Stripe.CreditNoteCreateParams.ShippingCost; + export namespace Line { + export type TaxAmount = Stripe.CreditNoteCreateParams.Line.TaxAmount; + export type Type = Stripe.CreditNoteCreateParams.Line.Type; + } + export namespace Refund { + export type PaymentRecordRefund = Stripe.CreditNoteCreateParams.Refund.PaymentRecordRefund; + export type Type = Stripe.CreditNoteCreateParams.Refund.Type; + } } export namespace CreditNoteListPreviewLineItemsParams { export type EmailType = Stripe.CreditNoteListPreviewLineItemsParams.EmailType; @@ -607,6 +1811,14 @@ declare namespace StripeConstructor { export type Reason = Stripe.CreditNoteListPreviewLineItemsParams.Reason; export type Refund = Stripe.CreditNoteListPreviewLineItemsParams.Refund; export type ShippingCost = Stripe.CreditNoteListPreviewLineItemsParams.ShippingCost; + export namespace Line { + export type TaxAmount = Stripe.CreditNoteListPreviewLineItemsParams.Line.TaxAmount; + export type Type = Stripe.CreditNoteListPreviewLineItemsParams.Line.Type; + } + export namespace Refund { + export type PaymentRecordRefund = Stripe.CreditNoteListPreviewLineItemsParams.Refund.PaymentRecordRefund; + export type Type = Stripe.CreditNoteListPreviewLineItemsParams.Refund.Type; + } } export namespace CreditNotePreviewParams { export type EmailType = Stripe.CreditNotePreviewParams.EmailType; @@ -614,6 +1826,42 @@ declare namespace StripeConstructor { export type Reason = Stripe.CreditNotePreviewParams.Reason; export type Refund = Stripe.CreditNotePreviewParams.Refund; export type ShippingCost = Stripe.CreditNotePreviewParams.ShippingCost; + export namespace Line { + export type TaxAmount = Stripe.CreditNotePreviewParams.Line.TaxAmount; + export type Type = Stripe.CreditNotePreviewParams.Line.Type; + } + export namespace Refund { + export type PaymentRecordRefund = Stripe.CreditNotePreviewParams.Refund.PaymentRecordRefund; + export type Type = Stripe.CreditNotePreviewParams.Refund.Type; + } + } + export namespace CreditNote { + export type DiscountAmount = Stripe.CreditNote.DiscountAmount; + export type PretaxCreditAmount = Stripe.CreditNote.PretaxCreditAmount; + export type Reason = Stripe.CreditNote.Reason; + export type Refund = Stripe.CreditNote.Refund; + export type ShippingCost = Stripe.CreditNote.ShippingCost; + export type Status = Stripe.CreditNote.Status; + export type TotalTax = Stripe.CreditNote.TotalTax; + export type Type = Stripe.CreditNote.Type; + export namespace PretaxCreditAmount { + export type Type = Stripe.CreditNote.PretaxCreditAmount.Type; + } + export namespace Refund { + export type PaymentRecordRefund = Stripe.CreditNote.Refund.PaymentRecordRefund; + export type Type = Stripe.CreditNote.Refund.Type; + } + export namespace ShippingCost { + export type Tax = Stripe.CreditNote.ShippingCost.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe.CreditNote.ShippingCost.Tax.TaxabilityReason; + } + } + export namespace TotalTax { + export type TaxBehavior = Stripe.CreditNote.TotalTax.TaxBehavior; + export type TaxRateDetails = Stripe.CreditNote.TotalTax.TaxRateDetails; + export type TaxabilityReason = Stripe.CreditNote.TotalTax.TaxabilityReason; + } } export namespace CustomerCreateParams { export type CashBalance = Stripe.CustomerCreateParams.CashBalance; @@ -622,6 +1870,25 @@ declare namespace StripeConstructor { export type Tax = Stripe.CustomerCreateParams.Tax; export type TaxExempt = Stripe.CustomerCreateParams.TaxExempt; export type TaxIdDatum = Stripe.CustomerCreateParams.TaxIdDatum; + export namespace CashBalance { + export type Settings = Stripe.CustomerCreateParams.CashBalance.Settings; + export namespace Settings { + export type ReconciliationMode = Stripe.CustomerCreateParams.CashBalance.Settings.ReconciliationMode; + } + } + export namespace InvoiceSettings { + export type CustomField = Stripe.CustomerCreateParams.InvoiceSettings.CustomField; + export type RenderingOptions = Stripe.CustomerCreateParams.InvoiceSettings.RenderingOptions; + export namespace RenderingOptions { + export type AmountTaxDisplay = Stripe.CustomerCreateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay; + } + } + export namespace Tax { + export type ValidateLocation = Stripe.CustomerCreateParams.Tax.ValidateLocation; + } + export namespace TaxIdDatum { + export type Type = Stripe.CustomerCreateParams.TaxIdDatum.Type; + } } export namespace CustomerUpdateParams { export type CashBalance = Stripe.CustomerUpdateParams.CashBalance; @@ -629,9 +1896,30 @@ declare namespace StripeConstructor { export type Shipping = Stripe.CustomerUpdateParams.Shipping; export type Tax = Stripe.CustomerUpdateParams.Tax; export type TaxExempt = Stripe.CustomerUpdateParams.TaxExempt; + export namespace CashBalance { + export type Settings = Stripe.CustomerUpdateParams.CashBalance.Settings; + export namespace Settings { + export type ReconciliationMode = Stripe.CustomerUpdateParams.CashBalance.Settings.ReconciliationMode; + } + } + export namespace InvoiceSettings { + export type CustomField = Stripe.CustomerUpdateParams.InvoiceSettings.CustomField; + export type RenderingOptions = Stripe.CustomerUpdateParams.InvoiceSettings.RenderingOptions; + export namespace RenderingOptions { + export type AmountTaxDisplay = Stripe.CustomerUpdateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay; + } + } + export namespace Tax { + export type ValidateLocation = Stripe.CustomerUpdateParams.Tax.ValidateLocation; + } } export namespace CustomerCreateFundingInstructionsParams { export type BankTransfer = Stripe.CustomerCreateFundingInstructionsParams.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.CustomerCreateFundingInstructionsParams.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe.CustomerCreateFundingInstructionsParams.BankTransfer.RequestedAddressType; + export type Type = Stripe.CustomerCreateFundingInstructionsParams.BankTransfer.Type; + } } export namespace CustomerCreateTaxIdParams { export type Type = Stripe.CustomerCreateTaxIdParams.Type; @@ -642,16 +1930,179 @@ declare namespace StripeConstructor { } export namespace CustomerUpdateCashBalanceParams { export type Settings = Stripe.CustomerUpdateCashBalanceParams.Settings; + export namespace Settings { + export type ReconciliationMode = Stripe.CustomerUpdateCashBalanceParams.Settings.ReconciliationMode; + } } export namespace CustomerUpdateSourceParams { export type AccountHolderType = Stripe.CustomerUpdateSourceParams.AccountHolderType; export type Owner = Stripe.CustomerUpdateSourceParams.Owner; } + export namespace Customer { + export type InvoiceSettings = Stripe.Customer.InvoiceSettings; + export type Shipping = Stripe.Customer.Shipping; + export type Tax = Stripe.Customer.Tax; + export type TaxExempt = Stripe.Customer.TaxExempt; + export namespace InvoiceSettings { + export type CustomField = Stripe.Customer.InvoiceSettings.CustomField; + export type RenderingOptions = Stripe.Customer.InvoiceSettings.RenderingOptions; + } + export namespace Tax { + export type AutomaticTax = Stripe.Customer.Tax.AutomaticTax; + export type Location = Stripe.Customer.Tax.Location; + export type Provider = Stripe.Customer.Tax.Provider; + export namespace Location { + export type Source = Stripe.Customer.Tax.Location.Source; + } + } + } export namespace CustomerSessionCreateParams { export type Components = Stripe.CustomerSessionCreateParams.Components; + export namespace Components { + export type BuyButton = Stripe.CustomerSessionCreateParams.Components.BuyButton; + export type CustomerSheet = Stripe.CustomerSessionCreateParams.Components.CustomerSheet; + export type MobilePaymentElement = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement; + export type PaymentElement = Stripe.CustomerSessionCreateParams.Components.PaymentElement; + export type PricingTable = Stripe.CustomerSessionCreateParams.Components.PricingTable; + export namespace CustomerSheet { + export type Features = Stripe.CustomerSessionCreateParams.Components.CustomerSheet.Features; + export namespace Features { + export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSessionCreateParams.Components.CustomerSheet.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRemove = Stripe.CustomerSessionCreateParams.Components.CustomerSheet.Features.PaymentMethodRemove; + } + } + export namespace MobilePaymentElement { + export type Features = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features; + export namespace Features { + export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRedisplay = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodRedisplay; + export type PaymentMethodRemove = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodRemove; + export type PaymentMethodSave = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodSave; + export type PaymentMethodSaveAllowRedisplayOverride = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodSaveAllowRedisplayOverride; + } + } + export namespace PaymentElement { + export type Features = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features; + export namespace Features { + export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRedisplay = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodRedisplay; + export type PaymentMethodRemove = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodRemove; + export type PaymentMethodSave = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodSave; + export type PaymentMethodSaveUsage = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodSaveUsage; + } + } + } + } + export namespace CustomerSession { + export type Components = Stripe.CustomerSession.Components; + export namespace Components { + export type BuyButton = Stripe.CustomerSession.Components.BuyButton; + export type CustomerSheet = Stripe.CustomerSession.Components.CustomerSheet; + export type MobilePaymentElement = Stripe.CustomerSession.Components.MobilePaymentElement; + export type PaymentElement = Stripe.CustomerSession.Components.PaymentElement; + export type PricingTable = Stripe.CustomerSession.Components.PricingTable; + export namespace CustomerSheet { + export type Features = Stripe.CustomerSession.Components.CustomerSheet.Features; + export namespace Features { + export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSession.Components.CustomerSheet.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRemove = Stripe.CustomerSession.Components.CustomerSheet.Features.PaymentMethodRemove; + } + } + export namespace MobilePaymentElement { + export type Features = Stripe.CustomerSession.Components.MobilePaymentElement.Features; + export namespace Features { + export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRedisplay = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodRedisplay; + export type PaymentMethodRemove = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodRemove; + export type PaymentMethodSave = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodSave; + export type PaymentMethodSaveAllowRedisplayOverride = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodSaveAllowRedisplayOverride; + } + } + export namespace PaymentElement { + export type Features = Stripe.CustomerSession.Components.PaymentElement.Features; + export namespace Features { + export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRedisplay = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodRedisplay; + export type PaymentMethodRemove = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodRemove; + export type PaymentMethodSave = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodSave; + export type PaymentMethodSaveUsage = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodSaveUsage; + } + } + } } export namespace DisputeUpdateParams { export type Evidence = Stripe.DisputeUpdateParams.Evidence; + export namespace Evidence { + export type EnhancedEvidence = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence; + export namespace EnhancedEvidence { + export type VisaCompellingEvidence3 = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3; + export type VisaCompliance = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompliance; + export namespace VisaCompellingEvidence3 { + export type DisputedTransaction = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction; + export type PriorUndisputedTransaction = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.PriorUndisputedTransaction; + export namespace DisputedTransaction { + export type MerchandiseOrServices = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction.MerchandiseOrServices; + } + } + } + } + } + export namespace Dispute { + export type EnhancedEligibilityType = Stripe.Dispute.EnhancedEligibilityType; + export type Evidence = Stripe.Dispute.Evidence; + export type EvidenceDetails = Stripe.Dispute.EvidenceDetails; + export type PaymentMethodDetails = Stripe.Dispute.PaymentMethodDetails; + export type Status = Stripe.Dispute.Status; + export namespace Evidence { + export type EnhancedEvidence = Stripe.Dispute.Evidence.EnhancedEvidence; + export namespace EnhancedEvidence { + export type VisaCompellingEvidence3 = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3; + export type VisaCompliance = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompliance; + export namespace VisaCompellingEvidence3 { + export type DisputedTransaction = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction; + export type PriorUndisputedTransaction = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.PriorUndisputedTransaction; + export namespace DisputedTransaction { + export type MerchandiseOrServices = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction.MerchandiseOrServices; + } + } + } + } + export namespace EvidenceDetails { + export type EnhancedEligibility = Stripe.Dispute.EvidenceDetails.EnhancedEligibility; + export namespace EnhancedEligibility { + export type VisaCompellingEvidence3 = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3; + export type VisaCompliance = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance; + export namespace VisaCompellingEvidence3 { + export type RequiredAction = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.RequiredAction; + export type Status = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.Status; + } + export namespace VisaCompliance { + export type Status = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance.Status; + } + } + } + export namespace PaymentMethodDetails { + export type AmazonPay = Stripe.Dispute.PaymentMethodDetails.AmazonPay; + export type Card = Stripe.Dispute.PaymentMethodDetails.Card; + export type Klarna = Stripe.Dispute.PaymentMethodDetails.Klarna; + export type Paypal = Stripe.Dispute.PaymentMethodDetails.Paypal; + export type Type = Stripe.Dispute.PaymentMethodDetails.Type; + export namespace AmazonPay { + export type DisputeType = Stripe.Dispute.PaymentMethodDetails.AmazonPay.DisputeType; + } + export namespace Card { + export type CaseType = Stripe.Dispute.PaymentMethodDetails.Card.CaseType; + } + } + } + export namespace Event { + export type Data = Stripe.Event.Data; + export type Request = Stripe.Event.Request; + export type Type = Stripe.Event.Type; + export namespace Data { + export type Object = Stripe.Event.Data.Object; + export type PreviousAttributes = Stripe.Event.Data.PreviousAttributes; + } } export namespace FileCreateParams { export type Purpose = Stripe.FileCreateParams.Purpose; @@ -660,6 +2111,9 @@ declare namespace StripeConstructor { export namespace FileListParams { export type Purpose = Stripe.FileListParams.Purpose; } + export namespace File { + export type Purpose = Stripe.File.Purpose; + } export namespace InvoiceCreateParams { export type AutomaticTax = Stripe.InvoiceCreateParams.AutomaticTax; export type CollectionMethod = Stripe.InvoiceCreateParams.CollectionMethod; @@ -673,6 +2127,115 @@ declare namespace StripeConstructor { export type ShippingCost = Stripe.InvoiceCreateParams.ShippingCost; export type ShippingDetails = Stripe.InvoiceCreateParams.ShippingDetails; export type TransferData = Stripe.InvoiceCreateParams.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe.InvoiceCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.InvoiceCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace Issuer { + export type Type = Stripe.InvoiceCreateParams.Issuer.Type; + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodType; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Installments = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace Installments { + export type Plan = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + } + } + export namespace Payto { + export type MandateOptions = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type Purpose = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + } + export namespace Upi { + export type MandateOptions = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } + } + export namespace Rendering { + export type AmountTaxDisplay = Stripe.InvoiceCreateParams.Rendering.AmountTaxDisplay; + export type Pdf = Stripe.InvoiceCreateParams.Rendering.Pdf; + export namespace Pdf { + export type PageSize = Stripe.InvoiceCreateParams.Rendering.Pdf.PageSize; + } + } + export namespace ShippingCost { + export type ShippingRateData = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData; + export namespace ShippingRateData { + export type DeliveryEstimate = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + } } export namespace InvoiceUpdateParams { export type AutomaticTax = Stripe.InvoiceUpdateParams.AutomaticTax; @@ -685,6 +2248,115 @@ declare namespace StripeConstructor { export type ShippingCost = Stripe.InvoiceUpdateParams.ShippingCost; export type ShippingDetails = Stripe.InvoiceUpdateParams.ShippingDetails; export type TransferData = Stripe.InvoiceUpdateParams.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe.InvoiceUpdateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.InvoiceUpdateParams.AutomaticTax.Liability.Type; + } + } + export namespace Issuer { + export type Type = Stripe.InvoiceUpdateParams.Issuer.Type; + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodType; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Installments = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace Installments { + export type Plan = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + } + } + export namespace Payto { + export type MandateOptions = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type Purpose = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + } + export namespace Upi { + export type MandateOptions = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } + } + export namespace Rendering { + export type AmountTaxDisplay = Stripe.InvoiceUpdateParams.Rendering.AmountTaxDisplay; + export type Pdf = Stripe.InvoiceUpdateParams.Rendering.Pdf; + export namespace Pdf { + export type PageSize = Stripe.InvoiceUpdateParams.Rendering.Pdf.PageSize; + } + } + export namespace ShippingCost { + export type ShippingRateData = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData; + export namespace ShippingRateData { + export type DeliveryEstimate = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + } } export namespace InvoiceListParams { export type CollectionMethod = Stripe.InvoiceListParams.CollectionMethod; @@ -692,6 +2364,25 @@ declare namespace StripeConstructor { } export namespace InvoiceAddLinesParams { export type Line = Stripe.InvoiceAddLinesParams.Line; + export namespace Line { + export type Discount = Stripe.InvoiceAddLinesParams.Line.Discount; + export type Period = Stripe.InvoiceAddLinesParams.Line.Period; + export type PriceData = Stripe.InvoiceAddLinesParams.Line.PriceData; + export type Pricing = Stripe.InvoiceAddLinesParams.Line.Pricing; + export type TaxAmount = Stripe.InvoiceAddLinesParams.Line.TaxAmount; + export namespace PriceData { + export type ProductData = Stripe.InvoiceAddLinesParams.Line.PriceData.ProductData; + export type TaxBehavior = Stripe.InvoiceAddLinesParams.Line.PriceData.TaxBehavior; + } + export namespace TaxAmount { + export type TaxRateData = Stripe.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData; + export type TaxabilityReason = Stripe.InvoiceAddLinesParams.Line.TaxAmount.TaxabilityReason; + export namespace TaxRateData { + export type JurisdictionLevel = Stripe.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData.JurisdictionLevel; + export type TaxType = Stripe.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData.TaxType; + } + } + } } export namespace InvoiceCreatePreviewParams { export type AutomaticTax = Stripe.InvoiceCreatePreviewParams.AutomaticTax; @@ -702,12 +2393,170 @@ declare namespace StripeConstructor { export type PreviewMode = Stripe.InvoiceCreatePreviewParams.PreviewMode; export type ScheduleDetails = Stripe.InvoiceCreatePreviewParams.ScheduleDetails; export type SubscriptionDetails = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails; - } - export namespace InvoiceRemoveLinesParams { - export type Line = Stripe.InvoiceRemoveLinesParams.Line; + export namespace AutomaticTax { + export type Liability = Stripe.InvoiceCreatePreviewParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.InvoiceCreatePreviewParams.AutomaticTax.Liability.Type; + } + } + export namespace CustomerDetails { + export type Shipping = Stripe.InvoiceCreatePreviewParams.CustomerDetails.Shipping; + export type Tax = Stripe.InvoiceCreatePreviewParams.CustomerDetails.Tax; + export type TaxExempt = Stripe.InvoiceCreatePreviewParams.CustomerDetails.TaxExempt; + export type TaxId = Stripe.InvoiceCreatePreviewParams.CustomerDetails.TaxId; + export namespace TaxId { + export type Type = Stripe.InvoiceCreatePreviewParams.CustomerDetails.TaxId.Type; + } + } + export namespace InvoiceItem { + export type Discount = Stripe.InvoiceCreatePreviewParams.InvoiceItem.Discount; + export type Period = Stripe.InvoiceCreatePreviewParams.InvoiceItem.Period; + export type PriceData = Stripe.InvoiceCreatePreviewParams.InvoiceItem.PriceData; + export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.InvoiceItem.TaxBehavior; + export namespace PriceData { + export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.InvoiceItem.PriceData.TaxBehavior; + } + } + export namespace Issuer { + export type Type = Stripe.InvoiceCreatePreviewParams.Issuer.Type; + } + export namespace ScheduleDetails { + export type BillingMode = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode; + export type EndBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.EndBehavior; + export type Phase = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase; + export type ProrationBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.ProrationBehavior; + export namespace BillingMode { + export type Flexible = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Flexible; + export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace Phase { + export type AddInvoiceItem = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.BillingThresholds; + export type CollectionMethod = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.CollectionMethod; + export type Discount = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount; + export type Duration = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Duration; + export type InvoiceSettings = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings; + export type Item = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item; + export type ProrationBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.ProrationBehavior; + export type TransferData = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.TransferData; + export namespace AddInvoiceItem { + export type Discount = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount; + export type Period = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period; + export type PriceData = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.PriceData; + export namespace Period { + export type End = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.PriceData.TaxBehavior; + } + } + export namespace AutomaticTax { + export type Liability = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax.Liability.Type; + } + } + export namespace Duration { + export type Interval = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Duration.Interval; + } + export namespace InvoiceSettings { + export type Issuer = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.BillingThresholds; + export type Discount = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount; + export type PriceData = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData; + export namespace PriceData { + export type Recurring = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.Recurring; + export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.Recurring.Interval; + } + } + } + } + } + export namespace SubscriptionDetails { + export type BillingCycleAnchor = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingCycleAnchor; + export type BillingMode = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode; + export type BillingSchedule = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule; + export type CancelAt = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.CancelAt; + export type Item = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item; + export type ProrationBehavior = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.ProrationBehavior; + export namespace BillingMode { + export type Flexible = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Flexible; + export type Type = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.AppliesTo; + export type BillUntil = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Duration; + export type Type = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace Item { + export type BillingThresholds = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.BillingThresholds; + export type Discount = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount; + export type PriceData = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData; + export namespace PriceData { + export type Recurring = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.Recurring; + export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.Recurring.Interval; + } + } + } + } + } + export namespace InvoiceRemoveLinesParams { + export type Line = Stripe.InvoiceRemoveLinesParams.Line; + export namespace Line { + export type Behavior = Stripe.InvoiceRemoveLinesParams.Line.Behavior; + } } export namespace InvoiceUpdateLinesParams { export type Line = Stripe.InvoiceUpdateLinesParams.Line; + export namespace Line { + export type Discount = Stripe.InvoiceUpdateLinesParams.Line.Discount; + export type Period = Stripe.InvoiceUpdateLinesParams.Line.Period; + export type PriceData = Stripe.InvoiceUpdateLinesParams.Line.PriceData; + export type Pricing = Stripe.InvoiceUpdateLinesParams.Line.Pricing; + export type TaxAmount = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount; + export namespace PriceData { + export type ProductData = Stripe.InvoiceUpdateLinesParams.Line.PriceData.ProductData; + export type TaxBehavior = Stripe.InvoiceUpdateLinesParams.Line.PriceData.TaxBehavior; + } + export namespace TaxAmount { + export type TaxRateData = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData; + export type TaxabilityReason = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount.TaxabilityReason; + export namespace TaxRateData { + export type JurisdictionLevel = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData.JurisdictionLevel; + export type TaxType = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData.TaxType; + } + } + } } export namespace InvoiceUpdateLineItemParams { export type Discount = Stripe.InvoiceUpdateLineItemParams.Discount; @@ -715,6 +2564,155 @@ declare namespace StripeConstructor { export type PriceData = Stripe.InvoiceUpdateLineItemParams.PriceData; export type Pricing = Stripe.InvoiceUpdateLineItemParams.Pricing; export type TaxAmount = Stripe.InvoiceUpdateLineItemParams.TaxAmount; + export namespace PriceData { + export type ProductData = Stripe.InvoiceUpdateLineItemParams.PriceData.ProductData; + export type TaxBehavior = Stripe.InvoiceUpdateLineItemParams.PriceData.TaxBehavior; + } + export namespace TaxAmount { + export type TaxRateData = Stripe.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData; + export type TaxabilityReason = Stripe.InvoiceUpdateLineItemParams.TaxAmount.TaxabilityReason; + export namespace TaxRateData { + export type JurisdictionLevel = Stripe.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData.JurisdictionLevel; + export type TaxType = Stripe.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData.TaxType; + } + } + } + export namespace Invoice { + export type AutomaticTax = Stripe.Invoice.AutomaticTax; + export type BillingReason = Stripe.Invoice.BillingReason; + export type CollectionMethod = Stripe.Invoice.CollectionMethod; + export type ConfirmationSecret = Stripe.Invoice.ConfirmationSecret; + export type CustomField = Stripe.Invoice.CustomField; + export type CustomerShipping = Stripe.Invoice.CustomerShipping; + export type CustomerTaxExempt = Stripe.Invoice.CustomerTaxExempt; + export type CustomerTaxId = Stripe.Invoice.CustomerTaxId; + export type FromInvoice = Stripe.Invoice.FromInvoice; + export type Issuer = Stripe.Invoice.Issuer; + export type LastFinalizationError = Stripe.Invoice.LastFinalizationError; + export type Parent = Stripe.Invoice.Parent; + export type PaymentSettings = Stripe.Invoice.PaymentSettings; + export type Rendering = Stripe.Invoice.Rendering; + export type ShippingCost = Stripe.Invoice.ShippingCost; + export type ShippingDetails = Stripe.Invoice.ShippingDetails; + export type Status = Stripe.Invoice.Status; + export type StatusTransitions = Stripe.Invoice.StatusTransitions; + export type ThresholdReason = Stripe.Invoice.ThresholdReason; + export type TotalDiscountAmount = Stripe.Invoice.TotalDiscountAmount; + export type TotalPretaxCreditAmount = Stripe.Invoice.TotalPretaxCreditAmount; + export type TotalTax = Stripe.Invoice.TotalTax; + export namespace AutomaticTax { + export type DisabledReason = Stripe.Invoice.AutomaticTax.DisabledReason; + export type Liability = Stripe.Invoice.AutomaticTax.Liability; + export type Status = Stripe.Invoice.AutomaticTax.Status; + export namespace Liability { + export type Type = Stripe.Invoice.AutomaticTax.Liability.Type; + } + } + export namespace CustomerTaxId { + export type Type = Stripe.Invoice.CustomerTaxId.Type; + } + export namespace Issuer { + export type Type = Stripe.Invoice.Issuer.Type; + } + export namespace LastFinalizationError { + export type Code = Stripe.Invoice.LastFinalizationError.Code; + export type Type = Stripe.Invoice.LastFinalizationError.Type; + } + export namespace Parent { + export type QuoteDetails = Stripe.Invoice.Parent.QuoteDetails; + export type SubscriptionDetails = Stripe.Invoice.Parent.SubscriptionDetails; + export type Type = Stripe.Invoice.Parent.Type; + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe.Invoice.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe.Invoice.PaymentSettings.PaymentMethodType; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Installments = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export namespace EuBankTransfer { + export type Country = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace Payto { + export type MandateOptions = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type Purpose = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + } + export namespace Upi { + export type MandateOptions = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } + } + export namespace Rendering { + export type Pdf = Stripe.Invoice.Rendering.Pdf; + export namespace Pdf { + export type PageSize = Stripe.Invoice.Rendering.Pdf.PageSize; + } + } + export namespace ShippingCost { + export type Tax = Stripe.Invoice.ShippingCost.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe.Invoice.ShippingCost.Tax.TaxabilityReason; + } + } + export namespace ThresholdReason { + export type ItemReason = Stripe.Invoice.ThresholdReason.ItemReason; + } + export namespace TotalPretaxCreditAmount { + export type Type = Stripe.Invoice.TotalPretaxCreditAmount.Type; + } + export namespace TotalTax { + export type TaxBehavior = Stripe.Invoice.TotalTax.TaxBehavior; + export type TaxRateDetails = Stripe.Invoice.TotalTax.TaxRateDetails; + export type TaxabilityReason = Stripe.Invoice.TotalTax.TaxabilityReason; + } } export namespace InvoiceItemCreateParams { export type Discount = Stripe.InvoiceItemCreateParams.Discount; @@ -722,6 +2720,9 @@ declare namespace StripeConstructor { export type PriceData = Stripe.InvoiceItemCreateParams.PriceData; export type Pricing = Stripe.InvoiceItemCreateParams.Pricing; export type TaxBehavior = Stripe.InvoiceItemCreateParams.TaxBehavior; + export namespace PriceData { + export type TaxBehavior = Stripe.InvoiceItemCreateParams.PriceData.TaxBehavior; + } } export namespace InvoiceItemUpdateParams { export type Discount = Stripe.InvoiceItemUpdateParams.Discount; @@ -729,14 +2730,314 @@ declare namespace StripeConstructor { export type PriceData = Stripe.InvoiceItemUpdateParams.PriceData; export type Pricing = Stripe.InvoiceItemUpdateParams.Pricing; export type TaxBehavior = Stripe.InvoiceItemUpdateParams.TaxBehavior; + export namespace PriceData { + export type TaxBehavior = Stripe.InvoiceItemUpdateParams.PriceData.TaxBehavior; + } + } + export namespace InvoiceItem { + export type Parent = Stripe.InvoiceItem.Parent; + export type Period = Stripe.InvoiceItem.Period; + export type Pricing = Stripe.InvoiceItem.Pricing; + export type ProrationDetails = Stripe.InvoiceItem.ProrationDetails; + export namespace Parent { + export type SubscriptionDetails = Stripe.InvoiceItem.Parent.SubscriptionDetails; + } + export namespace Pricing { + export type PriceDetails = Stripe.InvoiceItem.Pricing.PriceDetails; + } + export namespace ProrationDetails { + export type CreditedItems = Stripe.InvoiceItem.ProrationDetails.CreditedItems; + export type DiscountAmount = Stripe.InvoiceItem.ProrationDetails.DiscountAmount; + export namespace CreditedItems { + export type InvoiceLineItemDetails = Stripe.InvoiceItem.ProrationDetails.CreditedItems.InvoiceLineItemDetails; + export type Type = Stripe.InvoiceItem.ProrationDetails.CreditedItems.Type; + } + } } export namespace InvoicePaymentListParams { export type Payment = Stripe.InvoicePaymentListParams.Payment; export type Status = Stripe.InvoicePaymentListParams.Status; + export namespace Payment { + export type Type = Stripe.InvoicePaymentListParams.Payment.Type; + } + } + export namespace InvoicePayment { + export type Payment = Stripe.InvoicePayment.Payment; + export type StatusTransitions = Stripe.InvoicePayment.StatusTransitions; + export namespace Payment { + export type Type = Stripe.InvoicePayment.Payment.Type; + } } export namespace InvoiceRenderingTemplateListParams { export type Status = Stripe.InvoiceRenderingTemplateListParams.Status; } + export namespace InvoiceRenderingTemplate { + export type Status = Stripe.InvoiceRenderingTemplate.Status; + } + export namespace Mandate { + export type CustomerAcceptance = Stripe.Mandate.CustomerAcceptance; + export type MultiUse = Stripe.Mandate.MultiUse; + export type PaymentMethodDetails = Stripe.Mandate.PaymentMethodDetails; + export type SingleUse = Stripe.Mandate.SingleUse; + export type Status = Stripe.Mandate.Status; + export type Type = Stripe.Mandate.Type; + export namespace CustomerAcceptance { + export type Offline = Stripe.Mandate.CustomerAcceptance.Offline; + export type Online = Stripe.Mandate.CustomerAcceptance.Online; + export type Type = Stripe.Mandate.CustomerAcceptance.Type; + } + export namespace PaymentMethodDetails { + export type AcssDebit = Stripe.Mandate.PaymentMethodDetails.AcssDebit; + export type AmazonPay = Stripe.Mandate.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe.Mandate.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe.Mandate.PaymentMethodDetails.BacsDebit; + export type Card = Stripe.Mandate.PaymentMethodDetails.Card; + export type Cashapp = Stripe.Mandate.PaymentMethodDetails.Cashapp; + export type KakaoPay = Stripe.Mandate.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe.Mandate.PaymentMethodDetails.Klarna; + export type KrCard = Stripe.Mandate.PaymentMethodDetails.KrCard; + export type Link = Stripe.Mandate.PaymentMethodDetails.Link; + export type NaverPay = Stripe.Mandate.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe.Mandate.PaymentMethodDetails.NzBankAccount; + export type Paypal = Stripe.Mandate.PaymentMethodDetails.Paypal; + export type Payto = Stripe.Mandate.PaymentMethodDetails.Payto; + export type Pix = Stripe.Mandate.PaymentMethodDetails.Pix; + export type RevolutPay = Stripe.Mandate.PaymentMethodDetails.RevolutPay; + export type SepaDebit = Stripe.Mandate.PaymentMethodDetails.SepaDebit; + export type Twint = Stripe.Mandate.PaymentMethodDetails.Twint; + export type Upi = Stripe.Mandate.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe.Mandate.PaymentMethodDetails.UsBankAccount; + export namespace AcssDebit { + export type DefaultFor = Stripe.Mandate.PaymentMethodDetails.AcssDebit.DefaultFor; + export type PaymentSchedule = Stripe.Mandate.PaymentMethodDetails.AcssDebit.PaymentSchedule; + export type TransactionType = Stripe.Mandate.PaymentMethodDetails.AcssDebit.TransactionType; + } + export namespace BacsDebit { + export type NetworkStatus = Stripe.Mandate.PaymentMethodDetails.BacsDebit.NetworkStatus; + export type RevocationReason = Stripe.Mandate.PaymentMethodDetails.BacsDebit.RevocationReason; + } + export namespace Payto { + export type AmountType = Stripe.Mandate.PaymentMethodDetails.Payto.AmountType; + export type PaymentSchedule = Stripe.Mandate.PaymentMethodDetails.Payto.PaymentSchedule; + export type Purpose = Stripe.Mandate.PaymentMethodDetails.Payto.Purpose; + } + export namespace Pix { + export type AmountIncludesIof = Stripe.Mandate.PaymentMethodDetails.Pix.AmountIncludesIof; + export type AmountType = Stripe.Mandate.PaymentMethodDetails.Pix.AmountType; + export type PaymentSchedule = Stripe.Mandate.PaymentMethodDetails.Pix.PaymentSchedule; + } + export namespace Upi { + export type AmountType = Stripe.Mandate.PaymentMethodDetails.Upi.AmountType; + } + } + } + export namespace PaymentAttemptRecord { + export type Amount = Stripe.PaymentAttemptRecord.Amount; + export type AmountAuthorized = Stripe.PaymentAttemptRecord.AmountAuthorized; + export type AmountCanceled = Stripe.PaymentAttemptRecord.AmountCanceled; + export type AmountFailed = Stripe.PaymentAttemptRecord.AmountFailed; + export type AmountGuaranteed = Stripe.PaymentAttemptRecord.AmountGuaranteed; + export type AmountRefunded = Stripe.PaymentAttemptRecord.AmountRefunded; + export type AmountRequested = Stripe.PaymentAttemptRecord.AmountRequested; + export type CustomerDetails = Stripe.PaymentAttemptRecord.CustomerDetails; + export type CustomerPresence = Stripe.PaymentAttemptRecord.CustomerPresence; + export type PaymentMethodDetails = Stripe.PaymentAttemptRecord.PaymentMethodDetails; + export type ProcessorDetails = Stripe.PaymentAttemptRecord.ProcessorDetails; + export type ReportedBy = Stripe.PaymentAttemptRecord.ReportedBy; + export type ShippingDetails = Stripe.PaymentAttemptRecord.ShippingDetails; + export namespace PaymentMethodDetails { + export type AchCreditTransfer = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Alipay; + export type Alma = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Bancontact; + export type Billie = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Billie; + export type BillingDetails = Stripe.PaymentAttemptRecord.PaymentMethodDetails.BillingDetails; + export type Bizum = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Bizum; + export type Blik = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Blik; + export type Boleto = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Boleto; + export type Card = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card; + export type CardPresent = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Crypto; + export type Custom = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Custom; + export type CustomerBalance = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Eps; + export type Fpx = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Fpx; + export type Giropay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Giropay; + export type Grabpay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Grabpay; + export type Ideal = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Klarna; + export type Konbini = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Konbini; + export type KrCard = Stripe.PaymentAttemptRecord.PaymentMethodDetails.KrCard; + export type Link = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Link; + export type MbWay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe.PaymentAttemptRecord.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Oxxo; + export type P24 = Stripe.PaymentAttemptRecord.PaymentMethodDetails.P24; + export type PayByBank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.PayByBank; + export type Payco = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Payco; + export type Paynow = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paynow; + export type Paypal = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paypal; + export type Payto = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Payto; + export type Pix = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Pix; + export type Promptpay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Promptpay; + export type RevolutPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Scalapay; + export type SepaCreditTransfer = Stripe.PaymentAttemptRecord.PaymentMethodDetails.SepaCreditTransfer; + export type SepaDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Sofort; + export type StripeAccount = Stripe.PaymentAttemptRecord.PaymentMethodDetails.StripeAccount; + export type Sunbit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Sunbit; + export type Swish = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Swish; + export type Twint = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Twint; + export type Upi = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount; + export type Wechat = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Wechat; + export type WechatPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.WechatPay; + export type Zip = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Zip; + export namespace AchDebit { + export type AccountHolderType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AchDebit.AccountHolderType; + } + export namespace Alma { + export type Installments = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Alma.Installments; + } + export namespace AmazonPay { + export type Funding = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay.Funding; + export namespace Funding { + export type Card = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay.Funding.Card; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Brand = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Brand; + export type Checks = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks; + export type Funding = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Funding; + export type Installments = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments; + export type Network = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Network; + export type NetworkToken = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.NetworkToken; + export type StoredCredentialUsage = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.StoredCredentialUsage; + export type ThreeDSecure = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet; + export namespace Checks { + export type AddressLine1Check = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.CvcCheck; + } + export namespace Installments { + export type Plan = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments.Plan.Type; + } + } + export namespace ThreeDSecure { + export type AuthenticationFlow = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; + export type Result = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.Version; + } + export namespace Wallet { + export type ApplePay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet.GooglePay; + } + } + export namespace CardPresent { + export type Offline = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Wallet; + export namespace Receipt { + export type AccountType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + export namespace Crypto { + export type Network = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Crypto.Network; + export type TokenCurrency = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Crypto.TokenCurrency; + } + export namespace Eps { + export type Bank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Ideal.Bic; + } + export namespace InteracPresent { + export type ReadMethod = Stripe.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.ReadMethod; + export type Receipt = Stripe.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.Receipt; + export namespace Receipt { + export type AccountType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.Receipt.AccountType; + } + } + export namespace Klarna { + export type PayerDetails = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Klarna.PayerDetails; + export namespace PayerDetails { + export type Address = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Klarna.PayerDetails.Address; + } + } + export namespace Konbini { + export type Store = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Konbini.Store; + export namespace Store { + export type Chain = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Konbini.Store.Chain; + } + } + export namespace KrCard { + export type Brand = Stripe.PaymentAttemptRecord.PaymentMethodDetails.KrCard.Brand; + } + export namespace Mobilepay { + export type Card = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Mobilepay.Card; + } + export namespace P24 { + export type Bank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.P24.Bank; + } + export namespace Paypal { + export type SellerProtection = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection; + export namespace SellerProtection { + export type DisputeCategory = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; + export type Status = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection.Status; + } + } + export namespace RevolutPay { + export type Funding = Stripe.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay.Funding; + export namespace Funding { + export type Card = Stripe.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay.Funding.Card; + } + } + export namespace Sofort { + export type PreferredLanguage = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Sofort.PreferredLanguage; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount.AccountType; + } + } + export namespace ProcessorDetails { + export type Custom = Stripe.PaymentAttemptRecord.ProcessorDetails.Custom; + } + } export namespace PaymentIntentCreateParams { export type AmountDetails = Stripe.PaymentIntentCreateParams.AmountDetails; export type AutomaticPaymentMethods = Stripe.PaymentIntentCreateParams.AutomaticPaymentMethods; @@ -753,6 +3054,372 @@ declare namespace StripeConstructor { export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.SetupFutureUsage; export type Shipping = Stripe.PaymentIntentCreateParams.Shipping; export type TransferData = Stripe.PaymentIntentCreateParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem; + export type Shipping = Stripe.PaymentIntentCreateParams.AmountDetails.Shipping; + export type Tax = Stripe.PaymentIntentCreateParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Paypal { + export type Category = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + } + export namespace AutomaticPaymentMethods { + export type AllowRedirects = Stripe.PaymentIntentCreateParams.AutomaticPaymentMethods.AllowRedirects; + } + export namespace Hooks { + export type Inputs = Stripe.PaymentIntentCreateParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe.PaymentIntentCreateParams.Hooks.Inputs.Tax; + } + } + export namespace MandateData { + export type CustomerAcceptance = Stripe.PaymentIntentCreateParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Offline = Stripe.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Type; + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe.PaymentIntentCreateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe.PaymentIntentCreateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe.PaymentIntentCreateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe.PaymentIntentCreateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe.PaymentIntentCreateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe.PaymentIntentCreateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe.PaymentIntentCreateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe.PaymentIntentCreateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe.PaymentIntentCreateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe.PaymentIntentCreateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe.PaymentIntentCreateParams.PaymentMethodData.Bizum; + export type Blik = Stripe.PaymentIntentCreateParams.PaymentMethodData.Blik; + export type Boleto = Stripe.PaymentIntentCreateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe.PaymentIntentCreateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe.PaymentIntentCreateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe.PaymentIntentCreateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe.PaymentIntentCreateParams.PaymentMethodData.Eps; + export type Fpx = Stripe.PaymentIntentCreateParams.PaymentMethodData.Fpx; + export type Giropay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe.PaymentIntentCreateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe.PaymentIntentCreateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe.PaymentIntentCreateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe.PaymentIntentCreateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe.PaymentIntentCreateParams.PaymentMethodData.KrCard; + export type Link = Stripe.PaymentIntentCreateParams.PaymentMethodData.Link; + export type MbWay = Stripe.PaymentIntentCreateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe.PaymentIntentCreateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe.PaymentIntentCreateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe.PaymentIntentCreateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe.PaymentIntentCreateParams.PaymentMethodData.P24; + export type PayByBank = Stripe.PaymentIntentCreateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe.PaymentIntentCreateParams.PaymentMethodData.Payco; + export type Paynow = Stripe.PaymentIntentCreateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe.PaymentIntentCreateParams.PaymentMethodData.Paypal; + export type Payto = Stripe.PaymentIntentCreateParams.PaymentMethodData.Payto; + export type Pix = Stripe.PaymentIntentCreateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe.PaymentIntentCreateParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe.PaymentIntentCreateParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe.PaymentIntentCreateParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe.PaymentIntentCreateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe.PaymentIntentCreateParams.PaymentMethodData.Swish; + export type Twint = Stripe.PaymentIntentCreateParams.PaymentMethodData.Twint; + export type Type = Stripe.PaymentIntentCreateParams.PaymentMethodData.Type; + export type Upi = Stripe.PaymentIntentCreateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe.PaymentIntentCreateParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe.PaymentIntentCreateParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.PaymentIntentCreateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe.PaymentIntentCreateParams.PaymentMethodData.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.PaymentIntentCreateParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe.PaymentIntentCreateParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe.PaymentIntentCreateParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.PaymentIntentCreateParams.PaymentMethodData.P24.Bank; + } + export namespace Sofort { + export type Country = Stripe.PaymentIntentCreateParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Link; + export type MbWay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Promptpay; + export type RevolutPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Zip; + export namespace AcssDebit { + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Alipay { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace AuBecsDebit { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type Installments = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.Network; + export type RequestExtendedAuthorization = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type ThreeDSecure = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace Installments { + export type Plan = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace CardPresent { + export type CaptureMethod = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type Routing = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing; + export namespace Routing { + export type RequestedPriority = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace Ideal { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type OnDemand = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace KrCard { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace NzBankAccount { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + } + export namespace Paypal { + export type PreferredLocale = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + } + export namespace Payto { + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + export namespace Networks { + export type Requested = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + export namespace WechatPay { + export type Client = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.WechatPay.Client; + } + } + export namespace TransferData { + export type PaymentData = Stripe.PaymentIntentCreateParams.TransferData.PaymentData; + } } export namespace PaymentIntentUpdateParams { export type AmountDetails = Stripe.PaymentIntentUpdateParams.AmountDetails; @@ -765,6 +3432,361 @@ declare namespace StripeConstructor { export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.SetupFutureUsage; export type Shipping = Stripe.PaymentIntentUpdateParams.Shipping; export type TransferData = Stripe.PaymentIntentUpdateParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem; + export type Shipping = Stripe.PaymentIntentUpdateParams.AmountDetails.Shipping; + export type Tax = Stripe.PaymentIntentUpdateParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Paypal { + export type Category = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + } + export namespace Hooks { + export type Inputs = Stripe.PaymentIntentUpdateParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe.PaymentIntentUpdateParams.Hooks.Inputs.Tax; + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe.PaymentIntentUpdateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Bizum; + export type Blik = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Blik; + export type Boleto = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe.PaymentIntentUpdateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Eps; + export type Fpx = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Fpx; + export type Giropay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe.PaymentIntentUpdateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe.PaymentIntentUpdateParams.PaymentMethodData.KrCard; + export type Link = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Link; + export type MbWay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe.PaymentIntentUpdateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe.PaymentIntentUpdateParams.PaymentMethodData.P24; + export type PayByBank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Payco; + export type Paynow = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Paypal; + export type Payto = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Payto; + export type Pix = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Swish; + export type Twint = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Twint; + export type Type = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Type; + export type Upi = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe.PaymentIntentUpdateParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.P24.Bank; + } + export namespace Sofort { + export type Country = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Link; + export type MbWay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Promptpay; + export type RevolutPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Zip; + export namespace AcssDebit { + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Alipay { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace AuBecsDebit { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type Installments = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Network; + export type RequestExtendedAuthorization = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type ThreeDSecure = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace Installments { + export type Plan = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace CardPresent { + export type CaptureMethod = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type Routing = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing; + export namespace Routing { + export type RequestedPriority = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace Ideal { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type OnDemand = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace KrCard { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace NzBankAccount { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + } + export namespace Paypal { + export type PreferredLocale = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + } + export namespace Payto { + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + export namespace Networks { + export type Requested = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + export namespace WechatPay { + export type Client = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.WechatPay.Client; + } + } + export namespace TransferData { + export type PaymentData = Stripe.PaymentIntentUpdateParams.TransferData.PaymentData; + } } export namespace PaymentIntentCancelParams { export type CancellationReason = Stripe.PaymentIntentCancelParams.CancellationReason; @@ -774,6 +3796,30 @@ declare namespace StripeConstructor { export type Hooks = Stripe.PaymentIntentCaptureParams.Hooks; export type PaymentDetails = Stripe.PaymentIntentCaptureParams.PaymentDetails; export type TransferData = Stripe.PaymentIntentCaptureParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem; + export type Shipping = Stripe.PaymentIntentCaptureParams.AmountDetails.Shipping; + export type Tax = Stripe.PaymentIntentCaptureParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Paypal { + export type Category = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + } + export namespace Hooks { + export type Inputs = Stripe.PaymentIntentCaptureParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe.PaymentIntentCaptureParams.Hooks.Inputs.Tax; + } + } } export namespace PaymentIntentConfirmParams { export type AmountDetails = Stripe.PaymentIntentConfirmParams.AmountDetails; @@ -788,43 +3834,853 @@ declare namespace StripeConstructor { export type RadarOptions = Stripe.PaymentIntentConfirmParams.RadarOptions; export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.SetupFutureUsage; export type Shipping = Stripe.PaymentIntentConfirmParams.Shipping; + export namespace AmountDetails { + export type LineItem = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem; + export type Shipping = Stripe.PaymentIntentConfirmParams.AmountDetails.Shipping; + export type Tax = Stripe.PaymentIntentConfirmParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Paypal { + export type Category = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + } + export namespace Hooks { + export type Inputs = Stripe.PaymentIntentConfirmParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe.PaymentIntentConfirmParams.Hooks.Inputs.Tax; + } + } + export namespace MandateData { + export type CustomerAcceptance = Stripe.PaymentIntentConfirmParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Offline = Stripe.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Type; + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Bancontact; + export type Billie = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe.PaymentIntentConfirmParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Bizum; + export type Blik = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Blik; + export type Boleto = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe.PaymentIntentConfirmParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Eps; + export type Fpx = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Fpx; + export type Giropay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe.PaymentIntentConfirmParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Klarna; + export type Konbini = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Konbini; + export type KrCard = Stripe.PaymentIntentConfirmParams.PaymentMethodData.KrCard; + export type Link = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Link; + export type MbWay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe.PaymentIntentConfirmParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Oxxo; + export type P24 = Stripe.PaymentIntentConfirmParams.PaymentMethodData.P24; + export type PayByBank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.PayByBank; + export type Payco = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Payco; + export type Paynow = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Paynow; + export type Paypal = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Paypal; + export type Payto = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Payto; + export type Pix = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Pix; + export type Promptpay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Sunbit; + export type Swish = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Swish; + export type Twint = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Twint; + export type Type = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Type; + export type Upi = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.WechatPay; + export type Zip = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe.PaymentIntentConfirmParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.P24.Bank; + } + export namespace Sofort { + export type Country = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto; + export type Card = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.KrCard; + export type Link = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Link; + export type MbWay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto; + export type Pix = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Promptpay; + export type RevolutPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Swish; + export type Twint = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Twint; + export type Upi = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Zip; + export namespace AcssDebit { + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Alipay { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace AuBecsDebit { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type Installments = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Network; + export type RequestExtendedAuthorization = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type ThreeDSecure = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace Installments { + export type Plan = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace CardPresent { + export type CaptureMethod = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type Routing = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing; + export namespace Routing { + export type RequestedPriority = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace Ideal { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type OnDemand = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace KrCard { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace NzBankAccount { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + } + export namespace Paypal { + export type PreferredLocale = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + } + export namespace Payto { + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + export namespace Networks { + export type Requested = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + export namespace WechatPay { + export type Client = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay.Client; + } + } } export namespace PaymentIntentIncrementAuthorizationParams { export type AmountDetails = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails; export type Hooks = Stripe.PaymentIntentIncrementAuthorizationParams.Hooks; export type PaymentDetails = Stripe.PaymentIntentIncrementAuthorizationParams.PaymentDetails; export type TransferData = Stripe.PaymentIntentIncrementAuthorizationParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem; + export type Shipping = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping; + export type Tax = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Paypal { + export type Category = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + } + export namespace Hooks { + export type Inputs = Stripe.PaymentIntentIncrementAuthorizationParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe.PaymentIntentIncrementAuthorizationParams.Hooks.Inputs.Tax; + } + } } - export namespace PaymentLinkCreateParams { - export type LineItem = Stripe.PaymentLinkCreateParams.LineItem; - export type AfterCompletion = Stripe.PaymentLinkCreateParams.AfterCompletion; - export type AutomaticTax = Stripe.PaymentLinkCreateParams.AutomaticTax; - export type BillingAddressCollection = Stripe.PaymentLinkCreateParams.BillingAddressCollection; - export type ConsentCollection = Stripe.PaymentLinkCreateParams.ConsentCollection; - export type CustomField = Stripe.PaymentLinkCreateParams.CustomField; - export type CustomText = Stripe.PaymentLinkCreateParams.CustomText; - export type CustomerCreation = Stripe.PaymentLinkCreateParams.CustomerCreation; - export type InvoiceCreation = Stripe.PaymentLinkCreateParams.InvoiceCreation; - export type ManagedPayments = Stripe.PaymentLinkCreateParams.ManagedPayments; - export type NameCollection = Stripe.PaymentLinkCreateParams.NameCollection; - export type OptionalItem = Stripe.PaymentLinkCreateParams.OptionalItem; - export type PaymentIntentData = Stripe.PaymentLinkCreateParams.PaymentIntentData; - export type PaymentMethodCollection = Stripe.PaymentLinkCreateParams.PaymentMethodCollection; - export type PaymentMethodOptions = Stripe.PaymentLinkCreateParams.PaymentMethodOptions; - export type PaymentMethodType = Stripe.PaymentLinkCreateParams.PaymentMethodType; - export type PhoneNumberCollection = Stripe.PaymentLinkCreateParams.PhoneNumberCollection; - export type Restrictions = Stripe.PaymentLinkCreateParams.Restrictions; - export type ShippingAddressCollection = Stripe.PaymentLinkCreateParams.ShippingAddressCollection; - export type ShippingOption = Stripe.PaymentLinkCreateParams.ShippingOption; - export type SubmitType = Stripe.PaymentLinkCreateParams.SubmitType; - export type SubscriptionData = Stripe.PaymentLinkCreateParams.SubscriptionData; - export type TaxIdCollection = Stripe.PaymentLinkCreateParams.TaxIdCollection; - export type TransferData = Stripe.PaymentLinkCreateParams.TransferData; - } - export namespace PaymentLinkUpdateParams { - export type AfterCompletion = Stripe.PaymentLinkUpdateParams.AfterCompletion; - export type AutomaticTax = Stripe.PaymentLinkUpdateParams.AutomaticTax; - export type BillingAddressCollection = Stripe.PaymentLinkUpdateParams.BillingAddressCollection; + export namespace PaymentIntent { + export type AmountDetails = Stripe.PaymentIntent.AmountDetails; + export type AutomaticPaymentMethods = Stripe.PaymentIntent.AutomaticPaymentMethods; + export type CancellationReason = Stripe.PaymentIntent.CancellationReason; + export type CaptureMethod = Stripe.PaymentIntent.CaptureMethod; + export type ConfirmationMethod = Stripe.PaymentIntent.ConfirmationMethod; + export type ExcludedPaymentMethodType = Stripe.PaymentIntent.ExcludedPaymentMethodType; + export type Hooks = Stripe.PaymentIntent.Hooks; + export type LastPaymentError = Stripe.PaymentIntent.LastPaymentError; + export type ManagedPayments = Stripe.PaymentIntent.ManagedPayments; + export type NextAction = Stripe.PaymentIntent.NextAction; + export type PaymentDetails = Stripe.PaymentIntent.PaymentDetails; + export type PaymentMethodConfigurationDetails = Stripe.PaymentIntent.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe.PaymentIntent.PaymentMethodOptions; + export type PresentmentDetails = Stripe.PaymentIntent.PresentmentDetails; + export type Processing = Stripe.PaymentIntent.Processing; + export type SetupFutureUsage = Stripe.PaymentIntent.SetupFutureUsage; + export type Shipping = Stripe.PaymentIntent.Shipping; + export type Status = Stripe.PaymentIntent.Status; + export type TransferData = Stripe.PaymentIntent.TransferData; + export namespace AmountDetails { + export type Error = Stripe.PaymentIntent.AmountDetails.Error; + export type Shipping = Stripe.PaymentIntent.AmountDetails.Shipping; + export type Tax = Stripe.PaymentIntent.AmountDetails.Tax; + export type Tip = Stripe.PaymentIntent.AmountDetails.Tip; + export namespace Error { + export type Code = Stripe.PaymentIntent.AmountDetails.Error.Code; + } + } + export namespace AutomaticPaymentMethods { + export type AllowRedirects = Stripe.PaymentIntent.AutomaticPaymentMethods.AllowRedirects; + } + export namespace Hooks { + export type Inputs = Stripe.PaymentIntent.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe.PaymentIntent.Hooks.Inputs.Tax; + } + } + export namespace LastPaymentError { + export type Code = Stripe.PaymentIntent.LastPaymentError.Code; + export type Type = Stripe.PaymentIntent.LastPaymentError.Type; + } + export namespace NextAction { + export type AlipayHandleRedirect = Stripe.PaymentIntent.NextAction.AlipayHandleRedirect; + export type BlikAuthorize = Stripe.PaymentIntent.NextAction.BlikAuthorize; + export type BoletoDisplayDetails = Stripe.PaymentIntent.NextAction.BoletoDisplayDetails; + export type CardAwaitNotification = Stripe.PaymentIntent.NextAction.CardAwaitNotification; + export type CashappHandleRedirectOrDisplayQrCode = Stripe.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode; + export type DisplayBankTransferInstructions = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions; + export type KlarnaDisplayQrCode = Stripe.PaymentIntent.NextAction.KlarnaDisplayQrCode; + export type KonbiniDisplayDetails = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails; + export type MultibancoDisplayDetails = Stripe.PaymentIntent.NextAction.MultibancoDisplayDetails; + export type OxxoDisplayDetails = Stripe.PaymentIntent.NextAction.OxxoDisplayDetails; + export type PaynowDisplayQrCode = Stripe.PaymentIntent.NextAction.PaynowDisplayQrCode; + export type PixDisplayQrCode = Stripe.PaymentIntent.NextAction.PixDisplayQrCode; + export type PromptpayDisplayQrCode = Stripe.PaymentIntent.NextAction.PromptpayDisplayQrCode; + export type RedirectToUrl = Stripe.PaymentIntent.NextAction.RedirectToUrl; + export type SwishHandleRedirectOrDisplayQrCode = Stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode; + export type UpiHandleRedirectOrDisplayQrCode = Stripe.PaymentIntent.NextAction.UpiHandleRedirectOrDisplayQrCode; + export type UseStripeSdk = Stripe.PaymentIntent.NextAction.UseStripeSdk; + export type VerifyWithMicrodeposits = Stripe.PaymentIntent.NextAction.VerifyWithMicrodeposits; + export type WechatPayDisplayQrCode = Stripe.PaymentIntent.NextAction.WechatPayDisplayQrCode; + export type WechatPayRedirectToAndroidApp = Stripe.PaymentIntent.NextAction.WechatPayRedirectToAndroidApp; + export type WechatPayRedirectToIosApp = Stripe.PaymentIntent.NextAction.WechatPayRedirectToIosApp; + export namespace CashappHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace DisplayBankTransferInstructions { + export type FinancialAddress = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress; + export type Type = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.Type; + export namespace FinancialAddress { + export type Aba = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba; + export type Iban = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban; + export type SortCode = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode; + export type Spei = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei; + export type SupportedNetwork = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SupportedNetwork; + export type Swift = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift; + export type Type = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Type; + export type Zengin = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin; + } + } + export namespace KonbiniDisplayDetails { + export type Stores = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores; + export namespace Stores { + export type Familymart = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Familymart; + export type Lawson = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Lawson; + export type Ministop = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Ministop; + export type Seicomart = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Seicomart; + } + } + export namespace SwishHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace UpiHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe.PaymentIntent.NextAction.UpiHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace VerifyWithMicrodeposits { + export type MicrodepositType = Stripe.PaymentIntent.NextAction.VerifyWithMicrodeposits.MicrodepositType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe.PaymentIntent.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe.PaymentIntent.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe.PaymentIntent.PaymentMethodOptions.Alipay; + export type Alma = Stripe.PaymentIntent.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe.PaymentIntent.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe.PaymentIntent.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe.PaymentIntent.PaymentMethodOptions.Bancontact; + export type Billie = Stripe.PaymentIntent.PaymentMethodOptions.Billie; + export type Bizum = Stripe.PaymentIntent.PaymentMethodOptions.Bizum; + export type Blik = Stripe.PaymentIntent.PaymentMethodOptions.Blik; + export type Boleto = Stripe.PaymentIntent.PaymentMethodOptions.Boleto; + export type Card = Stripe.PaymentIntent.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntent.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe.PaymentIntent.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe.PaymentIntent.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe.PaymentIntent.PaymentMethodOptions.Eps; + export type Fpx = Stripe.PaymentIntent.PaymentMethodOptions.Fpx; + export type Giropay = Stripe.PaymentIntent.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe.PaymentIntent.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe.PaymentIntent.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe.PaymentIntent.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe.PaymentIntent.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe.PaymentIntent.PaymentMethodOptions.Klarna; + export type Konbini = Stripe.PaymentIntent.PaymentMethodOptions.Konbini; + export type KrCard = Stripe.PaymentIntent.PaymentMethodOptions.KrCard; + export type Link = Stripe.PaymentIntent.PaymentMethodOptions.Link; + export type MbWay = Stripe.PaymentIntent.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe.PaymentIntent.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe.PaymentIntent.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe.PaymentIntent.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe.PaymentIntent.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe.PaymentIntent.PaymentMethodOptions.Oxxo; + export type P24 = Stripe.PaymentIntent.PaymentMethodOptions.P24; + export type PayByBank = Stripe.PaymentIntent.PaymentMethodOptions.PayByBank; + export type Payco = Stripe.PaymentIntent.PaymentMethodOptions.Payco; + export type Paynow = Stripe.PaymentIntent.PaymentMethodOptions.Paynow; + export type Paypal = Stripe.PaymentIntent.PaymentMethodOptions.Paypal; + export type Payto = Stripe.PaymentIntent.PaymentMethodOptions.Payto; + export type Pix = Stripe.PaymentIntent.PaymentMethodOptions.Pix; + export type Promptpay = Stripe.PaymentIntent.PaymentMethodOptions.Promptpay; + export type RevolutPay = Stripe.PaymentIntent.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe.PaymentIntent.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe.PaymentIntent.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe.PaymentIntent.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe.PaymentIntent.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe.PaymentIntent.PaymentMethodOptions.Sofort; + export type Swish = Stripe.PaymentIntent.PaymentMethodOptions.Swish; + export type Twint = Stripe.PaymentIntent.PaymentMethodOptions.Twint; + export type Upi = Stripe.PaymentIntent.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe.PaymentIntent.PaymentMethodOptions.WechatPay; + export type Zip = Stripe.PaymentIntent.PaymentMethodOptions.Zip; + export namespace AcssDebit { + export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Alipay { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace AuBecsDebit { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.PaymentIntent.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type Installments = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.PaymentIntent.PaymentMethodOptions.Card.Network; + export type RequestExtendedAuthorization = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Card.SetupFutureUsage; + export namespace Installments { + export type AvailablePlan = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan; + export type Plan = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments.Plan; + export namespace AvailablePlan { + export type Type = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan.Type; + } + export namespace Plan { + export type Type = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntent.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe.PaymentIntent.PaymentMethodOptions.Card.MandateOptions.Interval; + } + } + export namespace CardPresent { + export type CaptureMethod = Stripe.PaymentIntent.PaymentMethodOptions.CardPresent.CaptureMethod; + export type Routing = Stripe.PaymentIntent.PaymentMethodOptions.CardPresent.Routing; + export namespace Routing { + export type RequestedPriority = Stripe.PaymentIntent.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace Ideal { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Klarna.SetupFutureUsage; + } + export namespace KrCard { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace NzBankAccount { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + } + export namespace Paypal { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Paypal.SetupFutureUsage; + } + export namespace Payto { + export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.PaymentIntent.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe.PaymentIntent.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Upi.SetupFutureUsage; + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + export namespace WechatPay { + export type Client = Stripe.PaymentIntent.PaymentMethodOptions.WechatPay.Client; + } + } + export namespace Processing { + export type Card = Stripe.PaymentIntent.Processing.Card; + export namespace Card { + export type CustomerNotification = Stripe.PaymentIntent.Processing.Card.CustomerNotification; + } + } + export namespace TransferData { + export type PaymentData = Stripe.PaymentIntent.TransferData.PaymentData; + } + } + export namespace PaymentLinkCreateParams { + export type LineItem = Stripe.PaymentLinkCreateParams.LineItem; + export type AfterCompletion = Stripe.PaymentLinkCreateParams.AfterCompletion; + export type AutomaticTax = Stripe.PaymentLinkCreateParams.AutomaticTax; + export type BillingAddressCollection = Stripe.PaymentLinkCreateParams.BillingAddressCollection; + export type ConsentCollection = Stripe.PaymentLinkCreateParams.ConsentCollection; + export type CustomField = Stripe.PaymentLinkCreateParams.CustomField; + export type CustomText = Stripe.PaymentLinkCreateParams.CustomText; + export type CustomerCreation = Stripe.PaymentLinkCreateParams.CustomerCreation; + export type InvoiceCreation = Stripe.PaymentLinkCreateParams.InvoiceCreation; + export type ManagedPayments = Stripe.PaymentLinkCreateParams.ManagedPayments; + export type NameCollection = Stripe.PaymentLinkCreateParams.NameCollection; + export type OptionalItem = Stripe.PaymentLinkCreateParams.OptionalItem; + export type PaymentIntentData = Stripe.PaymentLinkCreateParams.PaymentIntentData; + export type PaymentMethodCollection = Stripe.PaymentLinkCreateParams.PaymentMethodCollection; + export type PaymentMethodOptions = Stripe.PaymentLinkCreateParams.PaymentMethodOptions; + export type PaymentMethodType = Stripe.PaymentLinkCreateParams.PaymentMethodType; + export type PhoneNumberCollection = Stripe.PaymentLinkCreateParams.PhoneNumberCollection; + export type Restrictions = Stripe.PaymentLinkCreateParams.Restrictions; + export type ShippingAddressCollection = Stripe.PaymentLinkCreateParams.ShippingAddressCollection; + export type ShippingOption = Stripe.PaymentLinkCreateParams.ShippingOption; + export type SubmitType = Stripe.PaymentLinkCreateParams.SubmitType; + export type SubscriptionData = Stripe.PaymentLinkCreateParams.SubscriptionData; + export type TaxIdCollection = Stripe.PaymentLinkCreateParams.TaxIdCollection; + export type TransferData = Stripe.PaymentLinkCreateParams.TransferData; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe.PaymentLinkCreateParams.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe.PaymentLinkCreateParams.AfterCompletion.Redirect; + export type Type = Stripe.PaymentLinkCreateParams.AfterCompletion.Type; + } + export namespace AutomaticTax { + export type Liability = Stripe.PaymentLinkCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.PaymentLinkCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace ConsentCollection { + export type PaymentMethodReuseAgreement = Stripe.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe.PaymentLinkCreateParams.ConsentCollection.Promotions; + export type TermsOfService = Stripe.PaymentLinkCreateParams.ConsentCollection.TermsOfService; + export namespace PaymentMethodReuseAgreement { + export type Position = Stripe.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position; + } + } + export namespace CustomField { + export type Dropdown = Stripe.PaymentLinkCreateParams.CustomField.Dropdown; + export type Label = Stripe.PaymentLinkCreateParams.CustomField.Label; + export type Numeric = Stripe.PaymentLinkCreateParams.CustomField.Numeric; + export type Text = Stripe.PaymentLinkCreateParams.CustomField.Text; + export type Type = Stripe.PaymentLinkCreateParams.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe.PaymentLinkCreateParams.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe.PaymentLinkCreateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe.PaymentLinkCreateParams.CustomText.ShippingAddress; + export type Submit = Stripe.PaymentLinkCreateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe.PaymentLinkCreateParams.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Issuer.Type; + } + export namespace RenderingOptions { + export type AmountTaxDisplay = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + } + } + } + export namespace LineItem { + export type AdjustableQuantity = Stripe.PaymentLinkCreateParams.LineItem.AdjustableQuantity; + export type PriceData = Stripe.PaymentLinkCreateParams.LineItem.PriceData; + export namespace PriceData { + export type ProductData = Stripe.PaymentLinkCreateParams.LineItem.PriceData.ProductData; + export type Recurring = Stripe.PaymentLinkCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe.PaymentLinkCreateParams.LineItem.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.PaymentLinkCreateParams.LineItem.PriceData.Recurring.Interval; + } + } + } + export namespace NameCollection { + export type Business = Stripe.PaymentLinkCreateParams.NameCollection.Business; + export type Individual = Stripe.PaymentLinkCreateParams.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe.PaymentLinkCreateParams.OptionalItem.AdjustableQuantity; + } + export namespace PaymentIntentData { + export type CaptureMethod = Stripe.PaymentLinkCreateParams.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe.PaymentLinkCreateParams.PaymentIntentData.SetupFutureUsage; + } + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentLinkCreateParams.PaymentMethodOptions.Card; + export namespace Card { + export type Restrictions = Stripe.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions; + export namespace Restrictions { + export type BrandsBlocked = Stripe.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + } + export namespace Restrictions { + export type CompletedSessions = Stripe.PaymentLinkCreateParams.Restrictions.CompletedSessions; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe.PaymentLinkCreateParams.ShippingAddressCollection.AllowedCountry; + } + export namespace SubscriptionData { + export type InvoiceSettings = Stripe.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe.PaymentLinkCreateParams.SubscriptionData.TrialSettings; + export namespace InvoiceSettings { + export type Issuer = Stripe.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + } + } + export namespace TrialSettings { + export type EndBehavior = Stripe.PaymentLinkCreateParams.SubscriptionData.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe.PaymentLinkCreateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } + export namespace TaxIdCollection { + export type Required = Stripe.PaymentLinkCreateParams.TaxIdCollection.Required; + } + } + export namespace PaymentLinkUpdateParams { + export type AfterCompletion = Stripe.PaymentLinkUpdateParams.AfterCompletion; + export type AutomaticTax = Stripe.PaymentLinkUpdateParams.AutomaticTax; + export type BillingAddressCollection = Stripe.PaymentLinkUpdateParams.BillingAddressCollection; export type CustomField = Stripe.PaymentLinkUpdateParams.CustomField; export type CustomText = Stripe.PaymentLinkUpdateParams.CustomText; export type CustomerCreation = Stripe.PaymentLinkUpdateParams.CustomerCreation; @@ -842,6 +4698,207 @@ declare namespace StripeConstructor { export type SubmitType = Stripe.PaymentLinkUpdateParams.SubmitType; export type SubscriptionData = Stripe.PaymentLinkUpdateParams.SubscriptionData; export type TaxIdCollection = Stripe.PaymentLinkUpdateParams.TaxIdCollection; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe.PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe.PaymentLinkUpdateParams.AfterCompletion.Redirect; + export type Type = Stripe.PaymentLinkUpdateParams.AfterCompletion.Type; + } + export namespace AutomaticTax { + export type Liability = Stripe.PaymentLinkUpdateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.PaymentLinkUpdateParams.AutomaticTax.Liability.Type; + } + } + export namespace CustomField { + export type Dropdown = Stripe.PaymentLinkUpdateParams.CustomField.Dropdown; + export type Label = Stripe.PaymentLinkUpdateParams.CustomField.Label; + export type Numeric = Stripe.PaymentLinkUpdateParams.CustomField.Numeric; + export type Text = Stripe.PaymentLinkUpdateParams.CustomField.Text; + export type Type = Stripe.PaymentLinkUpdateParams.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe.PaymentLinkUpdateParams.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe.PaymentLinkUpdateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe.PaymentLinkUpdateParams.CustomText.ShippingAddress; + export type Submit = Stripe.PaymentLinkUpdateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe.PaymentLinkUpdateParams.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer.Type; + } + export namespace RenderingOptions { + export type AmountTaxDisplay = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + } + } + } + export namespace LineItem { + export type AdjustableQuantity = Stripe.PaymentLinkUpdateParams.LineItem.AdjustableQuantity; + } + export namespace NameCollection { + export type Business = Stripe.PaymentLinkUpdateParams.NameCollection.Business; + export type Individual = Stripe.PaymentLinkUpdateParams.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe.PaymentLinkUpdateParams.OptionalItem.AdjustableQuantity; + } + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentLinkUpdateParams.PaymentMethodOptions.Card; + export namespace Card { + export type Restrictions = Stripe.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions; + export namespace Restrictions { + export type BrandsBlocked = Stripe.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + } + export namespace Restrictions { + export type CompletedSessions = Stripe.PaymentLinkUpdateParams.Restrictions.CompletedSessions; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe.PaymentLinkUpdateParams.ShippingAddressCollection.AllowedCountry; + } + export namespace SubscriptionData { + export type InvoiceSettings = Stripe.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe.PaymentLinkUpdateParams.SubscriptionData.TrialSettings; + export namespace InvoiceSettings { + export type Issuer = Stripe.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + } + } + export namespace TrialSettings { + export type EndBehavior = Stripe.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } + export namespace TaxIdCollection { + export type Required = Stripe.PaymentLinkUpdateParams.TaxIdCollection.Required; + } + } + export namespace PaymentLink { + export type AfterCompletion = Stripe.PaymentLink.AfterCompletion; + export type AutomaticTax = Stripe.PaymentLink.AutomaticTax; + export type BillingAddressCollection = Stripe.PaymentLink.BillingAddressCollection; + export type ConsentCollection = Stripe.PaymentLink.ConsentCollection; + export type CustomField = Stripe.PaymentLink.CustomField; + export type CustomText = Stripe.PaymentLink.CustomText; + export type CustomerCreation = Stripe.PaymentLink.CustomerCreation; + export type InvoiceCreation = Stripe.PaymentLink.InvoiceCreation; + export type ManagedPayments = Stripe.PaymentLink.ManagedPayments; + export type NameCollection = Stripe.PaymentLink.NameCollection; + export type OptionalItem = Stripe.PaymentLink.OptionalItem; + export type PaymentIntentData = Stripe.PaymentLink.PaymentIntentData; + export type PaymentMethodCollection = Stripe.PaymentLink.PaymentMethodCollection; + export type PaymentMethodOptions = Stripe.PaymentLink.PaymentMethodOptions; + export type PaymentMethodType = Stripe.PaymentLink.PaymentMethodType; + export type PhoneNumberCollection = Stripe.PaymentLink.PhoneNumberCollection; + export type Restrictions = Stripe.PaymentLink.Restrictions; + export type ShippingAddressCollection = Stripe.PaymentLink.ShippingAddressCollection; + export type ShippingOption = Stripe.PaymentLink.ShippingOption; + export type SubmitType = Stripe.PaymentLink.SubmitType; + export type SubscriptionData = Stripe.PaymentLink.SubscriptionData; + export type TaxIdCollection = Stripe.PaymentLink.TaxIdCollection; + export type TransferData = Stripe.PaymentLink.TransferData; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe.PaymentLink.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe.PaymentLink.AfterCompletion.Redirect; + export type Type = Stripe.PaymentLink.AfterCompletion.Type; + } + export namespace AutomaticTax { + export type Liability = Stripe.PaymentLink.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.PaymentLink.AutomaticTax.Liability.Type; + } + } + export namespace ConsentCollection { + export type PaymentMethodReuseAgreement = Stripe.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe.PaymentLink.ConsentCollection.Promotions; + export type TermsOfService = Stripe.PaymentLink.ConsentCollection.TermsOfService; + export namespace PaymentMethodReuseAgreement { + export type Position = Stripe.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement.Position; + } + } + export namespace CustomField { + export type Dropdown = Stripe.PaymentLink.CustomField.Dropdown; + export type Label = Stripe.PaymentLink.CustomField.Label; + export type Numeric = Stripe.PaymentLink.CustomField.Numeric; + export type Text = Stripe.PaymentLink.CustomField.Text; + export type Type = Stripe.PaymentLink.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe.PaymentLink.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe.PaymentLink.CustomText.AfterSubmit; + export type ShippingAddress = Stripe.PaymentLink.CustomText.ShippingAddress; + export type Submit = Stripe.PaymentLink.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe.PaymentLink.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe.PaymentLink.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe.PaymentLink.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe.PaymentLink.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe.PaymentLink.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe.PaymentLink.InvoiceCreation.InvoiceData.Issuer.Type; + } + } + } + export namespace NameCollection { + export type Business = Stripe.PaymentLink.NameCollection.Business; + export type Individual = Stripe.PaymentLink.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe.PaymentLink.OptionalItem.AdjustableQuantity; + } + export namespace PaymentIntentData { + export type CaptureMethod = Stripe.PaymentLink.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe.PaymentLink.PaymentIntentData.SetupFutureUsage; + } + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentLink.PaymentMethodOptions.Card; + export namespace Card { + export type Restrictions = Stripe.PaymentLink.PaymentMethodOptions.Card.Restrictions; + export namespace Restrictions { + export type BrandsBlocked = Stripe.PaymentLink.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + } + export namespace Restrictions { + export type CompletedSessions = Stripe.PaymentLink.Restrictions.CompletedSessions; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe.PaymentLink.ShippingAddressCollection.AllowedCountry; + } + export namespace SubscriptionData { + export type InvoiceSettings = Stripe.PaymentLink.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe.PaymentLink.SubscriptionData.TrialSettings; + export namespace InvoiceSettings { + export type Issuer = Stripe.PaymentLink.SubscriptionData.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.PaymentLink.SubscriptionData.InvoiceSettings.Issuer.Type; + } + } + export namespace TrialSettings { + export type EndBehavior = Stripe.PaymentLink.SubscriptionData.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe.PaymentLink.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } + export namespace TaxIdCollection { + export type Required = Stripe.PaymentLink.TaxIdCollection.Required; + } } export namespace PaymentMethodCreateParams { export type AcssDebit = Stripe.PaymentMethodCreateParams.AcssDebit; @@ -904,6 +4961,44 @@ declare namespace StripeConstructor { export type UsBankAccount = Stripe.PaymentMethodCreateParams.UsBankAccount; export type WechatPay = Stripe.PaymentMethodCreateParams.WechatPay; export type Zip = Stripe.PaymentMethodCreateParams.Zip; + export namespace Card { + export type Networks = Stripe.PaymentMethodCreateParams.Card.Networks; + export namespace Networks { + export type Preferred = Stripe.PaymentMethodCreateParams.Card.Networks.Preferred; + } + } + export namespace Eps { + export type Bank = Stripe.PaymentMethodCreateParams.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.PaymentMethodCreateParams.Fpx.AccountHolderType; + export type Bank = Stripe.PaymentMethodCreateParams.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.PaymentMethodCreateParams.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe.PaymentMethodCreateParams.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe.PaymentMethodCreateParams.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.PaymentMethodCreateParams.P24.Bank; + } + export namespace Sofort { + export type Country = Stripe.PaymentMethodCreateParams.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe.PaymentMethodCreateParams.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.PaymentMethodCreateParams.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.PaymentMethodCreateParams.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.PaymentMethodCreateParams.UsBankAccount.AccountType; + } } export namespace PaymentMethodUpdateParams { export type AllowRedisplay = Stripe.PaymentMethodUpdateParams.AllowRedisplay; @@ -911,11 +5006,178 @@ declare namespace StripeConstructor { export type Card = Stripe.PaymentMethodUpdateParams.Card; export type Payto = Stripe.PaymentMethodUpdateParams.Payto; export type UsBankAccount = Stripe.PaymentMethodUpdateParams.UsBankAccount; + export namespace Card { + export type Networks = Stripe.PaymentMethodUpdateParams.Card.Networks; + export namespace Networks { + export type Preferred = Stripe.PaymentMethodUpdateParams.Card.Networks.Preferred; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.PaymentMethodUpdateParams.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.PaymentMethodUpdateParams.UsBankAccount.AccountType; + } } export namespace PaymentMethodListParams { export type AllowRedisplay = Stripe.PaymentMethodListParams.AllowRedisplay; export type Type = Stripe.PaymentMethodListParams.Type; } + export namespace PaymentMethod { + export type AcssDebit = Stripe.PaymentMethod.AcssDebit; + export type Affirm = Stripe.PaymentMethod.Affirm; + export type AfterpayClearpay = Stripe.PaymentMethod.AfterpayClearpay; + export type Alipay = Stripe.PaymentMethod.Alipay; + export type AllowRedisplay = Stripe.PaymentMethod.AllowRedisplay; + export type Alma = Stripe.PaymentMethod.Alma; + export type AmazonPay = Stripe.PaymentMethod.AmazonPay; + export type AuBecsDebit = Stripe.PaymentMethod.AuBecsDebit; + export type BacsDebit = Stripe.PaymentMethod.BacsDebit; + export type Bancontact = Stripe.PaymentMethod.Bancontact; + export type Billie = Stripe.PaymentMethod.Billie; + export type BillingDetails = Stripe.PaymentMethod.BillingDetails; + export type Bizum = Stripe.PaymentMethod.Bizum; + export type Blik = Stripe.PaymentMethod.Blik; + export type Boleto = Stripe.PaymentMethod.Boleto; + export type Card = Stripe.PaymentMethod.Card; + export type CardPresent = Stripe.PaymentMethod.CardPresent; + export type Cashapp = Stripe.PaymentMethod.Cashapp; + export type Crypto = Stripe.PaymentMethod.Crypto; + export type Custom = Stripe.PaymentMethod.Custom; + export type CustomerBalance = Stripe.PaymentMethod.CustomerBalance; + export type Eps = Stripe.PaymentMethod.Eps; + export type Fpx = Stripe.PaymentMethod.Fpx; + export type Giropay = Stripe.PaymentMethod.Giropay; + export type Grabpay = Stripe.PaymentMethod.Grabpay; + export type Ideal = Stripe.PaymentMethod.Ideal; + export type InteracPresent = Stripe.PaymentMethod.InteracPresent; + export type KakaoPay = Stripe.PaymentMethod.KakaoPay; + export type Klarna = Stripe.PaymentMethod.Klarna; + export type Konbini = Stripe.PaymentMethod.Konbini; + export type KrCard = Stripe.PaymentMethod.KrCard; + export type Link = Stripe.PaymentMethod.Link; + export type MbWay = Stripe.PaymentMethod.MbWay; + export type Mobilepay = Stripe.PaymentMethod.Mobilepay; + export type Multibanco = Stripe.PaymentMethod.Multibanco; + export type NaverPay = Stripe.PaymentMethod.NaverPay; + export type NzBankAccount = Stripe.PaymentMethod.NzBankAccount; + export type Oxxo = Stripe.PaymentMethod.Oxxo; + export type P24 = Stripe.PaymentMethod.P24; + export type PayByBank = Stripe.PaymentMethod.PayByBank; + export type Payco = Stripe.PaymentMethod.Payco; + export type Paynow = Stripe.PaymentMethod.Paynow; + export type Paypal = Stripe.PaymentMethod.Paypal; + export type Payto = Stripe.PaymentMethod.Payto; + export type Pix = Stripe.PaymentMethod.Pix; + export type Promptpay = Stripe.PaymentMethod.Promptpay; + export type RadarOptions = Stripe.PaymentMethod.RadarOptions; + export type RevolutPay = Stripe.PaymentMethod.RevolutPay; + export type SamsungPay = Stripe.PaymentMethod.SamsungPay; + export type Satispay = Stripe.PaymentMethod.Satispay; + export type Scalapay = Stripe.PaymentMethod.Scalapay; + export type SepaDebit = Stripe.PaymentMethod.SepaDebit; + export type Sofort = Stripe.PaymentMethod.Sofort; + export type Sunbit = Stripe.PaymentMethod.Sunbit; + export type Swish = Stripe.PaymentMethod.Swish; + export type Twint = Stripe.PaymentMethod.Twint; + export type Type = Stripe.PaymentMethod.Type; + export type Upi = Stripe.PaymentMethod.Upi; + export type UsBankAccount = Stripe.PaymentMethod.UsBankAccount; + export type WechatPay = Stripe.PaymentMethod.WechatPay; + export type Zip = Stripe.PaymentMethod.Zip; + export namespace Card { + export type Checks = Stripe.PaymentMethod.Card.Checks; + export type GeneratedFrom = Stripe.PaymentMethod.Card.GeneratedFrom; + export type Networks = Stripe.PaymentMethod.Card.Networks; + export type RegulatedStatus = Stripe.PaymentMethod.Card.RegulatedStatus; + export type ThreeDSecureUsage = Stripe.PaymentMethod.Card.ThreeDSecureUsage; + export type Wallet = Stripe.PaymentMethod.Card.Wallet; + export namespace GeneratedFrom { + export type PaymentMethodDetails = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails; + export namespace PaymentMethodDetails { + export type CardPresent = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; + export namespace CardPresent { + export type Offline = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; + export namespace Receipt { + export type AccountType = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + } + } + export namespace Wallet { + export type AmexExpressCheckout = Stripe.PaymentMethod.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe.PaymentMethod.Card.Wallet.ApplePay; + export type GooglePay = Stripe.PaymentMethod.Card.Wallet.GooglePay; + export type Link = Stripe.PaymentMethod.Card.Wallet.Link; + export type Masterpass = Stripe.PaymentMethod.Card.Wallet.Masterpass; + export type SamsungPay = Stripe.PaymentMethod.Card.Wallet.SamsungPay; + export type Type = Stripe.PaymentMethod.Card.Wallet.Type; + export type VisaCheckout = Stripe.PaymentMethod.Card.Wallet.VisaCheckout; + } + } + export namespace CardPresent { + export type Networks = Stripe.PaymentMethod.CardPresent.Networks; + export type Offline = Stripe.PaymentMethod.CardPresent.Offline; + export type ReadMethod = Stripe.PaymentMethod.CardPresent.ReadMethod; + export type Wallet = Stripe.PaymentMethod.CardPresent.Wallet; + export namespace Wallet { + export type Type = Stripe.PaymentMethod.CardPresent.Wallet.Type; + } + } + export namespace Custom { + export type Logo = Stripe.PaymentMethod.Custom.Logo; + } + export namespace Eps { + export type Bank = Stripe.PaymentMethod.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.PaymentMethod.Fpx.AccountHolderType; + export type Bank = Stripe.PaymentMethod.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.PaymentMethod.Ideal.Bank; + export type Bic = Stripe.PaymentMethod.Ideal.Bic; + } + export namespace InteracPresent { + export type Networks = Stripe.PaymentMethod.InteracPresent.Networks; + export type ReadMethod = Stripe.PaymentMethod.InteracPresent.ReadMethod; + } + export namespace Klarna { + export type Dob = Stripe.PaymentMethod.Klarna.Dob; + } + export namespace KrCard { + export type Brand = Stripe.PaymentMethod.KrCard.Brand; + } + export namespace NaverPay { + export type Funding = Stripe.PaymentMethod.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.PaymentMethod.P24.Bank; + } + export namespace SepaDebit { + export type GeneratedFrom = Stripe.PaymentMethod.SepaDebit.GeneratedFrom; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.PaymentMethod.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.PaymentMethod.UsBankAccount.AccountType; + export type Networks = Stripe.PaymentMethod.UsBankAccount.Networks; + export type StatusDetails = Stripe.PaymentMethod.UsBankAccount.StatusDetails; + export namespace Networks { + export type Supported = Stripe.PaymentMethod.UsBankAccount.Networks.Supported; + } + export namespace StatusDetails { + export type Blocked = Stripe.PaymentMethod.UsBankAccount.StatusDetails.Blocked; + export namespace Blocked { + export type NetworkCode = Stripe.PaymentMethod.UsBankAccount.StatusDetails.Blocked.NetworkCode; + export type Reason = Stripe.PaymentMethod.UsBankAccount.StatusDetails.Blocked.Reason; + } + } + } + } export namespace PaymentMethodConfigurationCreateParams { export type AcssDebit = Stripe.PaymentMethodConfigurationCreateParams.AcssDebit; export type Affirm = Stripe.PaymentMethodConfigurationCreateParams.Affirm; @@ -977,68 +5239,1286 @@ declare namespace StripeConstructor { export type UsBankAccount = Stripe.PaymentMethodConfigurationCreateParams.UsBankAccount; export type WechatPay = Stripe.PaymentMethodConfigurationCreateParams.WechatPay; export type Zip = Stripe.PaymentMethodConfigurationCreateParams.Zip; + export namespace AcssDebit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.AcssDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.AcssDebit.DisplayPreference.Preference; + } + } + export namespace Affirm { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Affirm.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Affirm.DisplayPreference.Preference; + } + } + export namespace AfterpayClearpay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.AfterpayClearpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.AfterpayClearpay.DisplayPreference.Preference; + } + } + export namespace Alipay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Alipay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Alipay.DisplayPreference.Preference; + } + } + export namespace Alma { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Alma.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Alma.DisplayPreference.Preference; + } + } + export namespace AmazonPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.AmazonPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.AmazonPay.DisplayPreference.Preference; + } + } + export namespace ApplePay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.ApplePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.ApplePay.DisplayPreference.Preference; + } + } + export namespace ApplePayLater { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.ApplePayLater.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.ApplePayLater.DisplayPreference.Preference; + } + } + export namespace AuBecsDebit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.AuBecsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.AuBecsDebit.DisplayPreference.Preference; + } + } + export namespace BacsDebit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.BacsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.BacsDebit.DisplayPreference.Preference; + } + } + export namespace Bancontact { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Bancontact.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Bancontact.DisplayPreference.Preference; + } + } + export namespace Billie { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Billie.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Billie.DisplayPreference.Preference; + } + } + export namespace Bizum { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Bizum.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Bizum.DisplayPreference.Preference; + } + } + export namespace Blik { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Blik.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Blik.DisplayPreference.Preference; + } + } + export namespace Boleto { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Boleto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Boleto.DisplayPreference.Preference; + } + } + export namespace Card { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Card.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Card.DisplayPreference.Preference; + } + } + export namespace CartesBancaires { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.CartesBancaires.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.CartesBancaires.DisplayPreference.Preference; + } + } + export namespace Cashapp { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Cashapp.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Cashapp.DisplayPreference.Preference; + } + } + export namespace Crypto { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Crypto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Crypto.DisplayPreference.Preference; + } + } + export namespace CustomerBalance { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.CustomerBalance.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.CustomerBalance.DisplayPreference.Preference; + } + } + export namespace Eps { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Eps.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Eps.DisplayPreference.Preference; + } + } + export namespace Fpx { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Fpx.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Fpx.DisplayPreference.Preference; + } + } + export namespace FrMealVoucherConecs { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs.DisplayPreference.Preference; + } + } + export namespace Giropay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Giropay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Giropay.DisplayPreference.Preference; + } + } + export namespace GooglePay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.GooglePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.GooglePay.DisplayPreference.Preference; + } + } + export namespace Grabpay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Grabpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Grabpay.DisplayPreference.Preference; + } + } + export namespace Ideal { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Ideal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Ideal.DisplayPreference.Preference; + } + } + export namespace Jcb { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Jcb.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Jcb.DisplayPreference.Preference; + } + } + export namespace KakaoPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.KakaoPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.KakaoPay.DisplayPreference.Preference; + } + } + export namespace Klarna { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Klarna.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Klarna.DisplayPreference.Preference; + } + } + export namespace Konbini { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Konbini.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Konbini.DisplayPreference.Preference; + } + } + export namespace KrCard { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.KrCard.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.KrCard.DisplayPreference.Preference; + } + } + export namespace Link { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Link.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Link.DisplayPreference.Preference; + } + } + export namespace MbWay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.MbWay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.MbWay.DisplayPreference.Preference; + } + } + export namespace Mobilepay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Mobilepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Mobilepay.DisplayPreference.Preference; + } + } + export namespace Multibanco { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Multibanco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Multibanco.DisplayPreference.Preference; + } + } + export namespace NaverPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.NaverPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.NaverPay.DisplayPreference.Preference; + } + } + export namespace NzBankAccount { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.NzBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.NzBankAccount.DisplayPreference.Preference; + } + } + export namespace Oxxo { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Oxxo.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Oxxo.DisplayPreference.Preference; + } + } + export namespace P24 { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.P24.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.P24.DisplayPreference.Preference; + } + } + export namespace PayByBank { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.PayByBank.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.PayByBank.DisplayPreference.Preference; + } + } + export namespace Payco { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Payco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Payco.DisplayPreference.Preference; + } + } + export namespace Paynow { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Paynow.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Paynow.DisplayPreference.Preference; + } + } + export namespace Paypal { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference.Preference; + } + } + export namespace Payto { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Payto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Payto.DisplayPreference.Preference; + } + } + export namespace Pix { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Pix.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Pix.DisplayPreference.Preference; + } + } + export namespace Promptpay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Promptpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Promptpay.DisplayPreference.Preference; + } + } + export namespace RevolutPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.RevolutPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.RevolutPay.DisplayPreference.Preference; + } + } + export namespace SamsungPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.SamsungPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.SamsungPay.DisplayPreference.Preference; + } + } + export namespace Satispay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Satispay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Satispay.DisplayPreference.Preference; + } + } + export namespace Scalapay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Scalapay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Scalapay.DisplayPreference.Preference; + } + } + export namespace SepaDebit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.SepaDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.SepaDebit.DisplayPreference.Preference; + } + } + export namespace Sofort { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Sofort.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Sofort.DisplayPreference.Preference; + } + } + export namespace Sunbit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Sunbit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Sunbit.DisplayPreference.Preference; + } + } + export namespace Swish { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference.Preference; + } + } + export namespace Twint { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference.Preference; + } + } + export namespace Upi { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Upi.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Upi.DisplayPreference.Preference; + } + } + export namespace UsBankAccount { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.UsBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.UsBankAccount.DisplayPreference.Preference; + } + } + export namespace WechatPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.WechatPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.WechatPay.DisplayPreference.Preference; + } + } + export namespace Zip { + export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Zip.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Zip.DisplayPreference.Preference; + } + } + } + export namespace PaymentMethodConfigurationUpdateParams { + export type AcssDebit = Stripe.PaymentMethodConfigurationUpdateParams.AcssDebit; + export type Affirm = Stripe.PaymentMethodConfigurationUpdateParams.Affirm; + export type AfterpayClearpay = Stripe.PaymentMethodConfigurationUpdateParams.AfterpayClearpay; + export type Alipay = Stripe.PaymentMethodConfigurationUpdateParams.Alipay; + export type Alma = Stripe.PaymentMethodConfigurationUpdateParams.Alma; + export type AmazonPay = Stripe.PaymentMethodConfigurationUpdateParams.AmazonPay; + export type ApplePay = Stripe.PaymentMethodConfigurationUpdateParams.ApplePay; + export type ApplePayLater = Stripe.PaymentMethodConfigurationUpdateParams.ApplePayLater; + export type AuBecsDebit = Stripe.PaymentMethodConfigurationUpdateParams.AuBecsDebit; + export type BacsDebit = Stripe.PaymentMethodConfigurationUpdateParams.BacsDebit; + export type Bancontact = Stripe.PaymentMethodConfigurationUpdateParams.Bancontact; + export type Billie = Stripe.PaymentMethodConfigurationUpdateParams.Billie; + export type Bizum = Stripe.PaymentMethodConfigurationUpdateParams.Bizum; + export type Blik = Stripe.PaymentMethodConfigurationUpdateParams.Blik; + export type Boleto = Stripe.PaymentMethodConfigurationUpdateParams.Boleto; + export type Card = Stripe.PaymentMethodConfigurationUpdateParams.Card; + export type CartesBancaires = Stripe.PaymentMethodConfigurationUpdateParams.CartesBancaires; + export type Cashapp = Stripe.PaymentMethodConfigurationUpdateParams.Cashapp; + export type Crypto = Stripe.PaymentMethodConfigurationUpdateParams.Crypto; + export type CustomerBalance = Stripe.PaymentMethodConfigurationUpdateParams.CustomerBalance; + export type Eps = Stripe.PaymentMethodConfigurationUpdateParams.Eps; + export type Fpx = Stripe.PaymentMethodConfigurationUpdateParams.Fpx; + export type FrMealVoucherConecs = Stripe.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs; + export type Giropay = Stripe.PaymentMethodConfigurationUpdateParams.Giropay; + export type GooglePay = Stripe.PaymentMethodConfigurationUpdateParams.GooglePay; + export type Grabpay = Stripe.PaymentMethodConfigurationUpdateParams.Grabpay; + export type Ideal = Stripe.PaymentMethodConfigurationUpdateParams.Ideal; + export type Jcb = Stripe.PaymentMethodConfigurationUpdateParams.Jcb; + export type KakaoPay = Stripe.PaymentMethodConfigurationUpdateParams.KakaoPay; + export type Klarna = Stripe.PaymentMethodConfigurationUpdateParams.Klarna; + export type Konbini = Stripe.PaymentMethodConfigurationUpdateParams.Konbini; + export type KrCard = Stripe.PaymentMethodConfigurationUpdateParams.KrCard; + export type Link = Stripe.PaymentMethodConfigurationUpdateParams.Link; + export type MbWay = Stripe.PaymentMethodConfigurationUpdateParams.MbWay; + export type Mobilepay = Stripe.PaymentMethodConfigurationUpdateParams.Mobilepay; + export type Multibanco = Stripe.PaymentMethodConfigurationUpdateParams.Multibanco; + export type NaverPay = Stripe.PaymentMethodConfigurationUpdateParams.NaverPay; + export type NzBankAccount = Stripe.PaymentMethodConfigurationUpdateParams.NzBankAccount; + export type Oxxo = Stripe.PaymentMethodConfigurationUpdateParams.Oxxo; + export type P24 = Stripe.PaymentMethodConfigurationUpdateParams.P24; + export type PayByBank = Stripe.PaymentMethodConfigurationUpdateParams.PayByBank; + export type Payco = Stripe.PaymentMethodConfigurationUpdateParams.Payco; + export type Paynow = Stripe.PaymentMethodConfigurationUpdateParams.Paynow; + export type Paypal = Stripe.PaymentMethodConfigurationUpdateParams.Paypal; + export type Payto = Stripe.PaymentMethodConfigurationUpdateParams.Payto; + export type Pix = Stripe.PaymentMethodConfigurationUpdateParams.Pix; + export type Promptpay = Stripe.PaymentMethodConfigurationUpdateParams.Promptpay; + export type RevolutPay = Stripe.PaymentMethodConfigurationUpdateParams.RevolutPay; + export type SamsungPay = Stripe.PaymentMethodConfigurationUpdateParams.SamsungPay; + export type Satispay = Stripe.PaymentMethodConfigurationUpdateParams.Satispay; + export type Scalapay = Stripe.PaymentMethodConfigurationUpdateParams.Scalapay; + export type SepaDebit = Stripe.PaymentMethodConfigurationUpdateParams.SepaDebit; + export type Sofort = Stripe.PaymentMethodConfigurationUpdateParams.Sofort; + export type Sunbit = Stripe.PaymentMethodConfigurationUpdateParams.Sunbit; + export type Swish = Stripe.PaymentMethodConfigurationUpdateParams.Swish; + export type Twint = Stripe.PaymentMethodConfigurationUpdateParams.Twint; + export type Upi = Stripe.PaymentMethodConfigurationUpdateParams.Upi; + export type UsBankAccount = Stripe.PaymentMethodConfigurationUpdateParams.UsBankAccount; + export type WechatPay = Stripe.PaymentMethodConfigurationUpdateParams.WechatPay; + export type Zip = Stripe.PaymentMethodConfigurationUpdateParams.Zip; + export namespace AcssDebit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.AcssDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.AcssDebit.DisplayPreference.Preference; + } + } + export namespace Affirm { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Affirm.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Affirm.DisplayPreference.Preference; + } + } + export namespace AfterpayClearpay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.AfterpayClearpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.AfterpayClearpay.DisplayPreference.Preference; + } + } + export namespace Alipay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Alipay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Alipay.DisplayPreference.Preference; + } + } + export namespace Alma { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Alma.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Alma.DisplayPreference.Preference; + } + } + export namespace AmazonPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.AmazonPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.AmazonPay.DisplayPreference.Preference; + } + } + export namespace ApplePay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.ApplePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.ApplePay.DisplayPreference.Preference; + } + } + export namespace ApplePayLater { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.ApplePayLater.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.ApplePayLater.DisplayPreference.Preference; + } + } + export namespace AuBecsDebit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.AuBecsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.AuBecsDebit.DisplayPreference.Preference; + } + } + export namespace BacsDebit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.BacsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.BacsDebit.DisplayPreference.Preference; + } + } + export namespace Bancontact { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Bancontact.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Bancontact.DisplayPreference.Preference; + } + } + export namespace Billie { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Billie.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Billie.DisplayPreference.Preference; + } + } + export namespace Bizum { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Bizum.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Bizum.DisplayPreference.Preference; + } + } + export namespace Blik { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Blik.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Blik.DisplayPreference.Preference; + } + } + export namespace Boleto { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Boleto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Boleto.DisplayPreference.Preference; + } + } + export namespace Card { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Card.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Card.DisplayPreference.Preference; + } + } + export namespace CartesBancaires { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.CartesBancaires.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.CartesBancaires.DisplayPreference.Preference; + } + } + export namespace Cashapp { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Cashapp.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Cashapp.DisplayPreference.Preference; + } + } + export namespace Crypto { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Crypto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Crypto.DisplayPreference.Preference; + } + } + export namespace CustomerBalance { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.CustomerBalance.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.CustomerBalance.DisplayPreference.Preference; + } + } + export namespace Eps { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Eps.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Eps.DisplayPreference.Preference; + } + } + export namespace Fpx { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Fpx.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Fpx.DisplayPreference.Preference; + } + } + export namespace FrMealVoucherConecs { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs.DisplayPreference.Preference; + } + } + export namespace Giropay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Giropay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Giropay.DisplayPreference.Preference; + } + } + export namespace GooglePay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.GooglePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.GooglePay.DisplayPreference.Preference; + } + } + export namespace Grabpay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Grabpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Grabpay.DisplayPreference.Preference; + } + } + export namespace Ideal { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Ideal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Ideal.DisplayPreference.Preference; + } + } + export namespace Jcb { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Jcb.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Jcb.DisplayPreference.Preference; + } + } + export namespace KakaoPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.KakaoPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.KakaoPay.DisplayPreference.Preference; + } + } + export namespace Klarna { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Klarna.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Klarna.DisplayPreference.Preference; + } + } + export namespace Konbini { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Konbini.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Konbini.DisplayPreference.Preference; + } + } + export namespace KrCard { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.KrCard.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.KrCard.DisplayPreference.Preference; + } + } + export namespace Link { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Link.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Link.DisplayPreference.Preference; + } + } + export namespace MbWay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.MbWay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.MbWay.DisplayPreference.Preference; + } + } + export namespace Mobilepay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Mobilepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Mobilepay.DisplayPreference.Preference; + } + } + export namespace Multibanco { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Multibanco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Multibanco.DisplayPreference.Preference; + } + } + export namespace NaverPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.NaverPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.NaverPay.DisplayPreference.Preference; + } + } + export namespace NzBankAccount { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.NzBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.NzBankAccount.DisplayPreference.Preference; + } + } + export namespace Oxxo { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Oxxo.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Oxxo.DisplayPreference.Preference; + } + } + export namespace P24 { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.P24.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.P24.DisplayPreference.Preference; + } + } + export namespace PayByBank { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.PayByBank.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.PayByBank.DisplayPreference.Preference; + } + } + export namespace Payco { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Payco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Payco.DisplayPreference.Preference; + } + } + export namespace Paynow { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Paynow.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Paynow.DisplayPreference.Preference; + } + } + export namespace Paypal { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference.Preference; + } + } + export namespace Payto { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Payto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Payto.DisplayPreference.Preference; + } + } + export namespace Pix { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Pix.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Pix.DisplayPreference.Preference; + } + } + export namespace Promptpay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Promptpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Promptpay.DisplayPreference.Preference; + } + } + export namespace RevolutPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.RevolutPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.RevolutPay.DisplayPreference.Preference; + } + } + export namespace SamsungPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.SamsungPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.SamsungPay.DisplayPreference.Preference; + } + } + export namespace Satispay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Satispay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Satispay.DisplayPreference.Preference; + } + } + export namespace Scalapay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Scalapay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Scalapay.DisplayPreference.Preference; + } + } + export namespace SepaDebit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.SepaDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.SepaDebit.DisplayPreference.Preference; + } + } + export namespace Sofort { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Sofort.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Sofort.DisplayPreference.Preference; + } + } + export namespace Sunbit { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Sunbit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Sunbit.DisplayPreference.Preference; + } + } + export namespace Swish { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference.Preference; + } + } + export namespace Twint { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference.Preference; + } + } + export namespace Upi { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Upi.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Upi.DisplayPreference.Preference; + } + } + export namespace UsBankAccount { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.UsBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.UsBankAccount.DisplayPreference.Preference; + } + } + export namespace WechatPay { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.WechatPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.WechatPay.DisplayPreference.Preference; + } + } + export namespace Zip { + export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Zip.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Zip.DisplayPreference.Preference; + } + } + } + export namespace PaymentMethodConfiguration { + export type AcssDebit = Stripe.PaymentMethodConfiguration.AcssDebit; + export type Affirm = Stripe.PaymentMethodConfiguration.Affirm; + export type AfterpayClearpay = Stripe.PaymentMethodConfiguration.AfterpayClearpay; + export type Alipay = Stripe.PaymentMethodConfiguration.Alipay; + export type Alma = Stripe.PaymentMethodConfiguration.Alma; + export type AmazonPay = Stripe.PaymentMethodConfiguration.AmazonPay; + export type ApplePay = Stripe.PaymentMethodConfiguration.ApplePay; + export type AuBecsDebit = Stripe.PaymentMethodConfiguration.AuBecsDebit; + export type BacsDebit = Stripe.PaymentMethodConfiguration.BacsDebit; + export type Bancontact = Stripe.PaymentMethodConfiguration.Bancontact; + export type Billie = Stripe.PaymentMethodConfiguration.Billie; + export type Bizum = Stripe.PaymentMethodConfiguration.Bizum; + export type Blik = Stripe.PaymentMethodConfiguration.Blik; + export type Boleto = Stripe.PaymentMethodConfiguration.Boleto; + export type Card = Stripe.PaymentMethodConfiguration.Card; + export type CartesBancaires = Stripe.PaymentMethodConfiguration.CartesBancaires; + export type Cashapp = Stripe.PaymentMethodConfiguration.Cashapp; + export type Crypto = Stripe.PaymentMethodConfiguration.Crypto; + export type CustomerBalance = Stripe.PaymentMethodConfiguration.CustomerBalance; + export type Eps = Stripe.PaymentMethodConfiguration.Eps; + export type Fpx = Stripe.PaymentMethodConfiguration.Fpx; + export type Giropay = Stripe.PaymentMethodConfiguration.Giropay; + export type GooglePay = Stripe.PaymentMethodConfiguration.GooglePay; + export type Grabpay = Stripe.PaymentMethodConfiguration.Grabpay; + export type Ideal = Stripe.PaymentMethodConfiguration.Ideal; + export type Jcb = Stripe.PaymentMethodConfiguration.Jcb; + export type KakaoPay = Stripe.PaymentMethodConfiguration.KakaoPay; + export type Klarna = Stripe.PaymentMethodConfiguration.Klarna; + export type Konbini = Stripe.PaymentMethodConfiguration.Konbini; + export type KrCard = Stripe.PaymentMethodConfiguration.KrCard; + export type Link = Stripe.PaymentMethodConfiguration.Link; + export type MbWay = Stripe.PaymentMethodConfiguration.MbWay; + export type Mobilepay = Stripe.PaymentMethodConfiguration.Mobilepay; + export type Multibanco = Stripe.PaymentMethodConfiguration.Multibanco; + export type NaverPay = Stripe.PaymentMethodConfiguration.NaverPay; + export type NzBankAccount = Stripe.PaymentMethodConfiguration.NzBankAccount; + export type Oxxo = Stripe.PaymentMethodConfiguration.Oxxo; + export type P24 = Stripe.PaymentMethodConfiguration.P24; + export type PayByBank = Stripe.PaymentMethodConfiguration.PayByBank; + export type Payco = Stripe.PaymentMethodConfiguration.Payco; + export type Paynow = Stripe.PaymentMethodConfiguration.Paynow; + export type Paypal = Stripe.PaymentMethodConfiguration.Paypal; + export type Payto = Stripe.PaymentMethodConfiguration.Payto; + export type Pix = Stripe.PaymentMethodConfiguration.Pix; + export type Promptpay = Stripe.PaymentMethodConfiguration.Promptpay; + export type RevolutPay = Stripe.PaymentMethodConfiguration.RevolutPay; + export type SamsungPay = Stripe.PaymentMethodConfiguration.SamsungPay; + export type Satispay = Stripe.PaymentMethodConfiguration.Satispay; + export type Scalapay = Stripe.PaymentMethodConfiguration.Scalapay; + export type SepaDebit = Stripe.PaymentMethodConfiguration.SepaDebit; + export type Sofort = Stripe.PaymentMethodConfiguration.Sofort; + export type Sunbit = Stripe.PaymentMethodConfiguration.Sunbit; + export type Swish = Stripe.PaymentMethodConfiguration.Swish; + export type Twint = Stripe.PaymentMethodConfiguration.Twint; + export type Upi = Stripe.PaymentMethodConfiguration.Upi; + export type UsBankAccount = Stripe.PaymentMethodConfiguration.UsBankAccount; + export type WechatPay = Stripe.PaymentMethodConfiguration.WechatPay; + export type Zip = Stripe.PaymentMethodConfiguration.Zip; + export namespace AcssDebit { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.AcssDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.AcssDebit.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.AcssDebit.DisplayPreference.Value; + } + } + export namespace Affirm { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Affirm.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Affirm.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Affirm.DisplayPreference.Value; + } + } + export namespace AfterpayClearpay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference.Value; + } + } + export namespace Alipay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Alipay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Alipay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Alipay.DisplayPreference.Value; + } + } + export namespace Alma { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Alma.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Alma.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Alma.DisplayPreference.Value; + } + } + export namespace AmazonPay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.AmazonPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.AmazonPay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.AmazonPay.DisplayPreference.Value; + } + } + export namespace ApplePay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.ApplePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.ApplePay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.ApplePay.DisplayPreference.Value; + } + } + export namespace AuBecsDebit { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference.Value; + } + } + export namespace BacsDebit { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.BacsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.BacsDebit.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.BacsDebit.DisplayPreference.Value; + } + } + export namespace Bancontact { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Bancontact.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Bancontact.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Bancontact.DisplayPreference.Value; + } + } + export namespace Billie { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Billie.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Billie.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Billie.DisplayPreference.Value; + } + } + export namespace Bizum { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Bizum.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Bizum.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Bizum.DisplayPreference.Value; + } + } + export namespace Blik { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Blik.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Blik.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Blik.DisplayPreference.Value; + } + } + export namespace Boleto { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Boleto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Boleto.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Boleto.DisplayPreference.Value; + } + } + export namespace Card { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Card.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Card.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Card.DisplayPreference.Value; + } + } + export namespace CartesBancaires { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.CartesBancaires.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.CartesBancaires.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.CartesBancaires.DisplayPreference.Value; + } + } + export namespace Cashapp { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Cashapp.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Cashapp.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Cashapp.DisplayPreference.Value; + } + } + export namespace Crypto { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Crypto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Crypto.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Crypto.DisplayPreference.Value; + } + } + export namespace CustomerBalance { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.CustomerBalance.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.CustomerBalance.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.CustomerBalance.DisplayPreference.Value; + } + } + export namespace Eps { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Eps.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Eps.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Eps.DisplayPreference.Value; + } + } + export namespace Fpx { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Fpx.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Fpx.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Fpx.DisplayPreference.Value; + } + } + export namespace Giropay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Giropay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Giropay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Giropay.DisplayPreference.Value; + } + } + export namespace GooglePay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.GooglePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.GooglePay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.GooglePay.DisplayPreference.Value; + } + } + export namespace Grabpay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Grabpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Grabpay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Grabpay.DisplayPreference.Value; + } + } + export namespace Ideal { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Ideal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Ideal.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Ideal.DisplayPreference.Value; + } + } + export namespace Jcb { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Jcb.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Jcb.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Jcb.DisplayPreference.Value; + } + } + export namespace KakaoPay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.KakaoPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.KakaoPay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.KakaoPay.DisplayPreference.Value; + } + } + export namespace Klarna { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Klarna.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Klarna.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Klarna.DisplayPreference.Value; + } + } + export namespace Konbini { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Konbini.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Konbini.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Konbini.DisplayPreference.Value; + } + } + export namespace KrCard { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.KrCard.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.KrCard.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.KrCard.DisplayPreference.Value; + } + } + export namespace Link { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Link.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Link.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Link.DisplayPreference.Value; + } + } + export namespace MbWay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.MbWay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.MbWay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.MbWay.DisplayPreference.Value; + } + } + export namespace Mobilepay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Mobilepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Mobilepay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Mobilepay.DisplayPreference.Value; + } + } + export namespace Multibanco { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Multibanco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Multibanco.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Multibanco.DisplayPreference.Value; + } + } + export namespace NaverPay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.NaverPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.NaverPay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.NaverPay.DisplayPreference.Value; + } + } + export namespace NzBankAccount { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.NzBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.NzBankAccount.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.NzBankAccount.DisplayPreference.Value; + } + } + export namespace Oxxo { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Oxxo.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Oxxo.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Oxxo.DisplayPreference.Value; + } + } + export namespace P24 { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.P24.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.P24.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.P24.DisplayPreference.Value; + } + } + export namespace PayByBank { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.PayByBank.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.PayByBank.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.PayByBank.DisplayPreference.Value; + } + } + export namespace Payco { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Payco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Payco.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Payco.DisplayPreference.Value; + } + } + export namespace Paynow { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Paynow.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Paynow.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Paynow.DisplayPreference.Value; + } + } + export namespace Paypal { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Paypal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Paypal.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Paypal.DisplayPreference.Value; + } + } + export namespace Payto { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Payto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Payto.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Payto.DisplayPreference.Value; + } + } + export namespace Pix { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Pix.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Pix.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Pix.DisplayPreference.Value; + } + } + export namespace Promptpay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Promptpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Promptpay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Promptpay.DisplayPreference.Value; + } + } + export namespace RevolutPay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.RevolutPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.RevolutPay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.RevolutPay.DisplayPreference.Value; + } + } + export namespace SamsungPay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.SamsungPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.SamsungPay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.SamsungPay.DisplayPreference.Value; + } + } + export namespace Satispay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Satispay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Satispay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Satispay.DisplayPreference.Value; + } + } + export namespace Scalapay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Scalapay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Scalapay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Scalapay.DisplayPreference.Value; + } + } + export namespace SepaDebit { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.SepaDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.SepaDebit.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.SepaDebit.DisplayPreference.Value; + } + } + export namespace Sofort { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Sofort.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Sofort.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Sofort.DisplayPreference.Value; + } + } + export namespace Sunbit { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Sunbit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Sunbit.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Sunbit.DisplayPreference.Value; + } + } + export namespace Swish { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Swish.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Swish.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Swish.DisplayPreference.Value; + } + } + export namespace Twint { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Twint.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Twint.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Twint.DisplayPreference.Value; + } + } + export namespace Upi { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Upi.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Upi.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Upi.DisplayPreference.Value; + } + } + export namespace UsBankAccount { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.UsBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.UsBankAccount.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.UsBankAccount.DisplayPreference.Value; + } + } + export namespace WechatPay { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.WechatPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.WechatPay.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.WechatPay.DisplayPreference.Value; + } + } + export namespace Zip { + export type DisplayPreference = Stripe.PaymentMethodConfiguration.Zip.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe.PaymentMethodConfiguration.Zip.DisplayPreference.Preference; + export type Value = Stripe.PaymentMethodConfiguration.Zip.DisplayPreference.Value; + } + } } - export namespace PaymentMethodConfigurationUpdateParams { - export type AcssDebit = Stripe.PaymentMethodConfigurationUpdateParams.AcssDebit; - export type Affirm = Stripe.PaymentMethodConfigurationUpdateParams.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethodConfigurationUpdateParams.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethodConfigurationUpdateParams.Alipay; - export type Alma = Stripe.PaymentMethodConfigurationUpdateParams.Alma; - export type AmazonPay = Stripe.PaymentMethodConfigurationUpdateParams.AmazonPay; - export type ApplePay = Stripe.PaymentMethodConfigurationUpdateParams.ApplePay; - export type ApplePayLater = Stripe.PaymentMethodConfigurationUpdateParams.ApplePayLater; - export type AuBecsDebit = Stripe.PaymentMethodConfigurationUpdateParams.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethodConfigurationUpdateParams.BacsDebit; - export type Bancontact = Stripe.PaymentMethodConfigurationUpdateParams.Bancontact; - export type Billie = Stripe.PaymentMethodConfigurationUpdateParams.Billie; - export type Bizum = Stripe.PaymentMethodConfigurationUpdateParams.Bizum; - export type Blik = Stripe.PaymentMethodConfigurationUpdateParams.Blik; - export type Boleto = Stripe.PaymentMethodConfigurationUpdateParams.Boleto; - export type Card = Stripe.PaymentMethodConfigurationUpdateParams.Card; - export type CartesBancaires = Stripe.PaymentMethodConfigurationUpdateParams.CartesBancaires; - export type Cashapp = Stripe.PaymentMethodConfigurationUpdateParams.Cashapp; - export type Crypto = Stripe.PaymentMethodConfigurationUpdateParams.Crypto; - export type CustomerBalance = Stripe.PaymentMethodConfigurationUpdateParams.CustomerBalance; - export type Eps = Stripe.PaymentMethodConfigurationUpdateParams.Eps; - export type Fpx = Stripe.PaymentMethodConfigurationUpdateParams.Fpx; - export type FrMealVoucherConecs = Stripe.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs; - export type Giropay = Stripe.PaymentMethodConfigurationUpdateParams.Giropay; - export type GooglePay = Stripe.PaymentMethodConfigurationUpdateParams.GooglePay; - export type Grabpay = Stripe.PaymentMethodConfigurationUpdateParams.Grabpay; - export type Ideal = Stripe.PaymentMethodConfigurationUpdateParams.Ideal; - export type Jcb = Stripe.PaymentMethodConfigurationUpdateParams.Jcb; - export type KakaoPay = Stripe.PaymentMethodConfigurationUpdateParams.KakaoPay; - export type Klarna = Stripe.PaymentMethodConfigurationUpdateParams.Klarna; - export type Konbini = Stripe.PaymentMethodConfigurationUpdateParams.Konbini; - export type KrCard = Stripe.PaymentMethodConfigurationUpdateParams.KrCard; - export type Link = Stripe.PaymentMethodConfigurationUpdateParams.Link; - export type MbWay = Stripe.PaymentMethodConfigurationUpdateParams.MbWay; - export type Mobilepay = Stripe.PaymentMethodConfigurationUpdateParams.Mobilepay; - export type Multibanco = Stripe.PaymentMethodConfigurationUpdateParams.Multibanco; - export type NaverPay = Stripe.PaymentMethodConfigurationUpdateParams.NaverPay; - export type NzBankAccount = Stripe.PaymentMethodConfigurationUpdateParams.NzBankAccount; - export type Oxxo = Stripe.PaymentMethodConfigurationUpdateParams.Oxxo; - export type P24 = Stripe.PaymentMethodConfigurationUpdateParams.P24; - export type PayByBank = Stripe.PaymentMethodConfigurationUpdateParams.PayByBank; - export type Payco = Stripe.PaymentMethodConfigurationUpdateParams.Payco; - export type Paynow = Stripe.PaymentMethodConfigurationUpdateParams.Paynow; - export type Paypal = Stripe.PaymentMethodConfigurationUpdateParams.Paypal; - export type Payto = Stripe.PaymentMethodConfigurationUpdateParams.Payto; - export type Pix = Stripe.PaymentMethodConfigurationUpdateParams.Pix; - export type Promptpay = Stripe.PaymentMethodConfigurationUpdateParams.Promptpay; - export type RevolutPay = Stripe.PaymentMethodConfigurationUpdateParams.RevolutPay; - export type SamsungPay = Stripe.PaymentMethodConfigurationUpdateParams.SamsungPay; - export type Satispay = Stripe.PaymentMethodConfigurationUpdateParams.Satispay; - export type Scalapay = Stripe.PaymentMethodConfigurationUpdateParams.Scalapay; - export type SepaDebit = Stripe.PaymentMethodConfigurationUpdateParams.SepaDebit; - export type Sofort = Stripe.PaymentMethodConfigurationUpdateParams.Sofort; - export type Sunbit = Stripe.PaymentMethodConfigurationUpdateParams.Sunbit; - export type Swish = Stripe.PaymentMethodConfigurationUpdateParams.Swish; - export type Twint = Stripe.PaymentMethodConfigurationUpdateParams.Twint; - export type Upi = Stripe.PaymentMethodConfigurationUpdateParams.Upi; - export type UsBankAccount = Stripe.PaymentMethodConfigurationUpdateParams.UsBankAccount; - export type WechatPay = Stripe.PaymentMethodConfigurationUpdateParams.WechatPay; - export type Zip = Stripe.PaymentMethodConfigurationUpdateParams.Zip; + export namespace PaymentMethodDomain { + export type AmazonPay = Stripe.PaymentMethodDomain.AmazonPay; + export type ApplePay = Stripe.PaymentMethodDomain.ApplePay; + export type GooglePay = Stripe.PaymentMethodDomain.GooglePay; + export type Klarna = Stripe.PaymentMethodDomain.Klarna; + export type Link = Stripe.PaymentMethodDomain.Link; + export type Paypal = Stripe.PaymentMethodDomain.Paypal; + export namespace AmazonPay { + export type Status = Stripe.PaymentMethodDomain.AmazonPay.Status; + export type StatusDetails = Stripe.PaymentMethodDomain.AmazonPay.StatusDetails; + } + export namespace ApplePay { + export type Status = Stripe.PaymentMethodDomain.ApplePay.Status; + export type StatusDetails = Stripe.PaymentMethodDomain.ApplePay.StatusDetails; + } + export namespace GooglePay { + export type Status = Stripe.PaymentMethodDomain.GooglePay.Status; + export type StatusDetails = Stripe.PaymentMethodDomain.GooglePay.StatusDetails; + } + export namespace Klarna { + export type Status = Stripe.PaymentMethodDomain.Klarna.Status; + export type StatusDetails = Stripe.PaymentMethodDomain.Klarna.StatusDetails; + } + export namespace Link { + export type Status = Stripe.PaymentMethodDomain.Link.Status; + export type StatusDetails = Stripe.PaymentMethodDomain.Link.StatusDetails; + } + export namespace Paypal { + export type Status = Stripe.PaymentMethodDomain.Paypal.Status; + export type StatusDetails = Stripe.PaymentMethodDomain.Paypal.StatusDetails; + } } export namespace PaymentRecordReportPaymentParams { export type AmountRequested = Stripe.PaymentRecordReportPaymentParams.AmountRequested; @@ -1050,6 +6530,13 @@ declare namespace StripeConstructor { export type Outcome = Stripe.PaymentRecordReportPaymentParams.Outcome; export type ProcessorDetails = Stripe.PaymentRecordReportPaymentParams.ProcessorDetails; export type ShippingDetails = Stripe.PaymentRecordReportPaymentParams.ShippingDetails; + export namespace PaymentMethodDetails { + export type BillingDetails = Stripe.PaymentRecordReportPaymentParams.PaymentMethodDetails.BillingDetails; + export type Custom = Stripe.PaymentRecordReportPaymentParams.PaymentMethodDetails.Custom; + } + export namespace ProcessorDetails { + export type Custom = Stripe.PaymentRecordReportPaymentParams.ProcessorDetails.Custom; + } } export namespace PaymentRecordReportPaymentAttemptParams { export type Failed = Stripe.PaymentRecordReportPaymentAttemptParams.Failed; @@ -1057,6 +6544,10 @@ declare namespace StripeConstructor { export type Outcome = Stripe.PaymentRecordReportPaymentAttemptParams.Outcome; export type PaymentMethodDetails = Stripe.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails; export type ShippingDetails = Stripe.PaymentRecordReportPaymentAttemptParams.ShippingDetails; + export namespace PaymentMethodDetails { + export type BillingDetails = Stripe.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.BillingDetails; + export type Custom = Stripe.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Custom; + } } export namespace PaymentRecordReportPaymentAttemptInformationalParams { export type CustomerDetails = Stripe.PaymentRecordReportPaymentAttemptInformationalParams.CustomerDetails; @@ -1066,11 +6557,226 @@ declare namespace StripeConstructor { export type ProcessorDetails = Stripe.PaymentRecordReportRefundParams.ProcessorDetails; export type Refunded = Stripe.PaymentRecordReportRefundParams.Refunded; export type Amount = Stripe.PaymentRecordReportRefundParams.Amount; + export namespace ProcessorDetails { + export type Custom = Stripe.PaymentRecordReportRefundParams.ProcessorDetails.Custom; + } + } + export namespace PaymentRecord { + export type Amount = Stripe.PaymentRecord.Amount; + export type AmountAuthorized = Stripe.PaymentRecord.AmountAuthorized; + export type AmountCanceled = Stripe.PaymentRecord.AmountCanceled; + export type AmountFailed = Stripe.PaymentRecord.AmountFailed; + export type AmountGuaranteed = Stripe.PaymentRecord.AmountGuaranteed; + export type AmountRefunded = Stripe.PaymentRecord.AmountRefunded; + export type AmountRequested = Stripe.PaymentRecord.AmountRequested; + export type CustomerDetails = Stripe.PaymentRecord.CustomerDetails; + export type CustomerPresence = Stripe.PaymentRecord.CustomerPresence; + export type PaymentMethodDetails = Stripe.PaymentRecord.PaymentMethodDetails; + export type ProcessorDetails = Stripe.PaymentRecord.ProcessorDetails; + export type ReportedBy = Stripe.PaymentRecord.ReportedBy; + export type ShippingDetails = Stripe.PaymentRecord.ShippingDetails; + export namespace PaymentMethodDetails { + export type AchCreditTransfer = Stripe.PaymentRecord.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe.PaymentRecord.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe.PaymentRecord.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe.PaymentRecord.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe.PaymentRecord.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe.PaymentRecord.PaymentMethodDetails.Alipay; + export type Alma = Stripe.PaymentRecord.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe.PaymentRecord.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe.PaymentRecord.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe.PaymentRecord.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe.PaymentRecord.PaymentMethodDetails.Bancontact; + export type Billie = Stripe.PaymentRecord.PaymentMethodDetails.Billie; + export type BillingDetails = Stripe.PaymentRecord.PaymentMethodDetails.BillingDetails; + export type Bizum = Stripe.PaymentRecord.PaymentMethodDetails.Bizum; + export type Blik = Stripe.PaymentRecord.PaymentMethodDetails.Blik; + export type Boleto = Stripe.PaymentRecord.PaymentMethodDetails.Boleto; + export type Card = Stripe.PaymentRecord.PaymentMethodDetails.Card; + export type CardPresent = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe.PaymentRecord.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe.PaymentRecord.PaymentMethodDetails.Crypto; + export type Custom = Stripe.PaymentRecord.PaymentMethodDetails.Custom; + export type CustomerBalance = Stripe.PaymentRecord.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe.PaymentRecord.PaymentMethodDetails.Eps; + export type Fpx = Stripe.PaymentRecord.PaymentMethodDetails.Fpx; + export type Giropay = Stripe.PaymentRecord.PaymentMethodDetails.Giropay; + export type Grabpay = Stripe.PaymentRecord.PaymentMethodDetails.Grabpay; + export type Ideal = Stripe.PaymentRecord.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe.PaymentRecord.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe.PaymentRecord.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe.PaymentRecord.PaymentMethodDetails.Klarna; + export type Konbini = Stripe.PaymentRecord.PaymentMethodDetails.Konbini; + export type KrCard = Stripe.PaymentRecord.PaymentMethodDetails.KrCard; + export type Link = Stripe.PaymentRecord.PaymentMethodDetails.Link; + export type MbWay = Stripe.PaymentRecord.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe.PaymentRecord.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe.PaymentRecord.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe.PaymentRecord.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe.PaymentRecord.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe.PaymentRecord.PaymentMethodDetails.Oxxo; + export type P24 = Stripe.PaymentRecord.PaymentMethodDetails.P24; + export type PayByBank = Stripe.PaymentRecord.PaymentMethodDetails.PayByBank; + export type Payco = Stripe.PaymentRecord.PaymentMethodDetails.Payco; + export type Paynow = Stripe.PaymentRecord.PaymentMethodDetails.Paynow; + export type Paypal = Stripe.PaymentRecord.PaymentMethodDetails.Paypal; + export type Payto = Stripe.PaymentRecord.PaymentMethodDetails.Payto; + export type Pix = Stripe.PaymentRecord.PaymentMethodDetails.Pix; + export type Promptpay = Stripe.PaymentRecord.PaymentMethodDetails.Promptpay; + export type RevolutPay = Stripe.PaymentRecord.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe.PaymentRecord.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe.PaymentRecord.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe.PaymentRecord.PaymentMethodDetails.Scalapay; + export type SepaCreditTransfer = Stripe.PaymentRecord.PaymentMethodDetails.SepaCreditTransfer; + export type SepaDebit = Stripe.PaymentRecord.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe.PaymentRecord.PaymentMethodDetails.Sofort; + export type StripeAccount = Stripe.PaymentRecord.PaymentMethodDetails.StripeAccount; + export type Sunbit = Stripe.PaymentRecord.PaymentMethodDetails.Sunbit; + export type Swish = Stripe.PaymentRecord.PaymentMethodDetails.Swish; + export type Twint = Stripe.PaymentRecord.PaymentMethodDetails.Twint; + export type Upi = Stripe.PaymentRecord.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe.PaymentRecord.PaymentMethodDetails.UsBankAccount; + export type Wechat = Stripe.PaymentRecord.PaymentMethodDetails.Wechat; + export type WechatPay = Stripe.PaymentRecord.PaymentMethodDetails.WechatPay; + export type Zip = Stripe.PaymentRecord.PaymentMethodDetails.Zip; + export namespace AchDebit { + export type AccountHolderType = Stripe.PaymentRecord.PaymentMethodDetails.AchDebit.AccountHolderType; + } + export namespace Alma { + export type Installments = Stripe.PaymentRecord.PaymentMethodDetails.Alma.Installments; + } + export namespace AmazonPay { + export type Funding = Stripe.PaymentRecord.PaymentMethodDetails.AmazonPay.Funding; + export namespace Funding { + export type Card = Stripe.PaymentRecord.PaymentMethodDetails.AmazonPay.Funding.Card; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.PaymentRecord.PaymentMethodDetails.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Brand = Stripe.PaymentRecord.PaymentMethodDetails.Card.Brand; + export type Checks = Stripe.PaymentRecord.PaymentMethodDetails.Card.Checks; + export type Funding = Stripe.PaymentRecord.PaymentMethodDetails.Card.Funding; + export type Installments = Stripe.PaymentRecord.PaymentMethodDetails.Card.Installments; + export type Network = Stripe.PaymentRecord.PaymentMethodDetails.Card.Network; + export type NetworkToken = Stripe.PaymentRecord.PaymentMethodDetails.Card.NetworkToken; + export type StoredCredentialUsage = Stripe.PaymentRecord.PaymentMethodDetails.Card.StoredCredentialUsage; + export type ThreeDSecure = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe.PaymentRecord.PaymentMethodDetails.Card.Wallet; + export namespace Checks { + export type AddressLine1Check = Stripe.PaymentRecord.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe.PaymentRecord.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe.PaymentRecord.PaymentMethodDetails.Card.Checks.CvcCheck; + } + export namespace Installments { + export type Plan = Stripe.PaymentRecord.PaymentMethodDetails.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe.PaymentRecord.PaymentMethodDetails.Card.Installments.Plan.Type; + } + } + export namespace ThreeDSecure { + export type AuthenticationFlow = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; + export type Result = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.Version; + } + export namespace Wallet { + export type ApplePay = Stripe.PaymentRecord.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe.PaymentRecord.PaymentMethodDetails.Card.Wallet.GooglePay; + } + } + export namespace CardPresent { + export type Offline = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet; + export namespace Receipt { + export type AccountType = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + export namespace Crypto { + export type Network = Stripe.PaymentRecord.PaymentMethodDetails.Crypto.Network; + export type TokenCurrency = Stripe.PaymentRecord.PaymentMethodDetails.Crypto.TokenCurrency; + } + export namespace Eps { + export type Bank = Stripe.PaymentRecord.PaymentMethodDetails.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.PaymentRecord.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe.PaymentRecord.PaymentMethodDetails.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.PaymentRecord.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe.PaymentRecord.PaymentMethodDetails.Ideal.Bic; + } + export namespace InteracPresent { + export type ReadMethod = Stripe.PaymentRecord.PaymentMethodDetails.InteracPresent.ReadMethod; + export type Receipt = Stripe.PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt; + export namespace Receipt { + export type AccountType = Stripe.PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt.AccountType; + } + } + export namespace Klarna { + export type PayerDetails = Stripe.PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails; + export namespace PayerDetails { + export type Address = Stripe.PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails.Address; + } + } + export namespace Konbini { + export type Store = Stripe.PaymentRecord.PaymentMethodDetails.Konbini.Store; + export namespace Store { + export type Chain = Stripe.PaymentRecord.PaymentMethodDetails.Konbini.Store.Chain; + } + } + export namespace KrCard { + export type Brand = Stripe.PaymentRecord.PaymentMethodDetails.KrCard.Brand; + } + export namespace Mobilepay { + export type Card = Stripe.PaymentRecord.PaymentMethodDetails.Mobilepay.Card; + } + export namespace P24 { + export type Bank = Stripe.PaymentRecord.PaymentMethodDetails.P24.Bank; + } + export namespace Paypal { + export type SellerProtection = Stripe.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection; + export namespace SellerProtection { + export type DisputeCategory = Stripe.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; + export type Status = Stripe.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection.Status; + } + } + export namespace RevolutPay { + export type Funding = Stripe.PaymentRecord.PaymentMethodDetails.RevolutPay.Funding; + export namespace Funding { + export type Card = Stripe.PaymentRecord.PaymentMethodDetails.RevolutPay.Funding.Card; + } + } + export namespace Sofort { + export type PreferredLanguage = Stripe.PaymentRecord.PaymentMethodDetails.Sofort.PreferredLanguage; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.PaymentRecord.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.PaymentRecord.PaymentMethodDetails.UsBankAccount.AccountType; + } + } + export namespace ProcessorDetails { + export type Custom = Stripe.PaymentRecord.ProcessorDetails.Custom; + } } export namespace PayoutCreateParams { export type Method = Stripe.PayoutCreateParams.Method; export type SourceType = Stripe.PayoutCreateParams.SourceType; } + export namespace Payout { + export type ReconciliationStatus = Stripe.Payout.ReconciliationStatus; + export type TraceId = Stripe.Payout.TraceId; + export type Type = Stripe.Payout.Type; + } export namespace PlanCreateParams { export type Interval = Stripe.PlanCreateParams.Interval; export type BillingScheme = Stripe.PlanCreateParams.BillingScheme; @@ -1079,6 +6785,20 @@ declare namespace StripeConstructor { export type TiersMode = Stripe.PlanCreateParams.TiersMode; export type TransformUsage = Stripe.PlanCreateParams.TransformUsage; export type UsageType = Stripe.PlanCreateParams.UsageType; + export namespace TransformUsage { + export type Round = Stripe.PlanCreateParams.TransformUsage.Round; + } + } + export namespace Plan { + export type BillingScheme = Stripe.Plan.BillingScheme; + export type Interval = Stripe.Plan.Interval; + export type Tier = Stripe.Plan.Tier; + export type TiersMode = Stripe.Plan.TiersMode; + export type TransformUsage = Stripe.Plan.TransformUsage; + export type UsageType = Stripe.Plan.UsageType; + export namespace TransformUsage { + export type Round = Stripe.Plan.TransformUsage.Round; + } } export namespace PriceCreateParams { export type BillingScheme = Stripe.PriceCreateParams.BillingScheme; @@ -1090,20 +6810,78 @@ declare namespace StripeConstructor { export type Tier = Stripe.PriceCreateParams.Tier; export type TiersMode = Stripe.PriceCreateParams.TiersMode; export type TransformQuantity = Stripe.PriceCreateParams.TransformQuantity; + export namespace CurrencyOptions { + export type CustomUnitAmount = Stripe.PriceCreateParams.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe.PriceCreateParams.CurrencyOptions.TaxBehavior; + export type Tier = Stripe.PriceCreateParams.CurrencyOptions.Tier; + } + export namespace Recurring { + export type Interval = Stripe.PriceCreateParams.Recurring.Interval; + export type UsageType = Stripe.PriceCreateParams.Recurring.UsageType; + } + export namespace TransformQuantity { + export type Round = Stripe.PriceCreateParams.TransformQuantity.Round; + } } export namespace PriceUpdateParams { export type CurrencyOptions = Stripe.PriceUpdateParams.CurrencyOptions; export type TaxBehavior = Stripe.PriceUpdateParams.TaxBehavior; + export namespace CurrencyOptions { + export type CustomUnitAmount = Stripe.PriceUpdateParams.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe.PriceUpdateParams.CurrencyOptions.TaxBehavior; + export type Tier = Stripe.PriceUpdateParams.CurrencyOptions.Tier; + } } export namespace PriceListParams { export type Recurring = Stripe.PriceListParams.Recurring; export type Type = Stripe.PriceListParams.Type; + export namespace Recurring { + export type Interval = Stripe.PriceListParams.Recurring.Interval; + export type UsageType = Stripe.PriceListParams.Recurring.UsageType; + } + } + export namespace Price { + export type BillingScheme = Stripe.Price.BillingScheme; + export type CurrencyOptions = Stripe.Price.CurrencyOptions; + export type CustomUnitAmount = Stripe.Price.CustomUnitAmount; + export type Recurring = Stripe.Price.Recurring; + export type TaxBehavior = Stripe.Price.TaxBehavior; + export type Tier = Stripe.Price.Tier; + export type TiersMode = Stripe.Price.TiersMode; + export type TransformQuantity = Stripe.Price.TransformQuantity; + export type Type = Stripe.Price.Type; + export namespace CurrencyOptions { + export type CustomUnitAmount = Stripe.Price.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe.Price.CurrencyOptions.TaxBehavior; + export type Tier = Stripe.Price.CurrencyOptions.Tier; + } + export namespace Recurring { + export type Interval = Stripe.Price.Recurring.Interval; + export type UsageType = Stripe.Price.Recurring.UsageType; + } + export namespace TransformQuantity { + export type Round = Stripe.Price.TransformQuantity.Round; + } } export namespace ProductCreateParams { export type DefaultPriceData = Stripe.ProductCreateParams.DefaultPriceData; export type MarketingFeature = Stripe.ProductCreateParams.MarketingFeature; export type PackageDimensions = Stripe.ProductCreateParams.PackageDimensions; export type Type = Stripe.ProductCreateParams.Type; + export namespace DefaultPriceData { + export type CurrencyOptions = Stripe.ProductCreateParams.DefaultPriceData.CurrencyOptions; + export type CustomUnitAmount = Stripe.ProductCreateParams.DefaultPriceData.CustomUnitAmount; + export type Recurring = Stripe.ProductCreateParams.DefaultPriceData.Recurring; + export type TaxBehavior = Stripe.ProductCreateParams.DefaultPriceData.TaxBehavior; + export namespace CurrencyOptions { + export type CustomUnitAmount = Stripe.ProductCreateParams.DefaultPriceData.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe.ProductCreateParams.DefaultPriceData.CurrencyOptions.TaxBehavior; + export type Tier = Stripe.ProductCreateParams.DefaultPriceData.CurrencyOptions.Tier; + } + export namespace Recurring { + export type Interval = Stripe.ProductCreateParams.DefaultPriceData.Recurring.Interval; + } + } } export namespace ProductUpdateParams { export type MarketingFeature = Stripe.ProductUpdateParams.MarketingFeature; @@ -1112,12 +6890,30 @@ declare namespace StripeConstructor { export namespace ProductListParams { export type Type = Stripe.ProductListParams.Type; } + export namespace Product { + export type MarketingFeature = Stripe.Product.MarketingFeature; + export type PackageDimensions = Stripe.Product.PackageDimensions; + export type Type = Stripe.Product.Type; + } export namespace PromotionCodeCreateParams { export type Promotion = Stripe.PromotionCodeCreateParams.Promotion; export type Restrictions = Stripe.PromotionCodeCreateParams.Restrictions; + export namespace Restrictions { + export type CurrencyOptions = Stripe.PromotionCodeCreateParams.Restrictions.CurrencyOptions; + } } export namespace PromotionCodeUpdateParams { export type Restrictions = Stripe.PromotionCodeUpdateParams.Restrictions; + export namespace Restrictions { + export type CurrencyOptions = Stripe.PromotionCodeUpdateParams.Restrictions.CurrencyOptions; + } + } + export namespace PromotionCode { + export type Promotion = Stripe.PromotionCode.Promotion; + export type Restrictions = Stripe.PromotionCode.Restrictions; + export namespace Restrictions { + export type CurrencyOptions = Stripe.PromotionCode.Restrictions.CurrencyOptions; + } } export namespace QuoteCreateParams { export type AutomaticTax = Stripe.QuoteCreateParams.AutomaticTax; @@ -1128,6 +6924,39 @@ declare namespace StripeConstructor { export type LineItem = Stripe.QuoteCreateParams.LineItem; export type SubscriptionData = Stripe.QuoteCreateParams.SubscriptionData; export type TransferData = Stripe.QuoteCreateParams.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe.QuoteCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.QuoteCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.QuoteCreateParams.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.QuoteCreateParams.InvoiceSettings.Issuer.Type; + } + } + export namespace LineItem { + export type Discount = Stripe.QuoteCreateParams.LineItem.Discount; + export type PriceData = Stripe.QuoteCreateParams.LineItem.PriceData; + export namespace PriceData { + export type Recurring = Stripe.QuoteCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe.QuoteCreateParams.LineItem.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.QuoteCreateParams.LineItem.PriceData.Recurring.Interval; + } + } + } + export namespace SubscriptionData { + export type BillingMode = Stripe.QuoteCreateParams.SubscriptionData.BillingMode; + export namespace BillingMode { + export type Flexible = Stripe.QuoteCreateParams.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe.QuoteCreateParams.SubscriptionData.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.QuoteCreateParams.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + } + } + } } export namespace QuoteUpdateParams { export type AutomaticTax = Stripe.QuoteUpdateParams.AutomaticTax; @@ -1137,13 +6966,238 @@ declare namespace StripeConstructor { export type LineItem = Stripe.QuoteUpdateParams.LineItem; export type SubscriptionData = Stripe.QuoteUpdateParams.SubscriptionData; export type TransferData = Stripe.QuoteUpdateParams.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe.QuoteUpdateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.QuoteUpdateParams.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.QuoteUpdateParams.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.QuoteUpdateParams.InvoiceSettings.Issuer.Type; + } + } + export namespace LineItem { + export type Discount = Stripe.QuoteUpdateParams.LineItem.Discount; + export type PriceData = Stripe.QuoteUpdateParams.LineItem.PriceData; + export namespace PriceData { + export type Recurring = Stripe.QuoteUpdateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe.QuoteUpdateParams.LineItem.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.QuoteUpdateParams.LineItem.PriceData.Recurring.Interval; + } + } + } } export namespace QuoteListParams { export type Status = Stripe.QuoteListParams.Status; } + export namespace Quote { + export type AutomaticTax = Stripe.Quote.AutomaticTax; + export type CollectionMethod = Stripe.Quote.CollectionMethod; + export type Computed = Stripe.Quote.Computed; + export type FromQuote = Stripe.Quote.FromQuote; + export type InvoiceSettings = Stripe.Quote.InvoiceSettings; + export type Status = Stripe.Quote.Status; + export type StatusTransitions = Stripe.Quote.StatusTransitions; + export type SubscriptionData = Stripe.Quote.SubscriptionData; + export type TotalDetails = Stripe.Quote.TotalDetails; + export type TransferData = Stripe.Quote.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe.Quote.AutomaticTax.Liability; + export type Status = Stripe.Quote.AutomaticTax.Status; + export namespace Liability { + export type Type = Stripe.Quote.AutomaticTax.Liability.Type; + } + } + export namespace Computed { + export type Recurring = Stripe.Quote.Computed.Recurring; + export type Upfront = Stripe.Quote.Computed.Upfront; + export namespace Recurring { + export type Interval = Stripe.Quote.Computed.Recurring.Interval; + export type TotalDetails = Stripe.Quote.Computed.Recurring.TotalDetails; + export namespace TotalDetails { + export type Breakdown = Stripe.Quote.Computed.Recurring.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe.Quote.Computed.Recurring.TotalDetails.Breakdown.Discount; + export type Tax = Stripe.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax.TaxabilityReason; + } + } + } + } + export namespace Upfront { + export type TotalDetails = Stripe.Quote.Computed.Upfront.TotalDetails; + export namespace TotalDetails { + export type Breakdown = Stripe.Quote.Computed.Upfront.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe.Quote.Computed.Upfront.TotalDetails.Breakdown.Discount; + export type Tax = Stripe.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax.TaxabilityReason; + } + } + } + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.Quote.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.Quote.InvoiceSettings.Issuer.Type; + } + } + export namespace SubscriptionData { + export type BillingMode = Stripe.Quote.SubscriptionData.BillingMode; + export namespace BillingMode { + export type Flexible = Stripe.Quote.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe.Quote.SubscriptionData.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.Quote.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + } + } + } + export namespace TotalDetails { + export type Breakdown = Stripe.Quote.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe.Quote.TotalDetails.Breakdown.Discount; + export type Tax = Stripe.Quote.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe.Quote.TotalDetails.Breakdown.Tax.TaxabilityReason; + } + } + } + } export namespace RefundCreateParams { export type Reason = Stripe.RefundCreateParams.Reason; } + export namespace Refund { + export type DestinationDetails = Stripe.Refund.DestinationDetails; + export type NextAction = Stripe.Refund.NextAction; + export type PendingReason = Stripe.Refund.PendingReason; + export type PresentmentDetails = Stripe.Refund.PresentmentDetails; + export type Reason = Stripe.Refund.Reason; + export namespace DestinationDetails { + export type Affirm = Stripe.Refund.DestinationDetails.Affirm; + export type AfterpayClearpay = Stripe.Refund.DestinationDetails.AfterpayClearpay; + export type Alipay = Stripe.Refund.DestinationDetails.Alipay; + export type Alma = Stripe.Refund.DestinationDetails.Alma; + export type AmazonPay = Stripe.Refund.DestinationDetails.AmazonPay; + export type AuBankTransfer = Stripe.Refund.DestinationDetails.AuBankTransfer; + export type Blik = Stripe.Refund.DestinationDetails.Blik; + export type BrBankTransfer = Stripe.Refund.DestinationDetails.BrBankTransfer; + export type Card = Stripe.Refund.DestinationDetails.Card; + export type Cashapp = Stripe.Refund.DestinationDetails.Cashapp; + export type Crypto = Stripe.Refund.DestinationDetails.Crypto; + export type CustomerCashBalance = Stripe.Refund.DestinationDetails.CustomerCashBalance; + export type Eps = Stripe.Refund.DestinationDetails.Eps; + export type EuBankTransfer = Stripe.Refund.DestinationDetails.EuBankTransfer; + export type GbBankTransfer = Stripe.Refund.DestinationDetails.GbBankTransfer; + export type Giropay = Stripe.Refund.DestinationDetails.Giropay; + export type Grabpay = Stripe.Refund.DestinationDetails.Grabpay; + export type JpBankTransfer = Stripe.Refund.DestinationDetails.JpBankTransfer; + export type Klarna = Stripe.Refund.DestinationDetails.Klarna; + export type MbWay = Stripe.Refund.DestinationDetails.MbWay; + export type Multibanco = Stripe.Refund.DestinationDetails.Multibanco; + export type MxBankTransfer = Stripe.Refund.DestinationDetails.MxBankTransfer; + export type NzBankTransfer = Stripe.Refund.DestinationDetails.NzBankTransfer; + export type P24 = Stripe.Refund.DestinationDetails.P24; + export type Paynow = Stripe.Refund.DestinationDetails.Paynow; + export type Paypal = Stripe.Refund.DestinationDetails.Paypal; + export type Pix = Stripe.Refund.DestinationDetails.Pix; + export type Revolut = Stripe.Refund.DestinationDetails.Revolut; + export type Scalapay = Stripe.Refund.DestinationDetails.Scalapay; + export type Sofort = Stripe.Refund.DestinationDetails.Sofort; + export type Swish = Stripe.Refund.DestinationDetails.Swish; + export type ThBankTransfer = Stripe.Refund.DestinationDetails.ThBankTransfer; + export type Twint = Stripe.Refund.DestinationDetails.Twint; + export type UsBankTransfer = Stripe.Refund.DestinationDetails.UsBankTransfer; + export type WechatPay = Stripe.Refund.DestinationDetails.WechatPay; + export type Zip = Stripe.Refund.DestinationDetails.Zip; + export namespace Card { + export type Type = Stripe.Refund.DestinationDetails.Card.Type; + } + } + export namespace NextAction { + export type DisplayDetails = Stripe.Refund.NextAction.DisplayDetails; + export namespace DisplayDetails { + export type EmailSent = Stripe.Refund.NextAction.DisplayDetails.EmailSent; + } + } + } + export namespace Review { + export type ClosedReason = Stripe.Review.ClosedReason; + export type IpAddressLocation = Stripe.Review.IpAddressLocation; + export type OpenedReason = Stripe.Review.OpenedReason; + export type Session = Stripe.Review.Session; + } + export namespace SetupAttempt { + export type FlowDirection = Stripe.SetupAttempt.FlowDirection; + export type PaymentMethodDetails = Stripe.SetupAttempt.PaymentMethodDetails; + export type SetupError = Stripe.SetupAttempt.SetupError; + export namespace PaymentMethodDetails { + export type AcssDebit = Stripe.SetupAttempt.PaymentMethodDetails.AcssDebit; + export type AmazonPay = Stripe.SetupAttempt.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe.SetupAttempt.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe.SetupAttempt.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe.SetupAttempt.PaymentMethodDetails.Bancontact; + export type Boleto = Stripe.SetupAttempt.PaymentMethodDetails.Boleto; + export type Card = Stripe.SetupAttempt.PaymentMethodDetails.Card; + export type CardPresent = Stripe.SetupAttempt.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe.SetupAttempt.PaymentMethodDetails.Cashapp; + export type Ideal = Stripe.SetupAttempt.PaymentMethodDetails.Ideal; + export type KakaoPay = Stripe.SetupAttempt.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe.SetupAttempt.PaymentMethodDetails.Klarna; + export type KrCard = Stripe.SetupAttempt.PaymentMethodDetails.KrCard; + export type Link = Stripe.SetupAttempt.PaymentMethodDetails.Link; + export type NaverPay = Stripe.SetupAttempt.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe.SetupAttempt.PaymentMethodDetails.NzBankAccount; + export type Paypal = Stripe.SetupAttempt.PaymentMethodDetails.Paypal; + export type Payto = Stripe.SetupAttempt.PaymentMethodDetails.Payto; + export type Pix = Stripe.SetupAttempt.PaymentMethodDetails.Pix; + export type RevolutPay = Stripe.SetupAttempt.PaymentMethodDetails.RevolutPay; + export type SepaDebit = Stripe.SetupAttempt.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe.SetupAttempt.PaymentMethodDetails.Sofort; + export type Twint = Stripe.SetupAttempt.PaymentMethodDetails.Twint; + export type Upi = Stripe.SetupAttempt.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe.SetupAttempt.PaymentMethodDetails.UsBankAccount; + export namespace Bancontact { + export type PreferredLanguage = Stripe.SetupAttempt.PaymentMethodDetails.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Checks = Stripe.SetupAttempt.PaymentMethodDetails.Card.Checks; + export type ThreeDSecure = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe.SetupAttempt.PaymentMethodDetails.Card.Wallet; + export namespace ThreeDSecure { + export type AuthenticationFlow = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type Result = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Version; + } + export namespace Wallet { + export type ApplePay = Stripe.SetupAttempt.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe.SetupAttempt.PaymentMethodDetails.Card.Wallet.GooglePay; + export type Type = Stripe.SetupAttempt.PaymentMethodDetails.Card.Wallet.Type; + } + } + export namespace CardPresent { + export type Offline = Stripe.SetupAttempt.PaymentMethodDetails.CardPresent.Offline; + } + export namespace Ideal { + export type Bank = Stripe.SetupAttempt.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe.SetupAttempt.PaymentMethodDetails.Ideal.Bic; + } + export namespace Sofort { + export type PreferredLanguage = Stripe.SetupAttempt.PaymentMethodDetails.Sofort.PreferredLanguage; + } + } + export namespace SetupError { + export type Code = Stripe.SetupAttempt.SetupError.Code; + export type Type = Stripe.SetupAttempt.SetupError.Type; + } + } export namespace SetupIntentCreateParams { export type AutomaticPaymentMethods = Stripe.SetupIntentCreateParams.AutomaticPaymentMethods; export type ExcludedPaymentMethodType = Stripe.SetupIntentCreateParams.ExcludedPaymentMethodType; @@ -1153,12 +7207,419 @@ declare namespace StripeConstructor { export type PaymentMethodOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions; export type SingleUse = Stripe.SetupIntentCreateParams.SingleUse; export type Usage = Stripe.SetupIntentCreateParams.Usage; + export namespace AutomaticPaymentMethods { + export type AllowRedirects = Stripe.SetupIntentCreateParams.AutomaticPaymentMethods.AllowRedirects; + } + export namespace MandateData { + export type CustomerAcceptance = Stripe.SetupIntentCreateParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Offline = Stripe.SetupIntentCreateParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe.SetupIntentCreateParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe.SetupIntentCreateParams.MandateData.CustomerAcceptance.Type; + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe.SetupIntentCreateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe.SetupIntentCreateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe.SetupIntentCreateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe.SetupIntentCreateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe.SetupIntentCreateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe.SetupIntentCreateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe.SetupIntentCreateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe.SetupIntentCreateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe.SetupIntentCreateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe.SetupIntentCreateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe.SetupIntentCreateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe.SetupIntentCreateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe.SetupIntentCreateParams.PaymentMethodData.Bizum; + export type Blik = Stripe.SetupIntentCreateParams.PaymentMethodData.Blik; + export type Boleto = Stripe.SetupIntentCreateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe.SetupIntentCreateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe.SetupIntentCreateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe.SetupIntentCreateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe.SetupIntentCreateParams.PaymentMethodData.Eps; + export type Fpx = Stripe.SetupIntentCreateParams.PaymentMethodData.Fpx; + export type Giropay = Stripe.SetupIntentCreateParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe.SetupIntentCreateParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe.SetupIntentCreateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe.SetupIntentCreateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe.SetupIntentCreateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe.SetupIntentCreateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe.SetupIntentCreateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe.SetupIntentCreateParams.PaymentMethodData.KrCard; + export type Link = Stripe.SetupIntentCreateParams.PaymentMethodData.Link; + export type MbWay = Stripe.SetupIntentCreateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe.SetupIntentCreateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe.SetupIntentCreateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe.SetupIntentCreateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe.SetupIntentCreateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe.SetupIntentCreateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe.SetupIntentCreateParams.PaymentMethodData.P24; + export type PayByBank = Stripe.SetupIntentCreateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe.SetupIntentCreateParams.PaymentMethodData.Payco; + export type Paynow = Stripe.SetupIntentCreateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe.SetupIntentCreateParams.PaymentMethodData.Paypal; + export type Payto = Stripe.SetupIntentCreateParams.PaymentMethodData.Payto; + export type Pix = Stripe.SetupIntentCreateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe.SetupIntentCreateParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe.SetupIntentCreateParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe.SetupIntentCreateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe.SetupIntentCreateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe.SetupIntentCreateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe.SetupIntentCreateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe.SetupIntentCreateParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe.SetupIntentCreateParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe.SetupIntentCreateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe.SetupIntentCreateParams.PaymentMethodData.Swish; + export type Twint = Stripe.SetupIntentCreateParams.PaymentMethodData.Twint; + export type Type = Stripe.SetupIntentCreateParams.PaymentMethodData.Type; + export type Upi = Stripe.SetupIntentCreateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe.SetupIntentCreateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe.SetupIntentCreateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe.SetupIntentCreateParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe.SetupIntentCreateParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.SetupIntentCreateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe.SetupIntentCreateParams.PaymentMethodData.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.SetupIntentCreateParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe.SetupIntentCreateParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe.SetupIntentCreateParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.SetupIntentCreateParams.PaymentMethodData.P24.Bank; + } + export namespace Sofort { + export type Country = Stripe.SetupIntentCreateParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.SetupIntentCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.SetupIntentCreateParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Bizum; + export type Card = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe.SetupIntentCreateParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna; + export type Link = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Link; + export type Paypal = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.SetupIntentCreateParams.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace BacsDebit { + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace Klarna { + export type OnDemand = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace Payto { + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + } + export namespace Upi { + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + export namespace Networks { + export type Requested = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + } } export namespace SetupIntentUpdateParams { export type ExcludedPaymentMethodType = Stripe.SetupIntentUpdateParams.ExcludedPaymentMethodType; export type FlowDirection = Stripe.SetupIntentUpdateParams.FlowDirection; export type PaymentMethodData = Stripe.SetupIntentUpdateParams.PaymentMethodData; export type PaymentMethodOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions; + export namespace PaymentMethodData { + export type AcssDebit = Stripe.SetupIntentUpdateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe.SetupIntentUpdateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe.SetupIntentUpdateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe.SetupIntentUpdateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe.SetupIntentUpdateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe.SetupIntentUpdateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe.SetupIntentUpdateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe.SetupIntentUpdateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe.SetupIntentUpdateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe.SetupIntentUpdateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe.SetupIntentUpdateParams.PaymentMethodData.Bizum; + export type Blik = Stripe.SetupIntentUpdateParams.PaymentMethodData.Blik; + export type Boleto = Stripe.SetupIntentUpdateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe.SetupIntentUpdateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe.SetupIntentUpdateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe.SetupIntentUpdateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe.SetupIntentUpdateParams.PaymentMethodData.Eps; + export type Fpx = Stripe.SetupIntentUpdateParams.PaymentMethodData.Fpx; + export type Giropay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe.SetupIntentUpdateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe.SetupIntentUpdateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe.SetupIntentUpdateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe.SetupIntentUpdateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe.SetupIntentUpdateParams.PaymentMethodData.KrCard; + export type Link = Stripe.SetupIntentUpdateParams.PaymentMethodData.Link; + export type MbWay = Stripe.SetupIntentUpdateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe.SetupIntentUpdateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe.SetupIntentUpdateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe.SetupIntentUpdateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe.SetupIntentUpdateParams.PaymentMethodData.P24; + export type PayByBank = Stripe.SetupIntentUpdateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe.SetupIntentUpdateParams.PaymentMethodData.Payco; + export type Paynow = Stripe.SetupIntentUpdateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe.SetupIntentUpdateParams.PaymentMethodData.Paypal; + export type Payto = Stripe.SetupIntentUpdateParams.PaymentMethodData.Payto; + export type Pix = Stripe.SetupIntentUpdateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe.SetupIntentUpdateParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe.SetupIntentUpdateParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe.SetupIntentUpdateParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe.SetupIntentUpdateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe.SetupIntentUpdateParams.PaymentMethodData.Swish; + export type Twint = Stripe.SetupIntentUpdateParams.PaymentMethodData.Twint; + export type Type = Stripe.SetupIntentUpdateParams.PaymentMethodData.Type; + export type Upi = Stripe.SetupIntentUpdateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe.SetupIntentUpdateParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe.SetupIntentUpdateParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.SetupIntentUpdateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe.SetupIntentUpdateParams.PaymentMethodData.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.SetupIntentUpdateParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe.SetupIntentUpdateParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe.SetupIntentUpdateParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.SetupIntentUpdateParams.PaymentMethodData.P24.Bank; + } + export namespace Sofort { + export type Country = Stripe.SetupIntentUpdateParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Bizum; + export type Card = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna; + export type Link = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Link; + export type Paypal = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace BacsDebit { + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace Klarna { + export type OnDemand = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace Payto { + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + } + export namespace Upi { + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + export namespace Networks { + export type Requested = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + } } export namespace SetupIntentCancelParams { export type CancellationReason = Stripe.SetupIntentCancelParams.CancellationReason; @@ -1167,15 +7628,377 @@ declare namespace StripeConstructor { export type MandateData = Stripe.SetupIntentConfirmParams.MandateData; export type PaymentMethodData = Stripe.SetupIntentConfirmParams.PaymentMethodData; export type PaymentMethodOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions; + export namespace MandateData { + export type CustomerAcceptance = Stripe.SetupIntentConfirmParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Offline = Stripe.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Type; + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe.SetupIntentConfirmParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe.SetupIntentConfirmParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe.SetupIntentConfirmParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe.SetupIntentConfirmParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe.SetupIntentConfirmParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe.SetupIntentConfirmParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe.SetupIntentConfirmParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe.SetupIntentConfirmParams.PaymentMethodData.Bancontact; + export type Billie = Stripe.SetupIntentConfirmParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe.SetupIntentConfirmParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe.SetupIntentConfirmParams.PaymentMethodData.Bizum; + export type Blik = Stripe.SetupIntentConfirmParams.PaymentMethodData.Blik; + export type Boleto = Stripe.SetupIntentConfirmParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe.SetupIntentConfirmParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe.SetupIntentConfirmParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe.SetupIntentConfirmParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe.SetupIntentConfirmParams.PaymentMethodData.Eps; + export type Fpx = Stripe.SetupIntentConfirmParams.PaymentMethodData.Fpx; + export type Giropay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe.SetupIntentConfirmParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe.SetupIntentConfirmParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe.SetupIntentConfirmParams.PaymentMethodData.Klarna; + export type Konbini = Stripe.SetupIntentConfirmParams.PaymentMethodData.Konbini; + export type KrCard = Stripe.SetupIntentConfirmParams.PaymentMethodData.KrCard; + export type Link = Stripe.SetupIntentConfirmParams.PaymentMethodData.Link; + export type MbWay = Stripe.SetupIntentConfirmParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe.SetupIntentConfirmParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe.SetupIntentConfirmParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe.SetupIntentConfirmParams.PaymentMethodData.Oxxo; + export type P24 = Stripe.SetupIntentConfirmParams.PaymentMethodData.P24; + export type PayByBank = Stripe.SetupIntentConfirmParams.PaymentMethodData.PayByBank; + export type Payco = Stripe.SetupIntentConfirmParams.PaymentMethodData.Payco; + export type Paynow = Stripe.SetupIntentConfirmParams.PaymentMethodData.Paynow; + export type Paypal = Stripe.SetupIntentConfirmParams.PaymentMethodData.Paypal; + export type Payto = Stripe.SetupIntentConfirmParams.PaymentMethodData.Payto; + export type Pix = Stripe.SetupIntentConfirmParams.PaymentMethodData.Pix; + export type Promptpay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe.SetupIntentConfirmParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe.SetupIntentConfirmParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe.SetupIntentConfirmParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe.SetupIntentConfirmParams.PaymentMethodData.Sunbit; + export type Swish = Stripe.SetupIntentConfirmParams.PaymentMethodData.Swish; + export type Twint = Stripe.SetupIntentConfirmParams.PaymentMethodData.Twint; + export type Type = Stripe.SetupIntentConfirmParams.PaymentMethodData.Type; + export type Upi = Stripe.SetupIntentConfirmParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.WechatPay; + export type Zip = Stripe.SetupIntentConfirmParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe.SetupIntentConfirmParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe.SetupIntentConfirmParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe.SetupIntentConfirmParams.PaymentMethodData.Fpx.Bank; + } + export namespace Ideal { + export type Bank = Stripe.SetupIntentConfirmParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe.SetupIntentConfirmParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe.SetupIntentConfirmParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe.SetupIntentConfirmParams.PaymentMethodData.P24.Bank; + } + export namespace Sofort { + export type Country = Stripe.SetupIntentConfirmParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Bizum; + export type Card = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna; + export type Link = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Link; + export type Paypal = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto; + export type Pix = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace BacsDebit { + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace Klarna { + export type OnDemand = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace Payto { + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; + } + export namespace Upi { + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + export namespace Networks { + export type Requested = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + } + } + export namespace SetupIntent { + export type AutomaticPaymentMethods = Stripe.SetupIntent.AutomaticPaymentMethods; + export type CancellationReason = Stripe.SetupIntent.CancellationReason; + export type ExcludedPaymentMethodType = Stripe.SetupIntent.ExcludedPaymentMethodType; + export type FlowDirection = Stripe.SetupIntent.FlowDirection; + export type LastSetupError = Stripe.SetupIntent.LastSetupError; + export type ManagedPayments = Stripe.SetupIntent.ManagedPayments; + export type NextAction = Stripe.SetupIntent.NextAction; + export type PaymentMethodConfigurationDetails = Stripe.SetupIntent.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe.SetupIntent.PaymentMethodOptions; + export type Status = Stripe.SetupIntent.Status; + export namespace AutomaticPaymentMethods { + export type AllowRedirects = Stripe.SetupIntent.AutomaticPaymentMethods.AllowRedirects; + } + export namespace LastSetupError { + export type Code = Stripe.SetupIntent.LastSetupError.Code; + export type Type = Stripe.SetupIntent.LastSetupError.Type; + } + export namespace NextAction { + export type BlikAuthorize = Stripe.SetupIntent.NextAction.BlikAuthorize; + export type CashappHandleRedirectOrDisplayQrCode = Stripe.SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode; + export type PixDisplayQrCode = Stripe.SetupIntent.NextAction.PixDisplayQrCode; + export type RedirectToUrl = Stripe.SetupIntent.NextAction.RedirectToUrl; + export type UpiHandleRedirectOrDisplayQrCode = Stripe.SetupIntent.NextAction.UpiHandleRedirectOrDisplayQrCode; + export type UseStripeSdk = Stripe.SetupIntent.NextAction.UseStripeSdk; + export type VerifyWithMicrodeposits = Stripe.SetupIntent.NextAction.VerifyWithMicrodeposits; + export namespace CashappHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe.SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace UpiHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe.SetupIntent.NextAction.UpiHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace VerifyWithMicrodeposits { + export type MicrodepositType = Stripe.SetupIntent.NextAction.VerifyWithMicrodeposits.MicrodepositType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe.SetupIntent.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe.SetupIntent.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe.SetupIntent.PaymentMethodOptions.Bizum; + export type Card = Stripe.SetupIntent.PaymentMethodOptions.Card; + export type CardPresent = Stripe.SetupIntent.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.SetupIntent.PaymentMethodOptions.Klarna; + export type Link = Stripe.SetupIntent.PaymentMethodOptions.Link; + export type Paypal = Stripe.SetupIntent.PaymentMethodOptions.Paypal; + export type Payto = Stripe.SetupIntent.PaymentMethodOptions.Payto; + export type Pix = Stripe.SetupIntent.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.SetupIntent.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.SetupIntent.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace BacsDebit { + export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.SetupIntent.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe.SetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntent.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe.SetupIntent.PaymentMethodOptions.Card.MandateOptions.Interval; + } + } + export namespace Payto { + export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions; + } + export namespace Upi { + export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SetupIntent.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type VerificationMethod = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } } export namespace ShippingRateCreateParams { export type DeliveryEstimate = Stripe.ShippingRateCreateParams.DeliveryEstimate; export type FixedAmount = Stripe.ShippingRateCreateParams.FixedAmount; export type TaxBehavior = Stripe.ShippingRateCreateParams.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe.ShippingRateCreateParams.DeliveryEstimate.Maximum; + export type Minimum = Stripe.ShippingRateCreateParams.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe.ShippingRateCreateParams.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe.ShippingRateCreateParams.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe.ShippingRateCreateParams.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe.ShippingRateCreateParams.FixedAmount.CurrencyOptions.TaxBehavior; + } + } } export namespace ShippingRateUpdateParams { export type FixedAmount = Stripe.ShippingRateUpdateParams.FixedAmount; export type TaxBehavior = Stripe.ShippingRateUpdateParams.TaxBehavior; + export namespace FixedAmount { + export type CurrencyOptions = Stripe.ShippingRateUpdateParams.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe.ShippingRateUpdateParams.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + export namespace ShippingRate { + export type DeliveryEstimate = Stripe.ShippingRate.DeliveryEstimate; + export type FixedAmount = Stripe.ShippingRate.FixedAmount; + export type TaxBehavior = Stripe.ShippingRate.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe.ShippingRate.DeliveryEstimate.Maximum; + export type Minimum = Stripe.ShippingRate.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe.ShippingRate.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe.ShippingRate.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe.ShippingRate.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe.ShippingRate.FixedAmount.CurrencyOptions.TaxBehavior; + } + } } export namespace SourceCreateParams { export type Flow = Stripe.SourceCreateParams.Flow; @@ -1185,11 +8008,82 @@ declare namespace StripeConstructor { export type Redirect = Stripe.SourceCreateParams.Redirect; export type SourceOrder = Stripe.SourceCreateParams.SourceOrder; export type Usage = Stripe.SourceCreateParams.Usage; + export namespace Mandate { + export type Acceptance = Stripe.SourceCreateParams.Mandate.Acceptance; + export type Interval = Stripe.SourceCreateParams.Mandate.Interval; + export type NotificationMethod = Stripe.SourceCreateParams.Mandate.NotificationMethod; + export namespace Acceptance { + export type Offline = Stripe.SourceCreateParams.Mandate.Acceptance.Offline; + export type Online = Stripe.SourceCreateParams.Mandate.Acceptance.Online; + export type Status = Stripe.SourceCreateParams.Mandate.Acceptance.Status; + export type Type = Stripe.SourceCreateParams.Mandate.Acceptance.Type; + } + } + export namespace Receiver { + export type RefundAttributesMethod = Stripe.SourceCreateParams.Receiver.RefundAttributesMethod; + } + export namespace SourceOrder { + export type Item = Stripe.SourceCreateParams.SourceOrder.Item; + export type Shipping = Stripe.SourceCreateParams.SourceOrder.Shipping; + export namespace Item { + export type Type = Stripe.SourceCreateParams.SourceOrder.Item.Type; + } + } } export namespace SourceUpdateParams { export type Mandate = Stripe.SourceUpdateParams.Mandate; export type Owner = Stripe.SourceUpdateParams.Owner; export type SourceOrder = Stripe.SourceUpdateParams.SourceOrder; + export namespace Mandate { + export type Acceptance = Stripe.SourceUpdateParams.Mandate.Acceptance; + export type Interval = Stripe.SourceUpdateParams.Mandate.Interval; + export type NotificationMethod = Stripe.SourceUpdateParams.Mandate.NotificationMethod; + export namespace Acceptance { + export type Offline = Stripe.SourceUpdateParams.Mandate.Acceptance.Offline; + export type Online = Stripe.SourceUpdateParams.Mandate.Acceptance.Online; + export type Status = Stripe.SourceUpdateParams.Mandate.Acceptance.Status; + export type Type = Stripe.SourceUpdateParams.Mandate.Acceptance.Type; + } + } + export namespace SourceOrder { + export type Item = Stripe.SourceUpdateParams.SourceOrder.Item; + export type Shipping = Stripe.SourceUpdateParams.SourceOrder.Shipping; + export namespace Item { + export type Type = Stripe.SourceUpdateParams.SourceOrder.Item.Type; + } + } + } + export namespace Source { + export type AchCreditTransfer = Stripe.Source.AchCreditTransfer; + export type AchDebit = Stripe.Source.AchDebit; + export type AcssDebit = Stripe.Source.AcssDebit; + export type Alipay = Stripe.Source.Alipay; + export type AllowRedisplay = Stripe.Source.AllowRedisplay; + export type AuBecsDebit = Stripe.Source.AuBecsDebit; + export type Bancontact = Stripe.Source.Bancontact; + export type Card = Stripe.Source.Card; + export type CardPresent = Stripe.Source.CardPresent; + export type CodeVerification = Stripe.Source.CodeVerification; + export type Eps = Stripe.Source.Eps; + export type Giropay = Stripe.Source.Giropay; + export type Ideal = Stripe.Source.Ideal; + export type Klarna = Stripe.Source.Klarna; + export type Multibanco = Stripe.Source.Multibanco; + export type Owner = Stripe.Source.Owner; + export type P24 = Stripe.Source.P24; + export type Receiver = Stripe.Source.Receiver; + export type Redirect = Stripe.Source.Redirect; + export type SepaCreditTransfer = Stripe.Source.SepaCreditTransfer; + export type SepaDebit = Stripe.Source.SepaDebit; + export type Sofort = Stripe.Source.Sofort; + export type SourceOrder = Stripe.Source.SourceOrder; + export type ThreeDSecure = Stripe.Source.ThreeDSecure; + export type Type = Stripe.Source.Type; + export type Wechat = Stripe.Source.Wechat; + export namespace SourceOrder { + export type Item = Stripe.Source.SourceOrder.Item; + export type Shipping = Stripe.Source.SourceOrder.Shipping; + } } export namespace SubscriptionCreateParams { export type AddInvoiceItem = Stripe.SubscriptionCreateParams.AddInvoiceItem; @@ -1209,6 +8103,147 @@ declare namespace StripeConstructor { export type ProrationBehavior = Stripe.SubscriptionCreateParams.ProrationBehavior; export type TransferData = Stripe.SubscriptionCreateParams.TransferData; export type TrialSettings = Stripe.SubscriptionCreateParams.TrialSettings; + export namespace AddInvoiceItem { + export type Discount = Stripe.SubscriptionCreateParams.AddInvoiceItem.Discount; + export type Period = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period; + export type PriceData = Stripe.SubscriptionCreateParams.AddInvoiceItem.PriceData; + export namespace Period { + export type End = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period.End; + export type Start = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe.SubscriptionCreateParams.AddInvoiceItem.PriceData.TaxBehavior; + } + } + export namespace AutomaticTax { + export type Liability = Stripe.SubscriptionCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.SubscriptionCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace BillingMode { + export type Flexible = Stripe.SubscriptionCreateParams.BillingMode.Flexible; + export type Type = Stripe.SubscriptionCreateParams.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.SubscriptionCreateParams.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe.SubscriptionCreateParams.BillingSchedule.AppliesTo; + export type BillUntil = Stripe.SubscriptionCreateParams.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe.SubscriptionCreateParams.BillingSchedule.BillUntil.Duration; + export type Type = Stripe.SubscriptionCreateParams.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe.SubscriptionCreateParams.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.SubscriptionCreateParams.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.SubscriptionCreateParams.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe.SubscriptionCreateParams.Item.BillingThresholds; + export type Discount = Stripe.SubscriptionCreateParams.Item.Discount; + export type PriceData = Stripe.SubscriptionCreateParams.Item.PriceData; + export namespace PriceData { + export type Recurring = Stripe.SubscriptionCreateParams.Item.PriceData.Recurring; + export type TaxBehavior = Stripe.SubscriptionCreateParams.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.SubscriptionCreateParams.Item.PriceData.Recurring.Interval; + } + } + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe.SubscriptionCreateParams.PaymentSettings.SaveDefaultPaymentMethod; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + } + } + export namespace Payto { + export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type Purpose = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace Upi { + export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } + } + export namespace PendingInvoiceItemInterval { + export type Interval = Stripe.SubscriptionCreateParams.PendingInvoiceItemInterval.Interval; + } + export namespace TrialSettings { + export type EndBehavior = Stripe.SubscriptionCreateParams.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe.SubscriptionCreateParams.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } } export namespace SubscriptionUpdateParams { export type AddInvoiceItem = Stripe.SubscriptionUpdateParams.AddInvoiceItem; @@ -1229,6 +8264,146 @@ declare namespace StripeConstructor { export type ProrationBehavior = Stripe.SubscriptionUpdateParams.ProrationBehavior; export type TransferData = Stripe.SubscriptionUpdateParams.TransferData; export type TrialSettings = Stripe.SubscriptionUpdateParams.TrialSettings; + export namespace AddInvoiceItem { + export type Discount = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Discount; + export type Period = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period; + export type PriceData = Stripe.SubscriptionUpdateParams.AddInvoiceItem.PriceData; + export namespace Period { + export type End = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period.End; + export type Start = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe.SubscriptionUpdateParams.AddInvoiceItem.PriceData.TaxBehavior; + } + } + export namespace AutomaticTax { + export type Liability = Stripe.SubscriptionUpdateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.SubscriptionUpdateParams.AutomaticTax.Liability.Type; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe.SubscriptionUpdateParams.BillingSchedule.AppliesTo; + export type BillUntil = Stripe.SubscriptionUpdateParams.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe.SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration; + export type Type = Stripe.SubscriptionUpdateParams.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe.SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace CancellationDetails { + export type Feedback = Stripe.SubscriptionUpdateParams.CancellationDetails.Feedback; + } + export namespace InvoiceSettings { + export type Issuer = Stripe.SubscriptionUpdateParams.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.SubscriptionUpdateParams.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe.SubscriptionUpdateParams.Item.BillingThresholds; + export type Discount = Stripe.SubscriptionUpdateParams.Item.Discount; + export type PriceData = Stripe.SubscriptionUpdateParams.Item.PriceData; + export namespace PriceData { + export type Recurring = Stripe.SubscriptionUpdateParams.Item.PriceData.Recurring; + export type TaxBehavior = Stripe.SubscriptionUpdateParams.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.SubscriptionUpdateParams.Item.PriceData.Recurring.Interval; + } + } + } + export namespace PauseCollection { + export type Behavior = Stripe.SubscriptionUpdateParams.PauseCollection.Behavior; + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe.SubscriptionUpdateParams.PaymentSettings.SaveDefaultPaymentMethod; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + } + } + export namespace Payto { + export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type Purpose = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace Upi { + export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } + } + export namespace PendingInvoiceItemInterval { + export type Interval = Stripe.SubscriptionUpdateParams.PendingInvoiceItemInterval.Interval; + } + export namespace TrialSettings { + export type EndBehavior = Stripe.SubscriptionUpdateParams.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe.SubscriptionUpdateParams.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } } export namespace SubscriptionListParams { export type AutomaticTax = Stripe.SubscriptionListParams.AutomaticTax; @@ -1237,20 +8412,177 @@ declare namespace StripeConstructor { } export namespace SubscriptionCancelParams { export type CancellationDetails = Stripe.SubscriptionCancelParams.CancellationDetails; + export namespace CancellationDetails { + export type Feedback = Stripe.SubscriptionCancelParams.CancellationDetails.Feedback; + } } export namespace SubscriptionMigrateParams { export type BillingMode = Stripe.SubscriptionMigrateParams.BillingMode; + export namespace BillingMode { + export type Flexible = Stripe.SubscriptionMigrateParams.BillingMode.Flexible; + export namespace Flexible { + export type ProrationDiscounts = Stripe.SubscriptionMigrateParams.BillingMode.Flexible.ProrationDiscounts; + } + } } export namespace SubscriptionResumeParams { export type BillingCycleAnchor = Stripe.SubscriptionResumeParams.BillingCycleAnchor; export type ProrationBehavior = Stripe.SubscriptionResumeParams.ProrationBehavior; } + export namespace Subscription { + export type AutomaticTax = Stripe.Subscription.AutomaticTax; + export type BillingCycleAnchorConfig = Stripe.Subscription.BillingCycleAnchorConfig; + export type BillingMode = Stripe.Subscription.BillingMode; + export type BillingSchedule = Stripe.Subscription.BillingSchedule; + export type BillingThresholds = Stripe.Subscription.BillingThresholds; + export type CancellationDetails = Stripe.Subscription.CancellationDetails; + export type CollectionMethod = Stripe.Subscription.CollectionMethod; + export type InvoiceSettings = Stripe.Subscription.InvoiceSettings; + export type ManagedPayments = Stripe.Subscription.ManagedPayments; + export type PauseCollection = Stripe.Subscription.PauseCollection; + export type PaymentSettings = Stripe.Subscription.PaymentSettings; + export type PendingInvoiceItemInterval = Stripe.Subscription.PendingInvoiceItemInterval; + export type PendingUpdate = Stripe.Subscription.PendingUpdate; + export type PresentmentDetails = Stripe.Subscription.PresentmentDetails; + export type Status = Stripe.Subscription.Status; + export type TransferData = Stripe.Subscription.TransferData; + export type TrialSettings = Stripe.Subscription.TrialSettings; + export namespace AutomaticTax { + export type Liability = Stripe.Subscription.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.Subscription.AutomaticTax.Liability.Type; + } + } + export namespace BillingMode { + export type Flexible = Stripe.Subscription.BillingMode.Flexible; + export type Type = Stripe.Subscription.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.Subscription.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe.Subscription.BillingSchedule.AppliesTo; + export type BillUntil = Stripe.Subscription.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe.Subscription.BillingSchedule.BillUntil.Duration; + export type Type = Stripe.Subscription.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe.Subscription.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace CancellationDetails { + export type Feedback = Stripe.Subscription.CancellationDetails.Feedback; + export type Reason = Stripe.Subscription.CancellationDetails.Reason; + } + export namespace InvoiceSettings { + export type Issuer = Stripe.Subscription.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.Subscription.InvoiceSettings.Issuer.Type; + } + } + export namespace PauseCollection { + export type Behavior = Stripe.Subscription.PauseCollection.Behavior; + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe.Subscription.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe.Subscription.PaymentSettings.SaveDefaultPaymentMethod; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export namespace EuBankTransfer { + export type Country = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace Payto { + export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type Purpose = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace Upi { + export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } + } + export namespace PendingInvoiceItemInterval { + export type Interval = Stripe.Subscription.PendingInvoiceItemInterval.Interval; + } + export namespace TrialSettings { + export type EndBehavior = Stripe.Subscription.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe.Subscription.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } export namespace SubscriptionItemCreateParams { export type BillingThresholds = Stripe.SubscriptionItemCreateParams.BillingThresholds; export type Discount = Stripe.SubscriptionItemCreateParams.Discount; export type PaymentBehavior = Stripe.SubscriptionItemCreateParams.PaymentBehavior; export type PriceData = Stripe.SubscriptionItemCreateParams.PriceData; export type ProrationBehavior = Stripe.SubscriptionItemCreateParams.ProrationBehavior; + export namespace PriceData { + export type Recurring = Stripe.SubscriptionItemCreateParams.PriceData.Recurring; + export type TaxBehavior = Stripe.SubscriptionItemCreateParams.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.SubscriptionItemCreateParams.PriceData.Recurring.Interval; + } + } } export namespace SubscriptionItemUpdateParams { export type BillingThresholds = Stripe.SubscriptionItemUpdateParams.BillingThresholds; @@ -1258,56 +8590,625 @@ declare namespace StripeConstructor { export type PaymentBehavior = Stripe.SubscriptionItemUpdateParams.PaymentBehavior; export type PriceData = Stripe.SubscriptionItemUpdateParams.PriceData; export type ProrationBehavior = Stripe.SubscriptionItemUpdateParams.ProrationBehavior; + export namespace PriceData { + export type Recurring = Stripe.SubscriptionItemUpdateParams.PriceData.Recurring; + export type TaxBehavior = Stripe.SubscriptionItemUpdateParams.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.SubscriptionItemUpdateParams.PriceData.Recurring.Interval; + } + } } export namespace SubscriptionItemDeleteParams { export type PaymentBehavior = Stripe.SubscriptionItemDeleteParams.PaymentBehavior; export type ProrationBehavior = Stripe.SubscriptionItemDeleteParams.ProrationBehavior; } + export namespace SubscriptionItem { + export type BillingThresholds = Stripe.SubscriptionItem.BillingThresholds; + } export namespace SubscriptionScheduleCreateParams { export type BillingMode = Stripe.SubscriptionScheduleCreateParams.BillingMode; export type DefaultSettings = Stripe.SubscriptionScheduleCreateParams.DefaultSettings; export type EndBehavior = Stripe.SubscriptionScheduleCreateParams.EndBehavior; export type Phase = Stripe.SubscriptionScheduleCreateParams.Phase; + export namespace BillingMode { + export type Flexible = Stripe.SubscriptionScheduleCreateParams.BillingMode.Flexible; + export type Type = Stripe.SubscriptionScheduleCreateParams.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.SubscriptionScheduleCreateParams.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace DefaultSettings { + export type AutomaticTax = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings; + export type TransferData = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings.Issuer.Type; + } + } + } + export namespace Phase { + export type AddInvoiceItem = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe.SubscriptionScheduleCreateParams.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe.SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe.SubscriptionScheduleCreateParams.Phase.BillingThresholds; + export type CollectionMethod = Stripe.SubscriptionScheduleCreateParams.Phase.CollectionMethod; + export type Discount = Stripe.SubscriptionScheduleCreateParams.Phase.Discount; + export type Duration = Stripe.SubscriptionScheduleCreateParams.Phase.Duration; + export type InvoiceSettings = Stripe.SubscriptionScheduleCreateParams.Phase.InvoiceSettings; + export type Item = Stripe.SubscriptionScheduleCreateParams.Phase.Item; + export type ProrationBehavior = Stripe.SubscriptionScheduleCreateParams.Phase.ProrationBehavior; + export type TransferData = Stripe.SubscriptionScheduleCreateParams.Phase.TransferData; + export namespace AddInvoiceItem { + export type Discount = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Discount; + export type Period = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period; + export type PriceData = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData; + export namespace Period { + export type End = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData.TaxBehavior; + } + } + export namespace AutomaticTax { + export type Liability = Stripe.SubscriptionScheduleCreateParams.Phase.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.SubscriptionScheduleCreateParams.Phase.AutomaticTax.Liability.Type; + } + } + export namespace Duration { + export type Interval = Stripe.SubscriptionScheduleCreateParams.Phase.Duration.Interval; + } + export namespace InvoiceSettings { + export type Issuer = Stripe.SubscriptionScheduleCreateParams.Phase.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.SubscriptionScheduleCreateParams.Phase.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe.SubscriptionScheduleCreateParams.Phase.Item.BillingThresholds; + export type Discount = Stripe.SubscriptionScheduleCreateParams.Phase.Item.Discount; + export type PriceData = Stripe.SubscriptionScheduleCreateParams.Phase.Item.PriceData; + export namespace PriceData { + export type Recurring = Stripe.SubscriptionScheduleCreateParams.Phase.Item.PriceData.Recurring; + export type TaxBehavior = Stripe.SubscriptionScheduleCreateParams.Phase.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.SubscriptionScheduleCreateParams.Phase.Item.PriceData.Recurring.Interval; + } + } + } + } } export namespace SubscriptionScheduleUpdateParams { export type DefaultSettings = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings; export type EndBehavior = Stripe.SubscriptionScheduleUpdateParams.EndBehavior; export type Phase = Stripe.SubscriptionScheduleUpdateParams.Phase; export type ProrationBehavior = Stripe.SubscriptionScheduleUpdateParams.ProrationBehavior; + export namespace DefaultSettings { + export type AutomaticTax = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings; + export type TransferData = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer.Type; + } + } + } + export namespace Phase { + export type AddInvoiceItem = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe.SubscriptionScheduleUpdateParams.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe.SubscriptionScheduleUpdateParams.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe.SubscriptionScheduleUpdateParams.Phase.BillingThresholds; + export type CollectionMethod = Stripe.SubscriptionScheduleUpdateParams.Phase.CollectionMethod; + export type Discount = Stripe.SubscriptionScheduleUpdateParams.Phase.Discount; + export type Duration = Stripe.SubscriptionScheduleUpdateParams.Phase.Duration; + export type InvoiceSettings = Stripe.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings; + export type Item = Stripe.SubscriptionScheduleUpdateParams.Phase.Item; + export type ProrationBehavior = Stripe.SubscriptionScheduleUpdateParams.Phase.ProrationBehavior; + export type TransferData = Stripe.SubscriptionScheduleUpdateParams.Phase.TransferData; + export namespace AddInvoiceItem { + export type Discount = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Discount; + export type Period = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period; + export type PriceData = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.PriceData; + export namespace Period { + export type End = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.PriceData.TaxBehavior; + } + } + export namespace AutomaticTax { + export type Liability = Stripe.SubscriptionScheduleUpdateParams.Phase.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.SubscriptionScheduleUpdateParams.Phase.AutomaticTax.Liability.Type; + } + } + export namespace Duration { + export type Interval = Stripe.SubscriptionScheduleUpdateParams.Phase.Duration.Interval; + } + export namespace InvoiceSettings { + export type Issuer = Stripe.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.BillingThresholds; + export type Discount = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.Discount; + export type PriceData = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.PriceData; + export namespace PriceData { + export type Recurring = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.Recurring; + export type TaxBehavior = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.Recurring.Interval; + } + } + } + } + } + export namespace SubscriptionSchedule { + export type BillingMode = Stripe.SubscriptionSchedule.BillingMode; + export type CurrentPhase = Stripe.SubscriptionSchedule.CurrentPhase; + export type DefaultSettings = Stripe.SubscriptionSchedule.DefaultSettings; + export type EndBehavior = Stripe.SubscriptionSchedule.EndBehavior; + export type Phase = Stripe.SubscriptionSchedule.Phase; + export type Status = Stripe.SubscriptionSchedule.Status; + export namespace BillingMode { + export type Flexible = Stripe.SubscriptionSchedule.BillingMode.Flexible; + export type Type = Stripe.SubscriptionSchedule.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.SubscriptionSchedule.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace DefaultSettings { + export type AutomaticTax = Stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe.SubscriptionSchedule.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe.SubscriptionSchedule.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe.SubscriptionSchedule.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe.SubscriptionSchedule.DefaultSettings.InvoiceSettings; + export type TransferData = Stripe.SubscriptionSchedule.DefaultSettings.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.SubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.SubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer.Type; + } + } + } + export namespace Phase { + export type AddInvoiceItem = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe.SubscriptionSchedule.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe.SubscriptionSchedule.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe.SubscriptionSchedule.Phase.BillingThresholds; + export type CollectionMethod = Stripe.SubscriptionSchedule.Phase.CollectionMethod; + export type Discount = Stripe.SubscriptionSchedule.Phase.Discount; + export type InvoiceSettings = Stripe.SubscriptionSchedule.Phase.InvoiceSettings; + export type Item = Stripe.SubscriptionSchedule.Phase.Item; + export type ProrationBehavior = Stripe.SubscriptionSchedule.Phase.ProrationBehavior; + export type TransferData = Stripe.SubscriptionSchedule.Phase.TransferData; + export namespace AddInvoiceItem { + export type Discount = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Discount; + export type Period = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period; + export namespace Period { + export type End = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period.Start.Type; + } + } + } + export namespace AutomaticTax { + export type Liability = Stripe.SubscriptionSchedule.Phase.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.SubscriptionSchedule.Phase.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.SubscriptionSchedule.Phase.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.SubscriptionSchedule.Phase.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe.SubscriptionSchedule.Phase.Item.BillingThresholds; + export type Discount = Stripe.SubscriptionSchedule.Phase.Item.Discount; + } + } } export namespace TaxIdCreateParams { export type Type = Stripe.TaxIdCreateParams.Type; export type Owner = Stripe.TaxIdCreateParams.Owner; + export namespace Owner { + export type Type = Stripe.TaxIdCreateParams.Owner.Type; + } } export namespace TaxIdListParams { export type Owner = Stripe.TaxIdListParams.Owner; + export namespace Owner { + export type Type = Stripe.TaxIdListParams.Owner.Type; + } + } + export namespace TaxId { + export type Owner = Stripe.TaxId.Owner; + export type Type = Stripe.TaxId.Type; + export type Verification = Stripe.TaxId.Verification; + export namespace Owner { + export type Type = Stripe.TaxId.Owner.Type; + } + export namespace Verification { + export type Status = Stripe.TaxId.Verification.Status; + } } export namespace TaxRateCreateParams { export type TaxType = Stripe.TaxRateCreateParams.TaxType; } - export namespace TaxRateUpdateParams { - export type TaxType = Stripe.TaxRateUpdateParams.TaxType; + export namespace TaxRateUpdateParams { + export type TaxType = Stripe.TaxRateUpdateParams.TaxType; + } + export namespace TaxRate { + export type FlatAmount = Stripe.TaxRate.FlatAmount; + export type JurisdictionLevel = Stripe.TaxRate.JurisdictionLevel; + export type RateType = Stripe.TaxRate.RateType; + export type TaxType = Stripe.TaxRate.TaxType; + } + export namespace TokenCreateParams { + export type Account = Stripe.TokenCreateParams.Account; + export type BankAccount = Stripe.TokenCreateParams.BankAccount; + export type Card = Stripe.TokenCreateParams.Card; + export type CvcUpdate = Stripe.TokenCreateParams.CvcUpdate; + export type Person = Stripe.TokenCreateParams.Person; + export type Pii = Stripe.TokenCreateParams.Pii; + export namespace Account { + export type BusinessType = Stripe.TokenCreateParams.Account.BusinessType; + export type Company = Stripe.TokenCreateParams.Account.Company; + export type Individual = Stripe.TokenCreateParams.Account.Individual; + export namespace Company { + export type DirectorshipDeclaration = Stripe.TokenCreateParams.Account.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe.TokenCreateParams.Account.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe.TokenCreateParams.Account.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe.TokenCreateParams.Account.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe.TokenCreateParams.Account.Company.RepresentativeDeclaration; + export type Structure = Stripe.TokenCreateParams.Account.Company.Structure; + export type Verification = Stripe.TokenCreateParams.Account.Company.Verification; + export namespace Verification { + export type Document = Stripe.TokenCreateParams.Account.Company.Verification.Document; + } + } + export namespace Individual { + export type Dob = Stripe.TokenCreateParams.Account.Individual.Dob; + export type PoliticalExposure = Stripe.TokenCreateParams.Account.Individual.PoliticalExposure; + export type Relationship = Stripe.TokenCreateParams.Account.Individual.Relationship; + export type Verification = Stripe.TokenCreateParams.Account.Individual.Verification; + export namespace Verification { + export type AdditionalDocument = Stripe.TokenCreateParams.Account.Individual.Verification.AdditionalDocument; + export type Document = Stripe.TokenCreateParams.Account.Individual.Verification.Document; + } + } + } + export namespace BankAccount { + export type AccountHolderType = Stripe.TokenCreateParams.BankAccount.AccountHolderType; + export type AccountType = Stripe.TokenCreateParams.BankAccount.AccountType; + } + export namespace Card { + export type Networks = Stripe.TokenCreateParams.Card.Networks; + export namespace Networks { + export type Preferred = Stripe.TokenCreateParams.Card.Networks.Preferred; + } + } + export namespace Person { + export type AdditionalTosAcceptances = Stripe.TokenCreateParams.Person.AdditionalTosAcceptances; + export type Dob = Stripe.TokenCreateParams.Person.Dob; + export type Documents = Stripe.TokenCreateParams.Person.Documents; + export type PoliticalExposure = Stripe.TokenCreateParams.Person.PoliticalExposure; + export type Relationship = Stripe.TokenCreateParams.Person.Relationship; + export type UsCfpbData = Stripe.TokenCreateParams.Person.UsCfpbData; + export type Verification = Stripe.TokenCreateParams.Person.Verification; + export namespace AdditionalTosAcceptances { + export type Account = Stripe.TokenCreateParams.Person.AdditionalTosAcceptances.Account; + } + export namespace Documents { + export type CompanyAuthorization = Stripe.TokenCreateParams.Person.Documents.CompanyAuthorization; + export type Passport = Stripe.TokenCreateParams.Person.Documents.Passport; + export type Visa = Stripe.TokenCreateParams.Person.Documents.Visa; + } + export namespace UsCfpbData { + export type EthnicityDetails = Stripe.TokenCreateParams.Person.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe.TokenCreateParams.Person.UsCfpbData.RaceDetails; + export namespace EthnicityDetails { + export type Ethnicity = Stripe.TokenCreateParams.Person.UsCfpbData.EthnicityDetails.Ethnicity; + } + export namespace RaceDetails { + export type Race = Stripe.TokenCreateParams.Person.UsCfpbData.RaceDetails.Race; + } + } + export namespace Verification { + export type AdditionalDocument = Stripe.TokenCreateParams.Person.Verification.AdditionalDocument; + export type Document = Stripe.TokenCreateParams.Person.Verification.Document; + } + } + } + export namespace TopupListParams { + export type Status = Stripe.TopupListParams.Status; + } + export namespace Topup { + export type Status = Stripe.Topup.Status; + } + export namespace TransferCreateParams { + export type SourceType = Stripe.TransferCreateParams.SourceType; + } + export namespace WebhookEndpointCreateParams { + export type EnabledEvent = Stripe.WebhookEndpointCreateParams.EnabledEvent; + export type ApiVersion = Stripe.WebhookEndpointCreateParams.ApiVersion; + } + export namespace WebhookEndpointUpdateParams { + export type EnabledEvent = Stripe.WebhookEndpointUpdateParams.EnabledEvent; + } + export namespace BankAccount { + export type AvailablePayoutMethod = Stripe.BankAccount.AvailablePayoutMethod; + export type FutureRequirements = Stripe.BankAccount.FutureRequirements; + export type Requirements = Stripe.BankAccount.Requirements; + export namespace FutureRequirements { + export type Error = Stripe.BankAccount.FutureRequirements.Error; + export namespace Error { + export type Code = Stripe.BankAccount.FutureRequirements.Error.Code; + } + } + export namespace Requirements { + export type Error = Stripe.BankAccount.Requirements.Error; + export namespace Error { + export type Code = Stripe.BankAccount.Requirements.Error.Code; + } + } + } + export namespace Card { + export type AllowRedisplay = Stripe.Card.AllowRedisplay; + export type AvailablePayoutMethod = Stripe.Card.AvailablePayoutMethod; + export type Networks = Stripe.Card.Networks; + export type RegulatedStatus = Stripe.Card.RegulatedStatus; + } + export namespace DeletedDiscount { + export type Source = Stripe.DeletedDiscount.Source; + } + export namespace Discount { + export type Source = Stripe.Discount.Source; + } + export namespace FundingInstructions { + export type BankTransfer = Stripe.FundingInstructions.BankTransfer; + export namespace BankTransfer { + export type FinancialAddress = Stripe.FundingInstructions.BankTransfer.FinancialAddress; + export type Type = Stripe.FundingInstructions.BankTransfer.Type; + export namespace FinancialAddress { + export type Aba = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba; + export type Iban = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban; + export type SortCode = Stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode; + export type Spei = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei; + export type SupportedNetwork = Stripe.FundingInstructions.BankTransfer.FinancialAddress.SupportedNetwork; + export type Swift = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift; + export type Type = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Type; + export type Zengin = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin; + } + } + } + export namespace LineItem { + export type AdjustableQuantity = Stripe.LineItem.AdjustableQuantity; + export type Discount = Stripe.LineItem.Discount; + export type Tax = Stripe.LineItem.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe.LineItem.Tax.TaxabilityReason; + } + } + export namespace SourceMandateNotification { + export type AcssDebit = Stripe.SourceMandateNotification.AcssDebit; + export type BacsDebit = Stripe.SourceMandateNotification.BacsDebit; + export type SepaDebit = Stripe.SourceMandateNotification.SepaDebit; + } + export namespace SourceTransaction { + export type AchCreditTransfer = Stripe.SourceTransaction.AchCreditTransfer; + export type ChfCreditTransfer = Stripe.SourceTransaction.ChfCreditTransfer; + export type GbpCreditTransfer = Stripe.SourceTransaction.GbpCreditTransfer; + export type PaperCheck = Stripe.SourceTransaction.PaperCheck; + export type SepaCreditTransfer = Stripe.SourceTransaction.SepaCreditTransfer; + export type Type = Stripe.SourceTransaction.Type; + } + export namespace Capability { + export type FutureRequirements = Stripe.Capability.FutureRequirements; + export type Requirements = Stripe.Capability.Requirements; + export type Status = Stripe.Capability.Status; + export namespace FutureRequirements { + export type Alternative = Stripe.Capability.FutureRequirements.Alternative; + export type DisabledReason = Stripe.Capability.FutureRequirements.DisabledReason; + export type Error = Stripe.Capability.FutureRequirements.Error; + export namespace Error { + export type Code = Stripe.Capability.FutureRequirements.Error.Code; + } + } + export namespace Requirements { + export type Alternative = Stripe.Capability.Requirements.Alternative; + export type DisabledReason = Stripe.Capability.Requirements.DisabledReason; + export type Error = Stripe.Capability.Requirements.Error; + export namespace Error { + export type Code = Stripe.Capability.Requirements.Error.Code; + } + } + } + export namespace Person { + export type AdditionalTosAcceptances = Stripe.Person.AdditionalTosAcceptances; + export type AddressKana = Stripe.Person.AddressKana; + export type AddressKanji = Stripe.Person.AddressKanji; + export type Dob = Stripe.Person.Dob; + export type FutureRequirements = Stripe.Person.FutureRequirements; + export type PoliticalExposure = Stripe.Person.PoliticalExposure; + export type Relationship = Stripe.Person.Relationship; + export type Requirements = Stripe.Person.Requirements; + export type UsCfpbData = Stripe.Person.UsCfpbData; + export type Verification = Stripe.Person.Verification; + export namespace AdditionalTosAcceptances { + export type Account = Stripe.Person.AdditionalTosAcceptances.Account; + } + export namespace FutureRequirements { + export type Alternative = Stripe.Person.FutureRequirements.Alternative; + export type Error = Stripe.Person.FutureRequirements.Error; + export namespace Error { + export type Code = Stripe.Person.FutureRequirements.Error.Code; + } + } + export namespace Requirements { + export type Alternative = Stripe.Person.Requirements.Alternative; + export type Error = Stripe.Person.Requirements.Error; + export namespace Error { + export type Code = Stripe.Person.Requirements.Error.Code; + } + } + export namespace UsCfpbData { + export type EthnicityDetails = Stripe.Person.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe.Person.UsCfpbData.RaceDetails; + export namespace EthnicityDetails { + export type Ethnicity = Stripe.Person.UsCfpbData.EthnicityDetails.Ethnicity; + } + export namespace RaceDetails { + export type Race = Stripe.Person.UsCfpbData.RaceDetails.Race; + } + } + export namespace Verification { + export type AdditionalDocument = Stripe.Person.Verification.AdditionalDocument; + export type Document = Stripe.Person.Verification.Document; + } + } + export namespace CreditNoteLineItem { + export type DiscountAmount = Stripe.CreditNoteLineItem.DiscountAmount; + export type PretaxCreditAmount = Stripe.CreditNoteLineItem.PretaxCreditAmount; + export type Tax = Stripe.CreditNoteLineItem.Tax; + export type Type = Stripe.CreditNoteLineItem.Type; + export namespace PretaxCreditAmount { + export type Type = Stripe.CreditNoteLineItem.PretaxCreditAmount.Type; + } + export namespace Tax { + export type TaxBehavior = Stripe.CreditNoteLineItem.Tax.TaxBehavior; + export type TaxRateDetails = Stripe.CreditNoteLineItem.Tax.TaxRateDetails; + export type TaxabilityReason = Stripe.CreditNoteLineItem.Tax.TaxabilityReason; + } } - export namespace TokenCreateParams { - export type Account = Stripe.TokenCreateParams.Account; - export type BankAccount = Stripe.TokenCreateParams.BankAccount; - export type Card = Stripe.TokenCreateParams.Card; - export type CvcUpdate = Stripe.TokenCreateParams.CvcUpdate; - export type Person = Stripe.TokenCreateParams.Person; - export type Pii = Stripe.TokenCreateParams.Pii; + export namespace CustomerBalanceTransaction { + export type Type = Stripe.CustomerBalanceTransaction.Type; } - export namespace TopupListParams { - export type Status = Stripe.TopupListParams.Status; + export namespace CashBalance { + export type Settings = Stripe.CashBalance.Settings; + export namespace Settings { + export type ReconciliationMode = Stripe.CashBalance.Settings.ReconciliationMode; + } } - export namespace TransferCreateParams { - export type SourceType = Stripe.TransferCreateParams.SourceType; + export namespace CustomerCashBalanceTransaction { + export type AdjustedForOverdraft = Stripe.CustomerCashBalanceTransaction.AdjustedForOverdraft; + export type AppliedToPayment = Stripe.CustomerCashBalanceTransaction.AppliedToPayment; + export type Funded = Stripe.CustomerCashBalanceTransaction.Funded; + export type RefundedFromPayment = Stripe.CustomerCashBalanceTransaction.RefundedFromPayment; + export type TransferredToBalance = Stripe.CustomerCashBalanceTransaction.TransferredToBalance; + export type Type = Stripe.CustomerCashBalanceTransaction.Type; + export type UnappliedFromPayment = Stripe.CustomerCashBalanceTransaction.UnappliedFromPayment; + export namespace Funded { + export type BankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.EuBankTransfer; + export type GbBankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.GbBankTransfer; + export type JpBankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.JpBankTransfer; + export type Type = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.Type; + export type UsBankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer; + export namespace UsBankTransfer { + export type Network = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer.Network; + } + } + } } - export namespace WebhookEndpointCreateParams { - export type EnabledEvent = Stripe.WebhookEndpointCreateParams.EnabledEvent; - export type ApiVersion = Stripe.WebhookEndpointCreateParams.ApiVersion; + export namespace InvoiceLineItem { + export type DiscountAmount = Stripe.InvoiceLineItem.DiscountAmount; + export type Parent = Stripe.InvoiceLineItem.Parent; + export type Period = Stripe.InvoiceLineItem.Period; + export type PretaxCreditAmount = Stripe.InvoiceLineItem.PretaxCreditAmount; + export type Pricing = Stripe.InvoiceLineItem.Pricing; + export type Tax = Stripe.InvoiceLineItem.Tax; + export namespace Parent { + export type InvoiceItemDetails = Stripe.InvoiceLineItem.Parent.InvoiceItemDetails; + export type SubscriptionItemDetails = Stripe.InvoiceLineItem.Parent.SubscriptionItemDetails; + export type Type = Stripe.InvoiceLineItem.Parent.Type; + export namespace InvoiceItemDetails { + export type ProrationDetails = Stripe.InvoiceLineItem.Parent.InvoiceItemDetails.ProrationDetails; + export namespace ProrationDetails { + export type CreditedItems = Stripe.InvoiceLineItem.Parent.InvoiceItemDetails.ProrationDetails.CreditedItems; + } + } + export namespace SubscriptionItemDetails { + export type ProrationDetails = Stripe.InvoiceLineItem.Parent.SubscriptionItemDetails.ProrationDetails; + export namespace ProrationDetails { + export type CreditedItems = Stripe.InvoiceLineItem.Parent.SubscriptionItemDetails.ProrationDetails.CreditedItems; + } + } + } + export namespace PretaxCreditAmount { + export type Type = Stripe.InvoiceLineItem.PretaxCreditAmount.Type; + } + export namespace Pricing { + export type PriceDetails = Stripe.InvoiceLineItem.Pricing.PriceDetails; + } + export namespace Tax { + export type TaxBehavior = Stripe.InvoiceLineItem.Tax.TaxBehavior; + export type TaxRateDetails = Stripe.InvoiceLineItem.Tax.TaxRateDetails; + export type TaxabilityReason = Stripe.InvoiceLineItem.Tax.TaxabilityReason; + } } - export namespace WebhookEndpointUpdateParams { - export type EnabledEvent = Stripe.WebhookEndpointUpdateParams.EnabledEvent; + export namespace PaymentIntentAmountDetailsLineItem { + export type PaymentMethodOptions = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions; + export type Tax = Stripe.PaymentIntentAmountDetailsLineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Paypal; + export namespace Paypal { + export type Category = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Paypal.Category; + } + } } export type Apps = Stripe.Apps; export type Billing = Stripe.Billing; @@ -1337,15 +9238,15 @@ declare namespace StripeConstructor { export type SecretResource = Stripe.Apps.SecretResource; export namespace SecretCreateParams { export type Scope = Stripe.Apps.SecretCreateParams.Scope; + export namespace Scope { + export type Type = Stripe.Apps.SecretCreateParams.Scope.Type; + } } - export namespace SecretListParams { - export type Scope = Stripe.Apps.SecretListParams.Scope; - } - export namespace SecretDeleteWhereParams { - export type Scope = Stripe.Apps.SecretDeleteWhereParams.Scope; - } - export namespace SecretFindParams { - export type Scope = Stripe.Apps.SecretFindParams.Scope; + export namespace Secret { + export type Scope = Stripe.Apps.Secret.Scope; + export namespace Scope { + export type Type = Stripe.Apps.Secret.Scope.Type; + } } } export namespace Billing { @@ -1391,30 +9292,116 @@ declare namespace StripeConstructor { export type MeterEventSummary = Stripe.Billing.MeterEventSummary; export namespace AlertCreateParams { export type UsageThreshold = Stripe.Billing.AlertCreateParams.UsageThreshold; + export namespace UsageThreshold { + export type Filter = Stripe.Billing.AlertCreateParams.UsageThreshold.Filter; + } + } + export namespace Alert { + export type Status = Stripe.Billing.Alert.Status; + export type UsageThreshold = Stripe.Billing.Alert.UsageThreshold; + export namespace UsageThreshold { + export type Filter = Stripe.Billing.Alert.UsageThreshold.Filter; + } } export namespace CreditBalanceSummaryRetrieveParams { export type Filter = Stripe.Billing.CreditBalanceSummaryRetrieveParams.Filter; + export namespace Filter { + export type ApplicabilityScope = Stripe.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope; + export type Type = Stripe.Billing.CreditBalanceSummaryRetrieveParams.Filter.Type; + export namespace ApplicabilityScope { + export type Price = Stripe.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope.Price; + } + } + } + export namespace CreditBalanceSummary { + export type Balance = Stripe.Billing.CreditBalanceSummary.Balance; + export namespace Balance { + export type AvailableBalance = Stripe.Billing.CreditBalanceSummary.Balance.AvailableBalance; + export type LedgerBalance = Stripe.Billing.CreditBalanceSummary.Balance.LedgerBalance; + export namespace AvailableBalance { + export type Monetary = Stripe.Billing.CreditBalanceSummary.Balance.AvailableBalance.Monetary; + } + export namespace LedgerBalance { + export type Monetary = Stripe.Billing.CreditBalanceSummary.Balance.LedgerBalance.Monetary; + } + } + } + export namespace CreditBalanceTransaction { + export type Credit = Stripe.Billing.CreditBalanceTransaction.Credit; + export type Debit = Stripe.Billing.CreditBalanceTransaction.Debit; + export type Type = Stripe.Billing.CreditBalanceTransaction.Type; + export namespace Credit { + export type Amount = Stripe.Billing.CreditBalanceTransaction.Credit.Amount; + export type CreditsApplicationInvoiceVoided = Stripe.Billing.CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided; + export type Type = Stripe.Billing.CreditBalanceTransaction.Credit.Type; + export namespace Amount { + export type Monetary = Stripe.Billing.CreditBalanceTransaction.Credit.Amount.Monetary; + } + } + export namespace Debit { + export type Amount = Stripe.Billing.CreditBalanceTransaction.Debit.Amount; + export type CreditsApplied = Stripe.Billing.CreditBalanceTransaction.Debit.CreditsApplied; + export type Type = Stripe.Billing.CreditBalanceTransaction.Debit.Type; + export namespace Amount { + export type Monetary = Stripe.Billing.CreditBalanceTransaction.Debit.Amount.Monetary; + } + } } export namespace CreditGrantCreateParams { export type Amount = Stripe.Billing.CreditGrantCreateParams.Amount; export type ApplicabilityConfig = Stripe.Billing.CreditGrantCreateParams.ApplicabilityConfig; export type Category = Stripe.Billing.CreditGrantCreateParams.Category; + export namespace Amount { + export type Monetary = Stripe.Billing.CreditGrantCreateParams.Amount.Monetary; + } + export namespace ApplicabilityConfig { + export type Scope = Stripe.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope; + export namespace Scope { + export type Price = Stripe.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope.Price; + } + } + } + export namespace CreditGrant { + export type Amount = Stripe.Billing.CreditGrant.Amount; + export type ApplicabilityConfig = Stripe.Billing.CreditGrant.ApplicabilityConfig; + export type Category = Stripe.Billing.CreditGrant.Category; + export namespace Amount { + export type Monetary = Stripe.Billing.CreditGrant.Amount.Monetary; + } + export namespace ApplicabilityConfig { + export type Scope = Stripe.Billing.CreditGrant.ApplicabilityConfig.Scope; + export namespace Scope { + export type Price = Stripe.Billing.CreditGrant.ApplicabilityConfig.Scope.Price; + } + } } export namespace MeterCreateParams { export type DefaultAggregation = Stripe.Billing.MeterCreateParams.DefaultAggregation; export type CustomerMapping = Stripe.Billing.MeterCreateParams.CustomerMapping; export type EventTimeWindow = Stripe.Billing.MeterCreateParams.EventTimeWindow; export type ValueSettings = Stripe.Billing.MeterCreateParams.ValueSettings; + export namespace DefaultAggregation { + export type Formula = Stripe.Billing.MeterCreateParams.DefaultAggregation.Formula; + } } - export namespace MeterListParams { - export type Status = Stripe.Billing.MeterListParams.Status; - } - export namespace MeterListEventSummariesParams { - export type ValueGroupingWindow = Stripe.Billing.MeterListEventSummariesParams.ValueGroupingWindow; + export namespace Meter { + export type CustomerMapping = Stripe.Billing.Meter.CustomerMapping; + export type DefaultAggregation = Stripe.Billing.Meter.DefaultAggregation; + export type EventTimeWindow = Stripe.Billing.Meter.EventTimeWindow; + export type Status = Stripe.Billing.Meter.Status; + export type StatusTransitions = Stripe.Billing.Meter.StatusTransitions; + export type ValueSettings = Stripe.Billing.Meter.ValueSettings; + export namespace DefaultAggregation { + export type Formula = Stripe.Billing.Meter.DefaultAggregation.Formula; + } } export namespace MeterEventAdjustmentCreateParams { export type Cancel = Stripe.Billing.MeterEventAdjustmentCreateParams.Cancel; } + export namespace MeterEventAdjustment { + export type Cancel = Stripe.Billing.MeterEventAdjustment.Cancel; + export type Status = Stripe.Billing.MeterEventAdjustment.Status; + } } export namespace BillingPortal { export type Configuration = Stripe.BillingPortal.Configuration; @@ -1430,15 +9417,133 @@ declare namespace StripeConstructor { export type Features = Stripe.BillingPortal.ConfigurationCreateParams.Features; export type BusinessProfile = Stripe.BillingPortal.ConfigurationCreateParams.BusinessProfile; export type LoginPage = Stripe.BillingPortal.ConfigurationCreateParams.LoginPage; + export namespace Features { + export type CustomerUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.CustomerUpdate; + export type InvoiceHistory = Stripe.BillingPortal.ConfigurationCreateParams.Features.InvoiceHistory; + export type PaymentMethodUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.PaymentMethodUpdate; + export type SubscriptionCancel = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel; + export type SubscriptionUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate; + export namespace CustomerUpdate { + export type AllowedUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.CustomerUpdate.AllowedUpdate; + } + export namespace SubscriptionCancel { + export type CancellationReason = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.CancellationReason; + export type Mode = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.Mode; + export type ProrationBehavior = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.ProrationBehavior; + export namespace CancellationReason { + export type Option = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.CancellationReason.Option; + } + } + export namespace SubscriptionUpdate { + export type BillingCycleAnchor = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.BillingCycleAnchor; + export type DefaultAllowedUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.DefaultAllowedUpdate; + export type Product = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.Product; + export type ProrationBehavior = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ProrationBehavior; + export type ScheduleAtPeriodEnd = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd; + export type TrialUpdateBehavior = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.TrialUpdateBehavior; + export namespace Product { + export type AdjustableQuantity = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity; + } + export namespace ScheduleAtPeriodEnd { + export type Condition = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition; + export namespace Condition { + export type Type = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition.Type; + } + } + } + } } - export namespace ConfigurationUpdateParams { - export type BusinessProfile = Stripe.BillingPortal.ConfigurationUpdateParams.BusinessProfile; - export type Features = Stripe.BillingPortal.ConfigurationUpdateParams.Features; - export type LoginPage = Stripe.BillingPortal.ConfigurationUpdateParams.LoginPage; + export namespace Configuration { + export type BusinessProfile = Stripe.BillingPortal.Configuration.BusinessProfile; + export type Features = Stripe.BillingPortal.Configuration.Features; + export type LoginPage = Stripe.BillingPortal.Configuration.LoginPage; + export namespace Features { + export type CustomerUpdate = Stripe.BillingPortal.Configuration.Features.CustomerUpdate; + export type InvoiceHistory = Stripe.BillingPortal.Configuration.Features.InvoiceHistory; + export type PaymentMethodUpdate = Stripe.BillingPortal.Configuration.Features.PaymentMethodUpdate; + export type SubscriptionCancel = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel; + export type SubscriptionUpdate = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate; + export namespace CustomerUpdate { + export type AllowedUpdate = Stripe.BillingPortal.Configuration.Features.CustomerUpdate.AllowedUpdate; + } + export namespace SubscriptionCancel { + export type CancellationReason = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel.CancellationReason; + export type Mode = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel.Mode; + export type ProrationBehavior = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel.ProrationBehavior; + export namespace CancellationReason { + export type Option = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel.CancellationReason.Option; + } + } + export namespace SubscriptionUpdate { + export type BillingCycleAnchor = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.BillingCycleAnchor; + export type DefaultAllowedUpdate = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.DefaultAllowedUpdate; + export type Product = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.Product; + export type ProrationBehavior = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.ProrationBehavior; + export type ScheduleAtPeriodEnd = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd; + export type TrialUpdateBehavior = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.TrialUpdateBehavior; + export namespace Product { + export type AdjustableQuantity = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.Product.AdjustableQuantity; + } + export namespace ScheduleAtPeriodEnd { + export type Condition = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition; + export namespace Condition { + export type Type = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition.Type; + } + } + } + } } export namespace SessionCreateParams { export type FlowData = Stripe.BillingPortal.SessionCreateParams.FlowData; export type Locale = Stripe.BillingPortal.SessionCreateParams.Locale; + export namespace FlowData { + export type AfterCompletion = Stripe.BillingPortal.SessionCreateParams.FlowData.AfterCompletion; + export type SubscriptionCancel = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel; + export type SubscriptionUpdate = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdate; + export type SubscriptionUpdateConfirm = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm; + export type Type = Stripe.BillingPortal.SessionCreateParams.FlowData.Type; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.Redirect; + export type Type = Stripe.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.Type; + } + export namespace SubscriptionCancel { + export type Retention = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel.Retention; + export namespace Retention { + export type CouponOffer = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer; + } + } + export namespace SubscriptionUpdateConfirm { + export type Discount = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Discount; + export type Item = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item; + } + } + } + export namespace Session { + export type Flow = Stripe.BillingPortal.Session.Flow; + export type Locale = Stripe.BillingPortal.Session.Locale; + export namespace Flow { + export type AfterCompletion = Stripe.BillingPortal.Session.Flow.AfterCompletion; + export type SubscriptionCancel = Stripe.BillingPortal.Session.Flow.SubscriptionCancel; + export type SubscriptionUpdate = Stripe.BillingPortal.Session.Flow.SubscriptionUpdate; + export type SubscriptionUpdateConfirm = Stripe.BillingPortal.Session.Flow.SubscriptionUpdateConfirm; + export type Type = Stripe.BillingPortal.Session.Flow.Type; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe.BillingPortal.Session.Flow.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe.BillingPortal.Session.Flow.AfterCompletion.Redirect; + export type Type = Stripe.BillingPortal.Session.Flow.AfterCompletion.Type; + } + export namespace SubscriptionCancel { + export type Retention = Stripe.BillingPortal.Session.Flow.SubscriptionCancel.Retention; + export namespace Retention { + export type CouponOffer = Stripe.BillingPortal.Session.Flow.SubscriptionCancel.Retention.CouponOffer; + } + } + export namespace SubscriptionUpdateConfirm { + export type Discount = Stripe.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Discount; + export type Item = Stripe.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Item; + } + } } } export namespace Checkout { @@ -1488,15 +9593,652 @@ declare namespace StripeConstructor { export type TaxIdCollection = Stripe.Checkout.SessionCreateParams.TaxIdCollection; export type UiMode = Stripe.Checkout.SessionCreateParams.UiMode; export type WalletOptions = Stripe.Checkout.SessionCreateParams.WalletOptions; + export namespace AfterExpiration { + export type Recovery = Stripe.Checkout.SessionCreateParams.AfterExpiration.Recovery; + } + export namespace AutomaticTax { + export type Liability = Stripe.Checkout.SessionCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe.Checkout.SessionCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace BrandingSettings { + export type BorderStyle = Stripe.Checkout.SessionCreateParams.BrandingSettings.BorderStyle; + export type FontFamily = Stripe.Checkout.SessionCreateParams.BrandingSettings.FontFamily; + export type Icon = Stripe.Checkout.SessionCreateParams.BrandingSettings.Icon; + export type Logo = Stripe.Checkout.SessionCreateParams.BrandingSettings.Logo; + export namespace Icon { + export type Type = Stripe.Checkout.SessionCreateParams.BrandingSettings.Icon.Type; + } + export namespace Logo { + export type Type = Stripe.Checkout.SessionCreateParams.BrandingSettings.Logo.Type; + } + } + export namespace ConsentCollection { + export type PaymentMethodReuseAgreement = Stripe.Checkout.SessionCreateParams.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe.Checkout.SessionCreateParams.ConsentCollection.Promotions; + export type TermsOfService = Stripe.Checkout.SessionCreateParams.ConsentCollection.TermsOfService; + export namespace PaymentMethodReuseAgreement { + export type Position = Stripe.Checkout.SessionCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position; + } + } + export namespace CustomerUpdate { + export type Address = Stripe.Checkout.SessionCreateParams.CustomerUpdate.Address; + export type Name = Stripe.Checkout.SessionCreateParams.CustomerUpdate.Name; + export type Shipping = Stripe.Checkout.SessionCreateParams.CustomerUpdate.Shipping; + } + export namespace CustomField { + export type Dropdown = Stripe.Checkout.SessionCreateParams.CustomField.Dropdown; + export type Label = Stripe.Checkout.SessionCreateParams.CustomField.Label; + export type Numeric = Stripe.Checkout.SessionCreateParams.CustomField.Numeric; + export type Text = Stripe.Checkout.SessionCreateParams.CustomField.Text; + export type Type = Stripe.Checkout.SessionCreateParams.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe.Checkout.SessionCreateParams.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe.Checkout.SessionCreateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe.Checkout.SessionCreateParams.CustomText.ShippingAddress; + export type Submit = Stripe.Checkout.SessionCreateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe.Checkout.SessionCreateParams.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.Issuer.Type; + } + export namespace RenderingOptions { + export type AmountTaxDisplay = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + } + } + } + export namespace LineItem { + export type AdjustableQuantity = Stripe.Checkout.SessionCreateParams.LineItem.AdjustableQuantity; + export type PriceData = Stripe.Checkout.SessionCreateParams.LineItem.PriceData; + export namespace PriceData { + export type ProductData = Stripe.Checkout.SessionCreateParams.LineItem.PriceData.ProductData; + export type Recurring = Stripe.Checkout.SessionCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe.Checkout.SessionCreateParams.LineItem.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe.Checkout.SessionCreateParams.LineItem.PriceData.Recurring.Interval; + } + } + } + export namespace NameCollection { + export type Business = Stripe.Checkout.SessionCreateParams.NameCollection.Business; + export type Individual = Stripe.Checkout.SessionCreateParams.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe.Checkout.SessionCreateParams.OptionalItem.AdjustableQuantity; + } + export namespace PaymentIntentData { + export type CaptureMethod = Stripe.Checkout.SessionCreateParams.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentIntentData.SetupFutureUsage; + export type Shipping = Stripe.Checkout.SessionCreateParams.PaymentIntentData.Shipping; + export type TransferData = Stripe.Checkout.SessionCreateParams.PaymentIntentData.TransferData; + } + export namespace PaymentMethodData { + export type AllowRedisplay = Stripe.Checkout.SessionCreateParams.PaymentMethodData.AllowRedisplay; + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Billie; + export type Boleto = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card; + export type Cashapp = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance; + export type DemoPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.DemoPay; + export type Eps = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Ideal; + export type KakaoPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Link; + export type Mobilepay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.NaverPay; + export type Oxxo = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix; + export type RevolutPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type Currency = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type Installments = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Installments; + export type RequestExtendedAuthorization = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Restrictions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export namespace Restrictions { + export type BrandsBlocked = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace DemoPay { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.DemoPay.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type Subscription = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription; + export namespace Subscription { + export type Interval = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace KrCard { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace Paypal { + export type PreferredLocale = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + } + export namespace Payto { + export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type VerificationMethod = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Permission = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + } + } + export namespace WechatPay { + export type Client = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.WechatPay.Client; + } + } + export namespace Permissions { + export type UpdateShippingDetails = Stripe.Checkout.SessionCreateParams.Permissions.UpdateShippingDetails; + } + export namespace SavedPaymentMethodOptions { + export type AllowRedisplayFilter = Stripe.Checkout.SessionCreateParams.SavedPaymentMethodOptions.AllowRedisplayFilter; + export type PaymentMethodRemove = Stripe.Checkout.SessionCreateParams.SavedPaymentMethodOptions.PaymentMethodRemove; + export type PaymentMethodSave = Stripe.Checkout.SessionCreateParams.SavedPaymentMethodOptions.PaymentMethodSave; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe.Checkout.SessionCreateParams.ShippingAddressCollection.AllowedCountry; + } + export namespace ShippingOption { + export type ShippingRateData = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData; + export namespace ShippingRateData { + export type DeliveryEstimate = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + } + export namespace SubscriptionData { + export type BillingMode = Stripe.Checkout.SessionCreateParams.SubscriptionData.BillingMode; + export type InvoiceSettings = Stripe.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings; + export type PendingInvoiceItemInterval = Stripe.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval; + export type ProrationBehavior = Stripe.Checkout.SessionCreateParams.SubscriptionData.ProrationBehavior; + export type TransferData = Stripe.Checkout.SessionCreateParams.SubscriptionData.TransferData; + export type TrialSettings = Stripe.Checkout.SessionCreateParams.SubscriptionData.TrialSettings; + export namespace BillingMode { + export type Flexible = Stripe.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + } + } + export namespace PendingInvoiceItemInterval { + export type Interval = Stripe.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval.Interval; + } + export namespace TrialSettings { + export type EndBehavior = Stripe.Checkout.SessionCreateParams.SubscriptionData.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe.Checkout.SessionCreateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } + export namespace TaxIdCollection { + export type Required = Stripe.Checkout.SessionCreateParams.TaxIdCollection.Required; + } + export namespace WalletOptions { + export type Link = Stripe.Checkout.SessionCreateParams.WalletOptions.Link; + export namespace Link { + export type Display = Stripe.Checkout.SessionCreateParams.WalletOptions.Link.Display; + } + } } - export namespace SessionUpdateParams { - export type CollectedInformation = Stripe.Checkout.SessionUpdateParams.CollectedInformation; - export type LineItem = Stripe.Checkout.SessionUpdateParams.LineItem; - export type ShippingOption = Stripe.Checkout.SessionUpdateParams.ShippingOption; - } - export namespace SessionListParams { - export type CustomerDetails = Stripe.Checkout.SessionListParams.CustomerDetails; - export type Status = Stripe.Checkout.SessionListParams.Status; + export namespace Session { + export type AdaptivePricing = Stripe.Checkout.Session.AdaptivePricing; + export type AfterExpiration = Stripe.Checkout.Session.AfterExpiration; + export type AutomaticTax = Stripe.Checkout.Session.AutomaticTax; + export type BillingAddressCollection = Stripe.Checkout.Session.BillingAddressCollection; + export type BrandingSettings = Stripe.Checkout.Session.BrandingSettings; + export type CollectedInformation = Stripe.Checkout.Session.CollectedInformation; + export type Consent = Stripe.Checkout.Session.Consent; + export type ConsentCollection = Stripe.Checkout.Session.ConsentCollection; + export type CurrencyConversion = Stripe.Checkout.Session.CurrencyConversion; + export type CustomField = Stripe.Checkout.Session.CustomField; + export type CustomText = Stripe.Checkout.Session.CustomText; + export type CustomerCreation = Stripe.Checkout.Session.CustomerCreation; + export type CustomerDetails = Stripe.Checkout.Session.CustomerDetails; + export type Discount = Stripe.Checkout.Session.Discount; + export type InvoiceCreation = Stripe.Checkout.Session.InvoiceCreation; + export type Locale = Stripe.Checkout.Session.Locale; + export type ManagedPayments = Stripe.Checkout.Session.ManagedPayments; + export type Mode = Stripe.Checkout.Session.Mode; + export type NameCollection = Stripe.Checkout.Session.NameCollection; + export type OptionalItem = Stripe.Checkout.Session.OptionalItem; + export type OriginContext = Stripe.Checkout.Session.OriginContext; + export type PaymentMethodCollection = Stripe.Checkout.Session.PaymentMethodCollection; + export type PaymentMethodConfigurationDetails = Stripe.Checkout.Session.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe.Checkout.Session.PaymentMethodOptions; + export type PaymentStatus = Stripe.Checkout.Session.PaymentStatus; + export type Permissions = Stripe.Checkout.Session.Permissions; + export type PhoneNumberCollection = Stripe.Checkout.Session.PhoneNumberCollection; + export type PresentmentDetails = Stripe.Checkout.Session.PresentmentDetails; + export type RedirectOnCompletion = Stripe.Checkout.Session.RedirectOnCompletion; + export type SavedPaymentMethodOptions = Stripe.Checkout.Session.SavedPaymentMethodOptions; + export type ShippingAddressCollection = Stripe.Checkout.Session.ShippingAddressCollection; + export type ShippingCost = Stripe.Checkout.Session.ShippingCost; + export type ShippingOption = Stripe.Checkout.Session.ShippingOption; + export type Status = Stripe.Checkout.Session.Status; + export type SubmitType = Stripe.Checkout.Session.SubmitType; + export type TaxIdCollection = Stripe.Checkout.Session.TaxIdCollection; + export type TotalDetails = Stripe.Checkout.Session.TotalDetails; + export type UiMode = Stripe.Checkout.Session.UiMode; + export type WalletOptions = Stripe.Checkout.Session.WalletOptions; + export namespace AfterExpiration { + export type Recovery = Stripe.Checkout.Session.AfterExpiration.Recovery; + } + export namespace AutomaticTax { + export type Liability = Stripe.Checkout.Session.AutomaticTax.Liability; + export type Status = Stripe.Checkout.Session.AutomaticTax.Status; + export namespace Liability { + export type Type = Stripe.Checkout.Session.AutomaticTax.Liability.Type; + } + } + export namespace BrandingSettings { + export type BorderStyle = Stripe.Checkout.Session.BrandingSettings.BorderStyle; + export type Icon = Stripe.Checkout.Session.BrandingSettings.Icon; + export type Logo = Stripe.Checkout.Session.BrandingSettings.Logo; + export namespace Icon { + export type Type = Stripe.Checkout.Session.BrandingSettings.Icon.Type; + } + export namespace Logo { + export type Type = Stripe.Checkout.Session.BrandingSettings.Logo.Type; + } + } + export namespace CollectedInformation { + export type ShippingDetails = Stripe.Checkout.Session.CollectedInformation.ShippingDetails; + } + export namespace Consent { + export type Promotions = Stripe.Checkout.Session.Consent.Promotions; + } + export namespace ConsentCollection { + export type PaymentMethodReuseAgreement = Stripe.Checkout.Session.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe.Checkout.Session.ConsentCollection.Promotions; + export type TermsOfService = Stripe.Checkout.Session.ConsentCollection.TermsOfService; + export namespace PaymentMethodReuseAgreement { + export type Position = Stripe.Checkout.Session.ConsentCollection.PaymentMethodReuseAgreement.Position; + } + } + export namespace CustomerDetails { + export type TaxExempt = Stripe.Checkout.Session.CustomerDetails.TaxExempt; + export type TaxId = Stripe.Checkout.Session.CustomerDetails.TaxId; + export namespace TaxId { + export type Type = Stripe.Checkout.Session.CustomerDetails.TaxId.Type; + } + } + export namespace CustomField { + export type Dropdown = Stripe.Checkout.Session.CustomField.Dropdown; + export type Label = Stripe.Checkout.Session.CustomField.Label; + export type Numeric = Stripe.Checkout.Session.CustomField.Numeric; + export type Text = Stripe.Checkout.Session.CustomField.Text; + export type Type = Stripe.Checkout.Session.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe.Checkout.Session.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe.Checkout.Session.CustomText.AfterSubmit; + export type ShippingAddress = Stripe.Checkout.Session.CustomText.ShippingAddress; + export type Submit = Stripe.Checkout.Session.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe.Checkout.Session.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe.Checkout.Session.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe.Checkout.Session.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe.Checkout.Session.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe.Checkout.Session.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe.Checkout.Session.InvoiceCreation.InvoiceData.Issuer.Type; + } + } + } + export namespace NameCollection { + export type Business = Stripe.Checkout.Session.NameCollection.Business; + export type Individual = Stripe.Checkout.Session.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe.Checkout.Session.OptionalItem.AdjustableQuantity; + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe.Checkout.Session.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe.Checkout.Session.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe.Checkout.Session.PaymentMethodOptions.Alipay; + export type Alma = Stripe.Checkout.Session.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe.Checkout.Session.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe.Checkout.Session.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe.Checkout.Session.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe.Checkout.Session.PaymentMethodOptions.Bancontact; + export type Billie = Stripe.Checkout.Session.PaymentMethodOptions.Billie; + export type Boleto = Stripe.Checkout.Session.PaymentMethodOptions.Boleto; + export type Card = Stripe.Checkout.Session.PaymentMethodOptions.Card; + export type Cashapp = Stripe.Checkout.Session.PaymentMethodOptions.Cashapp; + export type CustomerBalance = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe.Checkout.Session.PaymentMethodOptions.Eps; + export type Fpx = Stripe.Checkout.Session.PaymentMethodOptions.Fpx; + export type Giropay = Stripe.Checkout.Session.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe.Checkout.Session.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe.Checkout.Session.PaymentMethodOptions.Ideal; + export type KakaoPay = Stripe.Checkout.Session.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe.Checkout.Session.PaymentMethodOptions.Klarna; + export type Konbini = Stripe.Checkout.Session.PaymentMethodOptions.Konbini; + export type KrCard = Stripe.Checkout.Session.PaymentMethodOptions.KrCard; + export type Link = Stripe.Checkout.Session.PaymentMethodOptions.Link; + export type Mobilepay = Stripe.Checkout.Session.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe.Checkout.Session.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe.Checkout.Session.PaymentMethodOptions.NaverPay; + export type Oxxo = Stripe.Checkout.Session.PaymentMethodOptions.Oxxo; + export type P24 = Stripe.Checkout.Session.PaymentMethodOptions.P24; + export type Payco = Stripe.Checkout.Session.PaymentMethodOptions.Payco; + export type Paynow = Stripe.Checkout.Session.PaymentMethodOptions.Paynow; + export type Paypal = Stripe.Checkout.Session.PaymentMethodOptions.Paypal; + export type Payto = Stripe.Checkout.Session.PaymentMethodOptions.Payto; + export type Pix = Stripe.Checkout.Session.PaymentMethodOptions.Pix; + export type RevolutPay = Stripe.Checkout.Session.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe.Checkout.Session.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe.Checkout.Session.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe.Checkout.Session.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe.Checkout.Session.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe.Checkout.Session.PaymentMethodOptions.Sofort; + export type Swish = Stripe.Checkout.Session.PaymentMethodOptions.Swish; + export type Twint = Stripe.Checkout.Session.PaymentMethodOptions.Twint; + export type Upi = Stripe.Checkout.Session.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type Installments = Stripe.Checkout.Session.PaymentMethodOptions.Card.Installments; + export type RequestExtendedAuthorization = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Restrictions = Stripe.Checkout.Session.PaymentMethodOptions.Card.Restrictions; + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Card.SetupFutureUsage; + export namespace Restrictions { + export type BrandsBlocked = Stripe.Checkout.Session.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Klarna.SetupFutureUsage; + } + export namespace KrCard { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace Paypal { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Paypal.SetupFutureUsage; + } + export namespace Payto { + export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe.Checkout.Session.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe.Checkout.Session.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type VerificationMethod = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } + export namespace Permissions { + export type UpdateShippingDetails = Stripe.Checkout.Session.Permissions.UpdateShippingDetails; + } + export namespace SavedPaymentMethodOptions { + export type AllowRedisplayFilter = Stripe.Checkout.Session.SavedPaymentMethodOptions.AllowRedisplayFilter; + export type PaymentMethodRemove = Stripe.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodRemove; + export type PaymentMethodSave = Stripe.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodSave; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe.Checkout.Session.ShippingAddressCollection.AllowedCountry; + } + export namespace ShippingCost { + export type Tax = Stripe.Checkout.Session.ShippingCost.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe.Checkout.Session.ShippingCost.Tax.TaxabilityReason; + } + } + export namespace TaxIdCollection { + export type Required = Stripe.Checkout.Session.TaxIdCollection.Required; + } + export namespace TotalDetails { + export type Breakdown = Stripe.Checkout.Session.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe.Checkout.Session.TotalDetails.Breakdown.Discount; + export type Tax = Stripe.Checkout.Session.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe.Checkout.Session.TotalDetails.Breakdown.Tax.TaxabilityReason; + } + } + } + export namespace WalletOptions { + export type Link = Stripe.Checkout.Session.WalletOptions.Link; + export namespace Link { + export type Display = Stripe.Checkout.Session.WalletOptions.Link.Display; + } + } } } export namespace Climate { @@ -1518,8 +10260,21 @@ declare namespace StripeConstructor { export namespace OrderCreateParams { export type Beneficiary = Stripe.Climate.OrderCreateParams.Beneficiary; } - export namespace OrderUpdateParams { - export type Beneficiary = Stripe.Climate.OrderUpdateParams.Beneficiary; + export namespace Order { + export type Beneficiary = Stripe.Climate.Order.Beneficiary; + export type CancellationReason = Stripe.Climate.Order.CancellationReason; + export type DeliveryDetail = Stripe.Climate.Order.DeliveryDetail; + export type Status = Stripe.Climate.Order.Status; + export namespace DeliveryDetail { + export type Location = Stripe.Climate.Order.DeliveryDetail.Location; + } + } + export namespace Product { + export type CurrentPricesPerMetricTon = Stripe.Climate.Product.CurrentPricesPerMetricTon; + } + export namespace Supplier { + export type Location = Stripe.Climate.Supplier.Location; + export type RemovalPathway = Stripe.Climate.Supplier.RemovalPathway; } } export namespace Entitlements { @@ -1555,20 +10310,67 @@ declare namespace StripeConstructor { export type TransactionResource = Stripe.FinancialConnections.TransactionResource; export type AccountOwner = Stripe.FinancialConnections.AccountOwner; export type AccountOwnership = Stripe.FinancialConnections.AccountOwnership; - export namespace AccountListParams { - export type AccountHolder = Stripe.FinancialConnections.AccountListParams.AccountHolder; - } - export namespace AccountRefreshParams { - export type Feature = Stripe.FinancialConnections.AccountRefreshParams.Feature; + export namespace Account { + export type AccountHolder = Stripe.FinancialConnections.Account.AccountHolder; + export type AccountNumber = Stripe.FinancialConnections.Account.AccountNumber; + export type Balance = Stripe.FinancialConnections.Account.Balance; + export type BalanceRefresh = Stripe.FinancialConnections.Account.BalanceRefresh; + export type Category = Stripe.FinancialConnections.Account.Category; + export type OwnershipRefresh = Stripe.FinancialConnections.Account.OwnershipRefresh; + export type Permission = Stripe.FinancialConnections.Account.Permission; + export type Status = Stripe.FinancialConnections.Account.Status; + export type Subcategory = Stripe.FinancialConnections.Account.Subcategory; + export type SupportedPaymentMethodType = Stripe.FinancialConnections.Account.SupportedPaymentMethodType; + export type TransactionRefresh = Stripe.FinancialConnections.Account.TransactionRefresh; + export namespace AccountHolder { + export type Type = Stripe.FinancialConnections.Account.AccountHolder.Type; + } + export namespace AccountNumber { + export type IdentifierType = Stripe.FinancialConnections.Account.AccountNumber.IdentifierType; + export type Status = Stripe.FinancialConnections.Account.AccountNumber.Status; + } + export namespace Balance { + export type Cash = Stripe.FinancialConnections.Account.Balance.Cash; + export type Credit = Stripe.FinancialConnections.Account.Balance.Credit; + export type Type = Stripe.FinancialConnections.Account.Balance.Type; + } + export namespace BalanceRefresh { + export type Status = Stripe.FinancialConnections.Account.BalanceRefresh.Status; + } + export namespace OwnershipRefresh { + export type Status = Stripe.FinancialConnections.Account.OwnershipRefresh.Status; + } + export namespace TransactionRefresh { + export type Status = Stripe.FinancialConnections.Account.TransactionRefresh.Status; + } } export namespace SessionCreateParams { export type AccountHolder = Stripe.FinancialConnections.SessionCreateParams.AccountHolder; export type Permission = Stripe.FinancialConnections.SessionCreateParams.Permission; export type Filters = Stripe.FinancialConnections.SessionCreateParams.Filters; export type Prefetch = Stripe.FinancialConnections.SessionCreateParams.Prefetch; + export namespace AccountHolder { + export type Type = Stripe.FinancialConnections.SessionCreateParams.AccountHolder.Type; + } + export namespace Filters { + export type AccountSubcategory = Stripe.FinancialConnections.SessionCreateParams.Filters.AccountSubcategory; + } } - export namespace TransactionListParams { - export type TransactionRefresh = Stripe.FinancialConnections.TransactionListParams.TransactionRefresh; + export namespace Session { + export type AccountHolder = Stripe.FinancialConnections.Session.AccountHolder; + export type Filters = Stripe.FinancialConnections.Session.Filters; + export type Permission = Stripe.FinancialConnections.Session.Permission; + export type Prefetch = Stripe.FinancialConnections.Session.Prefetch; + export namespace AccountHolder { + export type Type = Stripe.FinancialConnections.Session.AccountHolder.Type; + } + export namespace Filters { + export type AccountSubcategory = Stripe.FinancialConnections.Session.Filters.AccountSubcategory; + } + } + export namespace Transaction { + export type Status = Stripe.FinancialConnections.Transaction.Status; + export type StatusTransitions = Stripe.FinancialConnections.Transaction.StatusTransitions; } } export namespace Forwarding { @@ -1580,6 +10382,21 @@ declare namespace StripeConstructor { export namespace RequestCreateParams { export type Replacement = Stripe.Forwarding.RequestCreateParams.Replacement; export type Request = Stripe.Forwarding.RequestCreateParams.Request; + export namespace Request { + export type Header = Stripe.Forwarding.RequestCreateParams.Request.Header; + } + } + export namespace Request { + export type Replacement = Stripe.Forwarding.Request.Replacement; + export type RequestContext = Stripe.Forwarding.Request.RequestContext; + export type RequestDetails = Stripe.Forwarding.Request.RequestDetails; + export type ResponseDetails = Stripe.Forwarding.Request.ResponseDetails; + export namespace RequestDetails { + export type Header = Stripe.Forwarding.Request.RequestDetails.Header; + } + export namespace ResponseDetails { + export type Header = Stripe.Forwarding.Request.ResponseDetails.Header; + } } } export namespace Identity { @@ -1595,22 +10412,110 @@ declare namespace StripeConstructor { export type VerificationSessionCancelParams = Stripe.Identity.VerificationSessionCancelParams; export type VerificationSessionRedactParams = Stripe.Identity.VerificationSessionRedactParams; export type VerificationSessionResource = Stripe.Identity.VerificationSessionResource; - export namespace VerificationReportListParams { - export type Type = Stripe.Identity.VerificationReportListParams.Type; + export namespace VerificationReport { + export type Document = Stripe.Identity.VerificationReport.Document; + export type Email = Stripe.Identity.VerificationReport.Email; + export type IdNumber = Stripe.Identity.VerificationReport.IdNumber; + export type Options = Stripe.Identity.VerificationReport.Options; + export type Phone = Stripe.Identity.VerificationReport.Phone; + export type Selfie = Stripe.Identity.VerificationReport.Selfie; + export type Type = Stripe.Identity.VerificationReport.Type; + export namespace Document { + export type Dob = Stripe.Identity.VerificationReport.Document.Dob; + export type Error = Stripe.Identity.VerificationReport.Document.Error; + export type ExpirationDate = Stripe.Identity.VerificationReport.Document.ExpirationDate; + export type IssuedDate = Stripe.Identity.VerificationReport.Document.IssuedDate; + export type Sex = Stripe.Identity.VerificationReport.Document.Sex; + export type Status = Stripe.Identity.VerificationReport.Document.Status; + export type Type = Stripe.Identity.VerificationReport.Document.Type; + export namespace Error { + export type Code = Stripe.Identity.VerificationReport.Document.Error.Code; + } + } + export namespace Email { + export type Error = Stripe.Identity.VerificationReport.Email.Error; + export type Status = Stripe.Identity.VerificationReport.Email.Status; + export namespace Error { + export type Code = Stripe.Identity.VerificationReport.Email.Error.Code; + } + } + export namespace IdNumber { + export type Dob = Stripe.Identity.VerificationReport.IdNumber.Dob; + export type Error = Stripe.Identity.VerificationReport.IdNumber.Error; + export type IdNumberType = Stripe.Identity.VerificationReport.IdNumber.IdNumberType; + export type Status = Stripe.Identity.VerificationReport.IdNumber.Status; + export namespace Error { + export type Code = Stripe.Identity.VerificationReport.IdNumber.Error.Code; + } + } + export namespace Options { + export type Document = Stripe.Identity.VerificationReport.Options.Document; + export type IdNumber = Stripe.Identity.VerificationReport.Options.IdNumber; + export namespace Document { + export type AllowedType = Stripe.Identity.VerificationReport.Options.Document.AllowedType; + } + } + export namespace Phone { + export type Error = Stripe.Identity.VerificationReport.Phone.Error; + export type Status = Stripe.Identity.VerificationReport.Phone.Status; + export namespace Error { + export type Code = Stripe.Identity.VerificationReport.Phone.Error.Code; + } + } + export namespace Selfie { + export type Error = Stripe.Identity.VerificationReport.Selfie.Error; + export type Status = Stripe.Identity.VerificationReport.Selfie.Status; + export namespace Error { + export type Code = Stripe.Identity.VerificationReport.Selfie.Error.Code; + } + } } export namespace VerificationSessionCreateParams { export type Options = Stripe.Identity.VerificationSessionCreateParams.Options; export type ProvidedDetails = Stripe.Identity.VerificationSessionCreateParams.ProvidedDetails; export type RelatedPerson = Stripe.Identity.VerificationSessionCreateParams.RelatedPerson; export type Type = Stripe.Identity.VerificationSessionCreateParams.Type; + export namespace Options { + export type Document = Stripe.Identity.VerificationSessionCreateParams.Options.Document; + export namespace Document { + export type AllowedType = Stripe.Identity.VerificationSessionCreateParams.Options.Document.AllowedType; + } + } } - export namespace VerificationSessionUpdateParams { - export type Options = Stripe.Identity.VerificationSessionUpdateParams.Options; - export type ProvidedDetails = Stripe.Identity.VerificationSessionUpdateParams.ProvidedDetails; - export type Type = Stripe.Identity.VerificationSessionUpdateParams.Type; - } - export namespace VerificationSessionListParams { - export type Status = Stripe.Identity.VerificationSessionListParams.Status; + export namespace VerificationSession { + export type LastError = Stripe.Identity.VerificationSession.LastError; + export type Options = Stripe.Identity.VerificationSession.Options; + export type ProvidedDetails = Stripe.Identity.VerificationSession.ProvidedDetails; + export type Redaction = Stripe.Identity.VerificationSession.Redaction; + export type RelatedPerson = Stripe.Identity.VerificationSession.RelatedPerson; + export type Status = Stripe.Identity.VerificationSession.Status; + export type Type = Stripe.Identity.VerificationSession.Type; + export type VerifiedOutputs = Stripe.Identity.VerificationSession.VerifiedOutputs; + export namespace LastError { + export type Code = Stripe.Identity.VerificationSession.LastError.Code; + } + export namespace Options { + export type Document = Stripe.Identity.VerificationSession.Options.Document; + export type Email = Stripe.Identity.VerificationSession.Options.Email; + export type IdNumber = Stripe.Identity.VerificationSession.Options.IdNumber; + export type Matching = Stripe.Identity.VerificationSession.Options.Matching; + export type Phone = Stripe.Identity.VerificationSession.Options.Phone; + export namespace Document { + export type AllowedType = Stripe.Identity.VerificationSession.Options.Document.AllowedType; + } + export namespace Matching { + export type Dob = Stripe.Identity.VerificationSession.Options.Matching.Dob; + export type Name = Stripe.Identity.VerificationSession.Options.Matching.Name; + } + } + export namespace Redaction { + export type Status = Stripe.Identity.VerificationSession.Redaction.Status; + } + export namespace VerifiedOutputs { + export type Dob = Stripe.Identity.VerificationSession.VerifiedOutputs.Dob; + export type IdNumberType = Stripe.Identity.VerificationSession.VerifiedOutputs.IdNumberType; + export type Sex = Stripe.Identity.VerificationSession.VerifiedOutputs.Sex; + } } } export namespace Issuing { @@ -1660,8 +10565,61 @@ declare namespace StripeConstructor { export type TransactionUpdateParams = Stripe.Issuing.TransactionUpdateParams; export type TransactionListParams = Stripe.Issuing.TransactionListParams; export type TransactionResource = Stripe.Issuing.TransactionResource; - export namespace AuthorizationListParams { - export type Status = Stripe.Issuing.AuthorizationListParams.Status; + export namespace Authorization { + export type AmountDetails = Stripe.Issuing.Authorization.AmountDetails; + export type AuthorizationMethod = Stripe.Issuing.Authorization.AuthorizationMethod; + export type CardPresence = Stripe.Issuing.Authorization.CardPresence; + export type Fleet = Stripe.Issuing.Authorization.Fleet; + export type FraudChallenge = Stripe.Issuing.Authorization.FraudChallenge; + export type Fuel = Stripe.Issuing.Authorization.Fuel; + export type MerchantData = Stripe.Issuing.Authorization.MerchantData; + export type NetworkData = Stripe.Issuing.Authorization.NetworkData; + export type PendingRequest = Stripe.Issuing.Authorization.PendingRequest; + export type RequestHistory = Stripe.Issuing.Authorization.RequestHistory; + export type Status = Stripe.Issuing.Authorization.Status; + export type Treasury = Stripe.Issuing.Authorization.Treasury; + export type VerificationData = Stripe.Issuing.Authorization.VerificationData; + export namespace Fleet { + export type CardholderPromptData = Stripe.Issuing.Authorization.Fleet.CardholderPromptData; + export type PurchaseType = Stripe.Issuing.Authorization.Fleet.PurchaseType; + export type ReportedBreakdown = Stripe.Issuing.Authorization.Fleet.ReportedBreakdown; + export type ServiceType = Stripe.Issuing.Authorization.Fleet.ServiceType; + export namespace ReportedBreakdown { + export type Fuel = Stripe.Issuing.Authorization.Fleet.ReportedBreakdown.Fuel; + export type NonFuel = Stripe.Issuing.Authorization.Fleet.ReportedBreakdown.NonFuel; + export type Tax = Stripe.Issuing.Authorization.Fleet.ReportedBreakdown.Tax; + } + } + export namespace FraudChallenge { + export type Status = Stripe.Issuing.Authorization.FraudChallenge.Status; + export type UndeliverableReason = Stripe.Issuing.Authorization.FraudChallenge.UndeliverableReason; + } + export namespace Fuel { + export type Type = Stripe.Issuing.Authorization.Fuel.Type; + export type Unit = Stripe.Issuing.Authorization.Fuel.Unit; + } + export namespace PendingRequest { + export type AmountDetails = Stripe.Issuing.Authorization.PendingRequest.AmountDetails; + } + export namespace RequestHistory { + export type AmountDetails = Stripe.Issuing.Authorization.RequestHistory.AmountDetails; + export type Reason = Stripe.Issuing.Authorization.RequestHistory.Reason; + } + export namespace VerificationData { + export type AddressLine1Check = Stripe.Issuing.Authorization.VerificationData.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe.Issuing.Authorization.VerificationData.AddressPostalCodeCheck; + export type AuthenticationExemption = Stripe.Issuing.Authorization.VerificationData.AuthenticationExemption; + export type CvcCheck = Stripe.Issuing.Authorization.VerificationData.CvcCheck; + export type ExpiryCheck = Stripe.Issuing.Authorization.VerificationData.ExpiryCheck; + export type ThreeDSecure = Stripe.Issuing.Authorization.VerificationData.ThreeDSecure; + export namespace AuthenticationExemption { + export type ClaimedBy = Stripe.Issuing.Authorization.VerificationData.AuthenticationExemption.ClaimedBy; + export type Type = Stripe.Issuing.Authorization.VerificationData.AuthenticationExemption.Type; + } + export namespace ThreeDSecure { + export type Result = Stripe.Issuing.Authorization.VerificationData.ThreeDSecure.Result; + } + } } export namespace CardCreateParams { export type Type = Stripe.Issuing.CardCreateParams.Type; @@ -1671,17 +10629,80 @@ declare namespace StripeConstructor { export type Shipping = Stripe.Issuing.CardCreateParams.Shipping; export type SpendingControls = Stripe.Issuing.CardCreateParams.SpendingControls; export type Status = Stripe.Issuing.CardCreateParams.Status; + export namespace LifecycleControls { + export type CancelAfter = Stripe.Issuing.CardCreateParams.LifecycleControls.CancelAfter; + } + export namespace Shipping { + export type Address = Stripe.Issuing.CardCreateParams.Shipping.Address; + export type AddressValidation = Stripe.Issuing.CardCreateParams.Shipping.AddressValidation; + export type Customs = Stripe.Issuing.CardCreateParams.Shipping.Customs; + export type Service = Stripe.Issuing.CardCreateParams.Shipping.Service; + export type Type = Stripe.Issuing.CardCreateParams.Shipping.Type; + export namespace AddressValidation { + export type Mode = Stripe.Issuing.CardCreateParams.Shipping.AddressValidation.Mode; + } + } + export namespace SpendingControls { + export type AllowedCardPresence = Stripe.Issuing.CardCreateParams.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe.Issuing.CardCreateParams.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe.Issuing.CardCreateParams.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe.Issuing.CardCreateParams.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe.Issuing.CardCreateParams.SpendingControls.SpendingLimit; + export namespace SpendingLimit { + export type Category = Stripe.Issuing.CardCreateParams.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe.Issuing.CardCreateParams.SpendingControls.SpendingLimit.Interval; + } + } } - export namespace CardUpdateParams { - export type CancellationReason = Stripe.Issuing.CardUpdateParams.CancellationReason; - export type Pin = Stripe.Issuing.CardUpdateParams.Pin; - export type Shipping = Stripe.Issuing.CardUpdateParams.Shipping; - export type SpendingControls = Stripe.Issuing.CardUpdateParams.SpendingControls; - export type Status = Stripe.Issuing.CardUpdateParams.Status; - } - export namespace CardListParams { - export type Status = Stripe.Issuing.CardListParams.Status; - export type Type = Stripe.Issuing.CardListParams.Type; + export namespace Card { + export type CancellationReason = Stripe.Issuing.Card.CancellationReason; + export type LatestFraudWarning = Stripe.Issuing.Card.LatestFraudWarning; + export type LifecycleControls = Stripe.Issuing.Card.LifecycleControls; + export type ReplacementReason = Stripe.Issuing.Card.ReplacementReason; + export type Shipping = Stripe.Issuing.Card.Shipping; + export type SpendingControls = Stripe.Issuing.Card.SpendingControls; + export type Status = Stripe.Issuing.Card.Status; + export type Type = Stripe.Issuing.Card.Type; + export type Wallets = Stripe.Issuing.Card.Wallets; + export namespace LatestFraudWarning { + export type Type = Stripe.Issuing.Card.LatestFraudWarning.Type; + } + export namespace LifecycleControls { + export type CancelAfter = Stripe.Issuing.Card.LifecycleControls.CancelAfter; + } + export namespace Shipping { + export type AddressValidation = Stripe.Issuing.Card.Shipping.AddressValidation; + export type Carrier = Stripe.Issuing.Card.Shipping.Carrier; + export type Customs = Stripe.Issuing.Card.Shipping.Customs; + export type Service = Stripe.Issuing.Card.Shipping.Service; + export type Status = Stripe.Issuing.Card.Shipping.Status; + export type Type = Stripe.Issuing.Card.Shipping.Type; + export namespace AddressValidation { + export type Mode = Stripe.Issuing.Card.Shipping.AddressValidation.Mode; + export type Result = Stripe.Issuing.Card.Shipping.AddressValidation.Result; + } + } + export namespace SpendingControls { + export type AllowedCardPresence = Stripe.Issuing.Card.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe.Issuing.Card.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe.Issuing.Card.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe.Issuing.Card.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe.Issuing.Card.SpendingControls.SpendingLimit; + export namespace SpendingLimit { + export type Category = Stripe.Issuing.Card.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe.Issuing.Card.SpendingControls.SpendingLimit.Interval; + } + } + export namespace Wallets { + export type ApplePay = Stripe.Issuing.Card.Wallets.ApplePay; + export type GooglePay = Stripe.Issuing.Card.Wallets.GooglePay; + export namespace ApplePay { + export type IneligibleReason = Stripe.Issuing.Card.Wallets.ApplePay.IneligibleReason; + } + export namespace GooglePay { + export type IneligibleReason = Stripe.Issuing.Card.Wallets.GooglePay.IneligibleReason; + } + } } export namespace CardholderCreateParams { export type Billing = Stripe.Issuing.CardholderCreateParams.Billing; @@ -1691,53 +10712,199 @@ declare namespace StripeConstructor { export type SpendingControls = Stripe.Issuing.CardholderCreateParams.SpendingControls; export type Status = Stripe.Issuing.CardholderCreateParams.Status; export type Type = Stripe.Issuing.CardholderCreateParams.Type; + export namespace Billing { + export type Address = Stripe.Issuing.CardholderCreateParams.Billing.Address; + } + export namespace Individual { + export type CardIssuing = Stripe.Issuing.CardholderCreateParams.Individual.CardIssuing; + export type Dob = Stripe.Issuing.CardholderCreateParams.Individual.Dob; + export type Verification = Stripe.Issuing.CardholderCreateParams.Individual.Verification; + export namespace CardIssuing { + export type UserTermsAcceptance = Stripe.Issuing.CardholderCreateParams.Individual.CardIssuing.UserTermsAcceptance; + } + export namespace Verification { + export type Document = Stripe.Issuing.CardholderCreateParams.Individual.Verification.Document; + } + } + export namespace SpendingControls { + export type AllowedCardPresence = Stripe.Issuing.CardholderCreateParams.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe.Issuing.CardholderCreateParams.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe.Issuing.CardholderCreateParams.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe.Issuing.CardholderCreateParams.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit; + export namespace SpendingLimit { + export type Category = Stripe.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit.Interval; + } + } } - export namespace CardholderUpdateParams { - export type Billing = Stripe.Issuing.CardholderUpdateParams.Billing; - export type Company = Stripe.Issuing.CardholderUpdateParams.Company; - export type Individual = Stripe.Issuing.CardholderUpdateParams.Individual; - export type PreferredLocale = Stripe.Issuing.CardholderUpdateParams.PreferredLocale; - export type SpendingControls = Stripe.Issuing.CardholderUpdateParams.SpendingControls; - export type Status = Stripe.Issuing.CardholderUpdateParams.Status; - } - export namespace CardholderListParams { - export type Status = Stripe.Issuing.CardholderListParams.Status; - export type Type = Stripe.Issuing.CardholderListParams.Type; + export namespace Cardholder { + export type Billing = Stripe.Issuing.Cardholder.Billing; + export type Company = Stripe.Issuing.Cardholder.Company; + export type Individual = Stripe.Issuing.Cardholder.Individual; + export type PreferredLocale = Stripe.Issuing.Cardholder.PreferredLocale; + export type Requirements = Stripe.Issuing.Cardholder.Requirements; + export type SpendingControls = Stripe.Issuing.Cardholder.SpendingControls; + export type Status = Stripe.Issuing.Cardholder.Status; + export type Type = Stripe.Issuing.Cardholder.Type; + export namespace Individual { + export type CardIssuing = Stripe.Issuing.Cardholder.Individual.CardIssuing; + export type Dob = Stripe.Issuing.Cardholder.Individual.Dob; + export type Verification = Stripe.Issuing.Cardholder.Individual.Verification; + export namespace CardIssuing { + export type UserTermsAcceptance = Stripe.Issuing.Cardholder.Individual.CardIssuing.UserTermsAcceptance; + } + export namespace Verification { + export type Document = Stripe.Issuing.Cardholder.Individual.Verification.Document; + } + } + export namespace Requirements { + export type DisabledReason = Stripe.Issuing.Cardholder.Requirements.DisabledReason; + export type PastDue = Stripe.Issuing.Cardholder.Requirements.PastDue; + } + export namespace SpendingControls { + export type AllowedCardPresence = Stripe.Issuing.Cardholder.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe.Issuing.Cardholder.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe.Issuing.Cardholder.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe.Issuing.Cardholder.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe.Issuing.Cardholder.SpendingControls.SpendingLimit; + export namespace SpendingLimit { + export type Category = Stripe.Issuing.Cardholder.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe.Issuing.Cardholder.SpendingControls.SpendingLimit.Interval; + } + } } export namespace DisputeCreateParams { export type Evidence = Stripe.Issuing.DisputeCreateParams.Evidence; export type Treasury = Stripe.Issuing.DisputeCreateParams.Treasury; + export namespace Evidence { + export type Canceled = Stripe.Issuing.DisputeCreateParams.Evidence.Canceled; + export type Duplicate = Stripe.Issuing.DisputeCreateParams.Evidence.Duplicate; + export type Fraudulent = Stripe.Issuing.DisputeCreateParams.Evidence.Fraudulent; + export type MerchandiseNotAsDescribed = Stripe.Issuing.DisputeCreateParams.Evidence.MerchandiseNotAsDescribed; + export type NoValidAuthorization = Stripe.Issuing.DisputeCreateParams.Evidence.NoValidAuthorization; + export type NotReceived = Stripe.Issuing.DisputeCreateParams.Evidence.NotReceived; + export type Other = Stripe.Issuing.DisputeCreateParams.Evidence.Other; + export type Reason = Stripe.Issuing.DisputeCreateParams.Evidence.Reason; + export type ServiceNotAsDescribed = Stripe.Issuing.DisputeCreateParams.Evidence.ServiceNotAsDescribed; + export namespace Canceled { + export type ProductType = Stripe.Issuing.DisputeCreateParams.Evidence.Canceled.ProductType; + export type ReturnStatus = Stripe.Issuing.DisputeCreateParams.Evidence.Canceled.ReturnStatus; + } + export namespace MerchandiseNotAsDescribed { + export type ReturnStatus = Stripe.Issuing.DisputeCreateParams.Evidence.MerchandiseNotAsDescribed.ReturnStatus; + } + export namespace NotReceived { + export type ProductType = Stripe.Issuing.DisputeCreateParams.Evidence.NotReceived.ProductType; + } + export namespace Other { + export type ProductType = Stripe.Issuing.DisputeCreateParams.Evidence.Other.ProductType; + } + } } - export namespace DisputeUpdateParams { - export type Evidence = Stripe.Issuing.DisputeUpdateParams.Evidence; - } - export namespace DisputeListParams { - export type Status = Stripe.Issuing.DisputeListParams.Status; + export namespace Dispute { + export type Evidence = Stripe.Issuing.Dispute.Evidence; + export type LossReason = Stripe.Issuing.Dispute.LossReason; + export type Status = Stripe.Issuing.Dispute.Status; + export type Treasury = Stripe.Issuing.Dispute.Treasury; + export namespace Evidence { + export type Canceled = Stripe.Issuing.Dispute.Evidence.Canceled; + export type Duplicate = Stripe.Issuing.Dispute.Evidence.Duplicate; + export type Fraudulent = Stripe.Issuing.Dispute.Evidence.Fraudulent; + export type MerchandiseNotAsDescribed = Stripe.Issuing.Dispute.Evidence.MerchandiseNotAsDescribed; + export type NoValidAuthorization = Stripe.Issuing.Dispute.Evidence.NoValidAuthorization; + export type NotReceived = Stripe.Issuing.Dispute.Evidence.NotReceived; + export type Other = Stripe.Issuing.Dispute.Evidence.Other; + export type Reason = Stripe.Issuing.Dispute.Evidence.Reason; + export type ServiceNotAsDescribed = Stripe.Issuing.Dispute.Evidence.ServiceNotAsDescribed; + export namespace Canceled { + export type ProductType = Stripe.Issuing.Dispute.Evidence.Canceled.ProductType; + export type ReturnStatus = Stripe.Issuing.Dispute.Evidence.Canceled.ReturnStatus; + } + export namespace MerchandiseNotAsDescribed { + export type ReturnStatus = Stripe.Issuing.Dispute.Evidence.MerchandiseNotAsDescribed.ReturnStatus; + } + export namespace NotReceived { + export type ProductType = Stripe.Issuing.Dispute.Evidence.NotReceived.ProductType; + } + export namespace Other { + export type ProductType = Stripe.Issuing.Dispute.Evidence.Other.ProductType; + } + } } export namespace PersonalizationDesignCreateParams { export type CarrierText = Stripe.Issuing.PersonalizationDesignCreateParams.CarrierText; export type Preferences = Stripe.Issuing.PersonalizationDesignCreateParams.Preferences; } - export namespace PersonalizationDesignUpdateParams { - export type CarrierText = Stripe.Issuing.PersonalizationDesignUpdateParams.CarrierText; - export type Preferences = Stripe.Issuing.PersonalizationDesignUpdateParams.Preferences; - } - export namespace PersonalizationDesignListParams { - export type Preferences = Stripe.Issuing.PersonalizationDesignListParams.Preferences; - export type Status = Stripe.Issuing.PersonalizationDesignListParams.Status; - } - export namespace PhysicalBundleListParams { - export type Status = Stripe.Issuing.PhysicalBundleListParams.Status; - export type Type = Stripe.Issuing.PhysicalBundleListParams.Type; + export namespace PersonalizationDesign { + export type CarrierText = Stripe.Issuing.PersonalizationDesign.CarrierText; + export type Preferences = Stripe.Issuing.PersonalizationDesign.Preferences; + export type RejectionReasons = Stripe.Issuing.PersonalizationDesign.RejectionReasons; + export type Status = Stripe.Issuing.PersonalizationDesign.Status; + export namespace RejectionReasons { + export type CardLogo = Stripe.Issuing.PersonalizationDesign.RejectionReasons.CardLogo; + export type CarrierText = Stripe.Issuing.PersonalizationDesign.RejectionReasons.CarrierText; + } } - export namespace TokenUpdateParams { - export type Status = Stripe.Issuing.TokenUpdateParams.Status; + export namespace PhysicalBundle { + export type Features = Stripe.Issuing.PhysicalBundle.Features; + export type Status = Stripe.Issuing.PhysicalBundle.Status; + export type Type = Stripe.Issuing.PhysicalBundle.Type; + export namespace Features { + export type CardLogo = Stripe.Issuing.PhysicalBundle.Features.CardLogo; + export type CarrierText = Stripe.Issuing.PhysicalBundle.Features.CarrierText; + export type SecondLine = Stripe.Issuing.PhysicalBundle.Features.SecondLine; + } } - export namespace TokenListParams { - export type Status = Stripe.Issuing.TokenListParams.Status; + export namespace Token { + export type Network = Stripe.Issuing.Token.Network; + export type NetworkData = Stripe.Issuing.Token.NetworkData; + export type Status = Stripe.Issuing.Token.Status; + export type WalletProvider = Stripe.Issuing.Token.WalletProvider; + export namespace NetworkData { + export type Device = Stripe.Issuing.Token.NetworkData.Device; + export type Mastercard = Stripe.Issuing.Token.NetworkData.Mastercard; + export type Type = Stripe.Issuing.Token.NetworkData.Type; + export type Visa = Stripe.Issuing.Token.NetworkData.Visa; + export type WalletProvider = Stripe.Issuing.Token.NetworkData.WalletProvider; + export namespace Device { + export type Type = Stripe.Issuing.Token.NetworkData.Device.Type; + } + export namespace WalletProvider { + export type CardNumberSource = Stripe.Issuing.Token.NetworkData.WalletProvider.CardNumberSource; + export type CardholderAddress = Stripe.Issuing.Token.NetworkData.WalletProvider.CardholderAddress; + export type ReasonCode = Stripe.Issuing.Token.NetworkData.WalletProvider.ReasonCode; + export type SuggestedDecision = Stripe.Issuing.Token.NetworkData.WalletProvider.SuggestedDecision; + } + } } - export namespace TransactionListParams { - export type Type = Stripe.Issuing.TransactionListParams.Type; + export namespace Transaction { + export type AmountDetails = Stripe.Issuing.Transaction.AmountDetails; + export type MerchantData = Stripe.Issuing.Transaction.MerchantData; + export type NetworkData = Stripe.Issuing.Transaction.NetworkData; + export type PurchaseDetails = Stripe.Issuing.Transaction.PurchaseDetails; + export type Treasury = Stripe.Issuing.Transaction.Treasury; + export type Type = Stripe.Issuing.Transaction.Type; + export type Wallet = Stripe.Issuing.Transaction.Wallet; + export namespace PurchaseDetails { + export type Fleet = Stripe.Issuing.Transaction.PurchaseDetails.Fleet; + export type Flight = Stripe.Issuing.Transaction.PurchaseDetails.Flight; + export type Fuel = Stripe.Issuing.Transaction.PurchaseDetails.Fuel; + export type Lodging = Stripe.Issuing.Transaction.PurchaseDetails.Lodging; + export type Receipt = Stripe.Issuing.Transaction.PurchaseDetails.Receipt; + export namespace Fleet { + export type CardholderPromptData = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.CardholderPromptData; + export type ReportedBreakdown = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown; + export namespace ReportedBreakdown { + export type Fuel = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.Fuel; + export type NonFuel = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.NonFuel; + export type Tax = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.Tax; + } + } + export namespace Flight { + export type Segment = Stripe.Issuing.Transaction.PurchaseDetails.Flight.Segment; + } + } } } export namespace Radar { @@ -1767,10 +10934,108 @@ declare namespace StripeConstructor { export type CustomerDetails = Stripe.Radar.PaymentEvaluationCreateParams.CustomerDetails; export type PaymentDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails; export type ClientDeviceMetadataDetails = Stripe.Radar.PaymentEvaluationCreateParams.ClientDeviceMetadataDetails; + export namespace PaymentDetails { + export type MoneyMovementDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails; + export type PaymentMethodDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails; + export type ShippingDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.ShippingDetails; + export namespace MoneyMovementDetails { + export type Card = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card; + export namespace Card { + export type CustomerPresence = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card.CustomerPresence; + export type PaymentType = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card.PaymentType; + } + } + export namespace PaymentMethodDetails { + export type BillingDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails.BillingDetails; + } + } + } + export namespace PaymentEvaluation { + export type ClientDeviceMetadataDetails = Stripe.Radar.PaymentEvaluation.ClientDeviceMetadataDetails; + export type CustomerDetails = Stripe.Radar.PaymentEvaluation.CustomerDetails; + export type Event = Stripe.Radar.PaymentEvaluation.Event; + export type Outcome = Stripe.Radar.PaymentEvaluation.Outcome; + export type PaymentDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails; + export type RecommendedAction = Stripe.Radar.PaymentEvaluation.RecommendedAction; + export type Signals = Stripe.Radar.PaymentEvaluation.Signals; + export namespace Event { + export type DisputeOpened = Stripe.Radar.PaymentEvaluation.Event.DisputeOpened; + export type EarlyFraudWarningReceived = Stripe.Radar.PaymentEvaluation.Event.EarlyFraudWarningReceived; + export type Refunded = Stripe.Radar.PaymentEvaluation.Event.Refunded; + export type Type = Stripe.Radar.PaymentEvaluation.Event.Type; + export type UserInterventionRaised = Stripe.Radar.PaymentEvaluation.Event.UserInterventionRaised; + export type UserInterventionResolved = Stripe.Radar.PaymentEvaluation.Event.UserInterventionResolved; + export namespace DisputeOpened { + export type Reason = Stripe.Radar.PaymentEvaluation.Event.DisputeOpened.Reason; + } + export namespace EarlyFraudWarningReceived { + export type FraudType = Stripe.Radar.PaymentEvaluation.Event.EarlyFraudWarningReceived.FraudType; + } + export namespace Refunded { + export type Reason = Stripe.Radar.PaymentEvaluation.Event.Refunded.Reason; + } + export namespace UserInterventionRaised { + export type Custom = Stripe.Radar.PaymentEvaluation.Event.UserInterventionRaised.Custom; + export type Type = Stripe.Radar.PaymentEvaluation.Event.UserInterventionRaised.Type; + } + export namespace UserInterventionResolved { + export type Outcome = Stripe.Radar.PaymentEvaluation.Event.UserInterventionResolved.Outcome; + } + } + export namespace Outcome { + export type MerchantBlocked = Stripe.Radar.PaymentEvaluation.Outcome.MerchantBlocked; + export type Rejected = Stripe.Radar.PaymentEvaluation.Outcome.Rejected; + export type Succeeded = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded; + export type Type = Stripe.Radar.PaymentEvaluation.Outcome.Type; + export namespace MerchantBlocked { + export type Reason = Stripe.Radar.PaymentEvaluation.Outcome.MerchantBlocked.Reason; + } + export namespace Rejected { + export type Card = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card; + export namespace Card { + export type AddressLine1Check = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card.AddressPostalCodeCheck; + export type CvcCheck = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card.CvcCheck; + export type Reason = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card.Reason; + } + } + export namespace Succeeded { + export type Card = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded.Card; + export namespace Card { + export type AddressLine1Check = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded.Card.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded.Card.AddressPostalCodeCheck; + export type CvcCheck = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded.Card.CvcCheck; + } + } + } + export namespace PaymentDetails { + export type MoneyMovementDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails; + export type PaymentMethodDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails.PaymentMethodDetails; + export type ShippingDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails.ShippingDetails; + export namespace MoneyMovementDetails { + export type Card = Stripe.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card; + export namespace Card { + export type CustomerPresence = Stripe.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card.CustomerPresence; + export type PaymentType = Stripe.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card.PaymentType; + } + } + export namespace PaymentMethodDetails { + export type BillingDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails.PaymentMethodDetails.BillingDetails; + } + } + export namespace Signals { + export type FraudulentPayment = Stripe.Radar.PaymentEvaluation.Signals.FraudulentPayment; + export namespace FraudulentPayment { + export type RiskLevel = Stripe.Radar.PaymentEvaluation.Signals.FraudulentPayment.RiskLevel; + } + } } export namespace ValueListCreateParams { export type ItemType = Stripe.Radar.ValueListCreateParams.ItemType; } + export namespace ValueList { + export type ItemType = Stripe.Radar.ValueList.ItemType; + } } export namespace Reporting { export type ReportRun = Stripe.Reporting.ReportRun; @@ -1784,6 +11049,13 @@ declare namespace StripeConstructor { export type ReportTypeResource = Stripe.Reporting.ReportTypeResource; export namespace ReportRunCreateParams { export type Parameters = Stripe.Reporting.ReportRunCreateParams.Parameters; + export namespace Parameters { + export type ReportingCategory = Stripe.Reporting.ReportRunCreateParams.Parameters.ReportingCategory; + export type Timezone = Stripe.Reporting.ReportRunCreateParams.Parameters.Timezone; + } + } + export namespace ReportRun { + export type Parameters = Stripe.Reporting.ReportRun.Parameters; } } export namespace Sigma { @@ -1791,6 +11063,9 @@ declare namespace StripeConstructor { export type ScheduledQueryRunRetrieveParams = Stripe.Sigma.ScheduledQueryRunRetrieveParams; export type ScheduledQueryRunListParams = Stripe.Sigma.ScheduledQueryRunListParams; export type ScheduledQueryRunResource = Stripe.Sigma.ScheduledQueryRunResource; + export namespace ScheduledQueryRun { + export type Error = Stripe.Sigma.ScheduledQueryRun.Error; + } } export namespace Tax { export type Association = Stripe.Tax.Association; @@ -1819,26 +11094,995 @@ declare namespace StripeConstructor { export type TransactionResource = Stripe.Tax.TransactionResource; export type CalculationLineItem = Stripe.Tax.CalculationLineItem; export type TransactionLineItem = Stripe.Tax.TransactionLineItem; + export namespace Association { + export type TaxTransactionAttempt = Stripe.Tax.Association.TaxTransactionAttempt; + export namespace TaxTransactionAttempt { + export type Committed = Stripe.Tax.Association.TaxTransactionAttempt.Committed; + export type Errored = Stripe.Tax.Association.TaxTransactionAttempt.Errored; + export namespace Errored { + export type Reason = Stripe.Tax.Association.TaxTransactionAttempt.Errored.Reason; + } + } + } export namespace CalculationCreateParams { export type LineItem = Stripe.Tax.CalculationCreateParams.LineItem; export type CustomerDetails = Stripe.Tax.CalculationCreateParams.CustomerDetails; export type ShipFromDetails = Stripe.Tax.CalculationCreateParams.ShipFromDetails; export type ShippingCost = Stripe.Tax.CalculationCreateParams.ShippingCost; + export namespace CustomerDetails { + export type Address = Stripe.Tax.CalculationCreateParams.CustomerDetails.Address; + export type AddressSource = Stripe.Tax.CalculationCreateParams.CustomerDetails.AddressSource; + export type TaxId = Stripe.Tax.CalculationCreateParams.CustomerDetails.TaxId; + export type TaxabilityOverride = Stripe.Tax.CalculationCreateParams.CustomerDetails.TaxabilityOverride; + export namespace TaxId { + export type Type = Stripe.Tax.CalculationCreateParams.CustomerDetails.TaxId.Type; + } + } + export namespace LineItem { + export type TaxBehavior = Stripe.Tax.CalculationCreateParams.LineItem.TaxBehavior; + } + export namespace ShipFromDetails { + export type Address = Stripe.Tax.CalculationCreateParams.ShipFromDetails.Address; + } + export namespace ShippingCost { + export type TaxBehavior = Stripe.Tax.CalculationCreateParams.ShippingCost.TaxBehavior; + } + } + export namespace Calculation { + export type CustomerDetails = Stripe.Tax.Calculation.CustomerDetails; + export type ShipFromDetails = Stripe.Tax.Calculation.ShipFromDetails; + export type ShippingCost = Stripe.Tax.Calculation.ShippingCost; + export type TaxBreakdown = Stripe.Tax.Calculation.TaxBreakdown; + export namespace CustomerDetails { + export type AddressSource = Stripe.Tax.Calculation.CustomerDetails.AddressSource; + export type TaxId = Stripe.Tax.Calculation.CustomerDetails.TaxId; + export type TaxabilityOverride = Stripe.Tax.Calculation.CustomerDetails.TaxabilityOverride; + export namespace TaxId { + export type Type = Stripe.Tax.Calculation.CustomerDetails.TaxId.Type; + } + } + export namespace ShippingCost { + export type TaxBehavior = Stripe.Tax.Calculation.ShippingCost.TaxBehavior; + export type TaxBreakdown = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown; + export namespace TaxBreakdown { + export type Jurisdiction = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.Jurisdiction; + export type Sourcing = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.Sourcing; + export type TaxRateDetails = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails; + export type TaxabilityReason = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.TaxabilityReason; + export namespace Jurisdiction { + export type Level = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.Jurisdiction.Level; + } + export namespace TaxRateDetails { + export type TaxType = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.TaxType; + } + } + } + export namespace TaxBreakdown { + export type TaxRateDetails = Stripe.Tax.Calculation.TaxBreakdown.TaxRateDetails; + export type TaxabilityReason = Stripe.Tax.Calculation.TaxBreakdown.TaxabilityReason; + export namespace TaxRateDetails { + export type FlatAmount = Stripe.Tax.Calculation.TaxBreakdown.TaxRateDetails.FlatAmount; + export type RateType = Stripe.Tax.Calculation.TaxBreakdown.TaxRateDetails.RateType; + export type TaxType = Stripe.Tax.Calculation.TaxBreakdown.TaxRateDetails.TaxType; + } + } } export namespace RegistrationCreateParams { export type CountryOptions = Stripe.Tax.RegistrationCreateParams.CountryOptions; + export namespace CountryOptions { + export type Ae = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ae; + export type Al = Stripe.Tax.RegistrationCreateParams.CountryOptions.Al; + export type Am = Stripe.Tax.RegistrationCreateParams.CountryOptions.Am; + export type Ao = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ao; + export type At = Stripe.Tax.RegistrationCreateParams.CountryOptions.At; + export type Au = Stripe.Tax.RegistrationCreateParams.CountryOptions.Au; + export type Aw = Stripe.Tax.RegistrationCreateParams.CountryOptions.Aw; + export type Az = Stripe.Tax.RegistrationCreateParams.CountryOptions.Az; + export type Ba = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ba; + export type Bb = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bb; + export type Bd = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bd; + export type Be = Stripe.Tax.RegistrationCreateParams.CountryOptions.Be; + export type Bf = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bf; + export type Bg = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bg; + export type Bh = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bh; + export type Bj = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bj; + export type Bs = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bs; + export type By = Stripe.Tax.RegistrationCreateParams.CountryOptions.By; + export type Ca = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ca; + export type Cd = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cd; + export type Ch = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ch; + export type Cl = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cl; + export type Cm = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cm; + export type Co = Stripe.Tax.RegistrationCreateParams.CountryOptions.Co; + export type Cr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cr; + export type Cv = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cv; + export type Cy = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cy; + export type Cz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cz; + export type De = Stripe.Tax.RegistrationCreateParams.CountryOptions.De; + export type Dk = Stripe.Tax.RegistrationCreateParams.CountryOptions.Dk; + export type Ec = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ec; + export type Ee = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ee; + export type Eg = Stripe.Tax.RegistrationCreateParams.CountryOptions.Eg; + export type Es = Stripe.Tax.RegistrationCreateParams.CountryOptions.Es; + export type Et = Stripe.Tax.RegistrationCreateParams.CountryOptions.Et; + export type Fi = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fi; + export type Fr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fr; + export type Gb = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gb; + export type Ge = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ge; + export type Gn = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gn; + export type Gr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gr; + export type Hr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hr; + export type Hu = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hu; + export type Id = Stripe.Tax.RegistrationCreateParams.CountryOptions.Id; + export type Ie = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ie; + export type In = Stripe.Tax.RegistrationCreateParams.CountryOptions.In; + export type Is = Stripe.Tax.RegistrationCreateParams.CountryOptions.Is; + export type It = Stripe.Tax.RegistrationCreateParams.CountryOptions.It; + export type Jp = Stripe.Tax.RegistrationCreateParams.CountryOptions.Jp; + export type Ke = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ke; + export type Kg = Stripe.Tax.RegistrationCreateParams.CountryOptions.Kg; + export type Kh = Stripe.Tax.RegistrationCreateParams.CountryOptions.Kh; + export type Kr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Kr; + export type Kz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Kz; + export type La = Stripe.Tax.RegistrationCreateParams.CountryOptions.La; + export type Lk = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lk; + export type Lt = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lt; + export type Lu = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lu; + export type Lv = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lv; + export type Ma = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ma; + export type Md = Stripe.Tax.RegistrationCreateParams.CountryOptions.Md; + export type Me = Stripe.Tax.RegistrationCreateParams.CountryOptions.Me; + export type Mk = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mk; + export type Mr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mr; + export type Mt = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mt; + export type Mx = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mx; + export type My = Stripe.Tax.RegistrationCreateParams.CountryOptions.My; + export type Ng = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ng; + export type Nl = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nl; + export type No = Stripe.Tax.RegistrationCreateParams.CountryOptions.No; + export type Np = Stripe.Tax.RegistrationCreateParams.CountryOptions.Np; + export type Nz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nz; + export type Om = Stripe.Tax.RegistrationCreateParams.CountryOptions.Om; + export type Pe = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pe; + export type Ph = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ph; + export type Pl = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pl; + export type Pt = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pt; + export type Ro = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ro; + export type Rs = Stripe.Tax.RegistrationCreateParams.CountryOptions.Rs; + export type Ru = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ru; + export type Sa = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sa; + export type Se = Stripe.Tax.RegistrationCreateParams.CountryOptions.Se; + export type Sg = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sg; + export type Si = Stripe.Tax.RegistrationCreateParams.CountryOptions.Si; + export type Sk = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sk; + export type Sn = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sn; + export type Sr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sr; + export type Th = Stripe.Tax.RegistrationCreateParams.CountryOptions.Th; + export type Tj = Stripe.Tax.RegistrationCreateParams.CountryOptions.Tj; + export type Tr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Tr; + export type Tw = Stripe.Tax.RegistrationCreateParams.CountryOptions.Tw; + export type Tz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Tz; + export type Ua = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ua; + export type Ug = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ug; + export type Us = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us; + export type Uy = Stripe.Tax.RegistrationCreateParams.CountryOptions.Uy; + export type Uz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Uz; + export type Vn = Stripe.Tax.RegistrationCreateParams.CountryOptions.Vn; + export type Za = Stripe.Tax.RegistrationCreateParams.CountryOptions.Za; + export type Zm = Stripe.Tax.RegistrationCreateParams.CountryOptions.Zm; + export type Zw = Stripe.Tax.RegistrationCreateParams.CountryOptions.Zw; + export namespace Ae { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ae.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ae.Standard.PlaceOfSupplyScheme; + } + } + export namespace Al { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Al.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Al.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ao { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ao.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ao.Standard.PlaceOfSupplyScheme; + } + } + export namespace At { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.At.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.At.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.At.Standard.PlaceOfSupplyScheme; + } + } + export namespace Au { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Au.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Au.Standard.PlaceOfSupplyScheme; + } + } + export namespace Aw { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Aw.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Aw.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ba { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ba.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ba.Standard.PlaceOfSupplyScheme; + } + } + export namespace Bb { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bb.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bb.Standard.PlaceOfSupplyScheme; + } + } + export namespace Bd { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bd.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bd.Standard.PlaceOfSupplyScheme; + } + } + export namespace Be { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Be.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Be.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Be.Standard.PlaceOfSupplyScheme; + } + } + export namespace Bf { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bf.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bf.Standard.PlaceOfSupplyScheme; + } + } + export namespace Bg { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bg.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bg.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bg.Standard.PlaceOfSupplyScheme; + } + } + export namespace Bh { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bh.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bh.Standard.PlaceOfSupplyScheme; + } + } + export namespace Bs { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bs.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bs.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ca { + export type ProvinceStandard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ca.Type; + } + export namespace Cd { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cd.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cd.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ch { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ch.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ch.Standard.PlaceOfSupplyScheme; + } + } + export namespace Cy { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cy.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cy.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cy.Standard.PlaceOfSupplyScheme; + } + } + export namespace Cz { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cz.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cz.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cz.Standard.PlaceOfSupplyScheme; + } + } + export namespace De { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.De.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.De.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.De.Standard.PlaceOfSupplyScheme; + } + } + export namespace Dk { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Dk.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Dk.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Dk.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ee { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ee.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ee.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ee.Standard.PlaceOfSupplyScheme; + } + } + export namespace Es { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Es.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Es.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Es.Standard.PlaceOfSupplyScheme; + } + } + export namespace Et { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Et.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Et.Standard.PlaceOfSupplyScheme; + } + } + export namespace Fi { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fi.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fi.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fi.Standard.PlaceOfSupplyScheme; + } + } + export namespace Fr { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fr.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fr.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fr.Standard.PlaceOfSupplyScheme; + } + } + export namespace Gb { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gb.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gb.Standard.PlaceOfSupplyScheme; + } + } + export namespace Gn { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gn.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gn.Standard.PlaceOfSupplyScheme; + } + } + export namespace Gr { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gr.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gr.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gr.Standard.PlaceOfSupplyScheme; + } + } + export namespace Hr { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hr.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hr.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hr.Standard.PlaceOfSupplyScheme; + } + } + export namespace Hu { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hu.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hu.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hu.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ie { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ie.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ie.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ie.Standard.PlaceOfSupplyScheme; + } + } + export namespace Is { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Is.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Is.Standard.PlaceOfSupplyScheme; + } + } + export namespace It { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.It.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.It.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.It.Standard.PlaceOfSupplyScheme; + } + } + export namespace Jp { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Jp.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Jp.Standard.PlaceOfSupplyScheme; + } + } + export namespace Lt { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lt.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lt.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lt.Standard.PlaceOfSupplyScheme; + } + } + export namespace Lu { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lu.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lu.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lu.Standard.PlaceOfSupplyScheme; + } + } + export namespace Lv { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lv.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lv.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lv.Standard.PlaceOfSupplyScheme; + } + } + export namespace Me { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Me.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Me.Standard.PlaceOfSupplyScheme; + } + } + export namespace Mk { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mk.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mk.Standard.PlaceOfSupplyScheme; + } + } + export namespace Mr { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mr.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mr.Standard.PlaceOfSupplyScheme; + } + } + export namespace Mt { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mt.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mt.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mt.Standard.PlaceOfSupplyScheme; + } + } + export namespace Nl { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nl.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nl.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nl.Standard.PlaceOfSupplyScheme; + } + } + export namespace No { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.No.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.No.Standard.PlaceOfSupplyScheme; + } + } + export namespace Nz { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nz.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nz.Standard.PlaceOfSupplyScheme; + } + } + export namespace Om { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Om.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Om.Standard.PlaceOfSupplyScheme; + } + } + export namespace Pl { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pl.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pl.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pl.Standard.PlaceOfSupplyScheme; + } + } + export namespace Pt { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pt.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pt.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pt.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ro { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ro.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ro.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ro.Standard.PlaceOfSupplyScheme; + } + } + export namespace Rs { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Rs.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Rs.Standard.PlaceOfSupplyScheme; + } + } + export namespace Se { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Se.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Se.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Se.Standard.PlaceOfSupplyScheme; + } + } + export namespace Sg { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sg.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sg.Standard.PlaceOfSupplyScheme; + } + } + export namespace Si { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Si.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Si.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Si.Standard.PlaceOfSupplyScheme; + } + } + export namespace Sk { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sk.Standard; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sk.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sk.Standard.PlaceOfSupplyScheme; + } + } + export namespace Sr { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sr.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sr.Standard.PlaceOfSupplyScheme; + } + } + export namespace Us { + export type LocalAmusementTax = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.LocalAmusementTax; + export type LocalLeaseTax = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.LocalLeaseTax; + export type StateSalesTax = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax; + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.Type; + export namespace StateSalesTax { + export type Election = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax.Election; + export namespace Election { + export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax.Election.Type; + } + } + } + export namespace Uy { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Uy.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Uy.Standard.PlaceOfSupplyScheme; + } + } + export namespace Za { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Za.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Za.Standard.PlaceOfSupplyScheme; + } + } + export namespace Zw { + export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Zw.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Zw.Standard.PlaceOfSupplyScheme; + } + } + } + } + export namespace Registration { + export type CountryOptions = Stripe.Tax.Registration.CountryOptions; + export type Status = Stripe.Tax.Registration.Status; + export namespace CountryOptions { + export type Ae = Stripe.Tax.Registration.CountryOptions.Ae; + export type Al = Stripe.Tax.Registration.CountryOptions.Al; + export type Am = Stripe.Tax.Registration.CountryOptions.Am; + export type Ao = Stripe.Tax.Registration.CountryOptions.Ao; + export type At = Stripe.Tax.Registration.CountryOptions.At; + export type Au = Stripe.Tax.Registration.CountryOptions.Au; + export type Aw = Stripe.Tax.Registration.CountryOptions.Aw; + export type Az = Stripe.Tax.Registration.CountryOptions.Az; + export type Ba = Stripe.Tax.Registration.CountryOptions.Ba; + export type Bb = Stripe.Tax.Registration.CountryOptions.Bb; + export type Bd = Stripe.Tax.Registration.CountryOptions.Bd; + export type Be = Stripe.Tax.Registration.CountryOptions.Be; + export type Bf = Stripe.Tax.Registration.CountryOptions.Bf; + export type Bg = Stripe.Tax.Registration.CountryOptions.Bg; + export type Bh = Stripe.Tax.Registration.CountryOptions.Bh; + export type Bj = Stripe.Tax.Registration.CountryOptions.Bj; + export type Bs = Stripe.Tax.Registration.CountryOptions.Bs; + export type By = Stripe.Tax.Registration.CountryOptions.By; + export type Ca = Stripe.Tax.Registration.CountryOptions.Ca; + export type Cd = Stripe.Tax.Registration.CountryOptions.Cd; + export type Ch = Stripe.Tax.Registration.CountryOptions.Ch; + export type Cl = Stripe.Tax.Registration.CountryOptions.Cl; + export type Cm = Stripe.Tax.Registration.CountryOptions.Cm; + export type Co = Stripe.Tax.Registration.CountryOptions.Co; + export type Cr = Stripe.Tax.Registration.CountryOptions.Cr; + export type Cv = Stripe.Tax.Registration.CountryOptions.Cv; + export type Cy = Stripe.Tax.Registration.CountryOptions.Cy; + export type Cz = Stripe.Tax.Registration.CountryOptions.Cz; + export type De = Stripe.Tax.Registration.CountryOptions.De; + export type Dk = Stripe.Tax.Registration.CountryOptions.Dk; + export type Ec = Stripe.Tax.Registration.CountryOptions.Ec; + export type Ee = Stripe.Tax.Registration.CountryOptions.Ee; + export type Eg = Stripe.Tax.Registration.CountryOptions.Eg; + export type Es = Stripe.Tax.Registration.CountryOptions.Es; + export type Et = Stripe.Tax.Registration.CountryOptions.Et; + export type Fi = Stripe.Tax.Registration.CountryOptions.Fi; + export type Fr = Stripe.Tax.Registration.CountryOptions.Fr; + export type Gb = Stripe.Tax.Registration.CountryOptions.Gb; + export type Ge = Stripe.Tax.Registration.CountryOptions.Ge; + export type Gn = Stripe.Tax.Registration.CountryOptions.Gn; + export type Gr = Stripe.Tax.Registration.CountryOptions.Gr; + export type Hr = Stripe.Tax.Registration.CountryOptions.Hr; + export type Hu = Stripe.Tax.Registration.CountryOptions.Hu; + export type Id = Stripe.Tax.Registration.CountryOptions.Id; + export type Ie = Stripe.Tax.Registration.CountryOptions.Ie; + export type In = Stripe.Tax.Registration.CountryOptions.In; + export type Is = Stripe.Tax.Registration.CountryOptions.Is; + export type It = Stripe.Tax.Registration.CountryOptions.It; + export type Jp = Stripe.Tax.Registration.CountryOptions.Jp; + export type Ke = Stripe.Tax.Registration.CountryOptions.Ke; + export type Kg = Stripe.Tax.Registration.CountryOptions.Kg; + export type Kh = Stripe.Tax.Registration.CountryOptions.Kh; + export type Kr = Stripe.Tax.Registration.CountryOptions.Kr; + export type Kz = Stripe.Tax.Registration.CountryOptions.Kz; + export type La = Stripe.Tax.Registration.CountryOptions.La; + export type Lk = Stripe.Tax.Registration.CountryOptions.Lk; + export type Lt = Stripe.Tax.Registration.CountryOptions.Lt; + export type Lu = Stripe.Tax.Registration.CountryOptions.Lu; + export type Lv = Stripe.Tax.Registration.CountryOptions.Lv; + export type Ma = Stripe.Tax.Registration.CountryOptions.Ma; + export type Md = Stripe.Tax.Registration.CountryOptions.Md; + export type Me = Stripe.Tax.Registration.CountryOptions.Me; + export type Mk = Stripe.Tax.Registration.CountryOptions.Mk; + export type Mr = Stripe.Tax.Registration.CountryOptions.Mr; + export type Mt = Stripe.Tax.Registration.CountryOptions.Mt; + export type Mx = Stripe.Tax.Registration.CountryOptions.Mx; + export type My = Stripe.Tax.Registration.CountryOptions.My; + export type Ng = Stripe.Tax.Registration.CountryOptions.Ng; + export type Nl = Stripe.Tax.Registration.CountryOptions.Nl; + export type No = Stripe.Tax.Registration.CountryOptions.No; + export type Np = Stripe.Tax.Registration.CountryOptions.Np; + export type Nz = Stripe.Tax.Registration.CountryOptions.Nz; + export type Om = Stripe.Tax.Registration.CountryOptions.Om; + export type Pe = Stripe.Tax.Registration.CountryOptions.Pe; + export type Ph = Stripe.Tax.Registration.CountryOptions.Ph; + export type Pl = Stripe.Tax.Registration.CountryOptions.Pl; + export type Pt = Stripe.Tax.Registration.CountryOptions.Pt; + export type Ro = Stripe.Tax.Registration.CountryOptions.Ro; + export type Rs = Stripe.Tax.Registration.CountryOptions.Rs; + export type Ru = Stripe.Tax.Registration.CountryOptions.Ru; + export type Sa = Stripe.Tax.Registration.CountryOptions.Sa; + export type Se = Stripe.Tax.Registration.CountryOptions.Se; + export type Sg = Stripe.Tax.Registration.CountryOptions.Sg; + export type Si = Stripe.Tax.Registration.CountryOptions.Si; + export type Sk = Stripe.Tax.Registration.CountryOptions.Sk; + export type Sn = Stripe.Tax.Registration.CountryOptions.Sn; + export type Sr = Stripe.Tax.Registration.CountryOptions.Sr; + export type Th = Stripe.Tax.Registration.CountryOptions.Th; + export type Tj = Stripe.Tax.Registration.CountryOptions.Tj; + export type Tr = Stripe.Tax.Registration.CountryOptions.Tr; + export type Tw = Stripe.Tax.Registration.CountryOptions.Tw; + export type Tz = Stripe.Tax.Registration.CountryOptions.Tz; + export type Ua = Stripe.Tax.Registration.CountryOptions.Ua; + export type Ug = Stripe.Tax.Registration.CountryOptions.Ug; + export type Us = Stripe.Tax.Registration.CountryOptions.Us; + export type Uy = Stripe.Tax.Registration.CountryOptions.Uy; + export type Uz = Stripe.Tax.Registration.CountryOptions.Uz; + export type Vn = Stripe.Tax.Registration.CountryOptions.Vn; + export type Za = Stripe.Tax.Registration.CountryOptions.Za; + export type Zm = Stripe.Tax.Registration.CountryOptions.Zm; + export type Zw = Stripe.Tax.Registration.CountryOptions.Zw; + export namespace Ae { + export type Standard = Stripe.Tax.Registration.CountryOptions.Ae.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ae.Standard.PlaceOfSupplyScheme; + } + } + export namespace At { + export type Standard = Stripe.Tax.Registration.CountryOptions.At.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.At.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.At.Standard.PlaceOfSupplyScheme; + } + } + export namespace Au { + export type Standard = Stripe.Tax.Registration.CountryOptions.Au.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Au.Standard.PlaceOfSupplyScheme; + } + } + export namespace Be { + export type Standard = Stripe.Tax.Registration.CountryOptions.Be.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Be.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Be.Standard.PlaceOfSupplyScheme; + } + } + export namespace Bg { + export type Standard = Stripe.Tax.Registration.CountryOptions.Bg.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Bg.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Bg.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ca { + export type ProvinceStandard = Stripe.Tax.Registration.CountryOptions.Ca.ProvinceStandard; + export type Type = Stripe.Tax.Registration.CountryOptions.Ca.Type; + } + export namespace Ch { + export type Standard = Stripe.Tax.Registration.CountryOptions.Ch.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ch.Standard.PlaceOfSupplyScheme; + } + } + export namespace Cy { + export type Standard = Stripe.Tax.Registration.CountryOptions.Cy.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Cy.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Cy.Standard.PlaceOfSupplyScheme; + } + } + export namespace Cz { + export type Standard = Stripe.Tax.Registration.CountryOptions.Cz.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Cz.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Cz.Standard.PlaceOfSupplyScheme; + } + } + export namespace De { + export type Standard = Stripe.Tax.Registration.CountryOptions.De.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.De.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.De.Standard.PlaceOfSupplyScheme; + } + } + export namespace Dk { + export type Standard = Stripe.Tax.Registration.CountryOptions.Dk.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Dk.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Dk.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ee { + export type Standard = Stripe.Tax.Registration.CountryOptions.Ee.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Ee.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ee.Standard.PlaceOfSupplyScheme; + } + } + export namespace Es { + export type Standard = Stripe.Tax.Registration.CountryOptions.Es.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Es.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Es.Standard.PlaceOfSupplyScheme; + } + } + export namespace Fi { + export type Standard = Stripe.Tax.Registration.CountryOptions.Fi.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Fi.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Fi.Standard.PlaceOfSupplyScheme; + } + } + export namespace Fr { + export type Standard = Stripe.Tax.Registration.CountryOptions.Fr.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Fr.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Fr.Standard.PlaceOfSupplyScheme; + } + } + export namespace Gb { + export type Standard = Stripe.Tax.Registration.CountryOptions.Gb.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Gb.Standard.PlaceOfSupplyScheme; + } + } + export namespace Gr { + export type Standard = Stripe.Tax.Registration.CountryOptions.Gr.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Gr.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Gr.Standard.PlaceOfSupplyScheme; + } + } + export namespace Hr { + export type Standard = Stripe.Tax.Registration.CountryOptions.Hr.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Hr.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Hr.Standard.PlaceOfSupplyScheme; + } + } + export namespace Hu { + export type Standard = Stripe.Tax.Registration.CountryOptions.Hu.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Hu.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Hu.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ie { + export type Standard = Stripe.Tax.Registration.CountryOptions.Ie.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Ie.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ie.Standard.PlaceOfSupplyScheme; + } + } + export namespace It { + export type Standard = Stripe.Tax.Registration.CountryOptions.It.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.It.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.It.Standard.PlaceOfSupplyScheme; + } + } + export namespace Jp { + export type Standard = Stripe.Tax.Registration.CountryOptions.Jp.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Jp.Standard.PlaceOfSupplyScheme; + } + } + export namespace Lt { + export type Standard = Stripe.Tax.Registration.CountryOptions.Lt.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Lt.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Lt.Standard.PlaceOfSupplyScheme; + } + } + export namespace Lu { + export type Standard = Stripe.Tax.Registration.CountryOptions.Lu.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Lu.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Lu.Standard.PlaceOfSupplyScheme; + } + } + export namespace Lv { + export type Standard = Stripe.Tax.Registration.CountryOptions.Lv.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Lv.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Lv.Standard.PlaceOfSupplyScheme; + } + } + export namespace Mt { + export type Standard = Stripe.Tax.Registration.CountryOptions.Mt.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Mt.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Mt.Standard.PlaceOfSupplyScheme; + } + } + export namespace Nl { + export type Standard = Stripe.Tax.Registration.CountryOptions.Nl.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Nl.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Nl.Standard.PlaceOfSupplyScheme; + } + } + export namespace No { + export type Standard = Stripe.Tax.Registration.CountryOptions.No.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.No.Standard.PlaceOfSupplyScheme; + } + } + export namespace Nz { + export type Standard = Stripe.Tax.Registration.CountryOptions.Nz.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Nz.Standard.PlaceOfSupplyScheme; + } + } + export namespace Pl { + export type Standard = Stripe.Tax.Registration.CountryOptions.Pl.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Pl.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Pl.Standard.PlaceOfSupplyScheme; + } + } + export namespace Pt { + export type Standard = Stripe.Tax.Registration.CountryOptions.Pt.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Pt.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Pt.Standard.PlaceOfSupplyScheme; + } + } + export namespace Ro { + export type Standard = Stripe.Tax.Registration.CountryOptions.Ro.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Ro.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ro.Standard.PlaceOfSupplyScheme; + } + } + export namespace Se { + export type Standard = Stripe.Tax.Registration.CountryOptions.Se.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Se.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Se.Standard.PlaceOfSupplyScheme; + } + } + export namespace Sg { + export type Standard = Stripe.Tax.Registration.CountryOptions.Sg.Standard; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Sg.Standard.PlaceOfSupplyScheme; + } + } + export namespace Si { + export type Standard = Stripe.Tax.Registration.CountryOptions.Si.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Si.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Si.Standard.PlaceOfSupplyScheme; + } + } + export namespace Sk { + export type Standard = Stripe.Tax.Registration.CountryOptions.Sk.Standard; + export type Type = Stripe.Tax.Registration.CountryOptions.Sk.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Sk.Standard.PlaceOfSupplyScheme; + } + } + export namespace Us { + export type LocalAmusementTax = Stripe.Tax.Registration.CountryOptions.Us.LocalAmusementTax; + export type LocalLeaseTax = Stripe.Tax.Registration.CountryOptions.Us.LocalLeaseTax; + export type StateSalesTax = Stripe.Tax.Registration.CountryOptions.Us.StateSalesTax; + export type Type = Stripe.Tax.Registration.CountryOptions.Us.Type; + export namespace StateSalesTax { + export type Election = Stripe.Tax.Registration.CountryOptions.Us.StateSalesTax.Election; + export namespace Election { + export type Type = Stripe.Tax.Registration.CountryOptions.Us.StateSalesTax.Election.Type; + } + } + } + } + } + export namespace Settings { + export type Defaults = Stripe.Tax.Settings.Defaults; + export type HeadOffice = Stripe.Tax.Settings.HeadOffice; + export type Status = Stripe.Tax.Settings.Status; + export type StatusDetails = Stripe.Tax.Settings.StatusDetails; + export namespace Defaults { + export type Provider = Stripe.Tax.Settings.Defaults.Provider; + export type TaxBehavior = Stripe.Tax.Settings.Defaults.TaxBehavior; + } + export namespace StatusDetails { + export type Active = Stripe.Tax.Settings.StatusDetails.Active; + export type Pending = Stripe.Tax.Settings.StatusDetails.Pending; + } } - export namespace RegistrationListParams { - export type Status = Stripe.Tax.RegistrationListParams.Status; + export namespace Transaction { + export type CustomerDetails = Stripe.Tax.Transaction.CustomerDetails; + export type Reversal = Stripe.Tax.Transaction.Reversal; + export type ShipFromDetails = Stripe.Tax.Transaction.ShipFromDetails; + export type ShippingCost = Stripe.Tax.Transaction.ShippingCost; + export type Type = Stripe.Tax.Transaction.Type; + export namespace CustomerDetails { + export type AddressSource = Stripe.Tax.Transaction.CustomerDetails.AddressSource; + export type TaxId = Stripe.Tax.Transaction.CustomerDetails.TaxId; + export type TaxabilityOverride = Stripe.Tax.Transaction.CustomerDetails.TaxabilityOverride; + export namespace TaxId { + export type Type = Stripe.Tax.Transaction.CustomerDetails.TaxId.Type; + } + } + export namespace ShippingCost { + export type TaxBehavior = Stripe.Tax.Transaction.ShippingCost.TaxBehavior; + export type TaxBreakdown = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown; + export namespace TaxBreakdown { + export type Jurisdiction = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.Jurisdiction; + export type Sourcing = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.Sourcing; + export type TaxRateDetails = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails; + export type TaxabilityReason = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.TaxabilityReason; + export namespace Jurisdiction { + export type Level = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.Jurisdiction.Level; + } + export namespace TaxRateDetails { + export type TaxType = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.TaxType; + } + } + } } - export namespace SettingsUpdateParams { - export type Defaults = Stripe.Tax.SettingsUpdateParams.Defaults; - export type HeadOffice = Stripe.Tax.SettingsUpdateParams.HeadOffice; + export namespace CalculationLineItem { + export type TaxBehavior = Stripe.Tax.CalculationLineItem.TaxBehavior; + export type TaxBreakdown = Stripe.Tax.CalculationLineItem.TaxBreakdown; + export namespace TaxBreakdown { + export type Jurisdiction = Stripe.Tax.CalculationLineItem.TaxBreakdown.Jurisdiction; + export type Sourcing = Stripe.Tax.CalculationLineItem.TaxBreakdown.Sourcing; + export type TaxRateDetails = Stripe.Tax.CalculationLineItem.TaxBreakdown.TaxRateDetails; + export type TaxabilityReason = Stripe.Tax.CalculationLineItem.TaxBreakdown.TaxabilityReason; + export namespace Jurisdiction { + export type Level = Stripe.Tax.CalculationLineItem.TaxBreakdown.Jurisdiction.Level; + } + export namespace TaxRateDetails { + export type TaxType = Stripe.Tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.TaxType; + } + } } - export namespace TransactionCreateReversalParams { - export type Mode = Stripe.Tax.TransactionCreateReversalParams.Mode; - export type LineItem = Stripe.Tax.TransactionCreateReversalParams.LineItem; - export type ShippingCost = Stripe.Tax.TransactionCreateReversalParams.ShippingCost; + export namespace TransactionLineItem { + export type Reversal = Stripe.Tax.TransactionLineItem.Reversal; + export type TaxBehavior = Stripe.Tax.TransactionLineItem.TaxBehavior; + export type Type = Stripe.Tax.TransactionLineItem.Type; } } export namespace Terminal { @@ -1895,54 +12139,179 @@ declare namespace StripeConstructor { export type VerifoneUx700 = Stripe.Terminal.ConfigurationCreateParams.VerifoneUx700; export type VerifoneV660p = Stripe.Terminal.ConfigurationCreateParams.VerifoneV660p; export type Wifi = Stripe.Terminal.ConfigurationCreateParams.Wifi; + export namespace Tipping { + export type Aed = Stripe.Terminal.ConfigurationCreateParams.Tipping.Aed; + export type Aud = Stripe.Terminal.ConfigurationCreateParams.Tipping.Aud; + export type Cad = Stripe.Terminal.ConfigurationCreateParams.Tipping.Cad; + export type Chf = Stripe.Terminal.ConfigurationCreateParams.Tipping.Chf; + export type Czk = Stripe.Terminal.ConfigurationCreateParams.Tipping.Czk; + export type Dkk = Stripe.Terminal.ConfigurationCreateParams.Tipping.Dkk; + export type Eur = Stripe.Terminal.ConfigurationCreateParams.Tipping.Eur; + export type Gbp = Stripe.Terminal.ConfigurationCreateParams.Tipping.Gbp; + export type Gip = Stripe.Terminal.ConfigurationCreateParams.Tipping.Gip; + export type Hkd = Stripe.Terminal.ConfigurationCreateParams.Tipping.Hkd; + export type Huf = Stripe.Terminal.ConfigurationCreateParams.Tipping.Huf; + export type Jpy = Stripe.Terminal.ConfigurationCreateParams.Tipping.Jpy; + export type Mxn = Stripe.Terminal.ConfigurationCreateParams.Tipping.Mxn; + export type Myr = Stripe.Terminal.ConfigurationCreateParams.Tipping.Myr; + export type Nok = Stripe.Terminal.ConfigurationCreateParams.Tipping.Nok; + export type Nzd = Stripe.Terminal.ConfigurationCreateParams.Tipping.Nzd; + export type Pln = Stripe.Terminal.ConfigurationCreateParams.Tipping.Pln; + export type Ron = Stripe.Terminal.ConfigurationCreateParams.Tipping.Ron; + export type Sek = Stripe.Terminal.ConfigurationCreateParams.Tipping.Sek; + export type Sgd = Stripe.Terminal.ConfigurationCreateParams.Tipping.Sgd; + export type Usd = Stripe.Terminal.ConfigurationCreateParams.Tipping.Usd; + } + export namespace Wifi { + export type EnterpriseEapPeap = Stripe.Terminal.ConfigurationCreateParams.Wifi.EnterpriseEapPeap; + export type EnterpriseEapTls = Stripe.Terminal.ConfigurationCreateParams.Wifi.EnterpriseEapTls; + export type PersonalPsk = Stripe.Terminal.ConfigurationCreateParams.Wifi.PersonalPsk; + export type Type = Stripe.Terminal.ConfigurationCreateParams.Wifi.Type; + } } - export namespace ConfigurationUpdateParams { - export type BbposWisepad3 = Stripe.Terminal.ConfigurationUpdateParams.BbposWisepad3; - export type BbposWiseposE = Stripe.Terminal.ConfigurationUpdateParams.BbposWiseposE; - export type Cellular = Stripe.Terminal.ConfigurationUpdateParams.Cellular; - export type Offline = Stripe.Terminal.ConfigurationUpdateParams.Offline; - export type RebootWindow = Stripe.Terminal.ConfigurationUpdateParams.RebootWindow; - export type StripeS700 = Stripe.Terminal.ConfigurationUpdateParams.StripeS700; - export type StripeS710 = Stripe.Terminal.ConfigurationUpdateParams.StripeS710; - export type Tipping = Stripe.Terminal.ConfigurationUpdateParams.Tipping; - export type VerifoneM425 = Stripe.Terminal.ConfigurationUpdateParams.VerifoneM425; - export type VerifoneP400 = Stripe.Terminal.ConfigurationUpdateParams.VerifoneP400; - export type VerifoneP630 = Stripe.Terminal.ConfigurationUpdateParams.VerifoneP630; - export type VerifoneUx700 = Stripe.Terminal.ConfigurationUpdateParams.VerifoneUx700; - export type VerifoneV660p = Stripe.Terminal.ConfigurationUpdateParams.VerifoneV660p; - export type Wifi = Stripe.Terminal.ConfigurationUpdateParams.Wifi; + export namespace Configuration { + export type BbposWisepad3 = Stripe.Terminal.Configuration.BbposWisepad3; + export type BbposWiseposE = Stripe.Terminal.Configuration.BbposWiseposE; + export type Cellular = Stripe.Terminal.Configuration.Cellular; + export type Offline = Stripe.Terminal.Configuration.Offline; + export type RebootWindow = Stripe.Terminal.Configuration.RebootWindow; + export type StripeS700 = Stripe.Terminal.Configuration.StripeS700; + export type StripeS710 = Stripe.Terminal.Configuration.StripeS710; + export type Tipping = Stripe.Terminal.Configuration.Tipping; + export type VerifoneM425 = Stripe.Terminal.Configuration.VerifoneM425; + export type VerifoneP400 = Stripe.Terminal.Configuration.VerifoneP400; + export type VerifoneP630 = Stripe.Terminal.Configuration.VerifoneP630; + export type VerifoneUx700 = Stripe.Terminal.Configuration.VerifoneUx700; + export type VerifoneV660p = Stripe.Terminal.Configuration.VerifoneV660p; + export type Wifi = Stripe.Terminal.Configuration.Wifi; + export namespace Tipping { + export type Aed = Stripe.Terminal.Configuration.Tipping.Aed; + export type Aud = Stripe.Terminal.Configuration.Tipping.Aud; + export type Cad = Stripe.Terminal.Configuration.Tipping.Cad; + export type Chf = Stripe.Terminal.Configuration.Tipping.Chf; + export type Czk = Stripe.Terminal.Configuration.Tipping.Czk; + export type Dkk = Stripe.Terminal.Configuration.Tipping.Dkk; + export type Eur = Stripe.Terminal.Configuration.Tipping.Eur; + export type Gbp = Stripe.Terminal.Configuration.Tipping.Gbp; + export type Gip = Stripe.Terminal.Configuration.Tipping.Gip; + export type Hkd = Stripe.Terminal.Configuration.Tipping.Hkd; + export type Huf = Stripe.Terminal.Configuration.Tipping.Huf; + export type Jpy = Stripe.Terminal.Configuration.Tipping.Jpy; + export type Mxn = Stripe.Terminal.Configuration.Tipping.Mxn; + export type Myr = Stripe.Terminal.Configuration.Tipping.Myr; + export type Nok = Stripe.Terminal.Configuration.Tipping.Nok; + export type Nzd = Stripe.Terminal.Configuration.Tipping.Nzd; + export type Pln = Stripe.Terminal.Configuration.Tipping.Pln; + export type Ron = Stripe.Terminal.Configuration.Tipping.Ron; + export type Sek = Stripe.Terminal.Configuration.Tipping.Sek; + export type Sgd = Stripe.Terminal.Configuration.Tipping.Sgd; + export type Usd = Stripe.Terminal.Configuration.Tipping.Usd; + } + export namespace Wifi { + export type EnterpriseEapPeap = Stripe.Terminal.Configuration.Wifi.EnterpriseEapPeap; + export type EnterpriseEapTls = Stripe.Terminal.Configuration.Wifi.EnterpriseEapTls; + export type PersonalPsk = Stripe.Terminal.Configuration.Wifi.PersonalPsk; + export type Type = Stripe.Terminal.Configuration.Wifi.Type; + } } export namespace LocationCreateParams { export type Address = Stripe.Terminal.LocationCreateParams.Address; } + export namespace Location { + export type AddressKana = Stripe.Terminal.Location.AddressKana; + export type AddressKanji = Stripe.Terminal.Location.AddressKanji; + } export namespace OnboardingLinkCreateParams { export type LinkOptions = Stripe.Terminal.OnboardingLinkCreateParams.LinkOptions; + export namespace LinkOptions { + export type AppleTermsAndConditions = Stripe.Terminal.OnboardingLinkCreateParams.LinkOptions.AppleTermsAndConditions; + } } - export namespace ReaderListParams { - export type DeviceType = Stripe.Terminal.ReaderListParams.DeviceType; - export type Status = Stripe.Terminal.ReaderListParams.Status; - } - export namespace ReaderCollectInputsParams { - export type Input = Stripe.Terminal.ReaderCollectInputsParams.Input; - } - export namespace ReaderCollectPaymentMethodParams { - export type CollectConfig = Stripe.Terminal.ReaderCollectPaymentMethodParams.CollectConfig; - } - export namespace ReaderConfirmPaymentIntentParams { - export type ConfirmConfig = Stripe.Terminal.ReaderConfirmPaymentIntentParams.ConfirmConfig; - } - export namespace ReaderProcessPaymentIntentParams { - export type ProcessConfig = Stripe.Terminal.ReaderProcessPaymentIntentParams.ProcessConfig; - } - export namespace ReaderProcessSetupIntentParams { - export type AllowRedisplay = Stripe.Terminal.ReaderProcessSetupIntentParams.AllowRedisplay; - export type ProcessConfig = Stripe.Terminal.ReaderProcessSetupIntentParams.ProcessConfig; + export namespace OnboardingLink { + export type LinkOptions = Stripe.Terminal.OnboardingLink.LinkOptions; + export namespace LinkOptions { + export type AppleTermsAndConditions = Stripe.Terminal.OnboardingLink.LinkOptions.AppleTermsAndConditions; + } } - export namespace ReaderRefundPaymentParams { - export type RefundPaymentConfig = Stripe.Terminal.ReaderRefundPaymentParams.RefundPaymentConfig; + export namespace DeletedReader { + export type DeviceType = Stripe.Terminal.DeletedReader.DeviceType; } - export namespace ReaderSetReaderDisplayParams { - export type Cart = Stripe.Terminal.ReaderSetReaderDisplayParams.Cart; + export namespace Reader { + export type Action = Stripe.Terminal.Reader.Action; + export type DeviceType = Stripe.Terminal.Reader.DeviceType; + export type Status = Stripe.Terminal.Reader.Status; + export namespace Action { + export type ApiError = Stripe.Terminal.Reader.Action.ApiError; + export type CollectInputs = Stripe.Terminal.Reader.Action.CollectInputs; + export type CollectPaymentMethod = Stripe.Terminal.Reader.Action.CollectPaymentMethod; + export type ConfirmPaymentIntent = Stripe.Terminal.Reader.Action.ConfirmPaymentIntent; + export type PrintContent = Stripe.Terminal.Reader.Action.PrintContent; + export type ProcessPaymentIntent = Stripe.Terminal.Reader.Action.ProcessPaymentIntent; + export type ProcessSetupIntent = Stripe.Terminal.Reader.Action.ProcessSetupIntent; + export type RefundPayment = Stripe.Terminal.Reader.Action.RefundPayment; + export type SetReaderDisplay = Stripe.Terminal.Reader.Action.SetReaderDisplay; + export type Status = Stripe.Terminal.Reader.Action.Status; + export type Type = Stripe.Terminal.Reader.Action.Type; + export namespace ApiError { + export type Code = Stripe.Terminal.Reader.Action.ApiError.Code; + export type Type = Stripe.Terminal.Reader.Action.ApiError.Type; + } + export namespace CollectInputs { + export type Input = Stripe.Terminal.Reader.Action.CollectInputs.Input; + export namespace Input { + export type CustomText = Stripe.Terminal.Reader.Action.CollectInputs.Input.CustomText; + export type Email = Stripe.Terminal.Reader.Action.CollectInputs.Input.Email; + export type Numeric = Stripe.Terminal.Reader.Action.CollectInputs.Input.Numeric; + export type Phone = Stripe.Terminal.Reader.Action.CollectInputs.Input.Phone; + export type Selection = Stripe.Terminal.Reader.Action.CollectInputs.Input.Selection; + export type Signature = Stripe.Terminal.Reader.Action.CollectInputs.Input.Signature; + export type Text = Stripe.Terminal.Reader.Action.CollectInputs.Input.Text; + export type Toggle = Stripe.Terminal.Reader.Action.CollectInputs.Input.Toggle; + export type Type = Stripe.Terminal.Reader.Action.CollectInputs.Input.Type; + export namespace Selection { + export type Choice = Stripe.Terminal.Reader.Action.CollectInputs.Input.Selection.Choice; + export namespace Choice { + export type Style = Stripe.Terminal.Reader.Action.CollectInputs.Input.Selection.Choice.Style; + } + } + export namespace Toggle { + export type DefaultValue = Stripe.Terminal.Reader.Action.CollectInputs.Input.Toggle.DefaultValue; + export type Value = Stripe.Terminal.Reader.Action.CollectInputs.Input.Toggle.Value; + } + } + } + export namespace CollectPaymentMethod { + export type CollectConfig = Stripe.Terminal.Reader.Action.CollectPaymentMethod.CollectConfig; + export namespace CollectConfig { + export type Tipping = Stripe.Terminal.Reader.Action.CollectPaymentMethod.CollectConfig.Tipping; + } + } + export namespace ConfirmPaymentIntent { + export type ConfirmConfig = Stripe.Terminal.Reader.Action.ConfirmPaymentIntent.ConfirmConfig; + } + export namespace PrintContent { + export type Image = Stripe.Terminal.Reader.Action.PrintContent.Image; + } + export namespace ProcessPaymentIntent { + export type ProcessConfig = Stripe.Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig; + export namespace ProcessConfig { + export type Tipping = Stripe.Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig.Tipping; + } + } + export namespace ProcessSetupIntent { + export type ProcessConfig = Stripe.Terminal.Reader.Action.ProcessSetupIntent.ProcessConfig; + } + export namespace RefundPayment { + export type Reason = Stripe.Terminal.Reader.Action.RefundPayment.Reason; + export type RefundPaymentConfig = Stripe.Terminal.Reader.Action.RefundPayment.RefundPaymentConfig; + } + export namespace SetReaderDisplay { + export type Cart = Stripe.Terminal.Reader.Action.SetReaderDisplay.Cart; + export namespace Cart { + export type LineItem = Stripe.Terminal.Reader.Action.SetReaderDisplay.Cart.LineItem; + } + } + } } } export namespace TestHelpers { @@ -1954,6 +12323,13 @@ declare namespace StripeConstructor { export type TestClockDeleteParams = Stripe.TestHelpers.TestClockDeleteParams; export type TestClockAdvanceParams = Stripe.TestHelpers.TestClockAdvanceParams; export type TestClockResource = Stripe.TestHelpers.TestClockResource; + export namespace TestClock { + export type Status = Stripe.TestHelpers.TestClock.Status; + export type StatusDetails = Stripe.TestHelpers.TestClock.StatusDetails; + export namespace StatusDetails { + export type Advancing = Stripe.TestHelpers.TestClock.StatusDetails.Advancing; + } + } } export namespace Treasury { export type CreditReversal = Stripe.Treasury.CreditReversal; @@ -2010,69 +12386,335 @@ declare namespace StripeConstructor { export type TransactionEntryListParams = Stripe.Treasury.TransactionEntryListParams; export type TransactionEntryResource = Stripe.Treasury.TransactionEntryResource; export type FinancialAccountFeatures = Stripe.Treasury.FinancialAccountFeatures; - export namespace CreditReversalListParams { - export type Status = Stripe.Treasury.CreditReversalListParams.Status; + export namespace CreditReversal { + export type Network = Stripe.Treasury.CreditReversal.Network; + export type Status = Stripe.Treasury.CreditReversal.Status; + export type StatusTransitions = Stripe.Treasury.CreditReversal.StatusTransitions; } - export namespace DebitReversalListParams { - export type Resolution = Stripe.Treasury.DebitReversalListParams.Resolution; - export type Status = Stripe.Treasury.DebitReversalListParams.Status; + export namespace DebitReversal { + export type LinkedFlows = Stripe.Treasury.DebitReversal.LinkedFlows; + export type Network = Stripe.Treasury.DebitReversal.Network; + export type Status = Stripe.Treasury.DebitReversal.Status; + export type StatusTransitions = Stripe.Treasury.DebitReversal.StatusTransitions; } export namespace FinancialAccountCreateParams { export type Features = Stripe.Treasury.FinancialAccountCreateParams.Features; export type PlatformRestrictions = Stripe.Treasury.FinancialAccountCreateParams.PlatformRestrictions; + export namespace Features { + export type CardIssuing = Stripe.Treasury.FinancialAccountCreateParams.Features.CardIssuing; + export type DepositInsurance = Stripe.Treasury.FinancialAccountCreateParams.Features.DepositInsurance; + export type FinancialAddresses = Stripe.Treasury.FinancialAccountCreateParams.Features.FinancialAddresses; + export type InboundTransfers = Stripe.Treasury.FinancialAccountCreateParams.Features.InboundTransfers; + export type IntraStripeFlows = Stripe.Treasury.FinancialAccountCreateParams.Features.IntraStripeFlows; + export type OutboundPayments = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundPayments; + export type OutboundTransfers = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers; + export namespace FinancialAddresses { + export type Aba = Stripe.Treasury.FinancialAccountCreateParams.Features.FinancialAddresses.Aba; + } + export namespace InboundTransfers { + export type Ach = Stripe.Treasury.FinancialAccountCreateParams.Features.InboundTransfers.Ach; + } + export namespace OutboundPayments { + export type Ach = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundPayments.Ach; + export type UsDomesticWire = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundPayments.UsDomesticWire; + } + export namespace OutboundTransfers { + export type Ach = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers.Ach; + export type UsDomesticWire = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers.UsDomesticWire; + } + } + export namespace PlatformRestrictions { + export type InboundFlows = Stripe.Treasury.FinancialAccountCreateParams.PlatformRestrictions.InboundFlows; + export type OutboundFlows = Stripe.Treasury.FinancialAccountCreateParams.PlatformRestrictions.OutboundFlows; + } } - export namespace FinancialAccountUpdateParams { - export type Features = Stripe.Treasury.FinancialAccountUpdateParams.Features; - export type ForwardingSettings = Stripe.Treasury.FinancialAccountUpdateParams.ForwardingSettings; - export type PlatformRestrictions = Stripe.Treasury.FinancialAccountUpdateParams.PlatformRestrictions; - } - export namespace FinancialAccountListParams { - export type Status = Stripe.Treasury.FinancialAccountListParams.Status; - } - export namespace FinancialAccountCloseParams { - export type ForwardingSettings = Stripe.Treasury.FinancialAccountCloseParams.ForwardingSettings; - } - export namespace FinancialAccountUpdateFeaturesParams { - export type CardIssuing = Stripe.Treasury.FinancialAccountUpdateFeaturesParams.CardIssuing; - export type DepositInsurance = Stripe.Treasury.FinancialAccountUpdateFeaturesParams.DepositInsurance; - export type FinancialAddresses = Stripe.Treasury.FinancialAccountUpdateFeaturesParams.FinancialAddresses; - export type InboundTransfers = Stripe.Treasury.FinancialAccountUpdateFeaturesParams.InboundTransfers; - export type IntraStripeFlows = Stripe.Treasury.FinancialAccountUpdateFeaturesParams.IntraStripeFlows; - export type OutboundPayments = Stripe.Treasury.FinancialAccountUpdateFeaturesParams.OutboundPayments; - export type OutboundTransfers = Stripe.Treasury.FinancialAccountUpdateFeaturesParams.OutboundTransfers; + export namespace FinancialAccount { + export type ActiveFeature = Stripe.Treasury.FinancialAccount.ActiveFeature; + export type Balance = Stripe.Treasury.FinancialAccount.Balance; + export type FinancialAddress = Stripe.Treasury.FinancialAccount.FinancialAddress; + export type PendingFeature = Stripe.Treasury.FinancialAccount.PendingFeature; + export type PlatformRestrictions = Stripe.Treasury.FinancialAccount.PlatformRestrictions; + export type RestrictedFeature = Stripe.Treasury.FinancialAccount.RestrictedFeature; + export type Status = Stripe.Treasury.FinancialAccount.Status; + export type StatusDetails = Stripe.Treasury.FinancialAccount.StatusDetails; + export namespace FinancialAddress { + export type Aba = Stripe.Treasury.FinancialAccount.FinancialAddress.Aba; + export type SupportedNetwork = Stripe.Treasury.FinancialAccount.FinancialAddress.SupportedNetwork; + } + export namespace PlatformRestrictions { + export type InboundFlows = Stripe.Treasury.FinancialAccount.PlatformRestrictions.InboundFlows; + export type OutboundFlows = Stripe.Treasury.FinancialAccount.PlatformRestrictions.OutboundFlows; + } + export namespace StatusDetails { + export type Closed = Stripe.Treasury.FinancialAccount.StatusDetails.Closed; + export namespace Closed { + export type Reason = Stripe.Treasury.FinancialAccount.StatusDetails.Closed.Reason; + } + } } - export namespace InboundTransferListParams { - export type Status = Stripe.Treasury.InboundTransferListParams.Status; + export namespace InboundTransfer { + export type FailureDetails = Stripe.Treasury.InboundTransfer.FailureDetails; + export type LinkedFlows = Stripe.Treasury.InboundTransfer.LinkedFlows; + export type OriginPaymentMethodDetails = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails; + export type Status = Stripe.Treasury.InboundTransfer.Status; + export type StatusTransitions = Stripe.Treasury.InboundTransfer.StatusTransitions; + export namespace FailureDetails { + export type Code = Stripe.Treasury.InboundTransfer.FailureDetails.Code; + } + export namespace OriginPaymentMethodDetails { + export type BillingDetails = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails.BillingDetails; + export type UsBankAccount = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount; + export namespace UsBankAccount { + export type AccountHolderType = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount.AccountType; + } + } } export namespace OutboundPaymentCreateParams { export type DestinationPaymentMethodData = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData; export type DestinationPaymentMethodOptions = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions; export type EndUserDetails = Stripe.Treasury.OutboundPaymentCreateParams.EndUserDetails; + export namespace DestinationPaymentMethodData { + export type BillingDetails = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails; + export type Type = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.Type; + export type UsBankAccount = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount; + export namespace UsBankAccount { + export type AccountHolderType = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace DestinationPaymentMethodOptions { + export type UsBankAccount = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions.UsBankAccount; + export namespace UsBankAccount { + export type Network = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions.UsBankAccount.Network; + } + } } - export namespace OutboundPaymentListParams { - export type Status = Stripe.Treasury.OutboundPaymentListParams.Status; + export namespace OutboundPayment { + export type DestinationPaymentMethodDetails = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails; + export type EndUserDetails = Stripe.Treasury.OutboundPayment.EndUserDetails; + export type ReturnedDetails = Stripe.Treasury.OutboundPayment.ReturnedDetails; + export type Status = Stripe.Treasury.OutboundPayment.Status; + export type StatusTransitions = Stripe.Treasury.OutboundPayment.StatusTransitions; + export type TrackingDetails = Stripe.Treasury.OutboundPayment.TrackingDetails; + export namespace DestinationPaymentMethodDetails { + export type BillingDetails = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.BillingDetails; + export type FinancialAccount = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.FinancialAccount; + export type Type = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.Type; + export type UsBankAccount = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount; + export namespace UsBankAccount { + export type AccountHolderType = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.AccountType; + export type Network = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.Network; + } + } + export namespace ReturnedDetails { + export type Code = Stripe.Treasury.OutboundPayment.ReturnedDetails.Code; + } + export namespace TrackingDetails { + export type Ach = Stripe.Treasury.OutboundPayment.TrackingDetails.Ach; + export type Type = Stripe.Treasury.OutboundPayment.TrackingDetails.Type; + export type UsDomesticWire = Stripe.Treasury.OutboundPayment.TrackingDetails.UsDomesticWire; + } } export namespace OutboundTransferCreateParams { export type DestinationPaymentMethodData = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodData; export type DestinationPaymentMethodOptions = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions; + export namespace DestinationPaymentMethodOptions { + export type UsBankAccount = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount; + export namespace UsBankAccount { + export type Network = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount.Network; + } + } + } + export namespace OutboundTransfer { + export type DestinationPaymentMethodDetails = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails; + export type ReturnedDetails = Stripe.Treasury.OutboundTransfer.ReturnedDetails; + export type Status = Stripe.Treasury.OutboundTransfer.Status; + export type StatusTransitions = Stripe.Treasury.OutboundTransfer.StatusTransitions; + export type TrackingDetails = Stripe.Treasury.OutboundTransfer.TrackingDetails; + export namespace DestinationPaymentMethodDetails { + export type BillingDetails = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.BillingDetails; + export type FinancialAccount = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.FinancialAccount; + export type Type = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.Type; + export type UsBankAccount = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount; + export namespace UsBankAccount { + export type AccountHolderType = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.AccountType; + export type Network = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.Network; + } + } + export namespace ReturnedDetails { + export type Code = Stripe.Treasury.OutboundTransfer.ReturnedDetails.Code; + } + export namespace TrackingDetails { + export type Ach = Stripe.Treasury.OutboundTransfer.TrackingDetails.Ach; + export type Type = Stripe.Treasury.OutboundTransfer.TrackingDetails.Type; + export type UsDomesticWire = Stripe.Treasury.OutboundTransfer.TrackingDetails.UsDomesticWire; + } } - export namespace OutboundTransferListParams { - export type Status = Stripe.Treasury.OutboundTransferListParams.Status; + export namespace ReceivedCredit { + export type FailureCode = Stripe.Treasury.ReceivedCredit.FailureCode; + export type InitiatingPaymentMethodDetails = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails; + export type LinkedFlows = Stripe.Treasury.ReceivedCredit.LinkedFlows; + export type Network = Stripe.Treasury.ReceivedCredit.Network; + export type ReversalDetails = Stripe.Treasury.ReceivedCredit.ReversalDetails; + export type Status = Stripe.Treasury.ReceivedCredit.Status; + export namespace InitiatingPaymentMethodDetails { + export type BillingDetails = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.BillingDetails; + export type FinancialAccount = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.FinancialAccount; + export type Type = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.Type; + export type UsBankAccount = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.UsBankAccount; + } + export namespace LinkedFlows { + export type SourceFlowDetails = Stripe.Treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails; + export namespace SourceFlowDetails { + export type Type = Stripe.Treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.Type; + } + } + export namespace ReversalDetails { + export type RestrictedReason = Stripe.Treasury.ReceivedCredit.ReversalDetails.RestrictedReason; + } } - export namespace ReceivedCreditListParams { - export type LinkedFlows = Stripe.Treasury.ReceivedCreditListParams.LinkedFlows; - export type Status = Stripe.Treasury.ReceivedCreditListParams.Status; + export namespace ReceivedDebit { + export type FailureCode = Stripe.Treasury.ReceivedDebit.FailureCode; + export type InitiatingPaymentMethodDetails = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails; + export type LinkedFlows = Stripe.Treasury.ReceivedDebit.LinkedFlows; + export type Network = Stripe.Treasury.ReceivedDebit.Network; + export type ReversalDetails = Stripe.Treasury.ReceivedDebit.ReversalDetails; + export type Status = Stripe.Treasury.ReceivedDebit.Status; + export namespace InitiatingPaymentMethodDetails { + export type BillingDetails = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.BillingDetails; + export type FinancialAccount = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.FinancialAccount; + export type Type = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.Type; + export type UsBankAccount = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.UsBankAccount; + } + export namespace ReversalDetails { + export type RestrictedReason = Stripe.Treasury.ReceivedDebit.ReversalDetails.RestrictedReason; + } } - export namespace ReceivedDebitListParams { - export type Status = Stripe.Treasury.ReceivedDebitListParams.Status; + export namespace Transaction { + export type BalanceImpact = Stripe.Treasury.Transaction.BalanceImpact; + export type FlowDetails = Stripe.Treasury.Transaction.FlowDetails; + export type FlowType = Stripe.Treasury.Transaction.FlowType; + export type Status = Stripe.Treasury.Transaction.Status; + export type StatusTransitions = Stripe.Treasury.Transaction.StatusTransitions; + export namespace FlowDetails { + export type Type = Stripe.Treasury.Transaction.FlowDetails.Type; + } } - export namespace TransactionListParams { - export type OrderBy = Stripe.Treasury.TransactionListParams.OrderBy; - export type Status = Stripe.Treasury.TransactionListParams.Status; - export type StatusTransitions = Stripe.Treasury.TransactionListParams.StatusTransitions; + export namespace TransactionEntry { + export type BalanceImpact = Stripe.Treasury.TransactionEntry.BalanceImpact; + export type FlowDetails = Stripe.Treasury.TransactionEntry.FlowDetails; + export type FlowType = Stripe.Treasury.TransactionEntry.FlowType; + export type Type = Stripe.Treasury.TransactionEntry.Type; + export namespace FlowDetails { + export type Type = Stripe.Treasury.TransactionEntry.FlowDetails.Type; + } } - export namespace TransactionEntryListParams { - export type OrderBy = Stripe.Treasury.TransactionEntryListParams.OrderBy; + export namespace FinancialAccountFeatures { + export type CardIssuing = Stripe.Treasury.FinancialAccountFeatures.CardIssuing; + export type DepositInsurance = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance; + export type FinancialAddresses = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses; + export type InboundTransfers = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers; + export type IntraStripeFlows = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows; + export type OutboundPayments = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments; + export type OutboundTransfers = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers; + export namespace CardIssuing { + export type Status = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Restriction; + } + } + export namespace DepositInsurance { + export type Status = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Restriction; + } + } + export namespace FinancialAddresses { + export type Aba = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba; + export namespace Aba { + export type Status = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Restriction; + } + } + } + export namespace InboundTransfers { + export type Ach = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach; + export namespace Ach { + export type Status = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Restriction; + } + } + } + export namespace IntraStripeFlows { + export type Status = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Restriction; + } + } + export namespace OutboundPayments { + export type Ach = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach; + export type UsDomesticWire = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire; + export namespace Ach { + export type Status = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Restriction; + } + } + export namespace UsDomesticWire { + export type Status = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Restriction; + } + } + } + export namespace OutboundTransfers { + export type Ach = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach; + export type UsDomesticWire = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire; + export namespace Ach { + export type Status = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Restriction; + } + } + export namespace UsDomesticWire { + export type Status = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.Status; + export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Code; + export type Resolution = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Resolution; + export type Restriction = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Restriction; + } + } + } } } export namespace V2 { @@ -2090,6 +12732,10 @@ declare namespace StripeConstructor { export namespace MeterEventAdjustmentCreateParams { export type Cancel = Stripe.V2.Billing.MeterEventAdjustmentCreateParams.Cancel; } + export namespace MeterEventAdjustment { + export type Cancel = Stripe.V2.Billing.MeterEventAdjustment.Cancel; + export type Status = Stripe.V2.Billing.MeterEventAdjustment.Status; + } } export namespace Core { export type Account = Stripe.V2.Core.Account; @@ -2130,28 +12776,1085 @@ declare namespace StripeConstructor { export type Defaults = Stripe.V2.Core.AccountCreateParams.Defaults; export type Identity = Stripe.V2.Core.AccountCreateParams.Identity; export type Include = Stripe.V2.Core.AccountCreateParams.Include; + export namespace Configuration { + export type Customer = Stripe.V2.Core.AccountCreateParams.Configuration.Customer; + export type Merchant = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant; + export type Recipient = Stripe.V2.Core.AccountCreateParams.Configuration.Recipient; + export namespace Customer { + export type AutomaticIndirectTax = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax; + export type Billing = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing; + export type Capabilities = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities; + export type Shipping = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Shipping; + export namespace AutomaticIndirectTax { + export type Exempt = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Exempt; + } + export namespace Billing { + export type Invoice = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice; + export namespace Invoice { + export type CustomField = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.CustomField; + export type Rendering = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.Rendering; + export namespace Rendering { + export type AmountTaxDisplay = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.Rendering.AmountTaxDisplay; + } + } + } + export namespace Capabilities { + export type AutomaticIndirectTax = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities.AutomaticIndirectTax; + } + } + export namespace Merchant { + export type BacsDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.BacsDebitPayments; + export type Branding = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Branding; + export type Capabilities = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities; + export type CardPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.CardPayments; + export type KonbiniPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments; + export type ScriptStatementDescriptor = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor; + export type StatementDescriptor = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.StatementDescriptor; + export type Support = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Support; + export namespace Capabilities { + export type AchDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AchDebitPayments; + export type AcssDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AmazonPayPayments; + export type AuBecsDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BancontactPayments; + export type BlikPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BlikPayments; + export type BoletoPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BoletoPayments; + export type CardPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CashappPayments; + export type EpsPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.EpsPayments; + export type FpxPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GbBankTransferPayments; + export type GrabpayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.IdealPayments; + export type JcbPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KrCardPayments; + export type LinkPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.LinkPayments; + export type MobilepayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.NaverPayPayments; + export type OxxoPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.OxxoPayments; + export type P24Payments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.P24Payments; + export type PayByBankPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaynowPayments; + export type PromptpayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SamsungPayPayments; + export type SepaBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaDebitPayments; + export type SwishPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SwishPayments; + export type TwintPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.TwintPayments; + export type UsBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.ZipPayments; + } + export namespace CardPayments { + export type DeclineOn = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.CardPayments.DeclineOn; + } + export namespace KonbiniPayments { + export type Support = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments.Support; + export namespace Support { + export type Hours = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments.Support.Hours; + } + } + export namespace ScriptStatementDescriptor { + export type Kana = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor.Kana; + export type Kanji = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor.Kanji; + } + export namespace Support { + export type Address = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Support.Address; + } + } + export namespace Recipient { + export type Capabilities = Stripe.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities; + export namespace Capabilities { + export type StripeBalance = Stripe.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance; + export namespace StripeBalance { + export type StripeTransfers = Stripe.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; + } + } + } + } + export namespace Defaults { + export type Locale = Stripe.V2.Core.AccountCreateParams.Defaults.Locale; + export type Profile = Stripe.V2.Core.AccountCreateParams.Defaults.Profile; + export type Responsibilities = Stripe.V2.Core.AccountCreateParams.Defaults.Responsibilities; + export namespace Responsibilities { + export type FeesCollector = Stripe.V2.Core.AccountCreateParams.Defaults.Responsibilities.FeesCollector; + export type LossesCollector = Stripe.V2.Core.AccountCreateParams.Defaults.Responsibilities.LossesCollector; + } + } + export namespace Identity { + export type Attestations = Stripe.V2.Core.AccountCreateParams.Identity.Attestations; + export type BusinessDetails = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails; + export type EntityType = Stripe.V2.Core.AccountCreateParams.Identity.EntityType; + export type Individual = Stripe.V2.Core.AccountCreateParams.Identity.Individual; + export namespace Attestations { + export type DirectorshipDeclaration = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.OwnershipDeclaration; + export type PersonsProvided = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.PersonsProvided; + export type RepresentativeDeclaration = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.RepresentativeDeclaration; + export type TermsOfService = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService; + export namespace PersonsProvided { + export type OwnershipExemptionReason = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; + } + export namespace TermsOfService { + export type Account = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.Account; + } + } + export namespace BusinessDetails { + export type Address = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Address; + export type AnnualRevenue = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.AnnualRevenue; + export type Documents = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents; + export type IdNumber = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.IdNumber; + export type MonthlyEstimatedRevenue = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.MonthlyEstimatedRevenue; + export type RegistrationDate = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.RegistrationDate; + export type ScriptAddresses = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses; + export type ScriptNames = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames; + export type Structure = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Structure; + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; + export type PrimaryVerification = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification; + export type ProofOfAddress = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; + export namespace PrimaryVerification { + export type FrontBack = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; + } + export namespace ProofOfRegistration { + export type Signer = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; + } + export namespace ProofOfUltimateBeneficialOwnership { + export type Signer = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; + } + } + export namespace IdNumber { + export type Type = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.IdNumber.Type; + } + export namespace ScriptAddresses { + export type Kana = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses.Kana; + export type Kanji = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses.Kanji; + } + export namespace ScriptNames { + export type Kana = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames.Kana; + export type Kanji = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames.Kanji; + } + } + export namespace Individual { + export type AdditionalAddress = Stripe.V2.Core.AccountCreateParams.Identity.Individual.AdditionalAddress; + export type AdditionalName = Stripe.V2.Core.AccountCreateParams.Identity.Individual.AdditionalName; + export type Address = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Address; + export type DateOfBirth = Stripe.V2.Core.AccountCreateParams.Identity.Individual.DateOfBirth; + export type Documents = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents; + export type IdNumber = Stripe.V2.Core.AccountCreateParams.Identity.Individual.IdNumber; + export type LegalGender = Stripe.V2.Core.AccountCreateParams.Identity.Individual.LegalGender; + export type PoliticalExposure = Stripe.V2.Core.AccountCreateParams.Identity.Individual.PoliticalExposure; + export type Relationship = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Relationship; + export type ScriptAddresses = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses; + export type ScriptNames = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames; + export namespace AdditionalName { + export type Purpose = Stripe.V2.Core.AccountCreateParams.Identity.Individual.AdditionalName.Purpose; + } + export namespace Documents { + export type CompanyAuthorization = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.CompanyAuthorization; + export type Passport = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.Passport; + export type PrimaryVerification = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.PrimaryVerification; + export type SecondaryVerification = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.SecondaryVerification; + export type Visa = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.Visa; + export namespace PrimaryVerification { + export type FrontBack = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.PrimaryVerification.FrontBack; + } + export namespace SecondaryVerification { + export type FrontBack = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.SecondaryVerification.FrontBack; + } + } + export namespace IdNumber { + export type Type = Stripe.V2.Core.AccountCreateParams.Identity.Individual.IdNumber.Type; + } + export namespace ScriptAddresses { + export type Kana = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses.Kana; + export type Kanji = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses.Kanji; + } + export namespace ScriptNames { + export type Kana = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames.Kana; + export type Kanji = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames.Kanji; + } + } + } } - export namespace AccountRetrieveParams { - export type Include = Stripe.V2.Core.AccountRetrieveParams.Include; - } - export namespace AccountUpdateParams { - export type Configuration = Stripe.V2.Core.AccountUpdateParams.Configuration; - export type Dashboard = Stripe.V2.Core.AccountUpdateParams.Dashboard; - export type Defaults = Stripe.V2.Core.AccountUpdateParams.Defaults; - export type Identity = Stripe.V2.Core.AccountUpdateParams.Identity; - export type Include = Stripe.V2.Core.AccountUpdateParams.Include; - } - export namespace AccountListParams { - export type AppliedConfiguration = Stripe.V2.Core.AccountListParams.AppliedConfiguration; - } - export namespace AccountCloseParams { - export type AppliedConfiguration = Stripe.V2.Core.AccountCloseParams.AppliedConfiguration; + export namespace Account { + export type AppliedConfiguration = Stripe.V2.Core.Account.AppliedConfiguration; + export type Configuration = Stripe.V2.Core.Account.Configuration; + export type Dashboard = Stripe.V2.Core.Account.Dashboard; + export type Defaults = Stripe.V2.Core.Account.Defaults; + export type FutureRequirements = Stripe.V2.Core.Account.FutureRequirements; + export type Identity = Stripe.V2.Core.Account.Identity; + export type Requirements = Stripe.V2.Core.Account.Requirements; + export namespace Configuration { + export type Customer = Stripe.V2.Core.Account.Configuration.Customer; + export type Merchant = Stripe.V2.Core.Account.Configuration.Merchant; + export type Recipient = Stripe.V2.Core.Account.Configuration.Recipient; + export namespace Customer { + export type AutomaticIndirectTax = Stripe.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax; + export type Billing = Stripe.V2.Core.Account.Configuration.Customer.Billing; + export type Capabilities = Stripe.V2.Core.Account.Configuration.Customer.Capabilities; + export type Shipping = Stripe.V2.Core.Account.Configuration.Customer.Shipping; + export namespace AutomaticIndirectTax { + export type Exempt = Stripe.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.Exempt; + export type Location = Stripe.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.Location; + export type LocationSource = Stripe.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.LocationSource; + } + export namespace Billing { + export type Invoice = Stripe.V2.Core.Account.Configuration.Customer.Billing.Invoice; + export namespace Invoice { + export type CustomField = Stripe.V2.Core.Account.Configuration.Customer.Billing.Invoice.CustomField; + export type Rendering = Stripe.V2.Core.Account.Configuration.Customer.Billing.Invoice.Rendering; + export namespace Rendering { + export type AmountTaxDisplay = Stripe.V2.Core.Account.Configuration.Customer.Billing.Invoice.Rendering.AmountTaxDisplay; + } + } + } + export namespace Capabilities { + export type AutomaticIndirectTax = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax; + export namespace AutomaticIndirectTax { + export type Status = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail.Resolution; + } + } + } + export namespace Shipping { + export type Address = Stripe.V2.Core.Account.Configuration.Customer.Shipping.Address; + } + } + export namespace Merchant { + export type BacsDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.BacsDebitPayments; + export type Branding = Stripe.V2.Core.Account.Configuration.Merchant.Branding; + export type Capabilities = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities; + export type CardPayments = Stripe.V2.Core.Account.Configuration.Merchant.CardPayments; + export type KonbiniPayments = Stripe.V2.Core.Account.Configuration.Merchant.KonbiniPayments; + export type ScriptStatementDescriptor = Stripe.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor; + export type SepaDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.SepaDebitPayments; + export type StatementDescriptor = Stripe.V2.Core.Account.Configuration.Merchant.StatementDescriptor; + export type Support = Stripe.V2.Core.Account.Configuration.Merchant.Support; + export namespace Capabilities { + export type AchDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments; + export type AcssDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments; + export type AuBecsDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments; + export type BlikPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments; + export type BoletoPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments; + export type CardPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments; + export type EpsPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments; + export type FpxPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments; + export type GrabpayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments; + export type JcbPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments; + export type LinkPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments; + export type MobilepayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments; + export type OxxoPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments; + export type P24Payments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments; + export type PayByBankPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments; + export type PromptpayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments; + export type SepaBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments; + export type StripeBalance = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance; + export type SwishPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments; + export type TwintPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments; + export type UsBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments; + export namespace AchDebitPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail.Resolution; + } + } + export namespace AcssDebitPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail.Resolution; + } + } + export namespace AffirmPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail.Resolution; + } + } + export namespace AfterpayClearpayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail.Resolution; + } + } + export namespace AlmaPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail.Resolution; + } + } + export namespace AmazonPayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail.Resolution; + } + } + export namespace AuBecsDebitPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail.Resolution; + } + } + export namespace BacsDebitPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail.Resolution; + } + } + export namespace BancontactPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail.Resolution; + } + } + export namespace BlikPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail.Resolution; + } + } + export namespace BoletoPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail.Resolution; + } + } + export namespace CardPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail.Resolution; + } + } + export namespace CartesBancairesPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail.Resolution; + } + } + export namespace CashappPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail.Resolution; + } + } + export namespace EpsPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail.Resolution; + } + } + export namespace FpxPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail.Resolution; + } + } + export namespace GbBankTransferPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail.Resolution; + } + } + export namespace GrabpayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail.Resolution; + } + } + export namespace IdealPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail.Resolution; + } + } + export namespace JcbPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail.Resolution; + } + } + export namespace JpBankTransferPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail.Resolution; + } + } + export namespace KakaoPayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail.Resolution; + } + } + export namespace KlarnaPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail.Resolution; + } + } + export namespace KonbiniPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail.Resolution; + } + } + export namespace KrCardPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail.Resolution; + } + } + export namespace LinkPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail.Resolution; + } + } + export namespace MobilepayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail.Resolution; + } + } + export namespace MultibancoPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail.Resolution; + } + } + export namespace MxBankTransferPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail.Resolution; + } + } + export namespace NaverPayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail.Resolution; + } + } + export namespace OxxoPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail.Resolution; + } + } + export namespace P24Payments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail.Resolution; + } + } + export namespace PayByBankPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail.Resolution; + } + } + export namespace PaycoPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail.Resolution; + } + } + export namespace PaynowPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail.Resolution; + } + } + export namespace PromptpayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail.Resolution; + } + } + export namespace RevolutPayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail.Resolution; + } + } + export namespace SamsungPayPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail.Resolution; + } + } + export namespace SepaBankTransferPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail.Resolution; + } + } + export namespace SepaDebitPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail.Resolution; + } + } + export namespace StripeBalance { + export type Payouts = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts; + export namespace Payouts { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; + } + } + } + export namespace SwishPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail.Resolution; + } + } + export namespace TwintPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail.Resolution; + } + } + export namespace UsBankTransferPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail.Resolution; + } + } + export namespace ZipPayments { + export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail.Resolution; + } + } + } + export namespace CardPayments { + export type DeclineOn = Stripe.V2.Core.Account.Configuration.Merchant.CardPayments.DeclineOn; + } + export namespace KonbiniPayments { + export type Support = Stripe.V2.Core.Account.Configuration.Merchant.KonbiniPayments.Support; + export namespace Support { + export type Hours = Stripe.V2.Core.Account.Configuration.Merchant.KonbiniPayments.Support.Hours; + } + } + export namespace ScriptStatementDescriptor { + export type Kana = Stripe.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kana; + export type Kanji = Stripe.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kanji; + } + export namespace Support { + export type Address = Stripe.V2.Core.Account.Configuration.Merchant.Support.Address; + } + } + export namespace Recipient { + export type Capabilities = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities; + export namespace Capabilities { + export type StripeBalance = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance; + export namespace StripeBalance { + export type Payouts = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts; + export type StripeTransfers = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; + export namespace Payouts { + export type Status = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; + } + } + export namespace StripeTransfers { + export type Status = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Status; + export type StatusDetail = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Code; + export type Resolution = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Resolution; + } + } + } + } + } + } + export namespace Defaults { + export type Locale = Stripe.V2.Core.Account.Defaults.Locale; + export type Profile = Stripe.V2.Core.Account.Defaults.Profile; + export type Responsibilities = Stripe.V2.Core.Account.Defaults.Responsibilities; + export namespace Responsibilities { + export type FeesCollector = Stripe.V2.Core.Account.Defaults.Responsibilities.FeesCollector; + export type LossesCollector = Stripe.V2.Core.Account.Defaults.Responsibilities.LossesCollector; + export type RequirementsCollector = Stripe.V2.Core.Account.Defaults.Responsibilities.RequirementsCollector; + } + } + export namespace FutureRequirements { + export type Entry = Stripe.V2.Core.Account.FutureRequirements.Entry; + export type Summary = Stripe.V2.Core.Account.FutureRequirements.Summary; + export namespace Entry { + export type AwaitingActionFrom = Stripe.V2.Core.Account.FutureRequirements.Entry.AwaitingActionFrom; + export type Error = Stripe.V2.Core.Account.FutureRequirements.Entry.Error; + export type Impact = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact; + export type MinimumDeadline = Stripe.V2.Core.Account.FutureRequirements.Entry.MinimumDeadline; + export type Reference = Stripe.V2.Core.Account.FutureRequirements.Entry.Reference; + export type RequestedReason = Stripe.V2.Core.Account.FutureRequirements.Entry.RequestedReason; + export namespace Error { + export type Code = Stripe.V2.Core.Account.FutureRequirements.Entry.Error.Code; + } + export namespace Impact { + export type RestrictsCapability = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability; + export namespace RestrictsCapability { + export type Capability = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Capability; + export type Configuration = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Configuration; + export type Deadline = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Deadline; + export namespace Deadline { + export type Status = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Deadline.Status; + } + } + } + export namespace MinimumDeadline { + export type Status = Stripe.V2.Core.Account.FutureRequirements.Entry.MinimumDeadline.Status; + } + export namespace Reference { + export type Type = Stripe.V2.Core.Account.FutureRequirements.Entry.Reference.Type; + } + export namespace RequestedReason { + export type Code = Stripe.V2.Core.Account.FutureRequirements.Entry.RequestedReason.Code; + } + } + export namespace Summary { + export type MinimumDeadline = Stripe.V2.Core.Account.FutureRequirements.Summary.MinimumDeadline; + export namespace MinimumDeadline { + export type Status = Stripe.V2.Core.Account.FutureRequirements.Summary.MinimumDeadline.Status; + } + } + } + export namespace Identity { + export type Attestations = Stripe.V2.Core.Account.Identity.Attestations; + export type BusinessDetails = Stripe.V2.Core.Account.Identity.BusinessDetails; + export type EntityType = Stripe.V2.Core.Account.Identity.EntityType; + export type Individual = Stripe.V2.Core.Account.Identity.Individual; + export namespace Attestations { + export type DirectorshipDeclaration = Stripe.V2.Core.Account.Identity.Attestations.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe.V2.Core.Account.Identity.Attestations.OwnershipDeclaration; + export type PersonsProvided = Stripe.V2.Core.Account.Identity.Attestations.PersonsProvided; + export type RepresentativeDeclaration = Stripe.V2.Core.Account.Identity.Attestations.RepresentativeDeclaration; + export type TermsOfService = Stripe.V2.Core.Account.Identity.Attestations.TermsOfService; + export namespace PersonsProvided { + export type OwnershipExemptionReason = Stripe.V2.Core.Account.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; + } + export namespace TermsOfService { + export type Account = Stripe.V2.Core.Account.Identity.Attestations.TermsOfService.Account; + } + } + export namespace BusinessDetails { + export type Address = Stripe.V2.Core.Account.Identity.BusinessDetails.Address; + export type AnnualRevenue = Stripe.V2.Core.Account.Identity.BusinessDetails.AnnualRevenue; + export type Documents = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents; + export type IdNumber = Stripe.V2.Core.Account.Identity.BusinessDetails.IdNumber; + export type MonthlyEstimatedRevenue = Stripe.V2.Core.Account.Identity.BusinessDetails.MonthlyEstimatedRevenue; + export type RegistrationDate = Stripe.V2.Core.Account.Identity.BusinessDetails.RegistrationDate; + export type ScriptAddresses = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses; + export type ScriptNames = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptNames; + export type Structure = Stripe.V2.Core.Account.Identity.BusinessDetails.Structure; + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; + export type PrimaryVerification = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.PrimaryVerification; + export type ProofOfAddress = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; + export namespace PrimaryVerification { + export type FrontBack = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; + } + export namespace ProofOfRegistration { + export type Signer = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; + } + export namespace ProofOfUltimateBeneficialOwnership { + export type Signer = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; + } + } + export namespace IdNumber { + export type Type = Stripe.V2.Core.Account.Identity.BusinessDetails.IdNumber.Type; + } + export namespace ScriptAddresses { + export type Kana = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses.Kana; + export type Kanji = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses.Kanji; + } + export namespace ScriptNames { + export type Kana = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptNames.Kana; + export type Kanji = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptNames.Kanji; + } + } + export namespace Individual { + export type AdditionalAddress = Stripe.V2.Core.Account.Identity.Individual.AdditionalAddress; + export type AdditionalName = Stripe.V2.Core.Account.Identity.Individual.AdditionalName; + export type AdditionalTermsOfService = Stripe.V2.Core.Account.Identity.Individual.AdditionalTermsOfService; + export type Address = Stripe.V2.Core.Account.Identity.Individual.Address; + export type DateOfBirth = Stripe.V2.Core.Account.Identity.Individual.DateOfBirth; + export type Documents = Stripe.V2.Core.Account.Identity.Individual.Documents; + export type IdNumber = Stripe.V2.Core.Account.Identity.Individual.IdNumber; + export type LegalGender = Stripe.V2.Core.Account.Identity.Individual.LegalGender; + export type PoliticalExposure = Stripe.V2.Core.Account.Identity.Individual.PoliticalExposure; + export type Relationship = Stripe.V2.Core.Account.Identity.Individual.Relationship; + export type ScriptAddresses = Stripe.V2.Core.Account.Identity.Individual.ScriptAddresses; + export type ScriptNames = Stripe.V2.Core.Account.Identity.Individual.ScriptNames; + export namespace AdditionalName { + export type Purpose = Stripe.V2.Core.Account.Identity.Individual.AdditionalName.Purpose; + } + export namespace AdditionalTermsOfService { + export type Account = Stripe.V2.Core.Account.Identity.Individual.AdditionalTermsOfService.Account; + } + export namespace Documents { + export type CompanyAuthorization = Stripe.V2.Core.Account.Identity.Individual.Documents.CompanyAuthorization; + export type Passport = Stripe.V2.Core.Account.Identity.Individual.Documents.Passport; + export type PrimaryVerification = Stripe.V2.Core.Account.Identity.Individual.Documents.PrimaryVerification; + export type SecondaryVerification = Stripe.V2.Core.Account.Identity.Individual.Documents.SecondaryVerification; + export type Visa = Stripe.V2.Core.Account.Identity.Individual.Documents.Visa; + export namespace PrimaryVerification { + export type FrontBack = Stripe.V2.Core.Account.Identity.Individual.Documents.PrimaryVerification.FrontBack; + } + export namespace SecondaryVerification { + export type FrontBack = Stripe.V2.Core.Account.Identity.Individual.Documents.SecondaryVerification.FrontBack; + } + } + export namespace IdNumber { + export type Type = Stripe.V2.Core.Account.Identity.Individual.IdNumber.Type; + } + export namespace ScriptAddresses { + export type Kana = Stripe.V2.Core.Account.Identity.Individual.ScriptAddresses.Kana; + export type Kanji = Stripe.V2.Core.Account.Identity.Individual.ScriptAddresses.Kanji; + } + export namespace ScriptNames { + export type Kana = Stripe.V2.Core.Account.Identity.Individual.ScriptNames.Kana; + export type Kanji = Stripe.V2.Core.Account.Identity.Individual.ScriptNames.Kanji; + } + } + } + export namespace Requirements { + export type Entry = Stripe.V2.Core.Account.Requirements.Entry; + export type Summary = Stripe.V2.Core.Account.Requirements.Summary; + export namespace Entry { + export type AwaitingActionFrom = Stripe.V2.Core.Account.Requirements.Entry.AwaitingActionFrom; + export type Error = Stripe.V2.Core.Account.Requirements.Entry.Error; + export type Impact = Stripe.V2.Core.Account.Requirements.Entry.Impact; + export type MinimumDeadline = Stripe.V2.Core.Account.Requirements.Entry.MinimumDeadline; + export type Reference = Stripe.V2.Core.Account.Requirements.Entry.Reference; + export type RequestedReason = Stripe.V2.Core.Account.Requirements.Entry.RequestedReason; + export namespace Error { + export type Code = Stripe.V2.Core.Account.Requirements.Entry.Error.Code; + } + export namespace Impact { + export type RestrictsCapability = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability; + export namespace RestrictsCapability { + export type Capability = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Capability; + export type Configuration = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Configuration; + export type Deadline = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Deadline; + export namespace Deadline { + export type Status = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Deadline.Status; + } + } + } + export namespace MinimumDeadline { + export type Status = Stripe.V2.Core.Account.Requirements.Entry.MinimumDeadline.Status; + } + export namespace Reference { + export type Type = Stripe.V2.Core.Account.Requirements.Entry.Reference.Type; + } + export namespace RequestedReason { + export type Code = Stripe.V2.Core.Account.Requirements.Entry.RequestedReason.Code; + } + } + export namespace Summary { + export type MinimumDeadline = Stripe.V2.Core.Account.Requirements.Summary.MinimumDeadline; + export namespace MinimumDeadline { + export type Status = Stripe.V2.Core.Account.Requirements.Summary.MinimumDeadline.Status; + } + } + } } export namespace AccountLinkCreateParams { export type UseCase = Stripe.V2.Core.AccountLinkCreateParams.UseCase; + export namespace UseCase { + export type AccountOnboarding = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding; + export type AccountUpdate = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate; + export type Type = Stripe.V2.Core.AccountLinkCreateParams.UseCase.Type; + export namespace AccountOnboarding { + export type CollectionOptions = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions; + export type Configuration = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.Configuration; + export namespace CollectionOptions { + export type Fields = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions.Fields; + export type FutureRequirements = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions.FutureRequirements; + } + } + export namespace AccountUpdate { + export type CollectionOptions = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions; + export type Configuration = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.Configuration; + export namespace CollectionOptions { + export type Fields = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions.Fields; + export type FutureRequirements = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions.FutureRequirements; + } + } + } + } + export namespace AccountLink { + export type UseCase = Stripe.V2.Core.AccountLink.UseCase; + export namespace UseCase { + export type AccountOnboarding = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding; + export type AccountUpdate = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate; + export type Type = Stripe.V2.Core.AccountLink.UseCase.Type; + export namespace AccountOnboarding { + export type CollectionOptions = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions; + export type Configuration = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding.Configuration; + export namespace CollectionOptions { + export type Fields = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions.Fields; + export type FutureRequirements = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions.FutureRequirements; + } + } + export namespace AccountUpdate { + export type CollectionOptions = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions; + export type Configuration = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate.Configuration; + export namespace CollectionOptions { + export type Fields = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions.Fields; + export type FutureRequirements = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions.FutureRequirements; + } + } + } } export namespace AccountTokenCreateParams { export type Identity = Stripe.V2.Core.AccountTokenCreateParams.Identity; + export namespace Identity { + export type Attestations = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations; + export type BusinessDetails = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails; + export type EntityType = Stripe.V2.Core.AccountTokenCreateParams.Identity.EntityType; + export type Individual = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual; + export namespace Attestations { + export type DirectorshipDeclaration = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.OwnershipDeclaration; + export type PersonsProvided = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.PersonsProvided; + export type RepresentativeDeclaration = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.RepresentativeDeclaration; + export type TermsOfService = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService; + export namespace PersonsProvided { + export type OwnershipExemptionReason = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; + } + export namespace TermsOfService { + export type Account = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.Account; + } + } + export namespace BusinessDetails { + export type AnnualRevenue = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.AnnualRevenue; + export type Documents = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents; + export type IdNumber = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.IdNumber; + export type MonthlyEstimatedRevenue = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.MonthlyEstimatedRevenue; + export type RegistrationDate = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.RegistrationDate; + export type ScriptAddresses = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptAddresses; + export type ScriptNames = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames; + export type Structure = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Structure; + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; + export type PrimaryVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification; + export type ProofOfAddress = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; + export namespace PrimaryVerification { + export type FrontBack = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; + } + export namespace ProofOfRegistration { + export type Signer = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; + } + export namespace ProofOfUltimateBeneficialOwnership { + export type Signer = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; + } + } + export namespace IdNumber { + export type Type = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Type; + } + export namespace ScriptNames { + export type Kana = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames.Kana; + export type Kanji = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames.Kanji; + } + } + export namespace Individual { + export type AdditionalAddress = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalAddress; + export type AdditionalName = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalName; + export type DateOfBirth = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.DateOfBirth; + export type Documents = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents; + export type IdNumber = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.IdNumber; + export type LegalGender = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.LegalGender; + export type PoliticalExposure = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.PoliticalExposure; + export type Relationship = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Relationship; + export type ScriptAddresses = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptAddresses; + export type ScriptNames = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames; + export namespace AdditionalName { + export type Purpose = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalName.Purpose; + } + export namespace Documents { + export type CompanyAuthorization = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.CompanyAuthorization; + export type Passport = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.Passport; + export type PrimaryVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.PrimaryVerification; + export type SecondaryVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.SecondaryVerification; + export type Visa = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.Visa; + export namespace PrimaryVerification { + export type FrontBack = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.PrimaryVerification.FrontBack; + } + export namespace SecondaryVerification { + export type FrontBack = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.SecondaryVerification.FrontBack; + } + } + export namespace IdNumber { + export type Type = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.IdNumber.Type; + } + export namespace ScriptNames { + export type Kana = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames.Kana; + export type Kanji = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames.Kanji; + } + } + } + } + export namespace Event { + export type Changes = Stripe.V2.Core.Event.Changes; + export type Reason = Stripe.V2.Core.Event.Reason; + export namespace Reason { + export type Request = Stripe.V2.Core.Event.Reason.Request; + } } export namespace EventDestinationCreateParams { export type EventPayload = Stripe.V2.Core.EventDestinationCreateParams.EventPayload; @@ -2161,18 +13864,127 @@ declare namespace StripeConstructor { export type Include = Stripe.V2.Core.EventDestinationCreateParams.Include; export type WebhookEndpoint = Stripe.V2.Core.EventDestinationCreateParams.WebhookEndpoint; } - export namespace EventDestinationUpdateParams { - export type WebhookEndpoint = Stripe.V2.Core.EventDestinationUpdateParams.WebhookEndpoint; + export namespace EventDestination { + export type AmazonEventbridge = Stripe.V2.Core.EventDestination.AmazonEventbridge; + export type AzureEventGrid = Stripe.V2.Core.EventDestination.AzureEventGrid; + export type EventPayload = Stripe.V2.Core.EventDestination.EventPayload; + export type Status = Stripe.V2.Core.EventDestination.Status; + export type StatusDetails = Stripe.V2.Core.EventDestination.StatusDetails; + export type Type = Stripe.V2.Core.EventDestination.Type; + export type WebhookEndpoint = Stripe.V2.Core.EventDestination.WebhookEndpoint; + export namespace AmazonEventbridge { + export type AwsEventSourceStatus = Stripe.V2.Core.EventDestination.AmazonEventbridge.AwsEventSourceStatus; + } + export namespace AzureEventGrid { + export type AzurePartnerTopicStatus = Stripe.V2.Core.EventDestination.AzureEventGrid.AzurePartnerTopicStatus; + } + export namespace StatusDetails { + export type Disabled = Stripe.V2.Core.EventDestination.StatusDetails.Disabled; + export namespace Disabled { + export type Reason = Stripe.V2.Core.EventDestination.StatusDetails.Disabled.Reason; + } + } + } + export namespace AccountPerson { + export type AdditionalAddress = Stripe.V2.Core.AccountPerson.AdditionalAddress; + export type AdditionalName = Stripe.V2.Core.AccountPerson.AdditionalName; + export type AdditionalTermsOfService = Stripe.V2.Core.AccountPerson.AdditionalTermsOfService; + export type Address = Stripe.V2.Core.AccountPerson.Address; + export type DateOfBirth = Stripe.V2.Core.AccountPerson.DateOfBirth; + export type Documents = Stripe.V2.Core.AccountPerson.Documents; + export type IdNumber = Stripe.V2.Core.AccountPerson.IdNumber; + export type LegalGender = Stripe.V2.Core.AccountPerson.LegalGender; + export type PoliticalExposure = Stripe.V2.Core.AccountPerson.PoliticalExposure; + export type Relationship = Stripe.V2.Core.AccountPerson.Relationship; + export type ScriptAddresses = Stripe.V2.Core.AccountPerson.ScriptAddresses; + export type ScriptNames = Stripe.V2.Core.AccountPerson.ScriptNames; + export namespace AdditionalName { + export type Purpose = Stripe.V2.Core.AccountPerson.AdditionalName.Purpose; + } + export namespace AdditionalTermsOfService { + export type Account = Stripe.V2.Core.AccountPerson.AdditionalTermsOfService.Account; + } + export namespace Documents { + export type CompanyAuthorization = Stripe.V2.Core.AccountPerson.Documents.CompanyAuthorization; + export type Passport = Stripe.V2.Core.AccountPerson.Documents.Passport; + export type PrimaryVerification = Stripe.V2.Core.AccountPerson.Documents.PrimaryVerification; + export type SecondaryVerification = Stripe.V2.Core.AccountPerson.Documents.SecondaryVerification; + export type Visa = Stripe.V2.Core.AccountPerson.Documents.Visa; + export namespace PrimaryVerification { + export type FrontBack = Stripe.V2.Core.AccountPerson.Documents.PrimaryVerification.FrontBack; + } + export namespace SecondaryVerification { + export type FrontBack = Stripe.V2.Core.AccountPerson.Documents.SecondaryVerification.FrontBack; + } + } + export namespace IdNumber { + export type Type = Stripe.V2.Core.AccountPerson.IdNumber.Type; + } + export namespace ScriptAddresses { + export type Kana = Stripe.V2.Core.AccountPerson.ScriptAddresses.Kana; + export type Kanji = Stripe.V2.Core.AccountPerson.ScriptAddresses.Kanji; + } + export namespace ScriptNames { + export type Kana = Stripe.V2.Core.AccountPerson.ScriptNames.Kana; + export type Kanji = Stripe.V2.Core.AccountPerson.ScriptNames.Kanji; + } } } export namespace Commerce { export type ProductCatalogImport = Stripe.V2.Commerce.ProductCatalogImport; + export namespace ProductCatalogImport { + export type FeedType = Stripe.V2.Commerce.ProductCatalogImport.FeedType; + export type Status = Stripe.V2.Commerce.ProductCatalogImport.Status; + export type StatusDetails = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails; + export namespace StatusDetails { + export type AwaitingUpload = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.AwaitingUpload; + export type Failed = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Failed; + export type Processing = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Processing; + export type Succeeded = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Succeeded; + export type SucceededWithErrors = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors; + export namespace AwaitingUpload { + export type UploadUrl = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.AwaitingUpload.UploadUrl; + } + export namespace Failed { + export type Code = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Failed.Code; + export type Type = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Failed.Type; + } + export namespace SucceededWithErrors { + export type ErrorFile = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.ErrorFile; + export type Sample = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.Sample; + export namespace ErrorFile { + export type DownloadUrl = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.ErrorFile.DownloadUrl; + } + } + } + } } } export namespace Reserve { export type Hold = Stripe.Reserve.Hold; export type Plan = Stripe.Reserve.Plan; export type Release = Stripe.Reserve.Release; + export namespace Hold { + export type CreatedBy = Stripe.Reserve.Hold.CreatedBy; + export type Reason = Stripe.Reserve.Hold.Reason; + export type ReleaseSchedule = Stripe.Reserve.Hold.ReleaseSchedule; + export type SourceType = Stripe.Reserve.Hold.SourceType; + } + export namespace Plan { + export type CreatedBy = Stripe.Reserve.Plan.CreatedBy; + export type FixedRelease = Stripe.Reserve.Plan.FixedRelease; + export type RollingRelease = Stripe.Reserve.Plan.RollingRelease; + export type Status = Stripe.Reserve.Plan.Status; + export type Type = Stripe.Reserve.Plan.Type; + } + export namespace Release { + export type CreatedBy = Stripe.Reserve.Release.CreatedBy; + export type Reason = Stripe.Reserve.Release.Reason; + export type SourceTransaction = Stripe.Reserve.Release.SourceTransaction; + export namespace SourceTransaction { + export type Type = Stripe.Reserve.Release.SourceTransaction.Type; + } + } } export namespace Events { export type UnknownEventNotification = Stripe.V2.Core.Events.UnknownEventNotification; diff --git a/testProjects/types-cjs-node16/typescriptTest.ts b/testProjects/types-cjs-node16/typescriptTest.ts index 2ab5532920..a1259626ad 100644 --- a/testProjects/types-cjs-node16/typescriptTest.ts +++ b/testProjects/types-cjs-node16/typescriptTest.ts @@ -39,6 +39,23 @@ async (): Promise => { let opts: Stripe.RequestOptions; let apiList: Stripe.ApiList; +// Resource sub-types (companion namespace access) +let priceRecurring: Stripe.Price.Recurring; +let customerInvoiceSettings: Stripe.Customer.InvoiceSettings; +let subscriptionBillingMode: Stripe.Subscription.BillingMode; + +// Deep resource sub-types (2+ levels) +const billingModeType: Stripe.Subscription.BillingMode.Type = 'classic'; + +// Nested resource sub-types (product namespace → resource → sub-type) +let alertStatus: Stripe.Billing.Alert.Status; +let terminalTipping: Stripe.Terminal.Configuration.Tipping; +let appsSecretScope: Stripe.Apps.Secret.Scope; + +// Deep params sub-namespaces (2+ levels) +let accountBizProfile: Stripe.AccountCreateParams.BusinessProfile; +let accountBizRevenue: Stripe.AccountCreateParams.BusinessProfile.AnnualRevenue; + // Config strictness // @ts-expect-error - unknown config properties should be rejected const bad = new Stripe('sk_test_123', {unknownProperty: true}); diff --git a/testProjects/types-cjs/typescriptTest.ts b/testProjects/types-cjs/typescriptTest.ts index 8d62a0ebc4..46521d136e 100644 --- a/testProjects/types-cjs/typescriptTest.ts +++ b/testProjects/types-cjs/typescriptTest.ts @@ -443,6 +443,23 @@ const oAuthAuthorizeUrlParams: Stripe.OAuthAuthorizeUrlParams = {}; const oAuthDeauthorization: Stripe.OAuthDeauthorization = {stripe_user_id: ''}; const oAuthDeauthorizeParams: Stripe.OAuthDeauthorizeParams = {}; +// Resource sub-types (companion namespace access) +let priceRecurring: Stripe.Price.Recurring; +let customerInvoiceSettings: Stripe.Customer.InvoiceSettings; +let subscriptionBillingMode: Stripe.Subscription.BillingMode; + +// Deep resource sub-types (2+ levels) +const billingModeType: Stripe.Subscription.BillingMode.Type = 'classic'; + +// Nested resource sub-types (product namespace → resource → sub-type) +let alertStatus: Stripe.Billing.Alert.Status; +let terminalTipping: Stripe.Terminal.Configuration.Tipping; +let appsSecretScope: Stripe.Apps.Secret.Scope; + +// Deep params sub-namespaces (2+ levels) +let accountBizProfile: Stripe.AccountCreateParams.BusinessProfile; +let accountBizRevenue: Stripe.AccountCreateParams.BusinessProfile.AnnualRevenue; + // Access and type top level resources and nested resources const customerResource: Stripe.CustomerResource = new Stripe.CustomerResource( stripe diff --git a/testProjects/types/typescriptTest.ts b/testProjects/types/typescriptTest.ts index c1e05addf0..b213bea212 100644 --- a/testProjects/types/typescriptTest.ts +++ b/testProjects/types/typescriptTest.ts @@ -449,6 +449,23 @@ const oAuthAuthorizeUrlParams: Stripe.OAuthAuthorizeUrlParams = {}; const oAuthDeauthorization: Stripe.OAuthDeauthorization = {stripe_user_id: ''}; const oAuthDeauthorizeParams: Stripe.OAuthDeauthorizeParams = {}; +// Resource sub-types (companion namespace access) +let priceRecurring: Stripe.Price.Recurring; +let customerInvoiceSettings: Stripe.Customer.InvoiceSettings; +let subscriptionBillingMode: Stripe.Subscription.BillingMode; + +// Deep resource sub-types (2+ levels) +const billingModeType: Stripe.Subscription.BillingMode.Type = 'classic'; + +// Nested resource sub-types (product namespace → resource → sub-type) +let alertStatus: Stripe.Billing.Alert.Status; +let terminalTipping: Stripe.Terminal.Configuration.Tipping; +let appsSecretScope: Stripe.Apps.Secret.Scope; + +// Deep params sub-namespaces (2+ levels) +let accountBizProfile: Stripe.AccountCreateParams.BusinessProfile; +let accountBizRevenue: Stripe.AccountCreateParams.BusinessProfile.AnnualRevenue; + // Access and type top level resources and nested resources const customerResource: Stripe.CustomerResource = new Stripe.CustomerResource( stripe From f96a3a0002b13640e6406c4ba8ec4c970acc43ad Mon Sep 17 00:00:00 2001 From: jar-stripe Date: Wed, 24 Jun 2026 12:08:34 -0700 Subject: [PATCH 2/4] alias Stripe as Stripe_ and updated manual code, regenerated from spec (#2766) * alias Stripe as Stripe_ and updated manual code, regenerated from spec * missed some renames --- src/stripe.cjs.node.ts | 17436 +++++++++++++++++++-------------------- 1 file changed, 8718 insertions(+), 8718 deletions(-) diff --git a/src/stripe.cjs.node.ts b/src/stripe.cjs.node.ts index 3be37c6d21..84486e9957 100644 --- a/src/stripe.cjs.node.ts +++ b/src/stripe.cjs.node.ts @@ -1,15 +1,15 @@ import {NodePlatformFunctions} from './platform/NodePlatformFunctions.js'; -import {Stripe} from './stripe.core.js'; +import {Stripe as Stripe_} from './stripe.core.js'; import {StripeConfig} from './lib.js'; // Initialize the Stripe class with Node platform functions -Stripe.initialize(new NodePlatformFunctions()); +Stripe_.initialize(new NodePlatformFunctions()); // Callable constructor: supports both `new Stripe()` and `Stripe()` for CJS consumers. // typeof Stripe provides the construct signature and static members; the intersection // adds a call signature for backward compatibility. -type StripeCallableConstructor = typeof Stripe & { - (key: string, config?: StripeConfig): Stripe; +type StripeCallableConstructor = typeof Stripe_ & { + (key: string, config?: StripeConfig): Stripe_; }; // Function declaration merges with the ambient namespace below (CJS `import type` / nested types). @@ -18,23 +18,23 @@ const StripeConstructor: StripeCallableConstructor = (function( this: any, key: string, config?: StripeConfig -): Stripe { +): Stripe_ { // Support calling without `new` if (!(this instanceof StripeConstructor)) { - return new Stripe(key, config); + return new Stripe_(key, config); } - return new Stripe(key, config); + return new Stripe_(key, config); } as unknown) as StripeCallableConstructor; // Copy all static properties from Stripe to the wrapper -Object.setPrototypeOf(StripeConstructor, Stripe); -Object.setPrototypeOf(StripeConstructor.prototype, Stripe.prototype); +Object.setPrototypeOf(StripeConstructor, Stripe_); +Object.setPrototypeOf(StripeConstructor.prototype, Stripe_.prototype); // Copy static properties explicitly -for (const key of Object.getOwnPropertyNames(Stripe)) { +for (const key of Object.getOwnPropertyNames(Stripe_)) { if (key !== 'length' && key !== 'prototype' && key !== 'name') { Object.defineProperty(StripeConstructor, key, { - value: (Stripe as any)[key], + value: (Stripe_ as any)[key], writable: true, enumerable: true, configurable: true, @@ -46,13461 +46,13461 @@ for (const key of Object.getOwnPropertyNames(Stripe)) { // callable + construct signatures here (see https://github.com/stripe/stripe-node/issues/2683). // eslint-disable-next-line @typescript-eslint/no-empty-interface -interface StripeConstructor extends Stripe {} +interface StripeConstructor extends Stripe_ {} declare namespace StripeConstructor { export type Stripe = import('./stripe.core.js').Stripe; // StripeInterfaceCJSExports: The beginning of the section generated from our OpenAPI spec - export type Account = Stripe.Account; - export type DeletedAccount = Stripe.DeletedAccount; - export type AccountCreateParams = Stripe.AccountCreateParams; - export type AccountRetrieveParams = Stripe.AccountRetrieveParams; - export type AccountUpdateParams = Stripe.AccountUpdateParams; - export type AccountListParams = Stripe.AccountListParams; - export type AccountDeleteParams = Stripe.AccountDeleteParams; - export type AccountCreateExternalAccountParams = Stripe.AccountCreateExternalAccountParams; - export type AccountCreateLoginLinkParams = Stripe.AccountCreateLoginLinkParams; - export type AccountCreatePersonParams = Stripe.AccountCreatePersonParams; - export type AccountDeleteExternalAccountParams = Stripe.AccountDeleteExternalAccountParams; - export type AccountDeletePersonParams = Stripe.AccountDeletePersonParams; - export type AccountListCapabilitiesParams = Stripe.AccountListCapabilitiesParams; - export type AccountListExternalAccountsParams = Stripe.AccountListExternalAccountsParams; - export type AccountListPersonsParams = Stripe.AccountListPersonsParams; - export type AccountRejectParams = Stripe.AccountRejectParams; - export type AccountRetrieveCurrentParams = Stripe.AccountRetrieveCurrentParams; - export type AccountRetrieveCapabilityParams = Stripe.AccountRetrieveCapabilityParams; - export type AccountRetrieveExternalAccountParams = Stripe.AccountRetrieveExternalAccountParams; - export type AccountRetrievePersonParams = Stripe.AccountRetrievePersonParams; - export type AccountUpdateCapabilityParams = Stripe.AccountUpdateCapabilityParams; - export type AccountUpdateExternalAccountParams = Stripe.AccountUpdateExternalAccountParams; - export type AccountUpdatePersonParams = Stripe.AccountUpdatePersonParams; - export type AccountResource = Stripe.AccountResource; - export type AccountLink = Stripe.AccountLink; - export type AccountLinkCreateParams = Stripe.AccountLinkCreateParams; - export type AccountLinkResource = Stripe.AccountLinkResource; - export type AccountSession = Stripe.AccountSession; - export type AccountSessionCreateParams = Stripe.AccountSessionCreateParams; - export type AccountSessionResource = Stripe.AccountSessionResource; - export type ApplePayDomain = Stripe.ApplePayDomain; - export type DeletedApplePayDomain = Stripe.DeletedApplePayDomain; - export type ApplePayDomainCreateParams = Stripe.ApplePayDomainCreateParams; - export type ApplePayDomainRetrieveParams = Stripe.ApplePayDomainRetrieveParams; - export type ApplePayDomainListParams = Stripe.ApplePayDomainListParams; - export type ApplePayDomainDeleteParams = Stripe.ApplePayDomainDeleteParams; - export type ApplePayDomainResource = Stripe.ApplePayDomainResource; - export type ApplicationFee = Stripe.ApplicationFee; - export type ApplicationFeeRetrieveParams = Stripe.ApplicationFeeRetrieveParams; - export type ApplicationFeeListParams = Stripe.ApplicationFeeListParams; - export type ApplicationFeeCreateRefundParams = Stripe.ApplicationFeeCreateRefundParams; - export type ApplicationFeeListRefundsParams = Stripe.ApplicationFeeListRefundsParams; - export type ApplicationFeeRetrieveRefundParams = Stripe.ApplicationFeeRetrieveRefundParams; - export type ApplicationFeeUpdateRefundParams = Stripe.ApplicationFeeUpdateRefundParams; - export type ApplicationFeeResource = Stripe.ApplicationFeeResource; - export type Balance = Stripe.Balance; - export type BalanceRetrieveParams = Stripe.BalanceRetrieveParams; - export type BalanceResource = Stripe.BalanceResource; - export type BalanceSettings = Stripe.BalanceSettings; - export type BalanceSettingsRetrieveParams = Stripe.BalanceSettingsRetrieveParams; - export type BalanceSettingsUpdateParams = Stripe.BalanceSettingsUpdateParams; - export type BalanceSettingResource = Stripe.BalanceSettingResource; - export type BalanceTransaction = Stripe.BalanceTransaction; - export type BalanceTransactionRetrieveParams = Stripe.BalanceTransactionRetrieveParams; - export type BalanceTransactionListParams = Stripe.BalanceTransactionListParams; - export type BalanceTransactionResource = Stripe.BalanceTransactionResource; - export type Charge = Stripe.Charge; - export type ChargeCreateParams = Stripe.ChargeCreateParams; - export type ChargeRetrieveParams = Stripe.ChargeRetrieveParams; - export type ChargeUpdateParams = Stripe.ChargeUpdateParams; - export type ChargeListParams = Stripe.ChargeListParams; - export type ChargeCaptureParams = Stripe.ChargeCaptureParams; - export type ChargeSearchParams = Stripe.ChargeSearchParams; - export type ChargeResource = Stripe.ChargeResource; - export type ConfirmationToken = Stripe.ConfirmationToken; - export type ConfirmationTokenRetrieveParams = Stripe.ConfirmationTokenRetrieveParams; - export type ConfirmationTokenResource = Stripe.ConfirmationTokenResource; - export type CountrySpec = Stripe.CountrySpec; - export type CountrySpecRetrieveParams = Stripe.CountrySpecRetrieveParams; - export type CountrySpecListParams = Stripe.CountrySpecListParams; - export type CountrySpecResource = Stripe.CountrySpecResource; - export type Coupon = Stripe.Coupon; - export type DeletedCoupon = Stripe.DeletedCoupon; - export type CouponCreateParams = Stripe.CouponCreateParams; - export type CouponRetrieveParams = Stripe.CouponRetrieveParams; - export type CouponUpdateParams = Stripe.CouponUpdateParams; - export type CouponListParams = Stripe.CouponListParams; - export type CouponDeleteParams = Stripe.CouponDeleteParams; - export type CouponResource = Stripe.CouponResource; - export type CreditNote = Stripe.CreditNote; - export type CreditNoteCreateParams = Stripe.CreditNoteCreateParams; - export type CreditNoteRetrieveParams = Stripe.CreditNoteRetrieveParams; - export type CreditNoteUpdateParams = Stripe.CreditNoteUpdateParams; - export type CreditNoteListParams = Stripe.CreditNoteListParams; - export type CreditNoteListLineItemsParams = Stripe.CreditNoteListLineItemsParams; - export type CreditNoteListPreviewLineItemsParams = Stripe.CreditNoteListPreviewLineItemsParams; - export type CreditNotePreviewParams = Stripe.CreditNotePreviewParams; - export type CreditNoteVoidCreditNoteParams = Stripe.CreditNoteVoidCreditNoteParams; - export type CreditNoteResource = Stripe.CreditNoteResource; - export type Customer = Stripe.Customer; - export type DeletedCustomer = Stripe.DeletedCustomer; - export type CustomerCreateParams = Stripe.CustomerCreateParams; - export type CustomerRetrieveParams = Stripe.CustomerRetrieveParams; - export type CustomerUpdateParams = Stripe.CustomerUpdateParams; - export type CustomerListParams = Stripe.CustomerListParams; - export type CustomerDeleteParams = Stripe.CustomerDeleteParams; - export type CustomerCreateBalanceTransactionParams = Stripe.CustomerCreateBalanceTransactionParams; - export type CustomerCreateFundingInstructionsParams = Stripe.CustomerCreateFundingInstructionsParams; - export type CustomerCreateSourceParams = Stripe.CustomerCreateSourceParams; - export type CustomerCreateTaxIdParams = Stripe.CustomerCreateTaxIdParams; - export type CustomerDeleteDiscountParams = Stripe.CustomerDeleteDiscountParams; - export type CustomerDeleteSourceParams = Stripe.CustomerDeleteSourceParams; - export type CustomerDeleteTaxIdParams = Stripe.CustomerDeleteTaxIdParams; - export type CustomerListBalanceTransactionsParams = Stripe.CustomerListBalanceTransactionsParams; - export type CustomerListCashBalanceTransactionsParams = Stripe.CustomerListCashBalanceTransactionsParams; - export type CustomerListPaymentMethodsParams = Stripe.CustomerListPaymentMethodsParams; - export type CustomerListSourcesParams = Stripe.CustomerListSourcesParams; - export type CustomerListTaxIdsParams = Stripe.CustomerListTaxIdsParams; - export type CustomerRetrieveBalanceTransactionParams = Stripe.CustomerRetrieveBalanceTransactionParams; - export type CustomerRetrieveCashBalanceParams = Stripe.CustomerRetrieveCashBalanceParams; - export type CustomerRetrieveCashBalanceTransactionParams = Stripe.CustomerRetrieveCashBalanceTransactionParams; - export type CustomerRetrievePaymentMethodParams = Stripe.CustomerRetrievePaymentMethodParams; - export type CustomerRetrieveSourceParams = Stripe.CustomerRetrieveSourceParams; - export type CustomerRetrieveTaxIdParams = Stripe.CustomerRetrieveTaxIdParams; - export type CustomerSearchParams = Stripe.CustomerSearchParams; - export type CustomerUpdateBalanceTransactionParams = Stripe.CustomerUpdateBalanceTransactionParams; - export type CustomerUpdateCashBalanceParams = Stripe.CustomerUpdateCashBalanceParams; - export type CustomerUpdateSourceParams = Stripe.CustomerUpdateSourceParams; - export type CustomerVerifySourceParams = Stripe.CustomerVerifySourceParams; - export type CustomerResource = Stripe.CustomerResource; - export type CustomerSession = Stripe.CustomerSession; - export type CustomerSessionCreateParams = Stripe.CustomerSessionCreateParams; - export type CustomerSessionResource = Stripe.CustomerSessionResource; - export type Dispute = Stripe.Dispute; - export type DisputeRetrieveParams = Stripe.DisputeRetrieveParams; - export type DisputeUpdateParams = Stripe.DisputeUpdateParams; - export type DisputeListParams = Stripe.DisputeListParams; - export type DisputeCloseParams = Stripe.DisputeCloseParams; - export type DisputeResource = Stripe.DisputeResource; - export type EphemeralKey = Stripe.EphemeralKey; - export type EphemeralKeyCreateParams = Stripe.EphemeralKeyCreateParams; - export type EphemeralKeyDeleteParams = Stripe.EphemeralKeyDeleteParams; - export type EphemeralKeyResource = Stripe.EphemeralKeyResource; - export type Event = Stripe.Event; - export type EventBase = Stripe.EventBase; - export type EventRetrieveParams = Stripe.EventRetrieveParams; - export type EventListParams = Stripe.EventListParams; - export type EventResource = Stripe.EventResource; - export type ExchangeRate = Stripe.ExchangeRate; - export type ExchangeRateRetrieveParams = Stripe.ExchangeRateRetrieveParams; - export type ExchangeRateListParams = Stripe.ExchangeRateListParams; - export type ExchangeRateResource = Stripe.ExchangeRateResource; - export type File = Stripe.File; - export type FileCreateParams = Stripe.FileCreateParams; - export type FileRetrieveParams = Stripe.FileRetrieveParams; - export type FileListParams = Stripe.FileListParams; - export type FileResource = Stripe.FileResource; - export type FileLink = Stripe.FileLink; - export type FileLinkCreateParams = Stripe.FileLinkCreateParams; - export type FileLinkRetrieveParams = Stripe.FileLinkRetrieveParams; - export type FileLinkUpdateParams = Stripe.FileLinkUpdateParams; - export type FileLinkListParams = Stripe.FileLinkListParams; - export type FileLinkResource = Stripe.FileLinkResource; - export type Invoice = Stripe.Invoice; - export type DeletedInvoice = Stripe.DeletedInvoice; - export type InvoiceCreateParams = Stripe.InvoiceCreateParams; - export type InvoiceRetrieveParams = Stripe.InvoiceRetrieveParams; - export type InvoiceUpdateParams = Stripe.InvoiceUpdateParams; - export type InvoiceListParams = Stripe.InvoiceListParams; - export type InvoiceDeleteParams = Stripe.InvoiceDeleteParams; - export type InvoiceAddLinesParams = Stripe.InvoiceAddLinesParams; - export type InvoiceAttachPaymentParams = Stripe.InvoiceAttachPaymentParams; - export type InvoiceCreatePreviewParams = Stripe.InvoiceCreatePreviewParams; - export type InvoiceFinalizeInvoiceParams = Stripe.InvoiceFinalizeInvoiceParams; - export type InvoiceListLineItemsParams = Stripe.InvoiceListLineItemsParams; - export type InvoiceMarkUncollectibleParams = Stripe.InvoiceMarkUncollectibleParams; - export type InvoicePayParams = Stripe.InvoicePayParams; - export type InvoiceRemoveLinesParams = Stripe.InvoiceRemoveLinesParams; - export type InvoiceSearchParams = Stripe.InvoiceSearchParams; - export type InvoiceSendInvoiceParams = Stripe.InvoiceSendInvoiceParams; - export type InvoiceUpdateLinesParams = Stripe.InvoiceUpdateLinesParams; - export type InvoiceUpdateLineItemParams = Stripe.InvoiceUpdateLineItemParams; - export type InvoiceVoidInvoiceParams = Stripe.InvoiceVoidInvoiceParams; - export type InvoiceResource = Stripe.InvoiceResource; - export type InvoiceItem = Stripe.InvoiceItem; - export type DeletedInvoiceItem = Stripe.DeletedInvoiceItem; - export type InvoiceItemCreateParams = Stripe.InvoiceItemCreateParams; - export type InvoiceItemRetrieveParams = Stripe.InvoiceItemRetrieveParams; - export type InvoiceItemUpdateParams = Stripe.InvoiceItemUpdateParams; - export type InvoiceItemListParams = Stripe.InvoiceItemListParams; - export type InvoiceItemDeleteParams = Stripe.InvoiceItemDeleteParams; - export type InvoiceItemResource = Stripe.InvoiceItemResource; - export type InvoicePayment = Stripe.InvoicePayment; - export type InvoicePaymentRetrieveParams = Stripe.InvoicePaymentRetrieveParams; - export type InvoicePaymentListParams = Stripe.InvoicePaymentListParams; - export type InvoicePaymentResource = Stripe.InvoicePaymentResource; - export type InvoiceRenderingTemplate = Stripe.InvoiceRenderingTemplate; - export type InvoiceRenderingTemplateRetrieveParams = Stripe.InvoiceRenderingTemplateRetrieveParams; - export type InvoiceRenderingTemplateListParams = Stripe.InvoiceRenderingTemplateListParams; - export type InvoiceRenderingTemplateArchiveParams = Stripe.InvoiceRenderingTemplateArchiveParams; - export type InvoiceRenderingTemplateUnarchiveParams = Stripe.InvoiceRenderingTemplateUnarchiveParams; - export type InvoiceRenderingTemplateResource = Stripe.InvoiceRenderingTemplateResource; - export type Mandate = Stripe.Mandate; - export type MandateRetrieveParams = Stripe.MandateRetrieveParams; - export type MandateResource = Stripe.MandateResource; - export type PaymentAttemptRecord = Stripe.PaymentAttemptRecord; - export type PaymentAttemptRecordRetrieveParams = Stripe.PaymentAttemptRecordRetrieveParams; - export type PaymentAttemptRecordListParams = Stripe.PaymentAttemptRecordListParams; - export type PaymentAttemptRecordResource = Stripe.PaymentAttemptRecordResource; - export type PaymentIntent = Stripe.PaymentIntent; - export type PaymentIntentCreateParams = Stripe.PaymentIntentCreateParams; - export type PaymentIntentRetrieveParams = Stripe.PaymentIntentRetrieveParams; - export type PaymentIntentUpdateParams = Stripe.PaymentIntentUpdateParams; - export type PaymentIntentListParams = Stripe.PaymentIntentListParams; - export type PaymentIntentApplyCustomerBalanceParams = Stripe.PaymentIntentApplyCustomerBalanceParams; - export type PaymentIntentCancelParams = Stripe.PaymentIntentCancelParams; - export type PaymentIntentCaptureParams = Stripe.PaymentIntentCaptureParams; - export type PaymentIntentConfirmParams = Stripe.PaymentIntentConfirmParams; - export type PaymentIntentIncrementAuthorizationParams = Stripe.PaymentIntentIncrementAuthorizationParams; - export type PaymentIntentListAmountDetailsLineItemsParams = Stripe.PaymentIntentListAmountDetailsLineItemsParams; - export type PaymentIntentSearchParams = Stripe.PaymentIntentSearchParams; - export type PaymentIntentVerifyMicrodepositsParams = Stripe.PaymentIntentVerifyMicrodepositsParams; - export type PaymentIntentResource = Stripe.PaymentIntentResource; - export type PaymentLink = Stripe.PaymentLink; - export type PaymentLinkCreateParams = Stripe.PaymentLinkCreateParams; - export type PaymentLinkRetrieveParams = Stripe.PaymentLinkRetrieveParams; - export type PaymentLinkUpdateParams = Stripe.PaymentLinkUpdateParams; - export type PaymentLinkListParams = Stripe.PaymentLinkListParams; - export type PaymentLinkListLineItemsParams = Stripe.PaymentLinkListLineItemsParams; - export type PaymentLinkResource = Stripe.PaymentLinkResource; - export type PaymentMethod = Stripe.PaymentMethod; - export type PaymentMethodCreateParams = Stripe.PaymentMethodCreateParams; - export type PaymentMethodRetrieveParams = Stripe.PaymentMethodRetrieveParams; - export type PaymentMethodUpdateParams = Stripe.PaymentMethodUpdateParams; - export type PaymentMethodListParams = Stripe.PaymentMethodListParams; - export type PaymentMethodAttachParams = Stripe.PaymentMethodAttachParams; - export type PaymentMethodDetachParams = Stripe.PaymentMethodDetachParams; - export type PaymentMethodResource = Stripe.PaymentMethodResource; - export type PaymentMethodConfiguration = Stripe.PaymentMethodConfiguration; - export type PaymentMethodConfigurationCreateParams = Stripe.PaymentMethodConfigurationCreateParams; - export type PaymentMethodConfigurationRetrieveParams = Stripe.PaymentMethodConfigurationRetrieveParams; - export type PaymentMethodConfigurationUpdateParams = Stripe.PaymentMethodConfigurationUpdateParams; - export type PaymentMethodConfigurationListParams = Stripe.PaymentMethodConfigurationListParams; - export type PaymentMethodConfigurationResource = Stripe.PaymentMethodConfigurationResource; - export type PaymentMethodDomain = Stripe.PaymentMethodDomain; - export type PaymentMethodDomainCreateParams = Stripe.PaymentMethodDomainCreateParams; - export type PaymentMethodDomainRetrieveParams = Stripe.PaymentMethodDomainRetrieveParams; - export type PaymentMethodDomainUpdateParams = Stripe.PaymentMethodDomainUpdateParams; - export type PaymentMethodDomainListParams = Stripe.PaymentMethodDomainListParams; - export type PaymentMethodDomainValidateParams = Stripe.PaymentMethodDomainValidateParams; - export type PaymentMethodDomainResource = Stripe.PaymentMethodDomainResource; - export type PaymentRecord = Stripe.PaymentRecord; - export type PaymentRecordRetrieveParams = Stripe.PaymentRecordRetrieveParams; - export type PaymentRecordReportPaymentParams = Stripe.PaymentRecordReportPaymentParams; - export type PaymentRecordReportPaymentAttemptParams = Stripe.PaymentRecordReportPaymentAttemptParams; - export type PaymentRecordReportPaymentAttemptCanceledParams = Stripe.PaymentRecordReportPaymentAttemptCanceledParams; - export type PaymentRecordReportPaymentAttemptFailedParams = Stripe.PaymentRecordReportPaymentAttemptFailedParams; - export type PaymentRecordReportPaymentAttemptGuaranteedParams = Stripe.PaymentRecordReportPaymentAttemptGuaranteedParams; - export type PaymentRecordReportPaymentAttemptInformationalParams = Stripe.PaymentRecordReportPaymentAttemptInformationalParams; - export type PaymentRecordReportRefundParams = Stripe.PaymentRecordReportRefundParams; - export type PaymentRecordResource = Stripe.PaymentRecordResource; - export type Payout = Stripe.Payout; - export type PayoutCreateParams = Stripe.PayoutCreateParams; - export type PayoutRetrieveParams = Stripe.PayoutRetrieveParams; - export type PayoutUpdateParams = Stripe.PayoutUpdateParams; - export type PayoutListParams = Stripe.PayoutListParams; - export type PayoutCancelParams = Stripe.PayoutCancelParams; - export type PayoutReverseParams = Stripe.PayoutReverseParams; - export type PayoutResource = Stripe.PayoutResource; - export type Plan = Stripe.Plan; - export type DeletedPlan = Stripe.DeletedPlan; - export type PlanCreateParams = Stripe.PlanCreateParams; - export type PlanRetrieveParams = Stripe.PlanRetrieveParams; - export type PlanUpdateParams = Stripe.PlanUpdateParams; - export type PlanListParams = Stripe.PlanListParams; - export type PlanDeleteParams = Stripe.PlanDeleteParams; - export type PlanResource = Stripe.PlanResource; - export type Price = Stripe.Price; - export type DeletedPrice = Stripe.DeletedPrice; - export type PriceCreateParams = Stripe.PriceCreateParams; - export type PriceRetrieveParams = Stripe.PriceRetrieveParams; - export type PriceUpdateParams = Stripe.PriceUpdateParams; - export type PriceListParams = Stripe.PriceListParams; - export type PriceSearchParams = Stripe.PriceSearchParams; - export type PriceResource = Stripe.PriceResource; - export type Product = Stripe.Product; - export type DeletedProduct = Stripe.DeletedProduct; - export type ProductCreateParams = Stripe.ProductCreateParams; - export type ProductRetrieveParams = Stripe.ProductRetrieveParams; - export type ProductUpdateParams = Stripe.ProductUpdateParams; - export type ProductListParams = Stripe.ProductListParams; - export type ProductDeleteParams = Stripe.ProductDeleteParams; - export type ProductCreateFeatureParams = Stripe.ProductCreateFeatureParams; - export type ProductDeleteFeatureParams = Stripe.ProductDeleteFeatureParams; - export type ProductListFeaturesParams = Stripe.ProductListFeaturesParams; - export type ProductRetrieveFeatureParams = Stripe.ProductRetrieveFeatureParams; - export type ProductSearchParams = Stripe.ProductSearchParams; - export type ProductResource = Stripe.ProductResource; - export type PromotionCode = Stripe.PromotionCode; - export type PromotionCodeCreateParams = Stripe.PromotionCodeCreateParams; - export type PromotionCodeRetrieveParams = Stripe.PromotionCodeRetrieveParams; - export type PromotionCodeUpdateParams = Stripe.PromotionCodeUpdateParams; - export type PromotionCodeListParams = Stripe.PromotionCodeListParams; - export type PromotionCodeResource = Stripe.PromotionCodeResource; - export type Quote = Stripe.Quote; - export type QuoteCreateParams = Stripe.QuoteCreateParams; - export type QuoteRetrieveParams = Stripe.QuoteRetrieveParams; - export type QuoteUpdateParams = Stripe.QuoteUpdateParams; - export type QuoteListParams = Stripe.QuoteListParams; - export type QuoteAcceptParams = Stripe.QuoteAcceptParams; - export type QuoteCancelParams = Stripe.QuoteCancelParams; - export type QuoteFinalizeQuoteParams = Stripe.QuoteFinalizeQuoteParams; - export type QuoteListComputedUpfrontLineItemsParams = Stripe.QuoteListComputedUpfrontLineItemsParams; - export type QuoteListLineItemsParams = Stripe.QuoteListLineItemsParams; - export type QuotePdfParams = Stripe.QuotePdfParams; - export type QuoteResource = Stripe.QuoteResource; - export type Refund = Stripe.Refund; - export type RefundCreateParams = Stripe.RefundCreateParams; - export type RefundRetrieveParams = Stripe.RefundRetrieveParams; - export type RefundUpdateParams = Stripe.RefundUpdateParams; - export type RefundListParams = Stripe.RefundListParams; - export type RefundCancelParams = Stripe.RefundCancelParams; - export type RefundResource = Stripe.RefundResource; - export type Review = Stripe.Review; - export type ReviewRetrieveParams = Stripe.ReviewRetrieveParams; - export type ReviewListParams = Stripe.ReviewListParams; - export type ReviewApproveParams = Stripe.ReviewApproveParams; - export type ReviewResource = Stripe.ReviewResource; - export type SetupAttempt = Stripe.SetupAttempt; - export type SetupAttemptListParams = Stripe.SetupAttemptListParams; - export type SetupAttemptResource = Stripe.SetupAttemptResource; - export type SetupIntent = Stripe.SetupIntent; - export type SetupIntentCreateParams = Stripe.SetupIntentCreateParams; - export type SetupIntentRetrieveParams = Stripe.SetupIntentRetrieveParams; - export type SetupIntentUpdateParams = Stripe.SetupIntentUpdateParams; - export type SetupIntentListParams = Stripe.SetupIntentListParams; - export type SetupIntentCancelParams = Stripe.SetupIntentCancelParams; - export type SetupIntentConfirmParams = Stripe.SetupIntentConfirmParams; - export type SetupIntentVerifyMicrodepositsParams = Stripe.SetupIntentVerifyMicrodepositsParams; - export type SetupIntentResource = Stripe.SetupIntentResource; - export type ShippingRate = Stripe.ShippingRate; - export type ShippingRateCreateParams = Stripe.ShippingRateCreateParams; - export type ShippingRateRetrieveParams = Stripe.ShippingRateRetrieveParams; - export type ShippingRateUpdateParams = Stripe.ShippingRateUpdateParams; - export type ShippingRateListParams = Stripe.ShippingRateListParams; - export type ShippingRateResource = Stripe.ShippingRateResource; - export type Source = Stripe.Source; - export type SourceCreateParams = Stripe.SourceCreateParams; - export type SourceRetrieveParams = Stripe.SourceRetrieveParams; - export type SourceUpdateParams = Stripe.SourceUpdateParams; - export type SourceListSourceTransactionsParams = Stripe.SourceListSourceTransactionsParams; - export type SourceVerifyParams = Stripe.SourceVerifyParams; - export type SourceResource = Stripe.SourceResource; - export type Subscription = Stripe.Subscription; - export type SubscriptionCreateParams = Stripe.SubscriptionCreateParams; - export type SubscriptionRetrieveParams = Stripe.SubscriptionRetrieveParams; - export type SubscriptionUpdateParams = Stripe.SubscriptionUpdateParams; - export type SubscriptionListParams = Stripe.SubscriptionListParams; - export type SubscriptionCancelParams = Stripe.SubscriptionCancelParams; - export type SubscriptionDeleteDiscountParams = Stripe.SubscriptionDeleteDiscountParams; - export type SubscriptionMigrateParams = Stripe.SubscriptionMigrateParams; - export type SubscriptionResumeParams = Stripe.SubscriptionResumeParams; - export type SubscriptionSearchParams = Stripe.SubscriptionSearchParams; - export type SubscriptionResource = Stripe.SubscriptionResource; - export type SubscriptionItem = Stripe.SubscriptionItem; - export type DeletedSubscriptionItem = Stripe.DeletedSubscriptionItem; - export type SubscriptionItemCreateParams = Stripe.SubscriptionItemCreateParams; - export type SubscriptionItemRetrieveParams = Stripe.SubscriptionItemRetrieveParams; - export type SubscriptionItemUpdateParams = Stripe.SubscriptionItemUpdateParams; - export type SubscriptionItemListParams = Stripe.SubscriptionItemListParams; - export type SubscriptionItemDeleteParams = Stripe.SubscriptionItemDeleteParams; - export type SubscriptionItemResource = Stripe.SubscriptionItemResource; - export type SubscriptionSchedule = Stripe.SubscriptionSchedule; - export type SubscriptionScheduleCreateParams = Stripe.SubscriptionScheduleCreateParams; - export type SubscriptionScheduleRetrieveParams = Stripe.SubscriptionScheduleRetrieveParams; - export type SubscriptionScheduleUpdateParams = Stripe.SubscriptionScheduleUpdateParams; - export type SubscriptionScheduleListParams = Stripe.SubscriptionScheduleListParams; - export type SubscriptionScheduleCancelParams = Stripe.SubscriptionScheduleCancelParams; - export type SubscriptionScheduleReleaseParams = Stripe.SubscriptionScheduleReleaseParams; - export type SubscriptionScheduleResource = Stripe.SubscriptionScheduleResource; - export type TaxCode = Stripe.TaxCode; - export type TaxCodeRetrieveParams = Stripe.TaxCodeRetrieveParams; - export type TaxCodeListParams = Stripe.TaxCodeListParams; - export type TaxCodeResource = Stripe.TaxCodeResource; - export type TaxId = Stripe.TaxId; - export type DeletedTaxId = Stripe.DeletedTaxId; - export type TaxIdCreateParams = Stripe.TaxIdCreateParams; - export type TaxIdRetrieveParams = Stripe.TaxIdRetrieveParams; - export type TaxIdListParams = Stripe.TaxIdListParams; - export type TaxIdDeleteParams = Stripe.TaxIdDeleteParams; - export type TaxIdResource = Stripe.TaxIdResource; - export type TaxRate = Stripe.TaxRate; - export type TaxRateCreateParams = Stripe.TaxRateCreateParams; - export type TaxRateRetrieveParams = Stripe.TaxRateRetrieveParams; - export type TaxRateUpdateParams = Stripe.TaxRateUpdateParams; - export type TaxRateListParams = Stripe.TaxRateListParams; - export type TaxRateResource = Stripe.TaxRateResource; - export type Token = Stripe.Token; - export type TokenCreateParams = Stripe.TokenCreateParams; - export type TokenRetrieveParams = Stripe.TokenRetrieveParams; - export type TokenResource = Stripe.TokenResource; - export type Topup = Stripe.Topup; - export type TopupCreateParams = Stripe.TopupCreateParams; - export type TopupRetrieveParams = Stripe.TopupRetrieveParams; - export type TopupUpdateParams = Stripe.TopupUpdateParams; - export type TopupListParams = Stripe.TopupListParams; - export type TopupCancelParams = Stripe.TopupCancelParams; - export type TopupResource = Stripe.TopupResource; - export type Transfer = Stripe.Transfer; - export type TransferCreateParams = Stripe.TransferCreateParams; - export type TransferRetrieveParams = Stripe.TransferRetrieveParams; - export type TransferUpdateParams = Stripe.TransferUpdateParams; - export type TransferListParams = Stripe.TransferListParams; - export type TransferCreateReversalParams = Stripe.TransferCreateReversalParams; - export type TransferListReversalsParams = Stripe.TransferListReversalsParams; - export type TransferRetrieveReversalParams = Stripe.TransferRetrieveReversalParams; - export type TransferUpdateReversalParams = Stripe.TransferUpdateReversalParams; - export type TransferResource = Stripe.TransferResource; - export type WebhookEndpoint = Stripe.WebhookEndpoint; - export type DeletedWebhookEndpoint = Stripe.DeletedWebhookEndpoint; - export type WebhookEndpointCreateParams = Stripe.WebhookEndpointCreateParams; - export type WebhookEndpointRetrieveParams = Stripe.WebhookEndpointRetrieveParams; - export type WebhookEndpointUpdateParams = Stripe.WebhookEndpointUpdateParams; - export type WebhookEndpointListParams = Stripe.WebhookEndpointListParams; - export type WebhookEndpointDeleteParams = Stripe.WebhookEndpointDeleteParams; - export type WebhookEndpointResource = Stripe.WebhookEndpointResource; - export type Application = Stripe.Application; - export type DeletedApplication = Stripe.DeletedApplication; - export type BalanceTransactionSource = Stripe.BalanceTransactionSource; - export type BankAccount = Stripe.BankAccount; - export type DeletedBankAccount = Stripe.DeletedBankAccount; - export type Card = Stripe.Card; - export type DeletedCard = Stripe.DeletedCard; - export type ConnectCollectionTransfer = Stripe.ConnectCollectionTransfer; - export type Discount = Stripe.Discount; - export type DeletedDiscount = Stripe.DeletedDiscount; - export type FundingInstructions = Stripe.FundingInstructions; - export type LineItem = Stripe.LineItem; - export type ReserveTransaction = Stripe.ReserveTransaction; - export type SourceMandateNotification = Stripe.SourceMandateNotification; - export type SourceTransaction = Stripe.SourceTransaction; - export type TaxDeductedAtSource = Stripe.TaxDeductedAtSource; - export type Capability = Stripe.Capability; - export type ExternalAccount = Stripe.ExternalAccount; - export type DeletedExternalAccount = Stripe.DeletedExternalAccount; - export type LoginLink = Stripe.LoginLink; - export type Person = Stripe.Person; - export type DeletedPerson = Stripe.DeletedPerson; - export type FeeRefund = Stripe.FeeRefund; - export type CreditNoteLineItem = Stripe.CreditNoteLineItem; - export type CustomerBalanceTransaction = Stripe.CustomerBalanceTransaction; - export type CashBalance = Stripe.CashBalance; - export type CustomerCashBalanceTransaction = Stripe.CustomerCashBalanceTransaction; - export type CustomerSource = Stripe.CustomerSource; - export type DeletedCustomerSource = Stripe.DeletedCustomerSource; - export type InvoiceLineItem = Stripe.InvoiceLineItem; - export type PaymentIntentAmountDetailsLineItem = Stripe.PaymentIntentAmountDetailsLineItem; - export type ProductFeature = Stripe.ProductFeature; - export type DeletedProductFeature = Stripe.DeletedProductFeature; - export type TransferReversal = Stripe.TransferReversal; + export type Account = Stripe_.Account; + export type DeletedAccount = Stripe_.DeletedAccount; + export type AccountCreateParams = Stripe_.AccountCreateParams; + export type AccountRetrieveParams = Stripe_.AccountRetrieveParams; + export type AccountUpdateParams = Stripe_.AccountUpdateParams; + export type AccountListParams = Stripe_.AccountListParams; + export type AccountDeleteParams = Stripe_.AccountDeleteParams; + export type AccountCreateExternalAccountParams = Stripe_.AccountCreateExternalAccountParams; + export type AccountCreateLoginLinkParams = Stripe_.AccountCreateLoginLinkParams; + export type AccountCreatePersonParams = Stripe_.AccountCreatePersonParams; + export type AccountDeleteExternalAccountParams = Stripe_.AccountDeleteExternalAccountParams; + export type AccountDeletePersonParams = Stripe_.AccountDeletePersonParams; + export type AccountListCapabilitiesParams = Stripe_.AccountListCapabilitiesParams; + export type AccountListExternalAccountsParams = Stripe_.AccountListExternalAccountsParams; + export type AccountListPersonsParams = Stripe_.AccountListPersonsParams; + export type AccountRejectParams = Stripe_.AccountRejectParams; + export type AccountRetrieveCurrentParams = Stripe_.AccountRetrieveCurrentParams; + export type AccountRetrieveCapabilityParams = Stripe_.AccountRetrieveCapabilityParams; + export type AccountRetrieveExternalAccountParams = Stripe_.AccountRetrieveExternalAccountParams; + export type AccountRetrievePersonParams = Stripe_.AccountRetrievePersonParams; + export type AccountUpdateCapabilityParams = Stripe_.AccountUpdateCapabilityParams; + export type AccountUpdateExternalAccountParams = Stripe_.AccountUpdateExternalAccountParams; + export type AccountUpdatePersonParams = Stripe_.AccountUpdatePersonParams; + export type AccountResource = Stripe_.AccountResource; + export type AccountLink = Stripe_.AccountLink; + export type AccountLinkCreateParams = Stripe_.AccountLinkCreateParams; + export type AccountLinkResource = Stripe_.AccountLinkResource; + export type AccountSession = Stripe_.AccountSession; + export type AccountSessionCreateParams = Stripe_.AccountSessionCreateParams; + export type AccountSessionResource = Stripe_.AccountSessionResource; + export type ApplePayDomain = Stripe_.ApplePayDomain; + export type DeletedApplePayDomain = Stripe_.DeletedApplePayDomain; + export type ApplePayDomainCreateParams = Stripe_.ApplePayDomainCreateParams; + export type ApplePayDomainRetrieveParams = Stripe_.ApplePayDomainRetrieveParams; + export type ApplePayDomainListParams = Stripe_.ApplePayDomainListParams; + export type ApplePayDomainDeleteParams = Stripe_.ApplePayDomainDeleteParams; + export type ApplePayDomainResource = Stripe_.ApplePayDomainResource; + export type ApplicationFee = Stripe_.ApplicationFee; + export type ApplicationFeeRetrieveParams = Stripe_.ApplicationFeeRetrieveParams; + export type ApplicationFeeListParams = Stripe_.ApplicationFeeListParams; + export type ApplicationFeeCreateRefundParams = Stripe_.ApplicationFeeCreateRefundParams; + export type ApplicationFeeListRefundsParams = Stripe_.ApplicationFeeListRefundsParams; + export type ApplicationFeeRetrieveRefundParams = Stripe_.ApplicationFeeRetrieveRefundParams; + export type ApplicationFeeUpdateRefundParams = Stripe_.ApplicationFeeUpdateRefundParams; + export type ApplicationFeeResource = Stripe_.ApplicationFeeResource; + export type Balance = Stripe_.Balance; + export type BalanceRetrieveParams = Stripe_.BalanceRetrieveParams; + export type BalanceResource = Stripe_.BalanceResource; + export type BalanceSettings = Stripe_.BalanceSettings; + export type BalanceSettingsRetrieveParams = Stripe_.BalanceSettingsRetrieveParams; + export type BalanceSettingsUpdateParams = Stripe_.BalanceSettingsUpdateParams; + export type BalanceSettingResource = Stripe_.BalanceSettingResource; + export type BalanceTransaction = Stripe_.BalanceTransaction; + export type BalanceTransactionRetrieveParams = Stripe_.BalanceTransactionRetrieveParams; + export type BalanceTransactionListParams = Stripe_.BalanceTransactionListParams; + export type BalanceTransactionResource = Stripe_.BalanceTransactionResource; + export type Charge = Stripe_.Charge; + export type ChargeCreateParams = Stripe_.ChargeCreateParams; + export type ChargeRetrieveParams = Stripe_.ChargeRetrieveParams; + export type ChargeUpdateParams = Stripe_.ChargeUpdateParams; + export type ChargeListParams = Stripe_.ChargeListParams; + export type ChargeCaptureParams = Stripe_.ChargeCaptureParams; + export type ChargeSearchParams = Stripe_.ChargeSearchParams; + export type ChargeResource = Stripe_.ChargeResource; + export type ConfirmationToken = Stripe_.ConfirmationToken; + export type ConfirmationTokenRetrieveParams = Stripe_.ConfirmationTokenRetrieveParams; + export type ConfirmationTokenResource = Stripe_.ConfirmationTokenResource; + export type CountrySpec = Stripe_.CountrySpec; + export type CountrySpecRetrieveParams = Stripe_.CountrySpecRetrieveParams; + export type CountrySpecListParams = Stripe_.CountrySpecListParams; + export type CountrySpecResource = Stripe_.CountrySpecResource; + export type Coupon = Stripe_.Coupon; + export type DeletedCoupon = Stripe_.DeletedCoupon; + export type CouponCreateParams = Stripe_.CouponCreateParams; + export type CouponRetrieveParams = Stripe_.CouponRetrieveParams; + export type CouponUpdateParams = Stripe_.CouponUpdateParams; + export type CouponListParams = Stripe_.CouponListParams; + export type CouponDeleteParams = Stripe_.CouponDeleteParams; + export type CouponResource = Stripe_.CouponResource; + export type CreditNote = Stripe_.CreditNote; + export type CreditNoteCreateParams = Stripe_.CreditNoteCreateParams; + export type CreditNoteRetrieveParams = Stripe_.CreditNoteRetrieveParams; + export type CreditNoteUpdateParams = Stripe_.CreditNoteUpdateParams; + export type CreditNoteListParams = Stripe_.CreditNoteListParams; + export type CreditNoteListLineItemsParams = Stripe_.CreditNoteListLineItemsParams; + export type CreditNoteListPreviewLineItemsParams = Stripe_.CreditNoteListPreviewLineItemsParams; + export type CreditNotePreviewParams = Stripe_.CreditNotePreviewParams; + export type CreditNoteVoidCreditNoteParams = Stripe_.CreditNoteVoidCreditNoteParams; + export type CreditNoteResource = Stripe_.CreditNoteResource; + export type Customer = Stripe_.Customer; + export type DeletedCustomer = Stripe_.DeletedCustomer; + export type CustomerCreateParams = Stripe_.CustomerCreateParams; + export type CustomerRetrieveParams = Stripe_.CustomerRetrieveParams; + export type CustomerUpdateParams = Stripe_.CustomerUpdateParams; + export type CustomerListParams = Stripe_.CustomerListParams; + export type CustomerDeleteParams = Stripe_.CustomerDeleteParams; + export type CustomerCreateBalanceTransactionParams = Stripe_.CustomerCreateBalanceTransactionParams; + export type CustomerCreateFundingInstructionsParams = Stripe_.CustomerCreateFundingInstructionsParams; + export type CustomerCreateSourceParams = Stripe_.CustomerCreateSourceParams; + export type CustomerCreateTaxIdParams = Stripe_.CustomerCreateTaxIdParams; + export type CustomerDeleteDiscountParams = Stripe_.CustomerDeleteDiscountParams; + export type CustomerDeleteSourceParams = Stripe_.CustomerDeleteSourceParams; + export type CustomerDeleteTaxIdParams = Stripe_.CustomerDeleteTaxIdParams; + export type CustomerListBalanceTransactionsParams = Stripe_.CustomerListBalanceTransactionsParams; + export type CustomerListCashBalanceTransactionsParams = Stripe_.CustomerListCashBalanceTransactionsParams; + export type CustomerListPaymentMethodsParams = Stripe_.CustomerListPaymentMethodsParams; + export type CustomerListSourcesParams = Stripe_.CustomerListSourcesParams; + export type CustomerListTaxIdsParams = Stripe_.CustomerListTaxIdsParams; + export type CustomerRetrieveBalanceTransactionParams = Stripe_.CustomerRetrieveBalanceTransactionParams; + export type CustomerRetrieveCashBalanceParams = Stripe_.CustomerRetrieveCashBalanceParams; + export type CustomerRetrieveCashBalanceTransactionParams = Stripe_.CustomerRetrieveCashBalanceTransactionParams; + export type CustomerRetrievePaymentMethodParams = Stripe_.CustomerRetrievePaymentMethodParams; + export type CustomerRetrieveSourceParams = Stripe_.CustomerRetrieveSourceParams; + export type CustomerRetrieveTaxIdParams = Stripe_.CustomerRetrieveTaxIdParams; + export type CustomerSearchParams = Stripe_.CustomerSearchParams; + export type CustomerUpdateBalanceTransactionParams = Stripe_.CustomerUpdateBalanceTransactionParams; + export type CustomerUpdateCashBalanceParams = Stripe_.CustomerUpdateCashBalanceParams; + export type CustomerUpdateSourceParams = Stripe_.CustomerUpdateSourceParams; + export type CustomerVerifySourceParams = Stripe_.CustomerVerifySourceParams; + export type CustomerResource = Stripe_.CustomerResource; + export type CustomerSession = Stripe_.CustomerSession; + export type CustomerSessionCreateParams = Stripe_.CustomerSessionCreateParams; + export type CustomerSessionResource = Stripe_.CustomerSessionResource; + export type Dispute = Stripe_.Dispute; + export type DisputeRetrieveParams = Stripe_.DisputeRetrieveParams; + export type DisputeUpdateParams = Stripe_.DisputeUpdateParams; + export type DisputeListParams = Stripe_.DisputeListParams; + export type DisputeCloseParams = Stripe_.DisputeCloseParams; + export type DisputeResource = Stripe_.DisputeResource; + export type EphemeralKey = Stripe_.EphemeralKey; + export type EphemeralKeyCreateParams = Stripe_.EphemeralKeyCreateParams; + export type EphemeralKeyDeleteParams = Stripe_.EphemeralKeyDeleteParams; + export type EphemeralKeyResource = Stripe_.EphemeralKeyResource; + export type Event = Stripe_.Event; + export type EventBase = Stripe_.EventBase; + export type EventRetrieveParams = Stripe_.EventRetrieveParams; + export type EventListParams = Stripe_.EventListParams; + export type EventResource = Stripe_.EventResource; + export type ExchangeRate = Stripe_.ExchangeRate; + export type ExchangeRateRetrieveParams = Stripe_.ExchangeRateRetrieveParams; + export type ExchangeRateListParams = Stripe_.ExchangeRateListParams; + export type ExchangeRateResource = Stripe_.ExchangeRateResource; + export type File = Stripe_.File; + export type FileCreateParams = Stripe_.FileCreateParams; + export type FileRetrieveParams = Stripe_.FileRetrieveParams; + export type FileListParams = Stripe_.FileListParams; + export type FileResource = Stripe_.FileResource; + export type FileLink = Stripe_.FileLink; + export type FileLinkCreateParams = Stripe_.FileLinkCreateParams; + export type FileLinkRetrieveParams = Stripe_.FileLinkRetrieveParams; + export type FileLinkUpdateParams = Stripe_.FileLinkUpdateParams; + export type FileLinkListParams = Stripe_.FileLinkListParams; + export type FileLinkResource = Stripe_.FileLinkResource; + export type Invoice = Stripe_.Invoice; + export type DeletedInvoice = Stripe_.DeletedInvoice; + export type InvoiceCreateParams = Stripe_.InvoiceCreateParams; + export type InvoiceRetrieveParams = Stripe_.InvoiceRetrieveParams; + export type InvoiceUpdateParams = Stripe_.InvoiceUpdateParams; + export type InvoiceListParams = Stripe_.InvoiceListParams; + export type InvoiceDeleteParams = Stripe_.InvoiceDeleteParams; + export type InvoiceAddLinesParams = Stripe_.InvoiceAddLinesParams; + export type InvoiceAttachPaymentParams = Stripe_.InvoiceAttachPaymentParams; + export type InvoiceCreatePreviewParams = Stripe_.InvoiceCreatePreviewParams; + export type InvoiceFinalizeInvoiceParams = Stripe_.InvoiceFinalizeInvoiceParams; + export type InvoiceListLineItemsParams = Stripe_.InvoiceListLineItemsParams; + export type InvoiceMarkUncollectibleParams = Stripe_.InvoiceMarkUncollectibleParams; + export type InvoicePayParams = Stripe_.InvoicePayParams; + export type InvoiceRemoveLinesParams = Stripe_.InvoiceRemoveLinesParams; + export type InvoiceSearchParams = Stripe_.InvoiceSearchParams; + export type InvoiceSendInvoiceParams = Stripe_.InvoiceSendInvoiceParams; + export type InvoiceUpdateLinesParams = Stripe_.InvoiceUpdateLinesParams; + export type InvoiceUpdateLineItemParams = Stripe_.InvoiceUpdateLineItemParams; + export type InvoiceVoidInvoiceParams = Stripe_.InvoiceVoidInvoiceParams; + export type InvoiceResource = Stripe_.InvoiceResource; + export type InvoiceItem = Stripe_.InvoiceItem; + export type DeletedInvoiceItem = Stripe_.DeletedInvoiceItem; + export type InvoiceItemCreateParams = Stripe_.InvoiceItemCreateParams; + export type InvoiceItemRetrieveParams = Stripe_.InvoiceItemRetrieveParams; + export type InvoiceItemUpdateParams = Stripe_.InvoiceItemUpdateParams; + export type InvoiceItemListParams = Stripe_.InvoiceItemListParams; + export type InvoiceItemDeleteParams = Stripe_.InvoiceItemDeleteParams; + export type InvoiceItemResource = Stripe_.InvoiceItemResource; + export type InvoicePayment = Stripe_.InvoicePayment; + export type InvoicePaymentRetrieveParams = Stripe_.InvoicePaymentRetrieveParams; + export type InvoicePaymentListParams = Stripe_.InvoicePaymentListParams; + export type InvoicePaymentResource = Stripe_.InvoicePaymentResource; + export type InvoiceRenderingTemplate = Stripe_.InvoiceRenderingTemplate; + export type InvoiceRenderingTemplateRetrieveParams = Stripe_.InvoiceRenderingTemplateRetrieveParams; + export type InvoiceRenderingTemplateListParams = Stripe_.InvoiceRenderingTemplateListParams; + export type InvoiceRenderingTemplateArchiveParams = Stripe_.InvoiceRenderingTemplateArchiveParams; + export type InvoiceRenderingTemplateUnarchiveParams = Stripe_.InvoiceRenderingTemplateUnarchiveParams; + export type InvoiceRenderingTemplateResource = Stripe_.InvoiceRenderingTemplateResource; + export type Mandate = Stripe_.Mandate; + export type MandateRetrieveParams = Stripe_.MandateRetrieveParams; + export type MandateResource = Stripe_.MandateResource; + export type PaymentAttemptRecord = Stripe_.PaymentAttemptRecord; + export type PaymentAttemptRecordRetrieveParams = Stripe_.PaymentAttemptRecordRetrieveParams; + export type PaymentAttemptRecordListParams = Stripe_.PaymentAttemptRecordListParams; + export type PaymentAttemptRecordResource = Stripe_.PaymentAttemptRecordResource; + export type PaymentIntent = Stripe_.PaymentIntent; + export type PaymentIntentCreateParams = Stripe_.PaymentIntentCreateParams; + export type PaymentIntentRetrieveParams = Stripe_.PaymentIntentRetrieveParams; + export type PaymentIntentUpdateParams = Stripe_.PaymentIntentUpdateParams; + export type PaymentIntentListParams = Stripe_.PaymentIntentListParams; + export type PaymentIntentApplyCustomerBalanceParams = Stripe_.PaymentIntentApplyCustomerBalanceParams; + export type PaymentIntentCancelParams = Stripe_.PaymentIntentCancelParams; + export type PaymentIntentCaptureParams = Stripe_.PaymentIntentCaptureParams; + export type PaymentIntentConfirmParams = Stripe_.PaymentIntentConfirmParams; + export type PaymentIntentIncrementAuthorizationParams = Stripe_.PaymentIntentIncrementAuthorizationParams; + export type PaymentIntentListAmountDetailsLineItemsParams = Stripe_.PaymentIntentListAmountDetailsLineItemsParams; + export type PaymentIntentSearchParams = Stripe_.PaymentIntentSearchParams; + export type PaymentIntentVerifyMicrodepositsParams = Stripe_.PaymentIntentVerifyMicrodepositsParams; + export type PaymentIntentResource = Stripe_.PaymentIntentResource; + export type PaymentLink = Stripe_.PaymentLink; + export type PaymentLinkCreateParams = Stripe_.PaymentLinkCreateParams; + export type PaymentLinkRetrieveParams = Stripe_.PaymentLinkRetrieveParams; + export type PaymentLinkUpdateParams = Stripe_.PaymentLinkUpdateParams; + export type PaymentLinkListParams = Stripe_.PaymentLinkListParams; + export type PaymentLinkListLineItemsParams = Stripe_.PaymentLinkListLineItemsParams; + export type PaymentLinkResource = Stripe_.PaymentLinkResource; + export type PaymentMethod = Stripe_.PaymentMethod; + export type PaymentMethodCreateParams = Stripe_.PaymentMethodCreateParams; + export type PaymentMethodRetrieveParams = Stripe_.PaymentMethodRetrieveParams; + export type PaymentMethodUpdateParams = Stripe_.PaymentMethodUpdateParams; + export type PaymentMethodListParams = Stripe_.PaymentMethodListParams; + export type PaymentMethodAttachParams = Stripe_.PaymentMethodAttachParams; + export type PaymentMethodDetachParams = Stripe_.PaymentMethodDetachParams; + export type PaymentMethodResource = Stripe_.PaymentMethodResource; + export type PaymentMethodConfiguration = Stripe_.PaymentMethodConfiguration; + export type PaymentMethodConfigurationCreateParams = Stripe_.PaymentMethodConfigurationCreateParams; + export type PaymentMethodConfigurationRetrieveParams = Stripe_.PaymentMethodConfigurationRetrieveParams; + export type PaymentMethodConfigurationUpdateParams = Stripe_.PaymentMethodConfigurationUpdateParams; + export type PaymentMethodConfigurationListParams = Stripe_.PaymentMethodConfigurationListParams; + export type PaymentMethodConfigurationResource = Stripe_.PaymentMethodConfigurationResource; + export type PaymentMethodDomain = Stripe_.PaymentMethodDomain; + export type PaymentMethodDomainCreateParams = Stripe_.PaymentMethodDomainCreateParams; + export type PaymentMethodDomainRetrieveParams = Stripe_.PaymentMethodDomainRetrieveParams; + export type PaymentMethodDomainUpdateParams = Stripe_.PaymentMethodDomainUpdateParams; + export type PaymentMethodDomainListParams = Stripe_.PaymentMethodDomainListParams; + export type PaymentMethodDomainValidateParams = Stripe_.PaymentMethodDomainValidateParams; + export type PaymentMethodDomainResource = Stripe_.PaymentMethodDomainResource; + export type PaymentRecord = Stripe_.PaymentRecord; + export type PaymentRecordRetrieveParams = Stripe_.PaymentRecordRetrieveParams; + export type PaymentRecordReportPaymentParams = Stripe_.PaymentRecordReportPaymentParams; + export type PaymentRecordReportPaymentAttemptParams = Stripe_.PaymentRecordReportPaymentAttemptParams; + export type PaymentRecordReportPaymentAttemptCanceledParams = Stripe_.PaymentRecordReportPaymentAttemptCanceledParams; + export type PaymentRecordReportPaymentAttemptFailedParams = Stripe_.PaymentRecordReportPaymentAttemptFailedParams; + export type PaymentRecordReportPaymentAttemptGuaranteedParams = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams; + export type PaymentRecordReportPaymentAttemptInformationalParams = Stripe_.PaymentRecordReportPaymentAttemptInformationalParams; + export type PaymentRecordReportRefundParams = Stripe_.PaymentRecordReportRefundParams; + export type PaymentRecordResource = Stripe_.PaymentRecordResource; + export type Payout = Stripe_.Payout; + export type PayoutCreateParams = Stripe_.PayoutCreateParams; + export type PayoutRetrieveParams = Stripe_.PayoutRetrieveParams; + export type PayoutUpdateParams = Stripe_.PayoutUpdateParams; + export type PayoutListParams = Stripe_.PayoutListParams; + export type PayoutCancelParams = Stripe_.PayoutCancelParams; + export type PayoutReverseParams = Stripe_.PayoutReverseParams; + export type PayoutResource = Stripe_.PayoutResource; + export type Plan = Stripe_.Plan; + export type DeletedPlan = Stripe_.DeletedPlan; + export type PlanCreateParams = Stripe_.PlanCreateParams; + export type PlanRetrieveParams = Stripe_.PlanRetrieveParams; + export type PlanUpdateParams = Stripe_.PlanUpdateParams; + export type PlanListParams = Stripe_.PlanListParams; + export type PlanDeleteParams = Stripe_.PlanDeleteParams; + export type PlanResource = Stripe_.PlanResource; + export type Price = Stripe_.Price; + export type DeletedPrice = Stripe_.DeletedPrice; + export type PriceCreateParams = Stripe_.PriceCreateParams; + export type PriceRetrieveParams = Stripe_.PriceRetrieveParams; + export type PriceUpdateParams = Stripe_.PriceUpdateParams; + export type PriceListParams = Stripe_.PriceListParams; + export type PriceSearchParams = Stripe_.PriceSearchParams; + export type PriceResource = Stripe_.PriceResource; + export type Product = Stripe_.Product; + export type DeletedProduct = Stripe_.DeletedProduct; + export type ProductCreateParams = Stripe_.ProductCreateParams; + export type ProductRetrieveParams = Stripe_.ProductRetrieveParams; + export type ProductUpdateParams = Stripe_.ProductUpdateParams; + export type ProductListParams = Stripe_.ProductListParams; + export type ProductDeleteParams = Stripe_.ProductDeleteParams; + export type ProductCreateFeatureParams = Stripe_.ProductCreateFeatureParams; + export type ProductDeleteFeatureParams = Stripe_.ProductDeleteFeatureParams; + export type ProductListFeaturesParams = Stripe_.ProductListFeaturesParams; + export type ProductRetrieveFeatureParams = Stripe_.ProductRetrieveFeatureParams; + export type ProductSearchParams = Stripe_.ProductSearchParams; + export type ProductResource = Stripe_.ProductResource; + export type PromotionCode = Stripe_.PromotionCode; + export type PromotionCodeCreateParams = Stripe_.PromotionCodeCreateParams; + export type PromotionCodeRetrieveParams = Stripe_.PromotionCodeRetrieveParams; + export type PromotionCodeUpdateParams = Stripe_.PromotionCodeUpdateParams; + export type PromotionCodeListParams = Stripe_.PromotionCodeListParams; + export type PromotionCodeResource = Stripe_.PromotionCodeResource; + export type Quote = Stripe_.Quote; + export type QuoteCreateParams = Stripe_.QuoteCreateParams; + export type QuoteRetrieveParams = Stripe_.QuoteRetrieveParams; + export type QuoteUpdateParams = Stripe_.QuoteUpdateParams; + export type QuoteListParams = Stripe_.QuoteListParams; + export type QuoteAcceptParams = Stripe_.QuoteAcceptParams; + export type QuoteCancelParams = Stripe_.QuoteCancelParams; + export type QuoteFinalizeQuoteParams = Stripe_.QuoteFinalizeQuoteParams; + export type QuoteListComputedUpfrontLineItemsParams = Stripe_.QuoteListComputedUpfrontLineItemsParams; + export type QuoteListLineItemsParams = Stripe_.QuoteListLineItemsParams; + export type QuotePdfParams = Stripe_.QuotePdfParams; + export type QuoteResource = Stripe_.QuoteResource; + export type Refund = Stripe_.Refund; + export type RefundCreateParams = Stripe_.RefundCreateParams; + export type RefundRetrieveParams = Stripe_.RefundRetrieveParams; + export type RefundUpdateParams = Stripe_.RefundUpdateParams; + export type RefundListParams = Stripe_.RefundListParams; + export type RefundCancelParams = Stripe_.RefundCancelParams; + export type RefundResource = Stripe_.RefundResource; + export type Review = Stripe_.Review; + export type ReviewRetrieveParams = Stripe_.ReviewRetrieveParams; + export type ReviewListParams = Stripe_.ReviewListParams; + export type ReviewApproveParams = Stripe_.ReviewApproveParams; + export type ReviewResource = Stripe_.ReviewResource; + export type SetupAttempt = Stripe_.SetupAttempt; + export type SetupAttemptListParams = Stripe_.SetupAttemptListParams; + export type SetupAttemptResource = Stripe_.SetupAttemptResource; + export type SetupIntent = Stripe_.SetupIntent; + export type SetupIntentCreateParams = Stripe_.SetupIntentCreateParams; + export type SetupIntentRetrieveParams = Stripe_.SetupIntentRetrieveParams; + export type SetupIntentUpdateParams = Stripe_.SetupIntentUpdateParams; + export type SetupIntentListParams = Stripe_.SetupIntentListParams; + export type SetupIntentCancelParams = Stripe_.SetupIntentCancelParams; + export type SetupIntentConfirmParams = Stripe_.SetupIntentConfirmParams; + export type SetupIntentVerifyMicrodepositsParams = Stripe_.SetupIntentVerifyMicrodepositsParams; + export type SetupIntentResource = Stripe_.SetupIntentResource; + export type ShippingRate = Stripe_.ShippingRate; + export type ShippingRateCreateParams = Stripe_.ShippingRateCreateParams; + export type ShippingRateRetrieveParams = Stripe_.ShippingRateRetrieveParams; + export type ShippingRateUpdateParams = Stripe_.ShippingRateUpdateParams; + export type ShippingRateListParams = Stripe_.ShippingRateListParams; + export type ShippingRateResource = Stripe_.ShippingRateResource; + export type Source = Stripe_.Source; + export type SourceCreateParams = Stripe_.SourceCreateParams; + export type SourceRetrieveParams = Stripe_.SourceRetrieveParams; + export type SourceUpdateParams = Stripe_.SourceUpdateParams; + export type SourceListSourceTransactionsParams = Stripe_.SourceListSourceTransactionsParams; + export type SourceVerifyParams = Stripe_.SourceVerifyParams; + export type SourceResource = Stripe_.SourceResource; + export type Subscription = Stripe_.Subscription; + export type SubscriptionCreateParams = Stripe_.SubscriptionCreateParams; + export type SubscriptionRetrieveParams = Stripe_.SubscriptionRetrieveParams; + export type SubscriptionUpdateParams = Stripe_.SubscriptionUpdateParams; + export type SubscriptionListParams = Stripe_.SubscriptionListParams; + export type SubscriptionCancelParams = Stripe_.SubscriptionCancelParams; + export type SubscriptionDeleteDiscountParams = Stripe_.SubscriptionDeleteDiscountParams; + export type SubscriptionMigrateParams = Stripe_.SubscriptionMigrateParams; + export type SubscriptionResumeParams = Stripe_.SubscriptionResumeParams; + export type SubscriptionSearchParams = Stripe_.SubscriptionSearchParams; + export type SubscriptionResource = Stripe_.SubscriptionResource; + export type SubscriptionItem = Stripe_.SubscriptionItem; + export type DeletedSubscriptionItem = Stripe_.DeletedSubscriptionItem; + export type SubscriptionItemCreateParams = Stripe_.SubscriptionItemCreateParams; + export type SubscriptionItemRetrieveParams = Stripe_.SubscriptionItemRetrieveParams; + export type SubscriptionItemUpdateParams = Stripe_.SubscriptionItemUpdateParams; + export type SubscriptionItemListParams = Stripe_.SubscriptionItemListParams; + export type SubscriptionItemDeleteParams = Stripe_.SubscriptionItemDeleteParams; + export type SubscriptionItemResource = Stripe_.SubscriptionItemResource; + export type SubscriptionSchedule = Stripe_.SubscriptionSchedule; + export type SubscriptionScheduleCreateParams = Stripe_.SubscriptionScheduleCreateParams; + export type SubscriptionScheduleRetrieveParams = Stripe_.SubscriptionScheduleRetrieveParams; + export type SubscriptionScheduleUpdateParams = Stripe_.SubscriptionScheduleUpdateParams; + export type SubscriptionScheduleListParams = Stripe_.SubscriptionScheduleListParams; + export type SubscriptionScheduleCancelParams = Stripe_.SubscriptionScheduleCancelParams; + export type SubscriptionScheduleReleaseParams = Stripe_.SubscriptionScheduleReleaseParams; + export type SubscriptionScheduleResource = Stripe_.SubscriptionScheduleResource; + export type TaxCode = Stripe_.TaxCode; + export type TaxCodeRetrieveParams = Stripe_.TaxCodeRetrieveParams; + export type TaxCodeListParams = Stripe_.TaxCodeListParams; + export type TaxCodeResource = Stripe_.TaxCodeResource; + export type TaxId = Stripe_.TaxId; + export type DeletedTaxId = Stripe_.DeletedTaxId; + export type TaxIdCreateParams = Stripe_.TaxIdCreateParams; + export type TaxIdRetrieveParams = Stripe_.TaxIdRetrieveParams; + export type TaxIdListParams = Stripe_.TaxIdListParams; + export type TaxIdDeleteParams = Stripe_.TaxIdDeleteParams; + export type TaxIdResource = Stripe_.TaxIdResource; + export type TaxRate = Stripe_.TaxRate; + export type TaxRateCreateParams = Stripe_.TaxRateCreateParams; + export type TaxRateRetrieveParams = Stripe_.TaxRateRetrieveParams; + export type TaxRateUpdateParams = Stripe_.TaxRateUpdateParams; + export type TaxRateListParams = Stripe_.TaxRateListParams; + export type TaxRateResource = Stripe_.TaxRateResource; + export type Token = Stripe_.Token; + export type TokenCreateParams = Stripe_.TokenCreateParams; + export type TokenRetrieveParams = Stripe_.TokenRetrieveParams; + export type TokenResource = Stripe_.TokenResource; + export type Topup = Stripe_.Topup; + export type TopupCreateParams = Stripe_.TopupCreateParams; + export type TopupRetrieveParams = Stripe_.TopupRetrieveParams; + export type TopupUpdateParams = Stripe_.TopupUpdateParams; + export type TopupListParams = Stripe_.TopupListParams; + export type TopupCancelParams = Stripe_.TopupCancelParams; + export type TopupResource = Stripe_.TopupResource; + export type Transfer = Stripe_.Transfer; + export type TransferCreateParams = Stripe_.TransferCreateParams; + export type TransferRetrieveParams = Stripe_.TransferRetrieveParams; + export type TransferUpdateParams = Stripe_.TransferUpdateParams; + export type TransferListParams = Stripe_.TransferListParams; + export type TransferCreateReversalParams = Stripe_.TransferCreateReversalParams; + export type TransferListReversalsParams = Stripe_.TransferListReversalsParams; + export type TransferRetrieveReversalParams = Stripe_.TransferRetrieveReversalParams; + export type TransferUpdateReversalParams = Stripe_.TransferUpdateReversalParams; + export type TransferResource = Stripe_.TransferResource; + export type WebhookEndpoint = Stripe_.WebhookEndpoint; + export type DeletedWebhookEndpoint = Stripe_.DeletedWebhookEndpoint; + export type WebhookEndpointCreateParams = Stripe_.WebhookEndpointCreateParams; + export type WebhookEndpointRetrieveParams = Stripe_.WebhookEndpointRetrieveParams; + export type WebhookEndpointUpdateParams = Stripe_.WebhookEndpointUpdateParams; + export type WebhookEndpointListParams = Stripe_.WebhookEndpointListParams; + export type WebhookEndpointDeleteParams = Stripe_.WebhookEndpointDeleteParams; + export type WebhookEndpointResource = Stripe_.WebhookEndpointResource; + export type Application = Stripe_.Application; + export type DeletedApplication = Stripe_.DeletedApplication; + export type BalanceTransactionSource = Stripe_.BalanceTransactionSource; + export type BankAccount = Stripe_.BankAccount; + export type DeletedBankAccount = Stripe_.DeletedBankAccount; + export type Card = Stripe_.Card; + export type DeletedCard = Stripe_.DeletedCard; + export type ConnectCollectionTransfer = Stripe_.ConnectCollectionTransfer; + export type Discount = Stripe_.Discount; + export type DeletedDiscount = Stripe_.DeletedDiscount; + export type FundingInstructions = Stripe_.FundingInstructions; + export type LineItem = Stripe_.LineItem; + export type ReserveTransaction = Stripe_.ReserveTransaction; + export type SourceMandateNotification = Stripe_.SourceMandateNotification; + export type SourceTransaction = Stripe_.SourceTransaction; + export type TaxDeductedAtSource = Stripe_.TaxDeductedAtSource; + export type Capability = Stripe_.Capability; + export type ExternalAccount = Stripe_.ExternalAccount; + export type DeletedExternalAccount = Stripe_.DeletedExternalAccount; + export type LoginLink = Stripe_.LoginLink; + export type Person = Stripe_.Person; + export type DeletedPerson = Stripe_.DeletedPerson; + export type FeeRefund = Stripe_.FeeRefund; + export type CreditNoteLineItem = Stripe_.CreditNoteLineItem; + export type CustomerBalanceTransaction = Stripe_.CustomerBalanceTransaction; + export type CashBalance = Stripe_.CashBalance; + export type CustomerCashBalanceTransaction = Stripe_.CustomerCashBalanceTransaction; + export type CustomerSource = Stripe_.CustomerSource; + export type DeletedCustomerSource = Stripe_.DeletedCustomerSource; + export type InvoiceLineItem = Stripe_.InvoiceLineItem; + export type PaymentIntentAmountDetailsLineItem = Stripe_.PaymentIntentAmountDetailsLineItem; + export type ProductFeature = Stripe_.ProductFeature; + export type DeletedProductFeature = Stripe_.DeletedProductFeature; + export type TransferReversal = Stripe_.TransferReversal; export namespace AccountCreateParams { - export type BusinessProfile = Stripe.AccountCreateParams.BusinessProfile; - export type BusinessType = Stripe.AccountCreateParams.BusinessType; - export type Capabilities = Stripe.AccountCreateParams.Capabilities; - export type Company = Stripe.AccountCreateParams.Company; - export type Controller = Stripe.AccountCreateParams.Controller; - export type Documents = Stripe.AccountCreateParams.Documents; - export type ExternalAccount = Stripe.AccountCreateParams.ExternalAccount; - export type Groups = Stripe.AccountCreateParams.Groups; - export type Individual = Stripe.AccountCreateParams.Individual; - export type Settings = Stripe.AccountCreateParams.Settings; - export type TosAcceptance = Stripe.AccountCreateParams.TosAcceptance; - export type Type = Stripe.AccountCreateParams.Type; + export type BusinessProfile = Stripe_.AccountCreateParams.BusinessProfile; + export type BusinessType = Stripe_.AccountCreateParams.BusinessType; + export type Capabilities = Stripe_.AccountCreateParams.Capabilities; + export type Company = Stripe_.AccountCreateParams.Company; + export type Controller = Stripe_.AccountCreateParams.Controller; + export type Documents = Stripe_.AccountCreateParams.Documents; + export type ExternalAccount = Stripe_.AccountCreateParams.ExternalAccount; + export type Groups = Stripe_.AccountCreateParams.Groups; + export type Individual = Stripe_.AccountCreateParams.Individual; + export type Settings = Stripe_.AccountCreateParams.Settings; + export type TosAcceptance = Stripe_.AccountCreateParams.TosAcceptance; + export type Type = Stripe_.AccountCreateParams.Type; export namespace BusinessProfile { - export type AnnualRevenue = Stripe.AccountCreateParams.BusinessProfile.AnnualRevenue; - export type MinorityOwnedBusinessDesignation = Stripe.AccountCreateParams.BusinessProfile.MinorityOwnedBusinessDesignation; - export type MonthlyEstimatedRevenue = Stripe.AccountCreateParams.BusinessProfile.MonthlyEstimatedRevenue; + export type AnnualRevenue = Stripe_.AccountCreateParams.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe_.AccountCreateParams.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe_.AccountCreateParams.BusinessProfile.MonthlyEstimatedRevenue; } export namespace Capabilities { - export type AcssDebitPayments = Stripe.AccountCreateParams.Capabilities.AcssDebitPayments; - export type AffirmPayments = Stripe.AccountCreateParams.Capabilities.AffirmPayments; - export type AfterpayClearpayPayments = Stripe.AccountCreateParams.Capabilities.AfterpayClearpayPayments; - export type AlmaPayments = Stripe.AccountCreateParams.Capabilities.AlmaPayments; - export type AmazonPayPayments = Stripe.AccountCreateParams.Capabilities.AmazonPayPayments; - export type AppDistribution = Stripe.AccountCreateParams.Capabilities.AppDistribution; - export type AuBecsDebitPayments = Stripe.AccountCreateParams.Capabilities.AuBecsDebitPayments; - export type BacsDebitPayments = Stripe.AccountCreateParams.Capabilities.BacsDebitPayments; - export type BancontactPayments = Stripe.AccountCreateParams.Capabilities.BancontactPayments; - export type BankTransferPayments = Stripe.AccountCreateParams.Capabilities.BankTransferPayments; - export type BilliePayments = Stripe.AccountCreateParams.Capabilities.BilliePayments; - export type BizumPayments = Stripe.AccountCreateParams.Capabilities.BizumPayments; - export type BlikPayments = Stripe.AccountCreateParams.Capabilities.BlikPayments; - export type BoletoPayments = Stripe.AccountCreateParams.Capabilities.BoletoPayments; - export type CardIssuing = Stripe.AccountCreateParams.Capabilities.CardIssuing; - export type CardPayments = Stripe.AccountCreateParams.Capabilities.CardPayments; - export type CartesBancairesPayments = Stripe.AccountCreateParams.Capabilities.CartesBancairesPayments; - export type CashappPayments = Stripe.AccountCreateParams.Capabilities.CashappPayments; - export type CryptoPayments = Stripe.AccountCreateParams.Capabilities.CryptoPayments; - export type EpsPayments = Stripe.AccountCreateParams.Capabilities.EpsPayments; - export type FpxPayments = Stripe.AccountCreateParams.Capabilities.FpxPayments; - export type GbBankTransferPayments = Stripe.AccountCreateParams.Capabilities.GbBankTransferPayments; - export type GiropayPayments = Stripe.AccountCreateParams.Capabilities.GiropayPayments; - export type GrabpayPayments = Stripe.AccountCreateParams.Capabilities.GrabpayPayments; - export type IdealPayments = Stripe.AccountCreateParams.Capabilities.IdealPayments; - export type IndiaInternationalPayments = Stripe.AccountCreateParams.Capabilities.IndiaInternationalPayments; - export type JcbPayments = Stripe.AccountCreateParams.Capabilities.JcbPayments; - export type JpBankTransferPayments = Stripe.AccountCreateParams.Capabilities.JpBankTransferPayments; - export type KakaoPayPayments = Stripe.AccountCreateParams.Capabilities.KakaoPayPayments; - export type KlarnaPayments = Stripe.AccountCreateParams.Capabilities.KlarnaPayments; - export type KonbiniPayments = Stripe.AccountCreateParams.Capabilities.KonbiniPayments; - export type KrCardPayments = Stripe.AccountCreateParams.Capabilities.KrCardPayments; - export type LegacyPayments = Stripe.AccountCreateParams.Capabilities.LegacyPayments; - export type LinkPayments = Stripe.AccountCreateParams.Capabilities.LinkPayments; - export type MbWayPayments = Stripe.AccountCreateParams.Capabilities.MbWayPayments; - export type MobilepayPayments = Stripe.AccountCreateParams.Capabilities.MobilepayPayments; - export type MultibancoPayments = Stripe.AccountCreateParams.Capabilities.MultibancoPayments; - export type MxBankTransferPayments = Stripe.AccountCreateParams.Capabilities.MxBankTransferPayments; - export type NaverPayPayments = Stripe.AccountCreateParams.Capabilities.NaverPayPayments; - export type NzBankAccountBecsDebitPayments = Stripe.AccountCreateParams.Capabilities.NzBankAccountBecsDebitPayments; - export type OxxoPayments = Stripe.AccountCreateParams.Capabilities.OxxoPayments; - export type P24Payments = Stripe.AccountCreateParams.Capabilities.P24Payments; - export type PayByBankPayments = Stripe.AccountCreateParams.Capabilities.PayByBankPayments; - export type PaycoPayments = Stripe.AccountCreateParams.Capabilities.PaycoPayments; - export type PaynowPayments = Stripe.AccountCreateParams.Capabilities.PaynowPayments; - export type PaytoPayments = Stripe.AccountCreateParams.Capabilities.PaytoPayments; - export type PixPayments = Stripe.AccountCreateParams.Capabilities.PixPayments; - export type PromptpayPayments = Stripe.AccountCreateParams.Capabilities.PromptpayPayments; - export type RevolutPayPayments = Stripe.AccountCreateParams.Capabilities.RevolutPayPayments; - export type SamsungPayPayments = Stripe.AccountCreateParams.Capabilities.SamsungPayPayments; - export type SatispayPayments = Stripe.AccountCreateParams.Capabilities.SatispayPayments; - export type ScalapayPayments = Stripe.AccountCreateParams.Capabilities.ScalapayPayments; - export type SepaBankTransferPayments = Stripe.AccountCreateParams.Capabilities.SepaBankTransferPayments; - export type SepaDebitPayments = Stripe.AccountCreateParams.Capabilities.SepaDebitPayments; - export type SofortPayments = Stripe.AccountCreateParams.Capabilities.SofortPayments; - export type SunbitPayments = Stripe.AccountCreateParams.Capabilities.SunbitPayments; - export type SwishPayments = Stripe.AccountCreateParams.Capabilities.SwishPayments; - export type TaxReportingUs1099K = Stripe.AccountCreateParams.Capabilities.TaxReportingUs1099K; - export type TaxReportingUs1099Misc = Stripe.AccountCreateParams.Capabilities.TaxReportingUs1099Misc; - export type Transfers = Stripe.AccountCreateParams.Capabilities.Transfers; - export type Treasury = Stripe.AccountCreateParams.Capabilities.Treasury; - export type TwintPayments = Stripe.AccountCreateParams.Capabilities.TwintPayments; - export type UpiPayments = Stripe.AccountCreateParams.Capabilities.UpiPayments; - export type UsBankAccountAchPayments = Stripe.AccountCreateParams.Capabilities.UsBankAccountAchPayments; - export type UsBankTransferPayments = Stripe.AccountCreateParams.Capabilities.UsBankTransferPayments; - export type ZipPayments = Stripe.AccountCreateParams.Capabilities.ZipPayments; + export type AcssDebitPayments = Stripe_.AccountCreateParams.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe_.AccountCreateParams.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe_.AccountCreateParams.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe_.AccountCreateParams.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe_.AccountCreateParams.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe_.AccountCreateParams.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe_.AccountCreateParams.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe_.AccountCreateParams.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe_.AccountCreateParams.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe_.AccountCreateParams.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe_.AccountCreateParams.Capabilities.BilliePayments; + export type BizumPayments = Stripe_.AccountCreateParams.Capabilities.BizumPayments; + export type BlikPayments = Stripe_.AccountCreateParams.Capabilities.BlikPayments; + export type BoletoPayments = Stripe_.AccountCreateParams.Capabilities.BoletoPayments; + export type CardIssuing = Stripe_.AccountCreateParams.Capabilities.CardIssuing; + export type CardPayments = Stripe_.AccountCreateParams.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe_.AccountCreateParams.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe_.AccountCreateParams.Capabilities.CashappPayments; + export type CryptoPayments = Stripe_.AccountCreateParams.Capabilities.CryptoPayments; + export type EpsPayments = Stripe_.AccountCreateParams.Capabilities.EpsPayments; + export type FpxPayments = Stripe_.AccountCreateParams.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe_.AccountCreateParams.Capabilities.GiropayPayments; + export type GrabpayPayments = Stripe_.AccountCreateParams.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe_.AccountCreateParams.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe_.AccountCreateParams.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe_.AccountCreateParams.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe_.AccountCreateParams.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe_.AccountCreateParams.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe_.AccountCreateParams.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe_.AccountCreateParams.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe_.AccountCreateParams.Capabilities.LegacyPayments; + export type LinkPayments = Stripe_.AccountCreateParams.Capabilities.LinkPayments; + export type MbWayPayments = Stripe_.AccountCreateParams.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe_.AccountCreateParams.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe_.AccountCreateParams.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe_.AccountCreateParams.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe_.AccountCreateParams.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe_.AccountCreateParams.Capabilities.OxxoPayments; + export type P24Payments = Stripe_.AccountCreateParams.Capabilities.P24Payments; + export type PayByBankPayments = Stripe_.AccountCreateParams.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe_.AccountCreateParams.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe_.AccountCreateParams.Capabilities.PaynowPayments; + export type PaytoPayments = Stripe_.AccountCreateParams.Capabilities.PaytoPayments; + export type PixPayments = Stripe_.AccountCreateParams.Capabilities.PixPayments; + export type PromptpayPayments = Stripe_.AccountCreateParams.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe_.AccountCreateParams.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe_.AccountCreateParams.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe_.AccountCreateParams.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe_.AccountCreateParams.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe_.AccountCreateParams.Capabilities.SepaDebitPayments; + export type SofortPayments = Stripe_.AccountCreateParams.Capabilities.SofortPayments; + export type SunbitPayments = Stripe_.AccountCreateParams.Capabilities.SunbitPayments; + export type SwishPayments = Stripe_.AccountCreateParams.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe_.AccountCreateParams.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe_.AccountCreateParams.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe_.AccountCreateParams.Capabilities.Transfers; + export type Treasury = Stripe_.AccountCreateParams.Capabilities.Treasury; + export type TwintPayments = Stripe_.AccountCreateParams.Capabilities.TwintPayments; + export type UpiPayments = Stripe_.AccountCreateParams.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe_.AccountCreateParams.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe_.AccountCreateParams.Capabilities.ZipPayments; } export namespace Company { - export type DirectorshipDeclaration = Stripe.AccountCreateParams.Company.DirectorshipDeclaration; - export type OwnershipDeclaration = Stripe.AccountCreateParams.Company.OwnershipDeclaration; - export type OwnershipExemptionReason = Stripe.AccountCreateParams.Company.OwnershipExemptionReason; - export type RegistrationDate = Stripe.AccountCreateParams.Company.RegistrationDate; - export type RepresentativeDeclaration = Stripe.AccountCreateParams.Company.RepresentativeDeclaration; - export type Structure = Stripe.AccountCreateParams.Company.Structure; - export type Verification = Stripe.AccountCreateParams.Company.Verification; + export type DirectorshipDeclaration = Stripe_.AccountCreateParams.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.AccountCreateParams.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe_.AccountCreateParams.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe_.AccountCreateParams.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe_.AccountCreateParams.Company.RepresentativeDeclaration; + export type Structure = Stripe_.AccountCreateParams.Company.Structure; + export type Verification = Stripe_.AccountCreateParams.Company.Verification; export namespace Verification { - export type Document = Stripe.AccountCreateParams.Company.Verification.Document; + export type Document = Stripe_.AccountCreateParams.Company.Verification.Document; } } export namespace Controller { - export type Fees = Stripe.AccountCreateParams.Controller.Fees; - export type Losses = Stripe.AccountCreateParams.Controller.Losses; - export type RequirementCollection = Stripe.AccountCreateParams.Controller.RequirementCollection; - export type StripeDashboard = Stripe.AccountCreateParams.Controller.StripeDashboard; + export type Fees = Stripe_.AccountCreateParams.Controller.Fees; + export type Losses = Stripe_.AccountCreateParams.Controller.Losses; + export type RequirementCollection = Stripe_.AccountCreateParams.Controller.RequirementCollection; + export type StripeDashboard = Stripe_.AccountCreateParams.Controller.StripeDashboard; export namespace Fees { - export type Payer = Stripe.AccountCreateParams.Controller.Fees.Payer; + export type Payer = Stripe_.AccountCreateParams.Controller.Fees.Payer; } export namespace Losses { - export type Payments = Stripe.AccountCreateParams.Controller.Losses.Payments; + export type Payments = Stripe_.AccountCreateParams.Controller.Losses.Payments; } export namespace StripeDashboard { - export type Type = Stripe.AccountCreateParams.Controller.StripeDashboard.Type; + export type Type = Stripe_.AccountCreateParams.Controller.StripeDashboard.Type; } } export namespace Documents { - export type BankAccountOwnershipVerification = Stripe.AccountCreateParams.Documents.BankAccountOwnershipVerification; - export type CompanyLicense = Stripe.AccountCreateParams.Documents.CompanyLicense; - export type CompanyMemorandumOfAssociation = Stripe.AccountCreateParams.Documents.CompanyMemorandumOfAssociation; - export type CompanyMinisterialDecree = Stripe.AccountCreateParams.Documents.CompanyMinisterialDecree; - export type CompanyRegistrationVerification = Stripe.AccountCreateParams.Documents.CompanyRegistrationVerification; - export type CompanyTaxIdVerification = Stripe.AccountCreateParams.Documents.CompanyTaxIdVerification; - export type ProofOfAddress = Stripe.AccountCreateParams.Documents.ProofOfAddress; - export type ProofOfRegistration = Stripe.AccountCreateParams.Documents.ProofOfRegistration; - export type ProofOfUltimateBeneficialOwnership = Stripe.AccountCreateParams.Documents.ProofOfUltimateBeneficialOwnership; + export type BankAccountOwnershipVerification = Stripe_.AccountCreateParams.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe_.AccountCreateParams.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe_.AccountCreateParams.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe_.AccountCreateParams.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe_.AccountCreateParams.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe_.AccountCreateParams.Documents.CompanyTaxIdVerification; + export type ProofOfAddress = Stripe_.AccountCreateParams.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe_.AccountCreateParams.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe_.AccountCreateParams.Documents.ProofOfUltimateBeneficialOwnership; export namespace ProofOfRegistration { - export type Signer = Stripe.AccountCreateParams.Documents.ProofOfRegistration.Signer; + export type Signer = Stripe_.AccountCreateParams.Documents.ProofOfRegistration.Signer; } export namespace ProofOfUltimateBeneficialOwnership { - export type Signer = Stripe.AccountCreateParams.Documents.ProofOfUltimateBeneficialOwnership.Signer; + export type Signer = Stripe_.AccountCreateParams.Documents.ProofOfUltimateBeneficialOwnership.Signer; } } export namespace Individual { - export type Dob = Stripe.AccountCreateParams.Individual.Dob; - export type PoliticalExposure = Stripe.AccountCreateParams.Individual.PoliticalExposure; - export type Relationship = Stripe.AccountCreateParams.Individual.Relationship; - export type Verification = Stripe.AccountCreateParams.Individual.Verification; + export type Dob = Stripe_.AccountCreateParams.Individual.Dob; + export type PoliticalExposure = Stripe_.AccountCreateParams.Individual.PoliticalExposure; + export type Relationship = Stripe_.AccountCreateParams.Individual.Relationship; + export type Verification = Stripe_.AccountCreateParams.Individual.Verification; export namespace Verification { - export type AdditionalDocument = Stripe.AccountCreateParams.Individual.Verification.AdditionalDocument; - export type Document = Stripe.AccountCreateParams.Individual.Verification.Document; + export type AdditionalDocument = Stripe_.AccountCreateParams.Individual.Verification.AdditionalDocument; + export type Document = Stripe_.AccountCreateParams.Individual.Verification.Document; } } export namespace Settings { - export type BacsDebitPayments = Stripe.AccountCreateParams.Settings.BacsDebitPayments; - export type Branding = Stripe.AccountCreateParams.Settings.Branding; - export type CardIssuing = Stripe.AccountCreateParams.Settings.CardIssuing; - export type CardPayments = Stripe.AccountCreateParams.Settings.CardPayments; - export type Invoices = Stripe.AccountCreateParams.Settings.Invoices; - export type Payments = Stripe.AccountCreateParams.Settings.Payments; - export type Payouts = Stripe.AccountCreateParams.Settings.Payouts; - export type Treasury = Stripe.AccountCreateParams.Settings.Treasury; + export type BacsDebitPayments = Stripe_.AccountCreateParams.Settings.BacsDebitPayments; + export type Branding = Stripe_.AccountCreateParams.Settings.Branding; + export type CardIssuing = Stripe_.AccountCreateParams.Settings.CardIssuing; + export type CardPayments = Stripe_.AccountCreateParams.Settings.CardPayments; + export type Invoices = Stripe_.AccountCreateParams.Settings.Invoices; + export type Payments = Stripe_.AccountCreateParams.Settings.Payments; + export type Payouts = Stripe_.AccountCreateParams.Settings.Payouts; + export type Treasury = Stripe_.AccountCreateParams.Settings.Treasury; export namespace CardIssuing { - export type TosAcceptance = Stripe.AccountCreateParams.Settings.CardIssuing.TosAcceptance; + export type TosAcceptance = Stripe_.AccountCreateParams.Settings.CardIssuing.TosAcceptance; } export namespace CardPayments { - export type DeclineOn = Stripe.AccountCreateParams.Settings.CardPayments.DeclineOn; + export type DeclineOn = Stripe_.AccountCreateParams.Settings.CardPayments.DeclineOn; } export namespace Invoices { - export type HostedPaymentMethodSave = Stripe.AccountCreateParams.Settings.Invoices.HostedPaymentMethodSave; + export type HostedPaymentMethodSave = Stripe_.AccountCreateParams.Settings.Invoices.HostedPaymentMethodSave; } export namespace Payouts { - export type Schedule = Stripe.AccountCreateParams.Settings.Payouts.Schedule; + export type Schedule = Stripe_.AccountCreateParams.Settings.Payouts.Schedule; export namespace Schedule { - export type Interval = Stripe.AccountCreateParams.Settings.Payouts.Schedule.Interval; - export type WeeklyAnchor = Stripe.AccountCreateParams.Settings.Payouts.Schedule.WeeklyAnchor; - export type WeeklyPayoutDay = Stripe.AccountCreateParams.Settings.Payouts.Schedule.WeeklyPayoutDay; + export type Interval = Stripe_.AccountCreateParams.Settings.Payouts.Schedule.Interval; + export type WeeklyAnchor = Stripe_.AccountCreateParams.Settings.Payouts.Schedule.WeeklyAnchor; + export type WeeklyPayoutDay = Stripe_.AccountCreateParams.Settings.Payouts.Schedule.WeeklyPayoutDay; } } export namespace Treasury { - export type TosAcceptance = Stripe.AccountCreateParams.Settings.Treasury.TosAcceptance; + export type TosAcceptance = Stripe_.AccountCreateParams.Settings.Treasury.TosAcceptance; } } } export namespace AccountUpdateParams { - export type BusinessProfile = Stripe.AccountUpdateParams.BusinessProfile; - export type BusinessType = Stripe.AccountUpdateParams.BusinessType; - export type Capabilities = Stripe.AccountUpdateParams.Capabilities; - export type Company = Stripe.AccountUpdateParams.Company; - export type Documents = Stripe.AccountUpdateParams.Documents; - export type BankAccount = Stripe.AccountUpdateParams.BankAccount; - export type Card = Stripe.AccountUpdateParams.Card; - export type CardToken = Stripe.AccountUpdateParams.CardToken; - export type Groups = Stripe.AccountUpdateParams.Groups; - export type Individual = Stripe.AccountUpdateParams.Individual; - export type Settings = Stripe.AccountUpdateParams.Settings; - export type TosAcceptance = Stripe.AccountUpdateParams.TosAcceptance; + export type BusinessProfile = Stripe_.AccountUpdateParams.BusinessProfile; + export type BusinessType = Stripe_.AccountUpdateParams.BusinessType; + export type Capabilities = Stripe_.AccountUpdateParams.Capabilities; + export type Company = Stripe_.AccountUpdateParams.Company; + export type Documents = Stripe_.AccountUpdateParams.Documents; + export type BankAccount = Stripe_.AccountUpdateParams.BankAccount; + export type Card = Stripe_.AccountUpdateParams.Card; + export type CardToken = Stripe_.AccountUpdateParams.CardToken; + export type Groups = Stripe_.AccountUpdateParams.Groups; + export type Individual = Stripe_.AccountUpdateParams.Individual; + export type Settings = Stripe_.AccountUpdateParams.Settings; + export type TosAcceptance = Stripe_.AccountUpdateParams.TosAcceptance; export namespace BankAccount { - export type AccountHolderType = Stripe.AccountUpdateParams.BankAccount.AccountHolderType; + export type AccountHolderType = Stripe_.AccountUpdateParams.BankAccount.AccountHolderType; } export namespace BusinessProfile { - export type AnnualRevenue = Stripe.AccountUpdateParams.BusinessProfile.AnnualRevenue; - export type MinorityOwnedBusinessDesignation = Stripe.AccountUpdateParams.BusinessProfile.MinorityOwnedBusinessDesignation; - export type MonthlyEstimatedRevenue = Stripe.AccountUpdateParams.BusinessProfile.MonthlyEstimatedRevenue; + export type AnnualRevenue = Stripe_.AccountUpdateParams.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe_.AccountUpdateParams.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe_.AccountUpdateParams.BusinessProfile.MonthlyEstimatedRevenue; } export namespace Capabilities { - export type AcssDebitPayments = Stripe.AccountUpdateParams.Capabilities.AcssDebitPayments; - export type AffirmPayments = Stripe.AccountUpdateParams.Capabilities.AffirmPayments; - export type AfterpayClearpayPayments = Stripe.AccountUpdateParams.Capabilities.AfterpayClearpayPayments; - export type AlmaPayments = Stripe.AccountUpdateParams.Capabilities.AlmaPayments; - export type AmazonPayPayments = Stripe.AccountUpdateParams.Capabilities.AmazonPayPayments; - export type AppDistribution = Stripe.AccountUpdateParams.Capabilities.AppDistribution; - export type AuBecsDebitPayments = Stripe.AccountUpdateParams.Capabilities.AuBecsDebitPayments; - export type BacsDebitPayments = Stripe.AccountUpdateParams.Capabilities.BacsDebitPayments; - export type BancontactPayments = Stripe.AccountUpdateParams.Capabilities.BancontactPayments; - export type BankTransferPayments = Stripe.AccountUpdateParams.Capabilities.BankTransferPayments; - export type BilliePayments = Stripe.AccountUpdateParams.Capabilities.BilliePayments; - export type BizumPayments = Stripe.AccountUpdateParams.Capabilities.BizumPayments; - export type BlikPayments = Stripe.AccountUpdateParams.Capabilities.BlikPayments; - export type BoletoPayments = Stripe.AccountUpdateParams.Capabilities.BoletoPayments; - export type CardIssuing = Stripe.AccountUpdateParams.Capabilities.CardIssuing; - export type CardPayments = Stripe.AccountUpdateParams.Capabilities.CardPayments; - export type CartesBancairesPayments = Stripe.AccountUpdateParams.Capabilities.CartesBancairesPayments; - export type CashappPayments = Stripe.AccountUpdateParams.Capabilities.CashappPayments; - export type CryptoPayments = Stripe.AccountUpdateParams.Capabilities.CryptoPayments; - export type EpsPayments = Stripe.AccountUpdateParams.Capabilities.EpsPayments; - export type FpxPayments = Stripe.AccountUpdateParams.Capabilities.FpxPayments; - export type GbBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.GbBankTransferPayments; - export type GiropayPayments = Stripe.AccountUpdateParams.Capabilities.GiropayPayments; - export type GrabpayPayments = Stripe.AccountUpdateParams.Capabilities.GrabpayPayments; - export type IdealPayments = Stripe.AccountUpdateParams.Capabilities.IdealPayments; - export type IndiaInternationalPayments = Stripe.AccountUpdateParams.Capabilities.IndiaInternationalPayments; - export type JcbPayments = Stripe.AccountUpdateParams.Capabilities.JcbPayments; - export type JpBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.JpBankTransferPayments; - export type KakaoPayPayments = Stripe.AccountUpdateParams.Capabilities.KakaoPayPayments; - export type KlarnaPayments = Stripe.AccountUpdateParams.Capabilities.KlarnaPayments; - export type KonbiniPayments = Stripe.AccountUpdateParams.Capabilities.KonbiniPayments; - export type KrCardPayments = Stripe.AccountUpdateParams.Capabilities.KrCardPayments; - export type LegacyPayments = Stripe.AccountUpdateParams.Capabilities.LegacyPayments; - export type LinkPayments = Stripe.AccountUpdateParams.Capabilities.LinkPayments; - export type MbWayPayments = Stripe.AccountUpdateParams.Capabilities.MbWayPayments; - export type MobilepayPayments = Stripe.AccountUpdateParams.Capabilities.MobilepayPayments; - export type MultibancoPayments = Stripe.AccountUpdateParams.Capabilities.MultibancoPayments; - export type MxBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.MxBankTransferPayments; - export type NaverPayPayments = Stripe.AccountUpdateParams.Capabilities.NaverPayPayments; - export type NzBankAccountBecsDebitPayments = Stripe.AccountUpdateParams.Capabilities.NzBankAccountBecsDebitPayments; - export type OxxoPayments = Stripe.AccountUpdateParams.Capabilities.OxxoPayments; - export type P24Payments = Stripe.AccountUpdateParams.Capabilities.P24Payments; - export type PayByBankPayments = Stripe.AccountUpdateParams.Capabilities.PayByBankPayments; - export type PaycoPayments = Stripe.AccountUpdateParams.Capabilities.PaycoPayments; - export type PaynowPayments = Stripe.AccountUpdateParams.Capabilities.PaynowPayments; - export type PaytoPayments = Stripe.AccountUpdateParams.Capabilities.PaytoPayments; - export type PixPayments = Stripe.AccountUpdateParams.Capabilities.PixPayments; - export type PromptpayPayments = Stripe.AccountUpdateParams.Capabilities.PromptpayPayments; - export type RevolutPayPayments = Stripe.AccountUpdateParams.Capabilities.RevolutPayPayments; - export type SamsungPayPayments = Stripe.AccountUpdateParams.Capabilities.SamsungPayPayments; - export type SatispayPayments = Stripe.AccountUpdateParams.Capabilities.SatispayPayments; - export type ScalapayPayments = Stripe.AccountUpdateParams.Capabilities.ScalapayPayments; - export type SepaBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.SepaBankTransferPayments; - export type SepaDebitPayments = Stripe.AccountUpdateParams.Capabilities.SepaDebitPayments; - export type SofortPayments = Stripe.AccountUpdateParams.Capabilities.SofortPayments; - export type SunbitPayments = Stripe.AccountUpdateParams.Capabilities.SunbitPayments; - export type SwishPayments = Stripe.AccountUpdateParams.Capabilities.SwishPayments; - export type TaxReportingUs1099K = Stripe.AccountUpdateParams.Capabilities.TaxReportingUs1099K; - export type TaxReportingUs1099Misc = Stripe.AccountUpdateParams.Capabilities.TaxReportingUs1099Misc; - export type Transfers = Stripe.AccountUpdateParams.Capabilities.Transfers; - export type Treasury = Stripe.AccountUpdateParams.Capabilities.Treasury; - export type TwintPayments = Stripe.AccountUpdateParams.Capabilities.TwintPayments; - export type UpiPayments = Stripe.AccountUpdateParams.Capabilities.UpiPayments; - export type UsBankAccountAchPayments = Stripe.AccountUpdateParams.Capabilities.UsBankAccountAchPayments; - export type UsBankTransferPayments = Stripe.AccountUpdateParams.Capabilities.UsBankTransferPayments; - export type ZipPayments = Stripe.AccountUpdateParams.Capabilities.ZipPayments; + export type AcssDebitPayments = Stripe_.AccountUpdateParams.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe_.AccountUpdateParams.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe_.AccountUpdateParams.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe_.AccountUpdateParams.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe_.AccountUpdateParams.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe_.AccountUpdateParams.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe_.AccountUpdateParams.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe_.AccountUpdateParams.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe_.AccountUpdateParams.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe_.AccountUpdateParams.Capabilities.BilliePayments; + export type BizumPayments = Stripe_.AccountUpdateParams.Capabilities.BizumPayments; + export type BlikPayments = Stripe_.AccountUpdateParams.Capabilities.BlikPayments; + export type BoletoPayments = Stripe_.AccountUpdateParams.Capabilities.BoletoPayments; + export type CardIssuing = Stripe_.AccountUpdateParams.Capabilities.CardIssuing; + export type CardPayments = Stripe_.AccountUpdateParams.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe_.AccountUpdateParams.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe_.AccountUpdateParams.Capabilities.CashappPayments; + export type CryptoPayments = Stripe_.AccountUpdateParams.Capabilities.CryptoPayments; + export type EpsPayments = Stripe_.AccountUpdateParams.Capabilities.EpsPayments; + export type FpxPayments = Stripe_.AccountUpdateParams.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe_.AccountUpdateParams.Capabilities.GiropayPayments; + export type GrabpayPayments = Stripe_.AccountUpdateParams.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe_.AccountUpdateParams.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe_.AccountUpdateParams.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe_.AccountUpdateParams.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe_.AccountUpdateParams.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe_.AccountUpdateParams.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe_.AccountUpdateParams.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe_.AccountUpdateParams.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe_.AccountUpdateParams.Capabilities.LegacyPayments; + export type LinkPayments = Stripe_.AccountUpdateParams.Capabilities.LinkPayments; + export type MbWayPayments = Stripe_.AccountUpdateParams.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe_.AccountUpdateParams.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe_.AccountUpdateParams.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe_.AccountUpdateParams.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe_.AccountUpdateParams.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe_.AccountUpdateParams.Capabilities.OxxoPayments; + export type P24Payments = Stripe_.AccountUpdateParams.Capabilities.P24Payments; + export type PayByBankPayments = Stripe_.AccountUpdateParams.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe_.AccountUpdateParams.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe_.AccountUpdateParams.Capabilities.PaynowPayments; + export type PaytoPayments = Stripe_.AccountUpdateParams.Capabilities.PaytoPayments; + export type PixPayments = Stripe_.AccountUpdateParams.Capabilities.PixPayments; + export type PromptpayPayments = Stripe_.AccountUpdateParams.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe_.AccountUpdateParams.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe_.AccountUpdateParams.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe_.AccountUpdateParams.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe_.AccountUpdateParams.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe_.AccountUpdateParams.Capabilities.SepaDebitPayments; + export type SofortPayments = Stripe_.AccountUpdateParams.Capabilities.SofortPayments; + export type SunbitPayments = Stripe_.AccountUpdateParams.Capabilities.SunbitPayments; + export type SwishPayments = Stripe_.AccountUpdateParams.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe_.AccountUpdateParams.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe_.AccountUpdateParams.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe_.AccountUpdateParams.Capabilities.Transfers; + export type Treasury = Stripe_.AccountUpdateParams.Capabilities.Treasury; + export type TwintPayments = Stripe_.AccountUpdateParams.Capabilities.TwintPayments; + export type UpiPayments = Stripe_.AccountUpdateParams.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe_.AccountUpdateParams.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe_.AccountUpdateParams.Capabilities.ZipPayments; } export namespace Company { - export type DirectorshipDeclaration = Stripe.AccountUpdateParams.Company.DirectorshipDeclaration; - export type OwnershipDeclaration = Stripe.AccountUpdateParams.Company.OwnershipDeclaration; - export type OwnershipExemptionReason = Stripe.AccountUpdateParams.Company.OwnershipExemptionReason; - export type RegistrationDate = Stripe.AccountUpdateParams.Company.RegistrationDate; - export type RepresentativeDeclaration = Stripe.AccountUpdateParams.Company.RepresentativeDeclaration; - export type Structure = Stripe.AccountUpdateParams.Company.Structure; - export type Verification = Stripe.AccountUpdateParams.Company.Verification; + export type DirectorshipDeclaration = Stripe_.AccountUpdateParams.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.AccountUpdateParams.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe_.AccountUpdateParams.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe_.AccountUpdateParams.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe_.AccountUpdateParams.Company.RepresentativeDeclaration; + export type Structure = Stripe_.AccountUpdateParams.Company.Structure; + export type Verification = Stripe_.AccountUpdateParams.Company.Verification; export namespace Verification { - export type Document = Stripe.AccountUpdateParams.Company.Verification.Document; + export type Document = Stripe_.AccountUpdateParams.Company.Verification.Document; } } export namespace Documents { - export type BankAccountOwnershipVerification = Stripe.AccountUpdateParams.Documents.BankAccountOwnershipVerification; - export type CompanyLicense = Stripe.AccountUpdateParams.Documents.CompanyLicense; - export type CompanyMemorandumOfAssociation = Stripe.AccountUpdateParams.Documents.CompanyMemorandumOfAssociation; - export type CompanyMinisterialDecree = Stripe.AccountUpdateParams.Documents.CompanyMinisterialDecree; - export type CompanyRegistrationVerification = Stripe.AccountUpdateParams.Documents.CompanyRegistrationVerification; - export type CompanyTaxIdVerification = Stripe.AccountUpdateParams.Documents.CompanyTaxIdVerification; - export type ProofOfAddress = Stripe.AccountUpdateParams.Documents.ProofOfAddress; - export type ProofOfRegistration = Stripe.AccountUpdateParams.Documents.ProofOfRegistration; - export type ProofOfUltimateBeneficialOwnership = Stripe.AccountUpdateParams.Documents.ProofOfUltimateBeneficialOwnership; + export type BankAccountOwnershipVerification = Stripe_.AccountUpdateParams.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe_.AccountUpdateParams.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe_.AccountUpdateParams.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe_.AccountUpdateParams.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe_.AccountUpdateParams.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe_.AccountUpdateParams.Documents.CompanyTaxIdVerification; + export type ProofOfAddress = Stripe_.AccountUpdateParams.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe_.AccountUpdateParams.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe_.AccountUpdateParams.Documents.ProofOfUltimateBeneficialOwnership; export namespace ProofOfRegistration { - export type Signer = Stripe.AccountUpdateParams.Documents.ProofOfRegistration.Signer; + export type Signer = Stripe_.AccountUpdateParams.Documents.ProofOfRegistration.Signer; } export namespace ProofOfUltimateBeneficialOwnership { - export type Signer = Stripe.AccountUpdateParams.Documents.ProofOfUltimateBeneficialOwnership.Signer; + export type Signer = Stripe_.AccountUpdateParams.Documents.ProofOfUltimateBeneficialOwnership.Signer; } } export namespace Individual { - export type Dob = Stripe.AccountUpdateParams.Individual.Dob; - export type PoliticalExposure = Stripe.AccountUpdateParams.Individual.PoliticalExposure; - export type Relationship = Stripe.AccountUpdateParams.Individual.Relationship; - export type Verification = Stripe.AccountUpdateParams.Individual.Verification; + export type Dob = Stripe_.AccountUpdateParams.Individual.Dob; + export type PoliticalExposure = Stripe_.AccountUpdateParams.Individual.PoliticalExposure; + export type Relationship = Stripe_.AccountUpdateParams.Individual.Relationship; + export type Verification = Stripe_.AccountUpdateParams.Individual.Verification; export namespace Verification { - export type AdditionalDocument = Stripe.AccountUpdateParams.Individual.Verification.AdditionalDocument; - export type Document = Stripe.AccountUpdateParams.Individual.Verification.Document; + export type AdditionalDocument = Stripe_.AccountUpdateParams.Individual.Verification.AdditionalDocument; + export type Document = Stripe_.AccountUpdateParams.Individual.Verification.Document; } } export namespace Settings { - export type BacsDebitPayments = Stripe.AccountUpdateParams.Settings.BacsDebitPayments; - export type Branding = Stripe.AccountUpdateParams.Settings.Branding; - export type CardIssuing = Stripe.AccountUpdateParams.Settings.CardIssuing; - export type CardPayments = Stripe.AccountUpdateParams.Settings.CardPayments; - export type Invoices = Stripe.AccountUpdateParams.Settings.Invoices; - export type Payments = Stripe.AccountUpdateParams.Settings.Payments; - export type Payouts = Stripe.AccountUpdateParams.Settings.Payouts; - export type Treasury = Stripe.AccountUpdateParams.Settings.Treasury; + export type BacsDebitPayments = Stripe_.AccountUpdateParams.Settings.BacsDebitPayments; + export type Branding = Stripe_.AccountUpdateParams.Settings.Branding; + export type CardIssuing = Stripe_.AccountUpdateParams.Settings.CardIssuing; + export type CardPayments = Stripe_.AccountUpdateParams.Settings.CardPayments; + export type Invoices = Stripe_.AccountUpdateParams.Settings.Invoices; + export type Payments = Stripe_.AccountUpdateParams.Settings.Payments; + export type Payouts = Stripe_.AccountUpdateParams.Settings.Payouts; + export type Treasury = Stripe_.AccountUpdateParams.Settings.Treasury; export namespace CardIssuing { - export type TosAcceptance = Stripe.AccountUpdateParams.Settings.CardIssuing.TosAcceptance; + export type TosAcceptance = Stripe_.AccountUpdateParams.Settings.CardIssuing.TosAcceptance; } export namespace CardPayments { - export type DeclineOn = Stripe.AccountUpdateParams.Settings.CardPayments.DeclineOn; + export type DeclineOn = Stripe_.AccountUpdateParams.Settings.CardPayments.DeclineOn; } export namespace Invoices { - export type HostedPaymentMethodSave = Stripe.AccountUpdateParams.Settings.Invoices.HostedPaymentMethodSave; + export type HostedPaymentMethodSave = Stripe_.AccountUpdateParams.Settings.Invoices.HostedPaymentMethodSave; } export namespace Payouts { - export type Schedule = Stripe.AccountUpdateParams.Settings.Payouts.Schedule; + export type Schedule = Stripe_.AccountUpdateParams.Settings.Payouts.Schedule; export namespace Schedule { - export type Interval = Stripe.AccountUpdateParams.Settings.Payouts.Schedule.Interval; - export type WeeklyAnchor = Stripe.AccountUpdateParams.Settings.Payouts.Schedule.WeeklyAnchor; - export type WeeklyPayoutDay = Stripe.AccountUpdateParams.Settings.Payouts.Schedule.WeeklyPayoutDay; + export type Interval = Stripe_.AccountUpdateParams.Settings.Payouts.Schedule.Interval; + export type WeeklyAnchor = Stripe_.AccountUpdateParams.Settings.Payouts.Schedule.WeeklyAnchor; + export type WeeklyPayoutDay = Stripe_.AccountUpdateParams.Settings.Payouts.Schedule.WeeklyPayoutDay; } } export namespace Treasury { - export type TosAcceptance = Stripe.AccountUpdateParams.Settings.Treasury.TosAcceptance; + export type TosAcceptance = Stripe_.AccountUpdateParams.Settings.Treasury.TosAcceptance; } } } export namespace AccountCreateExternalAccountParams { - export type Card = Stripe.AccountCreateExternalAccountParams.Card; - export type BankAccount = Stripe.AccountCreateExternalAccountParams.BankAccount; - export type CardToken = Stripe.AccountCreateExternalAccountParams.CardToken; + export type Card = Stripe_.AccountCreateExternalAccountParams.Card; + export type BankAccount = Stripe_.AccountCreateExternalAccountParams.BankAccount; + export type CardToken = Stripe_.AccountCreateExternalAccountParams.CardToken; export namespace BankAccount { - export type AccountHolderType = Stripe.AccountCreateExternalAccountParams.BankAccount.AccountHolderType; + export type AccountHolderType = Stripe_.AccountCreateExternalAccountParams.BankAccount.AccountHolderType; } } export namespace AccountCreatePersonParams { - export type AdditionalTosAcceptances = Stripe.AccountCreatePersonParams.AdditionalTosAcceptances; - export type Dob = Stripe.AccountCreatePersonParams.Dob; - export type Documents = Stripe.AccountCreatePersonParams.Documents; - export type PoliticalExposure = Stripe.AccountCreatePersonParams.PoliticalExposure; - export type Relationship = Stripe.AccountCreatePersonParams.Relationship; - export type UsCfpbData = Stripe.AccountCreatePersonParams.UsCfpbData; - export type Verification = Stripe.AccountCreatePersonParams.Verification; + export type AdditionalTosAcceptances = Stripe_.AccountCreatePersonParams.AdditionalTosAcceptances; + export type Dob = Stripe_.AccountCreatePersonParams.Dob; + export type Documents = Stripe_.AccountCreatePersonParams.Documents; + export type PoliticalExposure = Stripe_.AccountCreatePersonParams.PoliticalExposure; + export type Relationship = Stripe_.AccountCreatePersonParams.Relationship; + export type UsCfpbData = Stripe_.AccountCreatePersonParams.UsCfpbData; + export type Verification = Stripe_.AccountCreatePersonParams.Verification; export namespace AdditionalTosAcceptances { - export type Account = Stripe.AccountCreatePersonParams.AdditionalTosAcceptances.Account; + export type Account = Stripe_.AccountCreatePersonParams.AdditionalTosAcceptances.Account; } export namespace Documents { - export type CompanyAuthorization = Stripe.AccountCreatePersonParams.Documents.CompanyAuthorization; - export type Passport = Stripe.AccountCreatePersonParams.Documents.Passport; - export type Visa = Stripe.AccountCreatePersonParams.Documents.Visa; + export type CompanyAuthorization = Stripe_.AccountCreatePersonParams.Documents.CompanyAuthorization; + export type Passport = Stripe_.AccountCreatePersonParams.Documents.Passport; + export type Visa = Stripe_.AccountCreatePersonParams.Documents.Visa; } export namespace UsCfpbData { - export type EthnicityDetails = Stripe.AccountCreatePersonParams.UsCfpbData.EthnicityDetails; - export type RaceDetails = Stripe.AccountCreatePersonParams.UsCfpbData.RaceDetails; + export type EthnicityDetails = Stripe_.AccountCreatePersonParams.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe_.AccountCreatePersonParams.UsCfpbData.RaceDetails; export namespace EthnicityDetails { - export type Ethnicity = Stripe.AccountCreatePersonParams.UsCfpbData.EthnicityDetails.Ethnicity; + export type Ethnicity = Stripe_.AccountCreatePersonParams.UsCfpbData.EthnicityDetails.Ethnicity; } export namespace RaceDetails { - export type Race = Stripe.AccountCreatePersonParams.UsCfpbData.RaceDetails.Race; + export type Race = Stripe_.AccountCreatePersonParams.UsCfpbData.RaceDetails.Race; } } export namespace Verification { - export type AdditionalDocument = Stripe.AccountCreatePersonParams.Verification.AdditionalDocument; - export type Document = Stripe.AccountCreatePersonParams.Verification.Document; + export type AdditionalDocument = Stripe_.AccountCreatePersonParams.Verification.AdditionalDocument; + export type Document = Stripe_.AccountCreatePersonParams.Verification.Document; } } export namespace AccountListExternalAccountsParams { - export type Object = Stripe.AccountListExternalAccountsParams.Object; + export type Object = Stripe_.AccountListExternalAccountsParams.Object; } export namespace AccountListPersonsParams { - export type Relationship = Stripe.AccountListPersonsParams.Relationship; + export type Relationship = Stripe_.AccountListPersonsParams.Relationship; } export namespace AccountUpdateExternalAccountParams { - export type AccountHolderType = Stripe.AccountUpdateExternalAccountParams.AccountHolderType; - export type AccountType = Stripe.AccountUpdateExternalAccountParams.AccountType; - export type Documents = Stripe.AccountUpdateExternalAccountParams.Documents; + export type AccountHolderType = Stripe_.AccountUpdateExternalAccountParams.AccountHolderType; + export type AccountType = Stripe_.AccountUpdateExternalAccountParams.AccountType; + export type Documents = Stripe_.AccountUpdateExternalAccountParams.Documents; export namespace Documents { - export type BankAccountOwnershipVerification = Stripe.AccountUpdateExternalAccountParams.Documents.BankAccountOwnershipVerification; + export type BankAccountOwnershipVerification = Stripe_.AccountUpdateExternalAccountParams.Documents.BankAccountOwnershipVerification; } } export namespace AccountUpdatePersonParams { - export type AdditionalTosAcceptances = Stripe.AccountUpdatePersonParams.AdditionalTosAcceptances; - export type Dob = Stripe.AccountUpdatePersonParams.Dob; - export type Documents = Stripe.AccountUpdatePersonParams.Documents; - export type PoliticalExposure = Stripe.AccountUpdatePersonParams.PoliticalExposure; - export type Relationship = Stripe.AccountUpdatePersonParams.Relationship; - export type UsCfpbData = Stripe.AccountUpdatePersonParams.UsCfpbData; - export type Verification = Stripe.AccountUpdatePersonParams.Verification; + export type AdditionalTosAcceptances = Stripe_.AccountUpdatePersonParams.AdditionalTosAcceptances; + export type Dob = Stripe_.AccountUpdatePersonParams.Dob; + export type Documents = Stripe_.AccountUpdatePersonParams.Documents; + export type PoliticalExposure = Stripe_.AccountUpdatePersonParams.PoliticalExposure; + export type Relationship = Stripe_.AccountUpdatePersonParams.Relationship; + export type UsCfpbData = Stripe_.AccountUpdatePersonParams.UsCfpbData; + export type Verification = Stripe_.AccountUpdatePersonParams.Verification; export namespace AdditionalTosAcceptances { - export type Account = Stripe.AccountUpdatePersonParams.AdditionalTosAcceptances.Account; + export type Account = Stripe_.AccountUpdatePersonParams.AdditionalTosAcceptances.Account; } export namespace Documents { - export type CompanyAuthorization = Stripe.AccountUpdatePersonParams.Documents.CompanyAuthorization; - export type Passport = Stripe.AccountUpdatePersonParams.Documents.Passport; - export type Visa = Stripe.AccountUpdatePersonParams.Documents.Visa; + export type CompanyAuthorization = Stripe_.AccountUpdatePersonParams.Documents.CompanyAuthorization; + export type Passport = Stripe_.AccountUpdatePersonParams.Documents.Passport; + export type Visa = Stripe_.AccountUpdatePersonParams.Documents.Visa; } export namespace UsCfpbData { - export type EthnicityDetails = Stripe.AccountUpdatePersonParams.UsCfpbData.EthnicityDetails; - export type RaceDetails = Stripe.AccountUpdatePersonParams.UsCfpbData.RaceDetails; + export type EthnicityDetails = Stripe_.AccountUpdatePersonParams.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe_.AccountUpdatePersonParams.UsCfpbData.RaceDetails; export namespace EthnicityDetails { - export type Ethnicity = Stripe.AccountUpdatePersonParams.UsCfpbData.EthnicityDetails.Ethnicity; + export type Ethnicity = Stripe_.AccountUpdatePersonParams.UsCfpbData.EthnicityDetails.Ethnicity; } export namespace RaceDetails { - export type Race = Stripe.AccountUpdatePersonParams.UsCfpbData.RaceDetails.Race; + export type Race = Stripe_.AccountUpdatePersonParams.UsCfpbData.RaceDetails.Race; } } export namespace Verification { - export type AdditionalDocument = Stripe.AccountUpdatePersonParams.Verification.AdditionalDocument; - export type Document = Stripe.AccountUpdatePersonParams.Verification.Document; + export type AdditionalDocument = Stripe_.AccountUpdatePersonParams.Verification.AdditionalDocument; + export type Document = Stripe_.AccountUpdatePersonParams.Verification.Document; } } export namespace Account { - export type BusinessProfile = Stripe.Account.BusinessProfile; - export type BusinessType = Stripe.Account.BusinessType; - export type Capabilities = Stripe.Account.Capabilities; - export type Company = Stripe.Account.Company; - export type Controller = Stripe.Account.Controller; - export type FutureRequirements = Stripe.Account.FutureRequirements; - export type Groups = Stripe.Account.Groups; - export type Requirements = Stripe.Account.Requirements; - export type Settings = Stripe.Account.Settings; - export type TosAcceptance = Stripe.Account.TosAcceptance; - export type Type = Stripe.Account.Type; + export type BusinessProfile = Stripe_.Account.BusinessProfile; + export type BusinessType = Stripe_.Account.BusinessType; + export type Capabilities = Stripe_.Account.Capabilities; + export type Company = Stripe_.Account.Company; + export type Controller = Stripe_.Account.Controller; + export type FutureRequirements = Stripe_.Account.FutureRequirements; + export type Groups = Stripe_.Account.Groups; + export type Requirements = Stripe_.Account.Requirements; + export type Settings = Stripe_.Account.Settings; + export type TosAcceptance = Stripe_.Account.TosAcceptance; + export type Type = Stripe_.Account.Type; export namespace BusinessProfile { - export type AnnualRevenue = Stripe.Account.BusinessProfile.AnnualRevenue; - export type MinorityOwnedBusinessDesignation = Stripe.Account.BusinessProfile.MinorityOwnedBusinessDesignation; - export type MonthlyEstimatedRevenue = Stripe.Account.BusinessProfile.MonthlyEstimatedRevenue; + export type AnnualRevenue = Stripe_.Account.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe_.Account.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe_.Account.BusinessProfile.MonthlyEstimatedRevenue; } export namespace Capabilities { - export type AcssDebitPayments = Stripe.Account.Capabilities.AcssDebitPayments; - export type AffirmPayments = Stripe.Account.Capabilities.AffirmPayments; - export type AfterpayClearpayPayments = Stripe.Account.Capabilities.AfterpayClearpayPayments; - export type AlmaPayments = Stripe.Account.Capabilities.AlmaPayments; - export type AmazonPayPayments = Stripe.Account.Capabilities.AmazonPayPayments; - export type AppDistribution = Stripe.Account.Capabilities.AppDistribution; - export type AuBecsDebitPayments = Stripe.Account.Capabilities.AuBecsDebitPayments; - export type BacsDebitPayments = Stripe.Account.Capabilities.BacsDebitPayments; - export type BancontactPayments = Stripe.Account.Capabilities.BancontactPayments; - export type BankTransferPayments = Stripe.Account.Capabilities.BankTransferPayments; - export type BilliePayments = Stripe.Account.Capabilities.BilliePayments; - export type BizumPayments = Stripe.Account.Capabilities.BizumPayments; - export type BlikPayments = Stripe.Account.Capabilities.BlikPayments; - export type BoletoPayments = Stripe.Account.Capabilities.BoletoPayments; - export type CardIssuing = Stripe.Account.Capabilities.CardIssuing; - export type CardPayments = Stripe.Account.Capabilities.CardPayments; - export type CartesBancairesPayments = Stripe.Account.Capabilities.CartesBancairesPayments; - export type CashappPayments = Stripe.Account.Capabilities.CashappPayments; - export type CryptoPayments = Stripe.Account.Capabilities.CryptoPayments; - export type EpsPayments = Stripe.Account.Capabilities.EpsPayments; - export type FpxPayments = Stripe.Account.Capabilities.FpxPayments; - export type GbBankTransferPayments = Stripe.Account.Capabilities.GbBankTransferPayments; - export type GiropayPayments = Stripe.Account.Capabilities.GiropayPayments; - export type GrabpayPayments = Stripe.Account.Capabilities.GrabpayPayments; - export type IdealPayments = Stripe.Account.Capabilities.IdealPayments; - export type IndiaInternationalPayments = Stripe.Account.Capabilities.IndiaInternationalPayments; - export type JcbPayments = Stripe.Account.Capabilities.JcbPayments; - export type JpBankTransferPayments = Stripe.Account.Capabilities.JpBankTransferPayments; - export type KakaoPayPayments = Stripe.Account.Capabilities.KakaoPayPayments; - export type KlarnaPayments = Stripe.Account.Capabilities.KlarnaPayments; - export type KonbiniPayments = Stripe.Account.Capabilities.KonbiniPayments; - export type KrCardPayments = Stripe.Account.Capabilities.KrCardPayments; - export type LegacyPayments = Stripe.Account.Capabilities.LegacyPayments; - export type LinkPayments = Stripe.Account.Capabilities.LinkPayments; - export type MbWayPayments = Stripe.Account.Capabilities.MbWayPayments; - export type MobilepayPayments = Stripe.Account.Capabilities.MobilepayPayments; - export type MultibancoPayments = Stripe.Account.Capabilities.MultibancoPayments; - export type MxBankTransferPayments = Stripe.Account.Capabilities.MxBankTransferPayments; - export type NaverPayPayments = Stripe.Account.Capabilities.NaverPayPayments; - export type NzBankAccountBecsDebitPayments = Stripe.Account.Capabilities.NzBankAccountBecsDebitPayments; - export type OxxoPayments = Stripe.Account.Capabilities.OxxoPayments; - export type P24Payments = Stripe.Account.Capabilities.P24Payments; - export type PayByBankPayments = Stripe.Account.Capabilities.PayByBankPayments; - export type PaycoPayments = Stripe.Account.Capabilities.PaycoPayments; - export type PaynowPayments = Stripe.Account.Capabilities.PaynowPayments; - export type PaytoPayments = Stripe.Account.Capabilities.PaytoPayments; - export type PixPayments = Stripe.Account.Capabilities.PixPayments; - export type PromptpayPayments = Stripe.Account.Capabilities.PromptpayPayments; - export type RevolutPayPayments = Stripe.Account.Capabilities.RevolutPayPayments; - export type SamsungPayPayments = Stripe.Account.Capabilities.SamsungPayPayments; - export type SatispayPayments = Stripe.Account.Capabilities.SatispayPayments; - export type ScalapayPayments = Stripe.Account.Capabilities.ScalapayPayments; - export type SepaBankTransferPayments = Stripe.Account.Capabilities.SepaBankTransferPayments; - export type SepaDebitPayments = Stripe.Account.Capabilities.SepaDebitPayments; - export type SofortPayments = Stripe.Account.Capabilities.SofortPayments; - export type SunbitPayments = Stripe.Account.Capabilities.SunbitPayments; - export type SwishPayments = Stripe.Account.Capabilities.SwishPayments; - export type TaxReportingUs1099K = Stripe.Account.Capabilities.TaxReportingUs1099K; - export type TaxReportingUs1099Misc = Stripe.Account.Capabilities.TaxReportingUs1099Misc; - export type Transfers = Stripe.Account.Capabilities.Transfers; - export type Treasury = Stripe.Account.Capabilities.Treasury; - export type TwintPayments = Stripe.Account.Capabilities.TwintPayments; - export type UpiPayments = Stripe.Account.Capabilities.UpiPayments; - export type UsBankAccountAchPayments = Stripe.Account.Capabilities.UsBankAccountAchPayments; - export type UsBankTransferPayments = Stripe.Account.Capabilities.UsBankTransferPayments; - export type ZipPayments = Stripe.Account.Capabilities.ZipPayments; + export type AcssDebitPayments = Stripe_.Account.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe_.Account.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe_.Account.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe_.Account.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe_.Account.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe_.Account.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe_.Account.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe_.Account.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe_.Account.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe_.Account.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe_.Account.Capabilities.BilliePayments; + export type BizumPayments = Stripe_.Account.Capabilities.BizumPayments; + export type BlikPayments = Stripe_.Account.Capabilities.BlikPayments; + export type BoletoPayments = Stripe_.Account.Capabilities.BoletoPayments; + export type CardIssuing = Stripe_.Account.Capabilities.CardIssuing; + export type CardPayments = Stripe_.Account.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe_.Account.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe_.Account.Capabilities.CashappPayments; + export type CryptoPayments = Stripe_.Account.Capabilities.CryptoPayments; + export type EpsPayments = Stripe_.Account.Capabilities.EpsPayments; + export type FpxPayments = Stripe_.Account.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe_.Account.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe_.Account.Capabilities.GiropayPayments; + export type GrabpayPayments = Stripe_.Account.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe_.Account.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe_.Account.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe_.Account.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe_.Account.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe_.Account.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe_.Account.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe_.Account.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe_.Account.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe_.Account.Capabilities.LegacyPayments; + export type LinkPayments = Stripe_.Account.Capabilities.LinkPayments; + export type MbWayPayments = Stripe_.Account.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe_.Account.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe_.Account.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe_.Account.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe_.Account.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe_.Account.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe_.Account.Capabilities.OxxoPayments; + export type P24Payments = Stripe_.Account.Capabilities.P24Payments; + export type PayByBankPayments = Stripe_.Account.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe_.Account.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe_.Account.Capabilities.PaynowPayments; + export type PaytoPayments = Stripe_.Account.Capabilities.PaytoPayments; + export type PixPayments = Stripe_.Account.Capabilities.PixPayments; + export type PromptpayPayments = Stripe_.Account.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe_.Account.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe_.Account.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe_.Account.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe_.Account.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe_.Account.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe_.Account.Capabilities.SepaDebitPayments; + export type SofortPayments = Stripe_.Account.Capabilities.SofortPayments; + export type SunbitPayments = Stripe_.Account.Capabilities.SunbitPayments; + export type SwishPayments = Stripe_.Account.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe_.Account.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe_.Account.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe_.Account.Capabilities.Transfers; + export type Treasury = Stripe_.Account.Capabilities.Treasury; + export type TwintPayments = Stripe_.Account.Capabilities.TwintPayments; + export type UpiPayments = Stripe_.Account.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe_.Account.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe_.Account.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe_.Account.Capabilities.ZipPayments; } export namespace Company { - export type AddressKana = Stripe.Account.Company.AddressKana; - export type AddressKanji = Stripe.Account.Company.AddressKanji; - export type DirectorshipDeclaration = Stripe.Account.Company.DirectorshipDeclaration; - export type OwnershipDeclaration = Stripe.Account.Company.OwnershipDeclaration; - export type OwnershipExemptionReason = Stripe.Account.Company.OwnershipExemptionReason; - export type RegistrationDate = Stripe.Account.Company.RegistrationDate; - export type RepresentativeDeclaration = Stripe.Account.Company.RepresentativeDeclaration; - export type Structure = Stripe.Account.Company.Structure; - export type Verification = Stripe.Account.Company.Verification; + export type AddressKana = Stripe_.Account.Company.AddressKana; + export type AddressKanji = Stripe_.Account.Company.AddressKanji; + export type DirectorshipDeclaration = Stripe_.Account.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.Account.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe_.Account.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe_.Account.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe_.Account.Company.RepresentativeDeclaration; + export type Structure = Stripe_.Account.Company.Structure; + export type Verification = Stripe_.Account.Company.Verification; export namespace Verification { - export type Document = Stripe.Account.Company.Verification.Document; + export type Document = Stripe_.Account.Company.Verification.Document; } } export namespace Controller { - export type Fees = Stripe.Account.Controller.Fees; - export type Losses = Stripe.Account.Controller.Losses; - export type RequirementCollection = Stripe.Account.Controller.RequirementCollection; - export type StripeDashboard = Stripe.Account.Controller.StripeDashboard; - export type Type = Stripe.Account.Controller.Type; + export type Fees = Stripe_.Account.Controller.Fees; + export type Losses = Stripe_.Account.Controller.Losses; + export type RequirementCollection = Stripe_.Account.Controller.RequirementCollection; + export type StripeDashboard = Stripe_.Account.Controller.StripeDashboard; + export type Type = Stripe_.Account.Controller.Type; export namespace Fees { - export type Payer = Stripe.Account.Controller.Fees.Payer; + export type Payer = Stripe_.Account.Controller.Fees.Payer; } export namespace Losses { - export type Payments = Stripe.Account.Controller.Losses.Payments; + export type Payments = Stripe_.Account.Controller.Losses.Payments; } export namespace StripeDashboard { - export type Type = Stripe.Account.Controller.StripeDashboard.Type; + export type Type = Stripe_.Account.Controller.StripeDashboard.Type; } } export namespace FutureRequirements { - export type Alternative = Stripe.Account.FutureRequirements.Alternative; - export type DisabledReason = Stripe.Account.FutureRequirements.DisabledReason; - export type Error = Stripe.Account.FutureRequirements.Error; + export type Alternative = Stripe_.Account.FutureRequirements.Alternative; + export type DisabledReason = Stripe_.Account.FutureRequirements.DisabledReason; + export type Error = Stripe_.Account.FutureRequirements.Error; export namespace Error { - export type Code = Stripe.Account.FutureRequirements.Error.Code; + export type Code = Stripe_.Account.FutureRequirements.Error.Code; } } export namespace Requirements { - export type Alternative = Stripe.Account.Requirements.Alternative; - export type DisabledReason = Stripe.Account.Requirements.DisabledReason; - export type Error = Stripe.Account.Requirements.Error; + export type Alternative = Stripe_.Account.Requirements.Alternative; + export type DisabledReason = Stripe_.Account.Requirements.DisabledReason; + export type Error = Stripe_.Account.Requirements.Error; export namespace Error { - export type Code = Stripe.Account.Requirements.Error.Code; + export type Code = Stripe_.Account.Requirements.Error.Code; } } export namespace Settings { - export type BacsDebitPayments = Stripe.Account.Settings.BacsDebitPayments; - export type Branding = Stripe.Account.Settings.Branding; - export type CardIssuing = Stripe.Account.Settings.CardIssuing; - export type CardPayments = Stripe.Account.Settings.CardPayments; - export type Dashboard = Stripe.Account.Settings.Dashboard; - export type Invoices = Stripe.Account.Settings.Invoices; - export type Payments = Stripe.Account.Settings.Payments; - export type Payouts = Stripe.Account.Settings.Payouts; - export type SepaDebitPayments = Stripe.Account.Settings.SepaDebitPayments; - export type Treasury = Stripe.Account.Settings.Treasury; + export type BacsDebitPayments = Stripe_.Account.Settings.BacsDebitPayments; + export type Branding = Stripe_.Account.Settings.Branding; + export type CardIssuing = Stripe_.Account.Settings.CardIssuing; + export type CardPayments = Stripe_.Account.Settings.CardPayments; + export type Dashboard = Stripe_.Account.Settings.Dashboard; + export type Invoices = Stripe_.Account.Settings.Invoices; + export type Payments = Stripe_.Account.Settings.Payments; + export type Payouts = Stripe_.Account.Settings.Payouts; + export type SepaDebitPayments = Stripe_.Account.Settings.SepaDebitPayments; + export type Treasury = Stripe_.Account.Settings.Treasury; export namespace CardIssuing { - export type TosAcceptance = Stripe.Account.Settings.CardIssuing.TosAcceptance; + export type TosAcceptance = Stripe_.Account.Settings.CardIssuing.TosAcceptance; } export namespace CardPayments { - export type DeclineOn = Stripe.Account.Settings.CardPayments.DeclineOn; + export type DeclineOn = Stripe_.Account.Settings.CardPayments.DeclineOn; } export namespace Invoices { - export type HostedPaymentMethodSave = Stripe.Account.Settings.Invoices.HostedPaymentMethodSave; + export type HostedPaymentMethodSave = Stripe_.Account.Settings.Invoices.HostedPaymentMethodSave; } export namespace Payouts { - export type Schedule = Stripe.Account.Settings.Payouts.Schedule; + export type Schedule = Stripe_.Account.Settings.Payouts.Schedule; export namespace Schedule { - export type WeeklyPayoutDay = Stripe.Account.Settings.Payouts.Schedule.WeeklyPayoutDay; + export type WeeklyPayoutDay = Stripe_.Account.Settings.Payouts.Schedule.WeeklyPayoutDay; } } export namespace Treasury { - export type TosAcceptance = Stripe.Account.Settings.Treasury.TosAcceptance; + export type TosAcceptance = Stripe_.Account.Settings.Treasury.TosAcceptance; } } } export namespace AccountLinkCreateParams { - export type Type = Stripe.AccountLinkCreateParams.Type; - export type Collect = Stripe.AccountLinkCreateParams.Collect; - export type CollectionOptions = Stripe.AccountLinkCreateParams.CollectionOptions; + export type Type = Stripe_.AccountLinkCreateParams.Type; + export type Collect = Stripe_.AccountLinkCreateParams.Collect; + export type CollectionOptions = Stripe_.AccountLinkCreateParams.CollectionOptions; export namespace CollectionOptions { - export type Fields = Stripe.AccountLinkCreateParams.CollectionOptions.Fields; - export type FutureRequirements = Stripe.AccountLinkCreateParams.CollectionOptions.FutureRequirements; + export type Fields = Stripe_.AccountLinkCreateParams.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.AccountLinkCreateParams.CollectionOptions.FutureRequirements; } } export namespace AccountSessionCreateParams { - export type Components = Stripe.AccountSessionCreateParams.Components; + export type Components = Stripe_.AccountSessionCreateParams.Components; export namespace Components { - export type AccountManagement = Stripe.AccountSessionCreateParams.Components.AccountManagement; - export type AccountOnboarding = Stripe.AccountSessionCreateParams.Components.AccountOnboarding; - export type BalanceReport = Stripe.AccountSessionCreateParams.Components.BalanceReport; - export type Balances = Stripe.AccountSessionCreateParams.Components.Balances; - export type DisputesList = Stripe.AccountSessionCreateParams.Components.DisputesList; - export type Documents = Stripe.AccountSessionCreateParams.Components.Documents; - export type FinancialAccount = Stripe.AccountSessionCreateParams.Components.FinancialAccount; - export type FinancialAccountTransactions = Stripe.AccountSessionCreateParams.Components.FinancialAccountTransactions; - export type InstantPayoutsPromotion = Stripe.AccountSessionCreateParams.Components.InstantPayoutsPromotion; - export type IssuingCard = Stripe.AccountSessionCreateParams.Components.IssuingCard; - export type IssuingCardsList = Stripe.AccountSessionCreateParams.Components.IssuingCardsList; - export type NotificationBanner = Stripe.AccountSessionCreateParams.Components.NotificationBanner; - export type PaymentDetails = Stripe.AccountSessionCreateParams.Components.PaymentDetails; - export type PaymentDisputes = Stripe.AccountSessionCreateParams.Components.PaymentDisputes; - export type Payments = Stripe.AccountSessionCreateParams.Components.Payments; - export type PayoutDetails = Stripe.AccountSessionCreateParams.Components.PayoutDetails; - export type PayoutReconciliationReport = Stripe.AccountSessionCreateParams.Components.PayoutReconciliationReport; - export type Payouts = Stripe.AccountSessionCreateParams.Components.Payouts; - export type PayoutsList = Stripe.AccountSessionCreateParams.Components.PayoutsList; - export type TaxRegistrations = Stripe.AccountSessionCreateParams.Components.TaxRegistrations; - export type TaxSettings = Stripe.AccountSessionCreateParams.Components.TaxSettings; + export type AccountManagement = Stripe_.AccountSessionCreateParams.Components.AccountManagement; + export type AccountOnboarding = Stripe_.AccountSessionCreateParams.Components.AccountOnboarding; + export type BalanceReport = Stripe_.AccountSessionCreateParams.Components.BalanceReport; + export type Balances = Stripe_.AccountSessionCreateParams.Components.Balances; + export type DisputesList = Stripe_.AccountSessionCreateParams.Components.DisputesList; + export type Documents = Stripe_.AccountSessionCreateParams.Components.Documents; + export type FinancialAccount = Stripe_.AccountSessionCreateParams.Components.FinancialAccount; + export type FinancialAccountTransactions = Stripe_.AccountSessionCreateParams.Components.FinancialAccountTransactions; + export type InstantPayoutsPromotion = Stripe_.AccountSessionCreateParams.Components.InstantPayoutsPromotion; + export type IssuingCard = Stripe_.AccountSessionCreateParams.Components.IssuingCard; + export type IssuingCardsList = Stripe_.AccountSessionCreateParams.Components.IssuingCardsList; + export type NotificationBanner = Stripe_.AccountSessionCreateParams.Components.NotificationBanner; + export type PaymentDetails = Stripe_.AccountSessionCreateParams.Components.PaymentDetails; + export type PaymentDisputes = Stripe_.AccountSessionCreateParams.Components.PaymentDisputes; + export type Payments = Stripe_.AccountSessionCreateParams.Components.Payments; + export type PayoutDetails = Stripe_.AccountSessionCreateParams.Components.PayoutDetails; + export type PayoutReconciliationReport = Stripe_.AccountSessionCreateParams.Components.PayoutReconciliationReport; + export type Payouts = Stripe_.AccountSessionCreateParams.Components.Payouts; + export type PayoutsList = Stripe_.AccountSessionCreateParams.Components.PayoutsList; + export type TaxRegistrations = Stripe_.AccountSessionCreateParams.Components.TaxRegistrations; + export type TaxSettings = Stripe_.AccountSessionCreateParams.Components.TaxSettings; export namespace AccountManagement { - export type Features = Stripe.AccountSessionCreateParams.Components.AccountManagement.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.AccountManagement.Features; } export namespace AccountOnboarding { - export type Features = Stripe.AccountSessionCreateParams.Components.AccountOnboarding.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.AccountOnboarding.Features; } export namespace BalanceReport { - export type Features = Stripe.AccountSessionCreateParams.Components.BalanceReport.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.BalanceReport.Features; } export namespace Balances { - export type Features = Stripe.AccountSessionCreateParams.Components.Balances.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.Balances.Features; } export namespace DisputesList { - export type Features = Stripe.AccountSessionCreateParams.Components.DisputesList.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.DisputesList.Features; } export namespace Documents { - export type Features = Stripe.AccountSessionCreateParams.Components.Documents.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.Documents.Features; } export namespace FinancialAccount { - export type Features = Stripe.AccountSessionCreateParams.Components.FinancialAccount.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.FinancialAccount.Features; } export namespace FinancialAccountTransactions { - export type Features = Stripe.AccountSessionCreateParams.Components.FinancialAccountTransactions.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.FinancialAccountTransactions.Features; } export namespace InstantPayoutsPromotion { - export type Features = Stripe.AccountSessionCreateParams.Components.InstantPayoutsPromotion.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.InstantPayoutsPromotion.Features; } export namespace IssuingCard { - export type Features = Stripe.AccountSessionCreateParams.Components.IssuingCard.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.IssuingCard.Features; } export namespace IssuingCardsList { - export type Features = Stripe.AccountSessionCreateParams.Components.IssuingCardsList.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.IssuingCardsList.Features; } export namespace NotificationBanner { - export type Features = Stripe.AccountSessionCreateParams.Components.NotificationBanner.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.NotificationBanner.Features; } export namespace PaymentDetails { - export type Features = Stripe.AccountSessionCreateParams.Components.PaymentDetails.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.PaymentDetails.Features; } export namespace PaymentDisputes { - export type Features = Stripe.AccountSessionCreateParams.Components.PaymentDisputes.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.PaymentDisputes.Features; } export namespace Payments { - export type Features = Stripe.AccountSessionCreateParams.Components.Payments.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.Payments.Features; } export namespace PayoutDetails { - export type Features = Stripe.AccountSessionCreateParams.Components.PayoutDetails.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.PayoutDetails.Features; } export namespace PayoutReconciliationReport { - export type Features = Stripe.AccountSessionCreateParams.Components.PayoutReconciliationReport.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.PayoutReconciliationReport.Features; } export namespace Payouts { - export type Features = Stripe.AccountSessionCreateParams.Components.Payouts.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.Payouts.Features; } export namespace PayoutsList { - export type Features = Stripe.AccountSessionCreateParams.Components.PayoutsList.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.PayoutsList.Features; } export namespace TaxRegistrations { - export type Features = Stripe.AccountSessionCreateParams.Components.TaxRegistrations.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.TaxRegistrations.Features; } export namespace TaxSettings { - export type Features = Stripe.AccountSessionCreateParams.Components.TaxSettings.Features; + export type Features = Stripe_.AccountSessionCreateParams.Components.TaxSettings.Features; } } } export namespace AccountSession { - export type Components = Stripe.AccountSession.Components; + export type Components = Stripe_.AccountSession.Components; export namespace Components { - export type AccountManagement = Stripe.AccountSession.Components.AccountManagement; - export type AccountOnboarding = Stripe.AccountSession.Components.AccountOnboarding; - export type BalanceReport = Stripe.AccountSession.Components.BalanceReport; - export type Balances = Stripe.AccountSession.Components.Balances; - export type DisputesList = Stripe.AccountSession.Components.DisputesList; - export type Documents = Stripe.AccountSession.Components.Documents; - export type FinancialAccount = Stripe.AccountSession.Components.FinancialAccount; - export type FinancialAccountTransactions = Stripe.AccountSession.Components.FinancialAccountTransactions; - export type InstantPayoutsPromotion = Stripe.AccountSession.Components.InstantPayoutsPromotion; - export type IssuingCard = Stripe.AccountSession.Components.IssuingCard; - export type IssuingCardsList = Stripe.AccountSession.Components.IssuingCardsList; - export type NotificationBanner = Stripe.AccountSession.Components.NotificationBanner; - export type PaymentDetails = Stripe.AccountSession.Components.PaymentDetails; - export type PaymentDisputes = Stripe.AccountSession.Components.PaymentDisputes; - export type Payments = Stripe.AccountSession.Components.Payments; - export type PayoutDetails = Stripe.AccountSession.Components.PayoutDetails; - export type PayoutReconciliationReport = Stripe.AccountSession.Components.PayoutReconciliationReport; - export type Payouts = Stripe.AccountSession.Components.Payouts; - export type PayoutsList = Stripe.AccountSession.Components.PayoutsList; - export type TaxRegistrations = Stripe.AccountSession.Components.TaxRegistrations; - export type TaxSettings = Stripe.AccountSession.Components.TaxSettings; + export type AccountManagement = Stripe_.AccountSession.Components.AccountManagement; + export type AccountOnboarding = Stripe_.AccountSession.Components.AccountOnboarding; + export type BalanceReport = Stripe_.AccountSession.Components.BalanceReport; + export type Balances = Stripe_.AccountSession.Components.Balances; + export type DisputesList = Stripe_.AccountSession.Components.DisputesList; + export type Documents = Stripe_.AccountSession.Components.Documents; + export type FinancialAccount = Stripe_.AccountSession.Components.FinancialAccount; + export type FinancialAccountTransactions = Stripe_.AccountSession.Components.FinancialAccountTransactions; + export type InstantPayoutsPromotion = Stripe_.AccountSession.Components.InstantPayoutsPromotion; + export type IssuingCard = Stripe_.AccountSession.Components.IssuingCard; + export type IssuingCardsList = Stripe_.AccountSession.Components.IssuingCardsList; + export type NotificationBanner = Stripe_.AccountSession.Components.NotificationBanner; + export type PaymentDetails = Stripe_.AccountSession.Components.PaymentDetails; + export type PaymentDisputes = Stripe_.AccountSession.Components.PaymentDisputes; + export type Payments = Stripe_.AccountSession.Components.Payments; + export type PayoutDetails = Stripe_.AccountSession.Components.PayoutDetails; + export type PayoutReconciliationReport = Stripe_.AccountSession.Components.PayoutReconciliationReport; + export type Payouts = Stripe_.AccountSession.Components.Payouts; + export type PayoutsList = Stripe_.AccountSession.Components.PayoutsList; + export type TaxRegistrations = Stripe_.AccountSession.Components.TaxRegistrations; + export type TaxSettings = Stripe_.AccountSession.Components.TaxSettings; export namespace AccountManagement { - export type Features = Stripe.AccountSession.Components.AccountManagement.Features; + export type Features = Stripe_.AccountSession.Components.AccountManagement.Features; } export namespace AccountOnboarding { - export type Features = Stripe.AccountSession.Components.AccountOnboarding.Features; + export type Features = Stripe_.AccountSession.Components.AccountOnboarding.Features; } export namespace BalanceReport { - export type Features = Stripe.AccountSession.Components.BalanceReport.Features; + export type Features = Stripe_.AccountSession.Components.BalanceReport.Features; } export namespace Balances { - export type Features = Stripe.AccountSession.Components.Balances.Features; + export type Features = Stripe_.AccountSession.Components.Balances.Features; } export namespace DisputesList { - export type Features = Stripe.AccountSession.Components.DisputesList.Features; + export type Features = Stripe_.AccountSession.Components.DisputesList.Features; } export namespace Documents { - export type Features = Stripe.AccountSession.Components.Documents.Features; + export type Features = Stripe_.AccountSession.Components.Documents.Features; } export namespace FinancialAccount { - export type Features = Stripe.AccountSession.Components.FinancialAccount.Features; + export type Features = Stripe_.AccountSession.Components.FinancialAccount.Features; } export namespace FinancialAccountTransactions { - export type Features = Stripe.AccountSession.Components.FinancialAccountTransactions.Features; + export type Features = Stripe_.AccountSession.Components.FinancialAccountTransactions.Features; } export namespace InstantPayoutsPromotion { - export type Features = Stripe.AccountSession.Components.InstantPayoutsPromotion.Features; + export type Features = Stripe_.AccountSession.Components.InstantPayoutsPromotion.Features; } export namespace IssuingCard { - export type Features = Stripe.AccountSession.Components.IssuingCard.Features; + export type Features = Stripe_.AccountSession.Components.IssuingCard.Features; } export namespace IssuingCardsList { - export type Features = Stripe.AccountSession.Components.IssuingCardsList.Features; + export type Features = Stripe_.AccountSession.Components.IssuingCardsList.Features; } export namespace NotificationBanner { - export type Features = Stripe.AccountSession.Components.NotificationBanner.Features; + export type Features = Stripe_.AccountSession.Components.NotificationBanner.Features; } export namespace PaymentDetails { - export type Features = Stripe.AccountSession.Components.PaymentDetails.Features; + export type Features = Stripe_.AccountSession.Components.PaymentDetails.Features; } export namespace PaymentDisputes { - export type Features = Stripe.AccountSession.Components.PaymentDisputes.Features; + export type Features = Stripe_.AccountSession.Components.PaymentDisputes.Features; } export namespace Payments { - export type Features = Stripe.AccountSession.Components.Payments.Features; + export type Features = Stripe_.AccountSession.Components.Payments.Features; } export namespace PayoutDetails { - export type Features = Stripe.AccountSession.Components.PayoutDetails.Features; + export type Features = Stripe_.AccountSession.Components.PayoutDetails.Features; } export namespace PayoutReconciliationReport { - export type Features = Stripe.AccountSession.Components.PayoutReconciliationReport.Features; + export type Features = Stripe_.AccountSession.Components.PayoutReconciliationReport.Features; } export namespace Payouts { - export type Features = Stripe.AccountSession.Components.Payouts.Features; + export type Features = Stripe_.AccountSession.Components.Payouts.Features; } export namespace PayoutsList { - export type Features = Stripe.AccountSession.Components.PayoutsList.Features; + export type Features = Stripe_.AccountSession.Components.PayoutsList.Features; } export namespace TaxRegistrations { - export type Features = Stripe.AccountSession.Components.TaxRegistrations.Features; + export type Features = Stripe_.AccountSession.Components.TaxRegistrations.Features; } export namespace TaxSettings { - export type Features = Stripe.AccountSession.Components.TaxSettings.Features; + export type Features = Stripe_.AccountSession.Components.TaxSettings.Features; } } } export namespace ApplicationFee { - export type FeeSource = Stripe.ApplicationFee.FeeSource; + export type FeeSource = Stripe_.ApplicationFee.FeeSource; export namespace FeeSource { - export type Type = Stripe.ApplicationFee.FeeSource.Type; + export type Type = Stripe_.ApplicationFee.FeeSource.Type; } } export namespace Balance { - export type Available = Stripe.Balance.Available; - export type ConnectReserved = Stripe.Balance.ConnectReserved; - export type InstantAvailable = Stripe.Balance.InstantAvailable; - export type Issuing = Stripe.Balance.Issuing; - export type Pending = Stripe.Balance.Pending; - export type RefundAndDisputePrefunding = Stripe.Balance.RefundAndDisputePrefunding; + export type Available = Stripe_.Balance.Available; + export type ConnectReserved = Stripe_.Balance.ConnectReserved; + export type InstantAvailable = Stripe_.Balance.InstantAvailable; + export type Issuing = Stripe_.Balance.Issuing; + export type Pending = Stripe_.Balance.Pending; + export type RefundAndDisputePrefunding = Stripe_.Balance.RefundAndDisputePrefunding; export namespace Available { - export type SourceTypes = Stripe.Balance.Available.SourceTypes; + export type SourceTypes = Stripe_.Balance.Available.SourceTypes; } export namespace ConnectReserved { - export type SourceTypes = Stripe.Balance.ConnectReserved.SourceTypes; + export type SourceTypes = Stripe_.Balance.ConnectReserved.SourceTypes; } export namespace InstantAvailable { - export type NetAvailable = Stripe.Balance.InstantAvailable.NetAvailable; - export type SourceTypes = Stripe.Balance.InstantAvailable.SourceTypes; + export type NetAvailable = Stripe_.Balance.InstantAvailable.NetAvailable; + export type SourceTypes = Stripe_.Balance.InstantAvailable.SourceTypes; export namespace NetAvailable { - export type SourceTypes = Stripe.Balance.InstantAvailable.NetAvailable.SourceTypes; + export type SourceTypes = Stripe_.Balance.InstantAvailable.NetAvailable.SourceTypes; } } export namespace Issuing { - export type Available = Stripe.Balance.Issuing.Available; + export type Available = Stripe_.Balance.Issuing.Available; export namespace Available { - export type SourceTypes = Stripe.Balance.Issuing.Available.SourceTypes; + export type SourceTypes = Stripe_.Balance.Issuing.Available.SourceTypes; } } export namespace Pending { - export type SourceTypes = Stripe.Balance.Pending.SourceTypes; + export type SourceTypes = Stripe_.Balance.Pending.SourceTypes; } export namespace RefundAndDisputePrefunding { - export type Available = Stripe.Balance.RefundAndDisputePrefunding.Available; - export type Pending = Stripe.Balance.RefundAndDisputePrefunding.Pending; + export type Available = Stripe_.Balance.RefundAndDisputePrefunding.Available; + export type Pending = Stripe_.Balance.RefundAndDisputePrefunding.Pending; export namespace Available { - export type SourceTypes = Stripe.Balance.RefundAndDisputePrefunding.Available.SourceTypes; + export type SourceTypes = Stripe_.Balance.RefundAndDisputePrefunding.Available.SourceTypes; } export namespace Pending { - export type SourceTypes = Stripe.Balance.RefundAndDisputePrefunding.Pending.SourceTypes; + export type SourceTypes = Stripe_.Balance.RefundAndDisputePrefunding.Pending.SourceTypes; } } } export namespace BalanceSettingsUpdateParams { - export type Payments = Stripe.BalanceSettingsUpdateParams.Payments; + export type Payments = Stripe_.BalanceSettingsUpdateParams.Payments; export namespace Payments { - export type Payouts = Stripe.BalanceSettingsUpdateParams.Payments.Payouts; - export type SettlementTiming = Stripe.BalanceSettingsUpdateParams.Payments.SettlementTiming; + export type Payouts = Stripe_.BalanceSettingsUpdateParams.Payments.Payouts; + export type SettlementTiming = Stripe_.BalanceSettingsUpdateParams.Payments.SettlementTiming; export namespace Payouts { - export type AutomaticTransferRulesByCurrency = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.AutomaticTransferRulesByCurrency; - export type Schedule = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.Schedule; + export type AutomaticTransferRulesByCurrency = Stripe_.BalanceSettingsUpdateParams.Payments.Payouts.AutomaticTransferRulesByCurrency; + export type Schedule = Stripe_.BalanceSettingsUpdateParams.Payments.Payouts.Schedule; export namespace AutomaticTransferRulesByCurrency { - export type Type = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.AutomaticTransferRulesByCurrency.Type; + export type Type = Stripe_.BalanceSettingsUpdateParams.Payments.Payouts.AutomaticTransferRulesByCurrency.Type; } export namespace Schedule { - export type Interval = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.Schedule.Interval; - export type WeeklyPayoutDay = Stripe.BalanceSettingsUpdateParams.Payments.Payouts.Schedule.WeeklyPayoutDay; + export type Interval = Stripe_.BalanceSettingsUpdateParams.Payments.Payouts.Schedule.Interval; + export type WeeklyPayoutDay = Stripe_.BalanceSettingsUpdateParams.Payments.Payouts.Schedule.WeeklyPayoutDay; } } export namespace SettlementTiming { - export type StartOfDay = Stripe.BalanceSettingsUpdateParams.Payments.SettlementTiming.StartOfDay; + export type StartOfDay = Stripe_.BalanceSettingsUpdateParams.Payments.SettlementTiming.StartOfDay; } } } export namespace BalanceSettings { - export type Payments = Stripe.BalanceSettings.Payments; + export type Payments = Stripe_.BalanceSettings.Payments; export namespace Payments { - export type Payouts = Stripe.BalanceSettings.Payments.Payouts; - export type SettlementTiming = Stripe.BalanceSettings.Payments.SettlementTiming; + export type Payouts = Stripe_.BalanceSettings.Payments.Payouts; + export type SettlementTiming = Stripe_.BalanceSettings.Payments.SettlementTiming; export namespace Payouts { - export type AutomaticTransferRulesByCurrency = Stripe.BalanceSettings.Payments.Payouts.AutomaticTransferRulesByCurrency; - export type Schedule = Stripe.BalanceSettings.Payments.Payouts.Schedule; - export type Status = Stripe.BalanceSettings.Payments.Payouts.Status; + export type AutomaticTransferRulesByCurrency = Stripe_.BalanceSettings.Payments.Payouts.AutomaticTransferRulesByCurrency; + export type Schedule = Stripe_.BalanceSettings.Payments.Payouts.Schedule; + export type Status = Stripe_.BalanceSettings.Payments.Payouts.Status; export namespace AutomaticTransferRulesByCurrency { - export type Type = Stripe.BalanceSettings.Payments.Payouts.AutomaticTransferRulesByCurrency.Type; + export type Type = Stripe_.BalanceSettings.Payments.Payouts.AutomaticTransferRulesByCurrency.Type; } export namespace Schedule { - export type Interval = Stripe.BalanceSettings.Payments.Payouts.Schedule.Interval; - export type WeeklyPayoutDay = Stripe.BalanceSettings.Payments.Payouts.Schedule.WeeklyPayoutDay; + export type Interval = Stripe_.BalanceSettings.Payments.Payouts.Schedule.Interval; + export type WeeklyPayoutDay = Stripe_.BalanceSettings.Payments.Payouts.Schedule.WeeklyPayoutDay; } } export namespace SettlementTiming { - export type StartOfDay = Stripe.BalanceSettings.Payments.SettlementTiming.StartOfDay; + export type StartOfDay = Stripe_.BalanceSettings.Payments.SettlementTiming.StartOfDay; } } } export namespace BalanceTransaction { - export type BalanceType = Stripe.BalanceTransaction.BalanceType; - export type FeeDetail = Stripe.BalanceTransaction.FeeDetail; - export type Type = Stripe.BalanceTransaction.Type; + export type BalanceType = Stripe_.BalanceTransaction.BalanceType; + export type FeeDetail = Stripe_.BalanceTransaction.FeeDetail; + export type Type = Stripe_.BalanceTransaction.Type; } export namespace ChargeCreateParams { - export type Destination = Stripe.ChargeCreateParams.Destination; - export type RadarOptions = Stripe.ChargeCreateParams.RadarOptions; - export type Shipping = Stripe.ChargeCreateParams.Shipping; - export type TransferData = Stripe.ChargeCreateParams.TransferData; + export type Destination = Stripe_.ChargeCreateParams.Destination; + export type RadarOptions = Stripe_.ChargeCreateParams.RadarOptions; + export type Shipping = Stripe_.ChargeCreateParams.Shipping; + export type TransferData = Stripe_.ChargeCreateParams.TransferData; } export namespace ChargeUpdateParams { - export type FraudDetails = Stripe.ChargeUpdateParams.FraudDetails; - export type Shipping = Stripe.ChargeUpdateParams.Shipping; + export type FraudDetails = Stripe_.ChargeUpdateParams.FraudDetails; + export type Shipping = Stripe_.ChargeUpdateParams.Shipping; export namespace FraudDetails { - export type UserReport = Stripe.ChargeUpdateParams.FraudDetails.UserReport; + export type UserReport = Stripe_.ChargeUpdateParams.FraudDetails.UserReport; } } export namespace ChargeCaptureParams { - export type TransferData = Stripe.ChargeCaptureParams.TransferData; + export type TransferData = Stripe_.ChargeCaptureParams.TransferData; } export namespace Charge { - export type BillingDetails = Stripe.Charge.BillingDetails; - export type FraudDetails = Stripe.Charge.FraudDetails; - export type Level3 = Stripe.Charge.Level3; - export type Outcome = Stripe.Charge.Outcome; - export type PaymentMethodDetails = Stripe.Charge.PaymentMethodDetails; - export type PresentmentDetails = Stripe.Charge.PresentmentDetails; - export type RadarOptions = Stripe.Charge.RadarOptions; - export type Shipping = Stripe.Charge.Shipping; - export type Status = Stripe.Charge.Status; - export type TransferData = Stripe.Charge.TransferData; + export type BillingDetails = Stripe_.Charge.BillingDetails; + export type FraudDetails = Stripe_.Charge.FraudDetails; + export type Level3 = Stripe_.Charge.Level3; + export type Outcome = Stripe_.Charge.Outcome; + export type PaymentMethodDetails = Stripe_.Charge.PaymentMethodDetails; + export type PresentmentDetails = Stripe_.Charge.PresentmentDetails; + export type RadarOptions = Stripe_.Charge.RadarOptions; + export type Shipping = Stripe_.Charge.Shipping; + export type Status = Stripe_.Charge.Status; + export type TransferData = Stripe_.Charge.TransferData; export namespace Level3 { - export type LineItem = Stripe.Charge.Level3.LineItem; + export type LineItem = Stripe_.Charge.Level3.LineItem; } export namespace Outcome { - export type AdviceCode = Stripe.Charge.Outcome.AdviceCode; - export type Rule = Stripe.Charge.Outcome.Rule; + export type AdviceCode = Stripe_.Charge.Outcome.AdviceCode; + export type Rule = Stripe_.Charge.Outcome.Rule; } export namespace PaymentMethodDetails { - export type AchCreditTransfer = Stripe.Charge.PaymentMethodDetails.AchCreditTransfer; - export type AchDebit = Stripe.Charge.PaymentMethodDetails.AchDebit; - export type AcssDebit = Stripe.Charge.PaymentMethodDetails.AcssDebit; - export type Affirm = Stripe.Charge.PaymentMethodDetails.Affirm; - export type AfterpayClearpay = Stripe.Charge.PaymentMethodDetails.AfterpayClearpay; - export type Alipay = Stripe.Charge.PaymentMethodDetails.Alipay; - export type Alma = Stripe.Charge.PaymentMethodDetails.Alma; - export type AmazonPay = Stripe.Charge.PaymentMethodDetails.AmazonPay; - export type AuBecsDebit = Stripe.Charge.PaymentMethodDetails.AuBecsDebit; - export type BacsDebit = Stripe.Charge.PaymentMethodDetails.BacsDebit; - export type Bancontact = Stripe.Charge.PaymentMethodDetails.Bancontact; - export type Billie = Stripe.Charge.PaymentMethodDetails.Billie; - export type Bizum = Stripe.Charge.PaymentMethodDetails.Bizum; - export type Blik = Stripe.Charge.PaymentMethodDetails.Blik; - export type Boleto = Stripe.Charge.PaymentMethodDetails.Boleto; - export type Card = Stripe.Charge.PaymentMethodDetails.Card; - export type CardPresent = Stripe.Charge.PaymentMethodDetails.CardPresent; - export type Cashapp = Stripe.Charge.PaymentMethodDetails.Cashapp; - export type Crypto = Stripe.Charge.PaymentMethodDetails.Crypto; - export type CustomerBalance = Stripe.Charge.PaymentMethodDetails.CustomerBalance; - export type Eps = Stripe.Charge.PaymentMethodDetails.Eps; - export type Fpx = Stripe.Charge.PaymentMethodDetails.Fpx; - export type Giropay = Stripe.Charge.PaymentMethodDetails.Giropay; - export type Grabpay = Stripe.Charge.PaymentMethodDetails.Grabpay; - export type Ideal = Stripe.Charge.PaymentMethodDetails.Ideal; - export type InteracPresent = Stripe.Charge.PaymentMethodDetails.InteracPresent; - export type KakaoPay = Stripe.Charge.PaymentMethodDetails.KakaoPay; - export type Klarna = Stripe.Charge.PaymentMethodDetails.Klarna; - export type Konbini = Stripe.Charge.PaymentMethodDetails.Konbini; - export type KrCard = Stripe.Charge.PaymentMethodDetails.KrCard; - export type Link = Stripe.Charge.PaymentMethodDetails.Link; - export type MbWay = Stripe.Charge.PaymentMethodDetails.MbWay; - export type Mobilepay = Stripe.Charge.PaymentMethodDetails.Mobilepay; - export type Multibanco = Stripe.Charge.PaymentMethodDetails.Multibanco; - export type NaverPay = Stripe.Charge.PaymentMethodDetails.NaverPay; - export type NzBankAccount = Stripe.Charge.PaymentMethodDetails.NzBankAccount; - export type Oxxo = Stripe.Charge.PaymentMethodDetails.Oxxo; - export type P24 = Stripe.Charge.PaymentMethodDetails.P24; - export type PayByBank = Stripe.Charge.PaymentMethodDetails.PayByBank; - export type Payco = Stripe.Charge.PaymentMethodDetails.Payco; - export type Paynow = Stripe.Charge.PaymentMethodDetails.Paynow; - export type Paypal = Stripe.Charge.PaymentMethodDetails.Paypal; - export type Payto = Stripe.Charge.PaymentMethodDetails.Payto; - export type Pix = Stripe.Charge.PaymentMethodDetails.Pix; - export type Promptpay = Stripe.Charge.PaymentMethodDetails.Promptpay; - export type RevolutPay = Stripe.Charge.PaymentMethodDetails.RevolutPay; - export type SamsungPay = Stripe.Charge.PaymentMethodDetails.SamsungPay; - export type Satispay = Stripe.Charge.PaymentMethodDetails.Satispay; - export type Scalapay = Stripe.Charge.PaymentMethodDetails.Scalapay; - export type SepaCreditTransfer = Stripe.Charge.PaymentMethodDetails.SepaCreditTransfer; - export type SepaDebit = Stripe.Charge.PaymentMethodDetails.SepaDebit; - export type Sofort = Stripe.Charge.PaymentMethodDetails.Sofort; - export type StripeAccount = Stripe.Charge.PaymentMethodDetails.StripeAccount; - export type Sunbit = Stripe.Charge.PaymentMethodDetails.Sunbit; - export type Swish = Stripe.Charge.PaymentMethodDetails.Swish; - export type Twint = Stripe.Charge.PaymentMethodDetails.Twint; - export type Upi = Stripe.Charge.PaymentMethodDetails.Upi; - export type UsBankAccount = Stripe.Charge.PaymentMethodDetails.UsBankAccount; - export type Wechat = Stripe.Charge.PaymentMethodDetails.Wechat; - export type WechatPay = Stripe.Charge.PaymentMethodDetails.WechatPay; - export type Zip = Stripe.Charge.PaymentMethodDetails.Zip; + export type AchCreditTransfer = Stripe_.Charge.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe_.Charge.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe_.Charge.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe_.Charge.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe_.Charge.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe_.Charge.PaymentMethodDetails.Alipay; + export type Alma = Stripe_.Charge.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe_.Charge.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.Charge.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.Charge.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe_.Charge.PaymentMethodDetails.Bancontact; + export type Billie = Stripe_.Charge.PaymentMethodDetails.Billie; + export type Bizum = Stripe_.Charge.PaymentMethodDetails.Bizum; + export type Blik = Stripe_.Charge.PaymentMethodDetails.Blik; + export type Boleto = Stripe_.Charge.PaymentMethodDetails.Boleto; + export type Card = Stripe_.Charge.PaymentMethodDetails.Card; + export type CardPresent = Stripe_.Charge.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe_.Charge.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe_.Charge.PaymentMethodDetails.Crypto; + export type CustomerBalance = Stripe_.Charge.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe_.Charge.PaymentMethodDetails.Eps; + export type Fpx = Stripe_.Charge.PaymentMethodDetails.Fpx; + export type Giropay = Stripe_.Charge.PaymentMethodDetails.Giropay; + export type Grabpay = Stripe_.Charge.PaymentMethodDetails.Grabpay; + export type Ideal = Stripe_.Charge.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe_.Charge.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe_.Charge.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.Charge.PaymentMethodDetails.Klarna; + export type Konbini = Stripe_.Charge.PaymentMethodDetails.Konbini; + export type KrCard = Stripe_.Charge.PaymentMethodDetails.KrCard; + export type Link = Stripe_.Charge.PaymentMethodDetails.Link; + export type MbWay = Stripe_.Charge.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe_.Charge.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe_.Charge.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe_.Charge.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.Charge.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe_.Charge.PaymentMethodDetails.Oxxo; + export type P24 = Stripe_.Charge.PaymentMethodDetails.P24; + export type PayByBank = Stripe_.Charge.PaymentMethodDetails.PayByBank; + export type Payco = Stripe_.Charge.PaymentMethodDetails.Payco; + export type Paynow = Stripe_.Charge.PaymentMethodDetails.Paynow; + export type Paypal = Stripe_.Charge.PaymentMethodDetails.Paypal; + export type Payto = Stripe_.Charge.PaymentMethodDetails.Payto; + export type Pix = Stripe_.Charge.PaymentMethodDetails.Pix; + export type Promptpay = Stripe_.Charge.PaymentMethodDetails.Promptpay; + export type RevolutPay = Stripe_.Charge.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe_.Charge.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe_.Charge.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe_.Charge.PaymentMethodDetails.Scalapay; + export type SepaCreditTransfer = Stripe_.Charge.PaymentMethodDetails.SepaCreditTransfer; + export type SepaDebit = Stripe_.Charge.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe_.Charge.PaymentMethodDetails.Sofort; + export type StripeAccount = Stripe_.Charge.PaymentMethodDetails.StripeAccount; + export type Sunbit = Stripe_.Charge.PaymentMethodDetails.Sunbit; + export type Swish = Stripe_.Charge.PaymentMethodDetails.Swish; + export type Twint = Stripe_.Charge.PaymentMethodDetails.Twint; + export type Upi = Stripe_.Charge.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.Charge.PaymentMethodDetails.UsBankAccount; + export type Wechat = Stripe_.Charge.PaymentMethodDetails.Wechat; + export type WechatPay = Stripe_.Charge.PaymentMethodDetails.WechatPay; + export type Zip = Stripe_.Charge.PaymentMethodDetails.Zip; export namespace AchDebit { - export type AccountHolderType = Stripe.Charge.PaymentMethodDetails.AchDebit.AccountHolderType; + export type AccountHolderType = Stripe_.Charge.PaymentMethodDetails.AchDebit.AccountHolderType; } export namespace Alma { - export type Installments = Stripe.Charge.PaymentMethodDetails.Alma.Installments; + export type Installments = Stripe_.Charge.PaymentMethodDetails.Alma.Installments; } export namespace AmazonPay { - export type Funding = Stripe.Charge.PaymentMethodDetails.AmazonPay.Funding; + export type Funding = Stripe_.Charge.PaymentMethodDetails.AmazonPay.Funding; export namespace Funding { - export type Card = Stripe.Charge.PaymentMethodDetails.AmazonPay.Funding.Card; + export type Card = Stripe_.Charge.PaymentMethodDetails.AmazonPay.Funding.Card; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.Charge.PaymentMethodDetails.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.Charge.PaymentMethodDetails.Bancontact.PreferredLanguage; } export namespace Card { - export type Checks = Stripe.Charge.PaymentMethodDetails.Card.Checks; - export type ExtendedAuthorization = Stripe.Charge.PaymentMethodDetails.Card.ExtendedAuthorization; - export type IncrementalAuthorization = Stripe.Charge.PaymentMethodDetails.Card.IncrementalAuthorization; - export type Installments = Stripe.Charge.PaymentMethodDetails.Card.Installments; - export type Multicapture = Stripe.Charge.PaymentMethodDetails.Card.Multicapture; - export type NetworkToken = Stripe.Charge.PaymentMethodDetails.Card.NetworkToken; - export type Overcapture = Stripe.Charge.PaymentMethodDetails.Card.Overcapture; - export type RegulatedStatus = Stripe.Charge.PaymentMethodDetails.Card.RegulatedStatus; - export type ThreeDSecure = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure; - export type Wallet = Stripe.Charge.PaymentMethodDetails.Card.Wallet; + export type Checks = Stripe_.Charge.PaymentMethodDetails.Card.Checks; + export type ExtendedAuthorization = Stripe_.Charge.PaymentMethodDetails.Card.ExtendedAuthorization; + export type IncrementalAuthorization = Stripe_.Charge.PaymentMethodDetails.Card.IncrementalAuthorization; + export type Installments = Stripe_.Charge.PaymentMethodDetails.Card.Installments; + export type Multicapture = Stripe_.Charge.PaymentMethodDetails.Card.Multicapture; + export type NetworkToken = Stripe_.Charge.PaymentMethodDetails.Card.NetworkToken; + export type Overcapture = Stripe_.Charge.PaymentMethodDetails.Card.Overcapture; + export type RegulatedStatus = Stripe_.Charge.PaymentMethodDetails.Card.RegulatedStatus; + export type ThreeDSecure = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe_.Charge.PaymentMethodDetails.Card.Wallet; export namespace ExtendedAuthorization { - export type Status = Stripe.Charge.PaymentMethodDetails.Card.ExtendedAuthorization.Status; + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.ExtendedAuthorization.Status; } export namespace IncrementalAuthorization { - export type Status = Stripe.Charge.PaymentMethodDetails.Card.IncrementalAuthorization.Status; + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.IncrementalAuthorization.Status; } export namespace Installments { - export type Plan = Stripe.Charge.PaymentMethodDetails.Card.Installments.Plan; + export type Plan = Stripe_.Charge.PaymentMethodDetails.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.Charge.PaymentMethodDetails.Card.Installments.Plan.Type; + export type Type = Stripe_.Charge.PaymentMethodDetails.Card.Installments.Plan.Type; } } export namespace Multicapture { - export type Status = Stripe.Charge.PaymentMethodDetails.Card.Multicapture.Status; + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.Multicapture.Status; } export namespace Overcapture { - export type Status = Stripe.Charge.PaymentMethodDetails.Card.Overcapture.Status; + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.Overcapture.Status; } export namespace ThreeDSecure { - export type AuthenticationFlow = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; - export type ElectronicCommerceIndicator = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type ExemptionIndicator = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; - export type Result = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.Result; - export type ResultReason = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; - export type Version = Stripe.Charge.PaymentMethodDetails.Card.ThreeDSecure.Version; + export type AuthenticationFlow = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; + export type Result = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.Version; } export namespace Wallet { - export type AmexExpressCheckout = Stripe.Charge.PaymentMethodDetails.Card.Wallet.AmexExpressCheckout; - export type ApplePay = Stripe.Charge.PaymentMethodDetails.Card.Wallet.ApplePay; - export type GooglePay = Stripe.Charge.PaymentMethodDetails.Card.Wallet.GooglePay; - export type Link = Stripe.Charge.PaymentMethodDetails.Card.Wallet.Link; - export type Masterpass = Stripe.Charge.PaymentMethodDetails.Card.Wallet.Masterpass; - export type SamsungPay = Stripe.Charge.PaymentMethodDetails.Card.Wallet.SamsungPay; - export type Type = Stripe.Charge.PaymentMethodDetails.Card.Wallet.Type; - export type VisaCheckout = Stripe.Charge.PaymentMethodDetails.Card.Wallet.VisaCheckout; + export type AmexExpressCheckout = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.GooglePay; + export type Link = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.Link; + export type Masterpass = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.Masterpass; + export type SamsungPay = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.SamsungPay; + export type Type = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.Type; + export type VisaCheckout = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.VisaCheckout; } } export namespace CardPresent { - export type Offline = Stripe.Charge.PaymentMethodDetails.CardPresent.Offline; - export type ReadMethod = Stripe.Charge.PaymentMethodDetails.CardPresent.ReadMethod; - export type Receipt = Stripe.Charge.PaymentMethodDetails.CardPresent.Receipt; - export type Wallet = Stripe.Charge.PaymentMethodDetails.CardPresent.Wallet; + export type Offline = Stripe_.Charge.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.Charge.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe_.Charge.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.Charge.PaymentMethodDetails.CardPresent.Wallet; export namespace Receipt { - export type AccountType = Stripe.Charge.PaymentMethodDetails.CardPresent.Receipt.AccountType; + export type AccountType = Stripe_.Charge.PaymentMethodDetails.CardPresent.Receipt.AccountType; } export namespace Wallet { - export type Type = Stripe.Charge.PaymentMethodDetails.CardPresent.Wallet.Type; + export type Type = Stripe_.Charge.PaymentMethodDetails.CardPresent.Wallet.Type; } } export namespace Crypto { - export type Network = Stripe.Charge.PaymentMethodDetails.Crypto.Network; - export type TokenCurrency = Stripe.Charge.PaymentMethodDetails.Crypto.TokenCurrency; + export type Network = Stripe_.Charge.PaymentMethodDetails.Crypto.Network; + export type TokenCurrency = Stripe_.Charge.PaymentMethodDetails.Crypto.TokenCurrency; } export namespace Eps { - export type Bank = Stripe.Charge.PaymentMethodDetails.Eps.Bank; + export type Bank = Stripe_.Charge.PaymentMethodDetails.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.Charge.PaymentMethodDetails.Fpx.AccountHolderType; - export type Bank = Stripe.Charge.PaymentMethodDetails.Fpx.Bank; + export type AccountHolderType = Stripe_.Charge.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe_.Charge.PaymentMethodDetails.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.Charge.PaymentMethodDetails.Ideal.Bank; - export type Bic = Stripe.Charge.PaymentMethodDetails.Ideal.Bic; + export type Bank = Stripe_.Charge.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe_.Charge.PaymentMethodDetails.Ideal.Bic; } export namespace InteracPresent { - export type ReadMethod = Stripe.Charge.PaymentMethodDetails.InteracPresent.ReadMethod; - export type Receipt = Stripe.Charge.PaymentMethodDetails.InteracPresent.Receipt; + export type ReadMethod = Stripe_.Charge.PaymentMethodDetails.InteracPresent.ReadMethod; + export type Receipt = Stripe_.Charge.PaymentMethodDetails.InteracPresent.Receipt; export namespace Receipt { - export type AccountType = Stripe.Charge.PaymentMethodDetails.InteracPresent.Receipt.AccountType; + export type AccountType = Stripe_.Charge.PaymentMethodDetails.InteracPresent.Receipt.AccountType; } } export namespace Klarna { - export type PayerDetails = Stripe.Charge.PaymentMethodDetails.Klarna.PayerDetails; + export type PayerDetails = Stripe_.Charge.PaymentMethodDetails.Klarna.PayerDetails; export namespace PayerDetails { - export type Address = Stripe.Charge.PaymentMethodDetails.Klarna.PayerDetails.Address; + export type Address = Stripe_.Charge.PaymentMethodDetails.Klarna.PayerDetails.Address; } } export namespace Konbini { - export type Store = Stripe.Charge.PaymentMethodDetails.Konbini.Store; + export type Store = Stripe_.Charge.PaymentMethodDetails.Konbini.Store; export namespace Store { - export type Chain = Stripe.Charge.PaymentMethodDetails.Konbini.Store.Chain; + export type Chain = Stripe_.Charge.PaymentMethodDetails.Konbini.Store.Chain; } } export namespace KrCard { - export type Brand = Stripe.Charge.PaymentMethodDetails.KrCard.Brand; + export type Brand = Stripe_.Charge.PaymentMethodDetails.KrCard.Brand; } export namespace Mobilepay { - export type Card = Stripe.Charge.PaymentMethodDetails.Mobilepay.Card; + export type Card = Stripe_.Charge.PaymentMethodDetails.Mobilepay.Card; } export namespace P24 { - export type Bank = Stripe.Charge.PaymentMethodDetails.P24.Bank; + export type Bank = Stripe_.Charge.PaymentMethodDetails.P24.Bank; } export namespace Paypal { - export type SellerProtection = Stripe.Charge.PaymentMethodDetails.Paypal.SellerProtection; + export type SellerProtection = Stripe_.Charge.PaymentMethodDetails.Paypal.SellerProtection; export namespace SellerProtection { - export type DisputeCategory = Stripe.Charge.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; - export type Status = Stripe.Charge.PaymentMethodDetails.Paypal.SellerProtection.Status; + export type DisputeCategory = Stripe_.Charge.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; + export type Status = Stripe_.Charge.PaymentMethodDetails.Paypal.SellerProtection.Status; } } export namespace RevolutPay { - export type Funding = Stripe.Charge.PaymentMethodDetails.RevolutPay.Funding; + export type Funding = Stripe_.Charge.PaymentMethodDetails.RevolutPay.Funding; export namespace Funding { - export type Card = Stripe.Charge.PaymentMethodDetails.RevolutPay.Funding.Card; + export type Card = Stripe_.Charge.PaymentMethodDetails.RevolutPay.Funding.Card; } } export namespace Sofort { - export type PreferredLanguage = Stripe.Charge.PaymentMethodDetails.Sofort.PreferredLanguage; + export type PreferredLanguage = Stripe_.Charge.PaymentMethodDetails.Sofort.PreferredLanguage; } export namespace UsBankAccount { - export type AccountHolderType = Stripe.Charge.PaymentMethodDetails.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.Charge.PaymentMethodDetails.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.Charge.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.Charge.PaymentMethodDetails.UsBankAccount.AccountType; } } } export namespace ConfirmationToken { - export type MandateData = Stripe.ConfirmationToken.MandateData; - export type PaymentMethodOptions = Stripe.ConfirmationToken.PaymentMethodOptions; - export type PaymentMethodPreview = Stripe.ConfirmationToken.PaymentMethodPreview; - export type SetupFutureUsage = Stripe.ConfirmationToken.SetupFutureUsage; - export type Shipping = Stripe.ConfirmationToken.Shipping; + export type MandateData = Stripe_.ConfirmationToken.MandateData; + export type PaymentMethodOptions = Stripe_.ConfirmationToken.PaymentMethodOptions; + export type PaymentMethodPreview = Stripe_.ConfirmationToken.PaymentMethodPreview; + export type SetupFutureUsage = Stripe_.ConfirmationToken.SetupFutureUsage; + export type Shipping = Stripe_.ConfirmationToken.Shipping; export namespace MandateData { - export type CustomerAcceptance = Stripe.ConfirmationToken.MandateData.CustomerAcceptance; + export type CustomerAcceptance = Stripe_.ConfirmationToken.MandateData.CustomerAcceptance; export namespace CustomerAcceptance { - export type Online = Stripe.ConfirmationToken.MandateData.CustomerAcceptance.Online; + export type Online = Stripe_.ConfirmationToken.MandateData.CustomerAcceptance.Online; } } export namespace PaymentMethodOptions { - export type Card = Stripe.ConfirmationToken.PaymentMethodOptions.Card; + export type Card = Stripe_.ConfirmationToken.PaymentMethodOptions.Card; export namespace Card { - export type Installments = Stripe.ConfirmationToken.PaymentMethodOptions.Card.Installments; + export type Installments = Stripe_.ConfirmationToken.PaymentMethodOptions.Card.Installments; export namespace Installments { - export type Plan = Stripe.ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan; + export type Plan = Stripe_.ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan.Type; + export type Type = Stripe_.ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan.Type; } } } } export namespace PaymentMethodPreview { - export type AcssDebit = Stripe.ConfirmationToken.PaymentMethodPreview.AcssDebit; - export type Affirm = Stripe.ConfirmationToken.PaymentMethodPreview.Affirm; - export type AfterpayClearpay = Stripe.ConfirmationToken.PaymentMethodPreview.AfterpayClearpay; - export type Alipay = Stripe.ConfirmationToken.PaymentMethodPreview.Alipay; - export type AllowRedisplay = Stripe.ConfirmationToken.PaymentMethodPreview.AllowRedisplay; - export type Alma = Stripe.ConfirmationToken.PaymentMethodPreview.Alma; - export type AmazonPay = Stripe.ConfirmationToken.PaymentMethodPreview.AmazonPay; - export type AuBecsDebit = Stripe.ConfirmationToken.PaymentMethodPreview.AuBecsDebit; - export type BacsDebit = Stripe.ConfirmationToken.PaymentMethodPreview.BacsDebit; - export type Bancontact = Stripe.ConfirmationToken.PaymentMethodPreview.Bancontact; - export type Billie = Stripe.ConfirmationToken.PaymentMethodPreview.Billie; - export type BillingDetails = Stripe.ConfirmationToken.PaymentMethodPreview.BillingDetails; - export type Bizum = Stripe.ConfirmationToken.PaymentMethodPreview.Bizum; - export type Blik = Stripe.ConfirmationToken.PaymentMethodPreview.Blik; - export type Boleto = Stripe.ConfirmationToken.PaymentMethodPreview.Boleto; - export type Card = Stripe.ConfirmationToken.PaymentMethodPreview.Card; - export type CardPresent = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent; - export type Cashapp = Stripe.ConfirmationToken.PaymentMethodPreview.Cashapp; - export type Crypto = Stripe.ConfirmationToken.PaymentMethodPreview.Crypto; - export type CustomerBalance = Stripe.ConfirmationToken.PaymentMethodPreview.CustomerBalance; - export type Eps = Stripe.ConfirmationToken.PaymentMethodPreview.Eps; - export type Fpx = Stripe.ConfirmationToken.PaymentMethodPreview.Fpx; - export type Giropay = Stripe.ConfirmationToken.PaymentMethodPreview.Giropay; - export type Grabpay = Stripe.ConfirmationToken.PaymentMethodPreview.Grabpay; - export type Ideal = Stripe.ConfirmationToken.PaymentMethodPreview.Ideal; - export type InteracPresent = Stripe.ConfirmationToken.PaymentMethodPreview.InteracPresent; - export type KakaoPay = Stripe.ConfirmationToken.PaymentMethodPreview.KakaoPay; - export type Klarna = Stripe.ConfirmationToken.PaymentMethodPreview.Klarna; - export type Konbini = Stripe.ConfirmationToken.PaymentMethodPreview.Konbini; - export type KrCard = Stripe.ConfirmationToken.PaymentMethodPreview.KrCard; - export type Link = Stripe.ConfirmationToken.PaymentMethodPreview.Link; - export type MbWay = Stripe.ConfirmationToken.PaymentMethodPreview.MbWay; - export type Mobilepay = Stripe.ConfirmationToken.PaymentMethodPreview.Mobilepay; - export type Multibanco = Stripe.ConfirmationToken.PaymentMethodPreview.Multibanco; - export type NaverPay = Stripe.ConfirmationToken.PaymentMethodPreview.NaverPay; - export type NzBankAccount = Stripe.ConfirmationToken.PaymentMethodPreview.NzBankAccount; - export type Oxxo = Stripe.ConfirmationToken.PaymentMethodPreview.Oxxo; - export type P24 = Stripe.ConfirmationToken.PaymentMethodPreview.P24; - export type PayByBank = Stripe.ConfirmationToken.PaymentMethodPreview.PayByBank; - export type Payco = Stripe.ConfirmationToken.PaymentMethodPreview.Payco; - export type Paynow = Stripe.ConfirmationToken.PaymentMethodPreview.Paynow; - export type Paypal = Stripe.ConfirmationToken.PaymentMethodPreview.Paypal; - export type Payto = Stripe.ConfirmationToken.PaymentMethodPreview.Payto; - export type Pix = Stripe.ConfirmationToken.PaymentMethodPreview.Pix; - export type Promptpay = Stripe.ConfirmationToken.PaymentMethodPreview.Promptpay; - export type RevolutPay = Stripe.ConfirmationToken.PaymentMethodPreview.RevolutPay; - export type SamsungPay = Stripe.ConfirmationToken.PaymentMethodPreview.SamsungPay; - export type Satispay = Stripe.ConfirmationToken.PaymentMethodPreview.Satispay; - export type Scalapay = Stripe.ConfirmationToken.PaymentMethodPreview.Scalapay; - export type SepaDebit = Stripe.ConfirmationToken.PaymentMethodPreview.SepaDebit; - export type Sofort = Stripe.ConfirmationToken.PaymentMethodPreview.Sofort; - export type Sunbit = Stripe.ConfirmationToken.PaymentMethodPreview.Sunbit; - export type Swish = Stripe.ConfirmationToken.PaymentMethodPreview.Swish; - export type Twint = Stripe.ConfirmationToken.PaymentMethodPreview.Twint; - export type Type = Stripe.ConfirmationToken.PaymentMethodPreview.Type; - export type Upi = Stripe.ConfirmationToken.PaymentMethodPreview.Upi; - export type UsBankAccount = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount; - export type WechatPay = Stripe.ConfirmationToken.PaymentMethodPreview.WechatPay; - export type Zip = Stripe.ConfirmationToken.PaymentMethodPreview.Zip; + export type AcssDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.AcssDebit; + export type Affirm = Stripe_.ConfirmationToken.PaymentMethodPreview.Affirm; + export type AfterpayClearpay = Stripe_.ConfirmationToken.PaymentMethodPreview.AfterpayClearpay; + export type Alipay = Stripe_.ConfirmationToken.PaymentMethodPreview.Alipay; + export type AllowRedisplay = Stripe_.ConfirmationToken.PaymentMethodPreview.AllowRedisplay; + export type Alma = Stripe_.ConfirmationToken.PaymentMethodPreview.Alma; + export type AmazonPay = Stripe_.ConfirmationToken.PaymentMethodPreview.AmazonPay; + export type AuBecsDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.AuBecsDebit; + export type BacsDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.BacsDebit; + export type Bancontact = Stripe_.ConfirmationToken.PaymentMethodPreview.Bancontact; + export type Billie = Stripe_.ConfirmationToken.PaymentMethodPreview.Billie; + export type BillingDetails = Stripe_.ConfirmationToken.PaymentMethodPreview.BillingDetails; + export type Bizum = Stripe_.ConfirmationToken.PaymentMethodPreview.Bizum; + export type Blik = Stripe_.ConfirmationToken.PaymentMethodPreview.Blik; + export type Boleto = Stripe_.ConfirmationToken.PaymentMethodPreview.Boleto; + export type Card = Stripe_.ConfirmationToken.PaymentMethodPreview.Card; + export type CardPresent = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent; + export type Cashapp = Stripe_.ConfirmationToken.PaymentMethodPreview.Cashapp; + export type Crypto = Stripe_.ConfirmationToken.PaymentMethodPreview.Crypto; + export type CustomerBalance = Stripe_.ConfirmationToken.PaymentMethodPreview.CustomerBalance; + export type Eps = Stripe_.ConfirmationToken.PaymentMethodPreview.Eps; + export type Fpx = Stripe_.ConfirmationToken.PaymentMethodPreview.Fpx; + export type Giropay = Stripe_.ConfirmationToken.PaymentMethodPreview.Giropay; + export type Grabpay = Stripe_.ConfirmationToken.PaymentMethodPreview.Grabpay; + export type Ideal = Stripe_.ConfirmationToken.PaymentMethodPreview.Ideal; + export type InteracPresent = Stripe_.ConfirmationToken.PaymentMethodPreview.InteracPresent; + export type KakaoPay = Stripe_.ConfirmationToken.PaymentMethodPreview.KakaoPay; + export type Klarna = Stripe_.ConfirmationToken.PaymentMethodPreview.Klarna; + export type Konbini = Stripe_.ConfirmationToken.PaymentMethodPreview.Konbini; + export type KrCard = Stripe_.ConfirmationToken.PaymentMethodPreview.KrCard; + export type Link = Stripe_.ConfirmationToken.PaymentMethodPreview.Link; + export type MbWay = Stripe_.ConfirmationToken.PaymentMethodPreview.MbWay; + export type Mobilepay = Stripe_.ConfirmationToken.PaymentMethodPreview.Mobilepay; + export type Multibanco = Stripe_.ConfirmationToken.PaymentMethodPreview.Multibanco; + export type NaverPay = Stripe_.ConfirmationToken.PaymentMethodPreview.NaverPay; + export type NzBankAccount = Stripe_.ConfirmationToken.PaymentMethodPreview.NzBankAccount; + export type Oxxo = Stripe_.ConfirmationToken.PaymentMethodPreview.Oxxo; + export type P24 = Stripe_.ConfirmationToken.PaymentMethodPreview.P24; + export type PayByBank = Stripe_.ConfirmationToken.PaymentMethodPreview.PayByBank; + export type Payco = Stripe_.ConfirmationToken.PaymentMethodPreview.Payco; + export type Paynow = Stripe_.ConfirmationToken.PaymentMethodPreview.Paynow; + export type Paypal = Stripe_.ConfirmationToken.PaymentMethodPreview.Paypal; + export type Payto = Stripe_.ConfirmationToken.PaymentMethodPreview.Payto; + export type Pix = Stripe_.ConfirmationToken.PaymentMethodPreview.Pix; + export type Promptpay = Stripe_.ConfirmationToken.PaymentMethodPreview.Promptpay; + export type RevolutPay = Stripe_.ConfirmationToken.PaymentMethodPreview.RevolutPay; + export type SamsungPay = Stripe_.ConfirmationToken.PaymentMethodPreview.SamsungPay; + export type Satispay = Stripe_.ConfirmationToken.PaymentMethodPreview.Satispay; + export type Scalapay = Stripe_.ConfirmationToken.PaymentMethodPreview.Scalapay; + export type SepaDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.SepaDebit; + export type Sofort = Stripe_.ConfirmationToken.PaymentMethodPreview.Sofort; + export type Sunbit = Stripe_.ConfirmationToken.PaymentMethodPreview.Sunbit; + export type Swish = Stripe_.ConfirmationToken.PaymentMethodPreview.Swish; + export type Twint = Stripe_.ConfirmationToken.PaymentMethodPreview.Twint; + export type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.Type; + export type Upi = Stripe_.ConfirmationToken.PaymentMethodPreview.Upi; + export type UsBankAccount = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount; + export type WechatPay = Stripe_.ConfirmationToken.PaymentMethodPreview.WechatPay; + export type Zip = Stripe_.ConfirmationToken.PaymentMethodPreview.Zip; export namespace Card { - export type Checks = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Checks; - export type GeneratedFrom = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom; - export type Networks = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Networks; - export type RegulatedStatus = Stripe.ConfirmationToken.PaymentMethodPreview.Card.RegulatedStatus; - export type ThreeDSecureUsage = Stripe.ConfirmationToken.PaymentMethodPreview.Card.ThreeDSecureUsage; - export type Wallet = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet; + export type Checks = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Checks; + export type GeneratedFrom = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom; + export type Networks = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Networks; + export type RegulatedStatus = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.RegulatedStatus; + export type ThreeDSecureUsage = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.ThreeDSecureUsage; + export type Wallet = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet; export namespace GeneratedFrom { - export type PaymentMethodDetails = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails; + export type PaymentMethodDetails = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails; export namespace PaymentMethodDetails { - export type CardPresent = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; + export type CardPresent = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; export namespace CardPresent { - export type Offline = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; - export type ReadMethod = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; - export type Receipt = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; - export type Wallet = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; + export type Offline = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; export namespace Receipt { - export type AccountType = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; + export type AccountType = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; } export namespace Wallet { - export type Type = Stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; + export type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; } } } } export namespace Wallet { - export type AmexExpressCheckout = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.AmexExpressCheckout; - export type ApplePay = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.ApplePay; - export type GooglePay = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.GooglePay; - export type Link = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Link; - export type Masterpass = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Masterpass; - export type SamsungPay = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.SamsungPay; - export type Type = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Type; - export type VisaCheckout = Stripe.ConfirmationToken.PaymentMethodPreview.Card.Wallet.VisaCheckout; + export type AmexExpressCheckout = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.GooglePay; + export type Link = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Link; + export type Masterpass = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Masterpass; + export type SamsungPay = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.SamsungPay; + export type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Type; + export type VisaCheckout = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.VisaCheckout; } } export namespace CardPresent { - export type Networks = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.Networks; - export type Offline = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.Offline; - export type ReadMethod = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.ReadMethod; - export type Wallet = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.Wallet; + export type Networks = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.Networks; + export type Offline = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.Offline; + export type ReadMethod = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.ReadMethod; + export type Wallet = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.Wallet; export namespace Wallet { - export type Type = Stripe.ConfirmationToken.PaymentMethodPreview.CardPresent.Wallet.Type; + export type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.Wallet.Type; } } export namespace Eps { - export type Bank = Stripe.ConfirmationToken.PaymentMethodPreview.Eps.Bank; + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.ConfirmationToken.PaymentMethodPreview.Fpx.AccountHolderType; - export type Bank = Stripe.ConfirmationToken.PaymentMethodPreview.Fpx.Bank; + export type AccountHolderType = Stripe_.ConfirmationToken.PaymentMethodPreview.Fpx.AccountHolderType; + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.ConfirmationToken.PaymentMethodPreview.Ideal.Bank; - export type Bic = Stripe.ConfirmationToken.PaymentMethodPreview.Ideal.Bic; + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.Ideal.Bank; + export type Bic = Stripe_.ConfirmationToken.PaymentMethodPreview.Ideal.Bic; } export namespace InteracPresent { - export type Networks = Stripe.ConfirmationToken.PaymentMethodPreview.InteracPresent.Networks; - export type ReadMethod = Stripe.ConfirmationToken.PaymentMethodPreview.InteracPresent.ReadMethod; + export type Networks = Stripe_.ConfirmationToken.PaymentMethodPreview.InteracPresent.Networks; + export type ReadMethod = Stripe_.ConfirmationToken.PaymentMethodPreview.InteracPresent.ReadMethod; } export namespace Klarna { - export type Dob = Stripe.ConfirmationToken.PaymentMethodPreview.Klarna.Dob; + export type Dob = Stripe_.ConfirmationToken.PaymentMethodPreview.Klarna.Dob; } export namespace KrCard { - export type Brand = Stripe.ConfirmationToken.PaymentMethodPreview.KrCard.Brand; + export type Brand = Stripe_.ConfirmationToken.PaymentMethodPreview.KrCard.Brand; } export namespace NaverPay { - export type Funding = Stripe.ConfirmationToken.PaymentMethodPreview.NaverPay.Funding; + export type Funding = Stripe_.ConfirmationToken.PaymentMethodPreview.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.ConfirmationToken.PaymentMethodPreview.P24.Bank; + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.P24.Bank; } export namespace SepaDebit { - export type GeneratedFrom = Stripe.ConfirmationToken.PaymentMethodPreview.SepaDebit.GeneratedFrom; + export type GeneratedFrom = Stripe_.ConfirmationToken.PaymentMethodPreview.SepaDebit.GeneratedFrom; } export namespace UsBankAccount { - export type AccountHolderType = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.AccountType; - export type Networks = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networks; - export type StatusDetails = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails; + export type AccountHolderType = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.AccountType; + export type Networks = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networks; + export type StatusDetails = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails; export namespace Networks { - export type Supported = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networks.Supported; + export type Supported = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networks.Supported; } export namespace StatusDetails { - export type Blocked = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked; + export type Blocked = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked; export namespace Blocked { - export type NetworkCode = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked.NetworkCode; - export type Reason = Stripe.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked.Reason; + export type NetworkCode = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked.NetworkCode; + export type Reason = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked.Reason; } } } } } export namespace CountrySpec { - export type VerificationFields = Stripe.CountrySpec.VerificationFields; + export type VerificationFields = Stripe_.CountrySpec.VerificationFields; export namespace VerificationFields { - export type Company = Stripe.CountrySpec.VerificationFields.Company; - export type Individual = Stripe.CountrySpec.VerificationFields.Individual; + export type Company = Stripe_.CountrySpec.VerificationFields.Company; + export type Individual = Stripe_.CountrySpec.VerificationFields.Individual; } } export namespace CouponCreateParams { - export type AppliesTo = Stripe.CouponCreateParams.AppliesTo; - export type CurrencyOptions = Stripe.CouponCreateParams.CurrencyOptions; - export type Duration = Stripe.CouponCreateParams.Duration; + export type AppliesTo = Stripe_.CouponCreateParams.AppliesTo; + export type CurrencyOptions = Stripe_.CouponCreateParams.CurrencyOptions; + export type Duration = Stripe_.CouponCreateParams.Duration; } export namespace CouponUpdateParams { - export type CurrencyOptions = Stripe.CouponUpdateParams.CurrencyOptions; + export type CurrencyOptions = Stripe_.CouponUpdateParams.CurrencyOptions; } export namespace Coupon { - export type AppliesTo = Stripe.Coupon.AppliesTo; - export type CurrencyOptions = Stripe.Coupon.CurrencyOptions; - export type Duration = Stripe.Coupon.Duration; + export type AppliesTo = Stripe_.Coupon.AppliesTo; + export type CurrencyOptions = Stripe_.Coupon.CurrencyOptions; + export type Duration = Stripe_.Coupon.Duration; } export namespace CreditNoteCreateParams { - export type EmailType = Stripe.CreditNoteCreateParams.EmailType; - export type Line = Stripe.CreditNoteCreateParams.Line; - export type Reason = Stripe.CreditNoteCreateParams.Reason; - export type Refund = Stripe.CreditNoteCreateParams.Refund; - export type ShippingCost = Stripe.CreditNoteCreateParams.ShippingCost; + export type EmailType = Stripe_.CreditNoteCreateParams.EmailType; + export type Line = Stripe_.CreditNoteCreateParams.Line; + export type Reason = Stripe_.CreditNoteCreateParams.Reason; + export type Refund = Stripe_.CreditNoteCreateParams.Refund; + export type ShippingCost = Stripe_.CreditNoteCreateParams.ShippingCost; export namespace Line { - export type TaxAmount = Stripe.CreditNoteCreateParams.Line.TaxAmount; - export type Type = Stripe.CreditNoteCreateParams.Line.Type; + export type TaxAmount = Stripe_.CreditNoteCreateParams.Line.TaxAmount; + export type Type = Stripe_.CreditNoteCreateParams.Line.Type; } export namespace Refund { - export type PaymentRecordRefund = Stripe.CreditNoteCreateParams.Refund.PaymentRecordRefund; - export type Type = Stripe.CreditNoteCreateParams.Refund.Type; + export type PaymentRecordRefund = Stripe_.CreditNoteCreateParams.Refund.PaymentRecordRefund; + export type Type = Stripe_.CreditNoteCreateParams.Refund.Type; } } export namespace CreditNoteListPreviewLineItemsParams { - export type EmailType = Stripe.CreditNoteListPreviewLineItemsParams.EmailType; - export type Line = Stripe.CreditNoteListPreviewLineItemsParams.Line; - export type Reason = Stripe.CreditNoteListPreviewLineItemsParams.Reason; - export type Refund = Stripe.CreditNoteListPreviewLineItemsParams.Refund; - export type ShippingCost = Stripe.CreditNoteListPreviewLineItemsParams.ShippingCost; + export type EmailType = Stripe_.CreditNoteListPreviewLineItemsParams.EmailType; + export type Line = Stripe_.CreditNoteListPreviewLineItemsParams.Line; + export type Reason = Stripe_.CreditNoteListPreviewLineItemsParams.Reason; + export type Refund = Stripe_.CreditNoteListPreviewLineItemsParams.Refund; + export type ShippingCost = Stripe_.CreditNoteListPreviewLineItemsParams.ShippingCost; export namespace Line { - export type TaxAmount = Stripe.CreditNoteListPreviewLineItemsParams.Line.TaxAmount; - export type Type = Stripe.CreditNoteListPreviewLineItemsParams.Line.Type; + export type TaxAmount = Stripe_.CreditNoteListPreviewLineItemsParams.Line.TaxAmount; + export type Type = Stripe_.CreditNoteListPreviewLineItemsParams.Line.Type; } export namespace Refund { - export type PaymentRecordRefund = Stripe.CreditNoteListPreviewLineItemsParams.Refund.PaymentRecordRefund; - export type Type = Stripe.CreditNoteListPreviewLineItemsParams.Refund.Type; + export type PaymentRecordRefund = Stripe_.CreditNoteListPreviewLineItemsParams.Refund.PaymentRecordRefund; + export type Type = Stripe_.CreditNoteListPreviewLineItemsParams.Refund.Type; } } export namespace CreditNotePreviewParams { - export type EmailType = Stripe.CreditNotePreviewParams.EmailType; - export type Line = Stripe.CreditNotePreviewParams.Line; - export type Reason = Stripe.CreditNotePreviewParams.Reason; - export type Refund = Stripe.CreditNotePreviewParams.Refund; - export type ShippingCost = Stripe.CreditNotePreviewParams.ShippingCost; + export type EmailType = Stripe_.CreditNotePreviewParams.EmailType; + export type Line = Stripe_.CreditNotePreviewParams.Line; + export type Reason = Stripe_.CreditNotePreviewParams.Reason; + export type Refund = Stripe_.CreditNotePreviewParams.Refund; + export type ShippingCost = Stripe_.CreditNotePreviewParams.ShippingCost; export namespace Line { - export type TaxAmount = Stripe.CreditNotePreviewParams.Line.TaxAmount; - export type Type = Stripe.CreditNotePreviewParams.Line.Type; + export type TaxAmount = Stripe_.CreditNotePreviewParams.Line.TaxAmount; + export type Type = Stripe_.CreditNotePreviewParams.Line.Type; } export namespace Refund { - export type PaymentRecordRefund = Stripe.CreditNotePreviewParams.Refund.PaymentRecordRefund; - export type Type = Stripe.CreditNotePreviewParams.Refund.Type; + export type PaymentRecordRefund = Stripe_.CreditNotePreviewParams.Refund.PaymentRecordRefund; + export type Type = Stripe_.CreditNotePreviewParams.Refund.Type; } } export namespace CreditNote { - export type DiscountAmount = Stripe.CreditNote.DiscountAmount; - export type PretaxCreditAmount = Stripe.CreditNote.PretaxCreditAmount; - export type Reason = Stripe.CreditNote.Reason; - export type Refund = Stripe.CreditNote.Refund; - export type ShippingCost = Stripe.CreditNote.ShippingCost; - export type Status = Stripe.CreditNote.Status; - export type TotalTax = Stripe.CreditNote.TotalTax; - export type Type = Stripe.CreditNote.Type; + export type DiscountAmount = Stripe_.CreditNote.DiscountAmount; + export type PretaxCreditAmount = Stripe_.CreditNote.PretaxCreditAmount; + export type Reason = Stripe_.CreditNote.Reason; + export type Refund = Stripe_.CreditNote.Refund; + export type ShippingCost = Stripe_.CreditNote.ShippingCost; + export type Status = Stripe_.CreditNote.Status; + export type TotalTax = Stripe_.CreditNote.TotalTax; + export type Type = Stripe_.CreditNote.Type; export namespace PretaxCreditAmount { - export type Type = Stripe.CreditNote.PretaxCreditAmount.Type; + export type Type = Stripe_.CreditNote.PretaxCreditAmount.Type; } export namespace Refund { - export type PaymentRecordRefund = Stripe.CreditNote.Refund.PaymentRecordRefund; - export type Type = Stripe.CreditNote.Refund.Type; + export type PaymentRecordRefund = Stripe_.CreditNote.Refund.PaymentRecordRefund; + export type Type = Stripe_.CreditNote.Refund.Type; } export namespace ShippingCost { - export type Tax = Stripe.CreditNote.ShippingCost.Tax; + export type Tax = Stripe_.CreditNote.ShippingCost.Tax; export namespace Tax { - export type TaxabilityReason = Stripe.CreditNote.ShippingCost.Tax.TaxabilityReason; + export type TaxabilityReason = Stripe_.CreditNote.ShippingCost.Tax.TaxabilityReason; } } export namespace TotalTax { - export type TaxBehavior = Stripe.CreditNote.TotalTax.TaxBehavior; - export type TaxRateDetails = Stripe.CreditNote.TotalTax.TaxRateDetails; - export type TaxabilityReason = Stripe.CreditNote.TotalTax.TaxabilityReason; + export type TaxBehavior = Stripe_.CreditNote.TotalTax.TaxBehavior; + export type TaxRateDetails = Stripe_.CreditNote.TotalTax.TaxRateDetails; + export type TaxabilityReason = Stripe_.CreditNote.TotalTax.TaxabilityReason; } } export namespace CustomerCreateParams { - export type CashBalance = Stripe.CustomerCreateParams.CashBalance; - export type InvoiceSettings = Stripe.CustomerCreateParams.InvoiceSettings; - export type Shipping = Stripe.CustomerCreateParams.Shipping; - export type Tax = Stripe.CustomerCreateParams.Tax; - export type TaxExempt = Stripe.CustomerCreateParams.TaxExempt; - export type TaxIdDatum = Stripe.CustomerCreateParams.TaxIdDatum; + export type CashBalance = Stripe_.CustomerCreateParams.CashBalance; + export type InvoiceSettings = Stripe_.CustomerCreateParams.InvoiceSettings; + export type Shipping = Stripe_.CustomerCreateParams.Shipping; + export type Tax = Stripe_.CustomerCreateParams.Tax; + export type TaxExempt = Stripe_.CustomerCreateParams.TaxExempt; + export type TaxIdDatum = Stripe_.CustomerCreateParams.TaxIdDatum; export namespace CashBalance { - export type Settings = Stripe.CustomerCreateParams.CashBalance.Settings; + export type Settings = Stripe_.CustomerCreateParams.CashBalance.Settings; export namespace Settings { - export type ReconciliationMode = Stripe.CustomerCreateParams.CashBalance.Settings.ReconciliationMode; + export type ReconciliationMode = Stripe_.CustomerCreateParams.CashBalance.Settings.ReconciliationMode; } } export namespace InvoiceSettings { - export type CustomField = Stripe.CustomerCreateParams.InvoiceSettings.CustomField; - export type RenderingOptions = Stripe.CustomerCreateParams.InvoiceSettings.RenderingOptions; + export type CustomField = Stripe_.CustomerCreateParams.InvoiceSettings.CustomField; + export type RenderingOptions = Stripe_.CustomerCreateParams.InvoiceSettings.RenderingOptions; export namespace RenderingOptions { - export type AmountTaxDisplay = Stripe.CustomerCreateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay; + export type AmountTaxDisplay = Stripe_.CustomerCreateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay; } } export namespace Tax { - export type ValidateLocation = Stripe.CustomerCreateParams.Tax.ValidateLocation; + export type ValidateLocation = Stripe_.CustomerCreateParams.Tax.ValidateLocation; } export namespace TaxIdDatum { - export type Type = Stripe.CustomerCreateParams.TaxIdDatum.Type; + export type Type = Stripe_.CustomerCreateParams.TaxIdDatum.Type; } } export namespace CustomerUpdateParams { - export type CashBalance = Stripe.CustomerUpdateParams.CashBalance; - export type InvoiceSettings = Stripe.CustomerUpdateParams.InvoiceSettings; - export type Shipping = Stripe.CustomerUpdateParams.Shipping; - export type Tax = Stripe.CustomerUpdateParams.Tax; - export type TaxExempt = Stripe.CustomerUpdateParams.TaxExempt; + export type CashBalance = Stripe_.CustomerUpdateParams.CashBalance; + export type InvoiceSettings = Stripe_.CustomerUpdateParams.InvoiceSettings; + export type Shipping = Stripe_.CustomerUpdateParams.Shipping; + export type Tax = Stripe_.CustomerUpdateParams.Tax; + export type TaxExempt = Stripe_.CustomerUpdateParams.TaxExempt; export namespace CashBalance { - export type Settings = Stripe.CustomerUpdateParams.CashBalance.Settings; + export type Settings = Stripe_.CustomerUpdateParams.CashBalance.Settings; export namespace Settings { - export type ReconciliationMode = Stripe.CustomerUpdateParams.CashBalance.Settings.ReconciliationMode; + export type ReconciliationMode = Stripe_.CustomerUpdateParams.CashBalance.Settings.ReconciliationMode; } } export namespace InvoiceSettings { - export type CustomField = Stripe.CustomerUpdateParams.InvoiceSettings.CustomField; - export type RenderingOptions = Stripe.CustomerUpdateParams.InvoiceSettings.RenderingOptions; + export type CustomField = Stripe_.CustomerUpdateParams.InvoiceSettings.CustomField; + export type RenderingOptions = Stripe_.CustomerUpdateParams.InvoiceSettings.RenderingOptions; export namespace RenderingOptions { - export type AmountTaxDisplay = Stripe.CustomerUpdateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay; + export type AmountTaxDisplay = Stripe_.CustomerUpdateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay; } } export namespace Tax { - export type ValidateLocation = Stripe.CustomerUpdateParams.Tax.ValidateLocation; + export type ValidateLocation = Stripe_.CustomerUpdateParams.Tax.ValidateLocation; } } export namespace CustomerCreateFundingInstructionsParams { - export type BankTransfer = Stripe.CustomerCreateFundingInstructionsParams.BankTransfer; + export type BankTransfer = Stripe_.CustomerCreateFundingInstructionsParams.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.CustomerCreateFundingInstructionsParams.BankTransfer.EuBankTransfer; - export type RequestedAddressType = Stripe.CustomerCreateFundingInstructionsParams.BankTransfer.RequestedAddressType; - export type Type = Stripe.CustomerCreateFundingInstructionsParams.BankTransfer.Type; + export type EuBankTransfer = Stripe_.CustomerCreateFundingInstructionsParams.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.CustomerCreateFundingInstructionsParams.BankTransfer.RequestedAddressType; + export type Type = Stripe_.CustomerCreateFundingInstructionsParams.BankTransfer.Type; } } export namespace CustomerCreateTaxIdParams { - export type Type = Stripe.CustomerCreateTaxIdParams.Type; + export type Type = Stripe_.CustomerCreateTaxIdParams.Type; } export namespace CustomerListPaymentMethodsParams { - export type AllowRedisplay = Stripe.CustomerListPaymentMethodsParams.AllowRedisplay; - export type Type = Stripe.CustomerListPaymentMethodsParams.Type; + export type AllowRedisplay = Stripe_.CustomerListPaymentMethodsParams.AllowRedisplay; + export type Type = Stripe_.CustomerListPaymentMethodsParams.Type; } export namespace CustomerUpdateCashBalanceParams { - export type Settings = Stripe.CustomerUpdateCashBalanceParams.Settings; + export type Settings = Stripe_.CustomerUpdateCashBalanceParams.Settings; export namespace Settings { - export type ReconciliationMode = Stripe.CustomerUpdateCashBalanceParams.Settings.ReconciliationMode; + export type ReconciliationMode = Stripe_.CustomerUpdateCashBalanceParams.Settings.ReconciliationMode; } } export namespace CustomerUpdateSourceParams { - export type AccountHolderType = Stripe.CustomerUpdateSourceParams.AccountHolderType; - export type Owner = Stripe.CustomerUpdateSourceParams.Owner; + export type AccountHolderType = Stripe_.CustomerUpdateSourceParams.AccountHolderType; + export type Owner = Stripe_.CustomerUpdateSourceParams.Owner; } export namespace Customer { - export type InvoiceSettings = Stripe.Customer.InvoiceSettings; - export type Shipping = Stripe.Customer.Shipping; - export type Tax = Stripe.Customer.Tax; - export type TaxExempt = Stripe.Customer.TaxExempt; + export type InvoiceSettings = Stripe_.Customer.InvoiceSettings; + export type Shipping = Stripe_.Customer.Shipping; + export type Tax = Stripe_.Customer.Tax; + export type TaxExempt = Stripe_.Customer.TaxExempt; export namespace InvoiceSettings { - export type CustomField = Stripe.Customer.InvoiceSettings.CustomField; - export type RenderingOptions = Stripe.Customer.InvoiceSettings.RenderingOptions; + export type CustomField = Stripe_.Customer.InvoiceSettings.CustomField; + export type RenderingOptions = Stripe_.Customer.InvoiceSettings.RenderingOptions; } export namespace Tax { - export type AutomaticTax = Stripe.Customer.Tax.AutomaticTax; - export type Location = Stripe.Customer.Tax.Location; - export type Provider = Stripe.Customer.Tax.Provider; + export type AutomaticTax = Stripe_.Customer.Tax.AutomaticTax; + export type Location = Stripe_.Customer.Tax.Location; + export type Provider = Stripe_.Customer.Tax.Provider; export namespace Location { - export type Source = Stripe.Customer.Tax.Location.Source; + export type Source = Stripe_.Customer.Tax.Location.Source; } } } export namespace CustomerSessionCreateParams { - export type Components = Stripe.CustomerSessionCreateParams.Components; + export type Components = Stripe_.CustomerSessionCreateParams.Components; export namespace Components { - export type BuyButton = Stripe.CustomerSessionCreateParams.Components.BuyButton; - export type CustomerSheet = Stripe.CustomerSessionCreateParams.Components.CustomerSheet; - export type MobilePaymentElement = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement; - export type PaymentElement = Stripe.CustomerSessionCreateParams.Components.PaymentElement; - export type PricingTable = Stripe.CustomerSessionCreateParams.Components.PricingTable; + export type BuyButton = Stripe_.CustomerSessionCreateParams.Components.BuyButton; + export type CustomerSheet = Stripe_.CustomerSessionCreateParams.Components.CustomerSheet; + export type MobilePaymentElement = Stripe_.CustomerSessionCreateParams.Components.MobilePaymentElement; + export type PaymentElement = Stripe_.CustomerSessionCreateParams.Components.PaymentElement; + export type PricingTable = Stripe_.CustomerSessionCreateParams.Components.PricingTable; export namespace CustomerSheet { - export type Features = Stripe.CustomerSessionCreateParams.Components.CustomerSheet.Features; + export type Features = Stripe_.CustomerSessionCreateParams.Components.CustomerSheet.Features; export namespace Features { - export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSessionCreateParams.Components.CustomerSheet.Features.PaymentMethodAllowRedisplayFilter; - export type PaymentMethodRemove = Stripe.CustomerSessionCreateParams.Components.CustomerSheet.Features.PaymentMethodRemove; + export type PaymentMethodAllowRedisplayFilter = Stripe_.CustomerSessionCreateParams.Components.CustomerSheet.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRemove = Stripe_.CustomerSessionCreateParams.Components.CustomerSheet.Features.PaymentMethodRemove; } } export namespace MobilePaymentElement { - export type Features = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features; + export type Features = Stripe_.CustomerSessionCreateParams.Components.MobilePaymentElement.Features; export namespace Features { - export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodAllowRedisplayFilter; - export type PaymentMethodRedisplay = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodRedisplay; - export type PaymentMethodRemove = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodRemove; - export type PaymentMethodSave = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodSave; - export type PaymentMethodSaveAllowRedisplayOverride = Stripe.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodSaveAllowRedisplayOverride; + export type PaymentMethodAllowRedisplayFilter = Stripe_.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRedisplay = Stripe_.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodRedisplay; + export type PaymentMethodRemove = Stripe_.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodRemove; + export type PaymentMethodSave = Stripe_.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodSave; + export type PaymentMethodSaveAllowRedisplayOverride = Stripe_.CustomerSessionCreateParams.Components.MobilePaymentElement.Features.PaymentMethodSaveAllowRedisplayOverride; } } export namespace PaymentElement { - export type Features = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features; + export type Features = Stripe_.CustomerSessionCreateParams.Components.PaymentElement.Features; export namespace Features { - export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodAllowRedisplayFilter; - export type PaymentMethodRedisplay = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodRedisplay; - export type PaymentMethodRemove = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodRemove; - export type PaymentMethodSave = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodSave; - export type PaymentMethodSaveUsage = Stripe.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodSaveUsage; + export type PaymentMethodAllowRedisplayFilter = Stripe_.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRedisplay = Stripe_.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodRedisplay; + export type PaymentMethodRemove = Stripe_.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodRemove; + export type PaymentMethodSave = Stripe_.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodSave; + export type PaymentMethodSaveUsage = Stripe_.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodSaveUsage; } } } } export namespace CustomerSession { - export type Components = Stripe.CustomerSession.Components; + export type Components = Stripe_.CustomerSession.Components; export namespace Components { - export type BuyButton = Stripe.CustomerSession.Components.BuyButton; - export type CustomerSheet = Stripe.CustomerSession.Components.CustomerSheet; - export type MobilePaymentElement = Stripe.CustomerSession.Components.MobilePaymentElement; - export type PaymentElement = Stripe.CustomerSession.Components.PaymentElement; - export type PricingTable = Stripe.CustomerSession.Components.PricingTable; + export type BuyButton = Stripe_.CustomerSession.Components.BuyButton; + export type CustomerSheet = Stripe_.CustomerSession.Components.CustomerSheet; + export type MobilePaymentElement = Stripe_.CustomerSession.Components.MobilePaymentElement; + export type PaymentElement = Stripe_.CustomerSession.Components.PaymentElement; + export type PricingTable = Stripe_.CustomerSession.Components.PricingTable; export namespace CustomerSheet { - export type Features = Stripe.CustomerSession.Components.CustomerSheet.Features; + export type Features = Stripe_.CustomerSession.Components.CustomerSheet.Features; export namespace Features { - export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSession.Components.CustomerSheet.Features.PaymentMethodAllowRedisplayFilter; - export type PaymentMethodRemove = Stripe.CustomerSession.Components.CustomerSheet.Features.PaymentMethodRemove; + export type PaymentMethodAllowRedisplayFilter = Stripe_.CustomerSession.Components.CustomerSheet.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRemove = Stripe_.CustomerSession.Components.CustomerSheet.Features.PaymentMethodRemove; } } export namespace MobilePaymentElement { - export type Features = Stripe.CustomerSession.Components.MobilePaymentElement.Features; + export type Features = Stripe_.CustomerSession.Components.MobilePaymentElement.Features; export namespace Features { - export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodAllowRedisplayFilter; - export type PaymentMethodRedisplay = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodRedisplay; - export type PaymentMethodRemove = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodRemove; - export type PaymentMethodSave = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodSave; - export type PaymentMethodSaveAllowRedisplayOverride = Stripe.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodSaveAllowRedisplayOverride; + export type PaymentMethodAllowRedisplayFilter = Stripe_.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRedisplay = Stripe_.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodRedisplay; + export type PaymentMethodRemove = Stripe_.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodRemove; + export type PaymentMethodSave = Stripe_.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodSave; + export type PaymentMethodSaveAllowRedisplayOverride = Stripe_.CustomerSession.Components.MobilePaymentElement.Features.PaymentMethodSaveAllowRedisplayOverride; } } export namespace PaymentElement { - export type Features = Stripe.CustomerSession.Components.PaymentElement.Features; + export type Features = Stripe_.CustomerSession.Components.PaymentElement.Features; export namespace Features { - export type PaymentMethodAllowRedisplayFilter = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodAllowRedisplayFilter; - export type PaymentMethodRedisplay = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodRedisplay; - export type PaymentMethodRemove = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodRemove; - export type PaymentMethodSave = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodSave; - export type PaymentMethodSaveUsage = Stripe.CustomerSession.Components.PaymentElement.Features.PaymentMethodSaveUsage; + export type PaymentMethodAllowRedisplayFilter = Stripe_.CustomerSession.Components.PaymentElement.Features.PaymentMethodAllowRedisplayFilter; + export type PaymentMethodRedisplay = Stripe_.CustomerSession.Components.PaymentElement.Features.PaymentMethodRedisplay; + export type PaymentMethodRemove = Stripe_.CustomerSession.Components.PaymentElement.Features.PaymentMethodRemove; + export type PaymentMethodSave = Stripe_.CustomerSession.Components.PaymentElement.Features.PaymentMethodSave; + export type PaymentMethodSaveUsage = Stripe_.CustomerSession.Components.PaymentElement.Features.PaymentMethodSaveUsage; } } } } export namespace DisputeUpdateParams { - export type Evidence = Stripe.DisputeUpdateParams.Evidence; + export type Evidence = Stripe_.DisputeUpdateParams.Evidence; export namespace Evidence { - export type EnhancedEvidence = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence; + export type EnhancedEvidence = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence; export namespace EnhancedEvidence { - export type VisaCompellingEvidence3 = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3; - export type VisaCompliance = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompliance; + export type VisaCompellingEvidence3 = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3; + export type VisaCompliance = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompliance; export namespace VisaCompellingEvidence3 { - export type DisputedTransaction = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction; - export type PriorUndisputedTransaction = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.PriorUndisputedTransaction; + export type DisputedTransaction = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction; + export type PriorUndisputedTransaction = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.PriorUndisputedTransaction; export namespace DisputedTransaction { - export type MerchandiseOrServices = Stripe.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction.MerchandiseOrServices; + export type MerchandiseOrServices = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction.MerchandiseOrServices; } } } } } export namespace Dispute { - export type EnhancedEligibilityType = Stripe.Dispute.EnhancedEligibilityType; - export type Evidence = Stripe.Dispute.Evidence; - export type EvidenceDetails = Stripe.Dispute.EvidenceDetails; - export type PaymentMethodDetails = Stripe.Dispute.PaymentMethodDetails; - export type Status = Stripe.Dispute.Status; + export type EnhancedEligibilityType = Stripe_.Dispute.EnhancedEligibilityType; + export type Evidence = Stripe_.Dispute.Evidence; + export type EvidenceDetails = Stripe_.Dispute.EvidenceDetails; + export type PaymentMethodDetails = Stripe_.Dispute.PaymentMethodDetails; + export type Status = Stripe_.Dispute.Status; export namespace Evidence { - export type EnhancedEvidence = Stripe.Dispute.Evidence.EnhancedEvidence; + export type EnhancedEvidence = Stripe_.Dispute.Evidence.EnhancedEvidence; export namespace EnhancedEvidence { - export type VisaCompellingEvidence3 = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3; - export type VisaCompliance = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompliance; + export type VisaCompellingEvidence3 = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3; + export type VisaCompliance = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompliance; export namespace VisaCompellingEvidence3 { - export type DisputedTransaction = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction; - export type PriorUndisputedTransaction = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.PriorUndisputedTransaction; + export type DisputedTransaction = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction; + export type PriorUndisputedTransaction = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.PriorUndisputedTransaction; export namespace DisputedTransaction { - export type MerchandiseOrServices = Stripe.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction.MerchandiseOrServices; + export type MerchandiseOrServices = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction.MerchandiseOrServices; } } } } export namespace EvidenceDetails { - export type EnhancedEligibility = Stripe.Dispute.EvidenceDetails.EnhancedEligibility; + export type EnhancedEligibility = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility; export namespace EnhancedEligibility { - export type VisaCompellingEvidence3 = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3; - export type VisaCompliance = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance; + export type VisaCompellingEvidence3 = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3; + export type VisaCompliance = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance; export namespace VisaCompellingEvidence3 { - export type RequiredAction = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.RequiredAction; - export type Status = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.Status; + export type RequiredAction = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.RequiredAction; + export type Status = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.Status; } export namespace VisaCompliance { - export type Status = Stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance.Status; + export type Status = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance.Status; } } } export namespace PaymentMethodDetails { - export type AmazonPay = Stripe.Dispute.PaymentMethodDetails.AmazonPay; - export type Card = Stripe.Dispute.PaymentMethodDetails.Card; - export type Klarna = Stripe.Dispute.PaymentMethodDetails.Klarna; - export type Paypal = Stripe.Dispute.PaymentMethodDetails.Paypal; - export type Type = Stripe.Dispute.PaymentMethodDetails.Type; + export type AmazonPay = Stripe_.Dispute.PaymentMethodDetails.AmazonPay; + export type Card = Stripe_.Dispute.PaymentMethodDetails.Card; + export type Klarna = Stripe_.Dispute.PaymentMethodDetails.Klarna; + export type Paypal = Stripe_.Dispute.PaymentMethodDetails.Paypal; + export type Type = Stripe_.Dispute.PaymentMethodDetails.Type; export namespace AmazonPay { - export type DisputeType = Stripe.Dispute.PaymentMethodDetails.AmazonPay.DisputeType; + export type DisputeType = Stripe_.Dispute.PaymentMethodDetails.AmazonPay.DisputeType; } export namespace Card { - export type CaseType = Stripe.Dispute.PaymentMethodDetails.Card.CaseType; + export type CaseType = Stripe_.Dispute.PaymentMethodDetails.Card.CaseType; } } } export namespace Event { - export type Data = Stripe.Event.Data; - export type Request = Stripe.Event.Request; - export type Type = Stripe.Event.Type; + export type Data = Stripe_.Event.Data; + export type Request = Stripe_.Event.Request; + export type Type = Stripe_.Event.Type; export namespace Data { - export type Object = Stripe.Event.Data.Object; - export type PreviousAttributes = Stripe.Event.Data.PreviousAttributes; + export type Object = Stripe_.Event.Data.Object; + export type PreviousAttributes = Stripe_.Event.Data.PreviousAttributes; } } export namespace FileCreateParams { - export type Purpose = Stripe.FileCreateParams.Purpose; - export type FileLinkData = Stripe.FileCreateParams.FileLinkData; + export type Purpose = Stripe_.FileCreateParams.Purpose; + export type FileLinkData = Stripe_.FileCreateParams.FileLinkData; } export namespace FileListParams { - export type Purpose = Stripe.FileListParams.Purpose; + export type Purpose = Stripe_.FileListParams.Purpose; } export namespace File { - export type Purpose = Stripe.File.Purpose; + export type Purpose = Stripe_.File.Purpose; } export namespace InvoiceCreateParams { - export type AutomaticTax = Stripe.InvoiceCreateParams.AutomaticTax; - export type CollectionMethod = Stripe.InvoiceCreateParams.CollectionMethod; - export type CustomField = Stripe.InvoiceCreateParams.CustomField; - export type Discount = Stripe.InvoiceCreateParams.Discount; - export type FromInvoice = Stripe.InvoiceCreateParams.FromInvoice; - export type Issuer = Stripe.InvoiceCreateParams.Issuer; - export type PaymentSettings = Stripe.InvoiceCreateParams.PaymentSettings; - export type PendingInvoiceItemsBehavior = Stripe.InvoiceCreateParams.PendingInvoiceItemsBehavior; - export type Rendering = Stripe.InvoiceCreateParams.Rendering; - export type ShippingCost = Stripe.InvoiceCreateParams.ShippingCost; - export type ShippingDetails = Stripe.InvoiceCreateParams.ShippingDetails; - export type TransferData = Stripe.InvoiceCreateParams.TransferData; + export type AutomaticTax = Stripe_.InvoiceCreateParams.AutomaticTax; + export type CollectionMethod = Stripe_.InvoiceCreateParams.CollectionMethod; + export type CustomField = Stripe_.InvoiceCreateParams.CustomField; + export type Discount = Stripe_.InvoiceCreateParams.Discount; + export type FromInvoice = Stripe_.InvoiceCreateParams.FromInvoice; + export type Issuer = Stripe_.InvoiceCreateParams.Issuer; + export type PaymentSettings = Stripe_.InvoiceCreateParams.PaymentSettings; + export type PendingInvoiceItemsBehavior = Stripe_.InvoiceCreateParams.PendingInvoiceItemsBehavior; + export type Rendering = Stripe_.InvoiceCreateParams.Rendering; + export type ShippingCost = Stripe_.InvoiceCreateParams.ShippingCost; + export type ShippingDetails = Stripe_.InvoiceCreateParams.ShippingDetails; + export type TransferData = Stripe_.InvoiceCreateParams.TransferData; export namespace AutomaticTax { - export type Liability = Stripe.InvoiceCreateParams.AutomaticTax.Liability; + export type Liability = Stripe_.InvoiceCreateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.InvoiceCreateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.InvoiceCreateParams.AutomaticTax.Liability.Type; } } export namespace Issuer { - export type Type = Stripe.InvoiceCreateParams.Issuer.Type; + export type Type = Stripe_.InvoiceCreateParams.Issuer.Type; } export namespace PaymentSettings { - export type PaymentMethodOptions = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions; - export type PaymentMethodType = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodType; + export type PaymentMethodOptions = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodType; export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; - export type Bancontact = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact; - export type Card = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card; - export type CustomerBalance = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; - export type Konbini = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Konbini; - export type Payto = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto; - export type Pix = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type MandateOptions = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type TransactionType = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type TransactionType = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; } export namespace Card { - export type Installments = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments; - export type RequestThreeDSecure = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Installments = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; export namespace Installments { - export type Plan = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan; + export type Plan = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan.Type; + export type Type = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan.Type; } } } export namespace CustomerBalance { - export type BankTransfer = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type EuBankTransfer = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; } } export namespace Payto { - export type MandateOptions = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type Purpose = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type Purpose = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + export type AmountIncludesIof = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; } export namespace Upi { - export type MandateOptions = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export type MandateOptions = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type VerificationMethod = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } } } export namespace Rendering { - export type AmountTaxDisplay = Stripe.InvoiceCreateParams.Rendering.AmountTaxDisplay; - export type Pdf = Stripe.InvoiceCreateParams.Rendering.Pdf; + export type AmountTaxDisplay = Stripe_.InvoiceCreateParams.Rendering.AmountTaxDisplay; + export type Pdf = Stripe_.InvoiceCreateParams.Rendering.Pdf; export namespace Pdf { - export type PageSize = Stripe.InvoiceCreateParams.Rendering.Pdf.PageSize; + export type PageSize = Stripe_.InvoiceCreateParams.Rendering.Pdf.PageSize; } } export namespace ShippingCost { - export type ShippingRateData = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData; + export type ShippingRateData = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData; export namespace ShippingRateData { - export type DeliveryEstimate = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate; - export type FixedAmount = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount; - export type TaxBehavior = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.TaxBehavior; + export type DeliveryEstimate = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.TaxBehavior; export namespace DeliveryEstimate { - export type Maximum = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; - export type Minimum = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; + export type Maximum = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; export namespace Maximum { - export type Unit = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; + export type Unit = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; } export namespace Minimum { - export type Unit = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; + export type Unit = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; } } export namespace FixedAmount { - export type CurrencyOptions = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; + export type CurrencyOptions = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; export namespace CurrencyOptions { - export type TaxBehavior = Stripe.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + export type TaxBehavior = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; } } } } } export namespace InvoiceUpdateParams { - export type AutomaticTax = Stripe.InvoiceUpdateParams.AutomaticTax; - export type CollectionMethod = Stripe.InvoiceUpdateParams.CollectionMethod; - export type CustomField = Stripe.InvoiceUpdateParams.CustomField; - export type Discount = Stripe.InvoiceUpdateParams.Discount; - export type Issuer = Stripe.InvoiceUpdateParams.Issuer; - export type PaymentSettings = Stripe.InvoiceUpdateParams.PaymentSettings; - export type Rendering = Stripe.InvoiceUpdateParams.Rendering; - export type ShippingCost = Stripe.InvoiceUpdateParams.ShippingCost; - export type ShippingDetails = Stripe.InvoiceUpdateParams.ShippingDetails; - export type TransferData = Stripe.InvoiceUpdateParams.TransferData; + export type AutomaticTax = Stripe_.InvoiceUpdateParams.AutomaticTax; + export type CollectionMethod = Stripe_.InvoiceUpdateParams.CollectionMethod; + export type CustomField = Stripe_.InvoiceUpdateParams.CustomField; + export type Discount = Stripe_.InvoiceUpdateParams.Discount; + export type Issuer = Stripe_.InvoiceUpdateParams.Issuer; + export type PaymentSettings = Stripe_.InvoiceUpdateParams.PaymentSettings; + export type Rendering = Stripe_.InvoiceUpdateParams.Rendering; + export type ShippingCost = Stripe_.InvoiceUpdateParams.ShippingCost; + export type ShippingDetails = Stripe_.InvoiceUpdateParams.ShippingDetails; + export type TransferData = Stripe_.InvoiceUpdateParams.TransferData; export namespace AutomaticTax { - export type Liability = Stripe.InvoiceUpdateParams.AutomaticTax.Liability; + export type Liability = Stripe_.InvoiceUpdateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.InvoiceUpdateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.InvoiceUpdateParams.AutomaticTax.Liability.Type; } } export namespace Issuer { - export type Type = Stripe.InvoiceUpdateParams.Issuer.Type; + export type Type = Stripe_.InvoiceUpdateParams.Issuer.Type; } export namespace PaymentSettings { - export type PaymentMethodOptions = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions; - export type PaymentMethodType = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodType; + export type PaymentMethodOptions = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodType; export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; - export type Bancontact = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact; - export type Card = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card; - export type CustomerBalance = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; - export type Konbini = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini; - export type Payto = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto; - export type Pix = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type MandateOptions = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type TransactionType = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type TransactionType = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; } export namespace Card { - export type Installments = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments; - export type RequestThreeDSecure = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Installments = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; export namespace Installments { - export type Plan = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan; + export type Plan = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan.Type; + export type Type = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan.Type; } } } export namespace CustomerBalance { - export type BankTransfer = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type EuBankTransfer = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; } } export namespace Payto { - export type MandateOptions = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type Purpose = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type Purpose = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + export type AmountIncludesIof = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; } export namespace Upi { - export type MandateOptions = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export type MandateOptions = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type VerificationMethod = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } } } export namespace Rendering { - export type AmountTaxDisplay = Stripe.InvoiceUpdateParams.Rendering.AmountTaxDisplay; - export type Pdf = Stripe.InvoiceUpdateParams.Rendering.Pdf; + export type AmountTaxDisplay = Stripe_.InvoiceUpdateParams.Rendering.AmountTaxDisplay; + export type Pdf = Stripe_.InvoiceUpdateParams.Rendering.Pdf; export namespace Pdf { - export type PageSize = Stripe.InvoiceUpdateParams.Rendering.Pdf.PageSize; + export type PageSize = Stripe_.InvoiceUpdateParams.Rendering.Pdf.PageSize; } } export namespace ShippingCost { - export type ShippingRateData = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData; + export type ShippingRateData = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData; export namespace ShippingRateData { - export type DeliveryEstimate = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate; - export type FixedAmount = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount; - export type TaxBehavior = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.TaxBehavior; + export type DeliveryEstimate = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.TaxBehavior; export namespace DeliveryEstimate { - export type Maximum = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; - export type Minimum = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; + export type Maximum = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; export namespace Maximum { - export type Unit = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; + export type Unit = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; } export namespace Minimum { - export type Unit = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; + export type Unit = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; } } export namespace FixedAmount { - export type CurrencyOptions = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; + export type CurrencyOptions = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; export namespace CurrencyOptions { - export type TaxBehavior = Stripe.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + export type TaxBehavior = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; } } } } } export namespace InvoiceListParams { - export type CollectionMethod = Stripe.InvoiceListParams.CollectionMethod; - export type Status = Stripe.InvoiceListParams.Status; + export type CollectionMethod = Stripe_.InvoiceListParams.CollectionMethod; + export type Status = Stripe_.InvoiceListParams.Status; } export namespace InvoiceAddLinesParams { - export type Line = Stripe.InvoiceAddLinesParams.Line; + export type Line = Stripe_.InvoiceAddLinesParams.Line; export namespace Line { - export type Discount = Stripe.InvoiceAddLinesParams.Line.Discount; - export type Period = Stripe.InvoiceAddLinesParams.Line.Period; - export type PriceData = Stripe.InvoiceAddLinesParams.Line.PriceData; - export type Pricing = Stripe.InvoiceAddLinesParams.Line.Pricing; - export type TaxAmount = Stripe.InvoiceAddLinesParams.Line.TaxAmount; + export type Discount = Stripe_.InvoiceAddLinesParams.Line.Discount; + export type Period = Stripe_.InvoiceAddLinesParams.Line.Period; + export type PriceData = Stripe_.InvoiceAddLinesParams.Line.PriceData; + export type Pricing = Stripe_.InvoiceAddLinesParams.Line.Pricing; + export type TaxAmount = Stripe_.InvoiceAddLinesParams.Line.TaxAmount; export namespace PriceData { - export type ProductData = Stripe.InvoiceAddLinesParams.Line.PriceData.ProductData; - export type TaxBehavior = Stripe.InvoiceAddLinesParams.Line.PriceData.TaxBehavior; + export type ProductData = Stripe_.InvoiceAddLinesParams.Line.PriceData.ProductData; + export type TaxBehavior = Stripe_.InvoiceAddLinesParams.Line.PriceData.TaxBehavior; } export namespace TaxAmount { - export type TaxRateData = Stripe.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData; - export type TaxabilityReason = Stripe.InvoiceAddLinesParams.Line.TaxAmount.TaxabilityReason; + export type TaxRateData = Stripe_.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData; + export type TaxabilityReason = Stripe_.InvoiceAddLinesParams.Line.TaxAmount.TaxabilityReason; export namespace TaxRateData { - export type JurisdictionLevel = Stripe.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData.JurisdictionLevel; - export type TaxType = Stripe.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData.TaxType; + export type JurisdictionLevel = Stripe_.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData.JurisdictionLevel; + export type TaxType = Stripe_.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData.TaxType; } } } } export namespace InvoiceCreatePreviewParams { - export type AutomaticTax = Stripe.InvoiceCreatePreviewParams.AutomaticTax; - export type CustomerDetails = Stripe.InvoiceCreatePreviewParams.CustomerDetails; - export type Discount = Stripe.InvoiceCreatePreviewParams.Discount; - export type InvoiceItem = Stripe.InvoiceCreatePreviewParams.InvoiceItem; - export type Issuer = Stripe.InvoiceCreatePreviewParams.Issuer; - export type PreviewMode = Stripe.InvoiceCreatePreviewParams.PreviewMode; - export type ScheduleDetails = Stripe.InvoiceCreatePreviewParams.ScheduleDetails; - export type SubscriptionDetails = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails; + export type AutomaticTax = Stripe_.InvoiceCreatePreviewParams.AutomaticTax; + export type CustomerDetails = Stripe_.InvoiceCreatePreviewParams.CustomerDetails; + export type Discount = Stripe_.InvoiceCreatePreviewParams.Discount; + export type InvoiceItem = Stripe_.InvoiceCreatePreviewParams.InvoiceItem; + export type Issuer = Stripe_.InvoiceCreatePreviewParams.Issuer; + export type PreviewMode = Stripe_.InvoiceCreatePreviewParams.PreviewMode; + export type ScheduleDetails = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails; + export type SubscriptionDetails = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails; export namespace AutomaticTax { - export type Liability = Stripe.InvoiceCreatePreviewParams.AutomaticTax.Liability; + export type Liability = Stripe_.InvoiceCreatePreviewParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.InvoiceCreatePreviewParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.InvoiceCreatePreviewParams.AutomaticTax.Liability.Type; } } export namespace CustomerDetails { - export type Shipping = Stripe.InvoiceCreatePreviewParams.CustomerDetails.Shipping; - export type Tax = Stripe.InvoiceCreatePreviewParams.CustomerDetails.Tax; - export type TaxExempt = Stripe.InvoiceCreatePreviewParams.CustomerDetails.TaxExempt; - export type TaxId = Stripe.InvoiceCreatePreviewParams.CustomerDetails.TaxId; + export type Shipping = Stripe_.InvoiceCreatePreviewParams.CustomerDetails.Shipping; + export type Tax = Stripe_.InvoiceCreatePreviewParams.CustomerDetails.Tax; + export type TaxExempt = Stripe_.InvoiceCreatePreviewParams.CustomerDetails.TaxExempt; + export type TaxId = Stripe_.InvoiceCreatePreviewParams.CustomerDetails.TaxId; export namespace TaxId { - export type Type = Stripe.InvoiceCreatePreviewParams.CustomerDetails.TaxId.Type; + export type Type = Stripe_.InvoiceCreatePreviewParams.CustomerDetails.TaxId.Type; } } export namespace InvoiceItem { - export type Discount = Stripe.InvoiceCreatePreviewParams.InvoiceItem.Discount; - export type Period = Stripe.InvoiceCreatePreviewParams.InvoiceItem.Period; - export type PriceData = Stripe.InvoiceCreatePreviewParams.InvoiceItem.PriceData; - export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.InvoiceItem.TaxBehavior; + export type Discount = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.Discount; + export type Period = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.Period; + export type PriceData = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.PriceData; + export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.TaxBehavior; export namespace PriceData { - export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.InvoiceItem.PriceData.TaxBehavior; + export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.PriceData.TaxBehavior; } } export namespace Issuer { - export type Type = Stripe.InvoiceCreatePreviewParams.Issuer.Type; + export type Type = Stripe_.InvoiceCreatePreviewParams.Issuer.Type; } export namespace ScheduleDetails { - export type BillingMode = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode; - export type EndBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.EndBehavior; - export type Phase = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase; - export type ProrationBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.ProrationBehavior; + export type BillingMode = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode; + export type EndBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.EndBehavior; + export type Phase = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase; + export type ProrationBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.ProrationBehavior; export namespace BillingMode { - export type Flexible = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Flexible; - export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Type; + export type Flexible = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Flexible; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Flexible.ProrationDiscounts; } } export namespace Phase { - export type AddInvoiceItem = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem; - export type AutomaticTax = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax; - export type BillingCycleAnchor = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.BillingCycleAnchor; - export type BillingThresholds = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.BillingThresholds; - export type CollectionMethod = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.CollectionMethod; - export type Discount = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount; - export type Duration = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Duration; - export type InvoiceSettings = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings; - export type Item = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item; - export type ProrationBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.ProrationBehavior; - export type TransferData = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.TransferData; + export type AddInvoiceItem = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.BillingThresholds; + export type CollectionMethod = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.CollectionMethod; + export type Discount = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount; + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Duration; + export type InvoiceSettings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings; + export type Item = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item; + export type ProrationBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.ProrationBehavior; + export type TransferData = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.TransferData; export namespace AddInvoiceItem { - export type Discount = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount; - export type Period = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period; - export type PriceData = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.PriceData; + export type Discount = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount; + export type Period = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period; + export type PriceData = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.PriceData; export namespace Period { - export type End = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.End; - export type Start = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.Start; + export type End = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.Start; export namespace End { - export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.End.Type; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.End.Type; } export namespace Start { - export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.Start.Type; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.Start.Type; } } export namespace PriceData { - export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.PriceData.TaxBehavior; + export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.PriceData.TaxBehavior; } } export namespace AutomaticTax { - export type Liability = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax.Liability; + export type Liability = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax.Liability.Type; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax.Liability.Type; } } export namespace Duration { - export type Interval = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Duration.Interval; + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Duration.Interval; } export namespace InvoiceSettings { - export type Issuer = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings.Issuer; + export type Issuer = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings.Issuer.Type; } } export namespace Item { - export type BillingThresholds = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.BillingThresholds; - export type Discount = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount; - export type PriceData = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData; + export type BillingThresholds = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.BillingThresholds; + export type Discount = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount; + export type PriceData = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData; export namespace PriceData { - export type Recurring = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.Recurring; - export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.TaxBehavior; + export type Recurring = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.Recurring.Interval; + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.Recurring.Interval; } } } } } export namespace SubscriptionDetails { - export type BillingCycleAnchor = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingCycleAnchor; - export type BillingMode = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode; - export type BillingSchedule = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule; - export type CancelAt = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.CancelAt; - export type Item = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item; - export type ProrationBehavior = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.ProrationBehavior; + export type BillingCycleAnchor = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingCycleAnchor; + export type BillingMode = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode; + export type BillingSchedule = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule; + export type CancelAt = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.CancelAt; + export type Item = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item; + export type ProrationBehavior = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.ProrationBehavior; export namespace BillingMode { - export type Flexible = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Flexible; - export type Type = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Type; + export type Flexible = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Flexible; + export type Type = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Flexible.ProrationDiscounts; } } export namespace BillingSchedule { - export type AppliesTo = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.AppliesTo; - export type BillUntil = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil; + export type AppliesTo = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil; export namespace BillUntil { - export type Duration = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Duration; - export type Type = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Type; + export type Duration = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Type; export namespace Duration { - export type Interval = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Duration.Interval; + export type Interval = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule.BillUntil.Duration.Interval; } } } export namespace Item { - export type BillingThresholds = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.BillingThresholds; - export type Discount = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount; - export type PriceData = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData; + export type BillingThresholds = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.BillingThresholds; + export type Discount = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount; + export type PriceData = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData; export namespace PriceData { - export type Recurring = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.Recurring; - export type TaxBehavior = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.TaxBehavior; + export type Recurring = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.Recurring.Interval; + export type Interval = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.Recurring.Interval; } } } } } export namespace InvoiceRemoveLinesParams { - export type Line = Stripe.InvoiceRemoveLinesParams.Line; + export type Line = Stripe_.InvoiceRemoveLinesParams.Line; export namespace Line { - export type Behavior = Stripe.InvoiceRemoveLinesParams.Line.Behavior; + export type Behavior = Stripe_.InvoiceRemoveLinesParams.Line.Behavior; } } export namespace InvoiceUpdateLinesParams { - export type Line = Stripe.InvoiceUpdateLinesParams.Line; + export type Line = Stripe_.InvoiceUpdateLinesParams.Line; export namespace Line { - export type Discount = Stripe.InvoiceUpdateLinesParams.Line.Discount; - export type Period = Stripe.InvoiceUpdateLinesParams.Line.Period; - export type PriceData = Stripe.InvoiceUpdateLinesParams.Line.PriceData; - export type Pricing = Stripe.InvoiceUpdateLinesParams.Line.Pricing; - export type TaxAmount = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount; + export type Discount = Stripe_.InvoiceUpdateLinesParams.Line.Discount; + export type Period = Stripe_.InvoiceUpdateLinesParams.Line.Period; + export type PriceData = Stripe_.InvoiceUpdateLinesParams.Line.PriceData; + export type Pricing = Stripe_.InvoiceUpdateLinesParams.Line.Pricing; + export type TaxAmount = Stripe_.InvoiceUpdateLinesParams.Line.TaxAmount; export namespace PriceData { - export type ProductData = Stripe.InvoiceUpdateLinesParams.Line.PriceData.ProductData; - export type TaxBehavior = Stripe.InvoiceUpdateLinesParams.Line.PriceData.TaxBehavior; + export type ProductData = Stripe_.InvoiceUpdateLinesParams.Line.PriceData.ProductData; + export type TaxBehavior = Stripe_.InvoiceUpdateLinesParams.Line.PriceData.TaxBehavior; } export namespace TaxAmount { - export type TaxRateData = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData; - export type TaxabilityReason = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount.TaxabilityReason; + export type TaxRateData = Stripe_.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData; + export type TaxabilityReason = Stripe_.InvoiceUpdateLinesParams.Line.TaxAmount.TaxabilityReason; export namespace TaxRateData { - export type JurisdictionLevel = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData.JurisdictionLevel; - export type TaxType = Stripe.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData.TaxType; + export type JurisdictionLevel = Stripe_.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData.JurisdictionLevel; + export type TaxType = Stripe_.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData.TaxType; } } } } export namespace InvoiceUpdateLineItemParams { - export type Discount = Stripe.InvoiceUpdateLineItemParams.Discount; - export type Period = Stripe.InvoiceUpdateLineItemParams.Period; - export type PriceData = Stripe.InvoiceUpdateLineItemParams.PriceData; - export type Pricing = Stripe.InvoiceUpdateLineItemParams.Pricing; - export type TaxAmount = Stripe.InvoiceUpdateLineItemParams.TaxAmount; + export type Discount = Stripe_.InvoiceUpdateLineItemParams.Discount; + export type Period = Stripe_.InvoiceUpdateLineItemParams.Period; + export type PriceData = Stripe_.InvoiceUpdateLineItemParams.PriceData; + export type Pricing = Stripe_.InvoiceUpdateLineItemParams.Pricing; + export type TaxAmount = Stripe_.InvoiceUpdateLineItemParams.TaxAmount; export namespace PriceData { - export type ProductData = Stripe.InvoiceUpdateLineItemParams.PriceData.ProductData; - export type TaxBehavior = Stripe.InvoiceUpdateLineItemParams.PriceData.TaxBehavior; + export type ProductData = Stripe_.InvoiceUpdateLineItemParams.PriceData.ProductData; + export type TaxBehavior = Stripe_.InvoiceUpdateLineItemParams.PriceData.TaxBehavior; } export namespace TaxAmount { - export type TaxRateData = Stripe.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData; - export type TaxabilityReason = Stripe.InvoiceUpdateLineItemParams.TaxAmount.TaxabilityReason; + export type TaxRateData = Stripe_.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData; + export type TaxabilityReason = Stripe_.InvoiceUpdateLineItemParams.TaxAmount.TaxabilityReason; export namespace TaxRateData { - export type JurisdictionLevel = Stripe.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData.JurisdictionLevel; - export type TaxType = Stripe.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData.TaxType; + export type JurisdictionLevel = Stripe_.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData.JurisdictionLevel; + export type TaxType = Stripe_.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData.TaxType; } } } export namespace Invoice { - export type AutomaticTax = Stripe.Invoice.AutomaticTax; - export type BillingReason = Stripe.Invoice.BillingReason; - export type CollectionMethod = Stripe.Invoice.CollectionMethod; - export type ConfirmationSecret = Stripe.Invoice.ConfirmationSecret; - export type CustomField = Stripe.Invoice.CustomField; - export type CustomerShipping = Stripe.Invoice.CustomerShipping; - export type CustomerTaxExempt = Stripe.Invoice.CustomerTaxExempt; - export type CustomerTaxId = Stripe.Invoice.CustomerTaxId; - export type FromInvoice = Stripe.Invoice.FromInvoice; - export type Issuer = Stripe.Invoice.Issuer; - export type LastFinalizationError = Stripe.Invoice.LastFinalizationError; - export type Parent = Stripe.Invoice.Parent; - export type PaymentSettings = Stripe.Invoice.PaymentSettings; - export type Rendering = Stripe.Invoice.Rendering; - export type ShippingCost = Stripe.Invoice.ShippingCost; - export type ShippingDetails = Stripe.Invoice.ShippingDetails; - export type Status = Stripe.Invoice.Status; - export type StatusTransitions = Stripe.Invoice.StatusTransitions; - export type ThresholdReason = Stripe.Invoice.ThresholdReason; - export type TotalDiscountAmount = Stripe.Invoice.TotalDiscountAmount; - export type TotalPretaxCreditAmount = Stripe.Invoice.TotalPretaxCreditAmount; - export type TotalTax = Stripe.Invoice.TotalTax; + export type AutomaticTax = Stripe_.Invoice.AutomaticTax; + export type BillingReason = Stripe_.Invoice.BillingReason; + export type CollectionMethod = Stripe_.Invoice.CollectionMethod; + export type ConfirmationSecret = Stripe_.Invoice.ConfirmationSecret; + export type CustomField = Stripe_.Invoice.CustomField; + export type CustomerShipping = Stripe_.Invoice.CustomerShipping; + export type CustomerTaxExempt = Stripe_.Invoice.CustomerTaxExempt; + export type CustomerTaxId = Stripe_.Invoice.CustomerTaxId; + export type FromInvoice = Stripe_.Invoice.FromInvoice; + export type Issuer = Stripe_.Invoice.Issuer; + export type LastFinalizationError = Stripe_.Invoice.LastFinalizationError; + export type Parent = Stripe_.Invoice.Parent; + export type PaymentSettings = Stripe_.Invoice.PaymentSettings; + export type Rendering = Stripe_.Invoice.Rendering; + export type ShippingCost = Stripe_.Invoice.ShippingCost; + export type ShippingDetails = Stripe_.Invoice.ShippingDetails; + export type Status = Stripe_.Invoice.Status; + export type StatusTransitions = Stripe_.Invoice.StatusTransitions; + export type ThresholdReason = Stripe_.Invoice.ThresholdReason; + export type TotalDiscountAmount = Stripe_.Invoice.TotalDiscountAmount; + export type TotalPretaxCreditAmount = Stripe_.Invoice.TotalPretaxCreditAmount; + export type TotalTax = Stripe_.Invoice.TotalTax; export namespace AutomaticTax { - export type DisabledReason = Stripe.Invoice.AutomaticTax.DisabledReason; - export type Liability = Stripe.Invoice.AutomaticTax.Liability; - export type Status = Stripe.Invoice.AutomaticTax.Status; + export type DisabledReason = Stripe_.Invoice.AutomaticTax.DisabledReason; + export type Liability = Stripe_.Invoice.AutomaticTax.Liability; + export type Status = Stripe_.Invoice.AutomaticTax.Status; export namespace Liability { - export type Type = Stripe.Invoice.AutomaticTax.Liability.Type; + export type Type = Stripe_.Invoice.AutomaticTax.Liability.Type; } } export namespace CustomerTaxId { - export type Type = Stripe.Invoice.CustomerTaxId.Type; + export type Type = Stripe_.Invoice.CustomerTaxId.Type; } export namespace Issuer { - export type Type = Stripe.Invoice.Issuer.Type; + export type Type = Stripe_.Invoice.Issuer.Type; } export namespace LastFinalizationError { - export type Code = Stripe.Invoice.LastFinalizationError.Code; - export type Type = Stripe.Invoice.LastFinalizationError.Type; + export type Code = Stripe_.Invoice.LastFinalizationError.Code; + export type Type = Stripe_.Invoice.LastFinalizationError.Type; } export namespace Parent { - export type QuoteDetails = Stripe.Invoice.Parent.QuoteDetails; - export type SubscriptionDetails = Stripe.Invoice.Parent.SubscriptionDetails; - export type Type = Stripe.Invoice.Parent.Type; + export type QuoteDetails = Stripe_.Invoice.Parent.QuoteDetails; + export type SubscriptionDetails = Stripe_.Invoice.Parent.SubscriptionDetails; + export type Type = Stripe_.Invoice.Parent.Type; } export namespace PaymentSettings { - export type PaymentMethodOptions = Stripe.Invoice.PaymentSettings.PaymentMethodOptions; - export type PaymentMethodType = Stripe.Invoice.PaymentSettings.PaymentMethodType; + export type PaymentMethodOptions = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.Invoice.PaymentSettings.PaymentMethodType; export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit; - export type Bancontact = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Bancontact; - export type Card = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Card; - export type CustomerBalance = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance; - export type Konbini = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Konbini; - export type Payto = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Payto; - export type Pix = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type MandateOptions = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type TransactionType = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type TransactionType = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; } export namespace Card { - export type Installments = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Card.Installments; - export type RequestThreeDSecure = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Installments = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; } export namespace CustomerBalance { - export type BankTransfer = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type EuBankTransfer = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; export namespace EuBankTransfer { - export type Country = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + export type Country = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; } } } export namespace Payto { - export type MandateOptions = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type Purpose = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type Purpose = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + export type AmountIncludesIof = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; } export namespace Upi { - export type MandateOptions = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export type MandateOptions = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type VerificationMethod = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } } } export namespace Rendering { - export type Pdf = Stripe.Invoice.Rendering.Pdf; + export type Pdf = Stripe_.Invoice.Rendering.Pdf; export namespace Pdf { - export type PageSize = Stripe.Invoice.Rendering.Pdf.PageSize; + export type PageSize = Stripe_.Invoice.Rendering.Pdf.PageSize; } } export namespace ShippingCost { - export type Tax = Stripe.Invoice.ShippingCost.Tax; + export type Tax = Stripe_.Invoice.ShippingCost.Tax; export namespace Tax { - export type TaxabilityReason = Stripe.Invoice.ShippingCost.Tax.TaxabilityReason; + export type TaxabilityReason = Stripe_.Invoice.ShippingCost.Tax.TaxabilityReason; } } export namespace ThresholdReason { - export type ItemReason = Stripe.Invoice.ThresholdReason.ItemReason; + export type ItemReason = Stripe_.Invoice.ThresholdReason.ItemReason; } export namespace TotalPretaxCreditAmount { - export type Type = Stripe.Invoice.TotalPretaxCreditAmount.Type; + export type Type = Stripe_.Invoice.TotalPretaxCreditAmount.Type; } export namespace TotalTax { - export type TaxBehavior = Stripe.Invoice.TotalTax.TaxBehavior; - export type TaxRateDetails = Stripe.Invoice.TotalTax.TaxRateDetails; - export type TaxabilityReason = Stripe.Invoice.TotalTax.TaxabilityReason; + export type TaxBehavior = Stripe_.Invoice.TotalTax.TaxBehavior; + export type TaxRateDetails = Stripe_.Invoice.TotalTax.TaxRateDetails; + export type TaxabilityReason = Stripe_.Invoice.TotalTax.TaxabilityReason; } } export namespace InvoiceItemCreateParams { - export type Discount = Stripe.InvoiceItemCreateParams.Discount; - export type Period = Stripe.InvoiceItemCreateParams.Period; - export type PriceData = Stripe.InvoiceItemCreateParams.PriceData; - export type Pricing = Stripe.InvoiceItemCreateParams.Pricing; - export type TaxBehavior = Stripe.InvoiceItemCreateParams.TaxBehavior; + export type Discount = Stripe_.InvoiceItemCreateParams.Discount; + export type Period = Stripe_.InvoiceItemCreateParams.Period; + export type PriceData = Stripe_.InvoiceItemCreateParams.PriceData; + export type Pricing = Stripe_.InvoiceItemCreateParams.Pricing; + export type TaxBehavior = Stripe_.InvoiceItemCreateParams.TaxBehavior; export namespace PriceData { - export type TaxBehavior = Stripe.InvoiceItemCreateParams.PriceData.TaxBehavior; + export type TaxBehavior = Stripe_.InvoiceItemCreateParams.PriceData.TaxBehavior; } } export namespace InvoiceItemUpdateParams { - export type Discount = Stripe.InvoiceItemUpdateParams.Discount; - export type Period = Stripe.InvoiceItemUpdateParams.Period; - export type PriceData = Stripe.InvoiceItemUpdateParams.PriceData; - export type Pricing = Stripe.InvoiceItemUpdateParams.Pricing; - export type TaxBehavior = Stripe.InvoiceItemUpdateParams.TaxBehavior; + export type Discount = Stripe_.InvoiceItemUpdateParams.Discount; + export type Period = Stripe_.InvoiceItemUpdateParams.Period; + export type PriceData = Stripe_.InvoiceItemUpdateParams.PriceData; + export type Pricing = Stripe_.InvoiceItemUpdateParams.Pricing; + export type TaxBehavior = Stripe_.InvoiceItemUpdateParams.TaxBehavior; export namespace PriceData { - export type TaxBehavior = Stripe.InvoiceItemUpdateParams.PriceData.TaxBehavior; + export type TaxBehavior = Stripe_.InvoiceItemUpdateParams.PriceData.TaxBehavior; } } export namespace InvoiceItem { - export type Parent = Stripe.InvoiceItem.Parent; - export type Period = Stripe.InvoiceItem.Period; - export type Pricing = Stripe.InvoiceItem.Pricing; - export type ProrationDetails = Stripe.InvoiceItem.ProrationDetails; + export type Parent = Stripe_.InvoiceItem.Parent; + export type Period = Stripe_.InvoiceItem.Period; + export type Pricing = Stripe_.InvoiceItem.Pricing; + export type ProrationDetails = Stripe_.InvoiceItem.ProrationDetails; export namespace Parent { - export type SubscriptionDetails = Stripe.InvoiceItem.Parent.SubscriptionDetails; + export type SubscriptionDetails = Stripe_.InvoiceItem.Parent.SubscriptionDetails; } export namespace Pricing { - export type PriceDetails = Stripe.InvoiceItem.Pricing.PriceDetails; + export type PriceDetails = Stripe_.InvoiceItem.Pricing.PriceDetails; } export namespace ProrationDetails { - export type CreditedItems = Stripe.InvoiceItem.ProrationDetails.CreditedItems; - export type DiscountAmount = Stripe.InvoiceItem.ProrationDetails.DiscountAmount; + export type CreditedItems = Stripe_.InvoiceItem.ProrationDetails.CreditedItems; + export type DiscountAmount = Stripe_.InvoiceItem.ProrationDetails.DiscountAmount; export namespace CreditedItems { - export type InvoiceLineItemDetails = Stripe.InvoiceItem.ProrationDetails.CreditedItems.InvoiceLineItemDetails; - export type Type = Stripe.InvoiceItem.ProrationDetails.CreditedItems.Type; + export type InvoiceLineItemDetails = Stripe_.InvoiceItem.ProrationDetails.CreditedItems.InvoiceLineItemDetails; + export type Type = Stripe_.InvoiceItem.ProrationDetails.CreditedItems.Type; } } } export namespace InvoicePaymentListParams { - export type Payment = Stripe.InvoicePaymentListParams.Payment; - export type Status = Stripe.InvoicePaymentListParams.Status; + export type Payment = Stripe_.InvoicePaymentListParams.Payment; + export type Status = Stripe_.InvoicePaymentListParams.Status; export namespace Payment { - export type Type = Stripe.InvoicePaymentListParams.Payment.Type; + export type Type = Stripe_.InvoicePaymentListParams.Payment.Type; } } export namespace InvoicePayment { - export type Payment = Stripe.InvoicePayment.Payment; - export type StatusTransitions = Stripe.InvoicePayment.StatusTransitions; + export type Payment = Stripe_.InvoicePayment.Payment; + export type StatusTransitions = Stripe_.InvoicePayment.StatusTransitions; export namespace Payment { - export type Type = Stripe.InvoicePayment.Payment.Type; + export type Type = Stripe_.InvoicePayment.Payment.Type; } } export namespace InvoiceRenderingTemplateListParams { - export type Status = Stripe.InvoiceRenderingTemplateListParams.Status; + export type Status = Stripe_.InvoiceRenderingTemplateListParams.Status; } export namespace InvoiceRenderingTemplate { - export type Status = Stripe.InvoiceRenderingTemplate.Status; + export type Status = Stripe_.InvoiceRenderingTemplate.Status; } export namespace Mandate { - export type CustomerAcceptance = Stripe.Mandate.CustomerAcceptance; - export type MultiUse = Stripe.Mandate.MultiUse; - export type PaymentMethodDetails = Stripe.Mandate.PaymentMethodDetails; - export type SingleUse = Stripe.Mandate.SingleUse; - export type Status = Stripe.Mandate.Status; - export type Type = Stripe.Mandate.Type; + export type CustomerAcceptance = Stripe_.Mandate.CustomerAcceptance; + export type MultiUse = Stripe_.Mandate.MultiUse; + export type PaymentMethodDetails = Stripe_.Mandate.PaymentMethodDetails; + export type SingleUse = Stripe_.Mandate.SingleUse; + export type Status = Stripe_.Mandate.Status; + export type Type = Stripe_.Mandate.Type; export namespace CustomerAcceptance { - export type Offline = Stripe.Mandate.CustomerAcceptance.Offline; - export type Online = Stripe.Mandate.CustomerAcceptance.Online; - export type Type = Stripe.Mandate.CustomerAcceptance.Type; + export type Offline = Stripe_.Mandate.CustomerAcceptance.Offline; + export type Online = Stripe_.Mandate.CustomerAcceptance.Online; + export type Type = Stripe_.Mandate.CustomerAcceptance.Type; } export namespace PaymentMethodDetails { - export type AcssDebit = Stripe.Mandate.PaymentMethodDetails.AcssDebit; - export type AmazonPay = Stripe.Mandate.PaymentMethodDetails.AmazonPay; - export type AuBecsDebit = Stripe.Mandate.PaymentMethodDetails.AuBecsDebit; - export type BacsDebit = Stripe.Mandate.PaymentMethodDetails.BacsDebit; - export type Card = Stripe.Mandate.PaymentMethodDetails.Card; - export type Cashapp = Stripe.Mandate.PaymentMethodDetails.Cashapp; - export type KakaoPay = Stripe.Mandate.PaymentMethodDetails.KakaoPay; - export type Klarna = Stripe.Mandate.PaymentMethodDetails.Klarna; - export type KrCard = Stripe.Mandate.PaymentMethodDetails.KrCard; - export type Link = Stripe.Mandate.PaymentMethodDetails.Link; - export type NaverPay = Stripe.Mandate.PaymentMethodDetails.NaverPay; - export type NzBankAccount = Stripe.Mandate.PaymentMethodDetails.NzBankAccount; - export type Paypal = Stripe.Mandate.PaymentMethodDetails.Paypal; - export type Payto = Stripe.Mandate.PaymentMethodDetails.Payto; - export type Pix = Stripe.Mandate.PaymentMethodDetails.Pix; - export type RevolutPay = Stripe.Mandate.PaymentMethodDetails.RevolutPay; - export type SepaDebit = Stripe.Mandate.PaymentMethodDetails.SepaDebit; - export type Twint = Stripe.Mandate.PaymentMethodDetails.Twint; - export type Upi = Stripe.Mandate.PaymentMethodDetails.Upi; - export type UsBankAccount = Stripe.Mandate.PaymentMethodDetails.UsBankAccount; + export type AcssDebit = Stripe_.Mandate.PaymentMethodDetails.AcssDebit; + export type AmazonPay = Stripe_.Mandate.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.Mandate.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.Mandate.PaymentMethodDetails.BacsDebit; + export type Card = Stripe_.Mandate.PaymentMethodDetails.Card; + export type Cashapp = Stripe_.Mandate.PaymentMethodDetails.Cashapp; + export type KakaoPay = Stripe_.Mandate.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.Mandate.PaymentMethodDetails.Klarna; + export type KrCard = Stripe_.Mandate.PaymentMethodDetails.KrCard; + export type Link = Stripe_.Mandate.PaymentMethodDetails.Link; + export type NaverPay = Stripe_.Mandate.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.Mandate.PaymentMethodDetails.NzBankAccount; + export type Paypal = Stripe_.Mandate.PaymentMethodDetails.Paypal; + export type Payto = Stripe_.Mandate.PaymentMethodDetails.Payto; + export type Pix = Stripe_.Mandate.PaymentMethodDetails.Pix; + export type RevolutPay = Stripe_.Mandate.PaymentMethodDetails.RevolutPay; + export type SepaDebit = Stripe_.Mandate.PaymentMethodDetails.SepaDebit; + export type Twint = Stripe_.Mandate.PaymentMethodDetails.Twint; + export type Upi = Stripe_.Mandate.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.Mandate.PaymentMethodDetails.UsBankAccount; export namespace AcssDebit { - export type DefaultFor = Stripe.Mandate.PaymentMethodDetails.AcssDebit.DefaultFor; - export type PaymentSchedule = Stripe.Mandate.PaymentMethodDetails.AcssDebit.PaymentSchedule; - export type TransactionType = Stripe.Mandate.PaymentMethodDetails.AcssDebit.TransactionType; + export type DefaultFor = Stripe_.Mandate.PaymentMethodDetails.AcssDebit.DefaultFor; + export type PaymentSchedule = Stripe_.Mandate.PaymentMethodDetails.AcssDebit.PaymentSchedule; + export type TransactionType = Stripe_.Mandate.PaymentMethodDetails.AcssDebit.TransactionType; } export namespace BacsDebit { - export type NetworkStatus = Stripe.Mandate.PaymentMethodDetails.BacsDebit.NetworkStatus; - export type RevocationReason = Stripe.Mandate.PaymentMethodDetails.BacsDebit.RevocationReason; + export type NetworkStatus = Stripe_.Mandate.PaymentMethodDetails.BacsDebit.NetworkStatus; + export type RevocationReason = Stripe_.Mandate.PaymentMethodDetails.BacsDebit.RevocationReason; } export namespace Payto { - export type AmountType = Stripe.Mandate.PaymentMethodDetails.Payto.AmountType; - export type PaymentSchedule = Stripe.Mandate.PaymentMethodDetails.Payto.PaymentSchedule; - export type Purpose = Stripe.Mandate.PaymentMethodDetails.Payto.Purpose; + export type AmountType = Stripe_.Mandate.PaymentMethodDetails.Payto.AmountType; + export type PaymentSchedule = Stripe_.Mandate.PaymentMethodDetails.Payto.PaymentSchedule; + export type Purpose = Stripe_.Mandate.PaymentMethodDetails.Payto.Purpose; } export namespace Pix { - export type AmountIncludesIof = Stripe.Mandate.PaymentMethodDetails.Pix.AmountIncludesIof; - export type AmountType = Stripe.Mandate.PaymentMethodDetails.Pix.AmountType; - export type PaymentSchedule = Stripe.Mandate.PaymentMethodDetails.Pix.PaymentSchedule; + export type AmountIncludesIof = Stripe_.Mandate.PaymentMethodDetails.Pix.AmountIncludesIof; + export type AmountType = Stripe_.Mandate.PaymentMethodDetails.Pix.AmountType; + export type PaymentSchedule = Stripe_.Mandate.PaymentMethodDetails.Pix.PaymentSchedule; } export namespace Upi { - export type AmountType = Stripe.Mandate.PaymentMethodDetails.Upi.AmountType; + export type AmountType = Stripe_.Mandate.PaymentMethodDetails.Upi.AmountType; } } } export namespace PaymentAttemptRecord { - export type Amount = Stripe.PaymentAttemptRecord.Amount; - export type AmountAuthorized = Stripe.PaymentAttemptRecord.AmountAuthorized; - export type AmountCanceled = Stripe.PaymentAttemptRecord.AmountCanceled; - export type AmountFailed = Stripe.PaymentAttemptRecord.AmountFailed; - export type AmountGuaranteed = Stripe.PaymentAttemptRecord.AmountGuaranteed; - export type AmountRefunded = Stripe.PaymentAttemptRecord.AmountRefunded; - export type AmountRequested = Stripe.PaymentAttemptRecord.AmountRequested; - export type CustomerDetails = Stripe.PaymentAttemptRecord.CustomerDetails; - export type CustomerPresence = Stripe.PaymentAttemptRecord.CustomerPresence; - export type PaymentMethodDetails = Stripe.PaymentAttemptRecord.PaymentMethodDetails; - export type ProcessorDetails = Stripe.PaymentAttemptRecord.ProcessorDetails; - export type ReportedBy = Stripe.PaymentAttemptRecord.ReportedBy; - export type ShippingDetails = Stripe.PaymentAttemptRecord.ShippingDetails; + export type Amount = Stripe_.PaymentAttemptRecord.Amount; + export type AmountAuthorized = Stripe_.PaymentAttemptRecord.AmountAuthorized; + export type AmountCanceled = Stripe_.PaymentAttemptRecord.AmountCanceled; + export type AmountFailed = Stripe_.PaymentAttemptRecord.AmountFailed; + export type AmountGuaranteed = Stripe_.PaymentAttemptRecord.AmountGuaranteed; + export type AmountRefunded = Stripe_.PaymentAttemptRecord.AmountRefunded; + export type AmountRequested = Stripe_.PaymentAttemptRecord.AmountRequested; + export type CustomerDetails = Stripe_.PaymentAttemptRecord.CustomerDetails; + export type CustomerPresence = Stripe_.PaymentAttemptRecord.CustomerPresence; + export type PaymentMethodDetails = Stripe_.PaymentAttemptRecord.PaymentMethodDetails; + export type ProcessorDetails = Stripe_.PaymentAttemptRecord.ProcessorDetails; + export type ReportedBy = Stripe_.PaymentAttemptRecord.ReportedBy; + export type ShippingDetails = Stripe_.PaymentAttemptRecord.ShippingDetails; export namespace PaymentMethodDetails { - export type AchCreditTransfer = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AchCreditTransfer; - export type AchDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AchDebit; - export type AcssDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AcssDebit; - export type Affirm = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Affirm; - export type AfterpayClearpay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AfterpayClearpay; - export type Alipay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Alipay; - export type Alma = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Alma; - export type AmazonPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay; - export type AuBecsDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AuBecsDebit; - export type BacsDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.BacsDebit; - export type Bancontact = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Bancontact; - export type Billie = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Billie; - export type BillingDetails = Stripe.PaymentAttemptRecord.PaymentMethodDetails.BillingDetails; - export type Bizum = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Bizum; - export type Blik = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Blik; - export type Boleto = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Boleto; - export type Card = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card; - export type CardPresent = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent; - export type Cashapp = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Cashapp; - export type Crypto = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Crypto; - export type Custom = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Custom; - export type CustomerBalance = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CustomerBalance; - export type Eps = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Eps; - export type Fpx = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Fpx; - export type Giropay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Giropay; - export type Grabpay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Grabpay; - export type Ideal = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Ideal; - export type InteracPresent = Stripe.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent; - export type KakaoPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.KakaoPay; - export type Klarna = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Klarna; - export type Konbini = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Konbini; - export type KrCard = Stripe.PaymentAttemptRecord.PaymentMethodDetails.KrCard; - export type Link = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Link; - export type MbWay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.MbWay; - export type Mobilepay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Mobilepay; - export type Multibanco = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Multibanco; - export type NaverPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.NaverPay; - export type NzBankAccount = Stripe.PaymentAttemptRecord.PaymentMethodDetails.NzBankAccount; - export type Oxxo = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Oxxo; - export type P24 = Stripe.PaymentAttemptRecord.PaymentMethodDetails.P24; - export type PayByBank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.PayByBank; - export type Payco = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Payco; - export type Paynow = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paynow; - export type Paypal = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paypal; - export type Payto = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Payto; - export type Pix = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Pix; - export type Promptpay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Promptpay; - export type RevolutPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay; - export type SamsungPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.SamsungPay; - export type Satispay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Satispay; - export type Scalapay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Scalapay; - export type SepaCreditTransfer = Stripe.PaymentAttemptRecord.PaymentMethodDetails.SepaCreditTransfer; - export type SepaDebit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.SepaDebit; - export type Sofort = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Sofort; - export type StripeAccount = Stripe.PaymentAttemptRecord.PaymentMethodDetails.StripeAccount; - export type Sunbit = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Sunbit; - export type Swish = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Swish; - export type Twint = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Twint; - export type Upi = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Upi; - export type UsBankAccount = Stripe.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount; - export type Wechat = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Wechat; - export type WechatPay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.WechatPay; - export type Zip = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Zip; + export type AchCreditTransfer = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Alipay; + export type Alma = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Bancontact; + export type Billie = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Billie; + export type BillingDetails = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.BillingDetails; + export type Bizum = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Bizum; + export type Blik = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Blik; + export type Boleto = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Boleto; + export type Card = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card; + export type CardPresent = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Crypto; + export type Custom = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Custom; + export type CustomerBalance = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Eps; + export type Fpx = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Fpx; + export type Giropay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Giropay; + export type Grabpay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Grabpay; + export type Ideal = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Klarna; + export type Konbini = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Konbini; + export type KrCard = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.KrCard; + export type Link = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Link; + export type MbWay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Oxxo; + export type P24 = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.P24; + export type PayByBank = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.PayByBank; + export type Payco = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Payco; + export type Paynow = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Paynow; + export type Paypal = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Paypal; + export type Payto = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Payto; + export type Pix = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Pix; + export type Promptpay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Promptpay; + export type RevolutPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Scalapay; + export type SepaCreditTransfer = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SepaCreditTransfer; + export type SepaDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Sofort; + export type StripeAccount = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.StripeAccount; + export type Sunbit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Sunbit; + export type Swish = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Swish; + export type Twint = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Twint; + export type Upi = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount; + export type Wechat = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Wechat; + export type WechatPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.WechatPay; + export type Zip = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Zip; export namespace AchDebit { - export type AccountHolderType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AchDebit.AccountHolderType; + export type AccountHolderType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AchDebit.AccountHolderType; } export namespace Alma { - export type Installments = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Alma.Installments; + export type Installments = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Alma.Installments; } export namespace AmazonPay { - export type Funding = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay.Funding; + export type Funding = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay.Funding; export namespace Funding { - export type Card = Stripe.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay.Funding.Card; + export type Card = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay.Funding.Card; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Bancontact.PreferredLanguage; } export namespace Card { - export type Brand = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Brand; - export type Checks = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks; - export type Funding = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Funding; - export type Installments = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments; - export type Network = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Network; - export type NetworkToken = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.NetworkToken; - export type StoredCredentialUsage = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.StoredCredentialUsage; - export type ThreeDSecure = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure; - export type Wallet = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet; + export type Brand = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Brand; + export type Checks = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks; + export type Funding = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Funding; + export type Installments = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments; + export type Network = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Network; + export type NetworkToken = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.NetworkToken; + export type StoredCredentialUsage = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.StoredCredentialUsage; + export type ThreeDSecure = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet; export namespace Checks { - export type AddressLine1Check = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.AddressLine1Check; - export type AddressPostalCodeCheck = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; - export type CvcCheck = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.CvcCheck; + export type AddressLine1Check = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Checks.CvcCheck; } export namespace Installments { - export type Plan = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments.Plan; + export type Plan = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments.Plan.Type; + export type Type = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Installments.Plan.Type; } } export namespace ThreeDSecure { - export type AuthenticationFlow = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; - export type ElectronicCommerceIndicator = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type ExemptionIndicator = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; - export type Result = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.Result; - export type ResultReason = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; - export type Version = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.Version; + export type AuthenticationFlow = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; + export type Result = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.ThreeDSecure.Version; } export namespace Wallet { - export type ApplePay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet.ApplePay; - export type GooglePay = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet.GooglePay; + export type ApplePay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card.Wallet.GooglePay; } } export namespace CardPresent { - export type Offline = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Offline; - export type ReadMethod = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.ReadMethod; - export type Receipt = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt; - export type Wallet = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Wallet; + export type Offline = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Wallet; export namespace Receipt { - export type AccountType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType; + export type AccountType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType; } export namespace Wallet { - export type Type = Stripe.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Wallet.Type; + export type Type = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Wallet.Type; } } export namespace Crypto { - export type Network = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Crypto.Network; - export type TokenCurrency = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Crypto.TokenCurrency; + export type Network = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Crypto.Network; + export type TokenCurrency = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Crypto.TokenCurrency; } export namespace Eps { - export type Bank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Eps.Bank; + export type Bank = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Fpx.AccountHolderType; - export type Bank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Fpx.Bank; + export type AccountHolderType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Ideal.Bank; - export type Bic = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Ideal.Bic; + export type Bank = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Ideal.Bic; } export namespace InteracPresent { - export type ReadMethod = Stripe.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.ReadMethod; - export type Receipt = Stripe.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.Receipt; + export type ReadMethod = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.ReadMethod; + export type Receipt = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.Receipt; export namespace Receipt { - export type AccountType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.Receipt.AccountType; + export type AccountType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent.Receipt.AccountType; } } export namespace Klarna { - export type PayerDetails = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Klarna.PayerDetails; + export type PayerDetails = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Klarna.PayerDetails; export namespace PayerDetails { - export type Address = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Klarna.PayerDetails.Address; + export type Address = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Klarna.PayerDetails.Address; } } export namespace Konbini { - export type Store = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Konbini.Store; + export type Store = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Konbini.Store; export namespace Store { - export type Chain = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Konbini.Store.Chain; + export type Chain = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Konbini.Store.Chain; } } export namespace KrCard { - export type Brand = Stripe.PaymentAttemptRecord.PaymentMethodDetails.KrCard.Brand; + export type Brand = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.KrCard.Brand; } export namespace Mobilepay { - export type Card = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Mobilepay.Card; + export type Card = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Mobilepay.Card; } export namespace P24 { - export type Bank = Stripe.PaymentAttemptRecord.PaymentMethodDetails.P24.Bank; + export type Bank = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.P24.Bank; } export namespace Paypal { - export type SellerProtection = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection; + export type SellerProtection = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection; export namespace SellerProtection { - export type DisputeCategory = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; - export type Status = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection.Status; + export type DisputeCategory = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; + export type Status = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Paypal.SellerProtection.Status; } } export namespace RevolutPay { - export type Funding = Stripe.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay.Funding; + export type Funding = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay.Funding; export namespace Funding { - export type Card = Stripe.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay.Funding.Card; + export type Card = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay.Funding.Card; } } export namespace Sofort { - export type PreferredLanguage = Stripe.PaymentAttemptRecord.PaymentMethodDetails.Sofort.PreferredLanguage; + export type PreferredLanguage = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Sofort.PreferredLanguage; } export namespace UsBankAccount { - export type AccountHolderType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount.AccountType; } } export namespace ProcessorDetails { - export type Custom = Stripe.PaymentAttemptRecord.ProcessorDetails.Custom; + export type Custom = Stripe_.PaymentAttemptRecord.ProcessorDetails.Custom; } } export namespace PaymentIntentCreateParams { - export type AmountDetails = Stripe.PaymentIntentCreateParams.AmountDetails; - export type AutomaticPaymentMethods = Stripe.PaymentIntentCreateParams.AutomaticPaymentMethods; - export type CaptureMethod = Stripe.PaymentIntentCreateParams.CaptureMethod; - export type ConfirmationMethod = Stripe.PaymentIntentCreateParams.ConfirmationMethod; - export type ExcludedPaymentMethodType = Stripe.PaymentIntentCreateParams.ExcludedPaymentMethodType; - export type Hooks = Stripe.PaymentIntentCreateParams.Hooks; - export type MandateData = Stripe.PaymentIntentCreateParams.MandateData; - export type OffSession = Stripe.PaymentIntentCreateParams.OffSession; - export type PaymentDetails = Stripe.PaymentIntentCreateParams.PaymentDetails; - export type PaymentMethodData = Stripe.PaymentIntentCreateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions; - export type RadarOptions = Stripe.PaymentIntentCreateParams.RadarOptions; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.SetupFutureUsage; - export type Shipping = Stripe.PaymentIntentCreateParams.Shipping; - export type TransferData = Stripe.PaymentIntentCreateParams.TransferData; + export type AmountDetails = Stripe_.PaymentIntentCreateParams.AmountDetails; + export type AutomaticPaymentMethods = Stripe_.PaymentIntentCreateParams.AutomaticPaymentMethods; + export type CaptureMethod = Stripe_.PaymentIntentCreateParams.CaptureMethod; + export type ConfirmationMethod = Stripe_.PaymentIntentCreateParams.ConfirmationMethod; + export type ExcludedPaymentMethodType = Stripe_.PaymentIntentCreateParams.ExcludedPaymentMethodType; + export type Hooks = Stripe_.PaymentIntentCreateParams.Hooks; + export type MandateData = Stripe_.PaymentIntentCreateParams.MandateData; + export type OffSession = Stripe_.PaymentIntentCreateParams.OffSession; + export type PaymentDetails = Stripe_.PaymentIntentCreateParams.PaymentDetails; + export type PaymentMethodData = Stripe_.PaymentIntentCreateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions; + export type RadarOptions = Stripe_.PaymentIntentCreateParams.RadarOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.SetupFutureUsage; + export type Shipping = Stripe_.PaymentIntentCreateParams.Shipping; + export type TransferData = Stripe_.PaymentIntentCreateParams.TransferData; export namespace AmountDetails { - export type LineItem = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem; - export type Shipping = Stripe.PaymentIntentCreateParams.AmountDetails.Shipping; - export type Tax = Stripe.PaymentIntentCreateParams.AmountDetails.Tax; + export type LineItem = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentCreateParams.AmountDetails.Shipping; + export type Tax = Stripe_.PaymentIntentCreateParams.AmountDetails.Tax; export namespace LineItem { - export type PaymentMethodOptions = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions; - export type Tax = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.Tax; + export type PaymentMethodOptions = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.Tax; export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; - export type Paypal = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export type Card = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; export namespace Paypal { - export type Category = Stripe.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + export type Category = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; } } } } export namespace AutomaticPaymentMethods { - export type AllowRedirects = Stripe.PaymentIntentCreateParams.AutomaticPaymentMethods.AllowRedirects; + export type AllowRedirects = Stripe_.PaymentIntentCreateParams.AutomaticPaymentMethods.AllowRedirects; } export namespace Hooks { - export type Inputs = Stripe.PaymentIntentCreateParams.Hooks.Inputs; + export type Inputs = Stripe_.PaymentIntentCreateParams.Hooks.Inputs; export namespace Inputs { - export type Tax = Stripe.PaymentIntentCreateParams.Hooks.Inputs.Tax; + export type Tax = Stripe_.PaymentIntentCreateParams.Hooks.Inputs.Tax; } } export namespace MandateData { - export type CustomerAcceptance = Stripe.PaymentIntentCreateParams.MandateData.CustomerAcceptance; + export type CustomerAcceptance = Stripe_.PaymentIntentCreateParams.MandateData.CustomerAcceptance; export namespace CustomerAcceptance { - export type Offline = Stripe.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Offline; - export type Online = Stripe.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Online; - export type Type = Stripe.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Type; + export type Offline = Stripe_.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe_.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe_.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Type; } } export namespace PaymentMethodData { - export type AcssDebit = Stripe.PaymentIntentCreateParams.PaymentMethodData.AcssDebit; - export type Affirm = Stripe.PaymentIntentCreateParams.PaymentMethodData.Affirm; - export type AfterpayClearpay = Stripe.PaymentIntentCreateParams.PaymentMethodData.AfterpayClearpay; - export type Alipay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Alipay; - export type AllowRedisplay = Stripe.PaymentIntentCreateParams.PaymentMethodData.AllowRedisplay; - export type Alma = Stripe.PaymentIntentCreateParams.PaymentMethodData.Alma; - export type AmazonPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.AmazonPay; - export type AuBecsDebit = Stripe.PaymentIntentCreateParams.PaymentMethodData.AuBecsDebit; - export type BacsDebit = Stripe.PaymentIntentCreateParams.PaymentMethodData.BacsDebit; - export type Bancontact = Stripe.PaymentIntentCreateParams.PaymentMethodData.Bancontact; - export type Billie = Stripe.PaymentIntentCreateParams.PaymentMethodData.Billie; - export type BillingDetails = Stripe.PaymentIntentCreateParams.PaymentMethodData.BillingDetails; - export type Bizum = Stripe.PaymentIntentCreateParams.PaymentMethodData.Bizum; - export type Blik = Stripe.PaymentIntentCreateParams.PaymentMethodData.Blik; - export type Boleto = Stripe.PaymentIntentCreateParams.PaymentMethodData.Boleto; - export type Cashapp = Stripe.PaymentIntentCreateParams.PaymentMethodData.Cashapp; - export type Crypto = Stripe.PaymentIntentCreateParams.PaymentMethodData.Crypto; - export type CustomerBalance = Stripe.PaymentIntentCreateParams.PaymentMethodData.CustomerBalance; - export type Eps = Stripe.PaymentIntentCreateParams.PaymentMethodData.Eps; - export type Fpx = Stripe.PaymentIntentCreateParams.PaymentMethodData.Fpx; - export type Giropay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Giropay; - export type Grabpay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Grabpay; - export type Ideal = Stripe.PaymentIntentCreateParams.PaymentMethodData.Ideal; - export type InteracPresent = Stripe.PaymentIntentCreateParams.PaymentMethodData.InteracPresent; - export type KakaoPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.KakaoPay; - export type Klarna = Stripe.PaymentIntentCreateParams.PaymentMethodData.Klarna; - export type Konbini = Stripe.PaymentIntentCreateParams.PaymentMethodData.Konbini; - export type KrCard = Stripe.PaymentIntentCreateParams.PaymentMethodData.KrCard; - export type Link = Stripe.PaymentIntentCreateParams.PaymentMethodData.Link; - export type MbWay = Stripe.PaymentIntentCreateParams.PaymentMethodData.MbWay; - export type Mobilepay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Mobilepay; - export type Multibanco = Stripe.PaymentIntentCreateParams.PaymentMethodData.Multibanco; - export type NaverPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.NaverPay; - export type NzBankAccount = Stripe.PaymentIntentCreateParams.PaymentMethodData.NzBankAccount; - export type Oxxo = Stripe.PaymentIntentCreateParams.PaymentMethodData.Oxxo; - export type P24 = Stripe.PaymentIntentCreateParams.PaymentMethodData.P24; - export type PayByBank = Stripe.PaymentIntentCreateParams.PaymentMethodData.PayByBank; - export type Payco = Stripe.PaymentIntentCreateParams.PaymentMethodData.Payco; - export type Paynow = Stripe.PaymentIntentCreateParams.PaymentMethodData.Paynow; - export type Paypal = Stripe.PaymentIntentCreateParams.PaymentMethodData.Paypal; - export type Payto = Stripe.PaymentIntentCreateParams.PaymentMethodData.Payto; - export type Pix = Stripe.PaymentIntentCreateParams.PaymentMethodData.Pix; - export type Promptpay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Promptpay; - export type RadarOptions = Stripe.PaymentIntentCreateParams.PaymentMethodData.RadarOptions; - export type RevolutPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.RevolutPay; - export type SamsungPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.SamsungPay; - export type Satispay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Satispay; - export type Scalapay = Stripe.PaymentIntentCreateParams.PaymentMethodData.Scalapay; - export type SepaDebit = Stripe.PaymentIntentCreateParams.PaymentMethodData.SepaDebit; - export type Sofort = Stripe.PaymentIntentCreateParams.PaymentMethodData.Sofort; - export type Sunbit = Stripe.PaymentIntentCreateParams.PaymentMethodData.Sunbit; - export type Swish = Stripe.PaymentIntentCreateParams.PaymentMethodData.Swish; - export type Twint = Stripe.PaymentIntentCreateParams.PaymentMethodData.Twint; - export type Type = Stripe.PaymentIntentCreateParams.PaymentMethodData.Type; - export type Upi = Stripe.PaymentIntentCreateParams.PaymentMethodData.Upi; - export type UsBankAccount = Stripe.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount; - export type WechatPay = Stripe.PaymentIntentCreateParams.PaymentMethodData.WechatPay; - export type Zip = Stripe.PaymentIntentCreateParams.PaymentMethodData.Zip; + export type AcssDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.PaymentIntentCreateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Fpx; + export type Giropay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.PaymentIntentCreateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.PaymentIntentCreateParams.PaymentMethodData.KrCard; + export type Link = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Link; + export type MbWay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentCreateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.PaymentIntentCreateParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Paypal; + export type Payto = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Payto; + export type Pix = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Swish; + export type Twint = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Twint; + export type Type = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Type; + export type Upi = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Zip; export namespace Eps { - export type Bank = Stripe.PaymentIntentCreateParams.PaymentMethodData.Eps.Bank; + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.PaymentIntentCreateParams.PaymentMethodData.Fpx.AccountHolderType; - export type Bank = Stripe.PaymentIntentCreateParams.PaymentMethodData.Fpx.Bank; + export type AccountHolderType = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.PaymentIntentCreateParams.PaymentMethodData.Ideal.Bank; + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Ideal.Bank; } export namespace Klarna { - export type Dob = Stripe.PaymentIntentCreateParams.PaymentMethodData.Klarna.Dob; + export type Dob = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Klarna.Dob; } export namespace NaverPay { - export type Funding = Stripe.PaymentIntentCreateParams.PaymentMethodData.NaverPay.Funding; + export type Funding = Stripe_.PaymentIntentCreateParams.PaymentMethodData.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.PaymentIntentCreateParams.PaymentMethodData.P24.Bank; + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.P24.Bank; } export namespace Sofort { - export type Country = Stripe.PaymentIntentCreateParams.PaymentMethodData.Sofort.Country; + export type Country = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sofort.Country; } export namespace Upi { - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodData.Upi.MandateOptions; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type AccountHolderType = Stripe.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount.AccountType; } } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit; - export type Affirm = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Affirm; - export type AfterpayClearpay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AfterpayClearpay; - export type Alipay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Alipay; - export type Alma = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Alma; - export type AmazonPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AmazonPay; - export type AuBecsDebit = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AuBecsDebit; - export type BacsDebit = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit; - export type Bancontact = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact; - export type Billie = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Billie; - export type Bizum = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Bizum; - export type Blik = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Blik; - export type Boleto = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Boleto; - export type Card = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent; - export type Cashapp = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp; - export type Crypto = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Crypto; - export type CustomerBalance = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance; - export type Eps = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Eps; - export type Fpx = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Fpx; - export type Giropay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Giropay; - export type Grabpay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Grabpay; - export type Ideal = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Ideal; - export type InteracPresent = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.InteracPresent; - export type KakaoPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.KakaoPay; - export type Klarna = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna; - export type Konbini = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Konbini; - export type KrCard = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.KrCard; - export type Link = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Link; - export type MbWay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.MbWay; - export type Mobilepay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Mobilepay; - export type Multibanco = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Multibanco; - export type NaverPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.NaverPay; - export type NzBankAccount = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.NzBankAccount; - export type Oxxo = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Oxxo; - export type P24 = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.P24; - export type PayByBank = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.PayByBank; - export type Payco = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payco; - export type Paynow = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Paynow; - export type Paypal = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Paypal; - export type Payto = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto; - export type Pix = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix; - export type Promptpay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Promptpay; - export type RevolutPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay; - export type SamsungPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.SamsungPay; - export type Satispay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Satispay; - export type Scalapay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Scalapay; - export type SepaDebit = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit; - export type Sofort = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Sofort; - export type Swish = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Swish; - export type Twint = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Twint; - export type Upi = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount; - export type WechatPay = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.WechatPay; - export type Zip = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Zip; + export type AcssDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Link; + export type MbWay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Promptpay; + export type RevolutPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Zip; export namespace AcssDebit { - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; - export type VerificationMethod = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type PaymentSchedule = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type PaymentSchedule = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Alipay { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Alipay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Alipay.SetupFutureUsage; } export namespace AmazonPay { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; } export namespace AuBecsDebit { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; } export namespace BacsDebit { - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; } export namespace Bancontact { - export type PreferredLanguage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + export type PreferredLanguage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; } export namespace Boleto { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; } export namespace Card { - export type Installments = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments; - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.Network; - export type RequestExtendedAuthorization = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; - export type RequestIncrementalAuthorization = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; - export type RequestMulticapture = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestMulticapture; - export type RequestOvercapture = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestOvercapture; - export type RequestThreeDSecure = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; - export type ThreeDSecure = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure; + export type Installments = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.Network; + export type RequestExtendedAuthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type ThreeDSecure = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure; export namespace Installments { - export type Plan = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments.Plan; + export type Plan = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments.Plan.Type; + export type Type = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments.Plan.Type; } } export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; - export type Interval = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; } export namespace ThreeDSecure { - export type AresTransStatus = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; - export type ElectronicCommerceIndicator = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type ExemptionIndicator = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; - export type NetworkOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; - export type Version = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export type AresTransStatus = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; export namespace NetworkOptions { - export type CartesBancaires = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export type CartesBancaires = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; export namespace CartesBancaires { - export type CbAvalgo = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + export type CbAvalgo = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; } } } } export namespace CardPresent { - export type CaptureMethod = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.CaptureMethod; - export type Routing = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing; + export type CaptureMethod = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type Routing = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing; export namespace Routing { - export type RequestedPriority = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + export type RequestedPriority = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; } } export namespace Cashapp { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; } export namespace CustomerBalance { - export type BankTransfer = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; - export type RequestedAddressType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; - export type Type = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export type EuBankTransfer = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; } } export namespace Ideal { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Ideal.SetupFutureUsage; } export namespace KakaoPay { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; } export namespace Klarna { - export type OnDemand = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand; - export type PreferredLocale = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.PreferredLocale; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SetupFutureUsage; - export type Subscription = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription; + export type OnDemand = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription; export namespace OnDemand { - export type PurchaseInterval = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + export type PurchaseInterval = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; } export namespace Subscription { - export type Interval = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; - export type NextBilling = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + export type Interval = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; } } export namespace KrCard { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; } export namespace Link { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Link.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Link.SetupFutureUsage; } export namespace NaverPay { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; } export namespace NzBankAccount { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; } export namespace Paypal { - export type PreferredLocale = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.PreferredLocale; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + export type PreferredLocale = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; } export namespace Payto { - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.AmountIncludesIof; - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export type AmountIncludesIof = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace RevolutPay { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } export namespace SepaDebit { - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; } export namespace Sofort { - export type PreferredLanguage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Sofort.PreferredLanguage; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + export type PreferredLanguage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort.SetupFutureUsage; } export namespace Twint { - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Twint.SetupFutureUsage; } export namespace Upi { - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type MandateOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; - export type Networks = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; - export type TransactionPurpose = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; - export type VerificationMethod = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } export namespace Networks { - export type Requested = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + export type Requested = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; } } export namespace WechatPay { - export type Client = Stripe.PaymentIntentCreateParams.PaymentMethodOptions.WechatPay.Client; + export type Client = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.WechatPay.Client; } } export namespace TransferData { - export type PaymentData = Stripe.PaymentIntentCreateParams.TransferData.PaymentData; + export type PaymentData = Stripe_.PaymentIntentCreateParams.TransferData.PaymentData; } } export namespace PaymentIntentUpdateParams { - export type AmountDetails = Stripe.PaymentIntentUpdateParams.AmountDetails; - export type CaptureMethod = Stripe.PaymentIntentUpdateParams.CaptureMethod; - export type ExcludedPaymentMethodType = Stripe.PaymentIntentUpdateParams.ExcludedPaymentMethodType; - export type Hooks = Stripe.PaymentIntentUpdateParams.Hooks; - export type PaymentDetails = Stripe.PaymentIntentUpdateParams.PaymentDetails; - export type PaymentMethodData = Stripe.PaymentIntentUpdateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.SetupFutureUsage; - export type Shipping = Stripe.PaymentIntentUpdateParams.Shipping; - export type TransferData = Stripe.PaymentIntentUpdateParams.TransferData; + export type AmountDetails = Stripe_.PaymentIntentUpdateParams.AmountDetails; + export type CaptureMethod = Stripe_.PaymentIntentUpdateParams.CaptureMethod; + export type ExcludedPaymentMethodType = Stripe_.PaymentIntentUpdateParams.ExcludedPaymentMethodType; + export type Hooks = Stripe_.PaymentIntentUpdateParams.Hooks; + export type PaymentDetails = Stripe_.PaymentIntentUpdateParams.PaymentDetails; + export type PaymentMethodData = Stripe_.PaymentIntentUpdateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.SetupFutureUsage; + export type Shipping = Stripe_.PaymentIntentUpdateParams.Shipping; + export type TransferData = Stripe_.PaymentIntentUpdateParams.TransferData; export namespace AmountDetails { - export type LineItem = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem; - export type Shipping = Stripe.PaymentIntentUpdateParams.AmountDetails.Shipping; - export type Tax = Stripe.PaymentIntentUpdateParams.AmountDetails.Tax; + export type LineItem = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentUpdateParams.AmountDetails.Shipping; + export type Tax = Stripe_.PaymentIntentUpdateParams.AmountDetails.Tax; export namespace LineItem { - export type PaymentMethodOptions = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions; - export type Tax = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.Tax; + export type PaymentMethodOptions = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.Tax; export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; - export type Paypal = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export type Card = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; export namespace Paypal { - export type Category = Stripe.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + export type Category = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; } } } } export namespace Hooks { - export type Inputs = Stripe.PaymentIntentUpdateParams.Hooks.Inputs; + export type Inputs = Stripe_.PaymentIntentUpdateParams.Hooks.Inputs; export namespace Inputs { - export type Tax = Stripe.PaymentIntentUpdateParams.Hooks.Inputs.Tax; + export type Tax = Stripe_.PaymentIntentUpdateParams.Hooks.Inputs.Tax; } } export namespace PaymentMethodData { - export type AcssDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AcssDebit; - export type Affirm = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Affirm; - export type AfterpayClearpay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AfterpayClearpay; - export type Alipay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Alipay; - export type AllowRedisplay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AllowRedisplay; - export type Alma = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Alma; - export type AmazonPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AmazonPay; - export type AuBecsDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.AuBecsDebit; - export type BacsDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.BacsDebit; - export type Bancontact = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Bancontact; - export type Billie = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Billie; - export type BillingDetails = Stripe.PaymentIntentUpdateParams.PaymentMethodData.BillingDetails; - export type Bizum = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Bizum; - export type Blik = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Blik; - export type Boleto = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Boleto; - export type Cashapp = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Cashapp; - export type Crypto = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Crypto; - export type CustomerBalance = Stripe.PaymentIntentUpdateParams.PaymentMethodData.CustomerBalance; - export type Eps = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Eps; - export type Fpx = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Fpx; - export type Giropay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Giropay; - export type Grabpay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Grabpay; - export type Ideal = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Ideal; - export type InteracPresent = Stripe.PaymentIntentUpdateParams.PaymentMethodData.InteracPresent; - export type KakaoPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.KakaoPay; - export type Klarna = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Klarna; - export type Konbini = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Konbini; - export type KrCard = Stripe.PaymentIntentUpdateParams.PaymentMethodData.KrCard; - export type Link = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Link; - export type MbWay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.MbWay; - export type Mobilepay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Mobilepay; - export type Multibanco = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Multibanco; - export type NaverPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.NaverPay; - export type NzBankAccount = Stripe.PaymentIntentUpdateParams.PaymentMethodData.NzBankAccount; - export type Oxxo = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Oxxo; - export type P24 = Stripe.PaymentIntentUpdateParams.PaymentMethodData.P24; - export type PayByBank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.PayByBank; - export type Payco = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Payco; - export type Paynow = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Paynow; - export type Paypal = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Paypal; - export type Payto = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Payto; - export type Pix = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Pix; - export type Promptpay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Promptpay; - export type RadarOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodData.RadarOptions; - export type RevolutPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.RevolutPay; - export type SamsungPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.SamsungPay; - export type Satispay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Satispay; - export type Scalapay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Scalapay; - export type SepaDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.SepaDebit; - export type Sofort = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Sofort; - export type Sunbit = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Sunbit; - export type Swish = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Swish; - export type Twint = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Twint; - export type Type = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Type; - export type Upi = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Upi; - export type UsBankAccount = Stripe.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount; - export type WechatPay = Stripe.PaymentIntentUpdateParams.PaymentMethodData.WechatPay; - export type Zip = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Zip; + export type AcssDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Fpx; + export type Giropay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.KrCard; + export type Link = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Link; + export type MbWay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Paypal; + export type Payto = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Payto; + export type Pix = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Swish; + export type Twint = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Twint; + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Type; + export type Upi = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Zip; export namespace Eps { - export type Bank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Eps.Bank; + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Fpx.AccountHolderType; - export type Bank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Fpx.Bank; + export type AccountHolderType = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Ideal.Bank; + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Ideal.Bank; } export namespace Klarna { - export type Dob = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Klarna.Dob; + export type Dob = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Klarna.Dob; } export namespace NaverPay { - export type Funding = Stripe.PaymentIntentUpdateParams.PaymentMethodData.NaverPay.Funding; + export type Funding = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.PaymentIntentUpdateParams.PaymentMethodData.P24.Bank; + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.P24.Bank; } export namespace Sofort { - export type Country = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Sofort.Country; + export type Country = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sofort.Country; } export namespace Upi { - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Upi.MandateOptions; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type AccountHolderType = Stripe.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountType; } } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit; - export type Affirm = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Affirm; - export type AfterpayClearpay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AfterpayClearpay; - export type Alipay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Alipay; - export type Alma = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Alma; - export type AmazonPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AmazonPay; - export type AuBecsDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AuBecsDebit; - export type BacsDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit; - export type Bancontact = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact; - export type Billie = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Billie; - export type Bizum = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Bizum; - export type Blik = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Blik; - export type Boleto = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto; - export type Card = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent; - export type Cashapp = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp; - export type Crypto = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto; - export type CustomerBalance = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance; - export type Eps = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Eps; - export type Fpx = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Fpx; - export type Giropay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Giropay; - export type Grabpay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Grabpay; - export type Ideal = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Ideal; - export type InteracPresent = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.InteracPresent; - export type KakaoPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.KakaoPay; - export type Klarna = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna; - export type Konbini = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Konbini; - export type KrCard = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.KrCard; - export type Link = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Link; - export type MbWay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.MbWay; - export type Mobilepay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Mobilepay; - export type Multibanco = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Multibanco; - export type NaverPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.NaverPay; - export type NzBankAccount = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.NzBankAccount; - export type Oxxo = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Oxxo; - export type P24 = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.P24; - export type PayByBank = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.PayByBank; - export type Payco = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payco; - export type Paynow = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Paynow; - export type Paypal = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal; - export type Payto = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto; - export type Pix = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix; - export type Promptpay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Promptpay; - export type RevolutPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay; - export type SamsungPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.SamsungPay; - export type Satispay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Satispay; - export type Scalapay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Scalapay; - export type SepaDebit = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit; - export type Sofort = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort; - export type Swish = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Swish; - export type Twint = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Twint; - export type Upi = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount; - export type WechatPay = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.WechatPay; - export type Zip = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Zip; + export type AcssDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Link; + export type MbWay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Promptpay; + export type RevolutPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Zip; export namespace AcssDebit { - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; - export type VerificationMethod = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type PaymentSchedule = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type PaymentSchedule = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Alipay { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Alipay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Alipay.SetupFutureUsage; } export namespace AmazonPay { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; } export namespace AuBecsDebit { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; } export namespace BacsDebit { - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; } export namespace Bancontact { - export type PreferredLanguage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + export type PreferredLanguage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; } export namespace Boleto { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; } export namespace Card { - export type Installments = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments; - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Network; - export type RequestExtendedAuthorization = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; - export type RequestIncrementalAuthorization = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; - export type RequestMulticapture = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestMulticapture; - export type RequestOvercapture = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestOvercapture; - export type RequestThreeDSecure = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.SetupFutureUsage; - export type ThreeDSecure = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure; + export type Installments = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Network; + export type RequestExtendedAuthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type ThreeDSecure = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure; export namespace Installments { - export type Plan = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments.Plan; + export type Plan = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments.Plan.Type; + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments.Plan.Type; } } export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; - export type Interval = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.Interval; } export namespace ThreeDSecure { - export type AresTransStatus = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; - export type ElectronicCommerceIndicator = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type ExemptionIndicator = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; - export type NetworkOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; - export type Version = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export type AresTransStatus = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; export namespace NetworkOptions { - export type CartesBancaires = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export type CartesBancaires = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; export namespace CartesBancaires { - export type CbAvalgo = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + export type CbAvalgo = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; } } } } export namespace CardPresent { - export type CaptureMethod = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.CaptureMethod; - export type Routing = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing; + export type CaptureMethod = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type Routing = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing; export namespace Routing { - export type RequestedPriority = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + export type RequestedPriority = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; } } export namespace Cashapp { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; } export namespace CustomerBalance { - export type BankTransfer = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; - export type RequestedAddressType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; - export type Type = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export type EuBankTransfer = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; } } export namespace Ideal { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Ideal.SetupFutureUsage; } export namespace KakaoPay { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; } export namespace Klarna { - export type OnDemand = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand; - export type PreferredLocale = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.PreferredLocale; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SetupFutureUsage; - export type Subscription = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription; + export type OnDemand = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription; export namespace OnDemand { - export type PurchaseInterval = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + export type PurchaseInterval = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; } export namespace Subscription { - export type Interval = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.Interval; - export type NextBilling = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + export type Interval = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; } } export namespace KrCard { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; } export namespace Link { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Link.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Link.SetupFutureUsage; } export namespace NaverPay { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; } export namespace NzBankAccount { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; } export namespace Paypal { - export type PreferredLocale = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.PreferredLocale; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + export type PreferredLocale = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; } export namespace Payto { - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.AmountIncludesIof; - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export type AmountIncludesIof = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.SetupFutureUsage; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace RevolutPay { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } export namespace SepaDebit { - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; } export namespace Sofort { - export type PreferredLanguage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort.PreferredLanguage; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + export type PreferredLanguage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort.SetupFutureUsage; } export namespace Twint { - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Twint.SetupFutureUsage; } export namespace Upi { - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type MandateOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; - export type Networks = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; - export type TransactionPurpose = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; - export type VerificationMethod = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } export namespace Networks { - export type Requested = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + export type Requested = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; } } export namespace WechatPay { - export type Client = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions.WechatPay.Client; + export type Client = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.WechatPay.Client; } } export namespace TransferData { - export type PaymentData = Stripe.PaymentIntentUpdateParams.TransferData.PaymentData; + export type PaymentData = Stripe_.PaymentIntentUpdateParams.TransferData.PaymentData; } } export namespace PaymentIntentCancelParams { - export type CancellationReason = Stripe.PaymentIntentCancelParams.CancellationReason; + export type CancellationReason = Stripe_.PaymentIntentCancelParams.CancellationReason; } export namespace PaymentIntentCaptureParams { - export type AmountDetails = Stripe.PaymentIntentCaptureParams.AmountDetails; - export type Hooks = Stripe.PaymentIntentCaptureParams.Hooks; - export type PaymentDetails = Stripe.PaymentIntentCaptureParams.PaymentDetails; - export type TransferData = Stripe.PaymentIntentCaptureParams.TransferData; + export type AmountDetails = Stripe_.PaymentIntentCaptureParams.AmountDetails; + export type Hooks = Stripe_.PaymentIntentCaptureParams.Hooks; + export type PaymentDetails = Stripe_.PaymentIntentCaptureParams.PaymentDetails; + export type TransferData = Stripe_.PaymentIntentCaptureParams.TransferData; export namespace AmountDetails { - export type LineItem = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem; - export type Shipping = Stripe.PaymentIntentCaptureParams.AmountDetails.Shipping; - export type Tax = Stripe.PaymentIntentCaptureParams.AmountDetails.Tax; + export type LineItem = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentCaptureParams.AmountDetails.Shipping; + export type Tax = Stripe_.PaymentIntentCaptureParams.AmountDetails.Tax; export namespace LineItem { - export type PaymentMethodOptions = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions; - export type Tax = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.Tax; + export type PaymentMethodOptions = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.Tax; export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; - export type Paypal = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export type Card = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; export namespace Paypal { - export type Category = Stripe.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + export type Category = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; } } } } export namespace Hooks { - export type Inputs = Stripe.PaymentIntentCaptureParams.Hooks.Inputs; + export type Inputs = Stripe_.PaymentIntentCaptureParams.Hooks.Inputs; export namespace Inputs { - export type Tax = Stripe.PaymentIntentCaptureParams.Hooks.Inputs.Tax; + export type Tax = Stripe_.PaymentIntentCaptureParams.Hooks.Inputs.Tax; } } } export namespace PaymentIntentConfirmParams { - export type AmountDetails = Stripe.PaymentIntentConfirmParams.AmountDetails; - export type CaptureMethod = Stripe.PaymentIntentConfirmParams.CaptureMethod; - export type ExcludedPaymentMethodType = Stripe.PaymentIntentConfirmParams.ExcludedPaymentMethodType; - export type Hooks = Stripe.PaymentIntentConfirmParams.Hooks; - export type MandateData = Stripe.PaymentIntentConfirmParams.MandateData; - export type OffSession = Stripe.PaymentIntentConfirmParams.OffSession; - export type PaymentDetails = Stripe.PaymentIntentConfirmParams.PaymentDetails; - export type PaymentMethodData = Stripe.PaymentIntentConfirmParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions; - export type RadarOptions = Stripe.PaymentIntentConfirmParams.RadarOptions; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.SetupFutureUsage; - export type Shipping = Stripe.PaymentIntentConfirmParams.Shipping; + export type AmountDetails = Stripe_.PaymentIntentConfirmParams.AmountDetails; + export type CaptureMethod = Stripe_.PaymentIntentConfirmParams.CaptureMethod; + export type ExcludedPaymentMethodType = Stripe_.PaymentIntentConfirmParams.ExcludedPaymentMethodType; + export type Hooks = Stripe_.PaymentIntentConfirmParams.Hooks; + export type MandateData = Stripe_.PaymentIntentConfirmParams.MandateData; + export type OffSession = Stripe_.PaymentIntentConfirmParams.OffSession; + export type PaymentDetails = Stripe_.PaymentIntentConfirmParams.PaymentDetails; + export type PaymentMethodData = Stripe_.PaymentIntentConfirmParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions; + export type RadarOptions = Stripe_.PaymentIntentConfirmParams.RadarOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.SetupFutureUsage; + export type Shipping = Stripe_.PaymentIntentConfirmParams.Shipping; export namespace AmountDetails { - export type LineItem = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem; - export type Shipping = Stripe.PaymentIntentConfirmParams.AmountDetails.Shipping; - export type Tax = Stripe.PaymentIntentConfirmParams.AmountDetails.Tax; + export type LineItem = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentConfirmParams.AmountDetails.Shipping; + export type Tax = Stripe_.PaymentIntentConfirmParams.AmountDetails.Tax; export namespace LineItem { - export type PaymentMethodOptions = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions; - export type Tax = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.Tax; + export type PaymentMethodOptions = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.Tax; export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; - export type Paypal = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export type Card = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; export namespace Paypal { - export type Category = Stripe.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + export type Category = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; } } } } export namespace Hooks { - export type Inputs = Stripe.PaymentIntentConfirmParams.Hooks.Inputs; + export type Inputs = Stripe_.PaymentIntentConfirmParams.Hooks.Inputs; export namespace Inputs { - export type Tax = Stripe.PaymentIntentConfirmParams.Hooks.Inputs.Tax; + export type Tax = Stripe_.PaymentIntentConfirmParams.Hooks.Inputs.Tax; } } export namespace MandateData { - export type CustomerAcceptance = Stripe.PaymentIntentConfirmParams.MandateData.CustomerAcceptance; + export type CustomerAcceptance = Stripe_.PaymentIntentConfirmParams.MandateData.CustomerAcceptance; export namespace CustomerAcceptance { - export type Offline = Stripe.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Offline; - export type Online = Stripe.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Online; - export type Type = Stripe.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Type; + export type Offline = Stripe_.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe_.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe_.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Type; } } export namespace PaymentMethodData { - export type AcssDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AcssDebit; - export type Affirm = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Affirm; - export type AfterpayClearpay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AfterpayClearpay; - export type Alipay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Alipay; - export type AllowRedisplay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AllowRedisplay; - export type Alma = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Alma; - export type AmazonPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AmazonPay; - export type AuBecsDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.AuBecsDebit; - export type BacsDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.BacsDebit; - export type Bancontact = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Bancontact; - export type Billie = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Billie; - export type BillingDetails = Stripe.PaymentIntentConfirmParams.PaymentMethodData.BillingDetails; - export type Bizum = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Bizum; - export type Blik = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Blik; - export type Boleto = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Boleto; - export type Cashapp = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Cashapp; - export type Crypto = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Crypto; - export type CustomerBalance = Stripe.PaymentIntentConfirmParams.PaymentMethodData.CustomerBalance; - export type Eps = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Eps; - export type Fpx = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Fpx; - export type Giropay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Giropay; - export type Grabpay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Grabpay; - export type Ideal = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Ideal; - export type InteracPresent = Stripe.PaymentIntentConfirmParams.PaymentMethodData.InteracPresent; - export type KakaoPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.KakaoPay; - export type Klarna = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Klarna; - export type Konbini = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Konbini; - export type KrCard = Stripe.PaymentIntentConfirmParams.PaymentMethodData.KrCard; - export type Link = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Link; - export type MbWay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.MbWay; - export type Mobilepay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Mobilepay; - export type Multibanco = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Multibanco; - export type NaverPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.NaverPay; - export type NzBankAccount = Stripe.PaymentIntentConfirmParams.PaymentMethodData.NzBankAccount; - export type Oxxo = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Oxxo; - export type P24 = Stripe.PaymentIntentConfirmParams.PaymentMethodData.P24; - export type PayByBank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.PayByBank; - export type Payco = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Payco; - export type Paynow = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Paynow; - export type Paypal = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Paypal; - export type Payto = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Payto; - export type Pix = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Pix; - export type Promptpay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Promptpay; - export type RadarOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodData.RadarOptions; - export type RevolutPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.RevolutPay; - export type SamsungPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.SamsungPay; - export type Satispay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Satispay; - export type Scalapay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Scalapay; - export type SepaDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.SepaDebit; - export type Sofort = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Sofort; - export type Sunbit = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Sunbit; - export type Swish = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Swish; - export type Twint = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Twint; - export type Type = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Type; - export type Upi = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Upi; - export type UsBankAccount = Stripe.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount; - export type WechatPay = Stripe.PaymentIntentConfirmParams.PaymentMethodData.WechatPay; - export type Zip = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Zip; + export type AcssDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Fpx; + export type Giropay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.KrCard; + export type Link = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Link; + export type MbWay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Paypal; + export type Payto = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Payto; + export type Pix = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Swish; + export type Twint = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Twint; + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Type; + export type Upi = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Zip; export namespace Eps { - export type Bank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Eps.Bank; + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Fpx.AccountHolderType; - export type Bank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Fpx.Bank; + export type AccountHolderType = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Ideal.Bank; + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Ideal.Bank; } export namespace Klarna { - export type Dob = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Klarna.Dob; + export type Dob = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Klarna.Dob; } export namespace NaverPay { - export type Funding = Stripe.PaymentIntentConfirmParams.PaymentMethodData.NaverPay.Funding; + export type Funding = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.PaymentIntentConfirmParams.PaymentMethodData.P24.Bank; + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.P24.Bank; } export namespace Sofort { - export type Country = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Sofort.Country; + export type Country = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sofort.Country; } export namespace Upi { - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Upi.MandateOptions; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodData.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type AccountHolderType = Stripe.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountType; } } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit; - export type Affirm = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Affirm; - export type AfterpayClearpay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AfterpayClearpay; - export type Alipay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Alipay; - export type Alma = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Alma; - export type AmazonPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AmazonPay; - export type AuBecsDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit; - export type BacsDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit; - export type Bancontact = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact; - export type Billie = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Billie; - export type Bizum = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Bizum; - export type Blik = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Blik; - export type Boleto = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto; - export type Card = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent; - export type Cashapp = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp; - export type Crypto = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto; - export type CustomerBalance = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance; - export type Eps = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Eps; - export type Fpx = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Fpx; - export type Giropay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Giropay; - export type Grabpay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Grabpay; - export type Ideal = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Ideal; - export type InteracPresent = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.InteracPresent; - export type KakaoPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.KakaoPay; - export type Klarna = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna; - export type Konbini = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Konbini; - export type KrCard = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.KrCard; - export type Link = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Link; - export type MbWay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.MbWay; - export type Mobilepay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Mobilepay; - export type Multibanco = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Multibanco; - export type NaverPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.NaverPay; - export type NzBankAccount = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.NzBankAccount; - export type Oxxo = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Oxxo; - export type P24 = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.P24; - export type PayByBank = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.PayByBank; - export type Payco = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payco; - export type Paynow = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Paynow; - export type Paypal = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal; - export type Payto = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto; - export type Pix = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix; - export type Promptpay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Promptpay; - export type RevolutPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay; - export type SamsungPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.SamsungPay; - export type Satispay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Satispay; - export type Scalapay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Scalapay; - export type SepaDebit = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit; - export type Sofort = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort; - export type Swish = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Swish; - export type Twint = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Twint; - export type Upi = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount; - export type WechatPay = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay; - export type Zip = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Zip; + export type AcssDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto; + export type Card = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.KrCard; + export type Link = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Link; + export type MbWay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Promptpay; + export type RevolutPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Swish; + export type Twint = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Twint; + export type Upi = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Zip; export namespace AcssDebit { - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; - export type VerificationMethod = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type PaymentSchedule = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type PaymentSchedule = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Alipay { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Alipay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Alipay.SetupFutureUsage; } export namespace AmazonPay { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; } export namespace AuBecsDebit { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; } export namespace BacsDebit { - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; } export namespace Bancontact { - export type PreferredLanguage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact.PreferredLanguage; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + export type PreferredLanguage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; } export namespace Boleto { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto.SetupFutureUsage; } export namespace Card { - export type Installments = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments; - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Network; - export type RequestExtendedAuthorization = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; - export type RequestIncrementalAuthorization = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; - export type RequestMulticapture = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestMulticapture; - export type RequestOvercapture = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestOvercapture; - export type RequestThreeDSecure = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestThreeDSecure; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.SetupFutureUsage; - export type ThreeDSecure = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure; + export type Installments = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Network; + export type RequestExtendedAuthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type ThreeDSecure = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure; export namespace Installments { - export type Plan = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments.Plan; + export type Plan = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments.Plan.Type; + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments.Plan.Type; } } export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.AmountType; - export type Interval = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.Interval; + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.Interval; } export namespace ThreeDSecure { - export type AresTransStatus = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; - export type ElectronicCommerceIndicator = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type ExemptionIndicator = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; - export type NetworkOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; - export type Version = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export type AresTransStatus = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version; export namespace NetworkOptions { - export type CartesBancaires = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export type CartesBancaires = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; export namespace CartesBancaires { - export type CbAvalgo = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + export type CbAvalgo = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; } } } } export namespace CardPresent { - export type CaptureMethod = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.CaptureMethod; - export type Routing = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing; + export type CaptureMethod = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type Routing = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing; export namespace Routing { - export type RequestedPriority = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + export type RequestedPriority = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; } } export namespace Cashapp { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; } export namespace CustomerBalance { - export type BankTransfer = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; - export type RequestedAddressType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; - export type Type = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export type EuBankTransfer = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; } } export namespace Ideal { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Ideal.SetupFutureUsage; } export namespace KakaoPay { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; } export namespace Klarna { - export type OnDemand = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand; - export type PreferredLocale = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.PreferredLocale; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SetupFutureUsage; - export type Subscription = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription; + export type OnDemand = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription; export namespace OnDemand { - export type PurchaseInterval = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + export type PurchaseInterval = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; } export namespace Subscription { - export type Interval = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.Interval; - export type NextBilling = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + export type Interval = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; } } export namespace KrCard { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.KrCard.SetupFutureUsage; } export namespace Link { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Link.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Link.SetupFutureUsage; } export namespace NaverPay { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; } export namespace NzBankAccount { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; } export namespace Paypal { - export type PreferredLocale = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.PreferredLocale; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + export type PreferredLocale = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.SetupFutureUsage; } export namespace Payto { - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.AmountIncludesIof; - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export type AmountIncludesIof = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.SetupFutureUsage; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace RevolutPay { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } export namespace SepaDebit { - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; } export namespace Sofort { - export type PreferredLanguage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort.PreferredLanguage; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + export type PreferredLanguage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort.SetupFutureUsage; } export namespace Twint { - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Twint.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Twint.SetupFutureUsage; } export namespace Upi { - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type MandateOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.MandateOptions; - export type Networks = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; - export type TransactionPurpose = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; - export type VerificationMethod = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } export namespace Networks { - export type Requested = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + export type Requested = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; } } export namespace WechatPay { - export type Client = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay.Client; + export type Client = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay.Client; } } } export namespace PaymentIntentIncrementAuthorizationParams { - export type AmountDetails = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails; - export type Hooks = Stripe.PaymentIntentIncrementAuthorizationParams.Hooks; - export type PaymentDetails = Stripe.PaymentIntentIncrementAuthorizationParams.PaymentDetails; - export type TransferData = Stripe.PaymentIntentIncrementAuthorizationParams.TransferData; + export type AmountDetails = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails; + export type Hooks = Stripe_.PaymentIntentIncrementAuthorizationParams.Hooks; + export type PaymentDetails = Stripe_.PaymentIntentIncrementAuthorizationParams.PaymentDetails; + export type TransferData = Stripe_.PaymentIntentIncrementAuthorizationParams.TransferData; export namespace AmountDetails { - export type LineItem = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem; - export type Shipping = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping; - export type Tax = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.Tax; + export type LineItem = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping; + export type Tax = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.Tax; export namespace LineItem { - export type PaymentMethodOptions = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions; - export type Tax = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.Tax; + export type PaymentMethodOptions = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.Tax; export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; - export type Paypal = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export type Card = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; export namespace Paypal { - export type Category = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + export type Category = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; } } } } export namespace Hooks { - export type Inputs = Stripe.PaymentIntentIncrementAuthorizationParams.Hooks.Inputs; + export type Inputs = Stripe_.PaymentIntentIncrementAuthorizationParams.Hooks.Inputs; export namespace Inputs { - export type Tax = Stripe.PaymentIntentIncrementAuthorizationParams.Hooks.Inputs.Tax; + export type Tax = Stripe_.PaymentIntentIncrementAuthorizationParams.Hooks.Inputs.Tax; } } } export namespace PaymentIntent { - export type AmountDetails = Stripe.PaymentIntent.AmountDetails; - export type AutomaticPaymentMethods = Stripe.PaymentIntent.AutomaticPaymentMethods; - export type CancellationReason = Stripe.PaymentIntent.CancellationReason; - export type CaptureMethod = Stripe.PaymentIntent.CaptureMethod; - export type ConfirmationMethod = Stripe.PaymentIntent.ConfirmationMethod; - export type ExcludedPaymentMethodType = Stripe.PaymentIntent.ExcludedPaymentMethodType; - export type Hooks = Stripe.PaymentIntent.Hooks; - export type LastPaymentError = Stripe.PaymentIntent.LastPaymentError; - export type ManagedPayments = Stripe.PaymentIntent.ManagedPayments; - export type NextAction = Stripe.PaymentIntent.NextAction; - export type PaymentDetails = Stripe.PaymentIntent.PaymentDetails; - export type PaymentMethodConfigurationDetails = Stripe.PaymentIntent.PaymentMethodConfigurationDetails; - export type PaymentMethodOptions = Stripe.PaymentIntent.PaymentMethodOptions; - export type PresentmentDetails = Stripe.PaymentIntent.PresentmentDetails; - export type Processing = Stripe.PaymentIntent.Processing; - export type SetupFutureUsage = Stripe.PaymentIntent.SetupFutureUsage; - export type Shipping = Stripe.PaymentIntent.Shipping; - export type Status = Stripe.PaymentIntent.Status; - export type TransferData = Stripe.PaymentIntent.TransferData; + export type AmountDetails = Stripe_.PaymentIntent.AmountDetails; + export type AutomaticPaymentMethods = Stripe_.PaymentIntent.AutomaticPaymentMethods; + export type CancellationReason = Stripe_.PaymentIntent.CancellationReason; + export type CaptureMethod = Stripe_.PaymentIntent.CaptureMethod; + export type ConfirmationMethod = Stripe_.PaymentIntent.ConfirmationMethod; + export type ExcludedPaymentMethodType = Stripe_.PaymentIntent.ExcludedPaymentMethodType; + export type Hooks = Stripe_.PaymentIntent.Hooks; + export type LastPaymentError = Stripe_.PaymentIntent.LastPaymentError; + export type ManagedPayments = Stripe_.PaymentIntent.ManagedPayments; + export type NextAction = Stripe_.PaymentIntent.NextAction; + export type PaymentDetails = Stripe_.PaymentIntent.PaymentDetails; + export type PaymentMethodConfigurationDetails = Stripe_.PaymentIntent.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe_.PaymentIntent.PaymentMethodOptions; + export type PresentmentDetails = Stripe_.PaymentIntent.PresentmentDetails; + export type Processing = Stripe_.PaymentIntent.Processing; + export type SetupFutureUsage = Stripe_.PaymentIntent.SetupFutureUsage; + export type Shipping = Stripe_.PaymentIntent.Shipping; + export type Status = Stripe_.PaymentIntent.Status; + export type TransferData = Stripe_.PaymentIntent.TransferData; export namespace AmountDetails { - export type Error = Stripe.PaymentIntent.AmountDetails.Error; - export type Shipping = Stripe.PaymentIntent.AmountDetails.Shipping; - export type Tax = Stripe.PaymentIntent.AmountDetails.Tax; - export type Tip = Stripe.PaymentIntent.AmountDetails.Tip; + export type Error = Stripe_.PaymentIntent.AmountDetails.Error; + export type Shipping = Stripe_.PaymentIntent.AmountDetails.Shipping; + export type Tax = Stripe_.PaymentIntent.AmountDetails.Tax; + export type Tip = Stripe_.PaymentIntent.AmountDetails.Tip; export namespace Error { - export type Code = Stripe.PaymentIntent.AmountDetails.Error.Code; + export type Code = Stripe_.PaymentIntent.AmountDetails.Error.Code; } } export namespace AutomaticPaymentMethods { - export type AllowRedirects = Stripe.PaymentIntent.AutomaticPaymentMethods.AllowRedirects; + export type AllowRedirects = Stripe_.PaymentIntent.AutomaticPaymentMethods.AllowRedirects; } export namespace Hooks { - export type Inputs = Stripe.PaymentIntent.Hooks.Inputs; + export type Inputs = Stripe_.PaymentIntent.Hooks.Inputs; export namespace Inputs { - export type Tax = Stripe.PaymentIntent.Hooks.Inputs.Tax; + export type Tax = Stripe_.PaymentIntent.Hooks.Inputs.Tax; } } export namespace LastPaymentError { - export type Code = Stripe.PaymentIntent.LastPaymentError.Code; - export type Type = Stripe.PaymentIntent.LastPaymentError.Type; + export type Code = Stripe_.PaymentIntent.LastPaymentError.Code; + export type Type = Stripe_.PaymentIntent.LastPaymentError.Type; } export namespace NextAction { - export type AlipayHandleRedirect = Stripe.PaymentIntent.NextAction.AlipayHandleRedirect; - export type BlikAuthorize = Stripe.PaymentIntent.NextAction.BlikAuthorize; - export type BoletoDisplayDetails = Stripe.PaymentIntent.NextAction.BoletoDisplayDetails; - export type CardAwaitNotification = Stripe.PaymentIntent.NextAction.CardAwaitNotification; - export type CashappHandleRedirectOrDisplayQrCode = Stripe.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode; - export type DisplayBankTransferInstructions = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions; - export type KlarnaDisplayQrCode = Stripe.PaymentIntent.NextAction.KlarnaDisplayQrCode; - export type KonbiniDisplayDetails = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails; - export type MultibancoDisplayDetails = Stripe.PaymentIntent.NextAction.MultibancoDisplayDetails; - export type OxxoDisplayDetails = Stripe.PaymentIntent.NextAction.OxxoDisplayDetails; - export type PaynowDisplayQrCode = Stripe.PaymentIntent.NextAction.PaynowDisplayQrCode; - export type PixDisplayQrCode = Stripe.PaymentIntent.NextAction.PixDisplayQrCode; - export type PromptpayDisplayQrCode = Stripe.PaymentIntent.NextAction.PromptpayDisplayQrCode; - export type RedirectToUrl = Stripe.PaymentIntent.NextAction.RedirectToUrl; - export type SwishHandleRedirectOrDisplayQrCode = Stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode; - export type UpiHandleRedirectOrDisplayQrCode = Stripe.PaymentIntent.NextAction.UpiHandleRedirectOrDisplayQrCode; - export type UseStripeSdk = Stripe.PaymentIntent.NextAction.UseStripeSdk; - export type VerifyWithMicrodeposits = Stripe.PaymentIntent.NextAction.VerifyWithMicrodeposits; - export type WechatPayDisplayQrCode = Stripe.PaymentIntent.NextAction.WechatPayDisplayQrCode; - export type WechatPayRedirectToAndroidApp = Stripe.PaymentIntent.NextAction.WechatPayRedirectToAndroidApp; - export type WechatPayRedirectToIosApp = Stripe.PaymentIntent.NextAction.WechatPayRedirectToIosApp; + export type AlipayHandleRedirect = Stripe_.PaymentIntent.NextAction.AlipayHandleRedirect; + export type BlikAuthorize = Stripe_.PaymentIntent.NextAction.BlikAuthorize; + export type BoletoDisplayDetails = Stripe_.PaymentIntent.NextAction.BoletoDisplayDetails; + export type CardAwaitNotification = Stripe_.PaymentIntent.NextAction.CardAwaitNotification; + export type CashappHandleRedirectOrDisplayQrCode = Stripe_.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode; + export type DisplayBankTransferInstructions = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions; + export type KlarnaDisplayQrCode = Stripe_.PaymentIntent.NextAction.KlarnaDisplayQrCode; + export type KonbiniDisplayDetails = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails; + export type MultibancoDisplayDetails = Stripe_.PaymentIntent.NextAction.MultibancoDisplayDetails; + export type OxxoDisplayDetails = Stripe_.PaymentIntent.NextAction.OxxoDisplayDetails; + export type PaynowDisplayQrCode = Stripe_.PaymentIntent.NextAction.PaynowDisplayQrCode; + export type PixDisplayQrCode = Stripe_.PaymentIntent.NextAction.PixDisplayQrCode; + export type PromptpayDisplayQrCode = Stripe_.PaymentIntent.NextAction.PromptpayDisplayQrCode; + export type RedirectToUrl = Stripe_.PaymentIntent.NextAction.RedirectToUrl; + export type SwishHandleRedirectOrDisplayQrCode = Stripe_.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode; + export type UpiHandleRedirectOrDisplayQrCode = Stripe_.PaymentIntent.NextAction.UpiHandleRedirectOrDisplayQrCode; + export type UseStripeSdk = Stripe_.PaymentIntent.NextAction.UseStripeSdk; + export type VerifyWithMicrodeposits = Stripe_.PaymentIntent.NextAction.VerifyWithMicrodeposits; + export type WechatPayDisplayQrCode = Stripe_.PaymentIntent.NextAction.WechatPayDisplayQrCode; + export type WechatPayRedirectToAndroidApp = Stripe_.PaymentIntent.NextAction.WechatPayRedirectToAndroidApp; + export type WechatPayRedirectToIosApp = Stripe_.PaymentIntent.NextAction.WechatPayRedirectToIosApp; export namespace CashappHandleRedirectOrDisplayQrCode { - export type QrCode = Stripe.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode; + export type QrCode = Stripe_.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode; } export namespace DisplayBankTransferInstructions { - export type FinancialAddress = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress; - export type Type = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.Type; + export type FinancialAddress = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress; + export type Type = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.Type; export namespace FinancialAddress { - export type Aba = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba; - export type Iban = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban; - export type SortCode = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode; - export type Spei = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei; - export type SupportedNetwork = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SupportedNetwork; - export type Swift = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift; - export type Type = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Type; - export type Zengin = Stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin; + export type Aba = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba; + export type Iban = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban; + export type SortCode = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode; + export type Spei = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei; + export type SupportedNetwork = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SupportedNetwork; + export type Swift = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift; + export type Type = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Type; + export type Zengin = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin; } } export namespace KonbiniDisplayDetails { - export type Stores = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores; + export type Stores = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores; export namespace Stores { - export type Familymart = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Familymart; - export type Lawson = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Lawson; - export type Ministop = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Ministop; - export type Seicomart = Stripe.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Seicomart; + export type Familymart = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Familymart; + export type Lawson = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Lawson; + export type Ministop = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Ministop; + export type Seicomart = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Seicomart; } } export namespace SwishHandleRedirectOrDisplayQrCode { - export type QrCode = Stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode; + export type QrCode = Stripe_.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode; } export namespace UpiHandleRedirectOrDisplayQrCode { - export type QrCode = Stripe.PaymentIntent.NextAction.UpiHandleRedirectOrDisplayQrCode.QrCode; + export type QrCode = Stripe_.PaymentIntent.NextAction.UpiHandleRedirectOrDisplayQrCode.QrCode; } export namespace VerifyWithMicrodeposits { - export type MicrodepositType = Stripe.PaymentIntent.NextAction.VerifyWithMicrodeposits.MicrodepositType; + export type MicrodepositType = Stripe_.PaymentIntent.NextAction.VerifyWithMicrodeposits.MicrodepositType; } } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit; - export type Affirm = Stripe.PaymentIntent.PaymentMethodOptions.Affirm; - export type AfterpayClearpay = Stripe.PaymentIntent.PaymentMethodOptions.AfterpayClearpay; - export type Alipay = Stripe.PaymentIntent.PaymentMethodOptions.Alipay; - export type Alma = Stripe.PaymentIntent.PaymentMethodOptions.Alma; - export type AmazonPay = Stripe.PaymentIntent.PaymentMethodOptions.AmazonPay; - export type AuBecsDebit = Stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit; - export type BacsDebit = Stripe.PaymentIntent.PaymentMethodOptions.BacsDebit; - export type Bancontact = Stripe.PaymentIntent.PaymentMethodOptions.Bancontact; - export type Billie = Stripe.PaymentIntent.PaymentMethodOptions.Billie; - export type Bizum = Stripe.PaymentIntent.PaymentMethodOptions.Bizum; - export type Blik = Stripe.PaymentIntent.PaymentMethodOptions.Blik; - export type Boleto = Stripe.PaymentIntent.PaymentMethodOptions.Boleto; - export type Card = Stripe.PaymentIntent.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntent.PaymentMethodOptions.CardPresent; - export type Cashapp = Stripe.PaymentIntent.PaymentMethodOptions.Cashapp; - export type Crypto = Stripe.PaymentIntent.PaymentMethodOptions.Crypto; - export type CustomerBalance = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance; - export type Eps = Stripe.PaymentIntent.PaymentMethodOptions.Eps; - export type Fpx = Stripe.PaymentIntent.PaymentMethodOptions.Fpx; - export type Giropay = Stripe.PaymentIntent.PaymentMethodOptions.Giropay; - export type Grabpay = Stripe.PaymentIntent.PaymentMethodOptions.Grabpay; - export type Ideal = Stripe.PaymentIntent.PaymentMethodOptions.Ideal; - export type InteracPresent = Stripe.PaymentIntent.PaymentMethodOptions.InteracPresent; - export type KakaoPay = Stripe.PaymentIntent.PaymentMethodOptions.KakaoPay; - export type Klarna = Stripe.PaymentIntent.PaymentMethodOptions.Klarna; - export type Konbini = Stripe.PaymentIntent.PaymentMethodOptions.Konbini; - export type KrCard = Stripe.PaymentIntent.PaymentMethodOptions.KrCard; - export type Link = Stripe.PaymentIntent.PaymentMethodOptions.Link; - export type MbWay = Stripe.PaymentIntent.PaymentMethodOptions.MbWay; - export type Mobilepay = Stripe.PaymentIntent.PaymentMethodOptions.Mobilepay; - export type Multibanco = Stripe.PaymentIntent.PaymentMethodOptions.Multibanco; - export type NaverPay = Stripe.PaymentIntent.PaymentMethodOptions.NaverPay; - export type NzBankAccount = Stripe.PaymentIntent.PaymentMethodOptions.NzBankAccount; - export type Oxxo = Stripe.PaymentIntent.PaymentMethodOptions.Oxxo; - export type P24 = Stripe.PaymentIntent.PaymentMethodOptions.P24; - export type PayByBank = Stripe.PaymentIntent.PaymentMethodOptions.PayByBank; - export type Payco = Stripe.PaymentIntent.PaymentMethodOptions.Payco; - export type Paynow = Stripe.PaymentIntent.PaymentMethodOptions.Paynow; - export type Paypal = Stripe.PaymentIntent.PaymentMethodOptions.Paypal; - export type Payto = Stripe.PaymentIntent.PaymentMethodOptions.Payto; - export type Pix = Stripe.PaymentIntent.PaymentMethodOptions.Pix; - export type Promptpay = Stripe.PaymentIntent.PaymentMethodOptions.Promptpay; - export type RevolutPay = Stripe.PaymentIntent.PaymentMethodOptions.RevolutPay; - export type SamsungPay = Stripe.PaymentIntent.PaymentMethodOptions.SamsungPay; - export type Satispay = Stripe.PaymentIntent.PaymentMethodOptions.Satispay; - export type Scalapay = Stripe.PaymentIntent.PaymentMethodOptions.Scalapay; - export type SepaDebit = Stripe.PaymentIntent.PaymentMethodOptions.SepaDebit; - export type Sofort = Stripe.PaymentIntent.PaymentMethodOptions.Sofort; - export type Swish = Stripe.PaymentIntent.PaymentMethodOptions.Swish; - export type Twint = Stripe.PaymentIntent.PaymentMethodOptions.Twint; - export type Upi = Stripe.PaymentIntent.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount; - export type WechatPay = Stripe.PaymentIntent.PaymentMethodOptions.WechatPay; - export type Zip = Stripe.PaymentIntent.PaymentMethodOptions.Zip; + export type AcssDebit = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.PaymentIntent.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntent.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntent.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.PaymentIntent.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.PaymentIntent.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntent.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntent.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.PaymentIntent.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.PaymentIntent.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.PaymentIntent.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.PaymentIntent.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.PaymentIntent.PaymentMethodOptions.Boleto; + export type Card = Stripe_.PaymentIntent.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe_.PaymentIntent.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.PaymentIntent.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.PaymentIntent.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.PaymentIntent.PaymentMethodOptions.Fpx; + export type Giropay = Stripe_.PaymentIntent.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe_.PaymentIntent.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe_.PaymentIntent.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe_.PaymentIntent.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntent.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.PaymentIntent.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.PaymentIntent.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.PaymentIntent.PaymentMethodOptions.KrCard; + export type Link = Stripe_.PaymentIntent.PaymentMethodOptions.Link; + export type MbWay = Stripe_.PaymentIntent.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe_.PaymentIntent.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.PaymentIntent.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.PaymentIntent.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntent.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntent.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.PaymentIntent.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.PaymentIntent.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.PaymentIntent.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.PaymentIntent.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.PaymentIntent.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.PaymentIntent.PaymentMethodOptions.Payto; + export type Pix = Stripe_.PaymentIntent.PaymentMethodOptions.Pix; + export type Promptpay = Stripe_.PaymentIntent.PaymentMethodOptions.Promptpay; + export type RevolutPay = Stripe_.PaymentIntent.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntent.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.PaymentIntent.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.PaymentIntent.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort; + export type Swish = Stripe_.PaymentIntent.PaymentMethodOptions.Swish; + export type Twint = Stripe_.PaymentIntent.PaymentMethodOptions.Twint; + export type Upi = Stripe_.PaymentIntent.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntent.PaymentMethodOptions.WechatPay; + export type Zip = Stripe_.PaymentIntent.PaymentMethodOptions.Zip; export namespace AcssDebit { - export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.SetupFutureUsage; - export type VerificationMethod = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type PaymentSchedule = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type PaymentSchedule = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Alipay { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Alipay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Alipay.SetupFutureUsage; } export namespace AmazonPay { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.AmazonPay.SetupFutureUsage; } export namespace AuBecsDebit { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; } export namespace BacsDebit { - export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.BacsDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.BacsDebit.SetupFutureUsage; } export namespace Bancontact { - export type PreferredLanguage = Stripe.PaymentIntent.PaymentMethodOptions.Bancontact.PreferredLanguage; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Bancontact.SetupFutureUsage; + export type PreferredLanguage = Stripe_.PaymentIntent.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Bancontact.SetupFutureUsage; } export namespace Boleto { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Boleto.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Boleto.SetupFutureUsage; } export namespace Card { - export type Installments = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments; - export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.PaymentIntent.PaymentMethodOptions.Card.Network; - export type RequestExtendedAuthorization = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestExtendedAuthorization; - export type RequestIncrementalAuthorization = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestIncrementalAuthorization; - export type RequestMulticapture = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestMulticapture; - export type RequestOvercapture = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestOvercapture; - export type RequestThreeDSecure = Stripe.PaymentIntent.PaymentMethodOptions.Card.RequestThreeDSecure; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Card.SetupFutureUsage; + export type Installments = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Network; + export type RequestExtendedAuthorization = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Card.SetupFutureUsage; export namespace Installments { - export type AvailablePlan = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan; - export type Plan = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments.Plan; + export type AvailablePlan = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan; + export type Plan = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments.Plan; export namespace AvailablePlan { - export type Type = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan.Type; + export type Type = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan.Type; } export namespace Plan { - export type Type = Stripe.PaymentIntent.PaymentMethodOptions.Card.Installments.Plan.Type; + export type Type = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments.Plan.Type; } } export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntent.PaymentMethodOptions.Card.MandateOptions.AmountType; - export type Interval = Stripe.PaymentIntent.PaymentMethodOptions.Card.MandateOptions.Interval; + export type AmountType = Stripe_.PaymentIntent.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.PaymentIntent.PaymentMethodOptions.Card.MandateOptions.Interval; } } export namespace CardPresent { - export type CaptureMethod = Stripe.PaymentIntent.PaymentMethodOptions.CardPresent.CaptureMethod; - export type Routing = Stripe.PaymentIntent.PaymentMethodOptions.CardPresent.Routing; + export type CaptureMethod = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.CaptureMethod; + export type Routing = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.Routing; export namespace Routing { - export type RequestedPriority = Stripe.PaymentIntent.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + export type RequestedPriority = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; } } export namespace Cashapp { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Cashapp.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Cashapp.SetupFutureUsage; } export namespace CustomerBalance { - export type BankTransfer = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; - export type RequestedAddressType = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; - export type Type = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export type EuBankTransfer = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; export namespace EuBankTransfer { - export type Country = Stripe.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + export type Country = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; } } } export namespace Ideal { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Ideal.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Ideal.SetupFutureUsage; } export namespace KakaoPay { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.KakaoPay.SetupFutureUsage; } export namespace Klarna { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Klarna.SetupFutureUsage; } export namespace KrCard { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.KrCard.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.KrCard.SetupFutureUsage; } export namespace Link { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Link.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Link.SetupFutureUsage; } export namespace NaverPay { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.NaverPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.NaverPay.SetupFutureUsage; } export namespace NzBankAccount { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; } export namespace Paypal { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Paypal.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Paypal.SetupFutureUsage; } export namespace Payto { - export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Payto.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.PaymentIntent.PaymentMethodOptions.Pix.AmountIncludesIof; - export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Pix.SetupFutureUsage; + export type AmountIncludesIof = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.SetupFutureUsage; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace RevolutPay { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } export namespace SepaDebit { - export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit.SetupFutureUsage; } export namespace Sofort { - export type PreferredLanguage = Stripe.PaymentIntent.PaymentMethodOptions.Sofort.PreferredLanguage; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Sofort.SetupFutureUsage; + export type PreferredLanguage = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort.SetupFutureUsage; } export namespace Twint { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Twint.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Twint.SetupFutureUsage; } export namespace Upi { - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.Upi.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Upi.SetupFutureUsage; } export namespace UsBankAccount { - export type FinancialConnections = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type MandateOptions = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.MandateOptions; - export type SetupFutureUsage = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; - export type TransactionPurpose = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.TransactionPurpose; - export type VerificationMethod = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } export namespace WechatPay { - export type Client = Stripe.PaymentIntent.PaymentMethodOptions.WechatPay.Client; + export type Client = Stripe_.PaymentIntent.PaymentMethodOptions.WechatPay.Client; } } export namespace Processing { - export type Card = Stripe.PaymentIntent.Processing.Card; + export type Card = Stripe_.PaymentIntent.Processing.Card; export namespace Card { - export type CustomerNotification = Stripe.PaymentIntent.Processing.Card.CustomerNotification; + export type CustomerNotification = Stripe_.PaymentIntent.Processing.Card.CustomerNotification; } } export namespace TransferData { - export type PaymentData = Stripe.PaymentIntent.TransferData.PaymentData; + export type PaymentData = Stripe_.PaymentIntent.TransferData.PaymentData; } } export namespace PaymentLinkCreateParams { - export type LineItem = Stripe.PaymentLinkCreateParams.LineItem; - export type AfterCompletion = Stripe.PaymentLinkCreateParams.AfterCompletion; - export type AutomaticTax = Stripe.PaymentLinkCreateParams.AutomaticTax; - export type BillingAddressCollection = Stripe.PaymentLinkCreateParams.BillingAddressCollection; - export type ConsentCollection = Stripe.PaymentLinkCreateParams.ConsentCollection; - export type CustomField = Stripe.PaymentLinkCreateParams.CustomField; - export type CustomText = Stripe.PaymentLinkCreateParams.CustomText; - export type CustomerCreation = Stripe.PaymentLinkCreateParams.CustomerCreation; - export type InvoiceCreation = Stripe.PaymentLinkCreateParams.InvoiceCreation; - export type ManagedPayments = Stripe.PaymentLinkCreateParams.ManagedPayments; - export type NameCollection = Stripe.PaymentLinkCreateParams.NameCollection; - export type OptionalItem = Stripe.PaymentLinkCreateParams.OptionalItem; - export type PaymentIntentData = Stripe.PaymentLinkCreateParams.PaymentIntentData; - export type PaymentMethodCollection = Stripe.PaymentLinkCreateParams.PaymentMethodCollection; - export type PaymentMethodOptions = Stripe.PaymentLinkCreateParams.PaymentMethodOptions; - export type PaymentMethodType = Stripe.PaymentLinkCreateParams.PaymentMethodType; - export type PhoneNumberCollection = Stripe.PaymentLinkCreateParams.PhoneNumberCollection; - export type Restrictions = Stripe.PaymentLinkCreateParams.Restrictions; - export type ShippingAddressCollection = Stripe.PaymentLinkCreateParams.ShippingAddressCollection; - export type ShippingOption = Stripe.PaymentLinkCreateParams.ShippingOption; - export type SubmitType = Stripe.PaymentLinkCreateParams.SubmitType; - export type SubscriptionData = Stripe.PaymentLinkCreateParams.SubscriptionData; - export type TaxIdCollection = Stripe.PaymentLinkCreateParams.TaxIdCollection; - export type TransferData = Stripe.PaymentLinkCreateParams.TransferData; + export type LineItem = Stripe_.PaymentLinkCreateParams.LineItem; + export type AfterCompletion = Stripe_.PaymentLinkCreateParams.AfterCompletion; + export type AutomaticTax = Stripe_.PaymentLinkCreateParams.AutomaticTax; + export type BillingAddressCollection = Stripe_.PaymentLinkCreateParams.BillingAddressCollection; + export type ConsentCollection = Stripe_.PaymentLinkCreateParams.ConsentCollection; + export type CustomField = Stripe_.PaymentLinkCreateParams.CustomField; + export type CustomText = Stripe_.PaymentLinkCreateParams.CustomText; + export type CustomerCreation = Stripe_.PaymentLinkCreateParams.CustomerCreation; + export type InvoiceCreation = Stripe_.PaymentLinkCreateParams.InvoiceCreation; + export type ManagedPayments = Stripe_.PaymentLinkCreateParams.ManagedPayments; + export type NameCollection = Stripe_.PaymentLinkCreateParams.NameCollection; + export type OptionalItem = Stripe_.PaymentLinkCreateParams.OptionalItem; + export type PaymentIntentData = Stripe_.PaymentLinkCreateParams.PaymentIntentData; + export type PaymentMethodCollection = Stripe_.PaymentLinkCreateParams.PaymentMethodCollection; + export type PaymentMethodOptions = Stripe_.PaymentLinkCreateParams.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.PaymentLinkCreateParams.PaymentMethodType; + export type PhoneNumberCollection = Stripe_.PaymentLinkCreateParams.PhoneNumberCollection; + export type Restrictions = Stripe_.PaymentLinkCreateParams.Restrictions; + export type ShippingAddressCollection = Stripe_.PaymentLinkCreateParams.ShippingAddressCollection; + export type ShippingOption = Stripe_.PaymentLinkCreateParams.ShippingOption; + export type SubmitType = Stripe_.PaymentLinkCreateParams.SubmitType; + export type SubscriptionData = Stripe_.PaymentLinkCreateParams.SubscriptionData; + export type TaxIdCollection = Stripe_.PaymentLinkCreateParams.TaxIdCollection; + export type TransferData = Stripe_.PaymentLinkCreateParams.TransferData; export namespace AfterCompletion { - export type HostedConfirmation = Stripe.PaymentLinkCreateParams.AfterCompletion.HostedConfirmation; - export type Redirect = Stripe.PaymentLinkCreateParams.AfterCompletion.Redirect; - export type Type = Stripe.PaymentLinkCreateParams.AfterCompletion.Type; + export type HostedConfirmation = Stripe_.PaymentLinkCreateParams.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.PaymentLinkCreateParams.AfterCompletion.Redirect; + export type Type = Stripe_.PaymentLinkCreateParams.AfterCompletion.Type; } export namespace AutomaticTax { - export type Liability = Stripe.PaymentLinkCreateParams.AutomaticTax.Liability; + export type Liability = Stripe_.PaymentLinkCreateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.PaymentLinkCreateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.PaymentLinkCreateParams.AutomaticTax.Liability.Type; } } export namespace ConsentCollection { - export type PaymentMethodReuseAgreement = Stripe.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement; - export type Promotions = Stripe.PaymentLinkCreateParams.ConsentCollection.Promotions; - export type TermsOfService = Stripe.PaymentLinkCreateParams.ConsentCollection.TermsOfService; + export type PaymentMethodReuseAgreement = Stripe_.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe_.PaymentLinkCreateParams.ConsentCollection.Promotions; + export type TermsOfService = Stripe_.PaymentLinkCreateParams.ConsentCollection.TermsOfService; export namespace PaymentMethodReuseAgreement { - export type Position = Stripe.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position; + export type Position = Stripe_.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position; } } export namespace CustomField { - export type Dropdown = Stripe.PaymentLinkCreateParams.CustomField.Dropdown; - export type Label = Stripe.PaymentLinkCreateParams.CustomField.Label; - export type Numeric = Stripe.PaymentLinkCreateParams.CustomField.Numeric; - export type Text = Stripe.PaymentLinkCreateParams.CustomField.Text; - export type Type = Stripe.PaymentLinkCreateParams.CustomField.Type; + export type Dropdown = Stripe_.PaymentLinkCreateParams.CustomField.Dropdown; + export type Label = Stripe_.PaymentLinkCreateParams.CustomField.Label; + export type Numeric = Stripe_.PaymentLinkCreateParams.CustomField.Numeric; + export type Text = Stripe_.PaymentLinkCreateParams.CustomField.Text; + export type Type = Stripe_.PaymentLinkCreateParams.CustomField.Type; export namespace Dropdown { - export type Option = Stripe.PaymentLinkCreateParams.CustomField.Dropdown.Option; + export type Option = Stripe_.PaymentLinkCreateParams.CustomField.Dropdown.Option; } } export namespace CustomText { - export type AfterSubmit = Stripe.PaymentLinkCreateParams.CustomText.AfterSubmit; - export type ShippingAddress = Stripe.PaymentLinkCreateParams.CustomText.ShippingAddress; - export type Submit = Stripe.PaymentLinkCreateParams.CustomText.Submit; - export type TermsOfServiceAcceptance = Stripe.PaymentLinkCreateParams.CustomText.TermsOfServiceAcceptance; + export type AfterSubmit = Stripe_.PaymentLinkCreateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.PaymentLinkCreateParams.CustomText.ShippingAddress; + export type Submit = Stripe_.PaymentLinkCreateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.PaymentLinkCreateParams.CustomText.TermsOfServiceAcceptance; } export namespace InvoiceCreation { - export type InvoiceData = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData; + export type InvoiceData = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData; export namespace InvoiceData { - export type CustomField = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.CustomField; - export type Issuer = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Issuer; - export type RenderingOptions = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export type CustomField = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions; export namespace Issuer { - export type Type = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Issuer.Type; + export type Type = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Issuer.Type; } export namespace RenderingOptions { - export type AmountTaxDisplay = Stripe.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + export type AmountTaxDisplay = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; } } } export namespace LineItem { - export type AdjustableQuantity = Stripe.PaymentLinkCreateParams.LineItem.AdjustableQuantity; - export type PriceData = Stripe.PaymentLinkCreateParams.LineItem.PriceData; + export type AdjustableQuantity = Stripe_.PaymentLinkCreateParams.LineItem.AdjustableQuantity; + export type PriceData = Stripe_.PaymentLinkCreateParams.LineItem.PriceData; export namespace PriceData { - export type ProductData = Stripe.PaymentLinkCreateParams.LineItem.PriceData.ProductData; - export type Recurring = Stripe.PaymentLinkCreateParams.LineItem.PriceData.Recurring; - export type TaxBehavior = Stripe.PaymentLinkCreateParams.LineItem.PriceData.TaxBehavior; + export type ProductData = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.ProductData; + export type Recurring = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.PaymentLinkCreateParams.LineItem.PriceData.Recurring.Interval; + export type Interval = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.Recurring.Interval; } } } export namespace NameCollection { - export type Business = Stripe.PaymentLinkCreateParams.NameCollection.Business; - export type Individual = Stripe.PaymentLinkCreateParams.NameCollection.Individual; + export type Business = Stripe_.PaymentLinkCreateParams.NameCollection.Business; + export type Individual = Stripe_.PaymentLinkCreateParams.NameCollection.Individual; } export namespace OptionalItem { - export type AdjustableQuantity = Stripe.PaymentLinkCreateParams.OptionalItem.AdjustableQuantity; + export type AdjustableQuantity = Stripe_.PaymentLinkCreateParams.OptionalItem.AdjustableQuantity; } export namespace PaymentIntentData { - export type CaptureMethod = Stripe.PaymentLinkCreateParams.PaymentIntentData.CaptureMethod; - export type SetupFutureUsage = Stripe.PaymentLinkCreateParams.PaymentIntentData.SetupFutureUsage; + export type CaptureMethod = Stripe_.PaymentLinkCreateParams.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe_.PaymentLinkCreateParams.PaymentIntentData.SetupFutureUsage; } export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentLinkCreateParams.PaymentMethodOptions.Card; + export type Card = Stripe_.PaymentLinkCreateParams.PaymentMethodOptions.Card; export namespace Card { - export type Restrictions = Stripe.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions; + export type Restrictions = Stripe_.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions; export namespace Restrictions { - export type BrandsBlocked = Stripe.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + export type BrandsBlocked = Stripe_.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; } } } export namespace Restrictions { - export type CompletedSessions = Stripe.PaymentLinkCreateParams.Restrictions.CompletedSessions; + export type CompletedSessions = Stripe_.PaymentLinkCreateParams.Restrictions.CompletedSessions; } export namespace ShippingAddressCollection { - export type AllowedCountry = Stripe.PaymentLinkCreateParams.ShippingAddressCollection.AllowedCountry; + export type AllowedCountry = Stripe_.PaymentLinkCreateParams.ShippingAddressCollection.AllowedCountry; } export namespace SubscriptionData { - export type InvoiceSettings = Stripe.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings; - export type TrialSettings = Stripe.PaymentLinkCreateParams.SubscriptionData.TrialSettings; + export type InvoiceSettings = Stripe_.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe_.PaymentLinkCreateParams.SubscriptionData.TrialSettings; export namespace InvoiceSettings { - export type Issuer = Stripe.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings.Issuer; + export type Issuer = Stripe_.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings.Issuer.Type; } } export namespace TrialSettings { - export type EndBehavior = Stripe.PaymentLinkCreateParams.SubscriptionData.TrialSettings.EndBehavior; + export type EndBehavior = Stripe_.PaymentLinkCreateParams.SubscriptionData.TrialSettings.EndBehavior; export namespace EndBehavior { - export type MissingPaymentMethod = Stripe.PaymentLinkCreateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + export type MissingPaymentMethod = Stripe_.PaymentLinkCreateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; } } } export namespace TaxIdCollection { - export type Required = Stripe.PaymentLinkCreateParams.TaxIdCollection.Required; + export type Required = Stripe_.PaymentLinkCreateParams.TaxIdCollection.Required; } } export namespace PaymentLinkUpdateParams { - export type AfterCompletion = Stripe.PaymentLinkUpdateParams.AfterCompletion; - export type AutomaticTax = Stripe.PaymentLinkUpdateParams.AutomaticTax; - export type BillingAddressCollection = Stripe.PaymentLinkUpdateParams.BillingAddressCollection; - export type CustomField = Stripe.PaymentLinkUpdateParams.CustomField; - export type CustomText = Stripe.PaymentLinkUpdateParams.CustomText; - export type CustomerCreation = Stripe.PaymentLinkUpdateParams.CustomerCreation; - export type InvoiceCreation = Stripe.PaymentLinkUpdateParams.InvoiceCreation; - export type LineItem = Stripe.PaymentLinkUpdateParams.LineItem; - export type NameCollection = Stripe.PaymentLinkUpdateParams.NameCollection; - export type OptionalItem = Stripe.PaymentLinkUpdateParams.OptionalItem; - export type PaymentIntentData = Stripe.PaymentLinkUpdateParams.PaymentIntentData; - export type PaymentMethodCollection = Stripe.PaymentLinkUpdateParams.PaymentMethodCollection; - export type PaymentMethodOptions = Stripe.PaymentLinkUpdateParams.PaymentMethodOptions; - export type PaymentMethodType = Stripe.PaymentLinkUpdateParams.PaymentMethodType; - export type PhoneNumberCollection = Stripe.PaymentLinkUpdateParams.PhoneNumberCollection; - export type Restrictions = Stripe.PaymentLinkUpdateParams.Restrictions; - export type ShippingAddressCollection = Stripe.PaymentLinkUpdateParams.ShippingAddressCollection; - export type SubmitType = Stripe.PaymentLinkUpdateParams.SubmitType; - export type SubscriptionData = Stripe.PaymentLinkUpdateParams.SubscriptionData; - export type TaxIdCollection = Stripe.PaymentLinkUpdateParams.TaxIdCollection; + export type AfterCompletion = Stripe_.PaymentLinkUpdateParams.AfterCompletion; + export type AutomaticTax = Stripe_.PaymentLinkUpdateParams.AutomaticTax; + export type BillingAddressCollection = Stripe_.PaymentLinkUpdateParams.BillingAddressCollection; + export type CustomField = Stripe_.PaymentLinkUpdateParams.CustomField; + export type CustomText = Stripe_.PaymentLinkUpdateParams.CustomText; + export type CustomerCreation = Stripe_.PaymentLinkUpdateParams.CustomerCreation; + export type InvoiceCreation = Stripe_.PaymentLinkUpdateParams.InvoiceCreation; + export type LineItem = Stripe_.PaymentLinkUpdateParams.LineItem; + export type NameCollection = Stripe_.PaymentLinkUpdateParams.NameCollection; + export type OptionalItem = Stripe_.PaymentLinkUpdateParams.OptionalItem; + export type PaymentIntentData = Stripe_.PaymentLinkUpdateParams.PaymentIntentData; + export type PaymentMethodCollection = Stripe_.PaymentLinkUpdateParams.PaymentMethodCollection; + export type PaymentMethodOptions = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.PaymentLinkUpdateParams.PaymentMethodType; + export type PhoneNumberCollection = Stripe_.PaymentLinkUpdateParams.PhoneNumberCollection; + export type Restrictions = Stripe_.PaymentLinkUpdateParams.Restrictions; + export type ShippingAddressCollection = Stripe_.PaymentLinkUpdateParams.ShippingAddressCollection; + export type SubmitType = Stripe_.PaymentLinkUpdateParams.SubmitType; + export type SubscriptionData = Stripe_.PaymentLinkUpdateParams.SubscriptionData; + export type TaxIdCollection = Stripe_.PaymentLinkUpdateParams.TaxIdCollection; export namespace AfterCompletion { - export type HostedConfirmation = Stripe.PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation; - export type Redirect = Stripe.PaymentLinkUpdateParams.AfterCompletion.Redirect; - export type Type = Stripe.PaymentLinkUpdateParams.AfterCompletion.Type; + export type HostedConfirmation = Stripe_.PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.PaymentLinkUpdateParams.AfterCompletion.Redirect; + export type Type = Stripe_.PaymentLinkUpdateParams.AfterCompletion.Type; } export namespace AutomaticTax { - export type Liability = Stripe.PaymentLinkUpdateParams.AutomaticTax.Liability; + export type Liability = Stripe_.PaymentLinkUpdateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.PaymentLinkUpdateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.PaymentLinkUpdateParams.AutomaticTax.Liability.Type; } } export namespace CustomField { - export type Dropdown = Stripe.PaymentLinkUpdateParams.CustomField.Dropdown; - export type Label = Stripe.PaymentLinkUpdateParams.CustomField.Label; - export type Numeric = Stripe.PaymentLinkUpdateParams.CustomField.Numeric; - export type Text = Stripe.PaymentLinkUpdateParams.CustomField.Text; - export type Type = Stripe.PaymentLinkUpdateParams.CustomField.Type; + export type Dropdown = Stripe_.PaymentLinkUpdateParams.CustomField.Dropdown; + export type Label = Stripe_.PaymentLinkUpdateParams.CustomField.Label; + export type Numeric = Stripe_.PaymentLinkUpdateParams.CustomField.Numeric; + export type Text = Stripe_.PaymentLinkUpdateParams.CustomField.Text; + export type Type = Stripe_.PaymentLinkUpdateParams.CustomField.Type; export namespace Dropdown { - export type Option = Stripe.PaymentLinkUpdateParams.CustomField.Dropdown.Option; + export type Option = Stripe_.PaymentLinkUpdateParams.CustomField.Dropdown.Option; } } export namespace CustomText { - export type AfterSubmit = Stripe.PaymentLinkUpdateParams.CustomText.AfterSubmit; - export type ShippingAddress = Stripe.PaymentLinkUpdateParams.CustomText.ShippingAddress; - export type Submit = Stripe.PaymentLinkUpdateParams.CustomText.Submit; - export type TermsOfServiceAcceptance = Stripe.PaymentLinkUpdateParams.CustomText.TermsOfServiceAcceptance; + export type AfterSubmit = Stripe_.PaymentLinkUpdateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.PaymentLinkUpdateParams.CustomText.ShippingAddress; + export type Submit = Stripe_.PaymentLinkUpdateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.PaymentLinkUpdateParams.CustomText.TermsOfServiceAcceptance; } export namespace InvoiceCreation { - export type InvoiceData = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData; + export type InvoiceData = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData; export namespace InvoiceData { - export type CustomField = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField; - export type Issuer = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer; - export type RenderingOptions = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export type CustomField = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions; export namespace Issuer { - export type Type = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer.Type; + export type Type = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer.Type; } export namespace RenderingOptions { - export type AmountTaxDisplay = Stripe.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + export type AmountTaxDisplay = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; } } } export namespace LineItem { - export type AdjustableQuantity = Stripe.PaymentLinkUpdateParams.LineItem.AdjustableQuantity; + export type AdjustableQuantity = Stripe_.PaymentLinkUpdateParams.LineItem.AdjustableQuantity; } export namespace NameCollection { - export type Business = Stripe.PaymentLinkUpdateParams.NameCollection.Business; - export type Individual = Stripe.PaymentLinkUpdateParams.NameCollection.Individual; + export type Business = Stripe_.PaymentLinkUpdateParams.NameCollection.Business; + export type Individual = Stripe_.PaymentLinkUpdateParams.NameCollection.Individual; } export namespace OptionalItem { - export type AdjustableQuantity = Stripe.PaymentLinkUpdateParams.OptionalItem.AdjustableQuantity; + export type AdjustableQuantity = Stripe_.PaymentLinkUpdateParams.OptionalItem.AdjustableQuantity; } export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentLinkUpdateParams.PaymentMethodOptions.Card; + export type Card = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card; export namespace Card { - export type Restrictions = Stripe.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions; + export type Restrictions = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions; export namespace Restrictions { - export type BrandsBlocked = Stripe.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + export type BrandsBlocked = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; } } } export namespace Restrictions { - export type CompletedSessions = Stripe.PaymentLinkUpdateParams.Restrictions.CompletedSessions; + export type CompletedSessions = Stripe_.PaymentLinkUpdateParams.Restrictions.CompletedSessions; } export namespace ShippingAddressCollection { - export type AllowedCountry = Stripe.PaymentLinkUpdateParams.ShippingAddressCollection.AllowedCountry; + export type AllowedCountry = Stripe_.PaymentLinkUpdateParams.ShippingAddressCollection.AllowedCountry; } export namespace SubscriptionData { - export type InvoiceSettings = Stripe.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings; - export type TrialSettings = Stripe.PaymentLinkUpdateParams.SubscriptionData.TrialSettings; + export type InvoiceSettings = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings; export namespace InvoiceSettings { - export type Issuer = Stripe.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer; + export type Issuer = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer.Type; } } export namespace TrialSettings { - export type EndBehavior = Stripe.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior; + export type EndBehavior = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior; export namespace EndBehavior { - export type MissingPaymentMethod = Stripe.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + export type MissingPaymentMethod = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; } } } export namespace TaxIdCollection { - export type Required = Stripe.PaymentLinkUpdateParams.TaxIdCollection.Required; + export type Required = Stripe_.PaymentLinkUpdateParams.TaxIdCollection.Required; } } export namespace PaymentLink { - export type AfterCompletion = Stripe.PaymentLink.AfterCompletion; - export type AutomaticTax = Stripe.PaymentLink.AutomaticTax; - export type BillingAddressCollection = Stripe.PaymentLink.BillingAddressCollection; - export type ConsentCollection = Stripe.PaymentLink.ConsentCollection; - export type CustomField = Stripe.PaymentLink.CustomField; - export type CustomText = Stripe.PaymentLink.CustomText; - export type CustomerCreation = Stripe.PaymentLink.CustomerCreation; - export type InvoiceCreation = Stripe.PaymentLink.InvoiceCreation; - export type ManagedPayments = Stripe.PaymentLink.ManagedPayments; - export type NameCollection = Stripe.PaymentLink.NameCollection; - export type OptionalItem = Stripe.PaymentLink.OptionalItem; - export type PaymentIntentData = Stripe.PaymentLink.PaymentIntentData; - export type PaymentMethodCollection = Stripe.PaymentLink.PaymentMethodCollection; - export type PaymentMethodOptions = Stripe.PaymentLink.PaymentMethodOptions; - export type PaymentMethodType = Stripe.PaymentLink.PaymentMethodType; - export type PhoneNumberCollection = Stripe.PaymentLink.PhoneNumberCollection; - export type Restrictions = Stripe.PaymentLink.Restrictions; - export type ShippingAddressCollection = Stripe.PaymentLink.ShippingAddressCollection; - export type ShippingOption = Stripe.PaymentLink.ShippingOption; - export type SubmitType = Stripe.PaymentLink.SubmitType; - export type SubscriptionData = Stripe.PaymentLink.SubscriptionData; - export type TaxIdCollection = Stripe.PaymentLink.TaxIdCollection; - export type TransferData = Stripe.PaymentLink.TransferData; + export type AfterCompletion = Stripe_.PaymentLink.AfterCompletion; + export type AutomaticTax = Stripe_.PaymentLink.AutomaticTax; + export type BillingAddressCollection = Stripe_.PaymentLink.BillingAddressCollection; + export type ConsentCollection = Stripe_.PaymentLink.ConsentCollection; + export type CustomField = Stripe_.PaymentLink.CustomField; + export type CustomText = Stripe_.PaymentLink.CustomText; + export type CustomerCreation = Stripe_.PaymentLink.CustomerCreation; + export type InvoiceCreation = Stripe_.PaymentLink.InvoiceCreation; + export type ManagedPayments = Stripe_.PaymentLink.ManagedPayments; + export type NameCollection = Stripe_.PaymentLink.NameCollection; + export type OptionalItem = Stripe_.PaymentLink.OptionalItem; + export type PaymentIntentData = Stripe_.PaymentLink.PaymentIntentData; + export type PaymentMethodCollection = Stripe_.PaymentLink.PaymentMethodCollection; + export type PaymentMethodOptions = Stripe_.PaymentLink.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.PaymentLink.PaymentMethodType; + export type PhoneNumberCollection = Stripe_.PaymentLink.PhoneNumberCollection; + export type Restrictions = Stripe_.PaymentLink.Restrictions; + export type ShippingAddressCollection = Stripe_.PaymentLink.ShippingAddressCollection; + export type ShippingOption = Stripe_.PaymentLink.ShippingOption; + export type SubmitType = Stripe_.PaymentLink.SubmitType; + export type SubscriptionData = Stripe_.PaymentLink.SubscriptionData; + export type TaxIdCollection = Stripe_.PaymentLink.TaxIdCollection; + export type TransferData = Stripe_.PaymentLink.TransferData; export namespace AfterCompletion { - export type HostedConfirmation = Stripe.PaymentLink.AfterCompletion.HostedConfirmation; - export type Redirect = Stripe.PaymentLink.AfterCompletion.Redirect; - export type Type = Stripe.PaymentLink.AfterCompletion.Type; + export type HostedConfirmation = Stripe_.PaymentLink.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.PaymentLink.AfterCompletion.Redirect; + export type Type = Stripe_.PaymentLink.AfterCompletion.Type; } export namespace AutomaticTax { - export type Liability = Stripe.PaymentLink.AutomaticTax.Liability; + export type Liability = Stripe_.PaymentLink.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.PaymentLink.AutomaticTax.Liability.Type; + export type Type = Stripe_.PaymentLink.AutomaticTax.Liability.Type; } } export namespace ConsentCollection { - export type PaymentMethodReuseAgreement = Stripe.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement; - export type Promotions = Stripe.PaymentLink.ConsentCollection.Promotions; - export type TermsOfService = Stripe.PaymentLink.ConsentCollection.TermsOfService; + export type PaymentMethodReuseAgreement = Stripe_.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe_.PaymentLink.ConsentCollection.Promotions; + export type TermsOfService = Stripe_.PaymentLink.ConsentCollection.TermsOfService; export namespace PaymentMethodReuseAgreement { - export type Position = Stripe.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement.Position; + export type Position = Stripe_.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement.Position; } } export namespace CustomField { - export type Dropdown = Stripe.PaymentLink.CustomField.Dropdown; - export type Label = Stripe.PaymentLink.CustomField.Label; - export type Numeric = Stripe.PaymentLink.CustomField.Numeric; - export type Text = Stripe.PaymentLink.CustomField.Text; - export type Type = Stripe.PaymentLink.CustomField.Type; + export type Dropdown = Stripe_.PaymentLink.CustomField.Dropdown; + export type Label = Stripe_.PaymentLink.CustomField.Label; + export type Numeric = Stripe_.PaymentLink.CustomField.Numeric; + export type Text = Stripe_.PaymentLink.CustomField.Text; + export type Type = Stripe_.PaymentLink.CustomField.Type; export namespace Dropdown { - export type Option = Stripe.PaymentLink.CustomField.Dropdown.Option; + export type Option = Stripe_.PaymentLink.CustomField.Dropdown.Option; } } export namespace CustomText { - export type AfterSubmit = Stripe.PaymentLink.CustomText.AfterSubmit; - export type ShippingAddress = Stripe.PaymentLink.CustomText.ShippingAddress; - export type Submit = Stripe.PaymentLink.CustomText.Submit; - export type TermsOfServiceAcceptance = Stripe.PaymentLink.CustomText.TermsOfServiceAcceptance; + export type AfterSubmit = Stripe_.PaymentLink.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.PaymentLink.CustomText.ShippingAddress; + export type Submit = Stripe_.PaymentLink.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.PaymentLink.CustomText.TermsOfServiceAcceptance; } export namespace InvoiceCreation { - export type InvoiceData = Stripe.PaymentLink.InvoiceCreation.InvoiceData; + export type InvoiceData = Stripe_.PaymentLink.InvoiceCreation.InvoiceData; export namespace InvoiceData { - export type CustomField = Stripe.PaymentLink.InvoiceCreation.InvoiceData.CustomField; - export type Issuer = Stripe.PaymentLink.InvoiceCreation.InvoiceData.Issuer; - export type RenderingOptions = Stripe.PaymentLink.InvoiceCreation.InvoiceData.RenderingOptions; + export type CustomField = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.RenderingOptions; export namespace Issuer { - export type Type = Stripe.PaymentLink.InvoiceCreation.InvoiceData.Issuer.Type; + export type Type = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.Issuer.Type; } } } export namespace NameCollection { - export type Business = Stripe.PaymentLink.NameCollection.Business; - export type Individual = Stripe.PaymentLink.NameCollection.Individual; + export type Business = Stripe_.PaymentLink.NameCollection.Business; + export type Individual = Stripe_.PaymentLink.NameCollection.Individual; } export namespace OptionalItem { - export type AdjustableQuantity = Stripe.PaymentLink.OptionalItem.AdjustableQuantity; + export type AdjustableQuantity = Stripe_.PaymentLink.OptionalItem.AdjustableQuantity; } export namespace PaymentIntentData { - export type CaptureMethod = Stripe.PaymentLink.PaymentIntentData.CaptureMethod; - export type SetupFutureUsage = Stripe.PaymentLink.PaymentIntentData.SetupFutureUsage; + export type CaptureMethod = Stripe_.PaymentLink.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe_.PaymentLink.PaymentIntentData.SetupFutureUsage; } export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentLink.PaymentMethodOptions.Card; + export type Card = Stripe_.PaymentLink.PaymentMethodOptions.Card; export namespace Card { - export type Restrictions = Stripe.PaymentLink.PaymentMethodOptions.Card.Restrictions; + export type Restrictions = Stripe_.PaymentLink.PaymentMethodOptions.Card.Restrictions; export namespace Restrictions { - export type BrandsBlocked = Stripe.PaymentLink.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + export type BrandsBlocked = Stripe_.PaymentLink.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; } } } export namespace Restrictions { - export type CompletedSessions = Stripe.PaymentLink.Restrictions.CompletedSessions; + export type CompletedSessions = Stripe_.PaymentLink.Restrictions.CompletedSessions; } export namespace ShippingAddressCollection { - export type AllowedCountry = Stripe.PaymentLink.ShippingAddressCollection.AllowedCountry; + export type AllowedCountry = Stripe_.PaymentLink.ShippingAddressCollection.AllowedCountry; } export namespace SubscriptionData { - export type InvoiceSettings = Stripe.PaymentLink.SubscriptionData.InvoiceSettings; - export type TrialSettings = Stripe.PaymentLink.SubscriptionData.TrialSettings; + export type InvoiceSettings = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe_.PaymentLink.SubscriptionData.TrialSettings; export namespace InvoiceSettings { - export type Issuer = Stripe.PaymentLink.SubscriptionData.InvoiceSettings.Issuer; + export type Issuer = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.PaymentLink.SubscriptionData.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings.Issuer.Type; } } export namespace TrialSettings { - export type EndBehavior = Stripe.PaymentLink.SubscriptionData.TrialSettings.EndBehavior; + export type EndBehavior = Stripe_.PaymentLink.SubscriptionData.TrialSettings.EndBehavior; export namespace EndBehavior { - export type MissingPaymentMethod = Stripe.PaymentLink.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + export type MissingPaymentMethod = Stripe_.PaymentLink.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; } } } export namespace TaxIdCollection { - export type Required = Stripe.PaymentLink.TaxIdCollection.Required; + export type Required = Stripe_.PaymentLink.TaxIdCollection.Required; } } export namespace PaymentMethodCreateParams { - export type AcssDebit = Stripe.PaymentMethodCreateParams.AcssDebit; - export type Affirm = Stripe.PaymentMethodCreateParams.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethodCreateParams.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethodCreateParams.Alipay; - export type AllowRedisplay = Stripe.PaymentMethodCreateParams.AllowRedisplay; - export type Alma = Stripe.PaymentMethodCreateParams.Alma; - export type AmazonPay = Stripe.PaymentMethodCreateParams.AmazonPay; - export type AuBecsDebit = Stripe.PaymentMethodCreateParams.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethodCreateParams.BacsDebit; - export type Bancontact = Stripe.PaymentMethodCreateParams.Bancontact; - export type Billie = Stripe.PaymentMethodCreateParams.Billie; - export type BillingDetails = Stripe.PaymentMethodCreateParams.BillingDetails; - export type Bizum = Stripe.PaymentMethodCreateParams.Bizum; - export type Blik = Stripe.PaymentMethodCreateParams.Blik; - export type Boleto = Stripe.PaymentMethodCreateParams.Boleto; - export type Card = Stripe.PaymentMethodCreateParams.Card; - export type Cashapp = Stripe.PaymentMethodCreateParams.Cashapp; - export type Crypto = Stripe.PaymentMethodCreateParams.Crypto; - export type Custom = Stripe.PaymentMethodCreateParams.Custom; - export type CustomerBalance = Stripe.PaymentMethodCreateParams.CustomerBalance; - export type Eps = Stripe.PaymentMethodCreateParams.Eps; - export type Fpx = Stripe.PaymentMethodCreateParams.Fpx; - export type Giropay = Stripe.PaymentMethodCreateParams.Giropay; - export type Grabpay = Stripe.PaymentMethodCreateParams.Grabpay; - export type Ideal = Stripe.PaymentMethodCreateParams.Ideal; - export type InteracPresent = Stripe.PaymentMethodCreateParams.InteracPresent; - export type KakaoPay = Stripe.PaymentMethodCreateParams.KakaoPay; - export type Klarna = Stripe.PaymentMethodCreateParams.Klarna; - export type Konbini = Stripe.PaymentMethodCreateParams.Konbini; - export type KrCard = Stripe.PaymentMethodCreateParams.KrCard; - export type Link = Stripe.PaymentMethodCreateParams.Link; - export type MbWay = Stripe.PaymentMethodCreateParams.MbWay; - export type Mobilepay = Stripe.PaymentMethodCreateParams.Mobilepay; - export type Multibanco = Stripe.PaymentMethodCreateParams.Multibanco; - export type NaverPay = Stripe.PaymentMethodCreateParams.NaverPay; - export type NzBankAccount = Stripe.PaymentMethodCreateParams.NzBankAccount; - export type Oxxo = Stripe.PaymentMethodCreateParams.Oxxo; - export type P24 = Stripe.PaymentMethodCreateParams.P24; - export type PayByBank = Stripe.PaymentMethodCreateParams.PayByBank; - export type Payco = Stripe.PaymentMethodCreateParams.Payco; - export type Paynow = Stripe.PaymentMethodCreateParams.Paynow; - export type Paypal = Stripe.PaymentMethodCreateParams.Paypal; - export type Payto = Stripe.PaymentMethodCreateParams.Payto; - export type Pix = Stripe.PaymentMethodCreateParams.Pix; - export type Promptpay = Stripe.PaymentMethodCreateParams.Promptpay; - export type RadarOptions = Stripe.PaymentMethodCreateParams.RadarOptions; - export type RevolutPay = Stripe.PaymentMethodCreateParams.RevolutPay; - export type SamsungPay = Stripe.PaymentMethodCreateParams.SamsungPay; - export type Satispay = Stripe.PaymentMethodCreateParams.Satispay; - export type Scalapay = Stripe.PaymentMethodCreateParams.Scalapay; - export type SepaDebit = Stripe.PaymentMethodCreateParams.SepaDebit; - export type Sofort = Stripe.PaymentMethodCreateParams.Sofort; - export type Sunbit = Stripe.PaymentMethodCreateParams.Sunbit; - export type Swish = Stripe.PaymentMethodCreateParams.Swish; - export type Twint = Stripe.PaymentMethodCreateParams.Twint; - export type Type = Stripe.PaymentMethodCreateParams.Type; - export type Upi = Stripe.PaymentMethodCreateParams.Upi; - export type UsBankAccount = Stripe.PaymentMethodCreateParams.UsBankAccount; - export type WechatPay = Stripe.PaymentMethodCreateParams.WechatPay; - export type Zip = Stripe.PaymentMethodCreateParams.Zip; + export type AcssDebit = Stripe_.PaymentMethodCreateParams.AcssDebit; + export type Affirm = Stripe_.PaymentMethodCreateParams.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethodCreateParams.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethodCreateParams.Alipay; + export type AllowRedisplay = Stripe_.PaymentMethodCreateParams.AllowRedisplay; + export type Alma = Stripe_.PaymentMethodCreateParams.Alma; + export type AmazonPay = Stripe_.PaymentMethodCreateParams.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentMethodCreateParams.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethodCreateParams.BacsDebit; + export type Bancontact = Stripe_.PaymentMethodCreateParams.Bancontact; + export type Billie = Stripe_.PaymentMethodCreateParams.Billie; + export type BillingDetails = Stripe_.PaymentMethodCreateParams.BillingDetails; + export type Bizum = Stripe_.PaymentMethodCreateParams.Bizum; + export type Blik = Stripe_.PaymentMethodCreateParams.Blik; + export type Boleto = Stripe_.PaymentMethodCreateParams.Boleto; + export type Card = Stripe_.PaymentMethodCreateParams.Card; + export type Cashapp = Stripe_.PaymentMethodCreateParams.Cashapp; + export type Crypto = Stripe_.PaymentMethodCreateParams.Crypto; + export type Custom = Stripe_.PaymentMethodCreateParams.Custom; + export type CustomerBalance = Stripe_.PaymentMethodCreateParams.CustomerBalance; + export type Eps = Stripe_.PaymentMethodCreateParams.Eps; + export type Fpx = Stripe_.PaymentMethodCreateParams.Fpx; + export type Giropay = Stripe_.PaymentMethodCreateParams.Giropay; + export type Grabpay = Stripe_.PaymentMethodCreateParams.Grabpay; + export type Ideal = Stripe_.PaymentMethodCreateParams.Ideal; + export type InteracPresent = Stripe_.PaymentMethodCreateParams.InteracPresent; + export type KakaoPay = Stripe_.PaymentMethodCreateParams.KakaoPay; + export type Klarna = Stripe_.PaymentMethodCreateParams.Klarna; + export type Konbini = Stripe_.PaymentMethodCreateParams.Konbini; + export type KrCard = Stripe_.PaymentMethodCreateParams.KrCard; + export type Link = Stripe_.PaymentMethodCreateParams.Link; + export type MbWay = Stripe_.PaymentMethodCreateParams.MbWay; + export type Mobilepay = Stripe_.PaymentMethodCreateParams.Mobilepay; + export type Multibanco = Stripe_.PaymentMethodCreateParams.Multibanco; + export type NaverPay = Stripe_.PaymentMethodCreateParams.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethodCreateParams.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethodCreateParams.Oxxo; + export type P24 = Stripe_.PaymentMethodCreateParams.P24; + export type PayByBank = Stripe_.PaymentMethodCreateParams.PayByBank; + export type Payco = Stripe_.PaymentMethodCreateParams.Payco; + export type Paynow = Stripe_.PaymentMethodCreateParams.Paynow; + export type Paypal = Stripe_.PaymentMethodCreateParams.Paypal; + export type Payto = Stripe_.PaymentMethodCreateParams.Payto; + export type Pix = Stripe_.PaymentMethodCreateParams.Pix; + export type Promptpay = Stripe_.PaymentMethodCreateParams.Promptpay; + export type RadarOptions = Stripe_.PaymentMethodCreateParams.RadarOptions; + export type RevolutPay = Stripe_.PaymentMethodCreateParams.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethodCreateParams.SamsungPay; + export type Satispay = Stripe_.PaymentMethodCreateParams.Satispay; + export type Scalapay = Stripe_.PaymentMethodCreateParams.Scalapay; + export type SepaDebit = Stripe_.PaymentMethodCreateParams.SepaDebit; + export type Sofort = Stripe_.PaymentMethodCreateParams.Sofort; + export type Sunbit = Stripe_.PaymentMethodCreateParams.Sunbit; + export type Swish = Stripe_.PaymentMethodCreateParams.Swish; + export type Twint = Stripe_.PaymentMethodCreateParams.Twint; + export type Type = Stripe_.PaymentMethodCreateParams.Type; + export type Upi = Stripe_.PaymentMethodCreateParams.Upi; + export type UsBankAccount = Stripe_.PaymentMethodCreateParams.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethodCreateParams.WechatPay; + export type Zip = Stripe_.PaymentMethodCreateParams.Zip; export namespace Card { - export type Networks = Stripe.PaymentMethodCreateParams.Card.Networks; + export type Networks = Stripe_.PaymentMethodCreateParams.Card.Networks; export namespace Networks { - export type Preferred = Stripe.PaymentMethodCreateParams.Card.Networks.Preferred; + export type Preferred = Stripe_.PaymentMethodCreateParams.Card.Networks.Preferred; } } export namespace Eps { - export type Bank = Stripe.PaymentMethodCreateParams.Eps.Bank; + export type Bank = Stripe_.PaymentMethodCreateParams.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.PaymentMethodCreateParams.Fpx.AccountHolderType; - export type Bank = Stripe.PaymentMethodCreateParams.Fpx.Bank; + export type AccountHolderType = Stripe_.PaymentMethodCreateParams.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentMethodCreateParams.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.PaymentMethodCreateParams.Ideal.Bank; + export type Bank = Stripe_.PaymentMethodCreateParams.Ideal.Bank; } export namespace Klarna { - export type Dob = Stripe.PaymentMethodCreateParams.Klarna.Dob; + export type Dob = Stripe_.PaymentMethodCreateParams.Klarna.Dob; } export namespace NaverPay { - export type Funding = Stripe.PaymentMethodCreateParams.NaverPay.Funding; + export type Funding = Stripe_.PaymentMethodCreateParams.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.PaymentMethodCreateParams.P24.Bank; + export type Bank = Stripe_.PaymentMethodCreateParams.P24.Bank; } export namespace Sofort { - export type Country = Stripe.PaymentMethodCreateParams.Sofort.Country; + export type Country = Stripe_.PaymentMethodCreateParams.Sofort.Country; } export namespace Upi { - export type MandateOptions = Stripe.PaymentMethodCreateParams.Upi.MandateOptions; + export type MandateOptions = Stripe_.PaymentMethodCreateParams.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.PaymentMethodCreateParams.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.PaymentMethodCreateParams.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type AccountHolderType = Stripe.PaymentMethodCreateParams.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.PaymentMethodCreateParams.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.PaymentMethodCreateParams.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentMethodCreateParams.UsBankAccount.AccountType; } } export namespace PaymentMethodUpdateParams { - export type AllowRedisplay = Stripe.PaymentMethodUpdateParams.AllowRedisplay; - export type BillingDetails = Stripe.PaymentMethodUpdateParams.BillingDetails; - export type Card = Stripe.PaymentMethodUpdateParams.Card; - export type Payto = Stripe.PaymentMethodUpdateParams.Payto; - export type UsBankAccount = Stripe.PaymentMethodUpdateParams.UsBankAccount; + export type AllowRedisplay = Stripe_.PaymentMethodUpdateParams.AllowRedisplay; + export type BillingDetails = Stripe_.PaymentMethodUpdateParams.BillingDetails; + export type Card = Stripe_.PaymentMethodUpdateParams.Card; + export type Payto = Stripe_.PaymentMethodUpdateParams.Payto; + export type UsBankAccount = Stripe_.PaymentMethodUpdateParams.UsBankAccount; export namespace Card { - export type Networks = Stripe.PaymentMethodUpdateParams.Card.Networks; + export type Networks = Stripe_.PaymentMethodUpdateParams.Card.Networks; export namespace Networks { - export type Preferred = Stripe.PaymentMethodUpdateParams.Card.Networks.Preferred; + export type Preferred = Stripe_.PaymentMethodUpdateParams.Card.Networks.Preferred; } } export namespace UsBankAccount { - export type AccountHolderType = Stripe.PaymentMethodUpdateParams.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.PaymentMethodUpdateParams.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.PaymentMethodUpdateParams.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentMethodUpdateParams.UsBankAccount.AccountType; } } export namespace PaymentMethodListParams { - export type AllowRedisplay = Stripe.PaymentMethodListParams.AllowRedisplay; - export type Type = Stripe.PaymentMethodListParams.Type; + export type AllowRedisplay = Stripe_.PaymentMethodListParams.AllowRedisplay; + export type Type = Stripe_.PaymentMethodListParams.Type; } export namespace PaymentMethod { - export type AcssDebit = Stripe.PaymentMethod.AcssDebit; - export type Affirm = Stripe.PaymentMethod.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethod.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethod.Alipay; - export type AllowRedisplay = Stripe.PaymentMethod.AllowRedisplay; - export type Alma = Stripe.PaymentMethod.Alma; - export type AmazonPay = Stripe.PaymentMethod.AmazonPay; - export type AuBecsDebit = Stripe.PaymentMethod.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethod.BacsDebit; - export type Bancontact = Stripe.PaymentMethod.Bancontact; - export type Billie = Stripe.PaymentMethod.Billie; - export type BillingDetails = Stripe.PaymentMethod.BillingDetails; - export type Bizum = Stripe.PaymentMethod.Bizum; - export type Blik = Stripe.PaymentMethod.Blik; - export type Boleto = Stripe.PaymentMethod.Boleto; - export type Card = Stripe.PaymentMethod.Card; - export type CardPresent = Stripe.PaymentMethod.CardPresent; - export type Cashapp = Stripe.PaymentMethod.Cashapp; - export type Crypto = Stripe.PaymentMethod.Crypto; - export type Custom = Stripe.PaymentMethod.Custom; - export type CustomerBalance = Stripe.PaymentMethod.CustomerBalance; - export type Eps = Stripe.PaymentMethod.Eps; - export type Fpx = Stripe.PaymentMethod.Fpx; - export type Giropay = Stripe.PaymentMethod.Giropay; - export type Grabpay = Stripe.PaymentMethod.Grabpay; - export type Ideal = Stripe.PaymentMethod.Ideal; - export type InteracPresent = Stripe.PaymentMethod.InteracPresent; - export type KakaoPay = Stripe.PaymentMethod.KakaoPay; - export type Klarna = Stripe.PaymentMethod.Klarna; - export type Konbini = Stripe.PaymentMethod.Konbini; - export type KrCard = Stripe.PaymentMethod.KrCard; - export type Link = Stripe.PaymentMethod.Link; - export type MbWay = Stripe.PaymentMethod.MbWay; - export type Mobilepay = Stripe.PaymentMethod.Mobilepay; - export type Multibanco = Stripe.PaymentMethod.Multibanco; - export type NaverPay = Stripe.PaymentMethod.NaverPay; - export type NzBankAccount = Stripe.PaymentMethod.NzBankAccount; - export type Oxxo = Stripe.PaymentMethod.Oxxo; - export type P24 = Stripe.PaymentMethod.P24; - export type PayByBank = Stripe.PaymentMethod.PayByBank; - export type Payco = Stripe.PaymentMethod.Payco; - export type Paynow = Stripe.PaymentMethod.Paynow; - export type Paypal = Stripe.PaymentMethod.Paypal; - export type Payto = Stripe.PaymentMethod.Payto; - export type Pix = Stripe.PaymentMethod.Pix; - export type Promptpay = Stripe.PaymentMethod.Promptpay; - export type RadarOptions = Stripe.PaymentMethod.RadarOptions; - export type RevolutPay = Stripe.PaymentMethod.RevolutPay; - export type SamsungPay = Stripe.PaymentMethod.SamsungPay; - export type Satispay = Stripe.PaymentMethod.Satispay; - export type Scalapay = Stripe.PaymentMethod.Scalapay; - export type SepaDebit = Stripe.PaymentMethod.SepaDebit; - export type Sofort = Stripe.PaymentMethod.Sofort; - export type Sunbit = Stripe.PaymentMethod.Sunbit; - export type Swish = Stripe.PaymentMethod.Swish; - export type Twint = Stripe.PaymentMethod.Twint; - export type Type = Stripe.PaymentMethod.Type; - export type Upi = Stripe.PaymentMethod.Upi; - export type UsBankAccount = Stripe.PaymentMethod.UsBankAccount; - export type WechatPay = Stripe.PaymentMethod.WechatPay; - export type Zip = Stripe.PaymentMethod.Zip; + export type AcssDebit = Stripe_.PaymentMethod.AcssDebit; + export type Affirm = Stripe_.PaymentMethod.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethod.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethod.Alipay; + export type AllowRedisplay = Stripe_.PaymentMethod.AllowRedisplay; + export type Alma = Stripe_.PaymentMethod.Alma; + export type AmazonPay = Stripe_.PaymentMethod.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentMethod.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethod.BacsDebit; + export type Bancontact = Stripe_.PaymentMethod.Bancontact; + export type Billie = Stripe_.PaymentMethod.Billie; + export type BillingDetails = Stripe_.PaymentMethod.BillingDetails; + export type Bizum = Stripe_.PaymentMethod.Bizum; + export type Blik = Stripe_.PaymentMethod.Blik; + export type Boleto = Stripe_.PaymentMethod.Boleto; + export type Card = Stripe_.PaymentMethod.Card; + export type CardPresent = Stripe_.PaymentMethod.CardPresent; + export type Cashapp = Stripe_.PaymentMethod.Cashapp; + export type Crypto = Stripe_.PaymentMethod.Crypto; + export type Custom = Stripe_.PaymentMethod.Custom; + export type CustomerBalance = Stripe_.PaymentMethod.CustomerBalance; + export type Eps = Stripe_.PaymentMethod.Eps; + export type Fpx = Stripe_.PaymentMethod.Fpx; + export type Giropay = Stripe_.PaymentMethod.Giropay; + export type Grabpay = Stripe_.PaymentMethod.Grabpay; + export type Ideal = Stripe_.PaymentMethod.Ideal; + export type InteracPresent = Stripe_.PaymentMethod.InteracPresent; + export type KakaoPay = Stripe_.PaymentMethod.KakaoPay; + export type Klarna = Stripe_.PaymentMethod.Klarna; + export type Konbini = Stripe_.PaymentMethod.Konbini; + export type KrCard = Stripe_.PaymentMethod.KrCard; + export type Link = Stripe_.PaymentMethod.Link; + export type MbWay = Stripe_.PaymentMethod.MbWay; + export type Mobilepay = Stripe_.PaymentMethod.Mobilepay; + export type Multibanco = Stripe_.PaymentMethod.Multibanco; + export type NaverPay = Stripe_.PaymentMethod.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethod.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethod.Oxxo; + export type P24 = Stripe_.PaymentMethod.P24; + export type PayByBank = Stripe_.PaymentMethod.PayByBank; + export type Payco = Stripe_.PaymentMethod.Payco; + export type Paynow = Stripe_.PaymentMethod.Paynow; + export type Paypal = Stripe_.PaymentMethod.Paypal; + export type Payto = Stripe_.PaymentMethod.Payto; + export type Pix = Stripe_.PaymentMethod.Pix; + export type Promptpay = Stripe_.PaymentMethod.Promptpay; + export type RadarOptions = Stripe_.PaymentMethod.RadarOptions; + export type RevolutPay = Stripe_.PaymentMethod.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethod.SamsungPay; + export type Satispay = Stripe_.PaymentMethod.Satispay; + export type Scalapay = Stripe_.PaymentMethod.Scalapay; + export type SepaDebit = Stripe_.PaymentMethod.SepaDebit; + export type Sofort = Stripe_.PaymentMethod.Sofort; + export type Sunbit = Stripe_.PaymentMethod.Sunbit; + export type Swish = Stripe_.PaymentMethod.Swish; + export type Twint = Stripe_.PaymentMethod.Twint; + export type Type = Stripe_.PaymentMethod.Type; + export type Upi = Stripe_.PaymentMethod.Upi; + export type UsBankAccount = Stripe_.PaymentMethod.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethod.WechatPay; + export type Zip = Stripe_.PaymentMethod.Zip; export namespace Card { - export type Checks = Stripe.PaymentMethod.Card.Checks; - export type GeneratedFrom = Stripe.PaymentMethod.Card.GeneratedFrom; - export type Networks = Stripe.PaymentMethod.Card.Networks; - export type RegulatedStatus = Stripe.PaymentMethod.Card.RegulatedStatus; - export type ThreeDSecureUsage = Stripe.PaymentMethod.Card.ThreeDSecureUsage; - export type Wallet = Stripe.PaymentMethod.Card.Wallet; + export type Checks = Stripe_.PaymentMethod.Card.Checks; + export type GeneratedFrom = Stripe_.PaymentMethod.Card.GeneratedFrom; + export type Networks = Stripe_.PaymentMethod.Card.Networks; + export type RegulatedStatus = Stripe_.PaymentMethod.Card.RegulatedStatus; + export type ThreeDSecureUsage = Stripe_.PaymentMethod.Card.ThreeDSecureUsage; + export type Wallet = Stripe_.PaymentMethod.Card.Wallet; export namespace GeneratedFrom { - export type PaymentMethodDetails = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails; + export type PaymentMethodDetails = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails; export namespace PaymentMethodDetails { - export type CardPresent = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; + export type CardPresent = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; export namespace CardPresent { - export type Offline = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; - export type ReadMethod = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; - export type Receipt = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; - export type Wallet = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; + export type Offline = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; export namespace Receipt { - export type AccountType = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; + export type AccountType = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; } export namespace Wallet { - export type Type = Stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; + export type Type = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; } } } } export namespace Wallet { - export type AmexExpressCheckout = Stripe.PaymentMethod.Card.Wallet.AmexExpressCheckout; - export type ApplePay = Stripe.PaymentMethod.Card.Wallet.ApplePay; - export type GooglePay = Stripe.PaymentMethod.Card.Wallet.GooglePay; - export type Link = Stripe.PaymentMethod.Card.Wallet.Link; - export type Masterpass = Stripe.PaymentMethod.Card.Wallet.Masterpass; - export type SamsungPay = Stripe.PaymentMethod.Card.Wallet.SamsungPay; - export type Type = Stripe.PaymentMethod.Card.Wallet.Type; - export type VisaCheckout = Stripe.PaymentMethod.Card.Wallet.VisaCheckout; + export type AmexExpressCheckout = Stripe_.PaymentMethod.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe_.PaymentMethod.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.PaymentMethod.Card.Wallet.GooglePay; + export type Link = Stripe_.PaymentMethod.Card.Wallet.Link; + export type Masterpass = Stripe_.PaymentMethod.Card.Wallet.Masterpass; + export type SamsungPay = Stripe_.PaymentMethod.Card.Wallet.SamsungPay; + export type Type = Stripe_.PaymentMethod.Card.Wallet.Type; + export type VisaCheckout = Stripe_.PaymentMethod.Card.Wallet.VisaCheckout; } } export namespace CardPresent { - export type Networks = Stripe.PaymentMethod.CardPresent.Networks; - export type Offline = Stripe.PaymentMethod.CardPresent.Offline; - export type ReadMethod = Stripe.PaymentMethod.CardPresent.ReadMethod; - export type Wallet = Stripe.PaymentMethod.CardPresent.Wallet; + export type Networks = Stripe_.PaymentMethod.CardPresent.Networks; + export type Offline = Stripe_.PaymentMethod.CardPresent.Offline; + export type ReadMethod = Stripe_.PaymentMethod.CardPresent.ReadMethod; + export type Wallet = Stripe_.PaymentMethod.CardPresent.Wallet; export namespace Wallet { - export type Type = Stripe.PaymentMethod.CardPresent.Wallet.Type; + export type Type = Stripe_.PaymentMethod.CardPresent.Wallet.Type; } } export namespace Custom { - export type Logo = Stripe.PaymentMethod.Custom.Logo; + export type Logo = Stripe_.PaymentMethod.Custom.Logo; } export namespace Eps { - export type Bank = Stripe.PaymentMethod.Eps.Bank; + export type Bank = Stripe_.PaymentMethod.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.PaymentMethod.Fpx.AccountHolderType; - export type Bank = Stripe.PaymentMethod.Fpx.Bank; + export type AccountHolderType = Stripe_.PaymentMethod.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentMethod.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.PaymentMethod.Ideal.Bank; - export type Bic = Stripe.PaymentMethod.Ideal.Bic; + export type Bank = Stripe_.PaymentMethod.Ideal.Bank; + export type Bic = Stripe_.PaymentMethod.Ideal.Bic; } export namespace InteracPresent { - export type Networks = Stripe.PaymentMethod.InteracPresent.Networks; - export type ReadMethod = Stripe.PaymentMethod.InteracPresent.ReadMethod; + export type Networks = Stripe_.PaymentMethod.InteracPresent.Networks; + export type ReadMethod = Stripe_.PaymentMethod.InteracPresent.ReadMethod; } export namespace Klarna { - export type Dob = Stripe.PaymentMethod.Klarna.Dob; + export type Dob = Stripe_.PaymentMethod.Klarna.Dob; } export namespace KrCard { - export type Brand = Stripe.PaymentMethod.KrCard.Brand; + export type Brand = Stripe_.PaymentMethod.KrCard.Brand; } export namespace NaverPay { - export type Funding = Stripe.PaymentMethod.NaverPay.Funding; + export type Funding = Stripe_.PaymentMethod.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.PaymentMethod.P24.Bank; + export type Bank = Stripe_.PaymentMethod.P24.Bank; } export namespace SepaDebit { - export type GeneratedFrom = Stripe.PaymentMethod.SepaDebit.GeneratedFrom; + export type GeneratedFrom = Stripe_.PaymentMethod.SepaDebit.GeneratedFrom; } export namespace UsBankAccount { - export type AccountHolderType = Stripe.PaymentMethod.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.PaymentMethod.UsBankAccount.AccountType; - export type Networks = Stripe.PaymentMethod.UsBankAccount.Networks; - export type StatusDetails = Stripe.PaymentMethod.UsBankAccount.StatusDetails; + export type AccountHolderType = Stripe_.PaymentMethod.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentMethod.UsBankAccount.AccountType; + export type Networks = Stripe_.PaymentMethod.UsBankAccount.Networks; + export type StatusDetails = Stripe_.PaymentMethod.UsBankAccount.StatusDetails; export namespace Networks { - export type Supported = Stripe.PaymentMethod.UsBankAccount.Networks.Supported; + export type Supported = Stripe_.PaymentMethod.UsBankAccount.Networks.Supported; } export namespace StatusDetails { - export type Blocked = Stripe.PaymentMethod.UsBankAccount.StatusDetails.Blocked; + export type Blocked = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked; export namespace Blocked { - export type NetworkCode = Stripe.PaymentMethod.UsBankAccount.StatusDetails.Blocked.NetworkCode; - export type Reason = Stripe.PaymentMethod.UsBankAccount.StatusDetails.Blocked.Reason; + export type NetworkCode = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked.NetworkCode; + export type Reason = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked.Reason; } } } } export namespace PaymentMethodConfigurationCreateParams { - export type AcssDebit = Stripe.PaymentMethodConfigurationCreateParams.AcssDebit; - export type Affirm = Stripe.PaymentMethodConfigurationCreateParams.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethodConfigurationCreateParams.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethodConfigurationCreateParams.Alipay; - export type Alma = Stripe.PaymentMethodConfigurationCreateParams.Alma; - export type AmazonPay = Stripe.PaymentMethodConfigurationCreateParams.AmazonPay; - export type ApplePay = Stripe.PaymentMethodConfigurationCreateParams.ApplePay; - export type ApplePayLater = Stripe.PaymentMethodConfigurationCreateParams.ApplePayLater; - export type AuBecsDebit = Stripe.PaymentMethodConfigurationCreateParams.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethodConfigurationCreateParams.BacsDebit; - export type Bancontact = Stripe.PaymentMethodConfigurationCreateParams.Bancontact; - export type Billie = Stripe.PaymentMethodConfigurationCreateParams.Billie; - export type Bizum = Stripe.PaymentMethodConfigurationCreateParams.Bizum; - export type Blik = Stripe.PaymentMethodConfigurationCreateParams.Blik; - export type Boleto = Stripe.PaymentMethodConfigurationCreateParams.Boleto; - export type Card = Stripe.PaymentMethodConfigurationCreateParams.Card; - export type CartesBancaires = Stripe.PaymentMethodConfigurationCreateParams.CartesBancaires; - export type Cashapp = Stripe.PaymentMethodConfigurationCreateParams.Cashapp; - export type Crypto = Stripe.PaymentMethodConfigurationCreateParams.Crypto; - export type CustomerBalance = Stripe.PaymentMethodConfigurationCreateParams.CustomerBalance; - export type Eps = Stripe.PaymentMethodConfigurationCreateParams.Eps; - export type Fpx = Stripe.PaymentMethodConfigurationCreateParams.Fpx; - export type FrMealVoucherConecs = Stripe.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs; - export type Giropay = Stripe.PaymentMethodConfigurationCreateParams.Giropay; - export type GooglePay = Stripe.PaymentMethodConfigurationCreateParams.GooglePay; - export type Grabpay = Stripe.PaymentMethodConfigurationCreateParams.Grabpay; - export type Ideal = Stripe.PaymentMethodConfigurationCreateParams.Ideal; - export type Jcb = Stripe.PaymentMethodConfigurationCreateParams.Jcb; - export type KakaoPay = Stripe.PaymentMethodConfigurationCreateParams.KakaoPay; - export type Klarna = Stripe.PaymentMethodConfigurationCreateParams.Klarna; - export type Konbini = Stripe.PaymentMethodConfigurationCreateParams.Konbini; - export type KrCard = Stripe.PaymentMethodConfigurationCreateParams.KrCard; - export type Link = Stripe.PaymentMethodConfigurationCreateParams.Link; - export type MbWay = Stripe.PaymentMethodConfigurationCreateParams.MbWay; - export type Mobilepay = Stripe.PaymentMethodConfigurationCreateParams.Mobilepay; - export type Multibanco = Stripe.PaymentMethodConfigurationCreateParams.Multibanco; - export type NaverPay = Stripe.PaymentMethodConfigurationCreateParams.NaverPay; - export type NzBankAccount = Stripe.PaymentMethodConfigurationCreateParams.NzBankAccount; - export type Oxxo = Stripe.PaymentMethodConfigurationCreateParams.Oxxo; - export type P24 = Stripe.PaymentMethodConfigurationCreateParams.P24; - export type PayByBank = Stripe.PaymentMethodConfigurationCreateParams.PayByBank; - export type Payco = Stripe.PaymentMethodConfigurationCreateParams.Payco; - export type Paynow = Stripe.PaymentMethodConfigurationCreateParams.Paynow; - export type Paypal = Stripe.PaymentMethodConfigurationCreateParams.Paypal; - export type Payto = Stripe.PaymentMethodConfigurationCreateParams.Payto; - export type Pix = Stripe.PaymentMethodConfigurationCreateParams.Pix; - export type Promptpay = Stripe.PaymentMethodConfigurationCreateParams.Promptpay; - export type RevolutPay = Stripe.PaymentMethodConfigurationCreateParams.RevolutPay; - export type SamsungPay = Stripe.PaymentMethodConfigurationCreateParams.SamsungPay; - export type Satispay = Stripe.PaymentMethodConfigurationCreateParams.Satispay; - export type Scalapay = Stripe.PaymentMethodConfigurationCreateParams.Scalapay; - export type SepaDebit = Stripe.PaymentMethodConfigurationCreateParams.SepaDebit; - export type Sofort = Stripe.PaymentMethodConfigurationCreateParams.Sofort; - export type Sunbit = Stripe.PaymentMethodConfigurationCreateParams.Sunbit; - export type Swish = Stripe.PaymentMethodConfigurationCreateParams.Swish; - export type Twint = Stripe.PaymentMethodConfigurationCreateParams.Twint; - export type Upi = Stripe.PaymentMethodConfigurationCreateParams.Upi; - export type UsBankAccount = Stripe.PaymentMethodConfigurationCreateParams.UsBankAccount; - export type WechatPay = Stripe.PaymentMethodConfigurationCreateParams.WechatPay; - export type Zip = Stripe.PaymentMethodConfigurationCreateParams.Zip; + export type AcssDebit = Stripe_.PaymentMethodConfigurationCreateParams.AcssDebit; + export type Affirm = Stripe_.PaymentMethodConfigurationCreateParams.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethodConfigurationCreateParams.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethodConfigurationCreateParams.Alipay; + export type Alma = Stripe_.PaymentMethodConfigurationCreateParams.Alma; + export type AmazonPay = Stripe_.PaymentMethodConfigurationCreateParams.AmazonPay; + export type ApplePay = Stripe_.PaymentMethodConfigurationCreateParams.ApplePay; + export type ApplePayLater = Stripe_.PaymentMethodConfigurationCreateParams.ApplePayLater; + export type AuBecsDebit = Stripe_.PaymentMethodConfigurationCreateParams.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethodConfigurationCreateParams.BacsDebit; + export type Bancontact = Stripe_.PaymentMethodConfigurationCreateParams.Bancontact; + export type Billie = Stripe_.PaymentMethodConfigurationCreateParams.Billie; + export type Bizum = Stripe_.PaymentMethodConfigurationCreateParams.Bizum; + export type Blik = Stripe_.PaymentMethodConfigurationCreateParams.Blik; + export type Boleto = Stripe_.PaymentMethodConfigurationCreateParams.Boleto; + export type Card = Stripe_.PaymentMethodConfigurationCreateParams.Card; + export type CartesBancaires = Stripe_.PaymentMethodConfigurationCreateParams.CartesBancaires; + export type Cashapp = Stripe_.PaymentMethodConfigurationCreateParams.Cashapp; + export type Crypto = Stripe_.PaymentMethodConfigurationCreateParams.Crypto; + export type CustomerBalance = Stripe_.PaymentMethodConfigurationCreateParams.CustomerBalance; + export type Eps = Stripe_.PaymentMethodConfigurationCreateParams.Eps; + export type Fpx = Stripe_.PaymentMethodConfigurationCreateParams.Fpx; + export type FrMealVoucherConecs = Stripe_.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs; + export type Giropay = Stripe_.PaymentMethodConfigurationCreateParams.Giropay; + export type GooglePay = Stripe_.PaymentMethodConfigurationCreateParams.GooglePay; + export type Grabpay = Stripe_.PaymentMethodConfigurationCreateParams.Grabpay; + export type Ideal = Stripe_.PaymentMethodConfigurationCreateParams.Ideal; + export type Jcb = Stripe_.PaymentMethodConfigurationCreateParams.Jcb; + export type KakaoPay = Stripe_.PaymentMethodConfigurationCreateParams.KakaoPay; + export type Klarna = Stripe_.PaymentMethodConfigurationCreateParams.Klarna; + export type Konbini = Stripe_.PaymentMethodConfigurationCreateParams.Konbini; + export type KrCard = Stripe_.PaymentMethodConfigurationCreateParams.KrCard; + export type Link = Stripe_.PaymentMethodConfigurationCreateParams.Link; + export type MbWay = Stripe_.PaymentMethodConfigurationCreateParams.MbWay; + export type Mobilepay = Stripe_.PaymentMethodConfigurationCreateParams.Mobilepay; + export type Multibanco = Stripe_.PaymentMethodConfigurationCreateParams.Multibanco; + export type NaverPay = Stripe_.PaymentMethodConfigurationCreateParams.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethodConfigurationCreateParams.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethodConfigurationCreateParams.Oxxo; + export type P24 = Stripe_.PaymentMethodConfigurationCreateParams.P24; + export type PayByBank = Stripe_.PaymentMethodConfigurationCreateParams.PayByBank; + export type Payco = Stripe_.PaymentMethodConfigurationCreateParams.Payco; + export type Paynow = Stripe_.PaymentMethodConfigurationCreateParams.Paynow; + export type Paypal = Stripe_.PaymentMethodConfigurationCreateParams.Paypal; + export type Payto = Stripe_.PaymentMethodConfigurationCreateParams.Payto; + export type Pix = Stripe_.PaymentMethodConfigurationCreateParams.Pix; + export type Promptpay = Stripe_.PaymentMethodConfigurationCreateParams.Promptpay; + export type RevolutPay = Stripe_.PaymentMethodConfigurationCreateParams.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethodConfigurationCreateParams.SamsungPay; + export type Satispay = Stripe_.PaymentMethodConfigurationCreateParams.Satispay; + export type Scalapay = Stripe_.PaymentMethodConfigurationCreateParams.Scalapay; + export type SepaDebit = Stripe_.PaymentMethodConfigurationCreateParams.SepaDebit; + export type Sofort = Stripe_.PaymentMethodConfigurationCreateParams.Sofort; + export type Sunbit = Stripe_.PaymentMethodConfigurationCreateParams.Sunbit; + export type Swish = Stripe_.PaymentMethodConfigurationCreateParams.Swish; + export type Twint = Stripe_.PaymentMethodConfigurationCreateParams.Twint; + export type Upi = Stripe_.PaymentMethodConfigurationCreateParams.Upi; + export type UsBankAccount = Stripe_.PaymentMethodConfigurationCreateParams.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethodConfigurationCreateParams.WechatPay; + export type Zip = Stripe_.PaymentMethodConfigurationCreateParams.Zip; export namespace AcssDebit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.AcssDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.AcssDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.AcssDebit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.AcssDebit.DisplayPreference.Preference; } } export namespace Affirm { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Affirm.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Affirm.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Affirm.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Affirm.DisplayPreference.Preference; } } export namespace AfterpayClearpay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.AfterpayClearpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.AfterpayClearpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.AfterpayClearpay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.AfterpayClearpay.DisplayPreference.Preference; } } export namespace Alipay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Alipay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Alipay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Alipay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Alipay.DisplayPreference.Preference; } } export namespace Alma { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Alma.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Alma.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Alma.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Alma.DisplayPreference.Preference; } } export namespace AmazonPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.AmazonPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.AmazonPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.AmazonPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.AmazonPay.DisplayPreference.Preference; } } export namespace ApplePay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.ApplePay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.ApplePay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.ApplePay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.ApplePay.DisplayPreference.Preference; } } export namespace ApplePayLater { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.ApplePayLater.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.ApplePayLater.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.ApplePayLater.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.ApplePayLater.DisplayPreference.Preference; } } export namespace AuBecsDebit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.AuBecsDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.AuBecsDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.AuBecsDebit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.AuBecsDebit.DisplayPreference.Preference; } } export namespace BacsDebit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.BacsDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.BacsDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.BacsDebit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.BacsDebit.DisplayPreference.Preference; } } export namespace Bancontact { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Bancontact.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Bancontact.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Bancontact.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Bancontact.DisplayPreference.Preference; } } export namespace Billie { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Billie.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Billie.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Billie.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Billie.DisplayPreference.Preference; } } export namespace Bizum { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Bizum.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Bizum.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Bizum.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Bizum.DisplayPreference.Preference; } } export namespace Blik { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Blik.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Blik.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Blik.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Blik.DisplayPreference.Preference; } } export namespace Boleto { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Boleto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Boleto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Boleto.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Boleto.DisplayPreference.Preference; } } export namespace Card { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Card.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Card.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Card.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Card.DisplayPreference.Preference; } } export namespace CartesBancaires { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.CartesBancaires.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.CartesBancaires.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.CartesBancaires.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.CartesBancaires.DisplayPreference.Preference; } } export namespace Cashapp { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Cashapp.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Cashapp.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Cashapp.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Cashapp.DisplayPreference.Preference; } } export namespace Crypto { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Crypto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Crypto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Crypto.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Crypto.DisplayPreference.Preference; } } export namespace CustomerBalance { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.CustomerBalance.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.CustomerBalance.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.CustomerBalance.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.CustomerBalance.DisplayPreference.Preference; } } export namespace Eps { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Eps.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Eps.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Eps.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Eps.DisplayPreference.Preference; } } export namespace Fpx { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Fpx.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Fpx.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Fpx.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Fpx.DisplayPreference.Preference; } } export namespace FrMealVoucherConecs { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs.DisplayPreference.Preference; } } export namespace Giropay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Giropay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Giropay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Giropay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Giropay.DisplayPreference.Preference; } } export namespace GooglePay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.GooglePay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.GooglePay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.GooglePay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.GooglePay.DisplayPreference.Preference; } } export namespace Grabpay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Grabpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Grabpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Grabpay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Grabpay.DisplayPreference.Preference; } } export namespace Ideal { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Ideal.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Ideal.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Ideal.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Ideal.DisplayPreference.Preference; } } export namespace Jcb { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Jcb.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Jcb.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Jcb.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Jcb.DisplayPreference.Preference; } } export namespace KakaoPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.KakaoPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.KakaoPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.KakaoPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.KakaoPay.DisplayPreference.Preference; } } export namespace Klarna { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Klarna.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Klarna.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Klarna.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Klarna.DisplayPreference.Preference; } } export namespace Konbini { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Konbini.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Konbini.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Konbini.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Konbini.DisplayPreference.Preference; } } export namespace KrCard { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.KrCard.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.KrCard.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.KrCard.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.KrCard.DisplayPreference.Preference; } } export namespace Link { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Link.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Link.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Link.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Link.DisplayPreference.Preference; } } export namespace MbWay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.MbWay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.MbWay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.MbWay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.MbWay.DisplayPreference.Preference; } } export namespace Mobilepay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Mobilepay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Mobilepay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Mobilepay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Mobilepay.DisplayPreference.Preference; } } export namespace Multibanco { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Multibanco.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Multibanco.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Multibanco.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Multibanco.DisplayPreference.Preference; } } export namespace NaverPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.NaverPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.NaverPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.NaverPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.NaverPay.DisplayPreference.Preference; } } export namespace NzBankAccount { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.NzBankAccount.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.NzBankAccount.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.NzBankAccount.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.NzBankAccount.DisplayPreference.Preference; } } export namespace Oxxo { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Oxxo.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Oxxo.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Oxxo.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Oxxo.DisplayPreference.Preference; } } export namespace P24 { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.P24.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.P24.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.P24.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.P24.DisplayPreference.Preference; } } export namespace PayByBank { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.PayByBank.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.PayByBank.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.PayByBank.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.PayByBank.DisplayPreference.Preference; } } export namespace Payco { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Payco.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Payco.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Payco.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Payco.DisplayPreference.Preference; } } export namespace Paynow { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Paynow.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Paynow.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Paynow.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Paynow.DisplayPreference.Preference; } } export namespace Paypal { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference.Preference; } } export namespace Payto { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Payto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Payto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Payto.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Payto.DisplayPreference.Preference; } } export namespace Pix { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Pix.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Pix.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Pix.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Pix.DisplayPreference.Preference; } } export namespace Promptpay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Promptpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Promptpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Promptpay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Promptpay.DisplayPreference.Preference; } } export namespace RevolutPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.RevolutPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.RevolutPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.RevolutPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.RevolutPay.DisplayPreference.Preference; } } export namespace SamsungPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.SamsungPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.SamsungPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.SamsungPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.SamsungPay.DisplayPreference.Preference; } } export namespace Satispay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Satispay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Satispay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Satispay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Satispay.DisplayPreference.Preference; } } export namespace Scalapay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Scalapay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Scalapay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Scalapay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Scalapay.DisplayPreference.Preference; } } export namespace SepaDebit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.SepaDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.SepaDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.SepaDebit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.SepaDebit.DisplayPreference.Preference; } } export namespace Sofort { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Sofort.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Sofort.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Sofort.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Sofort.DisplayPreference.Preference; } } export namespace Sunbit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Sunbit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Sunbit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Sunbit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Sunbit.DisplayPreference.Preference; } } export namespace Swish { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference.Preference; } } export namespace Twint { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference.Preference; } } export namespace Upi { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Upi.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Upi.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Upi.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Upi.DisplayPreference.Preference; } } export namespace UsBankAccount { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.UsBankAccount.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.UsBankAccount.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.UsBankAccount.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.UsBankAccount.DisplayPreference.Preference; } } export namespace WechatPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.WechatPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.WechatPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.WechatPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.WechatPay.DisplayPreference.Preference; } } export namespace Zip { - export type DisplayPreference = Stripe.PaymentMethodConfigurationCreateParams.Zip.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Zip.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationCreateParams.Zip.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Zip.DisplayPreference.Preference; } } } export namespace PaymentMethodConfigurationUpdateParams { - export type AcssDebit = Stripe.PaymentMethodConfigurationUpdateParams.AcssDebit; - export type Affirm = Stripe.PaymentMethodConfigurationUpdateParams.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethodConfigurationUpdateParams.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethodConfigurationUpdateParams.Alipay; - export type Alma = Stripe.PaymentMethodConfigurationUpdateParams.Alma; - export type AmazonPay = Stripe.PaymentMethodConfigurationUpdateParams.AmazonPay; - export type ApplePay = Stripe.PaymentMethodConfigurationUpdateParams.ApplePay; - export type ApplePayLater = Stripe.PaymentMethodConfigurationUpdateParams.ApplePayLater; - export type AuBecsDebit = Stripe.PaymentMethodConfigurationUpdateParams.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethodConfigurationUpdateParams.BacsDebit; - export type Bancontact = Stripe.PaymentMethodConfigurationUpdateParams.Bancontact; - export type Billie = Stripe.PaymentMethodConfigurationUpdateParams.Billie; - export type Bizum = Stripe.PaymentMethodConfigurationUpdateParams.Bizum; - export type Blik = Stripe.PaymentMethodConfigurationUpdateParams.Blik; - export type Boleto = Stripe.PaymentMethodConfigurationUpdateParams.Boleto; - export type Card = Stripe.PaymentMethodConfigurationUpdateParams.Card; - export type CartesBancaires = Stripe.PaymentMethodConfigurationUpdateParams.CartesBancaires; - export type Cashapp = Stripe.PaymentMethodConfigurationUpdateParams.Cashapp; - export type Crypto = Stripe.PaymentMethodConfigurationUpdateParams.Crypto; - export type CustomerBalance = Stripe.PaymentMethodConfigurationUpdateParams.CustomerBalance; - export type Eps = Stripe.PaymentMethodConfigurationUpdateParams.Eps; - export type Fpx = Stripe.PaymentMethodConfigurationUpdateParams.Fpx; - export type FrMealVoucherConecs = Stripe.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs; - export type Giropay = Stripe.PaymentMethodConfigurationUpdateParams.Giropay; - export type GooglePay = Stripe.PaymentMethodConfigurationUpdateParams.GooglePay; - export type Grabpay = Stripe.PaymentMethodConfigurationUpdateParams.Grabpay; - export type Ideal = Stripe.PaymentMethodConfigurationUpdateParams.Ideal; - export type Jcb = Stripe.PaymentMethodConfigurationUpdateParams.Jcb; - export type KakaoPay = Stripe.PaymentMethodConfigurationUpdateParams.KakaoPay; - export type Klarna = Stripe.PaymentMethodConfigurationUpdateParams.Klarna; - export type Konbini = Stripe.PaymentMethodConfigurationUpdateParams.Konbini; - export type KrCard = Stripe.PaymentMethodConfigurationUpdateParams.KrCard; - export type Link = Stripe.PaymentMethodConfigurationUpdateParams.Link; - export type MbWay = Stripe.PaymentMethodConfigurationUpdateParams.MbWay; - export type Mobilepay = Stripe.PaymentMethodConfigurationUpdateParams.Mobilepay; - export type Multibanco = Stripe.PaymentMethodConfigurationUpdateParams.Multibanco; - export type NaverPay = Stripe.PaymentMethodConfigurationUpdateParams.NaverPay; - export type NzBankAccount = Stripe.PaymentMethodConfigurationUpdateParams.NzBankAccount; - export type Oxxo = Stripe.PaymentMethodConfigurationUpdateParams.Oxxo; - export type P24 = Stripe.PaymentMethodConfigurationUpdateParams.P24; - export type PayByBank = Stripe.PaymentMethodConfigurationUpdateParams.PayByBank; - export type Payco = Stripe.PaymentMethodConfigurationUpdateParams.Payco; - export type Paynow = Stripe.PaymentMethodConfigurationUpdateParams.Paynow; - export type Paypal = Stripe.PaymentMethodConfigurationUpdateParams.Paypal; - export type Payto = Stripe.PaymentMethodConfigurationUpdateParams.Payto; - export type Pix = Stripe.PaymentMethodConfigurationUpdateParams.Pix; - export type Promptpay = Stripe.PaymentMethodConfigurationUpdateParams.Promptpay; - export type RevolutPay = Stripe.PaymentMethodConfigurationUpdateParams.RevolutPay; - export type SamsungPay = Stripe.PaymentMethodConfigurationUpdateParams.SamsungPay; - export type Satispay = Stripe.PaymentMethodConfigurationUpdateParams.Satispay; - export type Scalapay = Stripe.PaymentMethodConfigurationUpdateParams.Scalapay; - export type SepaDebit = Stripe.PaymentMethodConfigurationUpdateParams.SepaDebit; - export type Sofort = Stripe.PaymentMethodConfigurationUpdateParams.Sofort; - export type Sunbit = Stripe.PaymentMethodConfigurationUpdateParams.Sunbit; - export type Swish = Stripe.PaymentMethodConfigurationUpdateParams.Swish; - export type Twint = Stripe.PaymentMethodConfigurationUpdateParams.Twint; - export type Upi = Stripe.PaymentMethodConfigurationUpdateParams.Upi; - export type UsBankAccount = Stripe.PaymentMethodConfigurationUpdateParams.UsBankAccount; - export type WechatPay = Stripe.PaymentMethodConfigurationUpdateParams.WechatPay; - export type Zip = Stripe.PaymentMethodConfigurationUpdateParams.Zip; + export type AcssDebit = Stripe_.PaymentMethodConfigurationUpdateParams.AcssDebit; + export type Affirm = Stripe_.PaymentMethodConfigurationUpdateParams.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethodConfigurationUpdateParams.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethodConfigurationUpdateParams.Alipay; + export type Alma = Stripe_.PaymentMethodConfigurationUpdateParams.Alma; + export type AmazonPay = Stripe_.PaymentMethodConfigurationUpdateParams.AmazonPay; + export type ApplePay = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePay; + export type ApplePayLater = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePayLater; + export type AuBecsDebit = Stripe_.PaymentMethodConfigurationUpdateParams.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethodConfigurationUpdateParams.BacsDebit; + export type Bancontact = Stripe_.PaymentMethodConfigurationUpdateParams.Bancontact; + export type Billie = Stripe_.PaymentMethodConfigurationUpdateParams.Billie; + export type Bizum = Stripe_.PaymentMethodConfigurationUpdateParams.Bizum; + export type Blik = Stripe_.PaymentMethodConfigurationUpdateParams.Blik; + export type Boleto = Stripe_.PaymentMethodConfigurationUpdateParams.Boleto; + export type Card = Stripe_.PaymentMethodConfigurationUpdateParams.Card; + export type CartesBancaires = Stripe_.PaymentMethodConfigurationUpdateParams.CartesBancaires; + export type Cashapp = Stripe_.PaymentMethodConfigurationUpdateParams.Cashapp; + export type Crypto = Stripe_.PaymentMethodConfigurationUpdateParams.Crypto; + export type CustomerBalance = Stripe_.PaymentMethodConfigurationUpdateParams.CustomerBalance; + export type Eps = Stripe_.PaymentMethodConfigurationUpdateParams.Eps; + export type Fpx = Stripe_.PaymentMethodConfigurationUpdateParams.Fpx; + export type FrMealVoucherConecs = Stripe_.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs; + export type Giropay = Stripe_.PaymentMethodConfigurationUpdateParams.Giropay; + export type GooglePay = Stripe_.PaymentMethodConfigurationUpdateParams.GooglePay; + export type Grabpay = Stripe_.PaymentMethodConfigurationUpdateParams.Grabpay; + export type Ideal = Stripe_.PaymentMethodConfigurationUpdateParams.Ideal; + export type Jcb = Stripe_.PaymentMethodConfigurationUpdateParams.Jcb; + export type KakaoPay = Stripe_.PaymentMethodConfigurationUpdateParams.KakaoPay; + export type Klarna = Stripe_.PaymentMethodConfigurationUpdateParams.Klarna; + export type Konbini = Stripe_.PaymentMethodConfigurationUpdateParams.Konbini; + export type KrCard = Stripe_.PaymentMethodConfigurationUpdateParams.KrCard; + export type Link = Stripe_.PaymentMethodConfigurationUpdateParams.Link; + export type MbWay = Stripe_.PaymentMethodConfigurationUpdateParams.MbWay; + export type Mobilepay = Stripe_.PaymentMethodConfigurationUpdateParams.Mobilepay; + export type Multibanco = Stripe_.PaymentMethodConfigurationUpdateParams.Multibanco; + export type NaverPay = Stripe_.PaymentMethodConfigurationUpdateParams.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethodConfigurationUpdateParams.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethodConfigurationUpdateParams.Oxxo; + export type P24 = Stripe_.PaymentMethodConfigurationUpdateParams.P24; + export type PayByBank = Stripe_.PaymentMethodConfigurationUpdateParams.PayByBank; + export type Payco = Stripe_.PaymentMethodConfigurationUpdateParams.Payco; + export type Paynow = Stripe_.PaymentMethodConfigurationUpdateParams.Paynow; + export type Paypal = Stripe_.PaymentMethodConfigurationUpdateParams.Paypal; + export type Payto = Stripe_.PaymentMethodConfigurationUpdateParams.Payto; + export type Pix = Stripe_.PaymentMethodConfigurationUpdateParams.Pix; + export type Promptpay = Stripe_.PaymentMethodConfigurationUpdateParams.Promptpay; + export type RevolutPay = Stripe_.PaymentMethodConfigurationUpdateParams.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethodConfigurationUpdateParams.SamsungPay; + export type Satispay = Stripe_.PaymentMethodConfigurationUpdateParams.Satispay; + export type Scalapay = Stripe_.PaymentMethodConfigurationUpdateParams.Scalapay; + export type SepaDebit = Stripe_.PaymentMethodConfigurationUpdateParams.SepaDebit; + export type Sofort = Stripe_.PaymentMethodConfigurationUpdateParams.Sofort; + export type Sunbit = Stripe_.PaymentMethodConfigurationUpdateParams.Sunbit; + export type Swish = Stripe_.PaymentMethodConfigurationUpdateParams.Swish; + export type Twint = Stripe_.PaymentMethodConfigurationUpdateParams.Twint; + export type Upi = Stripe_.PaymentMethodConfigurationUpdateParams.Upi; + export type UsBankAccount = Stripe_.PaymentMethodConfigurationUpdateParams.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethodConfigurationUpdateParams.WechatPay; + export type Zip = Stripe_.PaymentMethodConfigurationUpdateParams.Zip; export namespace AcssDebit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.AcssDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.AcssDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.AcssDebit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.AcssDebit.DisplayPreference.Preference; } } export namespace Affirm { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Affirm.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Affirm.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Affirm.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Affirm.DisplayPreference.Preference; } } export namespace AfterpayClearpay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.AfterpayClearpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.AfterpayClearpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.AfterpayClearpay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.AfterpayClearpay.DisplayPreference.Preference; } } export namespace Alipay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Alipay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Alipay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Alipay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Alipay.DisplayPreference.Preference; } } export namespace Alma { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Alma.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Alma.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Alma.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Alma.DisplayPreference.Preference; } } export namespace AmazonPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.AmazonPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.AmazonPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.AmazonPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.AmazonPay.DisplayPreference.Preference; } } export namespace ApplePay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.ApplePay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.ApplePay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePay.DisplayPreference.Preference; } } export namespace ApplePayLater { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.ApplePayLater.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePayLater.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.ApplePayLater.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePayLater.DisplayPreference.Preference; } } export namespace AuBecsDebit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.AuBecsDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.AuBecsDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.AuBecsDebit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.AuBecsDebit.DisplayPreference.Preference; } } export namespace BacsDebit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.BacsDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.BacsDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.BacsDebit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.BacsDebit.DisplayPreference.Preference; } } export namespace Bancontact { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Bancontact.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Bancontact.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Bancontact.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Bancontact.DisplayPreference.Preference; } } export namespace Billie { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Billie.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Billie.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Billie.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Billie.DisplayPreference.Preference; } } export namespace Bizum { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Bizum.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Bizum.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Bizum.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Bizum.DisplayPreference.Preference; } } export namespace Blik { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Blik.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Blik.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Blik.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Blik.DisplayPreference.Preference; } } export namespace Boleto { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Boleto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Boleto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Boleto.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Boleto.DisplayPreference.Preference; } } export namespace Card { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Card.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Card.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Card.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Card.DisplayPreference.Preference; } } export namespace CartesBancaires { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.CartesBancaires.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.CartesBancaires.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.CartesBancaires.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.CartesBancaires.DisplayPreference.Preference; } } export namespace Cashapp { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Cashapp.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Cashapp.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Cashapp.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Cashapp.DisplayPreference.Preference; } } export namespace Crypto { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Crypto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Crypto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Crypto.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Crypto.DisplayPreference.Preference; } } export namespace CustomerBalance { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.CustomerBalance.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.CustomerBalance.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.CustomerBalance.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.CustomerBalance.DisplayPreference.Preference; } } export namespace Eps { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Eps.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Eps.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Eps.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Eps.DisplayPreference.Preference; } } export namespace Fpx { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Fpx.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Fpx.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Fpx.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Fpx.DisplayPreference.Preference; } } export namespace FrMealVoucherConecs { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs.DisplayPreference.Preference; } } export namespace Giropay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Giropay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Giropay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Giropay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Giropay.DisplayPreference.Preference; } } export namespace GooglePay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.GooglePay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.GooglePay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.GooglePay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.GooglePay.DisplayPreference.Preference; } } export namespace Grabpay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Grabpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Grabpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Grabpay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Grabpay.DisplayPreference.Preference; } } export namespace Ideal { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Ideal.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Ideal.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Ideal.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Ideal.DisplayPreference.Preference; } } export namespace Jcb { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Jcb.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Jcb.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Jcb.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Jcb.DisplayPreference.Preference; } } export namespace KakaoPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.KakaoPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.KakaoPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.KakaoPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.KakaoPay.DisplayPreference.Preference; } } export namespace Klarna { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Klarna.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Klarna.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Klarna.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Klarna.DisplayPreference.Preference; } } export namespace Konbini { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Konbini.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Konbini.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Konbini.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Konbini.DisplayPreference.Preference; } } export namespace KrCard { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.KrCard.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.KrCard.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.KrCard.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.KrCard.DisplayPreference.Preference; } } export namespace Link { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Link.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Link.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Link.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Link.DisplayPreference.Preference; } } export namespace MbWay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.MbWay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.MbWay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.MbWay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.MbWay.DisplayPreference.Preference; } } export namespace Mobilepay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Mobilepay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Mobilepay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Mobilepay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Mobilepay.DisplayPreference.Preference; } } export namespace Multibanco { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Multibanco.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Multibanco.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Multibanco.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Multibanco.DisplayPreference.Preference; } } export namespace NaverPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.NaverPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.NaverPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.NaverPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.NaverPay.DisplayPreference.Preference; } } export namespace NzBankAccount { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.NzBankAccount.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.NzBankAccount.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.NzBankAccount.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.NzBankAccount.DisplayPreference.Preference; } } export namespace Oxxo { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Oxxo.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Oxxo.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Oxxo.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Oxxo.DisplayPreference.Preference; } } export namespace P24 { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.P24.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.P24.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.P24.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.P24.DisplayPreference.Preference; } } export namespace PayByBank { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.PayByBank.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.PayByBank.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.PayByBank.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.PayByBank.DisplayPreference.Preference; } } export namespace Payco { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Payco.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Payco.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Payco.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Payco.DisplayPreference.Preference; } } export namespace Paynow { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Paynow.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Paynow.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Paynow.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Paynow.DisplayPreference.Preference; } } export namespace Paypal { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference.Preference; } } export namespace Payto { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Payto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Payto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Payto.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Payto.DisplayPreference.Preference; } } export namespace Pix { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Pix.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Pix.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Pix.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Pix.DisplayPreference.Preference; } } export namespace Promptpay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Promptpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Promptpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Promptpay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Promptpay.DisplayPreference.Preference; } } export namespace RevolutPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.RevolutPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.RevolutPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.RevolutPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.RevolutPay.DisplayPreference.Preference; } } export namespace SamsungPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.SamsungPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.SamsungPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.SamsungPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.SamsungPay.DisplayPreference.Preference; } } export namespace Satispay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Satispay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Satispay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Satispay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Satispay.DisplayPreference.Preference; } } export namespace Scalapay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Scalapay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Scalapay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Scalapay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Scalapay.DisplayPreference.Preference; } } export namespace SepaDebit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.SepaDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.SepaDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.SepaDebit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.SepaDebit.DisplayPreference.Preference; } } export namespace Sofort { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Sofort.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Sofort.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Sofort.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Sofort.DisplayPreference.Preference; } } export namespace Sunbit { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Sunbit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Sunbit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Sunbit.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Sunbit.DisplayPreference.Preference; } } export namespace Swish { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference.Preference; } } export namespace Twint { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference.Preference; } } export namespace Upi { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Upi.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Upi.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Upi.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Upi.DisplayPreference.Preference; } } export namespace UsBankAccount { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.UsBankAccount.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.UsBankAccount.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.UsBankAccount.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.UsBankAccount.DisplayPreference.Preference; } } export namespace WechatPay { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.WechatPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.WechatPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.WechatPay.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.WechatPay.DisplayPreference.Preference; } } export namespace Zip { - export type DisplayPreference = Stripe.PaymentMethodConfigurationUpdateParams.Zip.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Zip.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfigurationUpdateParams.Zip.DisplayPreference.Preference; + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Zip.DisplayPreference.Preference; } } } export namespace PaymentMethodConfiguration { - export type AcssDebit = Stripe.PaymentMethodConfiguration.AcssDebit; - export type Affirm = Stripe.PaymentMethodConfiguration.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethodConfiguration.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethodConfiguration.Alipay; - export type Alma = Stripe.PaymentMethodConfiguration.Alma; - export type AmazonPay = Stripe.PaymentMethodConfiguration.AmazonPay; - export type ApplePay = Stripe.PaymentMethodConfiguration.ApplePay; - export type AuBecsDebit = Stripe.PaymentMethodConfiguration.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethodConfiguration.BacsDebit; - export type Bancontact = Stripe.PaymentMethodConfiguration.Bancontact; - export type Billie = Stripe.PaymentMethodConfiguration.Billie; - export type Bizum = Stripe.PaymentMethodConfiguration.Bizum; - export type Blik = Stripe.PaymentMethodConfiguration.Blik; - export type Boleto = Stripe.PaymentMethodConfiguration.Boleto; - export type Card = Stripe.PaymentMethodConfiguration.Card; - export type CartesBancaires = Stripe.PaymentMethodConfiguration.CartesBancaires; - export type Cashapp = Stripe.PaymentMethodConfiguration.Cashapp; - export type Crypto = Stripe.PaymentMethodConfiguration.Crypto; - export type CustomerBalance = Stripe.PaymentMethodConfiguration.CustomerBalance; - export type Eps = Stripe.PaymentMethodConfiguration.Eps; - export type Fpx = Stripe.PaymentMethodConfiguration.Fpx; - export type Giropay = Stripe.PaymentMethodConfiguration.Giropay; - export type GooglePay = Stripe.PaymentMethodConfiguration.GooglePay; - export type Grabpay = Stripe.PaymentMethodConfiguration.Grabpay; - export type Ideal = Stripe.PaymentMethodConfiguration.Ideal; - export type Jcb = Stripe.PaymentMethodConfiguration.Jcb; - export type KakaoPay = Stripe.PaymentMethodConfiguration.KakaoPay; - export type Klarna = Stripe.PaymentMethodConfiguration.Klarna; - export type Konbini = Stripe.PaymentMethodConfiguration.Konbini; - export type KrCard = Stripe.PaymentMethodConfiguration.KrCard; - export type Link = Stripe.PaymentMethodConfiguration.Link; - export type MbWay = Stripe.PaymentMethodConfiguration.MbWay; - export type Mobilepay = Stripe.PaymentMethodConfiguration.Mobilepay; - export type Multibanco = Stripe.PaymentMethodConfiguration.Multibanco; - export type NaverPay = Stripe.PaymentMethodConfiguration.NaverPay; - export type NzBankAccount = Stripe.PaymentMethodConfiguration.NzBankAccount; - export type Oxxo = Stripe.PaymentMethodConfiguration.Oxxo; - export type P24 = Stripe.PaymentMethodConfiguration.P24; - export type PayByBank = Stripe.PaymentMethodConfiguration.PayByBank; - export type Payco = Stripe.PaymentMethodConfiguration.Payco; - export type Paynow = Stripe.PaymentMethodConfiguration.Paynow; - export type Paypal = Stripe.PaymentMethodConfiguration.Paypal; - export type Payto = Stripe.PaymentMethodConfiguration.Payto; - export type Pix = Stripe.PaymentMethodConfiguration.Pix; - export type Promptpay = Stripe.PaymentMethodConfiguration.Promptpay; - export type RevolutPay = Stripe.PaymentMethodConfiguration.RevolutPay; - export type SamsungPay = Stripe.PaymentMethodConfiguration.SamsungPay; - export type Satispay = Stripe.PaymentMethodConfiguration.Satispay; - export type Scalapay = Stripe.PaymentMethodConfiguration.Scalapay; - export type SepaDebit = Stripe.PaymentMethodConfiguration.SepaDebit; - export type Sofort = Stripe.PaymentMethodConfiguration.Sofort; - export type Sunbit = Stripe.PaymentMethodConfiguration.Sunbit; - export type Swish = Stripe.PaymentMethodConfiguration.Swish; - export type Twint = Stripe.PaymentMethodConfiguration.Twint; - export type Upi = Stripe.PaymentMethodConfiguration.Upi; - export type UsBankAccount = Stripe.PaymentMethodConfiguration.UsBankAccount; - export type WechatPay = Stripe.PaymentMethodConfiguration.WechatPay; - export type Zip = Stripe.PaymentMethodConfiguration.Zip; + export type AcssDebit = Stripe_.PaymentMethodConfiguration.AcssDebit; + export type Affirm = Stripe_.PaymentMethodConfiguration.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethodConfiguration.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethodConfiguration.Alipay; + export type Alma = Stripe_.PaymentMethodConfiguration.Alma; + export type AmazonPay = Stripe_.PaymentMethodConfiguration.AmazonPay; + export type ApplePay = Stripe_.PaymentMethodConfiguration.ApplePay; + export type AuBecsDebit = Stripe_.PaymentMethodConfiguration.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethodConfiguration.BacsDebit; + export type Bancontact = Stripe_.PaymentMethodConfiguration.Bancontact; + export type Billie = Stripe_.PaymentMethodConfiguration.Billie; + export type Bizum = Stripe_.PaymentMethodConfiguration.Bizum; + export type Blik = Stripe_.PaymentMethodConfiguration.Blik; + export type Boleto = Stripe_.PaymentMethodConfiguration.Boleto; + export type Card = Stripe_.PaymentMethodConfiguration.Card; + export type CartesBancaires = Stripe_.PaymentMethodConfiguration.CartesBancaires; + export type Cashapp = Stripe_.PaymentMethodConfiguration.Cashapp; + export type Crypto = Stripe_.PaymentMethodConfiguration.Crypto; + export type CustomerBalance = Stripe_.PaymentMethodConfiguration.CustomerBalance; + export type Eps = Stripe_.PaymentMethodConfiguration.Eps; + export type Fpx = Stripe_.PaymentMethodConfiguration.Fpx; + export type Giropay = Stripe_.PaymentMethodConfiguration.Giropay; + export type GooglePay = Stripe_.PaymentMethodConfiguration.GooglePay; + export type Grabpay = Stripe_.PaymentMethodConfiguration.Grabpay; + export type Ideal = Stripe_.PaymentMethodConfiguration.Ideal; + export type Jcb = Stripe_.PaymentMethodConfiguration.Jcb; + export type KakaoPay = Stripe_.PaymentMethodConfiguration.KakaoPay; + export type Klarna = Stripe_.PaymentMethodConfiguration.Klarna; + export type Konbini = Stripe_.PaymentMethodConfiguration.Konbini; + export type KrCard = Stripe_.PaymentMethodConfiguration.KrCard; + export type Link = Stripe_.PaymentMethodConfiguration.Link; + export type MbWay = Stripe_.PaymentMethodConfiguration.MbWay; + export type Mobilepay = Stripe_.PaymentMethodConfiguration.Mobilepay; + export type Multibanco = Stripe_.PaymentMethodConfiguration.Multibanco; + export type NaverPay = Stripe_.PaymentMethodConfiguration.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethodConfiguration.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethodConfiguration.Oxxo; + export type P24 = Stripe_.PaymentMethodConfiguration.P24; + export type PayByBank = Stripe_.PaymentMethodConfiguration.PayByBank; + export type Payco = Stripe_.PaymentMethodConfiguration.Payco; + export type Paynow = Stripe_.PaymentMethodConfiguration.Paynow; + export type Paypal = Stripe_.PaymentMethodConfiguration.Paypal; + export type Payto = Stripe_.PaymentMethodConfiguration.Payto; + export type Pix = Stripe_.PaymentMethodConfiguration.Pix; + export type Promptpay = Stripe_.PaymentMethodConfiguration.Promptpay; + export type RevolutPay = Stripe_.PaymentMethodConfiguration.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethodConfiguration.SamsungPay; + export type Satispay = Stripe_.PaymentMethodConfiguration.Satispay; + export type Scalapay = Stripe_.PaymentMethodConfiguration.Scalapay; + export type SepaDebit = Stripe_.PaymentMethodConfiguration.SepaDebit; + export type Sofort = Stripe_.PaymentMethodConfiguration.Sofort; + export type Sunbit = Stripe_.PaymentMethodConfiguration.Sunbit; + export type Swish = Stripe_.PaymentMethodConfiguration.Swish; + export type Twint = Stripe_.PaymentMethodConfiguration.Twint; + export type Upi = Stripe_.PaymentMethodConfiguration.Upi; + export type UsBankAccount = Stripe_.PaymentMethodConfiguration.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethodConfiguration.WechatPay; + export type Zip = Stripe_.PaymentMethodConfiguration.Zip; export namespace AcssDebit { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.AcssDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.AcssDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.AcssDebit.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.AcssDebit.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.AcssDebit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.AcssDebit.DisplayPreference.Value; } } export namespace Affirm { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Affirm.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Affirm.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Affirm.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Affirm.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Affirm.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Affirm.DisplayPreference.Value; } } export namespace AfterpayClearpay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference.Value; } } export namespace Alipay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Alipay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Alipay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Alipay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Alipay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Alipay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Alipay.DisplayPreference.Value; } } export namespace Alma { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Alma.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Alma.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Alma.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Alma.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Alma.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Alma.DisplayPreference.Value; } } export namespace AmazonPay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.AmazonPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.AmazonPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.AmazonPay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.AmazonPay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.AmazonPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.AmazonPay.DisplayPreference.Value; } } export namespace ApplePay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.ApplePay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.ApplePay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.ApplePay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.ApplePay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.ApplePay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.ApplePay.DisplayPreference.Value; } } export namespace AuBecsDebit { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference.Value; } } export namespace BacsDebit { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.BacsDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.BacsDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.BacsDebit.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.BacsDebit.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.BacsDebit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.BacsDebit.DisplayPreference.Value; } } export namespace Bancontact { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Bancontact.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Bancontact.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Bancontact.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Bancontact.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Bancontact.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Bancontact.DisplayPreference.Value; } } export namespace Billie { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Billie.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Billie.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Billie.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Billie.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Billie.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Billie.DisplayPreference.Value; } } export namespace Bizum { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Bizum.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Bizum.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Bizum.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Bizum.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Bizum.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Bizum.DisplayPreference.Value; } } export namespace Blik { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Blik.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Blik.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Blik.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Blik.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Blik.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Blik.DisplayPreference.Value; } } export namespace Boleto { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Boleto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Boleto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Boleto.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Boleto.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Boleto.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Boleto.DisplayPreference.Value; } } export namespace Card { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Card.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Card.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Card.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Card.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Card.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Card.DisplayPreference.Value; } } export namespace CartesBancaires { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.CartesBancaires.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.CartesBancaires.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.CartesBancaires.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.CartesBancaires.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.CartesBancaires.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.CartesBancaires.DisplayPreference.Value; } } export namespace Cashapp { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Cashapp.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Cashapp.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Cashapp.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Cashapp.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Cashapp.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Cashapp.DisplayPreference.Value; } } export namespace Crypto { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Crypto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Crypto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Crypto.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Crypto.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Crypto.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Crypto.DisplayPreference.Value; } } export namespace CustomerBalance { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.CustomerBalance.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.CustomerBalance.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.CustomerBalance.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.CustomerBalance.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.CustomerBalance.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.CustomerBalance.DisplayPreference.Value; } } export namespace Eps { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Eps.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Eps.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Eps.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Eps.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Eps.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Eps.DisplayPreference.Value; } } export namespace Fpx { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Fpx.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Fpx.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Fpx.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Fpx.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Fpx.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Fpx.DisplayPreference.Value; } } export namespace Giropay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Giropay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Giropay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Giropay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Giropay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Giropay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Giropay.DisplayPreference.Value; } } export namespace GooglePay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.GooglePay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.GooglePay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.GooglePay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.GooglePay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.GooglePay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.GooglePay.DisplayPreference.Value; } } export namespace Grabpay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Grabpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Grabpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Grabpay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Grabpay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Grabpay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Grabpay.DisplayPreference.Value; } } export namespace Ideal { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Ideal.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Ideal.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Ideal.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Ideal.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Ideal.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Ideal.DisplayPreference.Value; } } export namespace Jcb { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Jcb.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Jcb.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Jcb.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Jcb.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Jcb.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Jcb.DisplayPreference.Value; } } export namespace KakaoPay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.KakaoPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.KakaoPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.KakaoPay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.KakaoPay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.KakaoPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.KakaoPay.DisplayPreference.Value; } } export namespace Klarna { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Klarna.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Klarna.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Klarna.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Klarna.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Klarna.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Klarna.DisplayPreference.Value; } } export namespace Konbini { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Konbini.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Konbini.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Konbini.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Konbini.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Konbini.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Konbini.DisplayPreference.Value; } } export namespace KrCard { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.KrCard.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.KrCard.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.KrCard.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.KrCard.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.KrCard.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.KrCard.DisplayPreference.Value; } } export namespace Link { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Link.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Link.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Link.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Link.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Link.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Link.DisplayPreference.Value; } } export namespace MbWay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.MbWay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.MbWay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.MbWay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.MbWay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.MbWay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.MbWay.DisplayPreference.Value; } } export namespace Mobilepay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Mobilepay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Mobilepay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Mobilepay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Mobilepay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Mobilepay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Mobilepay.DisplayPreference.Value; } } export namespace Multibanco { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Multibanco.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Multibanco.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Multibanco.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Multibanco.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Multibanco.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Multibanco.DisplayPreference.Value; } } export namespace NaverPay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.NaverPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.NaverPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.NaverPay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.NaverPay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.NaverPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.NaverPay.DisplayPreference.Value; } } export namespace NzBankAccount { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.NzBankAccount.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.NzBankAccount.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.NzBankAccount.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.NzBankAccount.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.NzBankAccount.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.NzBankAccount.DisplayPreference.Value; } } export namespace Oxxo { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Oxxo.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Oxxo.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Oxxo.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Oxxo.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Oxxo.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Oxxo.DisplayPreference.Value; } } export namespace P24 { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.P24.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.P24.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.P24.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.P24.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.P24.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.P24.DisplayPreference.Value; } } export namespace PayByBank { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.PayByBank.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.PayByBank.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.PayByBank.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.PayByBank.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.PayByBank.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.PayByBank.DisplayPreference.Value; } } export namespace Payco { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Payco.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Payco.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Payco.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Payco.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Payco.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Payco.DisplayPreference.Value; } } export namespace Paynow { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Paynow.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Paynow.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Paynow.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Paynow.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Paynow.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Paynow.DisplayPreference.Value; } } export namespace Paypal { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Paypal.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Paypal.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Paypal.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Paypal.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Paypal.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Paypal.DisplayPreference.Value; } } export namespace Payto { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Payto.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Payto.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Payto.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Payto.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Payto.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Payto.DisplayPreference.Value; } } export namespace Pix { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Pix.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Pix.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Pix.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Pix.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Pix.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Pix.DisplayPreference.Value; } } export namespace Promptpay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Promptpay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Promptpay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Promptpay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Promptpay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Promptpay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Promptpay.DisplayPreference.Value; } } export namespace RevolutPay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.RevolutPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.RevolutPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.RevolutPay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.RevolutPay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.RevolutPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.RevolutPay.DisplayPreference.Value; } } export namespace SamsungPay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.SamsungPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.SamsungPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.SamsungPay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.SamsungPay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.SamsungPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.SamsungPay.DisplayPreference.Value; } } export namespace Satispay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Satispay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Satispay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Satispay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Satispay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Satispay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Satispay.DisplayPreference.Value; } } export namespace Scalapay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Scalapay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Scalapay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Scalapay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Scalapay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Scalapay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Scalapay.DisplayPreference.Value; } } export namespace SepaDebit { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.SepaDebit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.SepaDebit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.SepaDebit.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.SepaDebit.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.SepaDebit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.SepaDebit.DisplayPreference.Value; } } export namespace Sofort { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Sofort.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Sofort.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Sofort.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Sofort.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Sofort.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Sofort.DisplayPreference.Value; } } export namespace Sunbit { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Sunbit.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Sunbit.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Sunbit.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Sunbit.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Sunbit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Sunbit.DisplayPreference.Value; } } export namespace Swish { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Swish.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Swish.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Swish.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Swish.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Swish.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Swish.DisplayPreference.Value; } } export namespace Twint { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Twint.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Twint.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Twint.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Twint.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Twint.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Twint.DisplayPreference.Value; } } export namespace Upi { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Upi.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Upi.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Upi.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Upi.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Upi.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Upi.DisplayPreference.Value; } } export namespace UsBankAccount { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.UsBankAccount.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.UsBankAccount.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.UsBankAccount.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.UsBankAccount.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.UsBankAccount.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.UsBankAccount.DisplayPreference.Value; } } export namespace WechatPay { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.WechatPay.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.WechatPay.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.WechatPay.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.WechatPay.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.WechatPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.WechatPay.DisplayPreference.Value; } } export namespace Zip { - export type DisplayPreference = Stripe.PaymentMethodConfiguration.Zip.DisplayPreference; + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Zip.DisplayPreference; export namespace DisplayPreference { - export type Preference = Stripe.PaymentMethodConfiguration.Zip.DisplayPreference.Preference; - export type Value = Stripe.PaymentMethodConfiguration.Zip.DisplayPreference.Value; + export type Preference = Stripe_.PaymentMethodConfiguration.Zip.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Zip.DisplayPreference.Value; } } } export namespace PaymentMethodDomain { - export type AmazonPay = Stripe.PaymentMethodDomain.AmazonPay; - export type ApplePay = Stripe.PaymentMethodDomain.ApplePay; - export type GooglePay = Stripe.PaymentMethodDomain.GooglePay; - export type Klarna = Stripe.PaymentMethodDomain.Klarna; - export type Link = Stripe.PaymentMethodDomain.Link; - export type Paypal = Stripe.PaymentMethodDomain.Paypal; + export type AmazonPay = Stripe_.PaymentMethodDomain.AmazonPay; + export type ApplePay = Stripe_.PaymentMethodDomain.ApplePay; + export type GooglePay = Stripe_.PaymentMethodDomain.GooglePay; + export type Klarna = Stripe_.PaymentMethodDomain.Klarna; + export type Link = Stripe_.PaymentMethodDomain.Link; + export type Paypal = Stripe_.PaymentMethodDomain.Paypal; export namespace AmazonPay { - export type Status = Stripe.PaymentMethodDomain.AmazonPay.Status; - export type StatusDetails = Stripe.PaymentMethodDomain.AmazonPay.StatusDetails; + export type Status = Stripe_.PaymentMethodDomain.AmazonPay.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.AmazonPay.StatusDetails; } export namespace ApplePay { - export type Status = Stripe.PaymentMethodDomain.ApplePay.Status; - export type StatusDetails = Stripe.PaymentMethodDomain.ApplePay.StatusDetails; + export type Status = Stripe_.PaymentMethodDomain.ApplePay.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.ApplePay.StatusDetails; } export namespace GooglePay { - export type Status = Stripe.PaymentMethodDomain.GooglePay.Status; - export type StatusDetails = Stripe.PaymentMethodDomain.GooglePay.StatusDetails; + export type Status = Stripe_.PaymentMethodDomain.GooglePay.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.GooglePay.StatusDetails; } export namespace Klarna { - export type Status = Stripe.PaymentMethodDomain.Klarna.Status; - export type StatusDetails = Stripe.PaymentMethodDomain.Klarna.StatusDetails; + export type Status = Stripe_.PaymentMethodDomain.Klarna.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.Klarna.StatusDetails; } export namespace Link { - export type Status = Stripe.PaymentMethodDomain.Link.Status; - export type StatusDetails = Stripe.PaymentMethodDomain.Link.StatusDetails; + export type Status = Stripe_.PaymentMethodDomain.Link.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.Link.StatusDetails; } export namespace Paypal { - export type Status = Stripe.PaymentMethodDomain.Paypal.Status; - export type StatusDetails = Stripe.PaymentMethodDomain.Paypal.StatusDetails; + export type Status = Stripe_.PaymentMethodDomain.Paypal.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.Paypal.StatusDetails; } } export namespace PaymentRecordReportPaymentParams { - export type AmountRequested = Stripe.PaymentRecordReportPaymentParams.AmountRequested; - export type PaymentMethodDetails = Stripe.PaymentRecordReportPaymentParams.PaymentMethodDetails; - export type CustomerDetails = Stripe.PaymentRecordReportPaymentParams.CustomerDetails; - export type CustomerPresence = Stripe.PaymentRecordReportPaymentParams.CustomerPresence; - export type Failed = Stripe.PaymentRecordReportPaymentParams.Failed; - export type Guaranteed = Stripe.PaymentRecordReportPaymentParams.Guaranteed; - export type Outcome = Stripe.PaymentRecordReportPaymentParams.Outcome; - export type ProcessorDetails = Stripe.PaymentRecordReportPaymentParams.ProcessorDetails; - export type ShippingDetails = Stripe.PaymentRecordReportPaymentParams.ShippingDetails; + export type AmountRequested = Stripe_.PaymentRecordReportPaymentParams.AmountRequested; + export type PaymentMethodDetails = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails; + export type CustomerDetails = Stripe_.PaymentRecordReportPaymentParams.CustomerDetails; + export type CustomerPresence = Stripe_.PaymentRecordReportPaymentParams.CustomerPresence; + export type Failed = Stripe_.PaymentRecordReportPaymentParams.Failed; + export type Guaranteed = Stripe_.PaymentRecordReportPaymentParams.Guaranteed; + export type Outcome = Stripe_.PaymentRecordReportPaymentParams.Outcome; + export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentParams.ProcessorDetails; + export type ShippingDetails = Stripe_.PaymentRecordReportPaymentParams.ShippingDetails; export namespace PaymentMethodDetails { - export type BillingDetails = Stripe.PaymentRecordReportPaymentParams.PaymentMethodDetails.BillingDetails; - export type Custom = Stripe.PaymentRecordReportPaymentParams.PaymentMethodDetails.Custom; + export type BillingDetails = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.BillingDetails; + export type Custom = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Custom; } export namespace ProcessorDetails { - export type Custom = Stripe.PaymentRecordReportPaymentParams.ProcessorDetails.Custom; + export type Custom = Stripe_.PaymentRecordReportPaymentParams.ProcessorDetails.Custom; } } export namespace PaymentRecordReportPaymentAttemptParams { - export type Failed = Stripe.PaymentRecordReportPaymentAttemptParams.Failed; - export type Guaranteed = Stripe.PaymentRecordReportPaymentAttemptParams.Guaranteed; - export type Outcome = Stripe.PaymentRecordReportPaymentAttemptParams.Outcome; - export type PaymentMethodDetails = Stripe.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails; - export type ShippingDetails = Stripe.PaymentRecordReportPaymentAttemptParams.ShippingDetails; + export type Failed = Stripe_.PaymentRecordReportPaymentAttemptParams.Failed; + export type Guaranteed = Stripe_.PaymentRecordReportPaymentAttemptParams.Guaranteed; + export type Outcome = Stripe_.PaymentRecordReportPaymentAttemptParams.Outcome; + export type PaymentMethodDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails; + export type ShippingDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.ShippingDetails; export namespace PaymentMethodDetails { - export type BillingDetails = Stripe.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.BillingDetails; - export type Custom = Stripe.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Custom; + export type BillingDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.BillingDetails; + export type Custom = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Custom; } } export namespace PaymentRecordReportPaymentAttemptInformationalParams { - export type CustomerDetails = Stripe.PaymentRecordReportPaymentAttemptInformationalParams.CustomerDetails; - export type ShippingDetails = Stripe.PaymentRecordReportPaymentAttemptInformationalParams.ShippingDetails; + export type CustomerDetails = Stripe_.PaymentRecordReportPaymentAttemptInformationalParams.CustomerDetails; + export type ShippingDetails = Stripe_.PaymentRecordReportPaymentAttemptInformationalParams.ShippingDetails; } export namespace PaymentRecordReportRefundParams { - export type ProcessorDetails = Stripe.PaymentRecordReportRefundParams.ProcessorDetails; - export type Refunded = Stripe.PaymentRecordReportRefundParams.Refunded; - export type Amount = Stripe.PaymentRecordReportRefundParams.Amount; + export type ProcessorDetails = Stripe_.PaymentRecordReportRefundParams.ProcessorDetails; + export type Refunded = Stripe_.PaymentRecordReportRefundParams.Refunded; + export type Amount = Stripe_.PaymentRecordReportRefundParams.Amount; export namespace ProcessorDetails { - export type Custom = Stripe.PaymentRecordReportRefundParams.ProcessorDetails.Custom; + export type Custom = Stripe_.PaymentRecordReportRefundParams.ProcessorDetails.Custom; } } export namespace PaymentRecord { - export type Amount = Stripe.PaymentRecord.Amount; - export type AmountAuthorized = Stripe.PaymentRecord.AmountAuthorized; - export type AmountCanceled = Stripe.PaymentRecord.AmountCanceled; - export type AmountFailed = Stripe.PaymentRecord.AmountFailed; - export type AmountGuaranteed = Stripe.PaymentRecord.AmountGuaranteed; - export type AmountRefunded = Stripe.PaymentRecord.AmountRefunded; - export type AmountRequested = Stripe.PaymentRecord.AmountRequested; - export type CustomerDetails = Stripe.PaymentRecord.CustomerDetails; - export type CustomerPresence = Stripe.PaymentRecord.CustomerPresence; - export type PaymentMethodDetails = Stripe.PaymentRecord.PaymentMethodDetails; - export type ProcessorDetails = Stripe.PaymentRecord.ProcessorDetails; - export type ReportedBy = Stripe.PaymentRecord.ReportedBy; - export type ShippingDetails = Stripe.PaymentRecord.ShippingDetails; + export type Amount = Stripe_.PaymentRecord.Amount; + export type AmountAuthorized = Stripe_.PaymentRecord.AmountAuthorized; + export type AmountCanceled = Stripe_.PaymentRecord.AmountCanceled; + export type AmountFailed = Stripe_.PaymentRecord.AmountFailed; + export type AmountGuaranteed = Stripe_.PaymentRecord.AmountGuaranteed; + export type AmountRefunded = Stripe_.PaymentRecord.AmountRefunded; + export type AmountRequested = Stripe_.PaymentRecord.AmountRequested; + export type CustomerDetails = Stripe_.PaymentRecord.CustomerDetails; + export type CustomerPresence = Stripe_.PaymentRecord.CustomerPresence; + export type PaymentMethodDetails = Stripe_.PaymentRecord.PaymentMethodDetails; + export type ProcessorDetails = Stripe_.PaymentRecord.ProcessorDetails; + export type ReportedBy = Stripe_.PaymentRecord.ReportedBy; + export type ShippingDetails = Stripe_.PaymentRecord.ShippingDetails; export namespace PaymentMethodDetails { - export type AchCreditTransfer = Stripe.PaymentRecord.PaymentMethodDetails.AchCreditTransfer; - export type AchDebit = Stripe.PaymentRecord.PaymentMethodDetails.AchDebit; - export type AcssDebit = Stripe.PaymentRecord.PaymentMethodDetails.AcssDebit; - export type Affirm = Stripe.PaymentRecord.PaymentMethodDetails.Affirm; - export type AfterpayClearpay = Stripe.PaymentRecord.PaymentMethodDetails.AfterpayClearpay; - export type Alipay = Stripe.PaymentRecord.PaymentMethodDetails.Alipay; - export type Alma = Stripe.PaymentRecord.PaymentMethodDetails.Alma; - export type AmazonPay = Stripe.PaymentRecord.PaymentMethodDetails.AmazonPay; - export type AuBecsDebit = Stripe.PaymentRecord.PaymentMethodDetails.AuBecsDebit; - export type BacsDebit = Stripe.PaymentRecord.PaymentMethodDetails.BacsDebit; - export type Bancontact = Stripe.PaymentRecord.PaymentMethodDetails.Bancontact; - export type Billie = Stripe.PaymentRecord.PaymentMethodDetails.Billie; - export type BillingDetails = Stripe.PaymentRecord.PaymentMethodDetails.BillingDetails; - export type Bizum = Stripe.PaymentRecord.PaymentMethodDetails.Bizum; - export type Blik = Stripe.PaymentRecord.PaymentMethodDetails.Blik; - export type Boleto = Stripe.PaymentRecord.PaymentMethodDetails.Boleto; - export type Card = Stripe.PaymentRecord.PaymentMethodDetails.Card; - export type CardPresent = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent; - export type Cashapp = Stripe.PaymentRecord.PaymentMethodDetails.Cashapp; - export type Crypto = Stripe.PaymentRecord.PaymentMethodDetails.Crypto; - export type Custom = Stripe.PaymentRecord.PaymentMethodDetails.Custom; - export type CustomerBalance = Stripe.PaymentRecord.PaymentMethodDetails.CustomerBalance; - export type Eps = Stripe.PaymentRecord.PaymentMethodDetails.Eps; - export type Fpx = Stripe.PaymentRecord.PaymentMethodDetails.Fpx; - export type Giropay = Stripe.PaymentRecord.PaymentMethodDetails.Giropay; - export type Grabpay = Stripe.PaymentRecord.PaymentMethodDetails.Grabpay; - export type Ideal = Stripe.PaymentRecord.PaymentMethodDetails.Ideal; - export type InteracPresent = Stripe.PaymentRecord.PaymentMethodDetails.InteracPresent; - export type KakaoPay = Stripe.PaymentRecord.PaymentMethodDetails.KakaoPay; - export type Klarna = Stripe.PaymentRecord.PaymentMethodDetails.Klarna; - export type Konbini = Stripe.PaymentRecord.PaymentMethodDetails.Konbini; - export type KrCard = Stripe.PaymentRecord.PaymentMethodDetails.KrCard; - export type Link = Stripe.PaymentRecord.PaymentMethodDetails.Link; - export type MbWay = Stripe.PaymentRecord.PaymentMethodDetails.MbWay; - export type Mobilepay = Stripe.PaymentRecord.PaymentMethodDetails.Mobilepay; - export type Multibanco = Stripe.PaymentRecord.PaymentMethodDetails.Multibanco; - export type NaverPay = Stripe.PaymentRecord.PaymentMethodDetails.NaverPay; - export type NzBankAccount = Stripe.PaymentRecord.PaymentMethodDetails.NzBankAccount; - export type Oxxo = Stripe.PaymentRecord.PaymentMethodDetails.Oxxo; - export type P24 = Stripe.PaymentRecord.PaymentMethodDetails.P24; - export type PayByBank = Stripe.PaymentRecord.PaymentMethodDetails.PayByBank; - export type Payco = Stripe.PaymentRecord.PaymentMethodDetails.Payco; - export type Paynow = Stripe.PaymentRecord.PaymentMethodDetails.Paynow; - export type Paypal = Stripe.PaymentRecord.PaymentMethodDetails.Paypal; - export type Payto = Stripe.PaymentRecord.PaymentMethodDetails.Payto; - export type Pix = Stripe.PaymentRecord.PaymentMethodDetails.Pix; - export type Promptpay = Stripe.PaymentRecord.PaymentMethodDetails.Promptpay; - export type RevolutPay = Stripe.PaymentRecord.PaymentMethodDetails.RevolutPay; - export type SamsungPay = Stripe.PaymentRecord.PaymentMethodDetails.SamsungPay; - export type Satispay = Stripe.PaymentRecord.PaymentMethodDetails.Satispay; - export type Scalapay = Stripe.PaymentRecord.PaymentMethodDetails.Scalapay; - export type SepaCreditTransfer = Stripe.PaymentRecord.PaymentMethodDetails.SepaCreditTransfer; - export type SepaDebit = Stripe.PaymentRecord.PaymentMethodDetails.SepaDebit; - export type Sofort = Stripe.PaymentRecord.PaymentMethodDetails.Sofort; - export type StripeAccount = Stripe.PaymentRecord.PaymentMethodDetails.StripeAccount; - export type Sunbit = Stripe.PaymentRecord.PaymentMethodDetails.Sunbit; - export type Swish = Stripe.PaymentRecord.PaymentMethodDetails.Swish; - export type Twint = Stripe.PaymentRecord.PaymentMethodDetails.Twint; - export type Upi = Stripe.PaymentRecord.PaymentMethodDetails.Upi; - export type UsBankAccount = Stripe.PaymentRecord.PaymentMethodDetails.UsBankAccount; - export type Wechat = Stripe.PaymentRecord.PaymentMethodDetails.Wechat; - export type WechatPay = Stripe.PaymentRecord.PaymentMethodDetails.WechatPay; - export type Zip = Stripe.PaymentRecord.PaymentMethodDetails.Zip; + export type AchCreditTransfer = Stripe_.PaymentRecord.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe_.PaymentRecord.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe_.PaymentRecord.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe_.PaymentRecord.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe_.PaymentRecord.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe_.PaymentRecord.PaymentMethodDetails.Alipay; + export type Alma = Stripe_.PaymentRecord.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe_.PaymentRecord.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentRecord.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentRecord.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe_.PaymentRecord.PaymentMethodDetails.Bancontact; + export type Billie = Stripe_.PaymentRecord.PaymentMethodDetails.Billie; + export type BillingDetails = Stripe_.PaymentRecord.PaymentMethodDetails.BillingDetails; + export type Bizum = Stripe_.PaymentRecord.PaymentMethodDetails.Bizum; + export type Blik = Stripe_.PaymentRecord.PaymentMethodDetails.Blik; + export type Boleto = Stripe_.PaymentRecord.PaymentMethodDetails.Boleto; + export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.Card; + export type CardPresent = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe_.PaymentRecord.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe_.PaymentRecord.PaymentMethodDetails.Crypto; + export type Custom = Stripe_.PaymentRecord.PaymentMethodDetails.Custom; + export type CustomerBalance = Stripe_.PaymentRecord.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe_.PaymentRecord.PaymentMethodDetails.Eps; + export type Fpx = Stripe_.PaymentRecord.PaymentMethodDetails.Fpx; + export type Giropay = Stripe_.PaymentRecord.PaymentMethodDetails.Giropay; + export type Grabpay = Stripe_.PaymentRecord.PaymentMethodDetails.Grabpay; + export type Ideal = Stripe_.PaymentRecord.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe_.PaymentRecord.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe_.PaymentRecord.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.PaymentRecord.PaymentMethodDetails.Klarna; + export type Konbini = Stripe_.PaymentRecord.PaymentMethodDetails.Konbini; + export type KrCard = Stripe_.PaymentRecord.PaymentMethodDetails.KrCard; + export type Link = Stripe_.PaymentRecord.PaymentMethodDetails.Link; + export type MbWay = Stripe_.PaymentRecord.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe_.PaymentRecord.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe_.PaymentRecord.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe_.PaymentRecord.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.PaymentRecord.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe_.PaymentRecord.PaymentMethodDetails.Oxxo; + export type P24 = Stripe_.PaymentRecord.PaymentMethodDetails.P24; + export type PayByBank = Stripe_.PaymentRecord.PaymentMethodDetails.PayByBank; + export type Payco = Stripe_.PaymentRecord.PaymentMethodDetails.Payco; + export type Paynow = Stripe_.PaymentRecord.PaymentMethodDetails.Paynow; + export type Paypal = Stripe_.PaymentRecord.PaymentMethodDetails.Paypal; + export type Payto = Stripe_.PaymentRecord.PaymentMethodDetails.Payto; + export type Pix = Stripe_.PaymentRecord.PaymentMethodDetails.Pix; + export type Promptpay = Stripe_.PaymentRecord.PaymentMethodDetails.Promptpay; + export type RevolutPay = Stripe_.PaymentRecord.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe_.PaymentRecord.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe_.PaymentRecord.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe_.PaymentRecord.PaymentMethodDetails.Scalapay; + export type SepaCreditTransfer = Stripe_.PaymentRecord.PaymentMethodDetails.SepaCreditTransfer; + export type SepaDebit = Stripe_.PaymentRecord.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe_.PaymentRecord.PaymentMethodDetails.Sofort; + export type StripeAccount = Stripe_.PaymentRecord.PaymentMethodDetails.StripeAccount; + export type Sunbit = Stripe_.PaymentRecord.PaymentMethodDetails.Sunbit; + export type Swish = Stripe_.PaymentRecord.PaymentMethodDetails.Swish; + export type Twint = Stripe_.PaymentRecord.PaymentMethodDetails.Twint; + export type Upi = Stripe_.PaymentRecord.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.PaymentRecord.PaymentMethodDetails.UsBankAccount; + export type Wechat = Stripe_.PaymentRecord.PaymentMethodDetails.Wechat; + export type WechatPay = Stripe_.PaymentRecord.PaymentMethodDetails.WechatPay; + export type Zip = Stripe_.PaymentRecord.PaymentMethodDetails.Zip; export namespace AchDebit { - export type AccountHolderType = Stripe.PaymentRecord.PaymentMethodDetails.AchDebit.AccountHolderType; + export type AccountHolderType = Stripe_.PaymentRecord.PaymentMethodDetails.AchDebit.AccountHolderType; } export namespace Alma { - export type Installments = Stripe.PaymentRecord.PaymentMethodDetails.Alma.Installments; + export type Installments = Stripe_.PaymentRecord.PaymentMethodDetails.Alma.Installments; } export namespace AmazonPay { - export type Funding = Stripe.PaymentRecord.PaymentMethodDetails.AmazonPay.Funding; + export type Funding = Stripe_.PaymentRecord.PaymentMethodDetails.AmazonPay.Funding; export namespace Funding { - export type Card = Stripe.PaymentRecord.PaymentMethodDetails.AmazonPay.Funding.Card; + export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.AmazonPay.Funding.Card; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.PaymentRecord.PaymentMethodDetails.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.PaymentRecord.PaymentMethodDetails.Bancontact.PreferredLanguage; } export namespace Card { - export type Brand = Stripe.PaymentRecord.PaymentMethodDetails.Card.Brand; - export type Checks = Stripe.PaymentRecord.PaymentMethodDetails.Card.Checks; - export type Funding = Stripe.PaymentRecord.PaymentMethodDetails.Card.Funding; - export type Installments = Stripe.PaymentRecord.PaymentMethodDetails.Card.Installments; - export type Network = Stripe.PaymentRecord.PaymentMethodDetails.Card.Network; - export type NetworkToken = Stripe.PaymentRecord.PaymentMethodDetails.Card.NetworkToken; - export type StoredCredentialUsage = Stripe.PaymentRecord.PaymentMethodDetails.Card.StoredCredentialUsage; - export type ThreeDSecure = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure; - export type Wallet = Stripe.PaymentRecord.PaymentMethodDetails.Card.Wallet; + export type Brand = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Brand; + export type Checks = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Checks; + export type Funding = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Funding; + export type Installments = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Installments; + export type Network = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Network; + export type NetworkToken = Stripe_.PaymentRecord.PaymentMethodDetails.Card.NetworkToken; + export type StoredCredentialUsage = Stripe_.PaymentRecord.PaymentMethodDetails.Card.StoredCredentialUsage; + export type ThreeDSecure = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Wallet; export namespace Checks { - export type AddressLine1Check = Stripe.PaymentRecord.PaymentMethodDetails.Card.Checks.AddressLine1Check; - export type AddressPostalCodeCheck = Stripe.PaymentRecord.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; - export type CvcCheck = Stripe.PaymentRecord.PaymentMethodDetails.Card.Checks.CvcCheck; + export type AddressLine1Check = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Checks.CvcCheck; } export namespace Installments { - export type Plan = Stripe.PaymentRecord.PaymentMethodDetails.Card.Installments.Plan; + export type Plan = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Installments.Plan; export namespace Plan { - export type Type = Stripe.PaymentRecord.PaymentMethodDetails.Card.Installments.Plan.Type; + export type Type = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Installments.Plan.Type; } } export namespace ThreeDSecure { - export type AuthenticationFlow = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; - export type ElectronicCommerceIndicator = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type ExemptionIndicator = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; - export type Result = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.Result; - export type ResultReason = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; - export type Version = Stripe.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.Version; + export type AuthenticationFlow = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; + export type Result = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.Version; } export namespace Wallet { - export type ApplePay = Stripe.PaymentRecord.PaymentMethodDetails.Card.Wallet.ApplePay; - export type GooglePay = Stripe.PaymentRecord.PaymentMethodDetails.Card.Wallet.GooglePay; + export type ApplePay = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Wallet.GooglePay; } } export namespace CardPresent { - export type Offline = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Offline; - export type ReadMethod = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.ReadMethod; - export type Receipt = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt; - export type Wallet = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet; + export type Offline = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.ReadMethod; + export type Receipt = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet; export namespace Receipt { - export type AccountType = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType; + export type AccountType = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType; } export namespace Wallet { - export type Type = Stripe.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet.Type; + export type Type = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet.Type; } } export namespace Crypto { - export type Network = Stripe.PaymentRecord.PaymentMethodDetails.Crypto.Network; - export type TokenCurrency = Stripe.PaymentRecord.PaymentMethodDetails.Crypto.TokenCurrency; + export type Network = Stripe_.PaymentRecord.PaymentMethodDetails.Crypto.Network; + export type TokenCurrency = Stripe_.PaymentRecord.PaymentMethodDetails.Crypto.TokenCurrency; } export namespace Eps { - export type Bank = Stripe.PaymentRecord.PaymentMethodDetails.Eps.Bank; + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.PaymentRecord.PaymentMethodDetails.Fpx.AccountHolderType; - export type Bank = Stripe.PaymentRecord.PaymentMethodDetails.Fpx.Bank; + export type AccountHolderType = Stripe_.PaymentRecord.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.PaymentRecord.PaymentMethodDetails.Ideal.Bank; - export type Bic = Stripe.PaymentRecord.PaymentMethodDetails.Ideal.Bic; + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe_.PaymentRecord.PaymentMethodDetails.Ideal.Bic; } export namespace InteracPresent { - export type ReadMethod = Stripe.PaymentRecord.PaymentMethodDetails.InteracPresent.ReadMethod; - export type Receipt = Stripe.PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt; + export type ReadMethod = Stripe_.PaymentRecord.PaymentMethodDetails.InteracPresent.ReadMethod; + export type Receipt = Stripe_.PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt; export namespace Receipt { - export type AccountType = Stripe.PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt.AccountType; + export type AccountType = Stripe_.PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt.AccountType; } } export namespace Klarna { - export type PayerDetails = Stripe.PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails; + export type PayerDetails = Stripe_.PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails; export namespace PayerDetails { - export type Address = Stripe.PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails.Address; + export type Address = Stripe_.PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails.Address; } } export namespace Konbini { - export type Store = Stripe.PaymentRecord.PaymentMethodDetails.Konbini.Store; + export type Store = Stripe_.PaymentRecord.PaymentMethodDetails.Konbini.Store; export namespace Store { - export type Chain = Stripe.PaymentRecord.PaymentMethodDetails.Konbini.Store.Chain; + export type Chain = Stripe_.PaymentRecord.PaymentMethodDetails.Konbini.Store.Chain; } } export namespace KrCard { - export type Brand = Stripe.PaymentRecord.PaymentMethodDetails.KrCard.Brand; + export type Brand = Stripe_.PaymentRecord.PaymentMethodDetails.KrCard.Brand; } export namespace Mobilepay { - export type Card = Stripe.PaymentRecord.PaymentMethodDetails.Mobilepay.Card; + export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.Mobilepay.Card; } export namespace P24 { - export type Bank = Stripe.PaymentRecord.PaymentMethodDetails.P24.Bank; + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.P24.Bank; } export namespace Paypal { - export type SellerProtection = Stripe.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection; + export type SellerProtection = Stripe_.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection; export namespace SellerProtection { - export type DisputeCategory = Stripe.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; - export type Status = Stripe.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection.Status; + export type DisputeCategory = Stripe_.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; + export type Status = Stripe_.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection.Status; } } export namespace RevolutPay { - export type Funding = Stripe.PaymentRecord.PaymentMethodDetails.RevolutPay.Funding; + export type Funding = Stripe_.PaymentRecord.PaymentMethodDetails.RevolutPay.Funding; export namespace Funding { - export type Card = Stripe.PaymentRecord.PaymentMethodDetails.RevolutPay.Funding.Card; + export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.RevolutPay.Funding.Card; } } export namespace Sofort { - export type PreferredLanguage = Stripe.PaymentRecord.PaymentMethodDetails.Sofort.PreferredLanguage; + export type PreferredLanguage = Stripe_.PaymentRecord.PaymentMethodDetails.Sofort.PreferredLanguage; } export namespace UsBankAccount { - export type AccountHolderType = Stripe.PaymentRecord.PaymentMethodDetails.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.PaymentRecord.PaymentMethodDetails.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.PaymentRecord.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentRecord.PaymentMethodDetails.UsBankAccount.AccountType; } } export namespace ProcessorDetails { - export type Custom = Stripe.PaymentRecord.ProcessorDetails.Custom; + export type Custom = Stripe_.PaymentRecord.ProcessorDetails.Custom; } } export namespace PayoutCreateParams { - export type Method = Stripe.PayoutCreateParams.Method; - export type SourceType = Stripe.PayoutCreateParams.SourceType; + export type Method = Stripe_.PayoutCreateParams.Method; + export type SourceType = Stripe_.PayoutCreateParams.SourceType; } export namespace Payout { - export type ReconciliationStatus = Stripe.Payout.ReconciliationStatus; - export type TraceId = Stripe.Payout.TraceId; - export type Type = Stripe.Payout.Type; + export type ReconciliationStatus = Stripe_.Payout.ReconciliationStatus; + export type TraceId = Stripe_.Payout.TraceId; + export type Type = Stripe_.Payout.Type; } export namespace PlanCreateParams { - export type Interval = Stripe.PlanCreateParams.Interval; - export type BillingScheme = Stripe.PlanCreateParams.BillingScheme; - export type Product = Stripe.PlanCreateParams.Product; - export type Tier = Stripe.PlanCreateParams.Tier; - export type TiersMode = Stripe.PlanCreateParams.TiersMode; - export type TransformUsage = Stripe.PlanCreateParams.TransformUsage; - export type UsageType = Stripe.PlanCreateParams.UsageType; + export type Interval = Stripe_.PlanCreateParams.Interval; + export type BillingScheme = Stripe_.PlanCreateParams.BillingScheme; + export type Product = Stripe_.PlanCreateParams.Product; + export type Tier = Stripe_.PlanCreateParams.Tier; + export type TiersMode = Stripe_.PlanCreateParams.TiersMode; + export type TransformUsage = Stripe_.PlanCreateParams.TransformUsage; + export type UsageType = Stripe_.PlanCreateParams.UsageType; export namespace TransformUsage { - export type Round = Stripe.PlanCreateParams.TransformUsage.Round; + export type Round = Stripe_.PlanCreateParams.TransformUsage.Round; } } export namespace Plan { - export type BillingScheme = Stripe.Plan.BillingScheme; - export type Interval = Stripe.Plan.Interval; - export type Tier = Stripe.Plan.Tier; - export type TiersMode = Stripe.Plan.TiersMode; - export type TransformUsage = Stripe.Plan.TransformUsage; - export type UsageType = Stripe.Plan.UsageType; + export type BillingScheme = Stripe_.Plan.BillingScheme; + export type Interval = Stripe_.Plan.Interval; + export type Tier = Stripe_.Plan.Tier; + export type TiersMode = Stripe_.Plan.TiersMode; + export type TransformUsage = Stripe_.Plan.TransformUsage; + export type UsageType = Stripe_.Plan.UsageType; export namespace TransformUsage { - export type Round = Stripe.Plan.TransformUsage.Round; + export type Round = Stripe_.Plan.TransformUsage.Round; } } export namespace PriceCreateParams { - export type BillingScheme = Stripe.PriceCreateParams.BillingScheme; - export type CurrencyOptions = Stripe.PriceCreateParams.CurrencyOptions; - export type CustomUnitAmount = Stripe.PriceCreateParams.CustomUnitAmount; - export type ProductData = Stripe.PriceCreateParams.ProductData; - export type Recurring = Stripe.PriceCreateParams.Recurring; - export type TaxBehavior = Stripe.PriceCreateParams.TaxBehavior; - export type Tier = Stripe.PriceCreateParams.Tier; - export type TiersMode = Stripe.PriceCreateParams.TiersMode; - export type TransformQuantity = Stripe.PriceCreateParams.TransformQuantity; + export type BillingScheme = Stripe_.PriceCreateParams.BillingScheme; + export type CurrencyOptions = Stripe_.PriceCreateParams.CurrencyOptions; + export type CustomUnitAmount = Stripe_.PriceCreateParams.CustomUnitAmount; + export type ProductData = Stripe_.PriceCreateParams.ProductData; + export type Recurring = Stripe_.PriceCreateParams.Recurring; + export type TaxBehavior = Stripe_.PriceCreateParams.TaxBehavior; + export type Tier = Stripe_.PriceCreateParams.Tier; + export type TiersMode = Stripe_.PriceCreateParams.TiersMode; + export type TransformQuantity = Stripe_.PriceCreateParams.TransformQuantity; export namespace CurrencyOptions { - export type CustomUnitAmount = Stripe.PriceCreateParams.CurrencyOptions.CustomUnitAmount; - export type TaxBehavior = Stripe.PriceCreateParams.CurrencyOptions.TaxBehavior; - export type Tier = Stripe.PriceCreateParams.CurrencyOptions.Tier; + export type CustomUnitAmount = Stripe_.PriceCreateParams.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe_.PriceCreateParams.CurrencyOptions.TaxBehavior; + export type Tier = Stripe_.PriceCreateParams.CurrencyOptions.Tier; } export namespace Recurring { - export type Interval = Stripe.PriceCreateParams.Recurring.Interval; - export type UsageType = Stripe.PriceCreateParams.Recurring.UsageType; + export type Interval = Stripe_.PriceCreateParams.Recurring.Interval; + export type UsageType = Stripe_.PriceCreateParams.Recurring.UsageType; } export namespace TransformQuantity { - export type Round = Stripe.PriceCreateParams.TransformQuantity.Round; + export type Round = Stripe_.PriceCreateParams.TransformQuantity.Round; } } export namespace PriceUpdateParams { - export type CurrencyOptions = Stripe.PriceUpdateParams.CurrencyOptions; - export type TaxBehavior = Stripe.PriceUpdateParams.TaxBehavior; + export type CurrencyOptions = Stripe_.PriceUpdateParams.CurrencyOptions; + export type TaxBehavior = Stripe_.PriceUpdateParams.TaxBehavior; export namespace CurrencyOptions { - export type CustomUnitAmount = Stripe.PriceUpdateParams.CurrencyOptions.CustomUnitAmount; - export type TaxBehavior = Stripe.PriceUpdateParams.CurrencyOptions.TaxBehavior; - export type Tier = Stripe.PriceUpdateParams.CurrencyOptions.Tier; + export type CustomUnitAmount = Stripe_.PriceUpdateParams.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe_.PriceUpdateParams.CurrencyOptions.TaxBehavior; + export type Tier = Stripe_.PriceUpdateParams.CurrencyOptions.Tier; } } export namespace PriceListParams { - export type Recurring = Stripe.PriceListParams.Recurring; - export type Type = Stripe.PriceListParams.Type; + export type Recurring = Stripe_.PriceListParams.Recurring; + export type Type = Stripe_.PriceListParams.Type; export namespace Recurring { - export type Interval = Stripe.PriceListParams.Recurring.Interval; - export type UsageType = Stripe.PriceListParams.Recurring.UsageType; + export type Interval = Stripe_.PriceListParams.Recurring.Interval; + export type UsageType = Stripe_.PriceListParams.Recurring.UsageType; } } export namespace Price { - export type BillingScheme = Stripe.Price.BillingScheme; - export type CurrencyOptions = Stripe.Price.CurrencyOptions; - export type CustomUnitAmount = Stripe.Price.CustomUnitAmount; - export type Recurring = Stripe.Price.Recurring; - export type TaxBehavior = Stripe.Price.TaxBehavior; - export type Tier = Stripe.Price.Tier; - export type TiersMode = Stripe.Price.TiersMode; - export type TransformQuantity = Stripe.Price.TransformQuantity; - export type Type = Stripe.Price.Type; + export type BillingScheme = Stripe_.Price.BillingScheme; + export type CurrencyOptions = Stripe_.Price.CurrencyOptions; + export type CustomUnitAmount = Stripe_.Price.CustomUnitAmount; + export type Recurring = Stripe_.Price.Recurring; + export type TaxBehavior = Stripe_.Price.TaxBehavior; + export type Tier = Stripe_.Price.Tier; + export type TiersMode = Stripe_.Price.TiersMode; + export type TransformQuantity = Stripe_.Price.TransformQuantity; + export type Type = Stripe_.Price.Type; export namespace CurrencyOptions { - export type CustomUnitAmount = Stripe.Price.CurrencyOptions.CustomUnitAmount; - export type TaxBehavior = Stripe.Price.CurrencyOptions.TaxBehavior; - export type Tier = Stripe.Price.CurrencyOptions.Tier; + export type CustomUnitAmount = Stripe_.Price.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe_.Price.CurrencyOptions.TaxBehavior; + export type Tier = Stripe_.Price.CurrencyOptions.Tier; } export namespace Recurring { - export type Interval = Stripe.Price.Recurring.Interval; - export type UsageType = Stripe.Price.Recurring.UsageType; + export type Interval = Stripe_.Price.Recurring.Interval; + export type UsageType = Stripe_.Price.Recurring.UsageType; } export namespace TransformQuantity { - export type Round = Stripe.Price.TransformQuantity.Round; + export type Round = Stripe_.Price.TransformQuantity.Round; } } export namespace ProductCreateParams { - export type DefaultPriceData = Stripe.ProductCreateParams.DefaultPriceData; - export type MarketingFeature = Stripe.ProductCreateParams.MarketingFeature; - export type PackageDimensions = Stripe.ProductCreateParams.PackageDimensions; - export type Type = Stripe.ProductCreateParams.Type; + export type DefaultPriceData = Stripe_.ProductCreateParams.DefaultPriceData; + export type MarketingFeature = Stripe_.ProductCreateParams.MarketingFeature; + export type PackageDimensions = Stripe_.ProductCreateParams.PackageDimensions; + export type Type = Stripe_.ProductCreateParams.Type; export namespace DefaultPriceData { - export type CurrencyOptions = Stripe.ProductCreateParams.DefaultPriceData.CurrencyOptions; - export type CustomUnitAmount = Stripe.ProductCreateParams.DefaultPriceData.CustomUnitAmount; - export type Recurring = Stripe.ProductCreateParams.DefaultPriceData.Recurring; - export type TaxBehavior = Stripe.ProductCreateParams.DefaultPriceData.TaxBehavior; + export type CurrencyOptions = Stripe_.ProductCreateParams.DefaultPriceData.CurrencyOptions; + export type CustomUnitAmount = Stripe_.ProductCreateParams.DefaultPriceData.CustomUnitAmount; + export type Recurring = Stripe_.ProductCreateParams.DefaultPriceData.Recurring; + export type TaxBehavior = Stripe_.ProductCreateParams.DefaultPriceData.TaxBehavior; export namespace CurrencyOptions { - export type CustomUnitAmount = Stripe.ProductCreateParams.DefaultPriceData.CurrencyOptions.CustomUnitAmount; - export type TaxBehavior = Stripe.ProductCreateParams.DefaultPriceData.CurrencyOptions.TaxBehavior; - export type Tier = Stripe.ProductCreateParams.DefaultPriceData.CurrencyOptions.Tier; + export type CustomUnitAmount = Stripe_.ProductCreateParams.DefaultPriceData.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe_.ProductCreateParams.DefaultPriceData.CurrencyOptions.TaxBehavior; + export type Tier = Stripe_.ProductCreateParams.DefaultPriceData.CurrencyOptions.Tier; } export namespace Recurring { - export type Interval = Stripe.ProductCreateParams.DefaultPriceData.Recurring.Interval; + export type Interval = Stripe_.ProductCreateParams.DefaultPriceData.Recurring.Interval; } } } export namespace ProductUpdateParams { - export type MarketingFeature = Stripe.ProductUpdateParams.MarketingFeature; - export type PackageDimensions = Stripe.ProductUpdateParams.PackageDimensions; + export type MarketingFeature = Stripe_.ProductUpdateParams.MarketingFeature; + export type PackageDimensions = Stripe_.ProductUpdateParams.PackageDimensions; } export namespace ProductListParams { - export type Type = Stripe.ProductListParams.Type; + export type Type = Stripe_.ProductListParams.Type; } export namespace Product { - export type MarketingFeature = Stripe.Product.MarketingFeature; - export type PackageDimensions = Stripe.Product.PackageDimensions; - export type Type = Stripe.Product.Type; + export type MarketingFeature = Stripe_.Product.MarketingFeature; + export type PackageDimensions = Stripe_.Product.PackageDimensions; + export type Type = Stripe_.Product.Type; } export namespace PromotionCodeCreateParams { - export type Promotion = Stripe.PromotionCodeCreateParams.Promotion; - export type Restrictions = Stripe.PromotionCodeCreateParams.Restrictions; + export type Promotion = Stripe_.PromotionCodeCreateParams.Promotion; + export type Restrictions = Stripe_.PromotionCodeCreateParams.Restrictions; export namespace Restrictions { - export type CurrencyOptions = Stripe.PromotionCodeCreateParams.Restrictions.CurrencyOptions; + export type CurrencyOptions = Stripe_.PromotionCodeCreateParams.Restrictions.CurrencyOptions; } } export namespace PromotionCodeUpdateParams { - export type Restrictions = Stripe.PromotionCodeUpdateParams.Restrictions; + export type Restrictions = Stripe_.PromotionCodeUpdateParams.Restrictions; export namespace Restrictions { - export type CurrencyOptions = Stripe.PromotionCodeUpdateParams.Restrictions.CurrencyOptions; + export type CurrencyOptions = Stripe_.PromotionCodeUpdateParams.Restrictions.CurrencyOptions; } } export namespace PromotionCode { - export type Promotion = Stripe.PromotionCode.Promotion; - export type Restrictions = Stripe.PromotionCode.Restrictions; + export type Promotion = Stripe_.PromotionCode.Promotion; + export type Restrictions = Stripe_.PromotionCode.Restrictions; export namespace Restrictions { - export type CurrencyOptions = Stripe.PromotionCode.Restrictions.CurrencyOptions; + export type CurrencyOptions = Stripe_.PromotionCode.Restrictions.CurrencyOptions; } } export namespace QuoteCreateParams { - export type AutomaticTax = Stripe.QuoteCreateParams.AutomaticTax; - export type CollectionMethod = Stripe.QuoteCreateParams.CollectionMethod; - export type Discount = Stripe.QuoteCreateParams.Discount; - export type FromQuote = Stripe.QuoteCreateParams.FromQuote; - export type InvoiceSettings = Stripe.QuoteCreateParams.InvoiceSettings; - export type LineItem = Stripe.QuoteCreateParams.LineItem; - export type SubscriptionData = Stripe.QuoteCreateParams.SubscriptionData; - export type TransferData = Stripe.QuoteCreateParams.TransferData; + export type AutomaticTax = Stripe_.QuoteCreateParams.AutomaticTax; + export type CollectionMethod = Stripe_.QuoteCreateParams.CollectionMethod; + export type Discount = Stripe_.QuoteCreateParams.Discount; + export type FromQuote = Stripe_.QuoteCreateParams.FromQuote; + export type InvoiceSettings = Stripe_.QuoteCreateParams.InvoiceSettings; + export type LineItem = Stripe_.QuoteCreateParams.LineItem; + export type SubscriptionData = Stripe_.QuoteCreateParams.SubscriptionData; + export type TransferData = Stripe_.QuoteCreateParams.TransferData; export namespace AutomaticTax { - export type Liability = Stripe.QuoteCreateParams.AutomaticTax.Liability; + export type Liability = Stripe_.QuoteCreateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.QuoteCreateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.QuoteCreateParams.AutomaticTax.Liability.Type; } } export namespace InvoiceSettings { - export type Issuer = Stripe.QuoteCreateParams.InvoiceSettings.Issuer; + export type Issuer = Stripe_.QuoteCreateParams.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.QuoteCreateParams.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.QuoteCreateParams.InvoiceSettings.Issuer.Type; } } export namespace LineItem { - export type Discount = Stripe.QuoteCreateParams.LineItem.Discount; - export type PriceData = Stripe.QuoteCreateParams.LineItem.PriceData; + export type Discount = Stripe_.QuoteCreateParams.LineItem.Discount; + export type PriceData = Stripe_.QuoteCreateParams.LineItem.PriceData; export namespace PriceData { - export type Recurring = Stripe.QuoteCreateParams.LineItem.PriceData.Recurring; - export type TaxBehavior = Stripe.QuoteCreateParams.LineItem.PriceData.TaxBehavior; + export type Recurring = Stripe_.QuoteCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe_.QuoteCreateParams.LineItem.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.QuoteCreateParams.LineItem.PriceData.Recurring.Interval; + export type Interval = Stripe_.QuoteCreateParams.LineItem.PriceData.Recurring.Interval; } } } export namespace SubscriptionData { - export type BillingMode = Stripe.QuoteCreateParams.SubscriptionData.BillingMode; + export type BillingMode = Stripe_.QuoteCreateParams.SubscriptionData.BillingMode; export namespace BillingMode { - export type Flexible = Stripe.QuoteCreateParams.SubscriptionData.BillingMode.Flexible; - export type Type = Stripe.QuoteCreateParams.SubscriptionData.BillingMode.Type; + export type Flexible = Stripe_.QuoteCreateParams.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe_.QuoteCreateParams.SubscriptionData.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.QuoteCreateParams.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.QuoteCreateParams.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; } } } } export namespace QuoteUpdateParams { - export type AutomaticTax = Stripe.QuoteUpdateParams.AutomaticTax; - export type CollectionMethod = Stripe.QuoteUpdateParams.CollectionMethod; - export type Discount = Stripe.QuoteUpdateParams.Discount; - export type InvoiceSettings = Stripe.QuoteUpdateParams.InvoiceSettings; - export type LineItem = Stripe.QuoteUpdateParams.LineItem; - export type SubscriptionData = Stripe.QuoteUpdateParams.SubscriptionData; - export type TransferData = Stripe.QuoteUpdateParams.TransferData; + export type AutomaticTax = Stripe_.QuoteUpdateParams.AutomaticTax; + export type CollectionMethod = Stripe_.QuoteUpdateParams.CollectionMethod; + export type Discount = Stripe_.QuoteUpdateParams.Discount; + export type InvoiceSettings = Stripe_.QuoteUpdateParams.InvoiceSettings; + export type LineItem = Stripe_.QuoteUpdateParams.LineItem; + export type SubscriptionData = Stripe_.QuoteUpdateParams.SubscriptionData; + export type TransferData = Stripe_.QuoteUpdateParams.TransferData; export namespace AutomaticTax { - export type Liability = Stripe.QuoteUpdateParams.AutomaticTax.Liability; + export type Liability = Stripe_.QuoteUpdateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.QuoteUpdateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.QuoteUpdateParams.AutomaticTax.Liability.Type; } } export namespace InvoiceSettings { - export type Issuer = Stripe.QuoteUpdateParams.InvoiceSettings.Issuer; + export type Issuer = Stripe_.QuoteUpdateParams.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.QuoteUpdateParams.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.QuoteUpdateParams.InvoiceSettings.Issuer.Type; } } export namespace LineItem { - export type Discount = Stripe.QuoteUpdateParams.LineItem.Discount; - export type PriceData = Stripe.QuoteUpdateParams.LineItem.PriceData; + export type Discount = Stripe_.QuoteUpdateParams.LineItem.Discount; + export type PriceData = Stripe_.QuoteUpdateParams.LineItem.PriceData; export namespace PriceData { - export type Recurring = Stripe.QuoteUpdateParams.LineItem.PriceData.Recurring; - export type TaxBehavior = Stripe.QuoteUpdateParams.LineItem.PriceData.TaxBehavior; + export type Recurring = Stripe_.QuoteUpdateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe_.QuoteUpdateParams.LineItem.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.QuoteUpdateParams.LineItem.PriceData.Recurring.Interval; + export type Interval = Stripe_.QuoteUpdateParams.LineItem.PriceData.Recurring.Interval; } } } } export namespace QuoteListParams { - export type Status = Stripe.QuoteListParams.Status; + export type Status = Stripe_.QuoteListParams.Status; } export namespace Quote { - export type AutomaticTax = Stripe.Quote.AutomaticTax; - export type CollectionMethod = Stripe.Quote.CollectionMethod; - export type Computed = Stripe.Quote.Computed; - export type FromQuote = Stripe.Quote.FromQuote; - export type InvoiceSettings = Stripe.Quote.InvoiceSettings; - export type Status = Stripe.Quote.Status; - export type StatusTransitions = Stripe.Quote.StatusTransitions; - export type SubscriptionData = Stripe.Quote.SubscriptionData; - export type TotalDetails = Stripe.Quote.TotalDetails; - export type TransferData = Stripe.Quote.TransferData; + export type AutomaticTax = Stripe_.Quote.AutomaticTax; + export type CollectionMethod = Stripe_.Quote.CollectionMethod; + export type Computed = Stripe_.Quote.Computed; + export type FromQuote = Stripe_.Quote.FromQuote; + export type InvoiceSettings = Stripe_.Quote.InvoiceSettings; + export type Status = Stripe_.Quote.Status; + export type StatusTransitions = Stripe_.Quote.StatusTransitions; + export type SubscriptionData = Stripe_.Quote.SubscriptionData; + export type TotalDetails = Stripe_.Quote.TotalDetails; + export type TransferData = Stripe_.Quote.TransferData; export namespace AutomaticTax { - export type Liability = Stripe.Quote.AutomaticTax.Liability; - export type Status = Stripe.Quote.AutomaticTax.Status; + export type Liability = Stripe_.Quote.AutomaticTax.Liability; + export type Status = Stripe_.Quote.AutomaticTax.Status; export namespace Liability { - export type Type = Stripe.Quote.AutomaticTax.Liability.Type; + export type Type = Stripe_.Quote.AutomaticTax.Liability.Type; } } export namespace Computed { - export type Recurring = Stripe.Quote.Computed.Recurring; - export type Upfront = Stripe.Quote.Computed.Upfront; + export type Recurring = Stripe_.Quote.Computed.Recurring; + export type Upfront = Stripe_.Quote.Computed.Upfront; export namespace Recurring { - export type Interval = Stripe.Quote.Computed.Recurring.Interval; - export type TotalDetails = Stripe.Quote.Computed.Recurring.TotalDetails; + export type Interval = Stripe_.Quote.Computed.Recurring.Interval; + export type TotalDetails = Stripe_.Quote.Computed.Recurring.TotalDetails; export namespace TotalDetails { - export type Breakdown = Stripe.Quote.Computed.Recurring.TotalDetails.Breakdown; + export type Breakdown = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown; export namespace Breakdown { - export type Discount = Stripe.Quote.Computed.Recurring.TotalDetails.Breakdown.Discount; - export type Tax = Stripe.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax; + export type Discount = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax; export namespace Tax { - export type TaxabilityReason = Stripe.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax.TaxabilityReason; + export type TaxabilityReason = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax.TaxabilityReason; } } } } export namespace Upfront { - export type TotalDetails = Stripe.Quote.Computed.Upfront.TotalDetails; + export type TotalDetails = Stripe_.Quote.Computed.Upfront.TotalDetails; export namespace TotalDetails { - export type Breakdown = Stripe.Quote.Computed.Upfront.TotalDetails.Breakdown; + export type Breakdown = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown; export namespace Breakdown { - export type Discount = Stripe.Quote.Computed.Upfront.TotalDetails.Breakdown.Discount; - export type Tax = Stripe.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax; + export type Discount = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax; export namespace Tax { - export type TaxabilityReason = Stripe.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax.TaxabilityReason; + export type TaxabilityReason = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax.TaxabilityReason; } } } } } export namespace InvoiceSettings { - export type Issuer = Stripe.Quote.InvoiceSettings.Issuer; + export type Issuer = Stripe_.Quote.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.Quote.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.Quote.InvoiceSettings.Issuer.Type; } } export namespace SubscriptionData { - export type BillingMode = Stripe.Quote.SubscriptionData.BillingMode; + export type BillingMode = Stripe_.Quote.SubscriptionData.BillingMode; export namespace BillingMode { - export type Flexible = Stripe.Quote.SubscriptionData.BillingMode.Flexible; - export type Type = Stripe.Quote.SubscriptionData.BillingMode.Type; + export type Flexible = Stripe_.Quote.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe_.Quote.SubscriptionData.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.Quote.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.Quote.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; } } } export namespace TotalDetails { - export type Breakdown = Stripe.Quote.TotalDetails.Breakdown; + export type Breakdown = Stripe_.Quote.TotalDetails.Breakdown; export namespace Breakdown { - export type Discount = Stripe.Quote.TotalDetails.Breakdown.Discount; - export type Tax = Stripe.Quote.TotalDetails.Breakdown.Tax; + export type Discount = Stripe_.Quote.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Quote.TotalDetails.Breakdown.Tax; export namespace Tax { - export type TaxabilityReason = Stripe.Quote.TotalDetails.Breakdown.Tax.TaxabilityReason; + export type TaxabilityReason = Stripe_.Quote.TotalDetails.Breakdown.Tax.TaxabilityReason; } } } } export namespace RefundCreateParams { - export type Reason = Stripe.RefundCreateParams.Reason; + export type Reason = Stripe_.RefundCreateParams.Reason; } export namespace Refund { - export type DestinationDetails = Stripe.Refund.DestinationDetails; - export type NextAction = Stripe.Refund.NextAction; - export type PendingReason = Stripe.Refund.PendingReason; - export type PresentmentDetails = Stripe.Refund.PresentmentDetails; - export type Reason = Stripe.Refund.Reason; + export type DestinationDetails = Stripe_.Refund.DestinationDetails; + export type NextAction = Stripe_.Refund.NextAction; + export type PendingReason = Stripe_.Refund.PendingReason; + export type PresentmentDetails = Stripe_.Refund.PresentmentDetails; + export type Reason = Stripe_.Refund.Reason; export namespace DestinationDetails { - export type Affirm = Stripe.Refund.DestinationDetails.Affirm; - export type AfterpayClearpay = Stripe.Refund.DestinationDetails.AfterpayClearpay; - export type Alipay = Stripe.Refund.DestinationDetails.Alipay; - export type Alma = Stripe.Refund.DestinationDetails.Alma; - export type AmazonPay = Stripe.Refund.DestinationDetails.AmazonPay; - export type AuBankTransfer = Stripe.Refund.DestinationDetails.AuBankTransfer; - export type Blik = Stripe.Refund.DestinationDetails.Blik; - export type BrBankTransfer = Stripe.Refund.DestinationDetails.BrBankTransfer; - export type Card = Stripe.Refund.DestinationDetails.Card; - export type Cashapp = Stripe.Refund.DestinationDetails.Cashapp; - export type Crypto = Stripe.Refund.DestinationDetails.Crypto; - export type CustomerCashBalance = Stripe.Refund.DestinationDetails.CustomerCashBalance; - export type Eps = Stripe.Refund.DestinationDetails.Eps; - export type EuBankTransfer = Stripe.Refund.DestinationDetails.EuBankTransfer; - export type GbBankTransfer = Stripe.Refund.DestinationDetails.GbBankTransfer; - export type Giropay = Stripe.Refund.DestinationDetails.Giropay; - export type Grabpay = Stripe.Refund.DestinationDetails.Grabpay; - export type JpBankTransfer = Stripe.Refund.DestinationDetails.JpBankTransfer; - export type Klarna = Stripe.Refund.DestinationDetails.Klarna; - export type MbWay = Stripe.Refund.DestinationDetails.MbWay; - export type Multibanco = Stripe.Refund.DestinationDetails.Multibanco; - export type MxBankTransfer = Stripe.Refund.DestinationDetails.MxBankTransfer; - export type NzBankTransfer = Stripe.Refund.DestinationDetails.NzBankTransfer; - export type P24 = Stripe.Refund.DestinationDetails.P24; - export type Paynow = Stripe.Refund.DestinationDetails.Paynow; - export type Paypal = Stripe.Refund.DestinationDetails.Paypal; - export type Pix = Stripe.Refund.DestinationDetails.Pix; - export type Revolut = Stripe.Refund.DestinationDetails.Revolut; - export type Scalapay = Stripe.Refund.DestinationDetails.Scalapay; - export type Sofort = Stripe.Refund.DestinationDetails.Sofort; - export type Swish = Stripe.Refund.DestinationDetails.Swish; - export type ThBankTransfer = Stripe.Refund.DestinationDetails.ThBankTransfer; - export type Twint = Stripe.Refund.DestinationDetails.Twint; - export type UsBankTransfer = Stripe.Refund.DestinationDetails.UsBankTransfer; - export type WechatPay = Stripe.Refund.DestinationDetails.WechatPay; - export type Zip = Stripe.Refund.DestinationDetails.Zip; + export type Affirm = Stripe_.Refund.DestinationDetails.Affirm; + export type AfterpayClearpay = Stripe_.Refund.DestinationDetails.AfterpayClearpay; + export type Alipay = Stripe_.Refund.DestinationDetails.Alipay; + export type Alma = Stripe_.Refund.DestinationDetails.Alma; + export type AmazonPay = Stripe_.Refund.DestinationDetails.AmazonPay; + export type AuBankTransfer = Stripe_.Refund.DestinationDetails.AuBankTransfer; + export type Blik = Stripe_.Refund.DestinationDetails.Blik; + export type BrBankTransfer = Stripe_.Refund.DestinationDetails.BrBankTransfer; + export type Card = Stripe_.Refund.DestinationDetails.Card; + export type Cashapp = Stripe_.Refund.DestinationDetails.Cashapp; + export type Crypto = Stripe_.Refund.DestinationDetails.Crypto; + export type CustomerCashBalance = Stripe_.Refund.DestinationDetails.CustomerCashBalance; + export type Eps = Stripe_.Refund.DestinationDetails.Eps; + export type EuBankTransfer = Stripe_.Refund.DestinationDetails.EuBankTransfer; + export type GbBankTransfer = Stripe_.Refund.DestinationDetails.GbBankTransfer; + export type Giropay = Stripe_.Refund.DestinationDetails.Giropay; + export type Grabpay = Stripe_.Refund.DestinationDetails.Grabpay; + export type JpBankTransfer = Stripe_.Refund.DestinationDetails.JpBankTransfer; + export type Klarna = Stripe_.Refund.DestinationDetails.Klarna; + export type MbWay = Stripe_.Refund.DestinationDetails.MbWay; + export type Multibanco = Stripe_.Refund.DestinationDetails.Multibanco; + export type MxBankTransfer = Stripe_.Refund.DestinationDetails.MxBankTransfer; + export type NzBankTransfer = Stripe_.Refund.DestinationDetails.NzBankTransfer; + export type P24 = Stripe_.Refund.DestinationDetails.P24; + export type Paynow = Stripe_.Refund.DestinationDetails.Paynow; + export type Paypal = Stripe_.Refund.DestinationDetails.Paypal; + export type Pix = Stripe_.Refund.DestinationDetails.Pix; + export type Revolut = Stripe_.Refund.DestinationDetails.Revolut; + export type Scalapay = Stripe_.Refund.DestinationDetails.Scalapay; + export type Sofort = Stripe_.Refund.DestinationDetails.Sofort; + export type Swish = Stripe_.Refund.DestinationDetails.Swish; + export type ThBankTransfer = Stripe_.Refund.DestinationDetails.ThBankTransfer; + export type Twint = Stripe_.Refund.DestinationDetails.Twint; + export type UsBankTransfer = Stripe_.Refund.DestinationDetails.UsBankTransfer; + export type WechatPay = Stripe_.Refund.DestinationDetails.WechatPay; + export type Zip = Stripe_.Refund.DestinationDetails.Zip; export namespace Card { - export type Type = Stripe.Refund.DestinationDetails.Card.Type; + export type Type = Stripe_.Refund.DestinationDetails.Card.Type; } } export namespace NextAction { - export type DisplayDetails = Stripe.Refund.NextAction.DisplayDetails; + export type DisplayDetails = Stripe_.Refund.NextAction.DisplayDetails; export namespace DisplayDetails { - export type EmailSent = Stripe.Refund.NextAction.DisplayDetails.EmailSent; + export type EmailSent = Stripe_.Refund.NextAction.DisplayDetails.EmailSent; } } } export namespace Review { - export type ClosedReason = Stripe.Review.ClosedReason; - export type IpAddressLocation = Stripe.Review.IpAddressLocation; - export type OpenedReason = Stripe.Review.OpenedReason; - export type Session = Stripe.Review.Session; + export type ClosedReason = Stripe_.Review.ClosedReason; + export type IpAddressLocation = Stripe_.Review.IpAddressLocation; + export type OpenedReason = Stripe_.Review.OpenedReason; + export type Session = Stripe_.Review.Session; } export namespace SetupAttempt { - export type FlowDirection = Stripe.SetupAttempt.FlowDirection; - export type PaymentMethodDetails = Stripe.SetupAttempt.PaymentMethodDetails; - export type SetupError = Stripe.SetupAttempt.SetupError; + export type FlowDirection = Stripe_.SetupAttempt.FlowDirection; + export type PaymentMethodDetails = Stripe_.SetupAttempt.PaymentMethodDetails; + export type SetupError = Stripe_.SetupAttempt.SetupError; export namespace PaymentMethodDetails { - export type AcssDebit = Stripe.SetupAttempt.PaymentMethodDetails.AcssDebit; - export type AmazonPay = Stripe.SetupAttempt.PaymentMethodDetails.AmazonPay; - export type AuBecsDebit = Stripe.SetupAttempt.PaymentMethodDetails.AuBecsDebit; - export type BacsDebit = Stripe.SetupAttempt.PaymentMethodDetails.BacsDebit; - export type Bancontact = Stripe.SetupAttempt.PaymentMethodDetails.Bancontact; - export type Boleto = Stripe.SetupAttempt.PaymentMethodDetails.Boleto; - export type Card = Stripe.SetupAttempt.PaymentMethodDetails.Card; - export type CardPresent = Stripe.SetupAttempt.PaymentMethodDetails.CardPresent; - export type Cashapp = Stripe.SetupAttempt.PaymentMethodDetails.Cashapp; - export type Ideal = Stripe.SetupAttempt.PaymentMethodDetails.Ideal; - export type KakaoPay = Stripe.SetupAttempt.PaymentMethodDetails.KakaoPay; - export type Klarna = Stripe.SetupAttempt.PaymentMethodDetails.Klarna; - export type KrCard = Stripe.SetupAttempt.PaymentMethodDetails.KrCard; - export type Link = Stripe.SetupAttempt.PaymentMethodDetails.Link; - export type NaverPay = Stripe.SetupAttempt.PaymentMethodDetails.NaverPay; - export type NzBankAccount = Stripe.SetupAttempt.PaymentMethodDetails.NzBankAccount; - export type Paypal = Stripe.SetupAttempt.PaymentMethodDetails.Paypal; - export type Payto = Stripe.SetupAttempt.PaymentMethodDetails.Payto; - export type Pix = Stripe.SetupAttempt.PaymentMethodDetails.Pix; - export type RevolutPay = Stripe.SetupAttempt.PaymentMethodDetails.RevolutPay; - export type SepaDebit = Stripe.SetupAttempt.PaymentMethodDetails.SepaDebit; - export type Sofort = Stripe.SetupAttempt.PaymentMethodDetails.Sofort; - export type Twint = Stripe.SetupAttempt.PaymentMethodDetails.Twint; - export type Upi = Stripe.SetupAttempt.PaymentMethodDetails.Upi; - export type UsBankAccount = Stripe.SetupAttempt.PaymentMethodDetails.UsBankAccount; + export type AcssDebit = Stripe_.SetupAttempt.PaymentMethodDetails.AcssDebit; + export type AmazonPay = Stripe_.SetupAttempt.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.SetupAttempt.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.SetupAttempt.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe_.SetupAttempt.PaymentMethodDetails.Bancontact; + export type Boleto = Stripe_.SetupAttempt.PaymentMethodDetails.Boleto; + export type Card = Stripe_.SetupAttempt.PaymentMethodDetails.Card; + export type CardPresent = Stripe_.SetupAttempt.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe_.SetupAttempt.PaymentMethodDetails.Cashapp; + export type Ideal = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal; + export type KakaoPay = Stripe_.SetupAttempt.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.SetupAttempt.PaymentMethodDetails.Klarna; + export type KrCard = Stripe_.SetupAttempt.PaymentMethodDetails.KrCard; + export type Link = Stripe_.SetupAttempt.PaymentMethodDetails.Link; + export type NaverPay = Stripe_.SetupAttempt.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.SetupAttempt.PaymentMethodDetails.NzBankAccount; + export type Paypal = Stripe_.SetupAttempt.PaymentMethodDetails.Paypal; + export type Payto = Stripe_.SetupAttempt.PaymentMethodDetails.Payto; + export type Pix = Stripe_.SetupAttempt.PaymentMethodDetails.Pix; + export type RevolutPay = Stripe_.SetupAttempt.PaymentMethodDetails.RevolutPay; + export type SepaDebit = Stripe_.SetupAttempt.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe_.SetupAttempt.PaymentMethodDetails.Sofort; + export type Twint = Stripe_.SetupAttempt.PaymentMethodDetails.Twint; + export type Upi = Stripe_.SetupAttempt.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.SetupAttempt.PaymentMethodDetails.UsBankAccount; export namespace Bancontact { - export type PreferredLanguage = Stripe.SetupAttempt.PaymentMethodDetails.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.SetupAttempt.PaymentMethodDetails.Bancontact.PreferredLanguage; } export namespace Card { - export type Checks = Stripe.SetupAttempt.PaymentMethodDetails.Card.Checks; - export type ThreeDSecure = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure; - export type Wallet = Stripe.SetupAttempt.PaymentMethodDetails.Card.Wallet; + export type Checks = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Checks; + export type ThreeDSecure = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet; export namespace ThreeDSecure { - export type AuthenticationFlow = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; - export type ElectronicCommerceIndicator = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type Result = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Result; - export type ResultReason = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; - export type Version = Stripe.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Version; + export type AuthenticationFlow = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type Result = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Version; } export namespace Wallet { - export type ApplePay = Stripe.SetupAttempt.PaymentMethodDetails.Card.Wallet.ApplePay; - export type GooglePay = Stripe.SetupAttempt.PaymentMethodDetails.Card.Wallet.GooglePay; - export type Type = Stripe.SetupAttempt.PaymentMethodDetails.Card.Wallet.Type; + export type ApplePay = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.GooglePay; + export type Type = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.Type; } } export namespace CardPresent { - export type Offline = Stripe.SetupAttempt.PaymentMethodDetails.CardPresent.Offline; + export type Offline = Stripe_.SetupAttempt.PaymentMethodDetails.CardPresent.Offline; } export namespace Ideal { - export type Bank = Stripe.SetupAttempt.PaymentMethodDetails.Ideal.Bank; - export type Bic = Stripe.SetupAttempt.PaymentMethodDetails.Ideal.Bic; + export type Bank = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal.Bic; } export namespace Sofort { - export type PreferredLanguage = Stripe.SetupAttempt.PaymentMethodDetails.Sofort.PreferredLanguage; + export type PreferredLanguage = Stripe_.SetupAttempt.PaymentMethodDetails.Sofort.PreferredLanguage; } } export namespace SetupError { - export type Code = Stripe.SetupAttempt.SetupError.Code; - export type Type = Stripe.SetupAttempt.SetupError.Type; + export type Code = Stripe_.SetupAttempt.SetupError.Code; + export type Type = Stripe_.SetupAttempt.SetupError.Type; } } export namespace SetupIntentCreateParams { - export type AutomaticPaymentMethods = Stripe.SetupIntentCreateParams.AutomaticPaymentMethods; - export type ExcludedPaymentMethodType = Stripe.SetupIntentCreateParams.ExcludedPaymentMethodType; - export type FlowDirection = Stripe.SetupIntentCreateParams.FlowDirection; - export type MandateData = Stripe.SetupIntentCreateParams.MandateData; - export type PaymentMethodData = Stripe.SetupIntentCreateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions; - export type SingleUse = Stripe.SetupIntentCreateParams.SingleUse; - export type Usage = Stripe.SetupIntentCreateParams.Usage; + export type AutomaticPaymentMethods = Stripe_.SetupIntentCreateParams.AutomaticPaymentMethods; + export type ExcludedPaymentMethodType = Stripe_.SetupIntentCreateParams.ExcludedPaymentMethodType; + export type FlowDirection = Stripe_.SetupIntentCreateParams.FlowDirection; + export type MandateData = Stripe_.SetupIntentCreateParams.MandateData; + export type PaymentMethodData = Stripe_.SetupIntentCreateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions; + export type SingleUse = Stripe_.SetupIntentCreateParams.SingleUse; + export type Usage = Stripe_.SetupIntentCreateParams.Usage; export namespace AutomaticPaymentMethods { - export type AllowRedirects = Stripe.SetupIntentCreateParams.AutomaticPaymentMethods.AllowRedirects; + export type AllowRedirects = Stripe_.SetupIntentCreateParams.AutomaticPaymentMethods.AllowRedirects; } export namespace MandateData { - export type CustomerAcceptance = Stripe.SetupIntentCreateParams.MandateData.CustomerAcceptance; + export type CustomerAcceptance = Stripe_.SetupIntentCreateParams.MandateData.CustomerAcceptance; export namespace CustomerAcceptance { - export type Offline = Stripe.SetupIntentCreateParams.MandateData.CustomerAcceptance.Offline; - export type Online = Stripe.SetupIntentCreateParams.MandateData.CustomerAcceptance.Online; - export type Type = Stripe.SetupIntentCreateParams.MandateData.CustomerAcceptance.Type; + export type Offline = Stripe_.SetupIntentCreateParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe_.SetupIntentCreateParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe_.SetupIntentCreateParams.MandateData.CustomerAcceptance.Type; } } export namespace PaymentMethodData { - export type AcssDebit = Stripe.SetupIntentCreateParams.PaymentMethodData.AcssDebit; - export type Affirm = Stripe.SetupIntentCreateParams.PaymentMethodData.Affirm; - export type AfterpayClearpay = Stripe.SetupIntentCreateParams.PaymentMethodData.AfterpayClearpay; - export type Alipay = Stripe.SetupIntentCreateParams.PaymentMethodData.Alipay; - export type AllowRedisplay = Stripe.SetupIntentCreateParams.PaymentMethodData.AllowRedisplay; - export type Alma = Stripe.SetupIntentCreateParams.PaymentMethodData.Alma; - export type AmazonPay = Stripe.SetupIntentCreateParams.PaymentMethodData.AmazonPay; - export type AuBecsDebit = Stripe.SetupIntentCreateParams.PaymentMethodData.AuBecsDebit; - export type BacsDebit = Stripe.SetupIntentCreateParams.PaymentMethodData.BacsDebit; - export type Bancontact = Stripe.SetupIntentCreateParams.PaymentMethodData.Bancontact; - export type Billie = Stripe.SetupIntentCreateParams.PaymentMethodData.Billie; - export type BillingDetails = Stripe.SetupIntentCreateParams.PaymentMethodData.BillingDetails; - export type Bizum = Stripe.SetupIntentCreateParams.PaymentMethodData.Bizum; - export type Blik = Stripe.SetupIntentCreateParams.PaymentMethodData.Blik; - export type Boleto = Stripe.SetupIntentCreateParams.PaymentMethodData.Boleto; - export type Cashapp = Stripe.SetupIntentCreateParams.PaymentMethodData.Cashapp; - export type Crypto = Stripe.SetupIntentCreateParams.PaymentMethodData.Crypto; - export type CustomerBalance = Stripe.SetupIntentCreateParams.PaymentMethodData.CustomerBalance; - export type Eps = Stripe.SetupIntentCreateParams.PaymentMethodData.Eps; - export type Fpx = Stripe.SetupIntentCreateParams.PaymentMethodData.Fpx; - export type Giropay = Stripe.SetupIntentCreateParams.PaymentMethodData.Giropay; - export type Grabpay = Stripe.SetupIntentCreateParams.PaymentMethodData.Grabpay; - export type Ideal = Stripe.SetupIntentCreateParams.PaymentMethodData.Ideal; - export type InteracPresent = Stripe.SetupIntentCreateParams.PaymentMethodData.InteracPresent; - export type KakaoPay = Stripe.SetupIntentCreateParams.PaymentMethodData.KakaoPay; - export type Klarna = Stripe.SetupIntentCreateParams.PaymentMethodData.Klarna; - export type Konbini = Stripe.SetupIntentCreateParams.PaymentMethodData.Konbini; - export type KrCard = Stripe.SetupIntentCreateParams.PaymentMethodData.KrCard; - export type Link = Stripe.SetupIntentCreateParams.PaymentMethodData.Link; - export type MbWay = Stripe.SetupIntentCreateParams.PaymentMethodData.MbWay; - export type Mobilepay = Stripe.SetupIntentCreateParams.PaymentMethodData.Mobilepay; - export type Multibanco = Stripe.SetupIntentCreateParams.PaymentMethodData.Multibanco; - export type NaverPay = Stripe.SetupIntentCreateParams.PaymentMethodData.NaverPay; - export type NzBankAccount = Stripe.SetupIntentCreateParams.PaymentMethodData.NzBankAccount; - export type Oxxo = Stripe.SetupIntentCreateParams.PaymentMethodData.Oxxo; - export type P24 = Stripe.SetupIntentCreateParams.PaymentMethodData.P24; - export type PayByBank = Stripe.SetupIntentCreateParams.PaymentMethodData.PayByBank; - export type Payco = Stripe.SetupIntentCreateParams.PaymentMethodData.Payco; - export type Paynow = Stripe.SetupIntentCreateParams.PaymentMethodData.Paynow; - export type Paypal = Stripe.SetupIntentCreateParams.PaymentMethodData.Paypal; - export type Payto = Stripe.SetupIntentCreateParams.PaymentMethodData.Payto; - export type Pix = Stripe.SetupIntentCreateParams.PaymentMethodData.Pix; - export type Promptpay = Stripe.SetupIntentCreateParams.PaymentMethodData.Promptpay; - export type RadarOptions = Stripe.SetupIntentCreateParams.PaymentMethodData.RadarOptions; - export type RevolutPay = Stripe.SetupIntentCreateParams.PaymentMethodData.RevolutPay; - export type SamsungPay = Stripe.SetupIntentCreateParams.PaymentMethodData.SamsungPay; - export type Satispay = Stripe.SetupIntentCreateParams.PaymentMethodData.Satispay; - export type Scalapay = Stripe.SetupIntentCreateParams.PaymentMethodData.Scalapay; - export type SepaDebit = Stripe.SetupIntentCreateParams.PaymentMethodData.SepaDebit; - export type Sofort = Stripe.SetupIntentCreateParams.PaymentMethodData.Sofort; - export type Sunbit = Stripe.SetupIntentCreateParams.PaymentMethodData.Sunbit; - export type Swish = Stripe.SetupIntentCreateParams.PaymentMethodData.Swish; - export type Twint = Stripe.SetupIntentCreateParams.PaymentMethodData.Twint; - export type Type = Stripe.SetupIntentCreateParams.PaymentMethodData.Type; - export type Upi = Stripe.SetupIntentCreateParams.PaymentMethodData.Upi; - export type UsBankAccount = Stripe.SetupIntentCreateParams.PaymentMethodData.UsBankAccount; - export type WechatPay = Stripe.SetupIntentCreateParams.PaymentMethodData.WechatPay; - export type Zip = Stripe.SetupIntentCreateParams.PaymentMethodData.Zip; + export type AcssDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.SetupIntentCreateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.SetupIntentCreateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.SetupIntentCreateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.SetupIntentCreateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.SetupIntentCreateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.SetupIntentCreateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.SetupIntentCreateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.SetupIntentCreateParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.SetupIntentCreateParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.SetupIntentCreateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.SetupIntentCreateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.SetupIntentCreateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.SetupIntentCreateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.SetupIntentCreateParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.SetupIntentCreateParams.PaymentMethodData.Fpx; + export type Giropay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe_.SetupIntentCreateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.SetupIntentCreateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.SetupIntentCreateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.SetupIntentCreateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.SetupIntentCreateParams.PaymentMethodData.KrCard; + export type Link = Stripe_.SetupIntentCreateParams.PaymentMethodData.Link; + export type MbWay = Stripe_.SetupIntentCreateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.SetupIntentCreateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.SetupIntentCreateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.SetupIntentCreateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.SetupIntentCreateParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.SetupIntentCreateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.SetupIntentCreateParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.SetupIntentCreateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.SetupIntentCreateParams.PaymentMethodData.Paypal; + export type Payto = Stripe_.SetupIntentCreateParams.PaymentMethodData.Payto; + export type Pix = Stripe_.SetupIntentCreateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe_.SetupIntentCreateParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.SetupIntentCreateParams.PaymentMethodData.Swish; + export type Twint = Stripe_.SetupIntentCreateParams.PaymentMethodData.Twint; + export type Type = Stripe_.SetupIntentCreateParams.PaymentMethodData.Type; + export type Upi = Stripe_.SetupIntentCreateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.SetupIntentCreateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.SetupIntentCreateParams.PaymentMethodData.Zip; export namespace Eps { - export type Bank = Stripe.SetupIntentCreateParams.PaymentMethodData.Eps.Bank; + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.SetupIntentCreateParams.PaymentMethodData.Fpx.AccountHolderType; - export type Bank = Stripe.SetupIntentCreateParams.PaymentMethodData.Fpx.Bank; + export type AccountHolderType = Stripe_.SetupIntentCreateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.SetupIntentCreateParams.PaymentMethodData.Ideal.Bank; + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.Ideal.Bank; } export namespace Klarna { - export type Dob = Stripe.SetupIntentCreateParams.PaymentMethodData.Klarna.Dob; + export type Dob = Stripe_.SetupIntentCreateParams.PaymentMethodData.Klarna.Dob; } export namespace NaverPay { - export type Funding = Stripe.SetupIntentCreateParams.PaymentMethodData.NaverPay.Funding; + export type Funding = Stripe_.SetupIntentCreateParams.PaymentMethodData.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.SetupIntentCreateParams.PaymentMethodData.P24.Bank; + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.P24.Bank; } export namespace Sofort { - export type Country = Stripe.SetupIntentCreateParams.PaymentMethodData.Sofort.Country; + export type Country = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sofort.Country; } export namespace Upi { - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodData.Upi.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodData.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodData.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type AccountHolderType = Stripe.SetupIntentCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.SetupIntentCreateParams.PaymentMethodData.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.SetupIntentCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.SetupIntentCreateParams.PaymentMethodData.UsBankAccount.AccountType; } } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit; - export type AmazonPay = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AmazonPay; - export type BacsDebit = Stripe.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit; - export type Bizum = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Bizum; - export type Card = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card; - export type CardPresent = Stripe.SetupIntentCreateParams.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna; - export type Link = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Link; - export type Paypal = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Paypal; - export type Payto = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto; - export type Pix = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.SetupIntentCreateParams.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Bizum; + export type Card = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna; + export type Link = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Link; + export type Paypal = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type Currency = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.Currency; - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type Currency = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type DefaultFor = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; - export type PaymentSchedule = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type DefaultFor = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace BacsDebit { - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; } export namespace Card { - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.Network; - export type RequestThreeDSecure = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; - export type ThreeDSecure = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; - export type Interval = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; } export namespace ThreeDSecure { - export type AresTransStatus = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; - export type ElectronicCommerceIndicator = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type NetworkOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; - export type Version = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export type AresTransStatus = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; export namespace NetworkOptions { - export type CartesBancaires = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export type CartesBancaires = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; export namespace CartesBancaires { - export type CbAvalgo = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + export type CbAvalgo = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; } } } } export namespace Klarna { - export type OnDemand = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand; - export type PreferredLocale = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.PreferredLocale; - export type Subscription = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription; + export type OnDemand = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription; export namespace OnDemand { - export type PurchaseInterval = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + export type PurchaseInterval = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; } export namespace Subscription { - export type Interval = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; - export type NextBilling = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + export type Interval = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; } } export namespace Payto { - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace SepaDebit { - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; } export namespace Upi { - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions; - export type SetupFutureUsage = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type MandateOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; - export type Networks = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks; - export type VerificationMethod = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } export namespace Networks { - export type Requested = Stripe.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + export type Requested = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; } } } } export namespace SetupIntentUpdateParams { - export type ExcludedPaymentMethodType = Stripe.SetupIntentUpdateParams.ExcludedPaymentMethodType; - export type FlowDirection = Stripe.SetupIntentUpdateParams.FlowDirection; - export type PaymentMethodData = Stripe.SetupIntentUpdateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions; + export type ExcludedPaymentMethodType = Stripe_.SetupIntentUpdateParams.ExcludedPaymentMethodType; + export type FlowDirection = Stripe_.SetupIntentUpdateParams.FlowDirection; + export type PaymentMethodData = Stripe_.SetupIntentUpdateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions; export namespace PaymentMethodData { - export type AcssDebit = Stripe.SetupIntentUpdateParams.PaymentMethodData.AcssDebit; - export type Affirm = Stripe.SetupIntentUpdateParams.PaymentMethodData.Affirm; - export type AfterpayClearpay = Stripe.SetupIntentUpdateParams.PaymentMethodData.AfterpayClearpay; - export type Alipay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Alipay; - export type AllowRedisplay = Stripe.SetupIntentUpdateParams.PaymentMethodData.AllowRedisplay; - export type Alma = Stripe.SetupIntentUpdateParams.PaymentMethodData.Alma; - export type AmazonPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.AmazonPay; - export type AuBecsDebit = Stripe.SetupIntentUpdateParams.PaymentMethodData.AuBecsDebit; - export type BacsDebit = Stripe.SetupIntentUpdateParams.PaymentMethodData.BacsDebit; - export type Bancontact = Stripe.SetupIntentUpdateParams.PaymentMethodData.Bancontact; - export type Billie = Stripe.SetupIntentUpdateParams.PaymentMethodData.Billie; - export type BillingDetails = Stripe.SetupIntentUpdateParams.PaymentMethodData.BillingDetails; - export type Bizum = Stripe.SetupIntentUpdateParams.PaymentMethodData.Bizum; - export type Blik = Stripe.SetupIntentUpdateParams.PaymentMethodData.Blik; - export type Boleto = Stripe.SetupIntentUpdateParams.PaymentMethodData.Boleto; - export type Cashapp = Stripe.SetupIntentUpdateParams.PaymentMethodData.Cashapp; - export type Crypto = Stripe.SetupIntentUpdateParams.PaymentMethodData.Crypto; - export type CustomerBalance = Stripe.SetupIntentUpdateParams.PaymentMethodData.CustomerBalance; - export type Eps = Stripe.SetupIntentUpdateParams.PaymentMethodData.Eps; - export type Fpx = Stripe.SetupIntentUpdateParams.PaymentMethodData.Fpx; - export type Giropay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Giropay; - export type Grabpay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Grabpay; - export type Ideal = Stripe.SetupIntentUpdateParams.PaymentMethodData.Ideal; - export type InteracPresent = Stripe.SetupIntentUpdateParams.PaymentMethodData.InteracPresent; - export type KakaoPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.KakaoPay; - export type Klarna = Stripe.SetupIntentUpdateParams.PaymentMethodData.Klarna; - export type Konbini = Stripe.SetupIntentUpdateParams.PaymentMethodData.Konbini; - export type KrCard = Stripe.SetupIntentUpdateParams.PaymentMethodData.KrCard; - export type Link = Stripe.SetupIntentUpdateParams.PaymentMethodData.Link; - export type MbWay = Stripe.SetupIntentUpdateParams.PaymentMethodData.MbWay; - export type Mobilepay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Mobilepay; - export type Multibanco = Stripe.SetupIntentUpdateParams.PaymentMethodData.Multibanco; - export type NaverPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.NaverPay; - export type NzBankAccount = Stripe.SetupIntentUpdateParams.PaymentMethodData.NzBankAccount; - export type Oxxo = Stripe.SetupIntentUpdateParams.PaymentMethodData.Oxxo; - export type P24 = Stripe.SetupIntentUpdateParams.PaymentMethodData.P24; - export type PayByBank = Stripe.SetupIntentUpdateParams.PaymentMethodData.PayByBank; - export type Payco = Stripe.SetupIntentUpdateParams.PaymentMethodData.Payco; - export type Paynow = Stripe.SetupIntentUpdateParams.PaymentMethodData.Paynow; - export type Paypal = Stripe.SetupIntentUpdateParams.PaymentMethodData.Paypal; - export type Payto = Stripe.SetupIntentUpdateParams.PaymentMethodData.Payto; - export type Pix = Stripe.SetupIntentUpdateParams.PaymentMethodData.Pix; - export type Promptpay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Promptpay; - export type RadarOptions = Stripe.SetupIntentUpdateParams.PaymentMethodData.RadarOptions; - export type RevolutPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.RevolutPay; - export type SamsungPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.SamsungPay; - export type Satispay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Satispay; - export type Scalapay = Stripe.SetupIntentUpdateParams.PaymentMethodData.Scalapay; - export type SepaDebit = Stripe.SetupIntentUpdateParams.PaymentMethodData.SepaDebit; - export type Sofort = Stripe.SetupIntentUpdateParams.PaymentMethodData.Sofort; - export type Sunbit = Stripe.SetupIntentUpdateParams.PaymentMethodData.Sunbit; - export type Swish = Stripe.SetupIntentUpdateParams.PaymentMethodData.Swish; - export type Twint = Stripe.SetupIntentUpdateParams.PaymentMethodData.Twint; - export type Type = Stripe.SetupIntentUpdateParams.PaymentMethodData.Type; - export type Upi = Stripe.SetupIntentUpdateParams.PaymentMethodData.Upi; - export type UsBankAccount = Stripe.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount; - export type WechatPay = Stripe.SetupIntentUpdateParams.PaymentMethodData.WechatPay; - export type Zip = Stripe.SetupIntentUpdateParams.PaymentMethodData.Zip; + export type AcssDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.SetupIntentUpdateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.SetupIntentUpdateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Fpx; + export type Giropay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.SetupIntentUpdateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.SetupIntentUpdateParams.PaymentMethodData.KrCard; + export type Link = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Link; + export type MbWay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.SetupIntentUpdateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.SetupIntentUpdateParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Paypal; + export type Payto = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Payto; + export type Pix = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Swish; + export type Twint = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Twint; + export type Type = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Type; + export type Upi = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Zip; export namespace Eps { - export type Bank = Stripe.SetupIntentUpdateParams.PaymentMethodData.Eps.Bank; + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.SetupIntentUpdateParams.PaymentMethodData.Fpx.AccountHolderType; - export type Bank = Stripe.SetupIntentUpdateParams.PaymentMethodData.Fpx.Bank; + export type AccountHolderType = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.SetupIntentUpdateParams.PaymentMethodData.Ideal.Bank; + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Ideal.Bank; } export namespace Klarna { - export type Dob = Stripe.SetupIntentUpdateParams.PaymentMethodData.Klarna.Dob; + export type Dob = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Klarna.Dob; } export namespace NaverPay { - export type Funding = Stripe.SetupIntentUpdateParams.PaymentMethodData.NaverPay.Funding; + export type Funding = Stripe_.SetupIntentUpdateParams.PaymentMethodData.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.SetupIntentUpdateParams.PaymentMethodData.P24.Bank; + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.P24.Bank; } export namespace Sofort { - export type Country = Stripe.SetupIntentUpdateParams.PaymentMethodData.Sofort.Country; + export type Country = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sofort.Country; } export namespace Upi { - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodData.Upi.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type AccountHolderType = Stripe.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountType; } } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit; - export type AmazonPay = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AmazonPay; - export type BacsDebit = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit; - export type Bizum = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Bizum; - export type Card = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card; - export type CardPresent = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna; - export type Link = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Link; - export type Paypal = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Paypal; - export type Payto = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto; - export type Pix = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Bizum; + export type Card = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna; + export type Link = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Link; + export type Paypal = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type Currency = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.Currency; - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type Currency = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type DefaultFor = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; - export type PaymentSchedule = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type DefaultFor = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace BacsDebit { - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions; } export namespace Card { - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.Network; - export type RequestThreeDSecure = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure; - export type ThreeDSecure = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; - export type Interval = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.Interval; } export namespace ThreeDSecure { - export type AresTransStatus = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; - export type ElectronicCommerceIndicator = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type NetworkOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; - export type Version = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export type AresTransStatus = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; export namespace NetworkOptions { - export type CartesBancaires = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export type CartesBancaires = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; export namespace CartesBancaires { - export type CbAvalgo = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + export type CbAvalgo = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; } } } } export namespace Klarna { - export type OnDemand = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand; - export type PreferredLocale = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.PreferredLocale; - export type Subscription = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription; + export type OnDemand = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription; export namespace OnDemand { - export type PurchaseInterval = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + export type PurchaseInterval = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; } export namespace Subscription { - export type Interval = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.Interval; - export type NextBilling = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + export type Interval = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; } } export namespace Payto { - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace SepaDebit { - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; } export namespace Upi { - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions; - export type SetupFutureUsage = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Upi.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type MandateOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; - export type Networks = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks; - export type VerificationMethod = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } export namespace Networks { - export type Requested = Stripe.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + export type Requested = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; } } } } export namespace SetupIntentCancelParams { - export type CancellationReason = Stripe.SetupIntentCancelParams.CancellationReason; + export type CancellationReason = Stripe_.SetupIntentCancelParams.CancellationReason; } export namespace SetupIntentConfirmParams { - export type MandateData = Stripe.SetupIntentConfirmParams.MandateData; - export type PaymentMethodData = Stripe.SetupIntentConfirmParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions; + export type MandateData = Stripe_.SetupIntentConfirmParams.MandateData; + export type PaymentMethodData = Stripe_.SetupIntentConfirmParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions; export namespace MandateData { - export type CustomerAcceptance = Stripe.SetupIntentConfirmParams.MandateData.CustomerAcceptance; + export type CustomerAcceptance = Stripe_.SetupIntentConfirmParams.MandateData.CustomerAcceptance; export namespace CustomerAcceptance { - export type Offline = Stripe.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Offline; - export type Online = Stripe.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Online; - export type Type = Stripe.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Type; + export type Offline = Stripe_.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe_.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe_.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Type; } } export namespace PaymentMethodData { - export type AcssDebit = Stripe.SetupIntentConfirmParams.PaymentMethodData.AcssDebit; - export type Affirm = Stripe.SetupIntentConfirmParams.PaymentMethodData.Affirm; - export type AfterpayClearpay = Stripe.SetupIntentConfirmParams.PaymentMethodData.AfterpayClearpay; - export type Alipay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Alipay; - export type AllowRedisplay = Stripe.SetupIntentConfirmParams.PaymentMethodData.AllowRedisplay; - export type Alma = Stripe.SetupIntentConfirmParams.PaymentMethodData.Alma; - export type AmazonPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.AmazonPay; - export type AuBecsDebit = Stripe.SetupIntentConfirmParams.PaymentMethodData.AuBecsDebit; - export type BacsDebit = Stripe.SetupIntentConfirmParams.PaymentMethodData.BacsDebit; - export type Bancontact = Stripe.SetupIntentConfirmParams.PaymentMethodData.Bancontact; - export type Billie = Stripe.SetupIntentConfirmParams.PaymentMethodData.Billie; - export type BillingDetails = Stripe.SetupIntentConfirmParams.PaymentMethodData.BillingDetails; - export type Bizum = Stripe.SetupIntentConfirmParams.PaymentMethodData.Bizum; - export type Blik = Stripe.SetupIntentConfirmParams.PaymentMethodData.Blik; - export type Boleto = Stripe.SetupIntentConfirmParams.PaymentMethodData.Boleto; - export type Cashapp = Stripe.SetupIntentConfirmParams.PaymentMethodData.Cashapp; - export type Crypto = Stripe.SetupIntentConfirmParams.PaymentMethodData.Crypto; - export type CustomerBalance = Stripe.SetupIntentConfirmParams.PaymentMethodData.CustomerBalance; - export type Eps = Stripe.SetupIntentConfirmParams.PaymentMethodData.Eps; - export type Fpx = Stripe.SetupIntentConfirmParams.PaymentMethodData.Fpx; - export type Giropay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Giropay; - export type Grabpay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Grabpay; - export type Ideal = Stripe.SetupIntentConfirmParams.PaymentMethodData.Ideal; - export type InteracPresent = Stripe.SetupIntentConfirmParams.PaymentMethodData.InteracPresent; - export type KakaoPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.KakaoPay; - export type Klarna = Stripe.SetupIntentConfirmParams.PaymentMethodData.Klarna; - export type Konbini = Stripe.SetupIntentConfirmParams.PaymentMethodData.Konbini; - export type KrCard = Stripe.SetupIntentConfirmParams.PaymentMethodData.KrCard; - export type Link = Stripe.SetupIntentConfirmParams.PaymentMethodData.Link; - export type MbWay = Stripe.SetupIntentConfirmParams.PaymentMethodData.MbWay; - export type Mobilepay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Mobilepay; - export type Multibanco = Stripe.SetupIntentConfirmParams.PaymentMethodData.Multibanco; - export type NaverPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.NaverPay; - export type NzBankAccount = Stripe.SetupIntentConfirmParams.PaymentMethodData.NzBankAccount; - export type Oxxo = Stripe.SetupIntentConfirmParams.PaymentMethodData.Oxxo; - export type P24 = Stripe.SetupIntentConfirmParams.PaymentMethodData.P24; - export type PayByBank = Stripe.SetupIntentConfirmParams.PaymentMethodData.PayByBank; - export type Payco = Stripe.SetupIntentConfirmParams.PaymentMethodData.Payco; - export type Paynow = Stripe.SetupIntentConfirmParams.PaymentMethodData.Paynow; - export type Paypal = Stripe.SetupIntentConfirmParams.PaymentMethodData.Paypal; - export type Payto = Stripe.SetupIntentConfirmParams.PaymentMethodData.Payto; - export type Pix = Stripe.SetupIntentConfirmParams.PaymentMethodData.Pix; - export type Promptpay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Promptpay; - export type RadarOptions = Stripe.SetupIntentConfirmParams.PaymentMethodData.RadarOptions; - export type RevolutPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.RevolutPay; - export type SamsungPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.SamsungPay; - export type Satispay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Satispay; - export type Scalapay = Stripe.SetupIntentConfirmParams.PaymentMethodData.Scalapay; - export type SepaDebit = Stripe.SetupIntentConfirmParams.PaymentMethodData.SepaDebit; - export type Sofort = Stripe.SetupIntentConfirmParams.PaymentMethodData.Sofort; - export type Sunbit = Stripe.SetupIntentConfirmParams.PaymentMethodData.Sunbit; - export type Swish = Stripe.SetupIntentConfirmParams.PaymentMethodData.Swish; - export type Twint = Stripe.SetupIntentConfirmParams.PaymentMethodData.Twint; - export type Type = Stripe.SetupIntentConfirmParams.PaymentMethodData.Type; - export type Upi = Stripe.SetupIntentConfirmParams.PaymentMethodData.Upi; - export type UsBankAccount = Stripe.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount; - export type WechatPay = Stripe.SetupIntentConfirmParams.PaymentMethodData.WechatPay; - export type Zip = Stripe.SetupIntentConfirmParams.PaymentMethodData.Zip; + export type AcssDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.SetupIntentConfirmParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.SetupIntentConfirmParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Fpx; + export type Giropay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Giropay; + export type Grabpay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Grabpay; + export type Ideal = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.SetupIntentConfirmParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.SetupIntentConfirmParams.PaymentMethodData.KrCard; + export type Link = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Link; + export type MbWay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.SetupIntentConfirmParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.SetupIntentConfirmParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Paypal; + export type Payto = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Payto; + export type Pix = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Promptpay; + export type RadarOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodData.RadarOptions; + export type RevolutPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.SepaDebit; + export type Sofort = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sofort; + export type Sunbit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Swish; + export type Twint = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Twint; + export type Type = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Type; + export type Upi = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Zip; export namespace Eps { - export type Bank = Stripe.SetupIntentConfirmParams.PaymentMethodData.Eps.Bank; + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Eps.Bank; } export namespace Fpx { - export type AccountHolderType = Stripe.SetupIntentConfirmParams.PaymentMethodData.Fpx.AccountHolderType; - export type Bank = Stripe.SetupIntentConfirmParams.PaymentMethodData.Fpx.Bank; + export type AccountHolderType = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Fpx.Bank; } export namespace Ideal { - export type Bank = Stripe.SetupIntentConfirmParams.PaymentMethodData.Ideal.Bank; + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Ideal.Bank; } export namespace Klarna { - export type Dob = Stripe.SetupIntentConfirmParams.PaymentMethodData.Klarna.Dob; + export type Dob = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Klarna.Dob; } export namespace NaverPay { - export type Funding = Stripe.SetupIntentConfirmParams.PaymentMethodData.NaverPay.Funding; + export type Funding = Stripe_.SetupIntentConfirmParams.PaymentMethodData.NaverPay.Funding; } export namespace P24 { - export type Bank = Stripe.SetupIntentConfirmParams.PaymentMethodData.P24.Bank; + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.P24.Bank; } export namespace Sofort { - export type Country = Stripe.SetupIntentConfirmParams.PaymentMethodData.Sofort.Country; + export type Country = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sofort.Country; } export namespace Upi { - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodData.Upi.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodData.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type AccountHolderType = Stripe.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountType; } } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit; - export type AmazonPay = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AmazonPay; - export type BacsDebit = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit; - export type Bizum = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Bizum; - export type Card = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card; - export type CardPresent = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna; - export type Link = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Link; - export type Paypal = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Paypal; - export type Payto = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto; - export type Pix = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Bizum; + export type Card = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna; + export type Link = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Link; + export type Paypal = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type Currency = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.Currency; - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type Currency = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type DefaultFor = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; - export type PaymentSchedule = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type DefaultFor = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace BacsDebit { - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions; } export namespace Card { - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.Network; - export type RequestThreeDSecure = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.RequestThreeDSecure; - export type ThreeDSecure = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.AmountType; - export type Interval = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.Interval; + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.Interval; } export namespace ThreeDSecure { - export type AresTransStatus = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; - export type ElectronicCommerceIndicator = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type NetworkOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; - export type Version = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export type AresTransStatus = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version; export namespace NetworkOptions { - export type CartesBancaires = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export type CartesBancaires = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; export namespace CartesBancaires { - export type CbAvalgo = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + export type CbAvalgo = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; } } } } export namespace Klarna { - export type OnDemand = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand; - export type PreferredLocale = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.PreferredLocale; - export type Subscription = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription; + export type OnDemand = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription; export namespace OnDemand { - export type PurchaseInterval = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + export type PurchaseInterval = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; } export namespace Subscription { - export type Interval = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.Interval; - export type NextBilling = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + export type Interval = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; } } export namespace Payto { - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace SepaDebit { - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; } export namespace Upi { - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions; - export type SetupFutureUsage = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Upi.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type MandateOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.MandateOptions; - export type Networks = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks; - export type VerificationMethod = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } export namespace Networks { - export type Requested = Stripe.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + export type Requested = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; } } } } export namespace SetupIntent { - export type AutomaticPaymentMethods = Stripe.SetupIntent.AutomaticPaymentMethods; - export type CancellationReason = Stripe.SetupIntent.CancellationReason; - export type ExcludedPaymentMethodType = Stripe.SetupIntent.ExcludedPaymentMethodType; - export type FlowDirection = Stripe.SetupIntent.FlowDirection; - export type LastSetupError = Stripe.SetupIntent.LastSetupError; - export type ManagedPayments = Stripe.SetupIntent.ManagedPayments; - export type NextAction = Stripe.SetupIntent.NextAction; - export type PaymentMethodConfigurationDetails = Stripe.SetupIntent.PaymentMethodConfigurationDetails; - export type PaymentMethodOptions = Stripe.SetupIntent.PaymentMethodOptions; - export type Status = Stripe.SetupIntent.Status; + export type AutomaticPaymentMethods = Stripe_.SetupIntent.AutomaticPaymentMethods; + export type CancellationReason = Stripe_.SetupIntent.CancellationReason; + export type ExcludedPaymentMethodType = Stripe_.SetupIntent.ExcludedPaymentMethodType; + export type FlowDirection = Stripe_.SetupIntent.FlowDirection; + export type LastSetupError = Stripe_.SetupIntent.LastSetupError; + export type ManagedPayments = Stripe_.SetupIntent.ManagedPayments; + export type NextAction = Stripe_.SetupIntent.NextAction; + export type PaymentMethodConfigurationDetails = Stripe_.SetupIntent.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe_.SetupIntent.PaymentMethodOptions; + export type Status = Stripe_.SetupIntent.Status; export namespace AutomaticPaymentMethods { - export type AllowRedirects = Stripe.SetupIntent.AutomaticPaymentMethods.AllowRedirects; + export type AllowRedirects = Stripe_.SetupIntent.AutomaticPaymentMethods.AllowRedirects; } export namespace LastSetupError { - export type Code = Stripe.SetupIntent.LastSetupError.Code; - export type Type = Stripe.SetupIntent.LastSetupError.Type; + export type Code = Stripe_.SetupIntent.LastSetupError.Code; + export type Type = Stripe_.SetupIntent.LastSetupError.Type; } export namespace NextAction { - export type BlikAuthorize = Stripe.SetupIntent.NextAction.BlikAuthorize; - export type CashappHandleRedirectOrDisplayQrCode = Stripe.SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode; - export type PixDisplayQrCode = Stripe.SetupIntent.NextAction.PixDisplayQrCode; - export type RedirectToUrl = Stripe.SetupIntent.NextAction.RedirectToUrl; - export type UpiHandleRedirectOrDisplayQrCode = Stripe.SetupIntent.NextAction.UpiHandleRedirectOrDisplayQrCode; - export type UseStripeSdk = Stripe.SetupIntent.NextAction.UseStripeSdk; - export type VerifyWithMicrodeposits = Stripe.SetupIntent.NextAction.VerifyWithMicrodeposits; + export type BlikAuthorize = Stripe_.SetupIntent.NextAction.BlikAuthorize; + export type CashappHandleRedirectOrDisplayQrCode = Stripe_.SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode; + export type PixDisplayQrCode = Stripe_.SetupIntent.NextAction.PixDisplayQrCode; + export type RedirectToUrl = Stripe_.SetupIntent.NextAction.RedirectToUrl; + export type UpiHandleRedirectOrDisplayQrCode = Stripe_.SetupIntent.NextAction.UpiHandleRedirectOrDisplayQrCode; + export type UseStripeSdk = Stripe_.SetupIntent.NextAction.UseStripeSdk; + export type VerifyWithMicrodeposits = Stripe_.SetupIntent.NextAction.VerifyWithMicrodeposits; export namespace CashappHandleRedirectOrDisplayQrCode { - export type QrCode = Stripe.SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode; + export type QrCode = Stripe_.SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode; } export namespace UpiHandleRedirectOrDisplayQrCode { - export type QrCode = Stripe.SetupIntent.NextAction.UpiHandleRedirectOrDisplayQrCode.QrCode; + export type QrCode = Stripe_.SetupIntent.NextAction.UpiHandleRedirectOrDisplayQrCode.QrCode; } export namespace VerifyWithMicrodeposits { - export type MicrodepositType = Stripe.SetupIntent.NextAction.VerifyWithMicrodeposits.MicrodepositType; + export type MicrodepositType = Stripe_.SetupIntent.NextAction.VerifyWithMicrodeposits.MicrodepositType; } } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit; - export type AmazonPay = Stripe.SetupIntent.PaymentMethodOptions.AmazonPay; - export type BacsDebit = Stripe.SetupIntent.PaymentMethodOptions.BacsDebit; - export type Bizum = Stripe.SetupIntent.PaymentMethodOptions.Bizum; - export type Card = Stripe.SetupIntent.PaymentMethodOptions.Card; - export type CardPresent = Stripe.SetupIntent.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.SetupIntent.PaymentMethodOptions.Klarna; - export type Link = Stripe.SetupIntent.PaymentMethodOptions.Link; - export type Paypal = Stripe.SetupIntent.PaymentMethodOptions.Paypal; - export type Payto = Stripe.SetupIntent.PaymentMethodOptions.Payto; - export type Pix = Stripe.SetupIntent.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.SetupIntent.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.SetupIntent.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe_.SetupIntent.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe_.SetupIntent.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe_.SetupIntent.PaymentMethodOptions.Bizum; + export type Card = Stripe_.SetupIntent.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.SetupIntent.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.SetupIntent.PaymentMethodOptions.Klarna; + export type Link = Stripe_.SetupIntent.PaymentMethodOptions.Link; + export type Paypal = Stripe_.SetupIntent.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.SetupIntent.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SetupIntent.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SetupIntent.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.SetupIntent.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type Currency = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.Currency; - export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type Currency = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type DefaultFor = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; - export type PaymentSchedule = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type DefaultFor = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace BacsDebit { - export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions; } export namespace Card { - export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.SetupIntent.PaymentMethodOptions.Card.Network; - export type RequestThreeDSecure = Stripe.SetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SetupIntent.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntent.PaymentMethodOptions.Card.MandateOptions.AmountType; - export type Interval = Stripe.SetupIntent.PaymentMethodOptions.Card.MandateOptions.Interval; + export type AmountType = Stripe_.SetupIntent.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.SetupIntent.PaymentMethodOptions.Card.MandateOptions.Interval; } } export namespace Payto { - export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.Pix.MandateOptions; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.Pix.MandateOptions; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace SepaDebit { - export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions; } export namespace Upi { - export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.Upi.MandateOptions; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SetupIntent.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SetupIntent.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type MandateOptions = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.MandateOptions; - export type VerificationMethod = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } } } export namespace ShippingRateCreateParams { - export type DeliveryEstimate = Stripe.ShippingRateCreateParams.DeliveryEstimate; - export type FixedAmount = Stripe.ShippingRateCreateParams.FixedAmount; - export type TaxBehavior = Stripe.ShippingRateCreateParams.TaxBehavior; + export type DeliveryEstimate = Stripe_.ShippingRateCreateParams.DeliveryEstimate; + export type FixedAmount = Stripe_.ShippingRateCreateParams.FixedAmount; + export type TaxBehavior = Stripe_.ShippingRateCreateParams.TaxBehavior; export namespace DeliveryEstimate { - export type Maximum = Stripe.ShippingRateCreateParams.DeliveryEstimate.Maximum; - export type Minimum = Stripe.ShippingRateCreateParams.DeliveryEstimate.Minimum; + export type Maximum = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Minimum; export namespace Maximum { - export type Unit = Stripe.ShippingRateCreateParams.DeliveryEstimate.Maximum.Unit; + export type Unit = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Maximum.Unit; } export namespace Minimum { - export type Unit = Stripe.ShippingRateCreateParams.DeliveryEstimate.Minimum.Unit; + export type Unit = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Minimum.Unit; } } export namespace FixedAmount { - export type CurrencyOptions = Stripe.ShippingRateCreateParams.FixedAmount.CurrencyOptions; + export type CurrencyOptions = Stripe_.ShippingRateCreateParams.FixedAmount.CurrencyOptions; export namespace CurrencyOptions { - export type TaxBehavior = Stripe.ShippingRateCreateParams.FixedAmount.CurrencyOptions.TaxBehavior; + export type TaxBehavior = Stripe_.ShippingRateCreateParams.FixedAmount.CurrencyOptions.TaxBehavior; } } } export namespace ShippingRateUpdateParams { - export type FixedAmount = Stripe.ShippingRateUpdateParams.FixedAmount; - export type TaxBehavior = Stripe.ShippingRateUpdateParams.TaxBehavior; + export type FixedAmount = Stripe_.ShippingRateUpdateParams.FixedAmount; + export type TaxBehavior = Stripe_.ShippingRateUpdateParams.TaxBehavior; export namespace FixedAmount { - export type CurrencyOptions = Stripe.ShippingRateUpdateParams.FixedAmount.CurrencyOptions; + export type CurrencyOptions = Stripe_.ShippingRateUpdateParams.FixedAmount.CurrencyOptions; export namespace CurrencyOptions { - export type TaxBehavior = Stripe.ShippingRateUpdateParams.FixedAmount.CurrencyOptions.TaxBehavior; + export type TaxBehavior = Stripe_.ShippingRateUpdateParams.FixedAmount.CurrencyOptions.TaxBehavior; } } } export namespace ShippingRate { - export type DeliveryEstimate = Stripe.ShippingRate.DeliveryEstimate; - export type FixedAmount = Stripe.ShippingRate.FixedAmount; - export type TaxBehavior = Stripe.ShippingRate.TaxBehavior; + export type DeliveryEstimate = Stripe_.ShippingRate.DeliveryEstimate; + export type FixedAmount = Stripe_.ShippingRate.FixedAmount; + export type TaxBehavior = Stripe_.ShippingRate.TaxBehavior; export namespace DeliveryEstimate { - export type Maximum = Stripe.ShippingRate.DeliveryEstimate.Maximum; - export type Minimum = Stripe.ShippingRate.DeliveryEstimate.Minimum; + export type Maximum = Stripe_.ShippingRate.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.ShippingRate.DeliveryEstimate.Minimum; export namespace Maximum { - export type Unit = Stripe.ShippingRate.DeliveryEstimate.Maximum.Unit; + export type Unit = Stripe_.ShippingRate.DeliveryEstimate.Maximum.Unit; } export namespace Minimum { - export type Unit = Stripe.ShippingRate.DeliveryEstimate.Minimum.Unit; + export type Unit = Stripe_.ShippingRate.DeliveryEstimate.Minimum.Unit; } } export namespace FixedAmount { - export type CurrencyOptions = Stripe.ShippingRate.FixedAmount.CurrencyOptions; + export type CurrencyOptions = Stripe_.ShippingRate.FixedAmount.CurrencyOptions; export namespace CurrencyOptions { - export type TaxBehavior = Stripe.ShippingRate.FixedAmount.CurrencyOptions.TaxBehavior; + export type TaxBehavior = Stripe_.ShippingRate.FixedAmount.CurrencyOptions.TaxBehavior; } } } export namespace SourceCreateParams { - export type Flow = Stripe.SourceCreateParams.Flow; - export type Mandate = Stripe.SourceCreateParams.Mandate; - export type Owner = Stripe.SourceCreateParams.Owner; - export type Receiver = Stripe.SourceCreateParams.Receiver; - export type Redirect = Stripe.SourceCreateParams.Redirect; - export type SourceOrder = Stripe.SourceCreateParams.SourceOrder; - export type Usage = Stripe.SourceCreateParams.Usage; + export type Flow = Stripe_.SourceCreateParams.Flow; + export type Mandate = Stripe_.SourceCreateParams.Mandate; + export type Owner = Stripe_.SourceCreateParams.Owner; + export type Receiver = Stripe_.SourceCreateParams.Receiver; + export type Redirect = Stripe_.SourceCreateParams.Redirect; + export type SourceOrder = Stripe_.SourceCreateParams.SourceOrder; + export type Usage = Stripe_.SourceCreateParams.Usage; export namespace Mandate { - export type Acceptance = Stripe.SourceCreateParams.Mandate.Acceptance; - export type Interval = Stripe.SourceCreateParams.Mandate.Interval; - export type NotificationMethod = Stripe.SourceCreateParams.Mandate.NotificationMethod; + export type Acceptance = Stripe_.SourceCreateParams.Mandate.Acceptance; + export type Interval = Stripe_.SourceCreateParams.Mandate.Interval; + export type NotificationMethod = Stripe_.SourceCreateParams.Mandate.NotificationMethod; export namespace Acceptance { - export type Offline = Stripe.SourceCreateParams.Mandate.Acceptance.Offline; - export type Online = Stripe.SourceCreateParams.Mandate.Acceptance.Online; - export type Status = Stripe.SourceCreateParams.Mandate.Acceptance.Status; - export type Type = Stripe.SourceCreateParams.Mandate.Acceptance.Type; + export type Offline = Stripe_.SourceCreateParams.Mandate.Acceptance.Offline; + export type Online = Stripe_.SourceCreateParams.Mandate.Acceptance.Online; + export type Status = Stripe_.SourceCreateParams.Mandate.Acceptance.Status; + export type Type = Stripe_.SourceCreateParams.Mandate.Acceptance.Type; } } export namespace Receiver { - export type RefundAttributesMethod = Stripe.SourceCreateParams.Receiver.RefundAttributesMethod; + export type RefundAttributesMethod = Stripe_.SourceCreateParams.Receiver.RefundAttributesMethod; } export namespace SourceOrder { - export type Item = Stripe.SourceCreateParams.SourceOrder.Item; - export type Shipping = Stripe.SourceCreateParams.SourceOrder.Shipping; + export type Item = Stripe_.SourceCreateParams.SourceOrder.Item; + export type Shipping = Stripe_.SourceCreateParams.SourceOrder.Shipping; export namespace Item { - export type Type = Stripe.SourceCreateParams.SourceOrder.Item.Type; + export type Type = Stripe_.SourceCreateParams.SourceOrder.Item.Type; } } } export namespace SourceUpdateParams { - export type Mandate = Stripe.SourceUpdateParams.Mandate; - export type Owner = Stripe.SourceUpdateParams.Owner; - export type SourceOrder = Stripe.SourceUpdateParams.SourceOrder; + export type Mandate = Stripe_.SourceUpdateParams.Mandate; + export type Owner = Stripe_.SourceUpdateParams.Owner; + export type SourceOrder = Stripe_.SourceUpdateParams.SourceOrder; export namespace Mandate { - export type Acceptance = Stripe.SourceUpdateParams.Mandate.Acceptance; - export type Interval = Stripe.SourceUpdateParams.Mandate.Interval; - export type NotificationMethod = Stripe.SourceUpdateParams.Mandate.NotificationMethod; + export type Acceptance = Stripe_.SourceUpdateParams.Mandate.Acceptance; + export type Interval = Stripe_.SourceUpdateParams.Mandate.Interval; + export type NotificationMethod = Stripe_.SourceUpdateParams.Mandate.NotificationMethod; export namespace Acceptance { - export type Offline = Stripe.SourceUpdateParams.Mandate.Acceptance.Offline; - export type Online = Stripe.SourceUpdateParams.Mandate.Acceptance.Online; - export type Status = Stripe.SourceUpdateParams.Mandate.Acceptance.Status; - export type Type = Stripe.SourceUpdateParams.Mandate.Acceptance.Type; + export type Offline = Stripe_.SourceUpdateParams.Mandate.Acceptance.Offline; + export type Online = Stripe_.SourceUpdateParams.Mandate.Acceptance.Online; + export type Status = Stripe_.SourceUpdateParams.Mandate.Acceptance.Status; + export type Type = Stripe_.SourceUpdateParams.Mandate.Acceptance.Type; } } export namespace SourceOrder { - export type Item = Stripe.SourceUpdateParams.SourceOrder.Item; - export type Shipping = Stripe.SourceUpdateParams.SourceOrder.Shipping; + export type Item = Stripe_.SourceUpdateParams.SourceOrder.Item; + export type Shipping = Stripe_.SourceUpdateParams.SourceOrder.Shipping; export namespace Item { - export type Type = Stripe.SourceUpdateParams.SourceOrder.Item.Type; + export type Type = Stripe_.SourceUpdateParams.SourceOrder.Item.Type; } } } export namespace Source { - export type AchCreditTransfer = Stripe.Source.AchCreditTransfer; - export type AchDebit = Stripe.Source.AchDebit; - export type AcssDebit = Stripe.Source.AcssDebit; - export type Alipay = Stripe.Source.Alipay; - export type AllowRedisplay = Stripe.Source.AllowRedisplay; - export type AuBecsDebit = Stripe.Source.AuBecsDebit; - export type Bancontact = Stripe.Source.Bancontact; - export type Card = Stripe.Source.Card; - export type CardPresent = Stripe.Source.CardPresent; - export type CodeVerification = Stripe.Source.CodeVerification; - export type Eps = Stripe.Source.Eps; - export type Giropay = Stripe.Source.Giropay; - export type Ideal = Stripe.Source.Ideal; - export type Klarna = Stripe.Source.Klarna; - export type Multibanco = Stripe.Source.Multibanco; - export type Owner = Stripe.Source.Owner; - export type P24 = Stripe.Source.P24; - export type Receiver = Stripe.Source.Receiver; - export type Redirect = Stripe.Source.Redirect; - export type SepaCreditTransfer = Stripe.Source.SepaCreditTransfer; - export type SepaDebit = Stripe.Source.SepaDebit; - export type Sofort = Stripe.Source.Sofort; - export type SourceOrder = Stripe.Source.SourceOrder; - export type ThreeDSecure = Stripe.Source.ThreeDSecure; - export type Type = Stripe.Source.Type; - export type Wechat = Stripe.Source.Wechat; + export type AchCreditTransfer = Stripe_.Source.AchCreditTransfer; + export type AchDebit = Stripe_.Source.AchDebit; + export type AcssDebit = Stripe_.Source.AcssDebit; + export type Alipay = Stripe_.Source.Alipay; + export type AllowRedisplay = Stripe_.Source.AllowRedisplay; + export type AuBecsDebit = Stripe_.Source.AuBecsDebit; + export type Bancontact = Stripe_.Source.Bancontact; + export type Card = Stripe_.Source.Card; + export type CardPresent = Stripe_.Source.CardPresent; + export type CodeVerification = Stripe_.Source.CodeVerification; + export type Eps = Stripe_.Source.Eps; + export type Giropay = Stripe_.Source.Giropay; + export type Ideal = Stripe_.Source.Ideal; + export type Klarna = Stripe_.Source.Klarna; + export type Multibanco = Stripe_.Source.Multibanco; + export type Owner = Stripe_.Source.Owner; + export type P24 = Stripe_.Source.P24; + export type Receiver = Stripe_.Source.Receiver; + export type Redirect = Stripe_.Source.Redirect; + export type SepaCreditTransfer = Stripe_.Source.SepaCreditTransfer; + export type SepaDebit = Stripe_.Source.SepaDebit; + export type Sofort = Stripe_.Source.Sofort; + export type SourceOrder = Stripe_.Source.SourceOrder; + export type ThreeDSecure = Stripe_.Source.ThreeDSecure; + export type Type = Stripe_.Source.Type; + export type Wechat = Stripe_.Source.Wechat; export namespace SourceOrder { - export type Item = Stripe.Source.SourceOrder.Item; - export type Shipping = Stripe.Source.SourceOrder.Shipping; + export type Item = Stripe_.Source.SourceOrder.Item; + export type Shipping = Stripe_.Source.SourceOrder.Shipping; } } export namespace SubscriptionCreateParams { - export type AddInvoiceItem = Stripe.SubscriptionCreateParams.AddInvoiceItem; - export type AutomaticTax = Stripe.SubscriptionCreateParams.AutomaticTax; - export type BillingCycleAnchorConfig = Stripe.SubscriptionCreateParams.BillingCycleAnchorConfig; - export type BillingMode = Stripe.SubscriptionCreateParams.BillingMode; - export type BillingSchedule = Stripe.SubscriptionCreateParams.BillingSchedule; - export type BillingThresholds = Stripe.SubscriptionCreateParams.BillingThresholds; - export type CancelAt = Stripe.SubscriptionCreateParams.CancelAt; - export type CollectionMethod = Stripe.SubscriptionCreateParams.CollectionMethod; - export type Discount = Stripe.SubscriptionCreateParams.Discount; - export type InvoiceSettings = Stripe.SubscriptionCreateParams.InvoiceSettings; - export type Item = Stripe.SubscriptionCreateParams.Item; - export type PaymentBehavior = Stripe.SubscriptionCreateParams.PaymentBehavior; - export type PaymentSettings = Stripe.SubscriptionCreateParams.PaymentSettings; - export type PendingInvoiceItemInterval = Stripe.SubscriptionCreateParams.PendingInvoiceItemInterval; - export type ProrationBehavior = Stripe.SubscriptionCreateParams.ProrationBehavior; - export type TransferData = Stripe.SubscriptionCreateParams.TransferData; - export type TrialSettings = Stripe.SubscriptionCreateParams.TrialSettings; + export type AddInvoiceItem = Stripe_.SubscriptionCreateParams.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionCreateParams.AutomaticTax; + export type BillingCycleAnchorConfig = Stripe_.SubscriptionCreateParams.BillingCycleAnchorConfig; + export type BillingMode = Stripe_.SubscriptionCreateParams.BillingMode; + export type BillingSchedule = Stripe_.SubscriptionCreateParams.BillingSchedule; + export type BillingThresholds = Stripe_.SubscriptionCreateParams.BillingThresholds; + export type CancelAt = Stripe_.SubscriptionCreateParams.CancelAt; + export type CollectionMethod = Stripe_.SubscriptionCreateParams.CollectionMethod; + export type Discount = Stripe_.SubscriptionCreateParams.Discount; + export type InvoiceSettings = Stripe_.SubscriptionCreateParams.InvoiceSettings; + export type Item = Stripe_.SubscriptionCreateParams.Item; + export type PaymentBehavior = Stripe_.SubscriptionCreateParams.PaymentBehavior; + export type PaymentSettings = Stripe_.SubscriptionCreateParams.PaymentSettings; + export type PendingInvoiceItemInterval = Stripe_.SubscriptionCreateParams.PendingInvoiceItemInterval; + export type ProrationBehavior = Stripe_.SubscriptionCreateParams.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionCreateParams.TransferData; + export type TrialSettings = Stripe_.SubscriptionCreateParams.TrialSettings; export namespace AddInvoiceItem { - export type Discount = Stripe.SubscriptionCreateParams.AddInvoiceItem.Discount; - export type Period = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period; - export type PriceData = Stripe.SubscriptionCreateParams.AddInvoiceItem.PriceData; + export type Discount = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period; + export type PriceData = Stripe_.SubscriptionCreateParams.AddInvoiceItem.PriceData; export namespace Period { - export type End = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period.End; - export type Start = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period.Start; + export type End = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period.Start; export namespace End { - export type Type = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period.End.Type; + export type Type = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period.End.Type; } export namespace Start { - export type Type = Stripe.SubscriptionCreateParams.AddInvoiceItem.Period.Start.Type; + export type Type = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period.Start.Type; } } export namespace PriceData { - export type TaxBehavior = Stripe.SubscriptionCreateParams.AddInvoiceItem.PriceData.TaxBehavior; + export type TaxBehavior = Stripe_.SubscriptionCreateParams.AddInvoiceItem.PriceData.TaxBehavior; } } export namespace AutomaticTax { - export type Liability = Stripe.SubscriptionCreateParams.AutomaticTax.Liability; + export type Liability = Stripe_.SubscriptionCreateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.SubscriptionCreateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.SubscriptionCreateParams.AutomaticTax.Liability.Type; } } export namespace BillingMode { - export type Flexible = Stripe.SubscriptionCreateParams.BillingMode.Flexible; - export type Type = Stripe.SubscriptionCreateParams.BillingMode.Type; + export type Flexible = Stripe_.SubscriptionCreateParams.BillingMode.Flexible; + export type Type = Stripe_.SubscriptionCreateParams.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.SubscriptionCreateParams.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.SubscriptionCreateParams.BillingMode.Flexible.ProrationDiscounts; } } export namespace BillingSchedule { - export type AppliesTo = Stripe.SubscriptionCreateParams.BillingSchedule.AppliesTo; - export type BillUntil = Stripe.SubscriptionCreateParams.BillingSchedule.BillUntil; + export type AppliesTo = Stripe_.SubscriptionCreateParams.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.SubscriptionCreateParams.BillingSchedule.BillUntil; export namespace BillUntil { - export type Duration = Stripe.SubscriptionCreateParams.BillingSchedule.BillUntil.Duration; - export type Type = Stripe.SubscriptionCreateParams.BillingSchedule.BillUntil.Type; + export type Duration = Stripe_.SubscriptionCreateParams.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.SubscriptionCreateParams.BillingSchedule.BillUntil.Type; export namespace Duration { - export type Interval = Stripe.SubscriptionCreateParams.BillingSchedule.BillUntil.Duration.Interval; + export type Interval = Stripe_.SubscriptionCreateParams.BillingSchedule.BillUntil.Duration.Interval; } } } export namespace InvoiceSettings { - export type Issuer = Stripe.SubscriptionCreateParams.InvoiceSettings.Issuer; + export type Issuer = Stripe_.SubscriptionCreateParams.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.SubscriptionCreateParams.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.SubscriptionCreateParams.InvoiceSettings.Issuer.Type; } } export namespace Item { - export type BillingThresholds = Stripe.SubscriptionCreateParams.Item.BillingThresholds; - export type Discount = Stripe.SubscriptionCreateParams.Item.Discount; - export type PriceData = Stripe.SubscriptionCreateParams.Item.PriceData; + export type BillingThresholds = Stripe_.SubscriptionCreateParams.Item.BillingThresholds; + export type Discount = Stripe_.SubscriptionCreateParams.Item.Discount; + export type PriceData = Stripe_.SubscriptionCreateParams.Item.PriceData; export namespace PriceData { - export type Recurring = Stripe.SubscriptionCreateParams.Item.PriceData.Recurring; - export type TaxBehavior = Stripe.SubscriptionCreateParams.Item.PriceData.TaxBehavior; + export type Recurring = Stripe_.SubscriptionCreateParams.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionCreateParams.Item.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.SubscriptionCreateParams.Item.PriceData.Recurring.Interval; + export type Interval = Stripe_.SubscriptionCreateParams.Item.PriceData.Recurring.Interval; } } } export namespace PaymentSettings { - export type PaymentMethodOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions; - export type PaymentMethodType = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodType; - export type SaveDefaultPaymentMethod = Stripe.SubscriptionCreateParams.PaymentSettings.SaveDefaultPaymentMethod; + export type PaymentMethodOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe_.SubscriptionCreateParams.PaymentSettings.SaveDefaultPaymentMethod; export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; - export type Bancontact = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact; - export type Card = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card; - export type CustomerBalance = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; - export type Konbini = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Konbini; - export type Payto = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto; - export type Pix = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type TransactionType = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type TransactionType = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; } export namespace Card { - export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.Network; - export type RequestThreeDSecure = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; export namespace MandateOptions { - export type AmountType = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type AmountType = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; } } export namespace CustomerBalance { - export type BankTransfer = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type EuBankTransfer = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; } } export namespace Payto { - export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type Purpose = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type Purpose = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type PaymentSchedule = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace Upi { - export type MandateOptions = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type VerificationMethod = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } } } export namespace PendingInvoiceItemInterval { - export type Interval = Stripe.SubscriptionCreateParams.PendingInvoiceItemInterval.Interval; + export type Interval = Stripe_.SubscriptionCreateParams.PendingInvoiceItemInterval.Interval; } export namespace TrialSettings { - export type EndBehavior = Stripe.SubscriptionCreateParams.TrialSettings.EndBehavior; + export type EndBehavior = Stripe_.SubscriptionCreateParams.TrialSettings.EndBehavior; export namespace EndBehavior { - export type MissingPaymentMethod = Stripe.SubscriptionCreateParams.TrialSettings.EndBehavior.MissingPaymentMethod; + export type MissingPaymentMethod = Stripe_.SubscriptionCreateParams.TrialSettings.EndBehavior.MissingPaymentMethod; } } } export namespace SubscriptionUpdateParams { - export type AddInvoiceItem = Stripe.SubscriptionUpdateParams.AddInvoiceItem; - export type AutomaticTax = Stripe.SubscriptionUpdateParams.AutomaticTax; - export type BillingCycleAnchor = Stripe.SubscriptionUpdateParams.BillingCycleAnchor; - export type BillingSchedule = Stripe.SubscriptionUpdateParams.BillingSchedule; - export type BillingThresholds = Stripe.SubscriptionUpdateParams.BillingThresholds; - export type CancelAt = Stripe.SubscriptionUpdateParams.CancelAt; - export type CancellationDetails = Stripe.SubscriptionUpdateParams.CancellationDetails; - export type CollectionMethod = Stripe.SubscriptionUpdateParams.CollectionMethod; - export type Discount = Stripe.SubscriptionUpdateParams.Discount; - export type InvoiceSettings = Stripe.SubscriptionUpdateParams.InvoiceSettings; - export type Item = Stripe.SubscriptionUpdateParams.Item; - export type PauseCollection = Stripe.SubscriptionUpdateParams.PauseCollection; - export type PaymentBehavior = Stripe.SubscriptionUpdateParams.PaymentBehavior; - export type PaymentSettings = Stripe.SubscriptionUpdateParams.PaymentSettings; - export type PendingInvoiceItemInterval = Stripe.SubscriptionUpdateParams.PendingInvoiceItemInterval; - export type ProrationBehavior = Stripe.SubscriptionUpdateParams.ProrationBehavior; - export type TransferData = Stripe.SubscriptionUpdateParams.TransferData; - export type TrialSettings = Stripe.SubscriptionUpdateParams.TrialSettings; + export type AddInvoiceItem = Stripe_.SubscriptionUpdateParams.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionUpdateParams.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionUpdateParams.BillingCycleAnchor; + export type BillingSchedule = Stripe_.SubscriptionUpdateParams.BillingSchedule; + export type BillingThresholds = Stripe_.SubscriptionUpdateParams.BillingThresholds; + export type CancelAt = Stripe_.SubscriptionUpdateParams.CancelAt; + export type CancellationDetails = Stripe_.SubscriptionUpdateParams.CancellationDetails; + export type CollectionMethod = Stripe_.SubscriptionUpdateParams.CollectionMethod; + export type Discount = Stripe_.SubscriptionUpdateParams.Discount; + export type InvoiceSettings = Stripe_.SubscriptionUpdateParams.InvoiceSettings; + export type Item = Stripe_.SubscriptionUpdateParams.Item; + export type PauseCollection = Stripe_.SubscriptionUpdateParams.PauseCollection; + export type PaymentBehavior = Stripe_.SubscriptionUpdateParams.PaymentBehavior; + export type PaymentSettings = Stripe_.SubscriptionUpdateParams.PaymentSettings; + export type PendingInvoiceItemInterval = Stripe_.SubscriptionUpdateParams.PendingInvoiceItemInterval; + export type ProrationBehavior = Stripe_.SubscriptionUpdateParams.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionUpdateParams.TransferData; + export type TrialSettings = Stripe_.SubscriptionUpdateParams.TrialSettings; export namespace AddInvoiceItem { - export type Discount = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Discount; - export type Period = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period; - export type PriceData = Stripe.SubscriptionUpdateParams.AddInvoiceItem.PriceData; + export type Discount = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period; + export type PriceData = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.PriceData; export namespace Period { - export type End = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period.End; - export type Start = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period.Start; + export type End = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period.Start; export namespace End { - export type Type = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period.End.Type; + export type Type = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period.End.Type; } export namespace Start { - export type Type = Stripe.SubscriptionUpdateParams.AddInvoiceItem.Period.Start.Type; + export type Type = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period.Start.Type; } } export namespace PriceData { - export type TaxBehavior = Stripe.SubscriptionUpdateParams.AddInvoiceItem.PriceData.TaxBehavior; + export type TaxBehavior = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.PriceData.TaxBehavior; } } export namespace AutomaticTax { - export type Liability = Stripe.SubscriptionUpdateParams.AutomaticTax.Liability; + export type Liability = Stripe_.SubscriptionUpdateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.SubscriptionUpdateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.SubscriptionUpdateParams.AutomaticTax.Liability.Type; } } export namespace BillingSchedule { - export type AppliesTo = Stripe.SubscriptionUpdateParams.BillingSchedule.AppliesTo; - export type BillUntil = Stripe.SubscriptionUpdateParams.BillingSchedule.BillUntil; + export type AppliesTo = Stripe_.SubscriptionUpdateParams.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.SubscriptionUpdateParams.BillingSchedule.BillUntil; export namespace BillUntil { - export type Duration = Stripe.SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration; - export type Type = Stripe.SubscriptionUpdateParams.BillingSchedule.BillUntil.Type; + export type Duration = Stripe_.SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.SubscriptionUpdateParams.BillingSchedule.BillUntil.Type; export namespace Duration { - export type Interval = Stripe.SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration.Interval; + export type Interval = Stripe_.SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration.Interval; } } } export namespace CancellationDetails { - export type Feedback = Stripe.SubscriptionUpdateParams.CancellationDetails.Feedback; + export type Feedback = Stripe_.SubscriptionUpdateParams.CancellationDetails.Feedback; } export namespace InvoiceSettings { - export type Issuer = Stripe.SubscriptionUpdateParams.InvoiceSettings.Issuer; + export type Issuer = Stripe_.SubscriptionUpdateParams.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.SubscriptionUpdateParams.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.SubscriptionUpdateParams.InvoiceSettings.Issuer.Type; } } export namespace Item { - export type BillingThresholds = Stripe.SubscriptionUpdateParams.Item.BillingThresholds; - export type Discount = Stripe.SubscriptionUpdateParams.Item.Discount; - export type PriceData = Stripe.SubscriptionUpdateParams.Item.PriceData; + export type BillingThresholds = Stripe_.SubscriptionUpdateParams.Item.BillingThresholds; + export type Discount = Stripe_.SubscriptionUpdateParams.Item.Discount; + export type PriceData = Stripe_.SubscriptionUpdateParams.Item.PriceData; export namespace PriceData { - export type Recurring = Stripe.SubscriptionUpdateParams.Item.PriceData.Recurring; - export type TaxBehavior = Stripe.SubscriptionUpdateParams.Item.PriceData.TaxBehavior; + export type Recurring = Stripe_.SubscriptionUpdateParams.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionUpdateParams.Item.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.SubscriptionUpdateParams.Item.PriceData.Recurring.Interval; + export type Interval = Stripe_.SubscriptionUpdateParams.Item.PriceData.Recurring.Interval; } } } export namespace PauseCollection { - export type Behavior = Stripe.SubscriptionUpdateParams.PauseCollection.Behavior; + export type Behavior = Stripe_.SubscriptionUpdateParams.PauseCollection.Behavior; } export namespace PaymentSettings { - export type PaymentMethodOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions; - export type PaymentMethodType = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodType; - export type SaveDefaultPaymentMethod = Stripe.SubscriptionUpdateParams.PaymentSettings.SaveDefaultPaymentMethod; + export type PaymentMethodOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe_.SubscriptionUpdateParams.PaymentSettings.SaveDefaultPaymentMethod; export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; - export type Bancontact = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact; - export type Card = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card; - export type CustomerBalance = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; - export type Konbini = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini; - export type Payto = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto; - export type Pix = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type TransactionType = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type TransactionType = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; } export namespace Card { - export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Network; - export type RequestThreeDSecure = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; export namespace MandateOptions { - export type AmountType = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type AmountType = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; } } export namespace CustomerBalance { - export type BankTransfer = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type EuBankTransfer = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; } } export namespace Payto { - export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type Purpose = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type Purpose = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type PaymentSchedule = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace Upi { - export type MandateOptions = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type VerificationMethod = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } } } export namespace PendingInvoiceItemInterval { - export type Interval = Stripe.SubscriptionUpdateParams.PendingInvoiceItemInterval.Interval; + export type Interval = Stripe_.SubscriptionUpdateParams.PendingInvoiceItemInterval.Interval; } export namespace TrialSettings { - export type EndBehavior = Stripe.SubscriptionUpdateParams.TrialSettings.EndBehavior; + export type EndBehavior = Stripe_.SubscriptionUpdateParams.TrialSettings.EndBehavior; export namespace EndBehavior { - export type MissingPaymentMethod = Stripe.SubscriptionUpdateParams.TrialSettings.EndBehavior.MissingPaymentMethod; + export type MissingPaymentMethod = Stripe_.SubscriptionUpdateParams.TrialSettings.EndBehavior.MissingPaymentMethod; } } } export namespace SubscriptionListParams { - export type AutomaticTax = Stripe.SubscriptionListParams.AutomaticTax; - export type CollectionMethod = Stripe.SubscriptionListParams.CollectionMethod; - export type Status = Stripe.SubscriptionListParams.Status; + export type AutomaticTax = Stripe_.SubscriptionListParams.AutomaticTax; + export type CollectionMethod = Stripe_.SubscriptionListParams.CollectionMethod; + export type Status = Stripe_.SubscriptionListParams.Status; } export namespace SubscriptionCancelParams { - export type CancellationDetails = Stripe.SubscriptionCancelParams.CancellationDetails; + export type CancellationDetails = Stripe_.SubscriptionCancelParams.CancellationDetails; export namespace CancellationDetails { - export type Feedback = Stripe.SubscriptionCancelParams.CancellationDetails.Feedback; + export type Feedback = Stripe_.SubscriptionCancelParams.CancellationDetails.Feedback; } } export namespace SubscriptionMigrateParams { - export type BillingMode = Stripe.SubscriptionMigrateParams.BillingMode; + export type BillingMode = Stripe_.SubscriptionMigrateParams.BillingMode; export namespace BillingMode { - export type Flexible = Stripe.SubscriptionMigrateParams.BillingMode.Flexible; + export type Flexible = Stripe_.SubscriptionMigrateParams.BillingMode.Flexible; export namespace Flexible { - export type ProrationDiscounts = Stripe.SubscriptionMigrateParams.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.SubscriptionMigrateParams.BillingMode.Flexible.ProrationDiscounts; } } } export namespace SubscriptionResumeParams { - export type BillingCycleAnchor = Stripe.SubscriptionResumeParams.BillingCycleAnchor; - export type ProrationBehavior = Stripe.SubscriptionResumeParams.ProrationBehavior; + export type BillingCycleAnchor = Stripe_.SubscriptionResumeParams.BillingCycleAnchor; + export type ProrationBehavior = Stripe_.SubscriptionResumeParams.ProrationBehavior; } export namespace Subscription { - export type AutomaticTax = Stripe.Subscription.AutomaticTax; - export type BillingCycleAnchorConfig = Stripe.Subscription.BillingCycleAnchorConfig; - export type BillingMode = Stripe.Subscription.BillingMode; - export type BillingSchedule = Stripe.Subscription.BillingSchedule; - export type BillingThresholds = Stripe.Subscription.BillingThresholds; - export type CancellationDetails = Stripe.Subscription.CancellationDetails; - export type CollectionMethod = Stripe.Subscription.CollectionMethod; - export type InvoiceSettings = Stripe.Subscription.InvoiceSettings; - export type ManagedPayments = Stripe.Subscription.ManagedPayments; - export type PauseCollection = Stripe.Subscription.PauseCollection; - export type PaymentSettings = Stripe.Subscription.PaymentSettings; - export type PendingInvoiceItemInterval = Stripe.Subscription.PendingInvoiceItemInterval; - export type PendingUpdate = Stripe.Subscription.PendingUpdate; - export type PresentmentDetails = Stripe.Subscription.PresentmentDetails; - export type Status = Stripe.Subscription.Status; - export type TransferData = Stripe.Subscription.TransferData; - export type TrialSettings = Stripe.Subscription.TrialSettings; + export type AutomaticTax = Stripe_.Subscription.AutomaticTax; + export type BillingCycleAnchorConfig = Stripe_.Subscription.BillingCycleAnchorConfig; + export type BillingMode = Stripe_.Subscription.BillingMode; + export type BillingSchedule = Stripe_.Subscription.BillingSchedule; + export type BillingThresholds = Stripe_.Subscription.BillingThresholds; + export type CancellationDetails = Stripe_.Subscription.CancellationDetails; + export type CollectionMethod = Stripe_.Subscription.CollectionMethod; + export type InvoiceSettings = Stripe_.Subscription.InvoiceSettings; + export type ManagedPayments = Stripe_.Subscription.ManagedPayments; + export type PauseCollection = Stripe_.Subscription.PauseCollection; + export type PaymentSettings = Stripe_.Subscription.PaymentSettings; + export type PendingInvoiceItemInterval = Stripe_.Subscription.PendingInvoiceItemInterval; + export type PendingUpdate = Stripe_.Subscription.PendingUpdate; + export type PresentmentDetails = Stripe_.Subscription.PresentmentDetails; + export type Status = Stripe_.Subscription.Status; + export type TransferData = Stripe_.Subscription.TransferData; + export type TrialSettings = Stripe_.Subscription.TrialSettings; export namespace AutomaticTax { - export type Liability = Stripe.Subscription.AutomaticTax.Liability; + export type Liability = Stripe_.Subscription.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.Subscription.AutomaticTax.Liability.Type; + export type Type = Stripe_.Subscription.AutomaticTax.Liability.Type; } } export namespace BillingMode { - export type Flexible = Stripe.Subscription.BillingMode.Flexible; - export type Type = Stripe.Subscription.BillingMode.Type; + export type Flexible = Stripe_.Subscription.BillingMode.Flexible; + export type Type = Stripe_.Subscription.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.Subscription.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.Subscription.BillingMode.Flexible.ProrationDiscounts; } } export namespace BillingSchedule { - export type AppliesTo = Stripe.Subscription.BillingSchedule.AppliesTo; - export type BillUntil = Stripe.Subscription.BillingSchedule.BillUntil; + export type AppliesTo = Stripe_.Subscription.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.Subscription.BillingSchedule.BillUntil; export namespace BillUntil { - export type Duration = Stripe.Subscription.BillingSchedule.BillUntil.Duration; - export type Type = Stripe.Subscription.BillingSchedule.BillUntil.Type; + export type Duration = Stripe_.Subscription.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.Subscription.BillingSchedule.BillUntil.Type; export namespace Duration { - export type Interval = Stripe.Subscription.BillingSchedule.BillUntil.Duration.Interval; + export type Interval = Stripe_.Subscription.BillingSchedule.BillUntil.Duration.Interval; } } } export namespace CancellationDetails { - export type Feedback = Stripe.Subscription.CancellationDetails.Feedback; - export type Reason = Stripe.Subscription.CancellationDetails.Reason; + export type Feedback = Stripe_.Subscription.CancellationDetails.Feedback; + export type Reason = Stripe_.Subscription.CancellationDetails.Reason; } export namespace InvoiceSettings { - export type Issuer = Stripe.Subscription.InvoiceSettings.Issuer; + export type Issuer = Stripe_.Subscription.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.Subscription.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.Subscription.InvoiceSettings.Issuer.Type; } } export namespace PauseCollection { - export type Behavior = Stripe.Subscription.PauseCollection.Behavior; + export type Behavior = Stripe_.Subscription.PauseCollection.Behavior; } export namespace PaymentSettings { - export type PaymentMethodOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions; - export type PaymentMethodType = Stripe.Subscription.PaymentSettings.PaymentMethodType; - export type SaveDefaultPaymentMethod = Stripe.Subscription.PaymentSettings.SaveDefaultPaymentMethod; + export type PaymentMethodOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.Subscription.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe_.Subscription.PaymentSettings.SaveDefaultPaymentMethod; export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit; - export type Bancontact = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Bancontact; - export type Card = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card; - export type CustomerBalance = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance; - export type Konbini = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Konbini; - export type Payto = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Payto; - export type Pix = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Pix; - export type SepaDebit = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.SepaDebit; - export type Upi = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; - export type VerificationMethod = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type TransactionType = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type TransactionType = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace Bancontact { - export type PreferredLanguage = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type PreferredLanguage = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; } export namespace Card { - export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; - export type Network = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.Network; - export type RequestThreeDSecure = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; export namespace MandateOptions { - export type AmountType = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type AmountType = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; } } export namespace CustomerBalance { - export type BankTransfer = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type EuBankTransfer = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; export namespace EuBankTransfer { - export type Country = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + export type Country = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; } } } export namespace Payto { - export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type Purpose = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type Purpose = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type PaymentSchedule = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace Upi { - export type MandateOptions = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; export namespace MandateOptions { - export type AmountType = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type VerificationMethod = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } } } export namespace PendingInvoiceItemInterval { - export type Interval = Stripe.Subscription.PendingInvoiceItemInterval.Interval; + export type Interval = Stripe_.Subscription.PendingInvoiceItemInterval.Interval; } export namespace TrialSettings { - export type EndBehavior = Stripe.Subscription.TrialSettings.EndBehavior; + export type EndBehavior = Stripe_.Subscription.TrialSettings.EndBehavior; export namespace EndBehavior { - export type MissingPaymentMethod = Stripe.Subscription.TrialSettings.EndBehavior.MissingPaymentMethod; + export type MissingPaymentMethod = Stripe_.Subscription.TrialSettings.EndBehavior.MissingPaymentMethod; } } } export namespace SubscriptionItemCreateParams { - export type BillingThresholds = Stripe.SubscriptionItemCreateParams.BillingThresholds; - export type Discount = Stripe.SubscriptionItemCreateParams.Discount; - export type PaymentBehavior = Stripe.SubscriptionItemCreateParams.PaymentBehavior; - export type PriceData = Stripe.SubscriptionItemCreateParams.PriceData; - export type ProrationBehavior = Stripe.SubscriptionItemCreateParams.ProrationBehavior; + export type BillingThresholds = Stripe_.SubscriptionItemCreateParams.BillingThresholds; + export type Discount = Stripe_.SubscriptionItemCreateParams.Discount; + export type PaymentBehavior = Stripe_.SubscriptionItemCreateParams.PaymentBehavior; + export type PriceData = Stripe_.SubscriptionItemCreateParams.PriceData; + export type ProrationBehavior = Stripe_.SubscriptionItemCreateParams.ProrationBehavior; export namespace PriceData { - export type Recurring = Stripe.SubscriptionItemCreateParams.PriceData.Recurring; - export type TaxBehavior = Stripe.SubscriptionItemCreateParams.PriceData.TaxBehavior; + export type Recurring = Stripe_.SubscriptionItemCreateParams.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionItemCreateParams.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.SubscriptionItemCreateParams.PriceData.Recurring.Interval; + export type Interval = Stripe_.SubscriptionItemCreateParams.PriceData.Recurring.Interval; } } } export namespace SubscriptionItemUpdateParams { - export type BillingThresholds = Stripe.SubscriptionItemUpdateParams.BillingThresholds; - export type Discount = Stripe.SubscriptionItemUpdateParams.Discount; - export type PaymentBehavior = Stripe.SubscriptionItemUpdateParams.PaymentBehavior; - export type PriceData = Stripe.SubscriptionItemUpdateParams.PriceData; - export type ProrationBehavior = Stripe.SubscriptionItemUpdateParams.ProrationBehavior; + export type BillingThresholds = Stripe_.SubscriptionItemUpdateParams.BillingThresholds; + export type Discount = Stripe_.SubscriptionItemUpdateParams.Discount; + export type PaymentBehavior = Stripe_.SubscriptionItemUpdateParams.PaymentBehavior; + export type PriceData = Stripe_.SubscriptionItemUpdateParams.PriceData; + export type ProrationBehavior = Stripe_.SubscriptionItemUpdateParams.ProrationBehavior; export namespace PriceData { - export type Recurring = Stripe.SubscriptionItemUpdateParams.PriceData.Recurring; - export type TaxBehavior = Stripe.SubscriptionItemUpdateParams.PriceData.TaxBehavior; + export type Recurring = Stripe_.SubscriptionItemUpdateParams.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionItemUpdateParams.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.SubscriptionItemUpdateParams.PriceData.Recurring.Interval; + export type Interval = Stripe_.SubscriptionItemUpdateParams.PriceData.Recurring.Interval; } } } export namespace SubscriptionItemDeleteParams { - export type PaymentBehavior = Stripe.SubscriptionItemDeleteParams.PaymentBehavior; - export type ProrationBehavior = Stripe.SubscriptionItemDeleteParams.ProrationBehavior; + export type PaymentBehavior = Stripe_.SubscriptionItemDeleteParams.PaymentBehavior; + export type ProrationBehavior = Stripe_.SubscriptionItemDeleteParams.ProrationBehavior; } export namespace SubscriptionItem { - export type BillingThresholds = Stripe.SubscriptionItem.BillingThresholds; + export type BillingThresholds = Stripe_.SubscriptionItem.BillingThresholds; } export namespace SubscriptionScheduleCreateParams { - export type BillingMode = Stripe.SubscriptionScheduleCreateParams.BillingMode; - export type DefaultSettings = Stripe.SubscriptionScheduleCreateParams.DefaultSettings; - export type EndBehavior = Stripe.SubscriptionScheduleCreateParams.EndBehavior; - export type Phase = Stripe.SubscriptionScheduleCreateParams.Phase; + export type BillingMode = Stripe_.SubscriptionScheduleCreateParams.BillingMode; + export type DefaultSettings = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings; + export type EndBehavior = Stripe_.SubscriptionScheduleCreateParams.EndBehavior; + export type Phase = Stripe_.SubscriptionScheduleCreateParams.Phase; export namespace BillingMode { - export type Flexible = Stripe.SubscriptionScheduleCreateParams.BillingMode.Flexible; - export type Type = Stripe.SubscriptionScheduleCreateParams.BillingMode.Type; + export type Flexible = Stripe_.SubscriptionScheduleCreateParams.BillingMode.Flexible; + export type Type = Stripe_.SubscriptionScheduleCreateParams.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.SubscriptionScheduleCreateParams.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.SubscriptionScheduleCreateParams.BillingMode.Flexible.ProrationDiscounts; } } export namespace DefaultSettings { - export type AutomaticTax = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax; - export type BillingCycleAnchor = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.BillingCycleAnchor; - export type BillingThresholds = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds; - export type CollectionMethod = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.CollectionMethod; - export type InvoiceSettings = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings; - export type TransferData = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.TransferData; + export type AutomaticTax = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings; + export type TransferData = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.TransferData; export namespace AutomaticTax { - export type Liability = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax.Liability; + export type Liability = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax.Liability.Type; + export type Type = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax.Liability.Type; } } export namespace InvoiceSettings { - export type Issuer = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings.Issuer; + export type Issuer = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings.Issuer.Type; } } } export namespace Phase { - export type AddInvoiceItem = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem; - export type AutomaticTax = Stripe.SubscriptionScheduleCreateParams.Phase.AutomaticTax; - export type BillingCycleAnchor = Stripe.SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor; - export type BillingThresholds = Stripe.SubscriptionScheduleCreateParams.Phase.BillingThresholds; - export type CollectionMethod = Stripe.SubscriptionScheduleCreateParams.Phase.CollectionMethod; - export type Discount = Stripe.SubscriptionScheduleCreateParams.Phase.Discount; - export type Duration = Stripe.SubscriptionScheduleCreateParams.Phase.Duration; - export type InvoiceSettings = Stripe.SubscriptionScheduleCreateParams.Phase.InvoiceSettings; - export type Item = Stripe.SubscriptionScheduleCreateParams.Phase.Item; - export type ProrationBehavior = Stripe.SubscriptionScheduleCreateParams.Phase.ProrationBehavior; - export type TransferData = Stripe.SubscriptionScheduleCreateParams.Phase.TransferData; + export type AddInvoiceItem = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionScheduleCreateParams.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionScheduleCreateParams.Phase.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionScheduleCreateParams.Phase.CollectionMethod; + export type Discount = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount; + export type Duration = Stripe_.SubscriptionScheduleCreateParams.Phase.Duration; + export type InvoiceSettings = Stripe_.SubscriptionScheduleCreateParams.Phase.InvoiceSettings; + export type Item = Stripe_.SubscriptionScheduleCreateParams.Phase.Item; + export type ProrationBehavior = Stripe_.SubscriptionScheduleCreateParams.Phase.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionScheduleCreateParams.Phase.TransferData; export namespace AddInvoiceItem { - export type Discount = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Discount; - export type Period = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period; - export type PriceData = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData; + export type Discount = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period; + export type PriceData = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData; export namespace Period { - export type End = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.End; - export type Start = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.Start; + export type End = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.Start; export namespace End { - export type Type = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.End.Type; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.End.Type; } export namespace Start { - export type Type = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.Start.Type; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.Start.Type; } } export namespace PriceData { - export type TaxBehavior = Stripe.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData.TaxBehavior; + export type TaxBehavior = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData.TaxBehavior; } } export namespace AutomaticTax { - export type Liability = Stripe.SubscriptionScheduleCreateParams.Phase.AutomaticTax.Liability; + export type Liability = Stripe_.SubscriptionScheduleCreateParams.Phase.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.SubscriptionScheduleCreateParams.Phase.AutomaticTax.Liability.Type; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.AutomaticTax.Liability.Type; } } export namespace Duration { - export type Interval = Stripe.SubscriptionScheduleCreateParams.Phase.Duration.Interval; + export type Interval = Stripe_.SubscriptionScheduleCreateParams.Phase.Duration.Interval; } export namespace InvoiceSettings { - export type Issuer = Stripe.SubscriptionScheduleCreateParams.Phase.InvoiceSettings.Issuer; + export type Issuer = Stripe_.SubscriptionScheduleCreateParams.Phase.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.SubscriptionScheduleCreateParams.Phase.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.InvoiceSettings.Issuer.Type; } } export namespace Item { - export type BillingThresholds = Stripe.SubscriptionScheduleCreateParams.Phase.Item.BillingThresholds; - export type Discount = Stripe.SubscriptionScheduleCreateParams.Phase.Item.Discount; - export type PriceData = Stripe.SubscriptionScheduleCreateParams.Phase.Item.PriceData; + export type BillingThresholds = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.BillingThresholds; + export type Discount = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount; + export type PriceData = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.PriceData; export namespace PriceData { - export type Recurring = Stripe.SubscriptionScheduleCreateParams.Phase.Item.PriceData.Recurring; - export type TaxBehavior = Stripe.SubscriptionScheduleCreateParams.Phase.Item.PriceData.TaxBehavior; + export type Recurring = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.SubscriptionScheduleCreateParams.Phase.Item.PriceData.Recurring.Interval; + export type Interval = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.PriceData.Recurring.Interval; } } } } } export namespace SubscriptionScheduleUpdateParams { - export type DefaultSettings = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings; - export type EndBehavior = Stripe.SubscriptionScheduleUpdateParams.EndBehavior; - export type Phase = Stripe.SubscriptionScheduleUpdateParams.Phase; - export type ProrationBehavior = Stripe.SubscriptionScheduleUpdateParams.ProrationBehavior; + export type DefaultSettings = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings; + export type EndBehavior = Stripe_.SubscriptionScheduleUpdateParams.EndBehavior; + export type Phase = Stripe_.SubscriptionScheduleUpdateParams.Phase; + export type ProrationBehavior = Stripe_.SubscriptionScheduleUpdateParams.ProrationBehavior; export namespace DefaultSettings { - export type AutomaticTax = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax; - export type BillingCycleAnchor = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.BillingCycleAnchor; - export type BillingThresholds = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds; - export type CollectionMethod = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.CollectionMethod; - export type InvoiceSettings = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings; - export type TransferData = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.TransferData; + export type AutomaticTax = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings; + export type TransferData = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.TransferData; export namespace AutomaticTax { - export type Liability = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax.Liability; + export type Liability = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax.Liability.Type; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax.Liability.Type; } } export namespace InvoiceSettings { - export type Issuer = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer; + export type Issuer = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer.Type; } } } export namespace Phase { - export type AddInvoiceItem = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem; - export type AutomaticTax = Stripe.SubscriptionScheduleUpdateParams.Phase.AutomaticTax; - export type BillingCycleAnchor = Stripe.SubscriptionScheduleUpdateParams.Phase.BillingCycleAnchor; - export type BillingThresholds = Stripe.SubscriptionScheduleUpdateParams.Phase.BillingThresholds; - export type CollectionMethod = Stripe.SubscriptionScheduleUpdateParams.Phase.CollectionMethod; - export type Discount = Stripe.SubscriptionScheduleUpdateParams.Phase.Discount; - export type Duration = Stripe.SubscriptionScheduleUpdateParams.Phase.Duration; - export type InvoiceSettings = Stripe.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings; - export type Item = Stripe.SubscriptionScheduleUpdateParams.Phase.Item; - export type ProrationBehavior = Stripe.SubscriptionScheduleUpdateParams.Phase.ProrationBehavior; - export type TransferData = Stripe.SubscriptionScheduleUpdateParams.Phase.TransferData; + export type AddInvoiceItem = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionScheduleUpdateParams.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleUpdateParams.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionScheduleUpdateParams.Phase.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionScheduleUpdateParams.Phase.CollectionMethod; + export type Discount = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount; + export type Duration = Stripe_.SubscriptionScheduleUpdateParams.Phase.Duration; + export type InvoiceSettings = Stripe_.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings; + export type Item = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item; + export type ProrationBehavior = Stripe_.SubscriptionScheduleUpdateParams.Phase.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionScheduleUpdateParams.Phase.TransferData; export namespace AddInvoiceItem { - export type Discount = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Discount; - export type Period = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period; - export type PriceData = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.PriceData; + export type Discount = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period; + export type PriceData = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.PriceData; export namespace Period { - export type End = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.End; - export type Start = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.Start; + export type End = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.Start; export namespace End { - export type Type = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.End.Type; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.End.Type; } export namespace Start { - export type Type = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.Start.Type; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.Start.Type; } } export namespace PriceData { - export type TaxBehavior = Stripe.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.PriceData.TaxBehavior; + export type TaxBehavior = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.PriceData.TaxBehavior; } } export namespace AutomaticTax { - export type Liability = Stripe.SubscriptionScheduleUpdateParams.Phase.AutomaticTax.Liability; + export type Liability = Stripe_.SubscriptionScheduleUpdateParams.Phase.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.SubscriptionScheduleUpdateParams.Phase.AutomaticTax.Liability.Type; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.AutomaticTax.Liability.Type; } } export namespace Duration { - export type Interval = Stripe.SubscriptionScheduleUpdateParams.Phase.Duration.Interval; + export type Interval = Stripe_.SubscriptionScheduleUpdateParams.Phase.Duration.Interval; } export namespace InvoiceSettings { - export type Issuer = Stripe.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer; + export type Issuer = Stripe_.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer.Type; } } export namespace Item { - export type BillingThresholds = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.BillingThresholds; - export type Discount = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.Discount; - export type PriceData = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.PriceData; + export type BillingThresholds = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.BillingThresholds; + export type Discount = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount; + export type PriceData = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.PriceData; export namespace PriceData { - export type Recurring = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.Recurring; - export type TaxBehavior = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.TaxBehavior; + export type Recurring = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.Recurring.Interval; + export type Interval = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.Recurring.Interval; } } } } } export namespace SubscriptionSchedule { - export type BillingMode = Stripe.SubscriptionSchedule.BillingMode; - export type CurrentPhase = Stripe.SubscriptionSchedule.CurrentPhase; - export type DefaultSettings = Stripe.SubscriptionSchedule.DefaultSettings; - export type EndBehavior = Stripe.SubscriptionSchedule.EndBehavior; - export type Phase = Stripe.SubscriptionSchedule.Phase; - export type Status = Stripe.SubscriptionSchedule.Status; + export type BillingMode = Stripe_.SubscriptionSchedule.BillingMode; + export type CurrentPhase = Stripe_.SubscriptionSchedule.CurrentPhase; + export type DefaultSettings = Stripe_.SubscriptionSchedule.DefaultSettings; + export type EndBehavior = Stripe_.SubscriptionSchedule.EndBehavior; + export type Phase = Stripe_.SubscriptionSchedule.Phase; + export type Status = Stripe_.SubscriptionSchedule.Status; export namespace BillingMode { - export type Flexible = Stripe.SubscriptionSchedule.BillingMode.Flexible; - export type Type = Stripe.SubscriptionSchedule.BillingMode.Type; + export type Flexible = Stripe_.SubscriptionSchedule.BillingMode.Flexible; + export type Type = Stripe_.SubscriptionSchedule.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.SubscriptionSchedule.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.SubscriptionSchedule.BillingMode.Flexible.ProrationDiscounts; } } export namespace DefaultSettings { - export type AutomaticTax = Stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax; - export type BillingCycleAnchor = Stripe.SubscriptionSchedule.DefaultSettings.BillingCycleAnchor; - export type BillingThresholds = Stripe.SubscriptionSchedule.DefaultSettings.BillingThresholds; - export type CollectionMethod = Stripe.SubscriptionSchedule.DefaultSettings.CollectionMethod; - export type InvoiceSettings = Stripe.SubscriptionSchedule.DefaultSettings.InvoiceSettings; - export type TransferData = Stripe.SubscriptionSchedule.DefaultSettings.TransferData; + export type AutomaticTax = Stripe_.SubscriptionSchedule.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionSchedule.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionSchedule.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionSchedule.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe_.SubscriptionSchedule.DefaultSettings.InvoiceSettings; + export type TransferData = Stripe_.SubscriptionSchedule.DefaultSettings.TransferData; export namespace AutomaticTax { - export type Liability = Stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax.Liability; + export type Liability = Stripe_.SubscriptionSchedule.DefaultSettings.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax.Liability.Type; + export type Type = Stripe_.SubscriptionSchedule.DefaultSettings.AutomaticTax.Liability.Type; } } export namespace InvoiceSettings { - export type Issuer = Stripe.SubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer; + export type Issuer = Stripe_.SubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.SubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.SubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer.Type; } } } export namespace Phase { - export type AddInvoiceItem = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem; - export type AutomaticTax = Stripe.SubscriptionSchedule.Phase.AutomaticTax; - export type BillingCycleAnchor = Stripe.SubscriptionSchedule.Phase.BillingCycleAnchor; - export type BillingThresholds = Stripe.SubscriptionSchedule.Phase.BillingThresholds; - export type CollectionMethod = Stripe.SubscriptionSchedule.Phase.CollectionMethod; - export type Discount = Stripe.SubscriptionSchedule.Phase.Discount; - export type InvoiceSettings = Stripe.SubscriptionSchedule.Phase.InvoiceSettings; - export type Item = Stripe.SubscriptionSchedule.Phase.Item; - export type ProrationBehavior = Stripe.SubscriptionSchedule.Phase.ProrationBehavior; - export type TransferData = Stripe.SubscriptionSchedule.Phase.TransferData; + export type AddInvoiceItem = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionSchedule.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionSchedule.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionSchedule.Phase.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionSchedule.Phase.CollectionMethod; + export type Discount = Stripe_.SubscriptionSchedule.Phase.Discount; + export type InvoiceSettings = Stripe_.SubscriptionSchedule.Phase.InvoiceSettings; + export type Item = Stripe_.SubscriptionSchedule.Phase.Item; + export type ProrationBehavior = Stripe_.SubscriptionSchedule.Phase.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionSchedule.Phase.TransferData; export namespace AddInvoiceItem { - export type Discount = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Discount; - export type Period = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period; + export type Discount = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period; export namespace Period { - export type End = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period.End; - export type Start = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period.Start; + export type End = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period.Start; export namespace End { - export type Type = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period.End.Type; + export type Type = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period.End.Type; } export namespace Start { - export type Type = Stripe.SubscriptionSchedule.Phase.AddInvoiceItem.Period.Start.Type; + export type Type = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period.Start.Type; } } } export namespace AutomaticTax { - export type Liability = Stripe.SubscriptionSchedule.Phase.AutomaticTax.Liability; + export type Liability = Stripe_.SubscriptionSchedule.Phase.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.SubscriptionSchedule.Phase.AutomaticTax.Liability.Type; + export type Type = Stripe_.SubscriptionSchedule.Phase.AutomaticTax.Liability.Type; } } export namespace InvoiceSettings { - export type Issuer = Stripe.SubscriptionSchedule.Phase.InvoiceSettings.Issuer; + export type Issuer = Stripe_.SubscriptionSchedule.Phase.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.SubscriptionSchedule.Phase.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.SubscriptionSchedule.Phase.InvoiceSettings.Issuer.Type; } } export namespace Item { - export type BillingThresholds = Stripe.SubscriptionSchedule.Phase.Item.BillingThresholds; - export type Discount = Stripe.SubscriptionSchedule.Phase.Item.Discount; + export type BillingThresholds = Stripe_.SubscriptionSchedule.Phase.Item.BillingThresholds; + export type Discount = Stripe_.SubscriptionSchedule.Phase.Item.Discount; } } } export namespace TaxIdCreateParams { - export type Type = Stripe.TaxIdCreateParams.Type; - export type Owner = Stripe.TaxIdCreateParams.Owner; + export type Type = Stripe_.TaxIdCreateParams.Type; + export type Owner = Stripe_.TaxIdCreateParams.Owner; export namespace Owner { - export type Type = Stripe.TaxIdCreateParams.Owner.Type; + export type Type = Stripe_.TaxIdCreateParams.Owner.Type; } } export namespace TaxIdListParams { - export type Owner = Stripe.TaxIdListParams.Owner; + export type Owner = Stripe_.TaxIdListParams.Owner; export namespace Owner { - export type Type = Stripe.TaxIdListParams.Owner.Type; + export type Type = Stripe_.TaxIdListParams.Owner.Type; } } export namespace TaxId { - export type Owner = Stripe.TaxId.Owner; - export type Type = Stripe.TaxId.Type; - export type Verification = Stripe.TaxId.Verification; + export type Owner = Stripe_.TaxId.Owner; + export type Type = Stripe_.TaxId.Type; + export type Verification = Stripe_.TaxId.Verification; export namespace Owner { - export type Type = Stripe.TaxId.Owner.Type; + export type Type = Stripe_.TaxId.Owner.Type; } export namespace Verification { - export type Status = Stripe.TaxId.Verification.Status; + export type Status = Stripe_.TaxId.Verification.Status; } } export namespace TaxRateCreateParams { - export type TaxType = Stripe.TaxRateCreateParams.TaxType; + export type TaxType = Stripe_.TaxRateCreateParams.TaxType; } export namespace TaxRateUpdateParams { - export type TaxType = Stripe.TaxRateUpdateParams.TaxType; + export type TaxType = Stripe_.TaxRateUpdateParams.TaxType; } export namespace TaxRate { - export type FlatAmount = Stripe.TaxRate.FlatAmount; - export type JurisdictionLevel = Stripe.TaxRate.JurisdictionLevel; - export type RateType = Stripe.TaxRate.RateType; - export type TaxType = Stripe.TaxRate.TaxType; + export type FlatAmount = Stripe_.TaxRate.FlatAmount; + export type JurisdictionLevel = Stripe_.TaxRate.JurisdictionLevel; + export type RateType = Stripe_.TaxRate.RateType; + export type TaxType = Stripe_.TaxRate.TaxType; } export namespace TokenCreateParams { - export type Account = Stripe.TokenCreateParams.Account; - export type BankAccount = Stripe.TokenCreateParams.BankAccount; - export type Card = Stripe.TokenCreateParams.Card; - export type CvcUpdate = Stripe.TokenCreateParams.CvcUpdate; - export type Person = Stripe.TokenCreateParams.Person; - export type Pii = Stripe.TokenCreateParams.Pii; + export type Account = Stripe_.TokenCreateParams.Account; + export type BankAccount = Stripe_.TokenCreateParams.BankAccount; + export type Card = Stripe_.TokenCreateParams.Card; + export type CvcUpdate = Stripe_.TokenCreateParams.CvcUpdate; + export type Person = Stripe_.TokenCreateParams.Person; + export type Pii = Stripe_.TokenCreateParams.Pii; export namespace Account { - export type BusinessType = Stripe.TokenCreateParams.Account.BusinessType; - export type Company = Stripe.TokenCreateParams.Account.Company; - export type Individual = Stripe.TokenCreateParams.Account.Individual; + export type BusinessType = Stripe_.TokenCreateParams.Account.BusinessType; + export type Company = Stripe_.TokenCreateParams.Account.Company; + export type Individual = Stripe_.TokenCreateParams.Account.Individual; export namespace Company { - export type DirectorshipDeclaration = Stripe.TokenCreateParams.Account.Company.DirectorshipDeclaration; - export type OwnershipDeclaration = Stripe.TokenCreateParams.Account.Company.OwnershipDeclaration; - export type OwnershipExemptionReason = Stripe.TokenCreateParams.Account.Company.OwnershipExemptionReason; - export type RegistrationDate = Stripe.TokenCreateParams.Account.Company.RegistrationDate; - export type RepresentativeDeclaration = Stripe.TokenCreateParams.Account.Company.RepresentativeDeclaration; - export type Structure = Stripe.TokenCreateParams.Account.Company.Structure; - export type Verification = Stripe.TokenCreateParams.Account.Company.Verification; + export type DirectorshipDeclaration = Stripe_.TokenCreateParams.Account.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.TokenCreateParams.Account.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe_.TokenCreateParams.Account.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe_.TokenCreateParams.Account.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe_.TokenCreateParams.Account.Company.RepresentativeDeclaration; + export type Structure = Stripe_.TokenCreateParams.Account.Company.Structure; + export type Verification = Stripe_.TokenCreateParams.Account.Company.Verification; export namespace Verification { - export type Document = Stripe.TokenCreateParams.Account.Company.Verification.Document; + export type Document = Stripe_.TokenCreateParams.Account.Company.Verification.Document; } } export namespace Individual { - export type Dob = Stripe.TokenCreateParams.Account.Individual.Dob; - export type PoliticalExposure = Stripe.TokenCreateParams.Account.Individual.PoliticalExposure; - export type Relationship = Stripe.TokenCreateParams.Account.Individual.Relationship; - export type Verification = Stripe.TokenCreateParams.Account.Individual.Verification; + export type Dob = Stripe_.TokenCreateParams.Account.Individual.Dob; + export type PoliticalExposure = Stripe_.TokenCreateParams.Account.Individual.PoliticalExposure; + export type Relationship = Stripe_.TokenCreateParams.Account.Individual.Relationship; + export type Verification = Stripe_.TokenCreateParams.Account.Individual.Verification; export namespace Verification { - export type AdditionalDocument = Stripe.TokenCreateParams.Account.Individual.Verification.AdditionalDocument; - export type Document = Stripe.TokenCreateParams.Account.Individual.Verification.Document; + export type AdditionalDocument = Stripe_.TokenCreateParams.Account.Individual.Verification.AdditionalDocument; + export type Document = Stripe_.TokenCreateParams.Account.Individual.Verification.Document; } } } export namespace BankAccount { - export type AccountHolderType = Stripe.TokenCreateParams.BankAccount.AccountHolderType; - export type AccountType = Stripe.TokenCreateParams.BankAccount.AccountType; + export type AccountHolderType = Stripe_.TokenCreateParams.BankAccount.AccountHolderType; + export type AccountType = Stripe_.TokenCreateParams.BankAccount.AccountType; } export namespace Card { - export type Networks = Stripe.TokenCreateParams.Card.Networks; + export type Networks = Stripe_.TokenCreateParams.Card.Networks; export namespace Networks { - export type Preferred = Stripe.TokenCreateParams.Card.Networks.Preferred; + export type Preferred = Stripe_.TokenCreateParams.Card.Networks.Preferred; } } export namespace Person { - export type AdditionalTosAcceptances = Stripe.TokenCreateParams.Person.AdditionalTosAcceptances; - export type Dob = Stripe.TokenCreateParams.Person.Dob; - export type Documents = Stripe.TokenCreateParams.Person.Documents; - export type PoliticalExposure = Stripe.TokenCreateParams.Person.PoliticalExposure; - export type Relationship = Stripe.TokenCreateParams.Person.Relationship; - export type UsCfpbData = Stripe.TokenCreateParams.Person.UsCfpbData; - export type Verification = Stripe.TokenCreateParams.Person.Verification; + export type AdditionalTosAcceptances = Stripe_.TokenCreateParams.Person.AdditionalTosAcceptances; + export type Dob = Stripe_.TokenCreateParams.Person.Dob; + export type Documents = Stripe_.TokenCreateParams.Person.Documents; + export type PoliticalExposure = Stripe_.TokenCreateParams.Person.PoliticalExposure; + export type Relationship = Stripe_.TokenCreateParams.Person.Relationship; + export type UsCfpbData = Stripe_.TokenCreateParams.Person.UsCfpbData; + export type Verification = Stripe_.TokenCreateParams.Person.Verification; export namespace AdditionalTosAcceptances { - export type Account = Stripe.TokenCreateParams.Person.AdditionalTosAcceptances.Account; + export type Account = Stripe_.TokenCreateParams.Person.AdditionalTosAcceptances.Account; } export namespace Documents { - export type CompanyAuthorization = Stripe.TokenCreateParams.Person.Documents.CompanyAuthorization; - export type Passport = Stripe.TokenCreateParams.Person.Documents.Passport; - export type Visa = Stripe.TokenCreateParams.Person.Documents.Visa; + export type CompanyAuthorization = Stripe_.TokenCreateParams.Person.Documents.CompanyAuthorization; + export type Passport = Stripe_.TokenCreateParams.Person.Documents.Passport; + export type Visa = Stripe_.TokenCreateParams.Person.Documents.Visa; } export namespace UsCfpbData { - export type EthnicityDetails = Stripe.TokenCreateParams.Person.UsCfpbData.EthnicityDetails; - export type RaceDetails = Stripe.TokenCreateParams.Person.UsCfpbData.RaceDetails; + export type EthnicityDetails = Stripe_.TokenCreateParams.Person.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe_.TokenCreateParams.Person.UsCfpbData.RaceDetails; export namespace EthnicityDetails { - export type Ethnicity = Stripe.TokenCreateParams.Person.UsCfpbData.EthnicityDetails.Ethnicity; + export type Ethnicity = Stripe_.TokenCreateParams.Person.UsCfpbData.EthnicityDetails.Ethnicity; } export namespace RaceDetails { - export type Race = Stripe.TokenCreateParams.Person.UsCfpbData.RaceDetails.Race; + export type Race = Stripe_.TokenCreateParams.Person.UsCfpbData.RaceDetails.Race; } } export namespace Verification { - export type AdditionalDocument = Stripe.TokenCreateParams.Person.Verification.AdditionalDocument; - export type Document = Stripe.TokenCreateParams.Person.Verification.Document; + export type AdditionalDocument = Stripe_.TokenCreateParams.Person.Verification.AdditionalDocument; + export type Document = Stripe_.TokenCreateParams.Person.Verification.Document; } } } export namespace TopupListParams { - export type Status = Stripe.TopupListParams.Status; + export type Status = Stripe_.TopupListParams.Status; } export namespace Topup { - export type Status = Stripe.Topup.Status; + export type Status = Stripe_.Topup.Status; } export namespace TransferCreateParams { - export type SourceType = Stripe.TransferCreateParams.SourceType; + export type SourceType = Stripe_.TransferCreateParams.SourceType; } export namespace WebhookEndpointCreateParams { - export type EnabledEvent = Stripe.WebhookEndpointCreateParams.EnabledEvent; - export type ApiVersion = Stripe.WebhookEndpointCreateParams.ApiVersion; + export type EnabledEvent = Stripe_.WebhookEndpointCreateParams.EnabledEvent; + export type ApiVersion = Stripe_.WebhookEndpointCreateParams.ApiVersion; } export namespace WebhookEndpointUpdateParams { - export type EnabledEvent = Stripe.WebhookEndpointUpdateParams.EnabledEvent; + export type EnabledEvent = Stripe_.WebhookEndpointUpdateParams.EnabledEvent; } export namespace BankAccount { - export type AvailablePayoutMethod = Stripe.BankAccount.AvailablePayoutMethod; - export type FutureRequirements = Stripe.BankAccount.FutureRequirements; - export type Requirements = Stripe.BankAccount.Requirements; + export type AvailablePayoutMethod = Stripe_.BankAccount.AvailablePayoutMethod; + export type FutureRequirements = Stripe_.BankAccount.FutureRequirements; + export type Requirements = Stripe_.BankAccount.Requirements; export namespace FutureRequirements { - export type Error = Stripe.BankAccount.FutureRequirements.Error; + export type Error = Stripe_.BankAccount.FutureRequirements.Error; export namespace Error { - export type Code = Stripe.BankAccount.FutureRequirements.Error.Code; + export type Code = Stripe_.BankAccount.FutureRequirements.Error.Code; } } export namespace Requirements { - export type Error = Stripe.BankAccount.Requirements.Error; + export type Error = Stripe_.BankAccount.Requirements.Error; export namespace Error { - export type Code = Stripe.BankAccount.Requirements.Error.Code; + export type Code = Stripe_.BankAccount.Requirements.Error.Code; } } } export namespace Card { - export type AllowRedisplay = Stripe.Card.AllowRedisplay; - export type AvailablePayoutMethod = Stripe.Card.AvailablePayoutMethod; - export type Networks = Stripe.Card.Networks; - export type RegulatedStatus = Stripe.Card.RegulatedStatus; + export type AllowRedisplay = Stripe_.Card.AllowRedisplay; + export type AvailablePayoutMethod = Stripe_.Card.AvailablePayoutMethod; + export type Networks = Stripe_.Card.Networks; + export type RegulatedStatus = Stripe_.Card.RegulatedStatus; } export namespace DeletedDiscount { - export type Source = Stripe.DeletedDiscount.Source; + export type Source = Stripe_.DeletedDiscount.Source; } export namespace Discount { - export type Source = Stripe.Discount.Source; + export type Source = Stripe_.Discount.Source; } export namespace FundingInstructions { - export type BankTransfer = Stripe.FundingInstructions.BankTransfer; + export type BankTransfer = Stripe_.FundingInstructions.BankTransfer; export namespace BankTransfer { - export type FinancialAddress = Stripe.FundingInstructions.BankTransfer.FinancialAddress; - export type Type = Stripe.FundingInstructions.BankTransfer.Type; + export type FinancialAddress = Stripe_.FundingInstructions.BankTransfer.FinancialAddress; + export type Type = Stripe_.FundingInstructions.BankTransfer.Type; export namespace FinancialAddress { - export type Aba = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba; - export type Iban = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban; - export type SortCode = Stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode; - export type Spei = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei; - export type SupportedNetwork = Stripe.FundingInstructions.BankTransfer.FinancialAddress.SupportedNetwork; - export type Swift = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift; - export type Type = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Type; - export type Zengin = Stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin; + export type Aba = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Aba; + export type Iban = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Iban; + export type SortCode = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.SortCode; + export type Spei = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Spei; + export type SupportedNetwork = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.SupportedNetwork; + export type Swift = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Swift; + export type Type = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Type; + export type Zengin = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Zengin; } } } export namespace LineItem { - export type AdjustableQuantity = Stripe.LineItem.AdjustableQuantity; - export type Discount = Stripe.LineItem.Discount; - export type Tax = Stripe.LineItem.Tax; + export type AdjustableQuantity = Stripe_.LineItem.AdjustableQuantity; + export type Discount = Stripe_.LineItem.Discount; + export type Tax = Stripe_.LineItem.Tax; export namespace Tax { - export type TaxabilityReason = Stripe.LineItem.Tax.TaxabilityReason; + export type TaxabilityReason = Stripe_.LineItem.Tax.TaxabilityReason; } } export namespace SourceMandateNotification { - export type AcssDebit = Stripe.SourceMandateNotification.AcssDebit; - export type BacsDebit = Stripe.SourceMandateNotification.BacsDebit; - export type SepaDebit = Stripe.SourceMandateNotification.SepaDebit; + export type AcssDebit = Stripe_.SourceMandateNotification.AcssDebit; + export type BacsDebit = Stripe_.SourceMandateNotification.BacsDebit; + export type SepaDebit = Stripe_.SourceMandateNotification.SepaDebit; } export namespace SourceTransaction { - export type AchCreditTransfer = Stripe.SourceTransaction.AchCreditTransfer; - export type ChfCreditTransfer = Stripe.SourceTransaction.ChfCreditTransfer; - export type GbpCreditTransfer = Stripe.SourceTransaction.GbpCreditTransfer; - export type PaperCheck = Stripe.SourceTransaction.PaperCheck; - export type SepaCreditTransfer = Stripe.SourceTransaction.SepaCreditTransfer; - export type Type = Stripe.SourceTransaction.Type; + export type AchCreditTransfer = Stripe_.SourceTransaction.AchCreditTransfer; + export type ChfCreditTransfer = Stripe_.SourceTransaction.ChfCreditTransfer; + export type GbpCreditTransfer = Stripe_.SourceTransaction.GbpCreditTransfer; + export type PaperCheck = Stripe_.SourceTransaction.PaperCheck; + export type SepaCreditTransfer = Stripe_.SourceTransaction.SepaCreditTransfer; + export type Type = Stripe_.SourceTransaction.Type; } export namespace Capability { - export type FutureRequirements = Stripe.Capability.FutureRequirements; - export type Requirements = Stripe.Capability.Requirements; - export type Status = Stripe.Capability.Status; + export type FutureRequirements = Stripe_.Capability.FutureRequirements; + export type Requirements = Stripe_.Capability.Requirements; + export type Status = Stripe_.Capability.Status; export namespace FutureRequirements { - export type Alternative = Stripe.Capability.FutureRequirements.Alternative; - export type DisabledReason = Stripe.Capability.FutureRequirements.DisabledReason; - export type Error = Stripe.Capability.FutureRequirements.Error; + export type Alternative = Stripe_.Capability.FutureRequirements.Alternative; + export type DisabledReason = Stripe_.Capability.FutureRequirements.DisabledReason; + export type Error = Stripe_.Capability.FutureRequirements.Error; export namespace Error { - export type Code = Stripe.Capability.FutureRequirements.Error.Code; + export type Code = Stripe_.Capability.FutureRequirements.Error.Code; } } export namespace Requirements { - export type Alternative = Stripe.Capability.Requirements.Alternative; - export type DisabledReason = Stripe.Capability.Requirements.DisabledReason; - export type Error = Stripe.Capability.Requirements.Error; + export type Alternative = Stripe_.Capability.Requirements.Alternative; + export type DisabledReason = Stripe_.Capability.Requirements.DisabledReason; + export type Error = Stripe_.Capability.Requirements.Error; export namespace Error { - export type Code = Stripe.Capability.Requirements.Error.Code; + export type Code = Stripe_.Capability.Requirements.Error.Code; } } } export namespace Person { - export type AdditionalTosAcceptances = Stripe.Person.AdditionalTosAcceptances; - export type AddressKana = Stripe.Person.AddressKana; - export type AddressKanji = Stripe.Person.AddressKanji; - export type Dob = Stripe.Person.Dob; - export type FutureRequirements = Stripe.Person.FutureRequirements; - export type PoliticalExposure = Stripe.Person.PoliticalExposure; - export type Relationship = Stripe.Person.Relationship; - export type Requirements = Stripe.Person.Requirements; - export type UsCfpbData = Stripe.Person.UsCfpbData; - export type Verification = Stripe.Person.Verification; + export type AdditionalTosAcceptances = Stripe_.Person.AdditionalTosAcceptances; + export type AddressKana = Stripe_.Person.AddressKana; + export type AddressKanji = Stripe_.Person.AddressKanji; + export type Dob = Stripe_.Person.Dob; + export type FutureRequirements = Stripe_.Person.FutureRequirements; + export type PoliticalExposure = Stripe_.Person.PoliticalExposure; + export type Relationship = Stripe_.Person.Relationship; + export type Requirements = Stripe_.Person.Requirements; + export type UsCfpbData = Stripe_.Person.UsCfpbData; + export type Verification = Stripe_.Person.Verification; export namespace AdditionalTosAcceptances { - export type Account = Stripe.Person.AdditionalTosAcceptances.Account; + export type Account = Stripe_.Person.AdditionalTosAcceptances.Account; } export namespace FutureRequirements { - export type Alternative = Stripe.Person.FutureRequirements.Alternative; - export type Error = Stripe.Person.FutureRequirements.Error; + export type Alternative = Stripe_.Person.FutureRequirements.Alternative; + export type Error = Stripe_.Person.FutureRequirements.Error; export namespace Error { - export type Code = Stripe.Person.FutureRequirements.Error.Code; + export type Code = Stripe_.Person.FutureRequirements.Error.Code; } } export namespace Requirements { - export type Alternative = Stripe.Person.Requirements.Alternative; - export type Error = Stripe.Person.Requirements.Error; + export type Alternative = Stripe_.Person.Requirements.Alternative; + export type Error = Stripe_.Person.Requirements.Error; export namespace Error { - export type Code = Stripe.Person.Requirements.Error.Code; + export type Code = Stripe_.Person.Requirements.Error.Code; } } export namespace UsCfpbData { - export type EthnicityDetails = Stripe.Person.UsCfpbData.EthnicityDetails; - export type RaceDetails = Stripe.Person.UsCfpbData.RaceDetails; + export type EthnicityDetails = Stripe_.Person.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe_.Person.UsCfpbData.RaceDetails; export namespace EthnicityDetails { - export type Ethnicity = Stripe.Person.UsCfpbData.EthnicityDetails.Ethnicity; + export type Ethnicity = Stripe_.Person.UsCfpbData.EthnicityDetails.Ethnicity; } export namespace RaceDetails { - export type Race = Stripe.Person.UsCfpbData.RaceDetails.Race; + export type Race = Stripe_.Person.UsCfpbData.RaceDetails.Race; } } export namespace Verification { - export type AdditionalDocument = Stripe.Person.Verification.AdditionalDocument; - export type Document = Stripe.Person.Verification.Document; + export type AdditionalDocument = Stripe_.Person.Verification.AdditionalDocument; + export type Document = Stripe_.Person.Verification.Document; } } export namespace CreditNoteLineItem { - export type DiscountAmount = Stripe.CreditNoteLineItem.DiscountAmount; - export type PretaxCreditAmount = Stripe.CreditNoteLineItem.PretaxCreditAmount; - export type Tax = Stripe.CreditNoteLineItem.Tax; - export type Type = Stripe.CreditNoteLineItem.Type; + export type DiscountAmount = Stripe_.CreditNoteLineItem.DiscountAmount; + export type PretaxCreditAmount = Stripe_.CreditNoteLineItem.PretaxCreditAmount; + export type Tax = Stripe_.CreditNoteLineItem.Tax; + export type Type = Stripe_.CreditNoteLineItem.Type; export namespace PretaxCreditAmount { - export type Type = Stripe.CreditNoteLineItem.PretaxCreditAmount.Type; + export type Type = Stripe_.CreditNoteLineItem.PretaxCreditAmount.Type; } export namespace Tax { - export type TaxBehavior = Stripe.CreditNoteLineItem.Tax.TaxBehavior; - export type TaxRateDetails = Stripe.CreditNoteLineItem.Tax.TaxRateDetails; - export type TaxabilityReason = Stripe.CreditNoteLineItem.Tax.TaxabilityReason; + export type TaxBehavior = Stripe_.CreditNoteLineItem.Tax.TaxBehavior; + export type TaxRateDetails = Stripe_.CreditNoteLineItem.Tax.TaxRateDetails; + export type TaxabilityReason = Stripe_.CreditNoteLineItem.Tax.TaxabilityReason; } } export namespace CustomerBalanceTransaction { - export type Type = Stripe.CustomerBalanceTransaction.Type; + export type Type = Stripe_.CustomerBalanceTransaction.Type; } export namespace CashBalance { - export type Settings = Stripe.CashBalance.Settings; + export type Settings = Stripe_.CashBalance.Settings; export namespace Settings { - export type ReconciliationMode = Stripe.CashBalance.Settings.ReconciliationMode; + export type ReconciliationMode = Stripe_.CashBalance.Settings.ReconciliationMode; } } export namespace CustomerCashBalanceTransaction { - export type AdjustedForOverdraft = Stripe.CustomerCashBalanceTransaction.AdjustedForOverdraft; - export type AppliedToPayment = Stripe.CustomerCashBalanceTransaction.AppliedToPayment; - export type Funded = Stripe.CustomerCashBalanceTransaction.Funded; - export type RefundedFromPayment = Stripe.CustomerCashBalanceTransaction.RefundedFromPayment; - export type TransferredToBalance = Stripe.CustomerCashBalanceTransaction.TransferredToBalance; - export type Type = Stripe.CustomerCashBalanceTransaction.Type; - export type UnappliedFromPayment = Stripe.CustomerCashBalanceTransaction.UnappliedFromPayment; + export type AdjustedForOverdraft = Stripe_.CustomerCashBalanceTransaction.AdjustedForOverdraft; + export type AppliedToPayment = Stripe_.CustomerCashBalanceTransaction.AppliedToPayment; + export type Funded = Stripe_.CustomerCashBalanceTransaction.Funded; + export type RefundedFromPayment = Stripe_.CustomerCashBalanceTransaction.RefundedFromPayment; + export type TransferredToBalance = Stripe_.CustomerCashBalanceTransaction.TransferredToBalance; + export type Type = Stripe_.CustomerCashBalanceTransaction.Type; + export type UnappliedFromPayment = Stripe_.CustomerCashBalanceTransaction.UnappliedFromPayment; export namespace Funded { - export type BankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer; + export type BankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.EuBankTransfer; - export type GbBankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.GbBankTransfer; - export type JpBankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.JpBankTransfer; - export type Type = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.Type; - export type UsBankTransfer = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer; + export type EuBankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.EuBankTransfer; + export type GbBankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.GbBankTransfer; + export type JpBankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.JpBankTransfer; + export type Type = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.Type; + export type UsBankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer; export namespace UsBankTransfer { - export type Network = Stripe.CustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer.Network; + export type Network = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer.Network; } } } } export namespace InvoiceLineItem { - export type DiscountAmount = Stripe.InvoiceLineItem.DiscountAmount; - export type Parent = Stripe.InvoiceLineItem.Parent; - export type Period = Stripe.InvoiceLineItem.Period; - export type PretaxCreditAmount = Stripe.InvoiceLineItem.PretaxCreditAmount; - export type Pricing = Stripe.InvoiceLineItem.Pricing; - export type Tax = Stripe.InvoiceLineItem.Tax; + export type DiscountAmount = Stripe_.InvoiceLineItem.DiscountAmount; + export type Parent = Stripe_.InvoiceLineItem.Parent; + export type Period = Stripe_.InvoiceLineItem.Period; + export type PretaxCreditAmount = Stripe_.InvoiceLineItem.PretaxCreditAmount; + export type Pricing = Stripe_.InvoiceLineItem.Pricing; + export type Tax = Stripe_.InvoiceLineItem.Tax; export namespace Parent { - export type InvoiceItemDetails = Stripe.InvoiceLineItem.Parent.InvoiceItemDetails; - export type SubscriptionItemDetails = Stripe.InvoiceLineItem.Parent.SubscriptionItemDetails; - export type Type = Stripe.InvoiceLineItem.Parent.Type; + export type InvoiceItemDetails = Stripe_.InvoiceLineItem.Parent.InvoiceItemDetails; + export type SubscriptionItemDetails = Stripe_.InvoiceLineItem.Parent.SubscriptionItemDetails; + export type Type = Stripe_.InvoiceLineItem.Parent.Type; export namespace InvoiceItemDetails { - export type ProrationDetails = Stripe.InvoiceLineItem.Parent.InvoiceItemDetails.ProrationDetails; + export type ProrationDetails = Stripe_.InvoiceLineItem.Parent.InvoiceItemDetails.ProrationDetails; export namespace ProrationDetails { - export type CreditedItems = Stripe.InvoiceLineItem.Parent.InvoiceItemDetails.ProrationDetails.CreditedItems; + export type CreditedItems = Stripe_.InvoiceLineItem.Parent.InvoiceItemDetails.ProrationDetails.CreditedItems; } } export namespace SubscriptionItemDetails { - export type ProrationDetails = Stripe.InvoiceLineItem.Parent.SubscriptionItemDetails.ProrationDetails; + export type ProrationDetails = Stripe_.InvoiceLineItem.Parent.SubscriptionItemDetails.ProrationDetails; export namespace ProrationDetails { - export type CreditedItems = Stripe.InvoiceLineItem.Parent.SubscriptionItemDetails.ProrationDetails.CreditedItems; + export type CreditedItems = Stripe_.InvoiceLineItem.Parent.SubscriptionItemDetails.ProrationDetails.CreditedItems; } } } export namespace PretaxCreditAmount { - export type Type = Stripe.InvoiceLineItem.PretaxCreditAmount.Type; + export type Type = Stripe_.InvoiceLineItem.PretaxCreditAmount.Type; } export namespace Pricing { - export type PriceDetails = Stripe.InvoiceLineItem.Pricing.PriceDetails; + export type PriceDetails = Stripe_.InvoiceLineItem.Pricing.PriceDetails; } export namespace Tax { - export type TaxBehavior = Stripe.InvoiceLineItem.Tax.TaxBehavior; - export type TaxRateDetails = Stripe.InvoiceLineItem.Tax.TaxRateDetails; - export type TaxabilityReason = Stripe.InvoiceLineItem.Tax.TaxabilityReason; + export type TaxBehavior = Stripe_.InvoiceLineItem.Tax.TaxBehavior; + export type TaxRateDetails = Stripe_.InvoiceLineItem.Tax.TaxRateDetails; + export type TaxabilityReason = Stripe_.InvoiceLineItem.Tax.TaxabilityReason; } } export namespace PaymentIntentAmountDetailsLineItem { - export type PaymentMethodOptions = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions; - export type Tax = Stripe.PaymentIntentAmountDetailsLineItem.Tax; + export type PaymentMethodOptions = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentAmountDetailsLineItem.Tax; export namespace PaymentMethodOptions { - export type Card = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Card; - export type CardPresent = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Klarna; - export type Paypal = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Paypal; + export type Card = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Paypal; export namespace Paypal { - export type Category = Stripe.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Paypal.Category; - } - } - } - export type Apps = Stripe.Apps; - export type Billing = Stripe.Billing; - export type BillingPortal = Stripe.BillingPortal; - export type Checkout = Stripe.Checkout; - export type Climate = Stripe.Climate; - export type Entitlements = Stripe.Entitlements; - export type FinancialConnections = Stripe.FinancialConnections; - export type Forwarding = Stripe.Forwarding; - export type Identity = Stripe.Identity; - export type Issuing = Stripe.Issuing; - export type Radar = Stripe.Radar; - export type Reporting = Stripe.Reporting; - export type Sigma = Stripe.Sigma; - export type Tax = Stripe.Tax; - export type Terminal = Stripe.Terminal; - export type TestHelpers = Stripe.TestHelpers; - export type Treasury = Stripe.Treasury; - export type V2 = Stripe.V2; - export type Reserve = Stripe.Reserve; + export type Category = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + export type Apps = Stripe_.Apps; + export type Billing = Stripe_.Billing; + export type BillingPortal = Stripe_.BillingPortal; + export type Checkout = Stripe_.Checkout; + export type Climate = Stripe_.Climate; + export type Entitlements = Stripe_.Entitlements; + export type FinancialConnections = Stripe_.FinancialConnections; + export type Forwarding = Stripe_.Forwarding; + export type Identity = Stripe_.Identity; + export type Issuing = Stripe_.Issuing; + export type Radar = Stripe_.Radar; + export type Reporting = Stripe_.Reporting; + export type Sigma = Stripe_.Sigma; + export type Tax = Stripe_.Tax; + export type Terminal = Stripe_.Terminal; + export type TestHelpers = Stripe_.TestHelpers; + export type Treasury = Stripe_.Treasury; + export type V2 = Stripe_.V2; + export type Reserve = Stripe_.Reserve; export namespace Apps { - export type Secret = Stripe.Apps.Secret; - export type SecretCreateParams = Stripe.Apps.SecretCreateParams; - export type SecretListParams = Stripe.Apps.SecretListParams; - export type SecretDeleteWhereParams = Stripe.Apps.SecretDeleteWhereParams; - export type SecretFindParams = Stripe.Apps.SecretFindParams; - export type SecretResource = Stripe.Apps.SecretResource; + export type Secret = Stripe_.Apps.Secret; + export type SecretCreateParams = Stripe_.Apps.SecretCreateParams; + export type SecretListParams = Stripe_.Apps.SecretListParams; + export type SecretDeleteWhereParams = Stripe_.Apps.SecretDeleteWhereParams; + export type SecretFindParams = Stripe_.Apps.SecretFindParams; + export type SecretResource = Stripe_.Apps.SecretResource; export namespace SecretCreateParams { - export type Scope = Stripe.Apps.SecretCreateParams.Scope; + export type Scope = Stripe_.Apps.SecretCreateParams.Scope; export namespace Scope { - export type Type = Stripe.Apps.SecretCreateParams.Scope.Type; + export type Type = Stripe_.Apps.SecretCreateParams.Scope.Type; } } export namespace Secret { - export type Scope = Stripe.Apps.Secret.Scope; + export type Scope = Stripe_.Apps.Secret.Scope; export namespace Scope { - export type Type = Stripe.Apps.Secret.Scope.Type; + export type Type = Stripe_.Apps.Secret.Scope.Type; } } } export namespace Billing { - export type Alert = Stripe.Billing.Alert; - export type AlertCreateParams = Stripe.Billing.AlertCreateParams; - export type AlertRetrieveParams = Stripe.Billing.AlertRetrieveParams; - export type AlertListParams = Stripe.Billing.AlertListParams; - export type AlertActivateParams = Stripe.Billing.AlertActivateParams; - export type AlertArchiveParams = Stripe.Billing.AlertArchiveParams; - export type AlertDeactivateParams = Stripe.Billing.AlertDeactivateParams; - export type AlertResource = Stripe.Billing.AlertResource; - export type CreditBalanceSummary = Stripe.Billing.CreditBalanceSummary; - export type CreditBalanceSummaryRetrieveParams = Stripe.Billing.CreditBalanceSummaryRetrieveParams; - export type CreditBalanceSummaryResource = Stripe.Billing.CreditBalanceSummaryResource; - export type CreditBalanceTransaction = Stripe.Billing.CreditBalanceTransaction; - export type CreditBalanceTransactionRetrieveParams = Stripe.Billing.CreditBalanceTransactionRetrieveParams; - export type CreditBalanceTransactionListParams = Stripe.Billing.CreditBalanceTransactionListParams; - export type CreditBalanceTransactionResource = Stripe.Billing.CreditBalanceTransactionResource; - export type CreditGrant = Stripe.Billing.CreditGrant; - export type CreditGrantCreateParams = Stripe.Billing.CreditGrantCreateParams; - export type CreditGrantRetrieveParams = Stripe.Billing.CreditGrantRetrieveParams; - export type CreditGrantUpdateParams = Stripe.Billing.CreditGrantUpdateParams; - export type CreditGrantListParams = Stripe.Billing.CreditGrantListParams; - export type CreditGrantExpireParams = Stripe.Billing.CreditGrantExpireParams; - export type CreditGrantVoidGrantParams = Stripe.Billing.CreditGrantVoidGrantParams; - export type CreditGrantResource = Stripe.Billing.CreditGrantResource; - export type Meter = Stripe.Billing.Meter; - export type MeterCreateParams = Stripe.Billing.MeterCreateParams; - export type MeterRetrieveParams = Stripe.Billing.MeterRetrieveParams; - export type MeterUpdateParams = Stripe.Billing.MeterUpdateParams; - export type MeterListParams = Stripe.Billing.MeterListParams; - export type MeterDeactivateParams = Stripe.Billing.MeterDeactivateParams; - export type MeterListEventSummariesParams = Stripe.Billing.MeterListEventSummariesParams; - export type MeterReactivateParams = Stripe.Billing.MeterReactivateParams; - export type MeterResource = Stripe.Billing.MeterResource; - export type MeterEvent = Stripe.Billing.MeterEvent; - export type MeterEventCreateParams = Stripe.Billing.MeterEventCreateParams; - export type MeterEventResource = Stripe.Billing.MeterEventResource; - export type MeterEventAdjustment = Stripe.Billing.MeterEventAdjustment; - export type MeterEventAdjustmentCreateParams = Stripe.Billing.MeterEventAdjustmentCreateParams; - export type MeterEventAdjustmentResource = Stripe.Billing.MeterEventAdjustmentResource; - export type AlertTriggered = Stripe.Billing.AlertTriggered; - export type MeterEventSummary = Stripe.Billing.MeterEventSummary; + export type Alert = Stripe_.Billing.Alert; + export type AlertCreateParams = Stripe_.Billing.AlertCreateParams; + export type AlertRetrieveParams = Stripe_.Billing.AlertRetrieveParams; + export type AlertListParams = Stripe_.Billing.AlertListParams; + export type AlertActivateParams = Stripe_.Billing.AlertActivateParams; + export type AlertArchiveParams = Stripe_.Billing.AlertArchiveParams; + export type AlertDeactivateParams = Stripe_.Billing.AlertDeactivateParams; + export type AlertResource = Stripe_.Billing.AlertResource; + export type CreditBalanceSummary = Stripe_.Billing.CreditBalanceSummary; + export type CreditBalanceSummaryRetrieveParams = Stripe_.Billing.CreditBalanceSummaryRetrieveParams; + export type CreditBalanceSummaryResource = Stripe_.Billing.CreditBalanceSummaryResource; + export type CreditBalanceTransaction = Stripe_.Billing.CreditBalanceTransaction; + export type CreditBalanceTransactionRetrieveParams = Stripe_.Billing.CreditBalanceTransactionRetrieveParams; + export type CreditBalanceTransactionListParams = Stripe_.Billing.CreditBalanceTransactionListParams; + export type CreditBalanceTransactionResource = Stripe_.Billing.CreditBalanceTransactionResource; + export type CreditGrant = Stripe_.Billing.CreditGrant; + export type CreditGrantCreateParams = Stripe_.Billing.CreditGrantCreateParams; + export type CreditGrantRetrieveParams = Stripe_.Billing.CreditGrantRetrieveParams; + export type CreditGrantUpdateParams = Stripe_.Billing.CreditGrantUpdateParams; + export type CreditGrantListParams = Stripe_.Billing.CreditGrantListParams; + export type CreditGrantExpireParams = Stripe_.Billing.CreditGrantExpireParams; + export type CreditGrantVoidGrantParams = Stripe_.Billing.CreditGrantVoidGrantParams; + export type CreditGrantResource = Stripe_.Billing.CreditGrantResource; + export type Meter = Stripe_.Billing.Meter; + export type MeterCreateParams = Stripe_.Billing.MeterCreateParams; + export type MeterRetrieveParams = Stripe_.Billing.MeterRetrieveParams; + export type MeterUpdateParams = Stripe_.Billing.MeterUpdateParams; + export type MeterListParams = Stripe_.Billing.MeterListParams; + export type MeterDeactivateParams = Stripe_.Billing.MeterDeactivateParams; + export type MeterListEventSummariesParams = Stripe_.Billing.MeterListEventSummariesParams; + export type MeterReactivateParams = Stripe_.Billing.MeterReactivateParams; + export type MeterResource = Stripe_.Billing.MeterResource; + export type MeterEvent = Stripe_.Billing.MeterEvent; + export type MeterEventCreateParams = Stripe_.Billing.MeterEventCreateParams; + export type MeterEventResource = Stripe_.Billing.MeterEventResource; + export type MeterEventAdjustment = Stripe_.Billing.MeterEventAdjustment; + export type MeterEventAdjustmentCreateParams = Stripe_.Billing.MeterEventAdjustmentCreateParams; + export type MeterEventAdjustmentResource = Stripe_.Billing.MeterEventAdjustmentResource; + export type AlertTriggered = Stripe_.Billing.AlertTriggered; + export type MeterEventSummary = Stripe_.Billing.MeterEventSummary; export namespace AlertCreateParams { - export type UsageThreshold = Stripe.Billing.AlertCreateParams.UsageThreshold; + export type UsageThreshold = Stripe_.Billing.AlertCreateParams.UsageThreshold; export namespace UsageThreshold { - export type Filter = Stripe.Billing.AlertCreateParams.UsageThreshold.Filter; + export type Filter = Stripe_.Billing.AlertCreateParams.UsageThreshold.Filter; } } export namespace Alert { - export type Status = Stripe.Billing.Alert.Status; - export type UsageThreshold = Stripe.Billing.Alert.UsageThreshold; + export type Status = Stripe_.Billing.Alert.Status; + export type UsageThreshold = Stripe_.Billing.Alert.UsageThreshold; export namespace UsageThreshold { - export type Filter = Stripe.Billing.Alert.UsageThreshold.Filter; + export type Filter = Stripe_.Billing.Alert.UsageThreshold.Filter; } } export namespace CreditBalanceSummaryRetrieveParams { - export type Filter = Stripe.Billing.CreditBalanceSummaryRetrieveParams.Filter; + export type Filter = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter; export namespace Filter { - export type ApplicabilityScope = Stripe.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope; - export type Type = Stripe.Billing.CreditBalanceSummaryRetrieveParams.Filter.Type; + export type ApplicabilityScope = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope; + export type Type = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter.Type; export namespace ApplicabilityScope { - export type Price = Stripe.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope.Price; + export type Price = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope.Price; } } } export namespace CreditBalanceSummary { - export type Balance = Stripe.Billing.CreditBalanceSummary.Balance; + export type Balance = Stripe_.Billing.CreditBalanceSummary.Balance; export namespace Balance { - export type AvailableBalance = Stripe.Billing.CreditBalanceSummary.Balance.AvailableBalance; - export type LedgerBalance = Stripe.Billing.CreditBalanceSummary.Balance.LedgerBalance; + export type AvailableBalance = Stripe_.Billing.CreditBalanceSummary.Balance.AvailableBalance; + export type LedgerBalance = Stripe_.Billing.CreditBalanceSummary.Balance.LedgerBalance; export namespace AvailableBalance { - export type Monetary = Stripe.Billing.CreditBalanceSummary.Balance.AvailableBalance.Monetary; + export type Monetary = Stripe_.Billing.CreditBalanceSummary.Balance.AvailableBalance.Monetary; } export namespace LedgerBalance { - export type Monetary = Stripe.Billing.CreditBalanceSummary.Balance.LedgerBalance.Monetary; + export type Monetary = Stripe_.Billing.CreditBalanceSummary.Balance.LedgerBalance.Monetary; } } } export namespace CreditBalanceTransaction { - export type Credit = Stripe.Billing.CreditBalanceTransaction.Credit; - export type Debit = Stripe.Billing.CreditBalanceTransaction.Debit; - export type Type = Stripe.Billing.CreditBalanceTransaction.Type; + export type Credit = Stripe_.Billing.CreditBalanceTransaction.Credit; + export type Debit = Stripe_.Billing.CreditBalanceTransaction.Debit; + export type Type = Stripe_.Billing.CreditBalanceTransaction.Type; export namespace Credit { - export type Amount = Stripe.Billing.CreditBalanceTransaction.Credit.Amount; - export type CreditsApplicationInvoiceVoided = Stripe.Billing.CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided; - export type Type = Stripe.Billing.CreditBalanceTransaction.Credit.Type; + export type Amount = Stripe_.Billing.CreditBalanceTransaction.Credit.Amount; + export type CreditsApplicationInvoiceVoided = Stripe_.Billing.CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided; + export type Type = Stripe_.Billing.CreditBalanceTransaction.Credit.Type; export namespace Amount { - export type Monetary = Stripe.Billing.CreditBalanceTransaction.Credit.Amount.Monetary; + export type Monetary = Stripe_.Billing.CreditBalanceTransaction.Credit.Amount.Monetary; } } export namespace Debit { - export type Amount = Stripe.Billing.CreditBalanceTransaction.Debit.Amount; - export type CreditsApplied = Stripe.Billing.CreditBalanceTransaction.Debit.CreditsApplied; - export type Type = Stripe.Billing.CreditBalanceTransaction.Debit.Type; + export type Amount = Stripe_.Billing.CreditBalanceTransaction.Debit.Amount; + export type CreditsApplied = Stripe_.Billing.CreditBalanceTransaction.Debit.CreditsApplied; + export type Type = Stripe_.Billing.CreditBalanceTransaction.Debit.Type; export namespace Amount { - export type Monetary = Stripe.Billing.CreditBalanceTransaction.Debit.Amount.Monetary; + export type Monetary = Stripe_.Billing.CreditBalanceTransaction.Debit.Amount.Monetary; } } } export namespace CreditGrantCreateParams { - export type Amount = Stripe.Billing.CreditGrantCreateParams.Amount; - export type ApplicabilityConfig = Stripe.Billing.CreditGrantCreateParams.ApplicabilityConfig; - export type Category = Stripe.Billing.CreditGrantCreateParams.Category; + export type Amount = Stripe_.Billing.CreditGrantCreateParams.Amount; + export type ApplicabilityConfig = Stripe_.Billing.CreditGrantCreateParams.ApplicabilityConfig; + export type Category = Stripe_.Billing.CreditGrantCreateParams.Category; export namespace Amount { - export type Monetary = Stripe.Billing.CreditGrantCreateParams.Amount.Monetary; + export type Monetary = Stripe_.Billing.CreditGrantCreateParams.Amount.Monetary; } export namespace ApplicabilityConfig { - export type Scope = Stripe.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope; + export type Scope = Stripe_.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope; export namespace Scope { - export type Price = Stripe.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope.Price; + export type Price = Stripe_.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope.Price; } } } export namespace CreditGrant { - export type Amount = Stripe.Billing.CreditGrant.Amount; - export type ApplicabilityConfig = Stripe.Billing.CreditGrant.ApplicabilityConfig; - export type Category = Stripe.Billing.CreditGrant.Category; + export type Amount = Stripe_.Billing.CreditGrant.Amount; + export type ApplicabilityConfig = Stripe_.Billing.CreditGrant.ApplicabilityConfig; + export type Category = Stripe_.Billing.CreditGrant.Category; export namespace Amount { - export type Monetary = Stripe.Billing.CreditGrant.Amount.Monetary; + export type Monetary = Stripe_.Billing.CreditGrant.Amount.Monetary; } export namespace ApplicabilityConfig { - export type Scope = Stripe.Billing.CreditGrant.ApplicabilityConfig.Scope; + export type Scope = Stripe_.Billing.CreditGrant.ApplicabilityConfig.Scope; export namespace Scope { - export type Price = Stripe.Billing.CreditGrant.ApplicabilityConfig.Scope.Price; + export type Price = Stripe_.Billing.CreditGrant.ApplicabilityConfig.Scope.Price; } } } export namespace MeterCreateParams { - export type DefaultAggregation = Stripe.Billing.MeterCreateParams.DefaultAggregation; - export type CustomerMapping = Stripe.Billing.MeterCreateParams.CustomerMapping; - export type EventTimeWindow = Stripe.Billing.MeterCreateParams.EventTimeWindow; - export type ValueSettings = Stripe.Billing.MeterCreateParams.ValueSettings; + export type DefaultAggregation = Stripe_.Billing.MeterCreateParams.DefaultAggregation; + export type CustomerMapping = Stripe_.Billing.MeterCreateParams.CustomerMapping; + export type EventTimeWindow = Stripe_.Billing.MeterCreateParams.EventTimeWindow; + export type ValueSettings = Stripe_.Billing.MeterCreateParams.ValueSettings; export namespace DefaultAggregation { - export type Formula = Stripe.Billing.MeterCreateParams.DefaultAggregation.Formula; + export type Formula = Stripe_.Billing.MeterCreateParams.DefaultAggregation.Formula; } } export namespace Meter { - export type CustomerMapping = Stripe.Billing.Meter.CustomerMapping; - export type DefaultAggregation = Stripe.Billing.Meter.DefaultAggregation; - export type EventTimeWindow = Stripe.Billing.Meter.EventTimeWindow; - export type Status = Stripe.Billing.Meter.Status; - export type StatusTransitions = Stripe.Billing.Meter.StatusTransitions; - export type ValueSettings = Stripe.Billing.Meter.ValueSettings; + export type CustomerMapping = Stripe_.Billing.Meter.CustomerMapping; + export type DefaultAggregation = Stripe_.Billing.Meter.DefaultAggregation; + export type EventTimeWindow = Stripe_.Billing.Meter.EventTimeWindow; + export type Status = Stripe_.Billing.Meter.Status; + export type StatusTransitions = Stripe_.Billing.Meter.StatusTransitions; + export type ValueSettings = Stripe_.Billing.Meter.ValueSettings; export namespace DefaultAggregation { - export type Formula = Stripe.Billing.Meter.DefaultAggregation.Formula; + export type Formula = Stripe_.Billing.Meter.DefaultAggregation.Formula; } } export namespace MeterEventAdjustmentCreateParams { - export type Cancel = Stripe.Billing.MeterEventAdjustmentCreateParams.Cancel; + export type Cancel = Stripe_.Billing.MeterEventAdjustmentCreateParams.Cancel; } export namespace MeterEventAdjustment { - export type Cancel = Stripe.Billing.MeterEventAdjustment.Cancel; - export type Status = Stripe.Billing.MeterEventAdjustment.Status; + export type Cancel = Stripe_.Billing.MeterEventAdjustment.Cancel; + export type Status = Stripe_.Billing.MeterEventAdjustment.Status; } } export namespace BillingPortal { - export type Configuration = Stripe.BillingPortal.Configuration; - export type ConfigurationCreateParams = Stripe.BillingPortal.ConfigurationCreateParams; - export type ConfigurationRetrieveParams = Stripe.BillingPortal.ConfigurationRetrieveParams; - export type ConfigurationUpdateParams = Stripe.BillingPortal.ConfigurationUpdateParams; - export type ConfigurationListParams = Stripe.BillingPortal.ConfigurationListParams; - export type ConfigurationResource = Stripe.BillingPortal.ConfigurationResource; - export type Session = Stripe.BillingPortal.Session; - export type SessionCreateParams = Stripe.BillingPortal.SessionCreateParams; - export type SessionResource = Stripe.BillingPortal.SessionResource; + export type Configuration = Stripe_.BillingPortal.Configuration; + export type ConfigurationCreateParams = Stripe_.BillingPortal.ConfigurationCreateParams; + export type ConfigurationRetrieveParams = Stripe_.BillingPortal.ConfigurationRetrieveParams; + export type ConfigurationUpdateParams = Stripe_.BillingPortal.ConfigurationUpdateParams; + export type ConfigurationListParams = Stripe_.BillingPortal.ConfigurationListParams; + export type ConfigurationResource = Stripe_.BillingPortal.ConfigurationResource; + export type Session = Stripe_.BillingPortal.Session; + export type SessionCreateParams = Stripe_.BillingPortal.SessionCreateParams; + export type SessionResource = Stripe_.BillingPortal.SessionResource; export namespace ConfigurationCreateParams { - export type Features = Stripe.BillingPortal.ConfigurationCreateParams.Features; - export type BusinessProfile = Stripe.BillingPortal.ConfigurationCreateParams.BusinessProfile; - export type LoginPage = Stripe.BillingPortal.ConfigurationCreateParams.LoginPage; + export type Features = Stripe_.BillingPortal.ConfigurationCreateParams.Features; + export type BusinessProfile = Stripe_.BillingPortal.ConfigurationCreateParams.BusinessProfile; + export type LoginPage = Stripe_.BillingPortal.ConfigurationCreateParams.LoginPage; export namespace Features { - export type CustomerUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.CustomerUpdate; - export type InvoiceHistory = Stripe.BillingPortal.ConfigurationCreateParams.Features.InvoiceHistory; - export type PaymentMethodUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.PaymentMethodUpdate; - export type SubscriptionCancel = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel; - export type SubscriptionUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate; + export type CustomerUpdate = Stripe_.BillingPortal.ConfigurationCreateParams.Features.CustomerUpdate; + export type InvoiceHistory = Stripe_.BillingPortal.ConfigurationCreateParams.Features.InvoiceHistory; + export type PaymentMethodUpdate = Stripe_.BillingPortal.ConfigurationCreateParams.Features.PaymentMethodUpdate; + export type SubscriptionCancel = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel; + export type SubscriptionUpdate = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate; export namespace CustomerUpdate { - export type AllowedUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.CustomerUpdate.AllowedUpdate; + export type AllowedUpdate = Stripe_.BillingPortal.ConfigurationCreateParams.Features.CustomerUpdate.AllowedUpdate; } export namespace SubscriptionCancel { - export type CancellationReason = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.CancellationReason; - export type Mode = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.Mode; - export type ProrationBehavior = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.ProrationBehavior; + export type CancellationReason = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.CancellationReason; + export type Mode = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.Mode; + export type ProrationBehavior = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.ProrationBehavior; export namespace CancellationReason { - export type Option = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.CancellationReason.Option; + export type Option = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionCancel.CancellationReason.Option; } } export namespace SubscriptionUpdate { - export type BillingCycleAnchor = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.BillingCycleAnchor; - export type DefaultAllowedUpdate = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.DefaultAllowedUpdate; - export type Product = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.Product; - export type ProrationBehavior = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ProrationBehavior; - export type ScheduleAtPeriodEnd = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd; - export type TrialUpdateBehavior = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.TrialUpdateBehavior; + export type BillingCycleAnchor = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.BillingCycleAnchor; + export type DefaultAllowedUpdate = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.DefaultAllowedUpdate; + export type Product = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.Product; + export type ProrationBehavior = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ProrationBehavior; + export type ScheduleAtPeriodEnd = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd; + export type TrialUpdateBehavior = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.TrialUpdateBehavior; export namespace Product { - export type AdjustableQuantity = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity; + export type AdjustableQuantity = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity; } export namespace ScheduleAtPeriodEnd { - export type Condition = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition; + export type Condition = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition; export namespace Condition { - export type Type = Stripe.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition.Type; + export type Type = Stripe_.BillingPortal.ConfigurationCreateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition.Type; } } } } } export namespace Configuration { - export type BusinessProfile = Stripe.BillingPortal.Configuration.BusinessProfile; - export type Features = Stripe.BillingPortal.Configuration.Features; - export type LoginPage = Stripe.BillingPortal.Configuration.LoginPage; + export type BusinessProfile = Stripe_.BillingPortal.Configuration.BusinessProfile; + export type Features = Stripe_.BillingPortal.Configuration.Features; + export type LoginPage = Stripe_.BillingPortal.Configuration.LoginPage; export namespace Features { - export type CustomerUpdate = Stripe.BillingPortal.Configuration.Features.CustomerUpdate; - export type InvoiceHistory = Stripe.BillingPortal.Configuration.Features.InvoiceHistory; - export type PaymentMethodUpdate = Stripe.BillingPortal.Configuration.Features.PaymentMethodUpdate; - export type SubscriptionCancel = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel; - export type SubscriptionUpdate = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate; + export type CustomerUpdate = Stripe_.BillingPortal.Configuration.Features.CustomerUpdate; + export type InvoiceHistory = Stripe_.BillingPortal.Configuration.Features.InvoiceHistory; + export type PaymentMethodUpdate = Stripe_.BillingPortal.Configuration.Features.PaymentMethodUpdate; + export type SubscriptionCancel = Stripe_.BillingPortal.Configuration.Features.SubscriptionCancel; + export type SubscriptionUpdate = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate; export namespace CustomerUpdate { - export type AllowedUpdate = Stripe.BillingPortal.Configuration.Features.CustomerUpdate.AllowedUpdate; + export type AllowedUpdate = Stripe_.BillingPortal.Configuration.Features.CustomerUpdate.AllowedUpdate; } export namespace SubscriptionCancel { - export type CancellationReason = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel.CancellationReason; - export type Mode = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel.Mode; - export type ProrationBehavior = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel.ProrationBehavior; + export type CancellationReason = Stripe_.BillingPortal.Configuration.Features.SubscriptionCancel.CancellationReason; + export type Mode = Stripe_.BillingPortal.Configuration.Features.SubscriptionCancel.Mode; + export type ProrationBehavior = Stripe_.BillingPortal.Configuration.Features.SubscriptionCancel.ProrationBehavior; export namespace CancellationReason { - export type Option = Stripe.BillingPortal.Configuration.Features.SubscriptionCancel.CancellationReason.Option; + export type Option = Stripe_.BillingPortal.Configuration.Features.SubscriptionCancel.CancellationReason.Option; } } export namespace SubscriptionUpdate { - export type BillingCycleAnchor = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.BillingCycleAnchor; - export type DefaultAllowedUpdate = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.DefaultAllowedUpdate; - export type Product = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.Product; - export type ProrationBehavior = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.ProrationBehavior; - export type ScheduleAtPeriodEnd = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd; - export type TrialUpdateBehavior = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.TrialUpdateBehavior; + export type BillingCycleAnchor = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.BillingCycleAnchor; + export type DefaultAllowedUpdate = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.DefaultAllowedUpdate; + export type Product = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.Product; + export type ProrationBehavior = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.ProrationBehavior; + export type ScheduleAtPeriodEnd = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd; + export type TrialUpdateBehavior = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.TrialUpdateBehavior; export namespace Product { - export type AdjustableQuantity = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.Product.AdjustableQuantity; + export type AdjustableQuantity = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.Product.AdjustableQuantity; } export namespace ScheduleAtPeriodEnd { - export type Condition = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition; + export type Condition = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition; export namespace Condition { - export type Type = Stripe.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition.Type; + export type Type = Stripe_.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition.Type; } } } } } export namespace SessionCreateParams { - export type FlowData = Stripe.BillingPortal.SessionCreateParams.FlowData; - export type Locale = Stripe.BillingPortal.SessionCreateParams.Locale; + export type FlowData = Stripe_.BillingPortal.SessionCreateParams.FlowData; + export type Locale = Stripe_.BillingPortal.SessionCreateParams.Locale; export namespace FlowData { - export type AfterCompletion = Stripe.BillingPortal.SessionCreateParams.FlowData.AfterCompletion; - export type SubscriptionCancel = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel; - export type SubscriptionUpdate = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdate; - export type SubscriptionUpdateConfirm = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm; - export type Type = Stripe.BillingPortal.SessionCreateParams.FlowData.Type; + export type AfterCompletion = Stripe_.BillingPortal.SessionCreateParams.FlowData.AfterCompletion; + export type SubscriptionCancel = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel; + export type SubscriptionUpdate = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdate; + export type SubscriptionUpdateConfirm = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm; + export type Type = Stripe_.BillingPortal.SessionCreateParams.FlowData.Type; export namespace AfterCompletion { - export type HostedConfirmation = Stripe.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation; - export type Redirect = Stripe.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.Redirect; - export type Type = Stripe.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.Type; + export type HostedConfirmation = Stripe_.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.Redirect; + export type Type = Stripe_.BillingPortal.SessionCreateParams.FlowData.AfterCompletion.Type; } export namespace SubscriptionCancel { - export type Retention = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel.Retention; + export type Retention = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel.Retention; export namespace Retention { - export type CouponOffer = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer; + export type CouponOffer = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer; } } export namespace SubscriptionUpdateConfirm { - export type Discount = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Discount; - export type Item = Stripe.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item; + export type Discount = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Discount; + export type Item = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item; } } } export namespace Session { - export type Flow = Stripe.BillingPortal.Session.Flow; - export type Locale = Stripe.BillingPortal.Session.Locale; + export type Flow = Stripe_.BillingPortal.Session.Flow; + export type Locale = Stripe_.BillingPortal.Session.Locale; export namespace Flow { - export type AfterCompletion = Stripe.BillingPortal.Session.Flow.AfterCompletion; - export type SubscriptionCancel = Stripe.BillingPortal.Session.Flow.SubscriptionCancel; - export type SubscriptionUpdate = Stripe.BillingPortal.Session.Flow.SubscriptionUpdate; - export type SubscriptionUpdateConfirm = Stripe.BillingPortal.Session.Flow.SubscriptionUpdateConfirm; - export type Type = Stripe.BillingPortal.Session.Flow.Type; + export type AfterCompletion = Stripe_.BillingPortal.Session.Flow.AfterCompletion; + export type SubscriptionCancel = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel; + export type SubscriptionUpdate = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdate; + export type SubscriptionUpdateConfirm = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm; + export type Type = Stripe_.BillingPortal.Session.Flow.Type; export namespace AfterCompletion { - export type HostedConfirmation = Stripe.BillingPortal.Session.Flow.AfterCompletion.HostedConfirmation; - export type Redirect = Stripe.BillingPortal.Session.Flow.AfterCompletion.Redirect; - export type Type = Stripe.BillingPortal.Session.Flow.AfterCompletion.Type; + export type HostedConfirmation = Stripe_.BillingPortal.Session.Flow.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.BillingPortal.Session.Flow.AfterCompletion.Redirect; + export type Type = Stripe_.BillingPortal.Session.Flow.AfterCompletion.Type; } export namespace SubscriptionCancel { - export type Retention = Stripe.BillingPortal.Session.Flow.SubscriptionCancel.Retention; + export type Retention = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel.Retention; export namespace Retention { - export type CouponOffer = Stripe.BillingPortal.Session.Flow.SubscriptionCancel.Retention.CouponOffer; + export type CouponOffer = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel.Retention.CouponOffer; } } export namespace SubscriptionUpdateConfirm { - export type Discount = Stripe.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Discount; - export type Item = Stripe.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Item; + export type Discount = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Discount; + export type Item = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Item; } } } } export namespace Checkout { - export type Session = Stripe.Checkout.Session; - export type SessionCreateParams = Stripe.Checkout.SessionCreateParams; - export type SessionRetrieveParams = Stripe.Checkout.SessionRetrieveParams; - export type SessionUpdateParams = Stripe.Checkout.SessionUpdateParams; - export type SessionListParams = Stripe.Checkout.SessionListParams; - export type SessionExpireParams = Stripe.Checkout.SessionExpireParams; - export type SessionListLineItemsParams = Stripe.Checkout.SessionListLineItemsParams; - export type SessionResource = Stripe.Checkout.SessionResource; + export type Session = Stripe_.Checkout.Session; + export type SessionCreateParams = Stripe_.Checkout.SessionCreateParams; + export type SessionRetrieveParams = Stripe_.Checkout.SessionRetrieveParams; + export type SessionUpdateParams = Stripe_.Checkout.SessionUpdateParams; + export type SessionListParams = Stripe_.Checkout.SessionListParams; + export type SessionExpireParams = Stripe_.Checkout.SessionExpireParams; + export type SessionListLineItemsParams = Stripe_.Checkout.SessionListLineItemsParams; + export type SessionResource = Stripe_.Checkout.SessionResource; export namespace SessionCreateParams { - export type AdaptivePricing = Stripe.Checkout.SessionCreateParams.AdaptivePricing; - export type AfterExpiration = Stripe.Checkout.SessionCreateParams.AfterExpiration; - export type AutomaticTax = Stripe.Checkout.SessionCreateParams.AutomaticTax; - export type BillingAddressCollection = Stripe.Checkout.SessionCreateParams.BillingAddressCollection; - export type BrandingSettings = Stripe.Checkout.SessionCreateParams.BrandingSettings; - export type ConsentCollection = Stripe.Checkout.SessionCreateParams.ConsentCollection; - export type CustomField = Stripe.Checkout.SessionCreateParams.CustomField; - export type CustomText = Stripe.Checkout.SessionCreateParams.CustomText; - export type CustomerCreation = Stripe.Checkout.SessionCreateParams.CustomerCreation; - export type CustomerUpdate = Stripe.Checkout.SessionCreateParams.CustomerUpdate; - export type Discount = Stripe.Checkout.SessionCreateParams.Discount; - export type ExcludedPaymentMethodType = Stripe.Checkout.SessionCreateParams.ExcludedPaymentMethodType; - export type InvoiceCreation = Stripe.Checkout.SessionCreateParams.InvoiceCreation; - export type LineItem = Stripe.Checkout.SessionCreateParams.LineItem; - export type Locale = Stripe.Checkout.SessionCreateParams.Locale; - export type ManagedPayments = Stripe.Checkout.SessionCreateParams.ManagedPayments; - export type Mode = Stripe.Checkout.SessionCreateParams.Mode; - export type NameCollection = Stripe.Checkout.SessionCreateParams.NameCollection; - export type OptionalItem = Stripe.Checkout.SessionCreateParams.OptionalItem; - export type OriginContext = Stripe.Checkout.SessionCreateParams.OriginContext; - export type PaymentIntentData = Stripe.Checkout.SessionCreateParams.PaymentIntentData; - export type PaymentMethodCollection = Stripe.Checkout.SessionCreateParams.PaymentMethodCollection; - export type PaymentMethodData = Stripe.Checkout.SessionCreateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions; - export type PaymentMethodType = Stripe.Checkout.SessionCreateParams.PaymentMethodType; - export type Permissions = Stripe.Checkout.SessionCreateParams.Permissions; - export type PhoneNumberCollection = Stripe.Checkout.SessionCreateParams.PhoneNumberCollection; - export type RedirectOnCompletion = Stripe.Checkout.SessionCreateParams.RedirectOnCompletion; - export type SavedPaymentMethodOptions = Stripe.Checkout.SessionCreateParams.SavedPaymentMethodOptions; - export type SetupIntentData = Stripe.Checkout.SessionCreateParams.SetupIntentData; - export type ShippingAddressCollection = Stripe.Checkout.SessionCreateParams.ShippingAddressCollection; - export type ShippingOption = Stripe.Checkout.SessionCreateParams.ShippingOption; - export type SubmitType = Stripe.Checkout.SessionCreateParams.SubmitType; - export type SubscriptionData = Stripe.Checkout.SessionCreateParams.SubscriptionData; - export type TaxIdCollection = Stripe.Checkout.SessionCreateParams.TaxIdCollection; - export type UiMode = Stripe.Checkout.SessionCreateParams.UiMode; - export type WalletOptions = Stripe.Checkout.SessionCreateParams.WalletOptions; + export type AdaptivePricing = Stripe_.Checkout.SessionCreateParams.AdaptivePricing; + export type AfterExpiration = Stripe_.Checkout.SessionCreateParams.AfterExpiration; + export type AutomaticTax = Stripe_.Checkout.SessionCreateParams.AutomaticTax; + export type BillingAddressCollection = Stripe_.Checkout.SessionCreateParams.BillingAddressCollection; + export type BrandingSettings = Stripe_.Checkout.SessionCreateParams.BrandingSettings; + export type ConsentCollection = Stripe_.Checkout.SessionCreateParams.ConsentCollection; + export type CustomField = Stripe_.Checkout.SessionCreateParams.CustomField; + export type CustomText = Stripe_.Checkout.SessionCreateParams.CustomText; + export type CustomerCreation = Stripe_.Checkout.SessionCreateParams.CustomerCreation; + export type CustomerUpdate = Stripe_.Checkout.SessionCreateParams.CustomerUpdate; + export type Discount = Stripe_.Checkout.SessionCreateParams.Discount; + export type ExcludedPaymentMethodType = Stripe_.Checkout.SessionCreateParams.ExcludedPaymentMethodType; + export type InvoiceCreation = Stripe_.Checkout.SessionCreateParams.InvoiceCreation; + export type LineItem = Stripe_.Checkout.SessionCreateParams.LineItem; + export type Locale = Stripe_.Checkout.SessionCreateParams.Locale; + export type ManagedPayments = Stripe_.Checkout.SessionCreateParams.ManagedPayments; + export type Mode = Stripe_.Checkout.SessionCreateParams.Mode; + export type NameCollection = Stripe_.Checkout.SessionCreateParams.NameCollection; + export type OptionalItem = Stripe_.Checkout.SessionCreateParams.OptionalItem; + export type OriginContext = Stripe_.Checkout.SessionCreateParams.OriginContext; + export type PaymentIntentData = Stripe_.Checkout.SessionCreateParams.PaymentIntentData; + export type PaymentMethodCollection = Stripe_.Checkout.SessionCreateParams.PaymentMethodCollection; + export type PaymentMethodData = Stripe_.Checkout.SessionCreateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.Checkout.SessionCreateParams.PaymentMethodType; + export type Permissions = Stripe_.Checkout.SessionCreateParams.Permissions; + export type PhoneNumberCollection = Stripe_.Checkout.SessionCreateParams.PhoneNumberCollection; + export type RedirectOnCompletion = Stripe_.Checkout.SessionCreateParams.RedirectOnCompletion; + export type SavedPaymentMethodOptions = Stripe_.Checkout.SessionCreateParams.SavedPaymentMethodOptions; + export type SetupIntentData = Stripe_.Checkout.SessionCreateParams.SetupIntentData; + export type ShippingAddressCollection = Stripe_.Checkout.SessionCreateParams.ShippingAddressCollection; + export type ShippingOption = Stripe_.Checkout.SessionCreateParams.ShippingOption; + export type SubmitType = Stripe_.Checkout.SessionCreateParams.SubmitType; + export type SubscriptionData = Stripe_.Checkout.SessionCreateParams.SubscriptionData; + export type TaxIdCollection = Stripe_.Checkout.SessionCreateParams.TaxIdCollection; + export type UiMode = Stripe_.Checkout.SessionCreateParams.UiMode; + export type WalletOptions = Stripe_.Checkout.SessionCreateParams.WalletOptions; export namespace AfterExpiration { - export type Recovery = Stripe.Checkout.SessionCreateParams.AfterExpiration.Recovery; + export type Recovery = Stripe_.Checkout.SessionCreateParams.AfterExpiration.Recovery; } export namespace AutomaticTax { - export type Liability = Stripe.Checkout.SessionCreateParams.AutomaticTax.Liability; + export type Liability = Stripe_.Checkout.SessionCreateParams.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe.Checkout.SessionCreateParams.AutomaticTax.Liability.Type; + export type Type = Stripe_.Checkout.SessionCreateParams.AutomaticTax.Liability.Type; } } export namespace BrandingSettings { - export type BorderStyle = Stripe.Checkout.SessionCreateParams.BrandingSettings.BorderStyle; - export type FontFamily = Stripe.Checkout.SessionCreateParams.BrandingSettings.FontFamily; - export type Icon = Stripe.Checkout.SessionCreateParams.BrandingSettings.Icon; - export type Logo = Stripe.Checkout.SessionCreateParams.BrandingSettings.Logo; + export type BorderStyle = Stripe_.Checkout.SessionCreateParams.BrandingSettings.BorderStyle; + export type FontFamily = Stripe_.Checkout.SessionCreateParams.BrandingSettings.FontFamily; + export type Icon = Stripe_.Checkout.SessionCreateParams.BrandingSettings.Icon; + export type Logo = Stripe_.Checkout.SessionCreateParams.BrandingSettings.Logo; export namespace Icon { - export type Type = Stripe.Checkout.SessionCreateParams.BrandingSettings.Icon.Type; + export type Type = Stripe_.Checkout.SessionCreateParams.BrandingSettings.Icon.Type; } export namespace Logo { - export type Type = Stripe.Checkout.SessionCreateParams.BrandingSettings.Logo.Type; + export type Type = Stripe_.Checkout.SessionCreateParams.BrandingSettings.Logo.Type; } } export namespace ConsentCollection { - export type PaymentMethodReuseAgreement = Stripe.Checkout.SessionCreateParams.ConsentCollection.PaymentMethodReuseAgreement; - export type Promotions = Stripe.Checkout.SessionCreateParams.ConsentCollection.Promotions; - export type TermsOfService = Stripe.Checkout.SessionCreateParams.ConsentCollection.TermsOfService; + export type PaymentMethodReuseAgreement = Stripe_.Checkout.SessionCreateParams.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe_.Checkout.SessionCreateParams.ConsentCollection.Promotions; + export type TermsOfService = Stripe_.Checkout.SessionCreateParams.ConsentCollection.TermsOfService; export namespace PaymentMethodReuseAgreement { - export type Position = Stripe.Checkout.SessionCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position; + export type Position = Stripe_.Checkout.SessionCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position; } } export namespace CustomerUpdate { - export type Address = Stripe.Checkout.SessionCreateParams.CustomerUpdate.Address; - export type Name = Stripe.Checkout.SessionCreateParams.CustomerUpdate.Name; - export type Shipping = Stripe.Checkout.SessionCreateParams.CustomerUpdate.Shipping; + export type Address = Stripe_.Checkout.SessionCreateParams.CustomerUpdate.Address; + export type Name = Stripe_.Checkout.SessionCreateParams.CustomerUpdate.Name; + export type Shipping = Stripe_.Checkout.SessionCreateParams.CustomerUpdate.Shipping; } export namespace CustomField { - export type Dropdown = Stripe.Checkout.SessionCreateParams.CustomField.Dropdown; - export type Label = Stripe.Checkout.SessionCreateParams.CustomField.Label; - export type Numeric = Stripe.Checkout.SessionCreateParams.CustomField.Numeric; - export type Text = Stripe.Checkout.SessionCreateParams.CustomField.Text; - export type Type = Stripe.Checkout.SessionCreateParams.CustomField.Type; + export type Dropdown = Stripe_.Checkout.SessionCreateParams.CustomField.Dropdown; + export type Label = Stripe_.Checkout.SessionCreateParams.CustomField.Label; + export type Numeric = Stripe_.Checkout.SessionCreateParams.CustomField.Numeric; + export type Text = Stripe_.Checkout.SessionCreateParams.CustomField.Text; + export type Type = Stripe_.Checkout.SessionCreateParams.CustomField.Type; export namespace Dropdown { - export type Option = Stripe.Checkout.SessionCreateParams.CustomField.Dropdown.Option; + export type Option = Stripe_.Checkout.SessionCreateParams.CustomField.Dropdown.Option; } } export namespace CustomText { - export type AfterSubmit = Stripe.Checkout.SessionCreateParams.CustomText.AfterSubmit; - export type ShippingAddress = Stripe.Checkout.SessionCreateParams.CustomText.ShippingAddress; - export type Submit = Stripe.Checkout.SessionCreateParams.CustomText.Submit; - export type TermsOfServiceAcceptance = Stripe.Checkout.SessionCreateParams.CustomText.TermsOfServiceAcceptance; + export type AfterSubmit = Stripe_.Checkout.SessionCreateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.Checkout.SessionCreateParams.CustomText.ShippingAddress; + export type Submit = Stripe_.Checkout.SessionCreateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.Checkout.SessionCreateParams.CustomText.TermsOfServiceAcceptance; } export namespace InvoiceCreation { - export type InvoiceData = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData; + export type InvoiceData = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData; export namespace InvoiceData { - export type CustomField = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.CustomField; - export type Issuer = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.Issuer; - export type RenderingOptions = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export type CustomField = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.RenderingOptions; export namespace Issuer { - export type Type = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.Issuer.Type; + export type Type = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.Issuer.Type; } export namespace RenderingOptions { - export type AmountTaxDisplay = Stripe.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + export type AmountTaxDisplay = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; } } } export namespace LineItem { - export type AdjustableQuantity = Stripe.Checkout.SessionCreateParams.LineItem.AdjustableQuantity; - export type PriceData = Stripe.Checkout.SessionCreateParams.LineItem.PriceData; + export type AdjustableQuantity = Stripe_.Checkout.SessionCreateParams.LineItem.AdjustableQuantity; + export type PriceData = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData; export namespace PriceData { - export type ProductData = Stripe.Checkout.SessionCreateParams.LineItem.PriceData.ProductData; - export type Recurring = Stripe.Checkout.SessionCreateParams.LineItem.PriceData.Recurring; - export type TaxBehavior = Stripe.Checkout.SessionCreateParams.LineItem.PriceData.TaxBehavior; + export type ProductData = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.ProductData; + export type Recurring = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.TaxBehavior; export namespace Recurring { - export type Interval = Stripe.Checkout.SessionCreateParams.LineItem.PriceData.Recurring.Interval; + export type Interval = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.Recurring.Interval; } } } export namespace NameCollection { - export type Business = Stripe.Checkout.SessionCreateParams.NameCollection.Business; - export type Individual = Stripe.Checkout.SessionCreateParams.NameCollection.Individual; + export type Business = Stripe_.Checkout.SessionCreateParams.NameCollection.Business; + export type Individual = Stripe_.Checkout.SessionCreateParams.NameCollection.Individual; } export namespace OptionalItem { - export type AdjustableQuantity = Stripe.Checkout.SessionCreateParams.OptionalItem.AdjustableQuantity; + export type AdjustableQuantity = Stripe_.Checkout.SessionCreateParams.OptionalItem.AdjustableQuantity; } export namespace PaymentIntentData { - export type CaptureMethod = Stripe.Checkout.SessionCreateParams.PaymentIntentData.CaptureMethod; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentIntentData.SetupFutureUsage; - export type Shipping = Stripe.Checkout.SessionCreateParams.PaymentIntentData.Shipping; - export type TransferData = Stripe.Checkout.SessionCreateParams.PaymentIntentData.TransferData; + export type CaptureMethod = Stripe_.Checkout.SessionCreateParams.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentIntentData.SetupFutureUsage; + export type Shipping = Stripe_.Checkout.SessionCreateParams.PaymentIntentData.Shipping; + export type TransferData = Stripe_.Checkout.SessionCreateParams.PaymentIntentData.TransferData; } export namespace PaymentMethodData { - export type AllowRedisplay = Stripe.Checkout.SessionCreateParams.PaymentMethodData.AllowRedisplay; + export type AllowRedisplay = Stripe_.Checkout.SessionCreateParams.PaymentMethodData.AllowRedisplay; } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit; - export type Affirm = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Affirm; - export type AfterpayClearpay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AfterpayClearpay; - export type Alipay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Alipay; - export type Alma = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Alma; - export type AmazonPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AmazonPay; - export type AuBecsDebit = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AuBecsDebit; - export type BacsDebit = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit; - export type Bancontact = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Bancontact; - export type Billie = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Billie; - export type Boleto = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Boleto; - export type Card = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card; - export type Cashapp = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Cashapp; - export type Crypto = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Crypto; - export type CustomerBalance = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance; - export type DemoPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.DemoPay; - export type Eps = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Eps; - export type Fpx = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Fpx; - export type Giropay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Giropay; - export type Grabpay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Grabpay; - export type Ideal = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Ideal; - export type KakaoPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.KakaoPay; - export type Klarna = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna; - export type Konbini = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Konbini; - export type KrCard = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.KrCard; - export type Link = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Link; - export type Mobilepay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Mobilepay; - export type Multibanco = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Multibanco; - export type NaverPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.NaverPay; - export type Oxxo = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Oxxo; - export type P24 = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.P24; - export type PayByBank = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.PayByBank; - export type Payco = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payco; - export type Paynow = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Paynow; - export type Paypal = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal; - export type Payto = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto; - export type Pix = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix; - export type RevolutPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.RevolutPay; - export type SamsungPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.SamsungPay; - export type Satispay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Satispay; - export type Scalapay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Scalapay; - export type SepaDebit = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit; - export type Sofort = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Sofort; - export type Swish = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Swish; - export type Twint = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Twint; - export type Upi = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount; - export type WechatPay = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.WechatPay; + export type AcssDebit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Billie; + export type Boleto = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card; + export type Cashapp = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance; + export type DemoPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.DemoPay; + export type Eps = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Ideal; + export type KakaoPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Link; + export type Mobilepay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.NaverPay; + export type Oxxo = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix; + export type RevolutPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.WechatPay; export namespace AcssDebit { - export type Currency = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.Currency; - export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; - export type VerificationMethod = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type Currency = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type DefaultFor = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; - export type PaymentSchedule = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type DefaultFor = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace AmazonPay { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; } export namespace BacsDebit { - export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; } export namespace Boleto { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; } export namespace Card { - export type Installments = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Installments; - export type RequestExtendedAuthorization = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; - export type RequestIncrementalAuthorization = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; - export type RequestMulticapture = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestMulticapture; - export type RequestOvercapture = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestOvercapture; - export type RequestThreeDSecure = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; - export type Restrictions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type Installments = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Installments; + export type RequestExtendedAuthorization = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Restrictions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; export namespace Restrictions { - export type BrandsBlocked = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + export type BrandsBlocked = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; } } export namespace Cashapp { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; } export namespace CustomerBalance { - export type BankTransfer = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; - export type RequestedAddressType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; - export type Type = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export type EuBankTransfer = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; } } export namespace DemoPay { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.DemoPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.DemoPay.SetupFutureUsage; } export namespace KakaoPay { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; } export namespace Klarna { - export type Subscription = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription; + export type Subscription = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription; export namespace Subscription { - export type Interval = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; - export type NextBilling = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + export type Interval = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; } } export namespace KrCard { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; } export namespace Link { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Link.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Link.SetupFutureUsage; } export namespace NaverPay { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; } export namespace Paypal { - export type PreferredLocale = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + export type PreferredLocale = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; } export namespace Payto { - export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.AmountIncludesIof; - export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export type AmountIncludesIof = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace RevolutPay { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } export namespace SepaDebit { - export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; } export namespace Twint { - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Twint.SetupFutureUsage; } export namespace Upi { - export type MandateOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type SetupFutureUsage = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; - export type VerificationMethod = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type VerificationMethod = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Permission = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Permission = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; } } export namespace WechatPay { - export type Client = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions.WechatPay.Client; + export type Client = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.WechatPay.Client; } } export namespace Permissions { - export type UpdateShippingDetails = Stripe.Checkout.SessionCreateParams.Permissions.UpdateShippingDetails; + export type UpdateShippingDetails = Stripe_.Checkout.SessionCreateParams.Permissions.UpdateShippingDetails; } export namespace SavedPaymentMethodOptions { - export type AllowRedisplayFilter = Stripe.Checkout.SessionCreateParams.SavedPaymentMethodOptions.AllowRedisplayFilter; - export type PaymentMethodRemove = Stripe.Checkout.SessionCreateParams.SavedPaymentMethodOptions.PaymentMethodRemove; - export type PaymentMethodSave = Stripe.Checkout.SessionCreateParams.SavedPaymentMethodOptions.PaymentMethodSave; + export type AllowRedisplayFilter = Stripe_.Checkout.SessionCreateParams.SavedPaymentMethodOptions.AllowRedisplayFilter; + export type PaymentMethodRemove = Stripe_.Checkout.SessionCreateParams.SavedPaymentMethodOptions.PaymentMethodRemove; + export type PaymentMethodSave = Stripe_.Checkout.SessionCreateParams.SavedPaymentMethodOptions.PaymentMethodSave; } export namespace ShippingAddressCollection { - export type AllowedCountry = Stripe.Checkout.SessionCreateParams.ShippingAddressCollection.AllowedCountry; + export type AllowedCountry = Stripe_.Checkout.SessionCreateParams.ShippingAddressCollection.AllowedCountry; } export namespace ShippingOption { - export type ShippingRateData = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData; + export type ShippingRateData = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData; export namespace ShippingRateData { - export type DeliveryEstimate = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate; - export type FixedAmount = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount; - export type TaxBehavior = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.TaxBehavior; + export type DeliveryEstimate = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.TaxBehavior; export namespace DeliveryEstimate { - export type Maximum = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum; - export type Minimum = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum; + export type Maximum = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum; export namespace Maximum { - export type Unit = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum.Unit; + export type Unit = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum.Unit; } export namespace Minimum { - export type Unit = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum.Unit; + export type Unit = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum.Unit; } } export namespace FixedAmount { - export type CurrencyOptions = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOptions; + export type CurrencyOptions = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOptions; export namespace CurrencyOptions { - export type TaxBehavior = Stripe.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + export type TaxBehavior = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; } } } } export namespace SubscriptionData { - export type BillingMode = Stripe.Checkout.SessionCreateParams.SubscriptionData.BillingMode; - export type InvoiceSettings = Stripe.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings; - export type PendingInvoiceItemInterval = Stripe.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval; - export type ProrationBehavior = Stripe.Checkout.SessionCreateParams.SubscriptionData.ProrationBehavior; - export type TransferData = Stripe.Checkout.SessionCreateParams.SubscriptionData.TransferData; - export type TrialSettings = Stripe.Checkout.SessionCreateParams.SubscriptionData.TrialSettings; + export type BillingMode = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode; + export type InvoiceSettings = Stripe_.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings; + export type PendingInvoiceItemInterval = Stripe_.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval; + export type ProrationBehavior = Stripe_.Checkout.SessionCreateParams.SubscriptionData.ProrationBehavior; + export type TransferData = Stripe_.Checkout.SessionCreateParams.SubscriptionData.TransferData; + export type TrialSettings = Stripe_.Checkout.SessionCreateParams.SubscriptionData.TrialSettings; export namespace BillingMode { - export type Flexible = Stripe.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Flexible; - export type Type = Stripe.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Type; + export type Flexible = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; } } export namespace InvoiceSettings { - export type Issuer = Stripe.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings.Issuer; + export type Issuer = Stripe_.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings.Issuer; export namespace Issuer { - export type Type = Stripe.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + export type Type = Stripe_.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings.Issuer.Type; } } export namespace PendingInvoiceItemInterval { - export type Interval = Stripe.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval.Interval; + export type Interval = Stripe_.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval.Interval; } export namespace TrialSettings { - export type EndBehavior = Stripe.Checkout.SessionCreateParams.SubscriptionData.TrialSettings.EndBehavior; + export type EndBehavior = Stripe_.Checkout.SessionCreateParams.SubscriptionData.TrialSettings.EndBehavior; export namespace EndBehavior { - export type MissingPaymentMethod = Stripe.Checkout.SessionCreateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + export type MissingPaymentMethod = Stripe_.Checkout.SessionCreateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; } } } export namespace TaxIdCollection { - export type Required = Stripe.Checkout.SessionCreateParams.TaxIdCollection.Required; + export type Required = Stripe_.Checkout.SessionCreateParams.TaxIdCollection.Required; } export namespace WalletOptions { - export type Link = Stripe.Checkout.SessionCreateParams.WalletOptions.Link; + export type Link = Stripe_.Checkout.SessionCreateParams.WalletOptions.Link; export namespace Link { - export type Display = Stripe.Checkout.SessionCreateParams.WalletOptions.Link.Display; + export type Display = Stripe_.Checkout.SessionCreateParams.WalletOptions.Link.Display; } } } export namespace Session { - export type AdaptivePricing = Stripe.Checkout.Session.AdaptivePricing; - export type AfterExpiration = Stripe.Checkout.Session.AfterExpiration; - export type AutomaticTax = Stripe.Checkout.Session.AutomaticTax; - export type BillingAddressCollection = Stripe.Checkout.Session.BillingAddressCollection; - export type BrandingSettings = Stripe.Checkout.Session.BrandingSettings; - export type CollectedInformation = Stripe.Checkout.Session.CollectedInformation; - export type Consent = Stripe.Checkout.Session.Consent; - export type ConsentCollection = Stripe.Checkout.Session.ConsentCollection; - export type CurrencyConversion = Stripe.Checkout.Session.CurrencyConversion; - export type CustomField = Stripe.Checkout.Session.CustomField; - export type CustomText = Stripe.Checkout.Session.CustomText; - export type CustomerCreation = Stripe.Checkout.Session.CustomerCreation; - export type CustomerDetails = Stripe.Checkout.Session.CustomerDetails; - export type Discount = Stripe.Checkout.Session.Discount; - export type InvoiceCreation = Stripe.Checkout.Session.InvoiceCreation; - export type Locale = Stripe.Checkout.Session.Locale; - export type ManagedPayments = Stripe.Checkout.Session.ManagedPayments; - export type Mode = Stripe.Checkout.Session.Mode; - export type NameCollection = Stripe.Checkout.Session.NameCollection; - export type OptionalItem = Stripe.Checkout.Session.OptionalItem; - export type OriginContext = Stripe.Checkout.Session.OriginContext; - export type PaymentMethodCollection = Stripe.Checkout.Session.PaymentMethodCollection; - export type PaymentMethodConfigurationDetails = Stripe.Checkout.Session.PaymentMethodConfigurationDetails; - export type PaymentMethodOptions = Stripe.Checkout.Session.PaymentMethodOptions; - export type PaymentStatus = Stripe.Checkout.Session.PaymentStatus; - export type Permissions = Stripe.Checkout.Session.Permissions; - export type PhoneNumberCollection = Stripe.Checkout.Session.PhoneNumberCollection; - export type PresentmentDetails = Stripe.Checkout.Session.PresentmentDetails; - export type RedirectOnCompletion = Stripe.Checkout.Session.RedirectOnCompletion; - export type SavedPaymentMethodOptions = Stripe.Checkout.Session.SavedPaymentMethodOptions; - export type ShippingAddressCollection = Stripe.Checkout.Session.ShippingAddressCollection; - export type ShippingCost = Stripe.Checkout.Session.ShippingCost; - export type ShippingOption = Stripe.Checkout.Session.ShippingOption; - export type Status = Stripe.Checkout.Session.Status; - export type SubmitType = Stripe.Checkout.Session.SubmitType; - export type TaxIdCollection = Stripe.Checkout.Session.TaxIdCollection; - export type TotalDetails = Stripe.Checkout.Session.TotalDetails; - export type UiMode = Stripe.Checkout.Session.UiMode; - export type WalletOptions = Stripe.Checkout.Session.WalletOptions; + export type AdaptivePricing = Stripe_.Checkout.Session.AdaptivePricing; + export type AfterExpiration = Stripe_.Checkout.Session.AfterExpiration; + export type AutomaticTax = Stripe_.Checkout.Session.AutomaticTax; + export type BillingAddressCollection = Stripe_.Checkout.Session.BillingAddressCollection; + export type BrandingSettings = Stripe_.Checkout.Session.BrandingSettings; + export type CollectedInformation = Stripe_.Checkout.Session.CollectedInformation; + export type Consent = Stripe_.Checkout.Session.Consent; + export type ConsentCollection = Stripe_.Checkout.Session.ConsentCollection; + export type CurrencyConversion = Stripe_.Checkout.Session.CurrencyConversion; + export type CustomField = Stripe_.Checkout.Session.CustomField; + export type CustomText = Stripe_.Checkout.Session.CustomText; + export type CustomerCreation = Stripe_.Checkout.Session.CustomerCreation; + export type CustomerDetails = Stripe_.Checkout.Session.CustomerDetails; + export type Discount = Stripe_.Checkout.Session.Discount; + export type InvoiceCreation = Stripe_.Checkout.Session.InvoiceCreation; + export type Locale = Stripe_.Checkout.Session.Locale; + export type ManagedPayments = Stripe_.Checkout.Session.ManagedPayments; + export type Mode = Stripe_.Checkout.Session.Mode; + export type NameCollection = Stripe_.Checkout.Session.NameCollection; + export type OptionalItem = Stripe_.Checkout.Session.OptionalItem; + export type OriginContext = Stripe_.Checkout.Session.OriginContext; + export type PaymentMethodCollection = Stripe_.Checkout.Session.PaymentMethodCollection; + export type PaymentMethodConfigurationDetails = Stripe_.Checkout.Session.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe_.Checkout.Session.PaymentMethodOptions; + export type PaymentStatus = Stripe_.Checkout.Session.PaymentStatus; + export type Permissions = Stripe_.Checkout.Session.Permissions; + export type PhoneNumberCollection = Stripe_.Checkout.Session.PhoneNumberCollection; + export type PresentmentDetails = Stripe_.Checkout.Session.PresentmentDetails; + export type RedirectOnCompletion = Stripe_.Checkout.Session.RedirectOnCompletion; + export type SavedPaymentMethodOptions = Stripe_.Checkout.Session.SavedPaymentMethodOptions; + export type ShippingAddressCollection = Stripe_.Checkout.Session.ShippingAddressCollection; + export type ShippingCost = Stripe_.Checkout.Session.ShippingCost; + export type ShippingOption = Stripe_.Checkout.Session.ShippingOption; + export type Status = Stripe_.Checkout.Session.Status; + export type SubmitType = Stripe_.Checkout.Session.SubmitType; + export type TaxIdCollection = Stripe_.Checkout.Session.TaxIdCollection; + export type TotalDetails = Stripe_.Checkout.Session.TotalDetails; + export type UiMode = Stripe_.Checkout.Session.UiMode; + export type WalletOptions = Stripe_.Checkout.Session.WalletOptions; export namespace AfterExpiration { - export type Recovery = Stripe.Checkout.Session.AfterExpiration.Recovery; + export type Recovery = Stripe_.Checkout.Session.AfterExpiration.Recovery; } export namespace AutomaticTax { - export type Liability = Stripe.Checkout.Session.AutomaticTax.Liability; - export type Status = Stripe.Checkout.Session.AutomaticTax.Status; + export type Liability = Stripe_.Checkout.Session.AutomaticTax.Liability; + export type Status = Stripe_.Checkout.Session.AutomaticTax.Status; export namespace Liability { - export type Type = Stripe.Checkout.Session.AutomaticTax.Liability.Type; + export type Type = Stripe_.Checkout.Session.AutomaticTax.Liability.Type; } } export namespace BrandingSettings { - export type BorderStyle = Stripe.Checkout.Session.BrandingSettings.BorderStyle; - export type Icon = Stripe.Checkout.Session.BrandingSettings.Icon; - export type Logo = Stripe.Checkout.Session.BrandingSettings.Logo; + export type BorderStyle = Stripe_.Checkout.Session.BrandingSettings.BorderStyle; + export type Icon = Stripe_.Checkout.Session.BrandingSettings.Icon; + export type Logo = Stripe_.Checkout.Session.BrandingSettings.Logo; export namespace Icon { - export type Type = Stripe.Checkout.Session.BrandingSettings.Icon.Type; + export type Type = Stripe_.Checkout.Session.BrandingSettings.Icon.Type; } export namespace Logo { - export type Type = Stripe.Checkout.Session.BrandingSettings.Logo.Type; + export type Type = Stripe_.Checkout.Session.BrandingSettings.Logo.Type; } } export namespace CollectedInformation { - export type ShippingDetails = Stripe.Checkout.Session.CollectedInformation.ShippingDetails; + export type ShippingDetails = Stripe_.Checkout.Session.CollectedInformation.ShippingDetails; } export namespace Consent { - export type Promotions = Stripe.Checkout.Session.Consent.Promotions; + export type Promotions = Stripe_.Checkout.Session.Consent.Promotions; } export namespace ConsentCollection { - export type PaymentMethodReuseAgreement = Stripe.Checkout.Session.ConsentCollection.PaymentMethodReuseAgreement; - export type Promotions = Stripe.Checkout.Session.ConsentCollection.Promotions; - export type TermsOfService = Stripe.Checkout.Session.ConsentCollection.TermsOfService; + export type PaymentMethodReuseAgreement = Stripe_.Checkout.Session.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe_.Checkout.Session.ConsentCollection.Promotions; + export type TermsOfService = Stripe_.Checkout.Session.ConsentCollection.TermsOfService; export namespace PaymentMethodReuseAgreement { - export type Position = Stripe.Checkout.Session.ConsentCollection.PaymentMethodReuseAgreement.Position; + export type Position = Stripe_.Checkout.Session.ConsentCollection.PaymentMethodReuseAgreement.Position; } } export namespace CustomerDetails { - export type TaxExempt = Stripe.Checkout.Session.CustomerDetails.TaxExempt; - export type TaxId = Stripe.Checkout.Session.CustomerDetails.TaxId; + export type TaxExempt = Stripe_.Checkout.Session.CustomerDetails.TaxExempt; + export type TaxId = Stripe_.Checkout.Session.CustomerDetails.TaxId; export namespace TaxId { - export type Type = Stripe.Checkout.Session.CustomerDetails.TaxId.Type; + export type Type = Stripe_.Checkout.Session.CustomerDetails.TaxId.Type; } } export namespace CustomField { - export type Dropdown = Stripe.Checkout.Session.CustomField.Dropdown; - export type Label = Stripe.Checkout.Session.CustomField.Label; - export type Numeric = Stripe.Checkout.Session.CustomField.Numeric; - export type Text = Stripe.Checkout.Session.CustomField.Text; - export type Type = Stripe.Checkout.Session.CustomField.Type; + export type Dropdown = Stripe_.Checkout.Session.CustomField.Dropdown; + export type Label = Stripe_.Checkout.Session.CustomField.Label; + export type Numeric = Stripe_.Checkout.Session.CustomField.Numeric; + export type Text = Stripe_.Checkout.Session.CustomField.Text; + export type Type = Stripe_.Checkout.Session.CustomField.Type; export namespace Dropdown { - export type Option = Stripe.Checkout.Session.CustomField.Dropdown.Option; + export type Option = Stripe_.Checkout.Session.CustomField.Dropdown.Option; } } export namespace CustomText { - export type AfterSubmit = Stripe.Checkout.Session.CustomText.AfterSubmit; - export type ShippingAddress = Stripe.Checkout.Session.CustomText.ShippingAddress; - export type Submit = Stripe.Checkout.Session.CustomText.Submit; - export type TermsOfServiceAcceptance = Stripe.Checkout.Session.CustomText.TermsOfServiceAcceptance; + export type AfterSubmit = Stripe_.Checkout.Session.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.Checkout.Session.CustomText.ShippingAddress; + export type Submit = Stripe_.Checkout.Session.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.Checkout.Session.CustomText.TermsOfServiceAcceptance; } export namespace InvoiceCreation { - export type InvoiceData = Stripe.Checkout.Session.InvoiceCreation.InvoiceData; + export type InvoiceData = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData; export namespace InvoiceData { - export type CustomField = Stripe.Checkout.Session.InvoiceCreation.InvoiceData.CustomField; - export type Issuer = Stripe.Checkout.Session.InvoiceCreation.InvoiceData.Issuer; - export type RenderingOptions = Stripe.Checkout.Session.InvoiceCreation.InvoiceData.RenderingOptions; + export type CustomField = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData.RenderingOptions; export namespace Issuer { - export type Type = Stripe.Checkout.Session.InvoiceCreation.InvoiceData.Issuer.Type; + export type Type = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData.Issuer.Type; } } } export namespace NameCollection { - export type Business = Stripe.Checkout.Session.NameCollection.Business; - export type Individual = Stripe.Checkout.Session.NameCollection.Individual; + export type Business = Stripe_.Checkout.Session.NameCollection.Business; + export type Individual = Stripe_.Checkout.Session.NameCollection.Individual; } export namespace OptionalItem { - export type AdjustableQuantity = Stripe.Checkout.Session.OptionalItem.AdjustableQuantity; + export type AdjustableQuantity = Stripe_.Checkout.Session.OptionalItem.AdjustableQuantity; } export namespace PaymentMethodOptions { - export type AcssDebit = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit; - export type Affirm = Stripe.Checkout.Session.PaymentMethodOptions.Affirm; - export type AfterpayClearpay = Stripe.Checkout.Session.PaymentMethodOptions.AfterpayClearpay; - export type Alipay = Stripe.Checkout.Session.PaymentMethodOptions.Alipay; - export type Alma = Stripe.Checkout.Session.PaymentMethodOptions.Alma; - export type AmazonPay = Stripe.Checkout.Session.PaymentMethodOptions.AmazonPay; - export type AuBecsDebit = Stripe.Checkout.Session.PaymentMethodOptions.AuBecsDebit; - export type BacsDebit = Stripe.Checkout.Session.PaymentMethodOptions.BacsDebit; - export type Bancontact = Stripe.Checkout.Session.PaymentMethodOptions.Bancontact; - export type Billie = Stripe.Checkout.Session.PaymentMethodOptions.Billie; - export type Boleto = Stripe.Checkout.Session.PaymentMethodOptions.Boleto; - export type Card = Stripe.Checkout.Session.PaymentMethodOptions.Card; - export type Cashapp = Stripe.Checkout.Session.PaymentMethodOptions.Cashapp; - export type CustomerBalance = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance; - export type Eps = Stripe.Checkout.Session.PaymentMethodOptions.Eps; - export type Fpx = Stripe.Checkout.Session.PaymentMethodOptions.Fpx; - export type Giropay = Stripe.Checkout.Session.PaymentMethodOptions.Giropay; - export type Grabpay = Stripe.Checkout.Session.PaymentMethodOptions.Grabpay; - export type Ideal = Stripe.Checkout.Session.PaymentMethodOptions.Ideal; - export type KakaoPay = Stripe.Checkout.Session.PaymentMethodOptions.KakaoPay; - export type Klarna = Stripe.Checkout.Session.PaymentMethodOptions.Klarna; - export type Konbini = Stripe.Checkout.Session.PaymentMethodOptions.Konbini; - export type KrCard = Stripe.Checkout.Session.PaymentMethodOptions.KrCard; - export type Link = Stripe.Checkout.Session.PaymentMethodOptions.Link; - export type Mobilepay = Stripe.Checkout.Session.PaymentMethodOptions.Mobilepay; - export type Multibanco = Stripe.Checkout.Session.PaymentMethodOptions.Multibanco; - export type NaverPay = Stripe.Checkout.Session.PaymentMethodOptions.NaverPay; - export type Oxxo = Stripe.Checkout.Session.PaymentMethodOptions.Oxxo; - export type P24 = Stripe.Checkout.Session.PaymentMethodOptions.P24; - export type Payco = Stripe.Checkout.Session.PaymentMethodOptions.Payco; - export type Paynow = Stripe.Checkout.Session.PaymentMethodOptions.Paynow; - export type Paypal = Stripe.Checkout.Session.PaymentMethodOptions.Paypal; - export type Payto = Stripe.Checkout.Session.PaymentMethodOptions.Payto; - export type Pix = Stripe.Checkout.Session.PaymentMethodOptions.Pix; - export type RevolutPay = Stripe.Checkout.Session.PaymentMethodOptions.RevolutPay; - export type SamsungPay = Stripe.Checkout.Session.PaymentMethodOptions.SamsungPay; - export type Satispay = Stripe.Checkout.Session.PaymentMethodOptions.Satispay; - export type Scalapay = Stripe.Checkout.Session.PaymentMethodOptions.Scalapay; - export type SepaDebit = Stripe.Checkout.Session.PaymentMethodOptions.SepaDebit; - export type Sofort = Stripe.Checkout.Session.PaymentMethodOptions.Sofort; - export type Swish = Stripe.Checkout.Session.PaymentMethodOptions.Swish; - export type Twint = Stripe.Checkout.Session.PaymentMethodOptions.Twint; - export type Upi = Stripe.Checkout.Session.PaymentMethodOptions.Upi; - export type UsBankAccount = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount; + export type AcssDebit = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.Checkout.Session.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.Checkout.Session.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.Checkout.Session.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.Checkout.Session.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.Checkout.Session.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.Checkout.Session.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.Checkout.Session.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.Checkout.Session.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.Checkout.Session.PaymentMethodOptions.Billie; + export type Boleto = Stripe_.Checkout.Session.PaymentMethodOptions.Boleto; + export type Card = Stripe_.Checkout.Session.PaymentMethodOptions.Card; + export type Cashapp = Stripe_.Checkout.Session.PaymentMethodOptions.Cashapp; + export type CustomerBalance = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.Checkout.Session.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.Checkout.Session.PaymentMethodOptions.Fpx; + export type Giropay = Stripe_.Checkout.Session.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe_.Checkout.Session.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe_.Checkout.Session.PaymentMethodOptions.Ideal; + export type KakaoPay = Stripe_.Checkout.Session.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.Checkout.Session.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.Checkout.Session.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.Checkout.Session.PaymentMethodOptions.KrCard; + export type Link = Stripe_.Checkout.Session.PaymentMethodOptions.Link; + export type Mobilepay = Stripe_.Checkout.Session.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.Checkout.Session.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.Checkout.Session.PaymentMethodOptions.NaverPay; + export type Oxxo = Stripe_.Checkout.Session.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.Checkout.Session.PaymentMethodOptions.P24; + export type Payco = Stripe_.Checkout.Session.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.Checkout.Session.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.Checkout.Session.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.Checkout.Session.PaymentMethodOptions.Payto; + export type Pix = Stripe_.Checkout.Session.PaymentMethodOptions.Pix; + export type RevolutPay = Stripe_.Checkout.Session.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.Checkout.Session.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.Checkout.Session.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.Checkout.Session.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.Checkout.Session.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.Checkout.Session.PaymentMethodOptions.Sofort; + export type Swish = Stripe_.Checkout.Session.PaymentMethodOptions.Swish; + export type Twint = Stripe_.Checkout.Session.PaymentMethodOptions.Twint; + export type Upi = Stripe_.Checkout.Session.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount; export namespace AcssDebit { - export type Currency = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.Currency; - export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.SetupFutureUsage; - export type VerificationMethod = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.VerificationMethod; + export type Currency = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.VerificationMethod; export namespace MandateOptions { - export type DefaultFor = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; - export type PaymentSchedule = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; - export type TransactionType = Stripe.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + export type DefaultFor = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } export namespace AmazonPay { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.AmazonPay.SetupFutureUsage; } export namespace BacsDebit { - export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.BacsDebit.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.BacsDebit.SetupFutureUsage; } export namespace Boleto { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Boleto.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Boleto.SetupFutureUsage; } export namespace Card { - export type Installments = Stripe.Checkout.Session.PaymentMethodOptions.Card.Installments; - export type RequestExtendedAuthorization = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestExtendedAuthorization; - export type RequestIncrementalAuthorization = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestIncrementalAuthorization; - export type RequestMulticapture = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestMulticapture; - export type RequestOvercapture = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestOvercapture; - export type RequestThreeDSecure = Stripe.Checkout.Session.PaymentMethodOptions.Card.RequestThreeDSecure; - export type Restrictions = Stripe.Checkout.Session.PaymentMethodOptions.Card.Restrictions; - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Card.SetupFutureUsage; + export type Installments = Stripe_.Checkout.Session.PaymentMethodOptions.Card.Installments; + export type RequestExtendedAuthorization = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Restrictions = Stripe_.Checkout.Session.PaymentMethodOptions.Card.Restrictions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Card.SetupFutureUsage; export namespace Restrictions { - export type BrandsBlocked = Stripe.Checkout.Session.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + export type BrandsBlocked = Stripe_.Checkout.Session.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; } } export namespace CustomerBalance { - export type BankTransfer = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer; + export type BankTransfer = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer; export namespace BankTransfer { - export type EuBankTransfer = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; - export type RequestedAddressType = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; - export type Type = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export type EuBankTransfer = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; export namespace EuBankTransfer { - export type Country = Stripe.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + export type Country = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; } } } export namespace KakaoPay { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.KakaoPay.SetupFutureUsage; } export namespace Klarna { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Klarna.SetupFutureUsage; } export namespace KrCard { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.KrCard.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.KrCard.SetupFutureUsage; } export namespace Link { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Link.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Link.SetupFutureUsage; } export namespace NaverPay { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.NaverPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.NaverPay.SetupFutureUsage; } export namespace Paypal { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Paypal.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Paypal.SetupFutureUsage; } export namespace Payto { - export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Payto.SetupFutureUsage; + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; - export type Purpose = Stripe.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.Purpose; + export type AmountType = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.Purpose; } } export namespace Pix { - export type AmountIncludesIof = Stripe.Checkout.Session.PaymentMethodOptions.Pix.AmountIncludesIof; - export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Pix.SetupFutureUsage; + export type AmountIncludesIof = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.SetupFutureUsage; export namespace MandateOptions { - export type AmountIncludesIof = Stripe.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; - export type AmountType = Stripe.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.AmountType; - export type PaymentSchedule = Stripe.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + export type AmountIncludesIof = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; } } export namespace RevolutPay { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } export namespace SepaDebit { - export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.SepaDebit.SetupFutureUsage; } export namespace Twint { - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Twint.SetupFutureUsage; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Twint.SetupFutureUsage; } export namespace Upi { - export type MandateOptions = Stripe.Checkout.Session.PaymentMethodOptions.Upi.MandateOptions; - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.Upi.SetupFutureUsage; + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Upi.SetupFutureUsage; export namespace MandateOptions { - export type AmountType = Stripe.Checkout.Session.PaymentMethodOptions.Upi.MandateOptions.AmountType; + export type AmountType = Stripe_.Checkout.Session.PaymentMethodOptions.Upi.MandateOptions.AmountType; } } export namespace UsBankAccount { - export type FinancialConnections = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections; - export type SetupFutureUsage = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; - export type VerificationMethod = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export type FinancialConnections = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type VerificationMethod = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.VerificationMethod; export namespace FinancialConnections { - export type Filters = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; - export type Permission = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; - export type Prefetch = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export type Filters = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; export namespace Filters { - export type AccountSubcategory = Stripe.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } } export namespace Permissions { - export type UpdateShippingDetails = Stripe.Checkout.Session.Permissions.UpdateShippingDetails; + export type UpdateShippingDetails = Stripe_.Checkout.Session.Permissions.UpdateShippingDetails; } export namespace SavedPaymentMethodOptions { - export type AllowRedisplayFilter = Stripe.Checkout.Session.SavedPaymentMethodOptions.AllowRedisplayFilter; - export type PaymentMethodRemove = Stripe.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodRemove; - export type PaymentMethodSave = Stripe.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodSave; + export type AllowRedisplayFilter = Stripe_.Checkout.Session.SavedPaymentMethodOptions.AllowRedisplayFilter; + export type PaymentMethodRemove = Stripe_.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodRemove; + export type PaymentMethodSave = Stripe_.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodSave; } export namespace ShippingAddressCollection { - export type AllowedCountry = Stripe.Checkout.Session.ShippingAddressCollection.AllowedCountry; + export type AllowedCountry = Stripe_.Checkout.Session.ShippingAddressCollection.AllowedCountry; } export namespace ShippingCost { - export type Tax = Stripe.Checkout.Session.ShippingCost.Tax; + export type Tax = Stripe_.Checkout.Session.ShippingCost.Tax; export namespace Tax { - export type TaxabilityReason = Stripe.Checkout.Session.ShippingCost.Tax.TaxabilityReason; + export type TaxabilityReason = Stripe_.Checkout.Session.ShippingCost.Tax.TaxabilityReason; } } export namespace TaxIdCollection { - export type Required = Stripe.Checkout.Session.TaxIdCollection.Required; + export type Required = Stripe_.Checkout.Session.TaxIdCollection.Required; } export namespace TotalDetails { - export type Breakdown = Stripe.Checkout.Session.TotalDetails.Breakdown; + export type Breakdown = Stripe_.Checkout.Session.TotalDetails.Breakdown; export namespace Breakdown { - export type Discount = Stripe.Checkout.Session.TotalDetails.Breakdown.Discount; - export type Tax = Stripe.Checkout.Session.TotalDetails.Breakdown.Tax; + export type Discount = Stripe_.Checkout.Session.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Checkout.Session.TotalDetails.Breakdown.Tax; export namespace Tax { - export type TaxabilityReason = Stripe.Checkout.Session.TotalDetails.Breakdown.Tax.TaxabilityReason; + export type TaxabilityReason = Stripe_.Checkout.Session.TotalDetails.Breakdown.Tax.TaxabilityReason; } } } export namespace WalletOptions { - export type Link = Stripe.Checkout.Session.WalletOptions.Link; + export type Link = Stripe_.Checkout.Session.WalletOptions.Link; export namespace Link { - export type Display = Stripe.Checkout.Session.WalletOptions.Link.Display; + export type Display = Stripe_.Checkout.Session.WalletOptions.Link.Display; } } } } export namespace Climate { - export type Order = Stripe.Climate.Order; - export type OrderCreateParams = Stripe.Climate.OrderCreateParams; - export type OrderRetrieveParams = Stripe.Climate.OrderRetrieveParams; - export type OrderUpdateParams = Stripe.Climate.OrderUpdateParams; - export type OrderListParams = Stripe.Climate.OrderListParams; - export type OrderCancelParams = Stripe.Climate.OrderCancelParams; - export type OrderResource = Stripe.Climate.OrderResource; - export type Product = Stripe.Climate.Product; - export type ProductRetrieveParams = Stripe.Climate.ProductRetrieveParams; - export type ProductListParams = Stripe.Climate.ProductListParams; - export type ProductResource = Stripe.Climate.ProductResource; - export type Supplier = Stripe.Climate.Supplier; - export type SupplierRetrieveParams = Stripe.Climate.SupplierRetrieveParams; - export type SupplierListParams = Stripe.Climate.SupplierListParams; - export type SupplierResource = Stripe.Climate.SupplierResource; + export type Order = Stripe_.Climate.Order; + export type OrderCreateParams = Stripe_.Climate.OrderCreateParams; + export type OrderRetrieveParams = Stripe_.Climate.OrderRetrieveParams; + export type OrderUpdateParams = Stripe_.Climate.OrderUpdateParams; + export type OrderListParams = Stripe_.Climate.OrderListParams; + export type OrderCancelParams = Stripe_.Climate.OrderCancelParams; + export type OrderResource = Stripe_.Climate.OrderResource; + export type Product = Stripe_.Climate.Product; + export type ProductRetrieveParams = Stripe_.Climate.ProductRetrieveParams; + export type ProductListParams = Stripe_.Climate.ProductListParams; + export type ProductResource = Stripe_.Climate.ProductResource; + export type Supplier = Stripe_.Climate.Supplier; + export type SupplierRetrieveParams = Stripe_.Climate.SupplierRetrieveParams; + export type SupplierListParams = Stripe_.Climate.SupplierListParams; + export type SupplierResource = Stripe_.Climate.SupplierResource; export namespace OrderCreateParams { - export type Beneficiary = Stripe.Climate.OrderCreateParams.Beneficiary; + export type Beneficiary = Stripe_.Climate.OrderCreateParams.Beneficiary; } export namespace Order { - export type Beneficiary = Stripe.Climate.Order.Beneficiary; - export type CancellationReason = Stripe.Climate.Order.CancellationReason; - export type DeliveryDetail = Stripe.Climate.Order.DeliveryDetail; - export type Status = Stripe.Climate.Order.Status; + export type Beneficiary = Stripe_.Climate.Order.Beneficiary; + export type CancellationReason = Stripe_.Climate.Order.CancellationReason; + export type DeliveryDetail = Stripe_.Climate.Order.DeliveryDetail; + export type Status = Stripe_.Climate.Order.Status; export namespace DeliveryDetail { - export type Location = Stripe.Climate.Order.DeliveryDetail.Location; + export type Location = Stripe_.Climate.Order.DeliveryDetail.Location; } } export namespace Product { - export type CurrentPricesPerMetricTon = Stripe.Climate.Product.CurrentPricesPerMetricTon; + export type CurrentPricesPerMetricTon = Stripe_.Climate.Product.CurrentPricesPerMetricTon; } export namespace Supplier { - export type Location = Stripe.Climate.Supplier.Location; - export type RemovalPathway = Stripe.Climate.Supplier.RemovalPathway; + export type Location = Stripe_.Climate.Supplier.Location; + export type RemovalPathway = Stripe_.Climate.Supplier.RemovalPathway; } } export namespace Entitlements { - export type ActiveEntitlement = Stripe.Entitlements.ActiveEntitlement; - export type ActiveEntitlementRetrieveParams = Stripe.Entitlements.ActiveEntitlementRetrieveParams; - export type ActiveEntitlementListParams = Stripe.Entitlements.ActiveEntitlementListParams; - export type ActiveEntitlementResource = Stripe.Entitlements.ActiveEntitlementResource; - export type Feature = Stripe.Entitlements.Feature; - export type FeatureCreateParams = Stripe.Entitlements.FeatureCreateParams; - export type FeatureRetrieveParams = Stripe.Entitlements.FeatureRetrieveParams; - export type FeatureUpdateParams = Stripe.Entitlements.FeatureUpdateParams; - export type FeatureListParams = Stripe.Entitlements.FeatureListParams; - export type FeatureResource = Stripe.Entitlements.FeatureResource; - export type ActiveEntitlementSummary = Stripe.Entitlements.ActiveEntitlementSummary; + export type ActiveEntitlement = Stripe_.Entitlements.ActiveEntitlement; + export type ActiveEntitlementRetrieveParams = Stripe_.Entitlements.ActiveEntitlementRetrieveParams; + export type ActiveEntitlementListParams = Stripe_.Entitlements.ActiveEntitlementListParams; + export type ActiveEntitlementResource = Stripe_.Entitlements.ActiveEntitlementResource; + export type Feature = Stripe_.Entitlements.Feature; + export type FeatureCreateParams = Stripe_.Entitlements.FeatureCreateParams; + export type FeatureRetrieveParams = Stripe_.Entitlements.FeatureRetrieveParams; + export type FeatureUpdateParams = Stripe_.Entitlements.FeatureUpdateParams; + export type FeatureListParams = Stripe_.Entitlements.FeatureListParams; + export type FeatureResource = Stripe_.Entitlements.FeatureResource; + export type ActiveEntitlementSummary = Stripe_.Entitlements.ActiveEntitlementSummary; } export namespace FinancialConnections { - export type Account = Stripe.FinancialConnections.Account; - export type AccountRetrieveParams = Stripe.FinancialConnections.AccountRetrieveParams; - export type AccountListParams = Stripe.FinancialConnections.AccountListParams; - export type AccountDisconnectParams = Stripe.FinancialConnections.AccountDisconnectParams; - export type AccountListOwnersParams = Stripe.FinancialConnections.AccountListOwnersParams; - export type AccountRefreshParams = Stripe.FinancialConnections.AccountRefreshParams; - export type AccountSubscribeParams = Stripe.FinancialConnections.AccountSubscribeParams; - export type AccountUnsubscribeParams = Stripe.FinancialConnections.AccountUnsubscribeParams; - export type AccountResource = Stripe.FinancialConnections.AccountResource; - export type Session = Stripe.FinancialConnections.Session; - export type SessionCreateParams = Stripe.FinancialConnections.SessionCreateParams; - export type SessionRetrieveParams = Stripe.FinancialConnections.SessionRetrieveParams; - export type SessionResource = Stripe.FinancialConnections.SessionResource; - export type Transaction = Stripe.FinancialConnections.Transaction; - export type TransactionRetrieveParams = Stripe.FinancialConnections.TransactionRetrieveParams; - export type TransactionListParams = Stripe.FinancialConnections.TransactionListParams; - export type TransactionResource = Stripe.FinancialConnections.TransactionResource; - export type AccountOwner = Stripe.FinancialConnections.AccountOwner; - export type AccountOwnership = Stripe.FinancialConnections.AccountOwnership; + export type Account = Stripe_.FinancialConnections.Account; + export type AccountRetrieveParams = Stripe_.FinancialConnections.AccountRetrieveParams; + export type AccountListParams = Stripe_.FinancialConnections.AccountListParams; + export type AccountDisconnectParams = Stripe_.FinancialConnections.AccountDisconnectParams; + export type AccountListOwnersParams = Stripe_.FinancialConnections.AccountListOwnersParams; + export type AccountRefreshParams = Stripe_.FinancialConnections.AccountRefreshParams; + export type AccountSubscribeParams = Stripe_.FinancialConnections.AccountSubscribeParams; + export type AccountUnsubscribeParams = Stripe_.FinancialConnections.AccountUnsubscribeParams; + export type AccountResource = Stripe_.FinancialConnections.AccountResource; + export type Session = Stripe_.FinancialConnections.Session; + export type SessionCreateParams = Stripe_.FinancialConnections.SessionCreateParams; + export type SessionRetrieveParams = Stripe_.FinancialConnections.SessionRetrieveParams; + export type SessionResource = Stripe_.FinancialConnections.SessionResource; + export type Transaction = Stripe_.FinancialConnections.Transaction; + export type TransactionRetrieveParams = Stripe_.FinancialConnections.TransactionRetrieveParams; + export type TransactionListParams = Stripe_.FinancialConnections.TransactionListParams; + export type TransactionResource = Stripe_.FinancialConnections.TransactionResource; + export type AccountOwner = Stripe_.FinancialConnections.AccountOwner; + export type AccountOwnership = Stripe_.FinancialConnections.AccountOwnership; export namespace Account { - export type AccountHolder = Stripe.FinancialConnections.Account.AccountHolder; - export type AccountNumber = Stripe.FinancialConnections.Account.AccountNumber; - export type Balance = Stripe.FinancialConnections.Account.Balance; - export type BalanceRefresh = Stripe.FinancialConnections.Account.BalanceRefresh; - export type Category = Stripe.FinancialConnections.Account.Category; - export type OwnershipRefresh = Stripe.FinancialConnections.Account.OwnershipRefresh; - export type Permission = Stripe.FinancialConnections.Account.Permission; - export type Status = Stripe.FinancialConnections.Account.Status; - export type Subcategory = Stripe.FinancialConnections.Account.Subcategory; - export type SupportedPaymentMethodType = Stripe.FinancialConnections.Account.SupportedPaymentMethodType; - export type TransactionRefresh = Stripe.FinancialConnections.Account.TransactionRefresh; + export type AccountHolder = Stripe_.FinancialConnections.Account.AccountHolder; + export type AccountNumber = Stripe_.FinancialConnections.Account.AccountNumber; + export type Balance = Stripe_.FinancialConnections.Account.Balance; + export type BalanceRefresh = Stripe_.FinancialConnections.Account.BalanceRefresh; + export type Category = Stripe_.FinancialConnections.Account.Category; + export type OwnershipRefresh = Stripe_.FinancialConnections.Account.OwnershipRefresh; + export type Permission = Stripe_.FinancialConnections.Account.Permission; + export type Status = Stripe_.FinancialConnections.Account.Status; + export type Subcategory = Stripe_.FinancialConnections.Account.Subcategory; + export type SupportedPaymentMethodType = Stripe_.FinancialConnections.Account.SupportedPaymentMethodType; + export type TransactionRefresh = Stripe_.FinancialConnections.Account.TransactionRefresh; export namespace AccountHolder { - export type Type = Stripe.FinancialConnections.Account.AccountHolder.Type; + export type Type = Stripe_.FinancialConnections.Account.AccountHolder.Type; } export namespace AccountNumber { - export type IdentifierType = Stripe.FinancialConnections.Account.AccountNumber.IdentifierType; - export type Status = Stripe.FinancialConnections.Account.AccountNumber.Status; + export type IdentifierType = Stripe_.FinancialConnections.Account.AccountNumber.IdentifierType; + export type Status = Stripe_.FinancialConnections.Account.AccountNumber.Status; } export namespace Balance { - export type Cash = Stripe.FinancialConnections.Account.Balance.Cash; - export type Credit = Stripe.FinancialConnections.Account.Balance.Credit; - export type Type = Stripe.FinancialConnections.Account.Balance.Type; + export type Cash = Stripe_.FinancialConnections.Account.Balance.Cash; + export type Credit = Stripe_.FinancialConnections.Account.Balance.Credit; + export type Type = Stripe_.FinancialConnections.Account.Balance.Type; } export namespace BalanceRefresh { - export type Status = Stripe.FinancialConnections.Account.BalanceRefresh.Status; + export type Status = Stripe_.FinancialConnections.Account.BalanceRefresh.Status; } export namespace OwnershipRefresh { - export type Status = Stripe.FinancialConnections.Account.OwnershipRefresh.Status; + export type Status = Stripe_.FinancialConnections.Account.OwnershipRefresh.Status; } export namespace TransactionRefresh { - export type Status = Stripe.FinancialConnections.Account.TransactionRefresh.Status; + export type Status = Stripe_.FinancialConnections.Account.TransactionRefresh.Status; } } export namespace SessionCreateParams { - export type AccountHolder = Stripe.FinancialConnections.SessionCreateParams.AccountHolder; - export type Permission = Stripe.FinancialConnections.SessionCreateParams.Permission; - export type Filters = Stripe.FinancialConnections.SessionCreateParams.Filters; - export type Prefetch = Stripe.FinancialConnections.SessionCreateParams.Prefetch; + export type AccountHolder = Stripe_.FinancialConnections.SessionCreateParams.AccountHolder; + export type Permission = Stripe_.FinancialConnections.SessionCreateParams.Permission; + export type Filters = Stripe_.FinancialConnections.SessionCreateParams.Filters; + export type Prefetch = Stripe_.FinancialConnections.SessionCreateParams.Prefetch; export namespace AccountHolder { - export type Type = Stripe.FinancialConnections.SessionCreateParams.AccountHolder.Type; + export type Type = Stripe_.FinancialConnections.SessionCreateParams.AccountHolder.Type; } export namespace Filters { - export type AccountSubcategory = Stripe.FinancialConnections.SessionCreateParams.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.FinancialConnections.SessionCreateParams.Filters.AccountSubcategory; } } export namespace Session { - export type AccountHolder = Stripe.FinancialConnections.Session.AccountHolder; - export type Filters = Stripe.FinancialConnections.Session.Filters; - export type Permission = Stripe.FinancialConnections.Session.Permission; - export type Prefetch = Stripe.FinancialConnections.Session.Prefetch; + export type AccountHolder = Stripe_.FinancialConnections.Session.AccountHolder; + export type Filters = Stripe_.FinancialConnections.Session.Filters; + export type Permission = Stripe_.FinancialConnections.Session.Permission; + export type Prefetch = Stripe_.FinancialConnections.Session.Prefetch; export namespace AccountHolder { - export type Type = Stripe.FinancialConnections.Session.AccountHolder.Type; + export type Type = Stripe_.FinancialConnections.Session.AccountHolder.Type; } export namespace Filters { - export type AccountSubcategory = Stripe.FinancialConnections.Session.Filters.AccountSubcategory; + export type AccountSubcategory = Stripe_.FinancialConnections.Session.Filters.AccountSubcategory; } } export namespace Transaction { - export type Status = Stripe.FinancialConnections.Transaction.Status; - export type StatusTransitions = Stripe.FinancialConnections.Transaction.StatusTransitions; + export type Status = Stripe_.FinancialConnections.Transaction.Status; + export type StatusTransitions = Stripe_.FinancialConnections.Transaction.StatusTransitions; } } export namespace Forwarding { - export type Request = Stripe.Forwarding.Request; - export type RequestCreateParams = Stripe.Forwarding.RequestCreateParams; - export type RequestRetrieveParams = Stripe.Forwarding.RequestRetrieveParams; - export type RequestListParams = Stripe.Forwarding.RequestListParams; - export type RequestResource = Stripe.Forwarding.RequestResource; + export type Request = Stripe_.Forwarding.Request; + export type RequestCreateParams = Stripe_.Forwarding.RequestCreateParams; + export type RequestRetrieveParams = Stripe_.Forwarding.RequestRetrieveParams; + export type RequestListParams = Stripe_.Forwarding.RequestListParams; + export type RequestResource = Stripe_.Forwarding.RequestResource; export namespace RequestCreateParams { - export type Replacement = Stripe.Forwarding.RequestCreateParams.Replacement; - export type Request = Stripe.Forwarding.RequestCreateParams.Request; + export type Replacement = Stripe_.Forwarding.RequestCreateParams.Replacement; + export type Request = Stripe_.Forwarding.RequestCreateParams.Request; export namespace Request { - export type Header = Stripe.Forwarding.RequestCreateParams.Request.Header; + export type Header = Stripe_.Forwarding.RequestCreateParams.Request.Header; } } export namespace Request { - export type Replacement = Stripe.Forwarding.Request.Replacement; - export type RequestContext = Stripe.Forwarding.Request.RequestContext; - export type RequestDetails = Stripe.Forwarding.Request.RequestDetails; - export type ResponseDetails = Stripe.Forwarding.Request.ResponseDetails; + export type Replacement = Stripe_.Forwarding.Request.Replacement; + export type RequestContext = Stripe_.Forwarding.Request.RequestContext; + export type RequestDetails = Stripe_.Forwarding.Request.RequestDetails; + export type ResponseDetails = Stripe_.Forwarding.Request.ResponseDetails; export namespace RequestDetails { - export type Header = Stripe.Forwarding.Request.RequestDetails.Header; + export type Header = Stripe_.Forwarding.Request.RequestDetails.Header; } export namespace ResponseDetails { - export type Header = Stripe.Forwarding.Request.ResponseDetails.Header; + export type Header = Stripe_.Forwarding.Request.ResponseDetails.Header; } } } export namespace Identity { - export type VerificationReport = Stripe.Identity.VerificationReport; - export type VerificationReportRetrieveParams = Stripe.Identity.VerificationReportRetrieveParams; - export type VerificationReportListParams = Stripe.Identity.VerificationReportListParams; - export type VerificationReportResource = Stripe.Identity.VerificationReportResource; - export type VerificationSession = Stripe.Identity.VerificationSession; - export type VerificationSessionCreateParams = Stripe.Identity.VerificationSessionCreateParams; - export type VerificationSessionRetrieveParams = Stripe.Identity.VerificationSessionRetrieveParams; - export type VerificationSessionUpdateParams = Stripe.Identity.VerificationSessionUpdateParams; - export type VerificationSessionListParams = Stripe.Identity.VerificationSessionListParams; - export type VerificationSessionCancelParams = Stripe.Identity.VerificationSessionCancelParams; - export type VerificationSessionRedactParams = Stripe.Identity.VerificationSessionRedactParams; - export type VerificationSessionResource = Stripe.Identity.VerificationSessionResource; + export type VerificationReport = Stripe_.Identity.VerificationReport; + export type VerificationReportRetrieveParams = Stripe_.Identity.VerificationReportRetrieveParams; + export type VerificationReportListParams = Stripe_.Identity.VerificationReportListParams; + export type VerificationReportResource = Stripe_.Identity.VerificationReportResource; + export type VerificationSession = Stripe_.Identity.VerificationSession; + export type VerificationSessionCreateParams = Stripe_.Identity.VerificationSessionCreateParams; + export type VerificationSessionRetrieveParams = Stripe_.Identity.VerificationSessionRetrieveParams; + export type VerificationSessionUpdateParams = Stripe_.Identity.VerificationSessionUpdateParams; + export type VerificationSessionListParams = Stripe_.Identity.VerificationSessionListParams; + export type VerificationSessionCancelParams = Stripe_.Identity.VerificationSessionCancelParams; + export type VerificationSessionRedactParams = Stripe_.Identity.VerificationSessionRedactParams; + export type VerificationSessionResource = Stripe_.Identity.VerificationSessionResource; export namespace VerificationReport { - export type Document = Stripe.Identity.VerificationReport.Document; - export type Email = Stripe.Identity.VerificationReport.Email; - export type IdNumber = Stripe.Identity.VerificationReport.IdNumber; - export type Options = Stripe.Identity.VerificationReport.Options; - export type Phone = Stripe.Identity.VerificationReport.Phone; - export type Selfie = Stripe.Identity.VerificationReport.Selfie; - export type Type = Stripe.Identity.VerificationReport.Type; + export type Document = Stripe_.Identity.VerificationReport.Document; + export type Email = Stripe_.Identity.VerificationReport.Email; + export type IdNumber = Stripe_.Identity.VerificationReport.IdNumber; + export type Options = Stripe_.Identity.VerificationReport.Options; + export type Phone = Stripe_.Identity.VerificationReport.Phone; + export type Selfie = Stripe_.Identity.VerificationReport.Selfie; + export type Type = Stripe_.Identity.VerificationReport.Type; export namespace Document { - export type Dob = Stripe.Identity.VerificationReport.Document.Dob; - export type Error = Stripe.Identity.VerificationReport.Document.Error; - export type ExpirationDate = Stripe.Identity.VerificationReport.Document.ExpirationDate; - export type IssuedDate = Stripe.Identity.VerificationReport.Document.IssuedDate; - export type Sex = Stripe.Identity.VerificationReport.Document.Sex; - export type Status = Stripe.Identity.VerificationReport.Document.Status; - export type Type = Stripe.Identity.VerificationReport.Document.Type; + export type Dob = Stripe_.Identity.VerificationReport.Document.Dob; + export type Error = Stripe_.Identity.VerificationReport.Document.Error; + export type ExpirationDate = Stripe_.Identity.VerificationReport.Document.ExpirationDate; + export type IssuedDate = Stripe_.Identity.VerificationReport.Document.IssuedDate; + export type Sex = Stripe_.Identity.VerificationReport.Document.Sex; + export type Status = Stripe_.Identity.VerificationReport.Document.Status; + export type Type = Stripe_.Identity.VerificationReport.Document.Type; export namespace Error { - export type Code = Stripe.Identity.VerificationReport.Document.Error.Code; + export type Code = Stripe_.Identity.VerificationReport.Document.Error.Code; } } export namespace Email { - export type Error = Stripe.Identity.VerificationReport.Email.Error; - export type Status = Stripe.Identity.VerificationReport.Email.Status; + export type Error = Stripe_.Identity.VerificationReport.Email.Error; + export type Status = Stripe_.Identity.VerificationReport.Email.Status; export namespace Error { - export type Code = Stripe.Identity.VerificationReport.Email.Error.Code; + export type Code = Stripe_.Identity.VerificationReport.Email.Error.Code; } } export namespace IdNumber { - export type Dob = Stripe.Identity.VerificationReport.IdNumber.Dob; - export type Error = Stripe.Identity.VerificationReport.IdNumber.Error; - export type IdNumberType = Stripe.Identity.VerificationReport.IdNumber.IdNumberType; - export type Status = Stripe.Identity.VerificationReport.IdNumber.Status; + export type Dob = Stripe_.Identity.VerificationReport.IdNumber.Dob; + export type Error = Stripe_.Identity.VerificationReport.IdNumber.Error; + export type IdNumberType = Stripe_.Identity.VerificationReport.IdNumber.IdNumberType; + export type Status = Stripe_.Identity.VerificationReport.IdNumber.Status; export namespace Error { - export type Code = Stripe.Identity.VerificationReport.IdNumber.Error.Code; + export type Code = Stripe_.Identity.VerificationReport.IdNumber.Error.Code; } } export namespace Options { - export type Document = Stripe.Identity.VerificationReport.Options.Document; - export type IdNumber = Stripe.Identity.VerificationReport.Options.IdNumber; + export type Document = Stripe_.Identity.VerificationReport.Options.Document; + export type IdNumber = Stripe_.Identity.VerificationReport.Options.IdNumber; export namespace Document { - export type AllowedType = Stripe.Identity.VerificationReport.Options.Document.AllowedType; + export type AllowedType = Stripe_.Identity.VerificationReport.Options.Document.AllowedType; } } export namespace Phone { - export type Error = Stripe.Identity.VerificationReport.Phone.Error; - export type Status = Stripe.Identity.VerificationReport.Phone.Status; + export type Error = Stripe_.Identity.VerificationReport.Phone.Error; + export type Status = Stripe_.Identity.VerificationReport.Phone.Status; export namespace Error { - export type Code = Stripe.Identity.VerificationReport.Phone.Error.Code; + export type Code = Stripe_.Identity.VerificationReport.Phone.Error.Code; } } export namespace Selfie { - export type Error = Stripe.Identity.VerificationReport.Selfie.Error; - export type Status = Stripe.Identity.VerificationReport.Selfie.Status; + export type Error = Stripe_.Identity.VerificationReport.Selfie.Error; + export type Status = Stripe_.Identity.VerificationReport.Selfie.Status; export namespace Error { - export type Code = Stripe.Identity.VerificationReport.Selfie.Error.Code; + export type Code = Stripe_.Identity.VerificationReport.Selfie.Error.Code; } } } export namespace VerificationSessionCreateParams { - export type Options = Stripe.Identity.VerificationSessionCreateParams.Options; - export type ProvidedDetails = Stripe.Identity.VerificationSessionCreateParams.ProvidedDetails; - export type RelatedPerson = Stripe.Identity.VerificationSessionCreateParams.RelatedPerson; - export type Type = Stripe.Identity.VerificationSessionCreateParams.Type; + export type Options = Stripe_.Identity.VerificationSessionCreateParams.Options; + export type ProvidedDetails = Stripe_.Identity.VerificationSessionCreateParams.ProvidedDetails; + export type RelatedPerson = Stripe_.Identity.VerificationSessionCreateParams.RelatedPerson; + export type Type = Stripe_.Identity.VerificationSessionCreateParams.Type; export namespace Options { - export type Document = Stripe.Identity.VerificationSessionCreateParams.Options.Document; + export type Document = Stripe_.Identity.VerificationSessionCreateParams.Options.Document; export namespace Document { - export type AllowedType = Stripe.Identity.VerificationSessionCreateParams.Options.Document.AllowedType; + export type AllowedType = Stripe_.Identity.VerificationSessionCreateParams.Options.Document.AllowedType; } } } export namespace VerificationSession { - export type LastError = Stripe.Identity.VerificationSession.LastError; - export type Options = Stripe.Identity.VerificationSession.Options; - export type ProvidedDetails = Stripe.Identity.VerificationSession.ProvidedDetails; - export type Redaction = Stripe.Identity.VerificationSession.Redaction; - export type RelatedPerson = Stripe.Identity.VerificationSession.RelatedPerson; - export type Status = Stripe.Identity.VerificationSession.Status; - export type Type = Stripe.Identity.VerificationSession.Type; - export type VerifiedOutputs = Stripe.Identity.VerificationSession.VerifiedOutputs; + export type LastError = Stripe_.Identity.VerificationSession.LastError; + export type Options = Stripe_.Identity.VerificationSession.Options; + export type ProvidedDetails = Stripe_.Identity.VerificationSession.ProvidedDetails; + export type Redaction = Stripe_.Identity.VerificationSession.Redaction; + export type RelatedPerson = Stripe_.Identity.VerificationSession.RelatedPerson; + export type Status = Stripe_.Identity.VerificationSession.Status; + export type Type = Stripe_.Identity.VerificationSession.Type; + export type VerifiedOutputs = Stripe_.Identity.VerificationSession.VerifiedOutputs; export namespace LastError { - export type Code = Stripe.Identity.VerificationSession.LastError.Code; + export type Code = Stripe_.Identity.VerificationSession.LastError.Code; } export namespace Options { - export type Document = Stripe.Identity.VerificationSession.Options.Document; - export type Email = Stripe.Identity.VerificationSession.Options.Email; - export type IdNumber = Stripe.Identity.VerificationSession.Options.IdNumber; - export type Matching = Stripe.Identity.VerificationSession.Options.Matching; - export type Phone = Stripe.Identity.VerificationSession.Options.Phone; + export type Document = Stripe_.Identity.VerificationSession.Options.Document; + export type Email = Stripe_.Identity.VerificationSession.Options.Email; + export type IdNumber = Stripe_.Identity.VerificationSession.Options.IdNumber; + export type Matching = Stripe_.Identity.VerificationSession.Options.Matching; + export type Phone = Stripe_.Identity.VerificationSession.Options.Phone; export namespace Document { - export type AllowedType = Stripe.Identity.VerificationSession.Options.Document.AllowedType; + export type AllowedType = Stripe_.Identity.VerificationSession.Options.Document.AllowedType; } export namespace Matching { - export type Dob = Stripe.Identity.VerificationSession.Options.Matching.Dob; - export type Name = Stripe.Identity.VerificationSession.Options.Matching.Name; + export type Dob = Stripe_.Identity.VerificationSession.Options.Matching.Dob; + export type Name = Stripe_.Identity.VerificationSession.Options.Matching.Name; } } export namespace Redaction { - export type Status = Stripe.Identity.VerificationSession.Redaction.Status; + export type Status = Stripe_.Identity.VerificationSession.Redaction.Status; } export namespace VerifiedOutputs { - export type Dob = Stripe.Identity.VerificationSession.VerifiedOutputs.Dob; - export type IdNumberType = Stripe.Identity.VerificationSession.VerifiedOutputs.IdNumberType; - export type Sex = Stripe.Identity.VerificationSession.VerifiedOutputs.Sex; + export type Dob = Stripe_.Identity.VerificationSession.VerifiedOutputs.Dob; + export type IdNumberType = Stripe_.Identity.VerificationSession.VerifiedOutputs.IdNumberType; + export type Sex = Stripe_.Identity.VerificationSession.VerifiedOutputs.Sex; } } } export namespace Issuing { - export type Authorization = Stripe.Issuing.Authorization; - export type AuthorizationRetrieveParams = Stripe.Issuing.AuthorizationRetrieveParams; - export type AuthorizationUpdateParams = Stripe.Issuing.AuthorizationUpdateParams; - export type AuthorizationListParams = Stripe.Issuing.AuthorizationListParams; - export type AuthorizationApproveParams = Stripe.Issuing.AuthorizationApproveParams; - export type AuthorizationDeclineParams = Stripe.Issuing.AuthorizationDeclineParams; - export type AuthorizationResource = Stripe.Issuing.AuthorizationResource; - export type Card = Stripe.Issuing.Card; - export type CardCreateParams = Stripe.Issuing.CardCreateParams; - export type CardRetrieveParams = Stripe.Issuing.CardRetrieveParams; - export type CardUpdateParams = Stripe.Issuing.CardUpdateParams; - export type CardListParams = Stripe.Issuing.CardListParams; - export type CardResource = Stripe.Issuing.CardResource; - export type Cardholder = Stripe.Issuing.Cardholder; - export type CardholderCreateParams = Stripe.Issuing.CardholderCreateParams; - export type CardholderRetrieveParams = Stripe.Issuing.CardholderRetrieveParams; - export type CardholderUpdateParams = Stripe.Issuing.CardholderUpdateParams; - export type CardholderListParams = Stripe.Issuing.CardholderListParams; - export type CardholderResource = Stripe.Issuing.CardholderResource; - export type Dispute = Stripe.Issuing.Dispute; - export type DisputeCreateParams = Stripe.Issuing.DisputeCreateParams; - export type DisputeRetrieveParams = Stripe.Issuing.DisputeRetrieveParams; - export type DisputeUpdateParams = Stripe.Issuing.DisputeUpdateParams; - export type DisputeListParams = Stripe.Issuing.DisputeListParams; - export type DisputeSubmitParams = Stripe.Issuing.DisputeSubmitParams; - export type DisputeResource = Stripe.Issuing.DisputeResource; - export type PersonalizationDesign = Stripe.Issuing.PersonalizationDesign; - export type PersonalizationDesignCreateParams = Stripe.Issuing.PersonalizationDesignCreateParams; - export type PersonalizationDesignRetrieveParams = Stripe.Issuing.PersonalizationDesignRetrieveParams; - export type PersonalizationDesignUpdateParams = Stripe.Issuing.PersonalizationDesignUpdateParams; - export type PersonalizationDesignListParams = Stripe.Issuing.PersonalizationDesignListParams; - export type PersonalizationDesignResource = Stripe.Issuing.PersonalizationDesignResource; - export type PhysicalBundle = Stripe.Issuing.PhysicalBundle; - export type PhysicalBundleRetrieveParams = Stripe.Issuing.PhysicalBundleRetrieveParams; - export type PhysicalBundleListParams = Stripe.Issuing.PhysicalBundleListParams; - export type PhysicalBundleResource = Stripe.Issuing.PhysicalBundleResource; - export type Token = Stripe.Issuing.Token; - export type TokenRetrieveParams = Stripe.Issuing.TokenRetrieveParams; - export type TokenUpdateParams = Stripe.Issuing.TokenUpdateParams; - export type TokenListParams = Stripe.Issuing.TokenListParams; - export type TokenResource = Stripe.Issuing.TokenResource; - export type Transaction = Stripe.Issuing.Transaction; - export type TransactionRetrieveParams = Stripe.Issuing.TransactionRetrieveParams; - export type TransactionUpdateParams = Stripe.Issuing.TransactionUpdateParams; - export type TransactionListParams = Stripe.Issuing.TransactionListParams; - export type TransactionResource = Stripe.Issuing.TransactionResource; + export type Authorization = Stripe_.Issuing.Authorization; + export type AuthorizationRetrieveParams = Stripe_.Issuing.AuthorizationRetrieveParams; + export type AuthorizationUpdateParams = Stripe_.Issuing.AuthorizationUpdateParams; + export type AuthorizationListParams = Stripe_.Issuing.AuthorizationListParams; + export type AuthorizationApproveParams = Stripe_.Issuing.AuthorizationApproveParams; + export type AuthorizationDeclineParams = Stripe_.Issuing.AuthorizationDeclineParams; + export type AuthorizationResource = Stripe_.Issuing.AuthorizationResource; + export type Card = Stripe_.Issuing.Card; + export type CardCreateParams = Stripe_.Issuing.CardCreateParams; + export type CardRetrieveParams = Stripe_.Issuing.CardRetrieveParams; + export type CardUpdateParams = Stripe_.Issuing.CardUpdateParams; + export type CardListParams = Stripe_.Issuing.CardListParams; + export type CardResource = Stripe_.Issuing.CardResource; + export type Cardholder = Stripe_.Issuing.Cardholder; + export type CardholderCreateParams = Stripe_.Issuing.CardholderCreateParams; + export type CardholderRetrieveParams = Stripe_.Issuing.CardholderRetrieveParams; + export type CardholderUpdateParams = Stripe_.Issuing.CardholderUpdateParams; + export type CardholderListParams = Stripe_.Issuing.CardholderListParams; + export type CardholderResource = Stripe_.Issuing.CardholderResource; + export type Dispute = Stripe_.Issuing.Dispute; + export type DisputeCreateParams = Stripe_.Issuing.DisputeCreateParams; + export type DisputeRetrieveParams = Stripe_.Issuing.DisputeRetrieveParams; + export type DisputeUpdateParams = Stripe_.Issuing.DisputeUpdateParams; + export type DisputeListParams = Stripe_.Issuing.DisputeListParams; + export type DisputeSubmitParams = Stripe_.Issuing.DisputeSubmitParams; + export type DisputeResource = Stripe_.Issuing.DisputeResource; + export type PersonalizationDesign = Stripe_.Issuing.PersonalizationDesign; + export type PersonalizationDesignCreateParams = Stripe_.Issuing.PersonalizationDesignCreateParams; + export type PersonalizationDesignRetrieveParams = Stripe_.Issuing.PersonalizationDesignRetrieveParams; + export type PersonalizationDesignUpdateParams = Stripe_.Issuing.PersonalizationDesignUpdateParams; + export type PersonalizationDesignListParams = Stripe_.Issuing.PersonalizationDesignListParams; + export type PersonalizationDesignResource = Stripe_.Issuing.PersonalizationDesignResource; + export type PhysicalBundle = Stripe_.Issuing.PhysicalBundle; + export type PhysicalBundleRetrieveParams = Stripe_.Issuing.PhysicalBundleRetrieveParams; + export type PhysicalBundleListParams = Stripe_.Issuing.PhysicalBundleListParams; + export type PhysicalBundleResource = Stripe_.Issuing.PhysicalBundleResource; + export type Token = Stripe_.Issuing.Token; + export type TokenRetrieveParams = Stripe_.Issuing.TokenRetrieveParams; + export type TokenUpdateParams = Stripe_.Issuing.TokenUpdateParams; + export type TokenListParams = Stripe_.Issuing.TokenListParams; + export type TokenResource = Stripe_.Issuing.TokenResource; + export type Transaction = Stripe_.Issuing.Transaction; + export type TransactionRetrieveParams = Stripe_.Issuing.TransactionRetrieveParams; + export type TransactionUpdateParams = Stripe_.Issuing.TransactionUpdateParams; + export type TransactionListParams = Stripe_.Issuing.TransactionListParams; + export type TransactionResource = Stripe_.Issuing.TransactionResource; export namespace Authorization { - export type AmountDetails = Stripe.Issuing.Authorization.AmountDetails; - export type AuthorizationMethod = Stripe.Issuing.Authorization.AuthorizationMethod; - export type CardPresence = Stripe.Issuing.Authorization.CardPresence; - export type Fleet = Stripe.Issuing.Authorization.Fleet; - export type FraudChallenge = Stripe.Issuing.Authorization.FraudChallenge; - export type Fuel = Stripe.Issuing.Authorization.Fuel; - export type MerchantData = Stripe.Issuing.Authorization.MerchantData; - export type NetworkData = Stripe.Issuing.Authorization.NetworkData; - export type PendingRequest = Stripe.Issuing.Authorization.PendingRequest; - export type RequestHistory = Stripe.Issuing.Authorization.RequestHistory; - export type Status = Stripe.Issuing.Authorization.Status; - export type Treasury = Stripe.Issuing.Authorization.Treasury; - export type VerificationData = Stripe.Issuing.Authorization.VerificationData; + export type AmountDetails = Stripe_.Issuing.Authorization.AmountDetails; + export type AuthorizationMethod = Stripe_.Issuing.Authorization.AuthorizationMethod; + export type CardPresence = Stripe_.Issuing.Authorization.CardPresence; + export type Fleet = Stripe_.Issuing.Authorization.Fleet; + export type FraudChallenge = Stripe_.Issuing.Authorization.FraudChallenge; + export type Fuel = Stripe_.Issuing.Authorization.Fuel; + export type MerchantData = Stripe_.Issuing.Authorization.MerchantData; + export type NetworkData = Stripe_.Issuing.Authorization.NetworkData; + export type PendingRequest = Stripe_.Issuing.Authorization.PendingRequest; + export type RequestHistory = Stripe_.Issuing.Authorization.RequestHistory; + export type Status = Stripe_.Issuing.Authorization.Status; + export type Treasury = Stripe_.Issuing.Authorization.Treasury; + export type VerificationData = Stripe_.Issuing.Authorization.VerificationData; export namespace Fleet { - export type CardholderPromptData = Stripe.Issuing.Authorization.Fleet.CardholderPromptData; - export type PurchaseType = Stripe.Issuing.Authorization.Fleet.PurchaseType; - export type ReportedBreakdown = Stripe.Issuing.Authorization.Fleet.ReportedBreakdown; - export type ServiceType = Stripe.Issuing.Authorization.Fleet.ServiceType; + export type CardholderPromptData = Stripe_.Issuing.Authorization.Fleet.CardholderPromptData; + export type PurchaseType = Stripe_.Issuing.Authorization.Fleet.PurchaseType; + export type ReportedBreakdown = Stripe_.Issuing.Authorization.Fleet.ReportedBreakdown; + export type ServiceType = Stripe_.Issuing.Authorization.Fleet.ServiceType; export namespace ReportedBreakdown { - export type Fuel = Stripe.Issuing.Authorization.Fleet.ReportedBreakdown.Fuel; - export type NonFuel = Stripe.Issuing.Authorization.Fleet.ReportedBreakdown.NonFuel; - export type Tax = Stripe.Issuing.Authorization.Fleet.ReportedBreakdown.Tax; + export type Fuel = Stripe_.Issuing.Authorization.Fleet.ReportedBreakdown.Fuel; + export type NonFuel = Stripe_.Issuing.Authorization.Fleet.ReportedBreakdown.NonFuel; + export type Tax = Stripe_.Issuing.Authorization.Fleet.ReportedBreakdown.Tax; } } export namespace FraudChallenge { - export type Status = Stripe.Issuing.Authorization.FraudChallenge.Status; - export type UndeliverableReason = Stripe.Issuing.Authorization.FraudChallenge.UndeliverableReason; + export type Status = Stripe_.Issuing.Authorization.FraudChallenge.Status; + export type UndeliverableReason = Stripe_.Issuing.Authorization.FraudChallenge.UndeliverableReason; } export namespace Fuel { - export type Type = Stripe.Issuing.Authorization.Fuel.Type; - export type Unit = Stripe.Issuing.Authorization.Fuel.Unit; + export type Type = Stripe_.Issuing.Authorization.Fuel.Type; + export type Unit = Stripe_.Issuing.Authorization.Fuel.Unit; } export namespace PendingRequest { - export type AmountDetails = Stripe.Issuing.Authorization.PendingRequest.AmountDetails; + export type AmountDetails = Stripe_.Issuing.Authorization.PendingRequest.AmountDetails; } export namespace RequestHistory { - export type AmountDetails = Stripe.Issuing.Authorization.RequestHistory.AmountDetails; - export type Reason = Stripe.Issuing.Authorization.RequestHistory.Reason; + export type AmountDetails = Stripe_.Issuing.Authorization.RequestHistory.AmountDetails; + export type Reason = Stripe_.Issuing.Authorization.RequestHistory.Reason; } export namespace VerificationData { - export type AddressLine1Check = Stripe.Issuing.Authorization.VerificationData.AddressLine1Check; - export type AddressPostalCodeCheck = Stripe.Issuing.Authorization.VerificationData.AddressPostalCodeCheck; - export type AuthenticationExemption = Stripe.Issuing.Authorization.VerificationData.AuthenticationExemption; - export type CvcCheck = Stripe.Issuing.Authorization.VerificationData.CvcCheck; - export type ExpiryCheck = Stripe.Issuing.Authorization.VerificationData.ExpiryCheck; - export type ThreeDSecure = Stripe.Issuing.Authorization.VerificationData.ThreeDSecure; + export type AddressLine1Check = Stripe_.Issuing.Authorization.VerificationData.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.Issuing.Authorization.VerificationData.AddressPostalCodeCheck; + export type AuthenticationExemption = Stripe_.Issuing.Authorization.VerificationData.AuthenticationExemption; + export type CvcCheck = Stripe_.Issuing.Authorization.VerificationData.CvcCheck; + export type ExpiryCheck = Stripe_.Issuing.Authorization.VerificationData.ExpiryCheck; + export type ThreeDSecure = Stripe_.Issuing.Authorization.VerificationData.ThreeDSecure; export namespace AuthenticationExemption { - export type ClaimedBy = Stripe.Issuing.Authorization.VerificationData.AuthenticationExemption.ClaimedBy; - export type Type = Stripe.Issuing.Authorization.VerificationData.AuthenticationExemption.Type; + export type ClaimedBy = Stripe_.Issuing.Authorization.VerificationData.AuthenticationExemption.ClaimedBy; + export type Type = Stripe_.Issuing.Authorization.VerificationData.AuthenticationExemption.Type; } export namespace ThreeDSecure { - export type Result = Stripe.Issuing.Authorization.VerificationData.ThreeDSecure.Result; + export type Result = Stripe_.Issuing.Authorization.VerificationData.ThreeDSecure.Result; } } } export namespace CardCreateParams { - export type Type = Stripe.Issuing.CardCreateParams.Type; - export type LifecycleControls = Stripe.Issuing.CardCreateParams.LifecycleControls; - export type Pin = Stripe.Issuing.CardCreateParams.Pin; - export type ReplacementReason = Stripe.Issuing.CardCreateParams.ReplacementReason; - export type Shipping = Stripe.Issuing.CardCreateParams.Shipping; - export type SpendingControls = Stripe.Issuing.CardCreateParams.SpendingControls; - export type Status = Stripe.Issuing.CardCreateParams.Status; + export type Type = Stripe_.Issuing.CardCreateParams.Type; + export type LifecycleControls = Stripe_.Issuing.CardCreateParams.LifecycleControls; + export type Pin = Stripe_.Issuing.CardCreateParams.Pin; + export type ReplacementReason = Stripe_.Issuing.CardCreateParams.ReplacementReason; + export type Shipping = Stripe_.Issuing.CardCreateParams.Shipping; + export type SpendingControls = Stripe_.Issuing.CardCreateParams.SpendingControls; + export type Status = Stripe_.Issuing.CardCreateParams.Status; export namespace LifecycleControls { - export type CancelAfter = Stripe.Issuing.CardCreateParams.LifecycleControls.CancelAfter; + export type CancelAfter = Stripe_.Issuing.CardCreateParams.LifecycleControls.CancelAfter; } export namespace Shipping { - export type Address = Stripe.Issuing.CardCreateParams.Shipping.Address; - export type AddressValidation = Stripe.Issuing.CardCreateParams.Shipping.AddressValidation; - export type Customs = Stripe.Issuing.CardCreateParams.Shipping.Customs; - export type Service = Stripe.Issuing.CardCreateParams.Shipping.Service; - export type Type = Stripe.Issuing.CardCreateParams.Shipping.Type; + export type Address = Stripe_.Issuing.CardCreateParams.Shipping.Address; + export type AddressValidation = Stripe_.Issuing.CardCreateParams.Shipping.AddressValidation; + export type Customs = Stripe_.Issuing.CardCreateParams.Shipping.Customs; + export type Service = Stripe_.Issuing.CardCreateParams.Shipping.Service; + export type Type = Stripe_.Issuing.CardCreateParams.Shipping.Type; export namespace AddressValidation { - export type Mode = Stripe.Issuing.CardCreateParams.Shipping.AddressValidation.Mode; + export type Mode = Stripe_.Issuing.CardCreateParams.Shipping.AddressValidation.Mode; } } export namespace SpendingControls { - export type AllowedCardPresence = Stripe.Issuing.CardCreateParams.SpendingControls.AllowedCardPresence; - export type AllowedCategory = Stripe.Issuing.CardCreateParams.SpendingControls.AllowedCategory; - export type BlockedCardPresence = Stripe.Issuing.CardCreateParams.SpendingControls.BlockedCardPresence; - export type BlockedCategory = Stripe.Issuing.CardCreateParams.SpendingControls.BlockedCategory; - export type SpendingLimit = Stripe.Issuing.CardCreateParams.SpendingControls.SpendingLimit; + export type AllowedCardPresence = Stripe_.Issuing.CardCreateParams.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe_.Issuing.CardCreateParams.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe_.Issuing.CardCreateParams.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe_.Issuing.CardCreateParams.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe_.Issuing.CardCreateParams.SpendingControls.SpendingLimit; export namespace SpendingLimit { - export type Category = Stripe.Issuing.CardCreateParams.SpendingControls.SpendingLimit.Category; - export type Interval = Stripe.Issuing.CardCreateParams.SpendingControls.SpendingLimit.Interval; + export type Category = Stripe_.Issuing.CardCreateParams.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe_.Issuing.CardCreateParams.SpendingControls.SpendingLimit.Interval; } } } export namespace Card { - export type CancellationReason = Stripe.Issuing.Card.CancellationReason; - export type LatestFraudWarning = Stripe.Issuing.Card.LatestFraudWarning; - export type LifecycleControls = Stripe.Issuing.Card.LifecycleControls; - export type ReplacementReason = Stripe.Issuing.Card.ReplacementReason; - export type Shipping = Stripe.Issuing.Card.Shipping; - export type SpendingControls = Stripe.Issuing.Card.SpendingControls; - export type Status = Stripe.Issuing.Card.Status; - export type Type = Stripe.Issuing.Card.Type; - export type Wallets = Stripe.Issuing.Card.Wallets; + export type CancellationReason = Stripe_.Issuing.Card.CancellationReason; + export type LatestFraudWarning = Stripe_.Issuing.Card.LatestFraudWarning; + export type LifecycleControls = Stripe_.Issuing.Card.LifecycleControls; + export type ReplacementReason = Stripe_.Issuing.Card.ReplacementReason; + export type Shipping = Stripe_.Issuing.Card.Shipping; + export type SpendingControls = Stripe_.Issuing.Card.SpendingControls; + export type Status = Stripe_.Issuing.Card.Status; + export type Type = Stripe_.Issuing.Card.Type; + export type Wallets = Stripe_.Issuing.Card.Wallets; export namespace LatestFraudWarning { - export type Type = Stripe.Issuing.Card.LatestFraudWarning.Type; + export type Type = Stripe_.Issuing.Card.LatestFraudWarning.Type; } export namespace LifecycleControls { - export type CancelAfter = Stripe.Issuing.Card.LifecycleControls.CancelAfter; + export type CancelAfter = Stripe_.Issuing.Card.LifecycleControls.CancelAfter; } export namespace Shipping { - export type AddressValidation = Stripe.Issuing.Card.Shipping.AddressValidation; - export type Carrier = Stripe.Issuing.Card.Shipping.Carrier; - export type Customs = Stripe.Issuing.Card.Shipping.Customs; - export type Service = Stripe.Issuing.Card.Shipping.Service; - export type Status = Stripe.Issuing.Card.Shipping.Status; - export type Type = Stripe.Issuing.Card.Shipping.Type; + export type AddressValidation = Stripe_.Issuing.Card.Shipping.AddressValidation; + export type Carrier = Stripe_.Issuing.Card.Shipping.Carrier; + export type Customs = Stripe_.Issuing.Card.Shipping.Customs; + export type Service = Stripe_.Issuing.Card.Shipping.Service; + export type Status = Stripe_.Issuing.Card.Shipping.Status; + export type Type = Stripe_.Issuing.Card.Shipping.Type; export namespace AddressValidation { - export type Mode = Stripe.Issuing.Card.Shipping.AddressValidation.Mode; - export type Result = Stripe.Issuing.Card.Shipping.AddressValidation.Result; + export type Mode = Stripe_.Issuing.Card.Shipping.AddressValidation.Mode; + export type Result = Stripe_.Issuing.Card.Shipping.AddressValidation.Result; } } export namespace SpendingControls { - export type AllowedCardPresence = Stripe.Issuing.Card.SpendingControls.AllowedCardPresence; - export type AllowedCategory = Stripe.Issuing.Card.SpendingControls.AllowedCategory; - export type BlockedCardPresence = Stripe.Issuing.Card.SpendingControls.BlockedCardPresence; - export type BlockedCategory = Stripe.Issuing.Card.SpendingControls.BlockedCategory; - export type SpendingLimit = Stripe.Issuing.Card.SpendingControls.SpendingLimit; + export type AllowedCardPresence = Stripe_.Issuing.Card.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe_.Issuing.Card.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe_.Issuing.Card.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe_.Issuing.Card.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe_.Issuing.Card.SpendingControls.SpendingLimit; export namespace SpendingLimit { - export type Category = Stripe.Issuing.Card.SpendingControls.SpendingLimit.Category; - export type Interval = Stripe.Issuing.Card.SpendingControls.SpendingLimit.Interval; + export type Category = Stripe_.Issuing.Card.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe_.Issuing.Card.SpendingControls.SpendingLimit.Interval; } } export namespace Wallets { - export type ApplePay = Stripe.Issuing.Card.Wallets.ApplePay; - export type GooglePay = Stripe.Issuing.Card.Wallets.GooglePay; + export type ApplePay = Stripe_.Issuing.Card.Wallets.ApplePay; + export type GooglePay = Stripe_.Issuing.Card.Wallets.GooglePay; export namespace ApplePay { - export type IneligibleReason = Stripe.Issuing.Card.Wallets.ApplePay.IneligibleReason; + export type IneligibleReason = Stripe_.Issuing.Card.Wallets.ApplePay.IneligibleReason; } export namespace GooglePay { - export type IneligibleReason = Stripe.Issuing.Card.Wallets.GooglePay.IneligibleReason; + export type IneligibleReason = Stripe_.Issuing.Card.Wallets.GooglePay.IneligibleReason; } } } export namespace CardholderCreateParams { - export type Billing = Stripe.Issuing.CardholderCreateParams.Billing; - export type Company = Stripe.Issuing.CardholderCreateParams.Company; - export type Individual = Stripe.Issuing.CardholderCreateParams.Individual; - export type PreferredLocale = Stripe.Issuing.CardholderCreateParams.PreferredLocale; - export type SpendingControls = Stripe.Issuing.CardholderCreateParams.SpendingControls; - export type Status = Stripe.Issuing.CardholderCreateParams.Status; - export type Type = Stripe.Issuing.CardholderCreateParams.Type; + export type Billing = Stripe_.Issuing.CardholderCreateParams.Billing; + export type Company = Stripe_.Issuing.CardholderCreateParams.Company; + export type Individual = Stripe_.Issuing.CardholderCreateParams.Individual; + export type PreferredLocale = Stripe_.Issuing.CardholderCreateParams.PreferredLocale; + export type SpendingControls = Stripe_.Issuing.CardholderCreateParams.SpendingControls; + export type Status = Stripe_.Issuing.CardholderCreateParams.Status; + export type Type = Stripe_.Issuing.CardholderCreateParams.Type; export namespace Billing { - export type Address = Stripe.Issuing.CardholderCreateParams.Billing.Address; + export type Address = Stripe_.Issuing.CardholderCreateParams.Billing.Address; } export namespace Individual { - export type CardIssuing = Stripe.Issuing.CardholderCreateParams.Individual.CardIssuing; - export type Dob = Stripe.Issuing.CardholderCreateParams.Individual.Dob; - export type Verification = Stripe.Issuing.CardholderCreateParams.Individual.Verification; + export type CardIssuing = Stripe_.Issuing.CardholderCreateParams.Individual.CardIssuing; + export type Dob = Stripe_.Issuing.CardholderCreateParams.Individual.Dob; + export type Verification = Stripe_.Issuing.CardholderCreateParams.Individual.Verification; export namespace CardIssuing { - export type UserTermsAcceptance = Stripe.Issuing.CardholderCreateParams.Individual.CardIssuing.UserTermsAcceptance; + export type UserTermsAcceptance = Stripe_.Issuing.CardholderCreateParams.Individual.CardIssuing.UserTermsAcceptance; } export namespace Verification { - export type Document = Stripe.Issuing.CardholderCreateParams.Individual.Verification.Document; + export type Document = Stripe_.Issuing.CardholderCreateParams.Individual.Verification.Document; } } export namespace SpendingControls { - export type AllowedCardPresence = Stripe.Issuing.CardholderCreateParams.SpendingControls.AllowedCardPresence; - export type AllowedCategory = Stripe.Issuing.CardholderCreateParams.SpendingControls.AllowedCategory; - export type BlockedCardPresence = Stripe.Issuing.CardholderCreateParams.SpendingControls.BlockedCardPresence; - export type BlockedCategory = Stripe.Issuing.CardholderCreateParams.SpendingControls.BlockedCategory; - export type SpendingLimit = Stripe.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit; + export type AllowedCardPresence = Stripe_.Issuing.CardholderCreateParams.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe_.Issuing.CardholderCreateParams.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe_.Issuing.CardholderCreateParams.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe_.Issuing.CardholderCreateParams.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe_.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit; export namespace SpendingLimit { - export type Category = Stripe.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit.Category; - export type Interval = Stripe.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit.Interval; + export type Category = Stripe_.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe_.Issuing.CardholderCreateParams.SpendingControls.SpendingLimit.Interval; } } } export namespace Cardholder { - export type Billing = Stripe.Issuing.Cardholder.Billing; - export type Company = Stripe.Issuing.Cardholder.Company; - export type Individual = Stripe.Issuing.Cardholder.Individual; - export type PreferredLocale = Stripe.Issuing.Cardholder.PreferredLocale; - export type Requirements = Stripe.Issuing.Cardholder.Requirements; - export type SpendingControls = Stripe.Issuing.Cardholder.SpendingControls; - export type Status = Stripe.Issuing.Cardholder.Status; - export type Type = Stripe.Issuing.Cardholder.Type; + export type Billing = Stripe_.Issuing.Cardholder.Billing; + export type Company = Stripe_.Issuing.Cardholder.Company; + export type Individual = Stripe_.Issuing.Cardholder.Individual; + export type PreferredLocale = Stripe_.Issuing.Cardholder.PreferredLocale; + export type Requirements = Stripe_.Issuing.Cardholder.Requirements; + export type SpendingControls = Stripe_.Issuing.Cardholder.SpendingControls; + export type Status = Stripe_.Issuing.Cardholder.Status; + export type Type = Stripe_.Issuing.Cardholder.Type; export namespace Individual { - export type CardIssuing = Stripe.Issuing.Cardholder.Individual.CardIssuing; - export type Dob = Stripe.Issuing.Cardholder.Individual.Dob; - export type Verification = Stripe.Issuing.Cardholder.Individual.Verification; + export type CardIssuing = Stripe_.Issuing.Cardholder.Individual.CardIssuing; + export type Dob = Stripe_.Issuing.Cardholder.Individual.Dob; + export type Verification = Stripe_.Issuing.Cardholder.Individual.Verification; export namespace CardIssuing { - export type UserTermsAcceptance = Stripe.Issuing.Cardholder.Individual.CardIssuing.UserTermsAcceptance; + export type UserTermsAcceptance = Stripe_.Issuing.Cardholder.Individual.CardIssuing.UserTermsAcceptance; } export namespace Verification { - export type Document = Stripe.Issuing.Cardholder.Individual.Verification.Document; + export type Document = Stripe_.Issuing.Cardholder.Individual.Verification.Document; } } export namespace Requirements { - export type DisabledReason = Stripe.Issuing.Cardholder.Requirements.DisabledReason; - export type PastDue = Stripe.Issuing.Cardholder.Requirements.PastDue; + export type DisabledReason = Stripe_.Issuing.Cardholder.Requirements.DisabledReason; + export type PastDue = Stripe_.Issuing.Cardholder.Requirements.PastDue; } export namespace SpendingControls { - export type AllowedCardPresence = Stripe.Issuing.Cardholder.SpendingControls.AllowedCardPresence; - export type AllowedCategory = Stripe.Issuing.Cardholder.SpendingControls.AllowedCategory; - export type BlockedCardPresence = Stripe.Issuing.Cardholder.SpendingControls.BlockedCardPresence; - export type BlockedCategory = Stripe.Issuing.Cardholder.SpendingControls.BlockedCategory; - export type SpendingLimit = Stripe.Issuing.Cardholder.SpendingControls.SpendingLimit; + export type AllowedCardPresence = Stripe_.Issuing.Cardholder.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe_.Issuing.Cardholder.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe_.Issuing.Cardholder.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe_.Issuing.Cardholder.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe_.Issuing.Cardholder.SpendingControls.SpendingLimit; export namespace SpendingLimit { - export type Category = Stripe.Issuing.Cardholder.SpendingControls.SpendingLimit.Category; - export type Interval = Stripe.Issuing.Cardholder.SpendingControls.SpendingLimit.Interval; + export type Category = Stripe_.Issuing.Cardholder.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe_.Issuing.Cardholder.SpendingControls.SpendingLimit.Interval; } } } export namespace DisputeCreateParams { - export type Evidence = Stripe.Issuing.DisputeCreateParams.Evidence; - export type Treasury = Stripe.Issuing.DisputeCreateParams.Treasury; + export type Evidence = Stripe_.Issuing.DisputeCreateParams.Evidence; + export type Treasury = Stripe_.Issuing.DisputeCreateParams.Treasury; export namespace Evidence { - export type Canceled = Stripe.Issuing.DisputeCreateParams.Evidence.Canceled; - export type Duplicate = Stripe.Issuing.DisputeCreateParams.Evidence.Duplicate; - export type Fraudulent = Stripe.Issuing.DisputeCreateParams.Evidence.Fraudulent; - export type MerchandiseNotAsDescribed = Stripe.Issuing.DisputeCreateParams.Evidence.MerchandiseNotAsDescribed; - export type NoValidAuthorization = Stripe.Issuing.DisputeCreateParams.Evidence.NoValidAuthorization; - export type NotReceived = Stripe.Issuing.DisputeCreateParams.Evidence.NotReceived; - export type Other = Stripe.Issuing.DisputeCreateParams.Evidence.Other; - export type Reason = Stripe.Issuing.DisputeCreateParams.Evidence.Reason; - export type ServiceNotAsDescribed = Stripe.Issuing.DisputeCreateParams.Evidence.ServiceNotAsDescribed; + export type Canceled = Stripe_.Issuing.DisputeCreateParams.Evidence.Canceled; + export type Duplicate = Stripe_.Issuing.DisputeCreateParams.Evidence.Duplicate; + export type Fraudulent = Stripe_.Issuing.DisputeCreateParams.Evidence.Fraudulent; + export type MerchandiseNotAsDescribed = Stripe_.Issuing.DisputeCreateParams.Evidence.MerchandiseNotAsDescribed; + export type NoValidAuthorization = Stripe_.Issuing.DisputeCreateParams.Evidence.NoValidAuthorization; + export type NotReceived = Stripe_.Issuing.DisputeCreateParams.Evidence.NotReceived; + export type Other = Stripe_.Issuing.DisputeCreateParams.Evidence.Other; + export type Reason = Stripe_.Issuing.DisputeCreateParams.Evidence.Reason; + export type ServiceNotAsDescribed = Stripe_.Issuing.DisputeCreateParams.Evidence.ServiceNotAsDescribed; export namespace Canceled { - export type ProductType = Stripe.Issuing.DisputeCreateParams.Evidence.Canceled.ProductType; - export type ReturnStatus = Stripe.Issuing.DisputeCreateParams.Evidence.Canceled.ReturnStatus; + export type ProductType = Stripe_.Issuing.DisputeCreateParams.Evidence.Canceled.ProductType; + export type ReturnStatus = Stripe_.Issuing.DisputeCreateParams.Evidence.Canceled.ReturnStatus; } export namespace MerchandiseNotAsDescribed { - export type ReturnStatus = Stripe.Issuing.DisputeCreateParams.Evidence.MerchandiseNotAsDescribed.ReturnStatus; + export type ReturnStatus = Stripe_.Issuing.DisputeCreateParams.Evidence.MerchandiseNotAsDescribed.ReturnStatus; } export namespace NotReceived { - export type ProductType = Stripe.Issuing.DisputeCreateParams.Evidence.NotReceived.ProductType; + export type ProductType = Stripe_.Issuing.DisputeCreateParams.Evidence.NotReceived.ProductType; } export namespace Other { - export type ProductType = Stripe.Issuing.DisputeCreateParams.Evidence.Other.ProductType; + export type ProductType = Stripe_.Issuing.DisputeCreateParams.Evidence.Other.ProductType; } } } export namespace Dispute { - export type Evidence = Stripe.Issuing.Dispute.Evidence; - export type LossReason = Stripe.Issuing.Dispute.LossReason; - export type Status = Stripe.Issuing.Dispute.Status; - export type Treasury = Stripe.Issuing.Dispute.Treasury; + export type Evidence = Stripe_.Issuing.Dispute.Evidence; + export type LossReason = Stripe_.Issuing.Dispute.LossReason; + export type Status = Stripe_.Issuing.Dispute.Status; + export type Treasury = Stripe_.Issuing.Dispute.Treasury; export namespace Evidence { - export type Canceled = Stripe.Issuing.Dispute.Evidence.Canceled; - export type Duplicate = Stripe.Issuing.Dispute.Evidence.Duplicate; - export type Fraudulent = Stripe.Issuing.Dispute.Evidence.Fraudulent; - export type MerchandiseNotAsDescribed = Stripe.Issuing.Dispute.Evidence.MerchandiseNotAsDescribed; - export type NoValidAuthorization = Stripe.Issuing.Dispute.Evidence.NoValidAuthorization; - export type NotReceived = Stripe.Issuing.Dispute.Evidence.NotReceived; - export type Other = Stripe.Issuing.Dispute.Evidence.Other; - export type Reason = Stripe.Issuing.Dispute.Evidence.Reason; - export type ServiceNotAsDescribed = Stripe.Issuing.Dispute.Evidence.ServiceNotAsDescribed; + export type Canceled = Stripe_.Issuing.Dispute.Evidence.Canceled; + export type Duplicate = Stripe_.Issuing.Dispute.Evidence.Duplicate; + export type Fraudulent = Stripe_.Issuing.Dispute.Evidence.Fraudulent; + export type MerchandiseNotAsDescribed = Stripe_.Issuing.Dispute.Evidence.MerchandiseNotAsDescribed; + export type NoValidAuthorization = Stripe_.Issuing.Dispute.Evidence.NoValidAuthorization; + export type NotReceived = Stripe_.Issuing.Dispute.Evidence.NotReceived; + export type Other = Stripe_.Issuing.Dispute.Evidence.Other; + export type Reason = Stripe_.Issuing.Dispute.Evidence.Reason; + export type ServiceNotAsDescribed = Stripe_.Issuing.Dispute.Evidence.ServiceNotAsDescribed; export namespace Canceled { - export type ProductType = Stripe.Issuing.Dispute.Evidence.Canceled.ProductType; - export type ReturnStatus = Stripe.Issuing.Dispute.Evidence.Canceled.ReturnStatus; + export type ProductType = Stripe_.Issuing.Dispute.Evidence.Canceled.ProductType; + export type ReturnStatus = Stripe_.Issuing.Dispute.Evidence.Canceled.ReturnStatus; } export namespace MerchandiseNotAsDescribed { - export type ReturnStatus = Stripe.Issuing.Dispute.Evidence.MerchandiseNotAsDescribed.ReturnStatus; + export type ReturnStatus = Stripe_.Issuing.Dispute.Evidence.MerchandiseNotAsDescribed.ReturnStatus; } export namespace NotReceived { - export type ProductType = Stripe.Issuing.Dispute.Evidence.NotReceived.ProductType; + export type ProductType = Stripe_.Issuing.Dispute.Evidence.NotReceived.ProductType; } export namespace Other { - export type ProductType = Stripe.Issuing.Dispute.Evidence.Other.ProductType; + export type ProductType = Stripe_.Issuing.Dispute.Evidence.Other.ProductType; } } } export namespace PersonalizationDesignCreateParams { - export type CarrierText = Stripe.Issuing.PersonalizationDesignCreateParams.CarrierText; - export type Preferences = Stripe.Issuing.PersonalizationDesignCreateParams.Preferences; + export type CarrierText = Stripe_.Issuing.PersonalizationDesignCreateParams.CarrierText; + export type Preferences = Stripe_.Issuing.PersonalizationDesignCreateParams.Preferences; } export namespace PersonalizationDesign { - export type CarrierText = Stripe.Issuing.PersonalizationDesign.CarrierText; - export type Preferences = Stripe.Issuing.PersonalizationDesign.Preferences; - export type RejectionReasons = Stripe.Issuing.PersonalizationDesign.RejectionReasons; - export type Status = Stripe.Issuing.PersonalizationDesign.Status; + export type CarrierText = Stripe_.Issuing.PersonalizationDesign.CarrierText; + export type Preferences = Stripe_.Issuing.PersonalizationDesign.Preferences; + export type RejectionReasons = Stripe_.Issuing.PersonalizationDesign.RejectionReasons; + export type Status = Stripe_.Issuing.PersonalizationDesign.Status; export namespace RejectionReasons { - export type CardLogo = Stripe.Issuing.PersonalizationDesign.RejectionReasons.CardLogo; - export type CarrierText = Stripe.Issuing.PersonalizationDesign.RejectionReasons.CarrierText; + export type CardLogo = Stripe_.Issuing.PersonalizationDesign.RejectionReasons.CardLogo; + export type CarrierText = Stripe_.Issuing.PersonalizationDesign.RejectionReasons.CarrierText; } } export namespace PhysicalBundle { - export type Features = Stripe.Issuing.PhysicalBundle.Features; - export type Status = Stripe.Issuing.PhysicalBundle.Status; - export type Type = Stripe.Issuing.PhysicalBundle.Type; + export type Features = Stripe_.Issuing.PhysicalBundle.Features; + export type Status = Stripe_.Issuing.PhysicalBundle.Status; + export type Type = Stripe_.Issuing.PhysicalBundle.Type; export namespace Features { - export type CardLogo = Stripe.Issuing.PhysicalBundle.Features.CardLogo; - export type CarrierText = Stripe.Issuing.PhysicalBundle.Features.CarrierText; - export type SecondLine = Stripe.Issuing.PhysicalBundle.Features.SecondLine; + export type CardLogo = Stripe_.Issuing.PhysicalBundle.Features.CardLogo; + export type CarrierText = Stripe_.Issuing.PhysicalBundle.Features.CarrierText; + export type SecondLine = Stripe_.Issuing.PhysicalBundle.Features.SecondLine; } } export namespace Token { - export type Network = Stripe.Issuing.Token.Network; - export type NetworkData = Stripe.Issuing.Token.NetworkData; - export type Status = Stripe.Issuing.Token.Status; - export type WalletProvider = Stripe.Issuing.Token.WalletProvider; + export type Network = Stripe_.Issuing.Token.Network; + export type NetworkData = Stripe_.Issuing.Token.NetworkData; + export type Status = Stripe_.Issuing.Token.Status; + export type WalletProvider = Stripe_.Issuing.Token.WalletProvider; export namespace NetworkData { - export type Device = Stripe.Issuing.Token.NetworkData.Device; - export type Mastercard = Stripe.Issuing.Token.NetworkData.Mastercard; - export type Type = Stripe.Issuing.Token.NetworkData.Type; - export type Visa = Stripe.Issuing.Token.NetworkData.Visa; - export type WalletProvider = Stripe.Issuing.Token.NetworkData.WalletProvider; + export type Device = Stripe_.Issuing.Token.NetworkData.Device; + export type Mastercard = Stripe_.Issuing.Token.NetworkData.Mastercard; + export type Type = Stripe_.Issuing.Token.NetworkData.Type; + export type Visa = Stripe_.Issuing.Token.NetworkData.Visa; + export type WalletProvider = Stripe_.Issuing.Token.NetworkData.WalletProvider; export namespace Device { - export type Type = Stripe.Issuing.Token.NetworkData.Device.Type; + export type Type = Stripe_.Issuing.Token.NetworkData.Device.Type; } export namespace WalletProvider { - export type CardNumberSource = Stripe.Issuing.Token.NetworkData.WalletProvider.CardNumberSource; - export type CardholderAddress = Stripe.Issuing.Token.NetworkData.WalletProvider.CardholderAddress; - export type ReasonCode = Stripe.Issuing.Token.NetworkData.WalletProvider.ReasonCode; - export type SuggestedDecision = Stripe.Issuing.Token.NetworkData.WalletProvider.SuggestedDecision; + export type CardNumberSource = Stripe_.Issuing.Token.NetworkData.WalletProvider.CardNumberSource; + export type CardholderAddress = Stripe_.Issuing.Token.NetworkData.WalletProvider.CardholderAddress; + export type ReasonCode = Stripe_.Issuing.Token.NetworkData.WalletProvider.ReasonCode; + export type SuggestedDecision = Stripe_.Issuing.Token.NetworkData.WalletProvider.SuggestedDecision; } } } export namespace Transaction { - export type AmountDetails = Stripe.Issuing.Transaction.AmountDetails; - export type MerchantData = Stripe.Issuing.Transaction.MerchantData; - export type NetworkData = Stripe.Issuing.Transaction.NetworkData; - export type PurchaseDetails = Stripe.Issuing.Transaction.PurchaseDetails; - export type Treasury = Stripe.Issuing.Transaction.Treasury; - export type Type = Stripe.Issuing.Transaction.Type; - export type Wallet = Stripe.Issuing.Transaction.Wallet; + export type AmountDetails = Stripe_.Issuing.Transaction.AmountDetails; + export type MerchantData = Stripe_.Issuing.Transaction.MerchantData; + export type NetworkData = Stripe_.Issuing.Transaction.NetworkData; + export type PurchaseDetails = Stripe_.Issuing.Transaction.PurchaseDetails; + export type Treasury = Stripe_.Issuing.Transaction.Treasury; + export type Type = Stripe_.Issuing.Transaction.Type; + export type Wallet = Stripe_.Issuing.Transaction.Wallet; export namespace PurchaseDetails { - export type Fleet = Stripe.Issuing.Transaction.PurchaseDetails.Fleet; - export type Flight = Stripe.Issuing.Transaction.PurchaseDetails.Flight; - export type Fuel = Stripe.Issuing.Transaction.PurchaseDetails.Fuel; - export type Lodging = Stripe.Issuing.Transaction.PurchaseDetails.Lodging; - export type Receipt = Stripe.Issuing.Transaction.PurchaseDetails.Receipt; + export type Fleet = Stripe_.Issuing.Transaction.PurchaseDetails.Fleet; + export type Flight = Stripe_.Issuing.Transaction.PurchaseDetails.Flight; + export type Fuel = Stripe_.Issuing.Transaction.PurchaseDetails.Fuel; + export type Lodging = Stripe_.Issuing.Transaction.PurchaseDetails.Lodging; + export type Receipt = Stripe_.Issuing.Transaction.PurchaseDetails.Receipt; export namespace Fleet { - export type CardholderPromptData = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.CardholderPromptData; - export type ReportedBreakdown = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown; + export type CardholderPromptData = Stripe_.Issuing.Transaction.PurchaseDetails.Fleet.CardholderPromptData; + export type ReportedBreakdown = Stripe_.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown; export namespace ReportedBreakdown { - export type Fuel = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.Fuel; - export type NonFuel = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.NonFuel; - export type Tax = Stripe.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.Tax; + export type Fuel = Stripe_.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.Fuel; + export type NonFuel = Stripe_.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.NonFuel; + export type Tax = Stripe_.Issuing.Transaction.PurchaseDetails.Fleet.ReportedBreakdown.Tax; } } export namespace Flight { - export type Segment = Stripe.Issuing.Transaction.PurchaseDetails.Flight.Segment; + export type Segment = Stripe_.Issuing.Transaction.PurchaseDetails.Flight.Segment; } } } } export namespace Radar { - export type EarlyFraudWarning = Stripe.Radar.EarlyFraudWarning; - export type EarlyFraudWarningRetrieveParams = Stripe.Radar.EarlyFraudWarningRetrieveParams; - export type EarlyFraudWarningListParams = Stripe.Radar.EarlyFraudWarningListParams; - export type EarlyFraudWarningResource = Stripe.Radar.EarlyFraudWarningResource; - export type PaymentEvaluation = Stripe.Radar.PaymentEvaluation; - export type PaymentEvaluationCreateParams = Stripe.Radar.PaymentEvaluationCreateParams; - export type PaymentEvaluationResource = Stripe.Radar.PaymentEvaluationResource; - export type ValueList = Stripe.Radar.ValueList; - export type DeletedValueList = Stripe.Radar.DeletedValueList; - export type ValueListCreateParams = Stripe.Radar.ValueListCreateParams; - export type ValueListRetrieveParams = Stripe.Radar.ValueListRetrieveParams; - export type ValueListUpdateParams = Stripe.Radar.ValueListUpdateParams; - export type ValueListListParams = Stripe.Radar.ValueListListParams; - export type ValueListDeleteParams = Stripe.Radar.ValueListDeleteParams; - export type ValueListResource = Stripe.Radar.ValueListResource; - export type ValueListItem = Stripe.Radar.ValueListItem; - export type DeletedValueListItem = Stripe.Radar.DeletedValueListItem; - export type ValueListItemCreateParams = Stripe.Radar.ValueListItemCreateParams; - export type ValueListItemRetrieveParams = Stripe.Radar.ValueListItemRetrieveParams; - export type ValueListItemListParams = Stripe.Radar.ValueListItemListParams; - export type ValueListItemDeleteParams = Stripe.Radar.ValueListItemDeleteParams; - export type ValueListItemResource = Stripe.Radar.ValueListItemResource; + export type EarlyFraudWarning = Stripe_.Radar.EarlyFraudWarning; + export type EarlyFraudWarningRetrieveParams = Stripe_.Radar.EarlyFraudWarningRetrieveParams; + export type EarlyFraudWarningListParams = Stripe_.Radar.EarlyFraudWarningListParams; + export type EarlyFraudWarningResource = Stripe_.Radar.EarlyFraudWarningResource; + export type PaymentEvaluation = Stripe_.Radar.PaymentEvaluation; + export type PaymentEvaluationCreateParams = Stripe_.Radar.PaymentEvaluationCreateParams; + export type PaymentEvaluationResource = Stripe_.Radar.PaymentEvaluationResource; + export type ValueList = Stripe_.Radar.ValueList; + export type DeletedValueList = Stripe_.Radar.DeletedValueList; + export type ValueListCreateParams = Stripe_.Radar.ValueListCreateParams; + export type ValueListRetrieveParams = Stripe_.Radar.ValueListRetrieveParams; + export type ValueListUpdateParams = Stripe_.Radar.ValueListUpdateParams; + export type ValueListListParams = Stripe_.Radar.ValueListListParams; + export type ValueListDeleteParams = Stripe_.Radar.ValueListDeleteParams; + export type ValueListResource = Stripe_.Radar.ValueListResource; + export type ValueListItem = Stripe_.Radar.ValueListItem; + export type DeletedValueListItem = Stripe_.Radar.DeletedValueListItem; + export type ValueListItemCreateParams = Stripe_.Radar.ValueListItemCreateParams; + export type ValueListItemRetrieveParams = Stripe_.Radar.ValueListItemRetrieveParams; + export type ValueListItemListParams = Stripe_.Radar.ValueListItemListParams; + export type ValueListItemDeleteParams = Stripe_.Radar.ValueListItemDeleteParams; + export type ValueListItemResource = Stripe_.Radar.ValueListItemResource; export namespace PaymentEvaluationCreateParams { - export type CustomerDetails = Stripe.Radar.PaymentEvaluationCreateParams.CustomerDetails; - export type PaymentDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails; - export type ClientDeviceMetadataDetails = Stripe.Radar.PaymentEvaluationCreateParams.ClientDeviceMetadataDetails; + export type CustomerDetails = Stripe_.Radar.PaymentEvaluationCreateParams.CustomerDetails; + export type PaymentDetails = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails; + export type ClientDeviceMetadataDetails = Stripe_.Radar.PaymentEvaluationCreateParams.ClientDeviceMetadataDetails; export namespace PaymentDetails { - export type MoneyMovementDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails; - export type PaymentMethodDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails; - export type ShippingDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.ShippingDetails; + export type MoneyMovementDetails = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails; + export type PaymentMethodDetails = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails; + export type ShippingDetails = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.ShippingDetails; export namespace MoneyMovementDetails { - export type Card = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card; + export type Card = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card; export namespace Card { - export type CustomerPresence = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card.CustomerPresence; - export type PaymentType = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card.PaymentType; + export type CustomerPresence = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card.CustomerPresence; + export type PaymentType = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card.PaymentType; } } export namespace PaymentMethodDetails { - export type BillingDetails = Stripe.Radar.PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails.BillingDetails; + export type BillingDetails = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails.BillingDetails; } } } export namespace PaymentEvaluation { - export type ClientDeviceMetadataDetails = Stripe.Radar.PaymentEvaluation.ClientDeviceMetadataDetails; - export type CustomerDetails = Stripe.Radar.PaymentEvaluation.CustomerDetails; - export type Event = Stripe.Radar.PaymentEvaluation.Event; - export type Outcome = Stripe.Radar.PaymentEvaluation.Outcome; - export type PaymentDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails; - export type RecommendedAction = Stripe.Radar.PaymentEvaluation.RecommendedAction; - export type Signals = Stripe.Radar.PaymentEvaluation.Signals; + export type ClientDeviceMetadataDetails = Stripe_.Radar.PaymentEvaluation.ClientDeviceMetadataDetails; + export type CustomerDetails = Stripe_.Radar.PaymentEvaluation.CustomerDetails; + export type Event = Stripe_.Radar.PaymentEvaluation.Event; + export type Outcome = Stripe_.Radar.PaymentEvaluation.Outcome; + export type PaymentDetails = Stripe_.Radar.PaymentEvaluation.PaymentDetails; + export type RecommendedAction = Stripe_.Radar.PaymentEvaluation.RecommendedAction; + export type Signals = Stripe_.Radar.PaymentEvaluation.Signals; export namespace Event { - export type DisputeOpened = Stripe.Radar.PaymentEvaluation.Event.DisputeOpened; - export type EarlyFraudWarningReceived = Stripe.Radar.PaymentEvaluation.Event.EarlyFraudWarningReceived; - export type Refunded = Stripe.Radar.PaymentEvaluation.Event.Refunded; - export type Type = Stripe.Radar.PaymentEvaluation.Event.Type; - export type UserInterventionRaised = Stripe.Radar.PaymentEvaluation.Event.UserInterventionRaised; - export type UserInterventionResolved = Stripe.Radar.PaymentEvaluation.Event.UserInterventionResolved; + export type DisputeOpened = Stripe_.Radar.PaymentEvaluation.Event.DisputeOpened; + export type EarlyFraudWarningReceived = Stripe_.Radar.PaymentEvaluation.Event.EarlyFraudWarningReceived; + export type Refunded = Stripe_.Radar.PaymentEvaluation.Event.Refunded; + export type Type = Stripe_.Radar.PaymentEvaluation.Event.Type; + export type UserInterventionRaised = Stripe_.Radar.PaymentEvaluation.Event.UserInterventionRaised; + export type UserInterventionResolved = Stripe_.Radar.PaymentEvaluation.Event.UserInterventionResolved; export namespace DisputeOpened { - export type Reason = Stripe.Radar.PaymentEvaluation.Event.DisputeOpened.Reason; + export type Reason = Stripe_.Radar.PaymentEvaluation.Event.DisputeOpened.Reason; } export namespace EarlyFraudWarningReceived { - export type FraudType = Stripe.Radar.PaymentEvaluation.Event.EarlyFraudWarningReceived.FraudType; + export type FraudType = Stripe_.Radar.PaymentEvaluation.Event.EarlyFraudWarningReceived.FraudType; } export namespace Refunded { - export type Reason = Stripe.Radar.PaymentEvaluation.Event.Refunded.Reason; + export type Reason = Stripe_.Radar.PaymentEvaluation.Event.Refunded.Reason; } export namespace UserInterventionRaised { - export type Custom = Stripe.Radar.PaymentEvaluation.Event.UserInterventionRaised.Custom; - export type Type = Stripe.Radar.PaymentEvaluation.Event.UserInterventionRaised.Type; + export type Custom = Stripe_.Radar.PaymentEvaluation.Event.UserInterventionRaised.Custom; + export type Type = Stripe_.Radar.PaymentEvaluation.Event.UserInterventionRaised.Type; } export namespace UserInterventionResolved { - export type Outcome = Stripe.Radar.PaymentEvaluation.Event.UserInterventionResolved.Outcome; + export type Outcome = Stripe_.Radar.PaymentEvaluation.Event.UserInterventionResolved.Outcome; } } export namespace Outcome { - export type MerchantBlocked = Stripe.Radar.PaymentEvaluation.Outcome.MerchantBlocked; - export type Rejected = Stripe.Radar.PaymentEvaluation.Outcome.Rejected; - export type Succeeded = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded; - export type Type = Stripe.Radar.PaymentEvaluation.Outcome.Type; + export type MerchantBlocked = Stripe_.Radar.PaymentEvaluation.Outcome.MerchantBlocked; + export type Rejected = Stripe_.Radar.PaymentEvaluation.Outcome.Rejected; + export type Succeeded = Stripe_.Radar.PaymentEvaluation.Outcome.Succeeded; + export type Type = Stripe_.Radar.PaymentEvaluation.Outcome.Type; export namespace MerchantBlocked { - export type Reason = Stripe.Radar.PaymentEvaluation.Outcome.MerchantBlocked.Reason; + export type Reason = Stripe_.Radar.PaymentEvaluation.Outcome.MerchantBlocked.Reason; } export namespace Rejected { - export type Card = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card; + export type Card = Stripe_.Radar.PaymentEvaluation.Outcome.Rejected.Card; export namespace Card { - export type AddressLine1Check = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card.AddressLine1Check; - export type AddressPostalCodeCheck = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card.AddressPostalCodeCheck; - export type CvcCheck = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card.CvcCheck; - export type Reason = Stripe.Radar.PaymentEvaluation.Outcome.Rejected.Card.Reason; + export type AddressLine1Check = Stripe_.Radar.PaymentEvaluation.Outcome.Rejected.Card.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.Radar.PaymentEvaluation.Outcome.Rejected.Card.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.Radar.PaymentEvaluation.Outcome.Rejected.Card.CvcCheck; + export type Reason = Stripe_.Radar.PaymentEvaluation.Outcome.Rejected.Card.Reason; } } export namespace Succeeded { - export type Card = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded.Card; + export type Card = Stripe_.Radar.PaymentEvaluation.Outcome.Succeeded.Card; export namespace Card { - export type AddressLine1Check = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded.Card.AddressLine1Check; - export type AddressPostalCodeCheck = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded.Card.AddressPostalCodeCheck; - export type CvcCheck = Stripe.Radar.PaymentEvaluation.Outcome.Succeeded.Card.CvcCheck; + export type AddressLine1Check = Stripe_.Radar.PaymentEvaluation.Outcome.Succeeded.Card.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.Radar.PaymentEvaluation.Outcome.Succeeded.Card.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.Radar.PaymentEvaluation.Outcome.Succeeded.Card.CvcCheck; } } } export namespace PaymentDetails { - export type MoneyMovementDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails; - export type PaymentMethodDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails.PaymentMethodDetails; - export type ShippingDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails.ShippingDetails; + export type MoneyMovementDetails = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails; + export type PaymentMethodDetails = Stripe_.Radar.PaymentEvaluation.PaymentDetails.PaymentMethodDetails; + export type ShippingDetails = Stripe_.Radar.PaymentEvaluation.PaymentDetails.ShippingDetails; export namespace MoneyMovementDetails { - export type Card = Stripe.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card; + export type Card = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card; export namespace Card { - export type CustomerPresence = Stripe.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card.CustomerPresence; - export type PaymentType = Stripe.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card.PaymentType; + export type CustomerPresence = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card.CustomerPresence; + export type PaymentType = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card.PaymentType; } } export namespace PaymentMethodDetails { - export type BillingDetails = Stripe.Radar.PaymentEvaluation.PaymentDetails.PaymentMethodDetails.BillingDetails; + export type BillingDetails = Stripe_.Radar.PaymentEvaluation.PaymentDetails.PaymentMethodDetails.BillingDetails; } } export namespace Signals { - export type FraudulentPayment = Stripe.Radar.PaymentEvaluation.Signals.FraudulentPayment; + export type FraudulentPayment = Stripe_.Radar.PaymentEvaluation.Signals.FraudulentPayment; export namespace FraudulentPayment { - export type RiskLevel = Stripe.Radar.PaymentEvaluation.Signals.FraudulentPayment.RiskLevel; + export type RiskLevel = Stripe_.Radar.PaymentEvaluation.Signals.FraudulentPayment.RiskLevel; } } } export namespace ValueListCreateParams { - export type ItemType = Stripe.Radar.ValueListCreateParams.ItemType; + export type ItemType = Stripe_.Radar.ValueListCreateParams.ItemType; } export namespace ValueList { - export type ItemType = Stripe.Radar.ValueList.ItemType; + export type ItemType = Stripe_.Radar.ValueList.ItemType; } } export namespace Reporting { - export type ReportRun = Stripe.Reporting.ReportRun; - export type ReportRunCreateParams = Stripe.Reporting.ReportRunCreateParams; - export type ReportRunRetrieveParams = Stripe.Reporting.ReportRunRetrieveParams; - export type ReportRunListParams = Stripe.Reporting.ReportRunListParams; - export type ReportRunResource = Stripe.Reporting.ReportRunResource; - export type ReportType = Stripe.Reporting.ReportType; - export type ReportTypeRetrieveParams = Stripe.Reporting.ReportTypeRetrieveParams; - export type ReportTypeListParams = Stripe.Reporting.ReportTypeListParams; - export type ReportTypeResource = Stripe.Reporting.ReportTypeResource; + export type ReportRun = Stripe_.Reporting.ReportRun; + export type ReportRunCreateParams = Stripe_.Reporting.ReportRunCreateParams; + export type ReportRunRetrieveParams = Stripe_.Reporting.ReportRunRetrieveParams; + export type ReportRunListParams = Stripe_.Reporting.ReportRunListParams; + export type ReportRunResource = Stripe_.Reporting.ReportRunResource; + export type ReportType = Stripe_.Reporting.ReportType; + export type ReportTypeRetrieveParams = Stripe_.Reporting.ReportTypeRetrieveParams; + export type ReportTypeListParams = Stripe_.Reporting.ReportTypeListParams; + export type ReportTypeResource = Stripe_.Reporting.ReportTypeResource; export namespace ReportRunCreateParams { - export type Parameters = Stripe.Reporting.ReportRunCreateParams.Parameters; + export type Parameters = Stripe_.Reporting.ReportRunCreateParams.Parameters; export namespace Parameters { - export type ReportingCategory = Stripe.Reporting.ReportRunCreateParams.Parameters.ReportingCategory; - export type Timezone = Stripe.Reporting.ReportRunCreateParams.Parameters.Timezone; + export type ReportingCategory = Stripe_.Reporting.ReportRunCreateParams.Parameters.ReportingCategory; + export type Timezone = Stripe_.Reporting.ReportRunCreateParams.Parameters.Timezone; } } export namespace ReportRun { - export type Parameters = Stripe.Reporting.ReportRun.Parameters; + export type Parameters = Stripe_.Reporting.ReportRun.Parameters; } } export namespace Sigma { - export type ScheduledQueryRun = Stripe.Sigma.ScheduledQueryRun; - export type ScheduledQueryRunRetrieveParams = Stripe.Sigma.ScheduledQueryRunRetrieveParams; - export type ScheduledQueryRunListParams = Stripe.Sigma.ScheduledQueryRunListParams; - export type ScheduledQueryRunResource = Stripe.Sigma.ScheduledQueryRunResource; + export type ScheduledQueryRun = Stripe_.Sigma.ScheduledQueryRun; + export type ScheduledQueryRunRetrieveParams = Stripe_.Sigma.ScheduledQueryRunRetrieveParams; + export type ScheduledQueryRunListParams = Stripe_.Sigma.ScheduledQueryRunListParams; + export type ScheduledQueryRunResource = Stripe_.Sigma.ScheduledQueryRunResource; export namespace ScheduledQueryRun { - export type Error = Stripe.Sigma.ScheduledQueryRun.Error; + export type Error = Stripe_.Sigma.ScheduledQueryRun.Error; } } export namespace Tax { - export type Association = Stripe.Tax.Association; - export type AssociationFindParams = Stripe.Tax.AssociationFindParams; - export type AssociationResource = Stripe.Tax.AssociationResource; - export type Calculation = Stripe.Tax.Calculation; - export type CalculationCreateParams = Stripe.Tax.CalculationCreateParams; - export type CalculationRetrieveParams = Stripe.Tax.CalculationRetrieveParams; - export type CalculationListLineItemsParams = Stripe.Tax.CalculationListLineItemsParams; - export type CalculationResource = Stripe.Tax.CalculationResource; - export type Registration = Stripe.Tax.Registration; - export type RegistrationCreateParams = Stripe.Tax.RegistrationCreateParams; - export type RegistrationRetrieveParams = Stripe.Tax.RegistrationRetrieveParams; - export type RegistrationUpdateParams = Stripe.Tax.RegistrationUpdateParams; - export type RegistrationListParams = Stripe.Tax.RegistrationListParams; - export type RegistrationResource = Stripe.Tax.RegistrationResource; - export type Settings = Stripe.Tax.Settings; - export type SettingsRetrieveParams = Stripe.Tax.SettingsRetrieveParams; - export type SettingsUpdateParams = Stripe.Tax.SettingsUpdateParams; - export type SettingResource = Stripe.Tax.SettingResource; - export type Transaction = Stripe.Tax.Transaction; - export type TransactionRetrieveParams = Stripe.Tax.TransactionRetrieveParams; - export type TransactionCreateFromCalculationParams = Stripe.Tax.TransactionCreateFromCalculationParams; - export type TransactionCreateReversalParams = Stripe.Tax.TransactionCreateReversalParams; - export type TransactionListLineItemsParams = Stripe.Tax.TransactionListLineItemsParams; - export type TransactionResource = Stripe.Tax.TransactionResource; - export type CalculationLineItem = Stripe.Tax.CalculationLineItem; - export type TransactionLineItem = Stripe.Tax.TransactionLineItem; + export type Association = Stripe_.Tax.Association; + export type AssociationFindParams = Stripe_.Tax.AssociationFindParams; + export type AssociationResource = Stripe_.Tax.AssociationResource; + export type Calculation = Stripe_.Tax.Calculation; + export type CalculationCreateParams = Stripe_.Tax.CalculationCreateParams; + export type CalculationRetrieveParams = Stripe_.Tax.CalculationRetrieveParams; + export type CalculationListLineItemsParams = Stripe_.Tax.CalculationListLineItemsParams; + export type CalculationResource = Stripe_.Tax.CalculationResource; + export type Registration = Stripe_.Tax.Registration; + export type RegistrationCreateParams = Stripe_.Tax.RegistrationCreateParams; + export type RegistrationRetrieveParams = Stripe_.Tax.RegistrationRetrieveParams; + export type RegistrationUpdateParams = Stripe_.Tax.RegistrationUpdateParams; + export type RegistrationListParams = Stripe_.Tax.RegistrationListParams; + export type RegistrationResource = Stripe_.Tax.RegistrationResource; + export type Settings = Stripe_.Tax.Settings; + export type SettingsRetrieveParams = Stripe_.Tax.SettingsRetrieveParams; + export type SettingsUpdateParams = Stripe_.Tax.SettingsUpdateParams; + export type SettingResource = Stripe_.Tax.SettingResource; + export type Transaction = Stripe_.Tax.Transaction; + export type TransactionRetrieveParams = Stripe_.Tax.TransactionRetrieveParams; + export type TransactionCreateFromCalculationParams = Stripe_.Tax.TransactionCreateFromCalculationParams; + export type TransactionCreateReversalParams = Stripe_.Tax.TransactionCreateReversalParams; + export type TransactionListLineItemsParams = Stripe_.Tax.TransactionListLineItemsParams; + export type TransactionResource = Stripe_.Tax.TransactionResource; + export type CalculationLineItem = Stripe_.Tax.CalculationLineItem; + export type TransactionLineItem = Stripe_.Tax.TransactionLineItem; export namespace Association { - export type TaxTransactionAttempt = Stripe.Tax.Association.TaxTransactionAttempt; + export type TaxTransactionAttempt = Stripe_.Tax.Association.TaxTransactionAttempt; export namespace TaxTransactionAttempt { - export type Committed = Stripe.Tax.Association.TaxTransactionAttempt.Committed; - export type Errored = Stripe.Tax.Association.TaxTransactionAttempt.Errored; + export type Committed = Stripe_.Tax.Association.TaxTransactionAttempt.Committed; + export type Errored = Stripe_.Tax.Association.TaxTransactionAttempt.Errored; export namespace Errored { - export type Reason = Stripe.Tax.Association.TaxTransactionAttempt.Errored.Reason; + export type Reason = Stripe_.Tax.Association.TaxTransactionAttempt.Errored.Reason; } } } export namespace CalculationCreateParams { - export type LineItem = Stripe.Tax.CalculationCreateParams.LineItem; - export type CustomerDetails = Stripe.Tax.CalculationCreateParams.CustomerDetails; - export type ShipFromDetails = Stripe.Tax.CalculationCreateParams.ShipFromDetails; - export type ShippingCost = Stripe.Tax.CalculationCreateParams.ShippingCost; + export type LineItem = Stripe_.Tax.CalculationCreateParams.LineItem; + export type CustomerDetails = Stripe_.Tax.CalculationCreateParams.CustomerDetails; + export type ShipFromDetails = Stripe_.Tax.CalculationCreateParams.ShipFromDetails; + export type ShippingCost = Stripe_.Tax.CalculationCreateParams.ShippingCost; export namespace CustomerDetails { - export type Address = Stripe.Tax.CalculationCreateParams.CustomerDetails.Address; - export type AddressSource = Stripe.Tax.CalculationCreateParams.CustomerDetails.AddressSource; - export type TaxId = Stripe.Tax.CalculationCreateParams.CustomerDetails.TaxId; - export type TaxabilityOverride = Stripe.Tax.CalculationCreateParams.CustomerDetails.TaxabilityOverride; + export type Address = Stripe_.Tax.CalculationCreateParams.CustomerDetails.Address; + export type AddressSource = Stripe_.Tax.CalculationCreateParams.CustomerDetails.AddressSource; + export type TaxId = Stripe_.Tax.CalculationCreateParams.CustomerDetails.TaxId; + export type TaxabilityOverride = Stripe_.Tax.CalculationCreateParams.CustomerDetails.TaxabilityOverride; export namespace TaxId { - export type Type = Stripe.Tax.CalculationCreateParams.CustomerDetails.TaxId.Type; + export type Type = Stripe_.Tax.CalculationCreateParams.CustomerDetails.TaxId.Type; } } export namespace LineItem { - export type TaxBehavior = Stripe.Tax.CalculationCreateParams.LineItem.TaxBehavior; + export type TaxBehavior = Stripe_.Tax.CalculationCreateParams.LineItem.TaxBehavior; } export namespace ShipFromDetails { - export type Address = Stripe.Tax.CalculationCreateParams.ShipFromDetails.Address; + export type Address = Stripe_.Tax.CalculationCreateParams.ShipFromDetails.Address; } export namespace ShippingCost { - export type TaxBehavior = Stripe.Tax.CalculationCreateParams.ShippingCost.TaxBehavior; + export type TaxBehavior = Stripe_.Tax.CalculationCreateParams.ShippingCost.TaxBehavior; } } export namespace Calculation { - export type CustomerDetails = Stripe.Tax.Calculation.CustomerDetails; - export type ShipFromDetails = Stripe.Tax.Calculation.ShipFromDetails; - export type ShippingCost = Stripe.Tax.Calculation.ShippingCost; - export type TaxBreakdown = Stripe.Tax.Calculation.TaxBreakdown; + export type CustomerDetails = Stripe_.Tax.Calculation.CustomerDetails; + export type ShipFromDetails = Stripe_.Tax.Calculation.ShipFromDetails; + export type ShippingCost = Stripe_.Tax.Calculation.ShippingCost; + export type TaxBreakdown = Stripe_.Tax.Calculation.TaxBreakdown; export namespace CustomerDetails { - export type AddressSource = Stripe.Tax.Calculation.CustomerDetails.AddressSource; - export type TaxId = Stripe.Tax.Calculation.CustomerDetails.TaxId; - export type TaxabilityOverride = Stripe.Tax.Calculation.CustomerDetails.TaxabilityOverride; + export type AddressSource = Stripe_.Tax.Calculation.CustomerDetails.AddressSource; + export type TaxId = Stripe_.Tax.Calculation.CustomerDetails.TaxId; + export type TaxabilityOverride = Stripe_.Tax.Calculation.CustomerDetails.TaxabilityOverride; export namespace TaxId { - export type Type = Stripe.Tax.Calculation.CustomerDetails.TaxId.Type; + export type Type = Stripe_.Tax.Calculation.CustomerDetails.TaxId.Type; } } export namespace ShippingCost { - export type TaxBehavior = Stripe.Tax.Calculation.ShippingCost.TaxBehavior; - export type TaxBreakdown = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown; + export type TaxBehavior = Stripe_.Tax.Calculation.ShippingCost.TaxBehavior; + export type TaxBreakdown = Stripe_.Tax.Calculation.ShippingCost.TaxBreakdown; export namespace TaxBreakdown { - export type Jurisdiction = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.Jurisdiction; - export type Sourcing = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.Sourcing; - export type TaxRateDetails = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails; - export type TaxabilityReason = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.TaxabilityReason; + export type Jurisdiction = Stripe_.Tax.Calculation.ShippingCost.TaxBreakdown.Jurisdiction; + export type Sourcing = Stripe_.Tax.Calculation.ShippingCost.TaxBreakdown.Sourcing; + export type TaxRateDetails = Stripe_.Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails; + export type TaxabilityReason = Stripe_.Tax.Calculation.ShippingCost.TaxBreakdown.TaxabilityReason; export namespace Jurisdiction { - export type Level = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.Jurisdiction.Level; + export type Level = Stripe_.Tax.Calculation.ShippingCost.TaxBreakdown.Jurisdiction.Level; } export namespace TaxRateDetails { - export type TaxType = Stripe.Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.TaxType; + export type TaxType = Stripe_.Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.TaxType; } } } export namespace TaxBreakdown { - export type TaxRateDetails = Stripe.Tax.Calculation.TaxBreakdown.TaxRateDetails; - export type TaxabilityReason = Stripe.Tax.Calculation.TaxBreakdown.TaxabilityReason; + export type TaxRateDetails = Stripe_.Tax.Calculation.TaxBreakdown.TaxRateDetails; + export type TaxabilityReason = Stripe_.Tax.Calculation.TaxBreakdown.TaxabilityReason; export namespace TaxRateDetails { - export type FlatAmount = Stripe.Tax.Calculation.TaxBreakdown.TaxRateDetails.FlatAmount; - export type RateType = Stripe.Tax.Calculation.TaxBreakdown.TaxRateDetails.RateType; - export type TaxType = Stripe.Tax.Calculation.TaxBreakdown.TaxRateDetails.TaxType; + export type FlatAmount = Stripe_.Tax.Calculation.TaxBreakdown.TaxRateDetails.FlatAmount; + export type RateType = Stripe_.Tax.Calculation.TaxBreakdown.TaxRateDetails.RateType; + export type TaxType = Stripe_.Tax.Calculation.TaxBreakdown.TaxRateDetails.TaxType; } } } export namespace RegistrationCreateParams { - export type CountryOptions = Stripe.Tax.RegistrationCreateParams.CountryOptions; + export type CountryOptions = Stripe_.Tax.RegistrationCreateParams.CountryOptions; export namespace CountryOptions { - export type Ae = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ae; - export type Al = Stripe.Tax.RegistrationCreateParams.CountryOptions.Al; - export type Am = Stripe.Tax.RegistrationCreateParams.CountryOptions.Am; - export type Ao = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ao; - export type At = Stripe.Tax.RegistrationCreateParams.CountryOptions.At; - export type Au = Stripe.Tax.RegistrationCreateParams.CountryOptions.Au; - export type Aw = Stripe.Tax.RegistrationCreateParams.CountryOptions.Aw; - export type Az = Stripe.Tax.RegistrationCreateParams.CountryOptions.Az; - export type Ba = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ba; - export type Bb = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bb; - export type Bd = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bd; - export type Be = Stripe.Tax.RegistrationCreateParams.CountryOptions.Be; - export type Bf = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bf; - export type Bg = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bg; - export type Bh = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bh; - export type Bj = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bj; - export type Bs = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bs; - export type By = Stripe.Tax.RegistrationCreateParams.CountryOptions.By; - export type Ca = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ca; - export type Cd = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cd; - export type Ch = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ch; - export type Cl = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cl; - export type Cm = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cm; - export type Co = Stripe.Tax.RegistrationCreateParams.CountryOptions.Co; - export type Cr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cr; - export type Cv = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cv; - export type Cy = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cy; - export type Cz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cz; - export type De = Stripe.Tax.RegistrationCreateParams.CountryOptions.De; - export type Dk = Stripe.Tax.RegistrationCreateParams.CountryOptions.Dk; - export type Ec = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ec; - export type Ee = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ee; - export type Eg = Stripe.Tax.RegistrationCreateParams.CountryOptions.Eg; - export type Es = Stripe.Tax.RegistrationCreateParams.CountryOptions.Es; - export type Et = Stripe.Tax.RegistrationCreateParams.CountryOptions.Et; - export type Fi = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fi; - export type Fr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fr; - export type Gb = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gb; - export type Ge = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ge; - export type Gn = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gn; - export type Gr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gr; - export type Hr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hr; - export type Hu = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hu; - export type Id = Stripe.Tax.RegistrationCreateParams.CountryOptions.Id; - export type Ie = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ie; - export type In = Stripe.Tax.RegistrationCreateParams.CountryOptions.In; - export type Is = Stripe.Tax.RegistrationCreateParams.CountryOptions.Is; - export type It = Stripe.Tax.RegistrationCreateParams.CountryOptions.It; - export type Jp = Stripe.Tax.RegistrationCreateParams.CountryOptions.Jp; - export type Ke = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ke; - export type Kg = Stripe.Tax.RegistrationCreateParams.CountryOptions.Kg; - export type Kh = Stripe.Tax.RegistrationCreateParams.CountryOptions.Kh; - export type Kr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Kr; - export type Kz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Kz; - export type La = Stripe.Tax.RegistrationCreateParams.CountryOptions.La; - export type Lk = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lk; - export type Lt = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lt; - export type Lu = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lu; - export type Lv = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lv; - export type Ma = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ma; - export type Md = Stripe.Tax.RegistrationCreateParams.CountryOptions.Md; - export type Me = Stripe.Tax.RegistrationCreateParams.CountryOptions.Me; - export type Mk = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mk; - export type Mr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mr; - export type Mt = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mt; - export type Mx = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mx; - export type My = Stripe.Tax.RegistrationCreateParams.CountryOptions.My; - export type Ng = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ng; - export type Nl = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nl; - export type No = Stripe.Tax.RegistrationCreateParams.CountryOptions.No; - export type Np = Stripe.Tax.RegistrationCreateParams.CountryOptions.Np; - export type Nz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nz; - export type Om = Stripe.Tax.RegistrationCreateParams.CountryOptions.Om; - export type Pe = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pe; - export type Ph = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ph; - export type Pl = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pl; - export type Pt = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pt; - export type Ro = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ro; - export type Rs = Stripe.Tax.RegistrationCreateParams.CountryOptions.Rs; - export type Ru = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ru; - export type Sa = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sa; - export type Se = Stripe.Tax.RegistrationCreateParams.CountryOptions.Se; - export type Sg = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sg; - export type Si = Stripe.Tax.RegistrationCreateParams.CountryOptions.Si; - export type Sk = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sk; - export type Sn = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sn; - export type Sr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sr; - export type Th = Stripe.Tax.RegistrationCreateParams.CountryOptions.Th; - export type Tj = Stripe.Tax.RegistrationCreateParams.CountryOptions.Tj; - export type Tr = Stripe.Tax.RegistrationCreateParams.CountryOptions.Tr; - export type Tw = Stripe.Tax.RegistrationCreateParams.CountryOptions.Tw; - export type Tz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Tz; - export type Ua = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ua; - export type Ug = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ug; - export type Us = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us; - export type Uy = Stripe.Tax.RegistrationCreateParams.CountryOptions.Uy; - export type Uz = Stripe.Tax.RegistrationCreateParams.CountryOptions.Uz; - export type Vn = Stripe.Tax.RegistrationCreateParams.CountryOptions.Vn; - export type Za = Stripe.Tax.RegistrationCreateParams.CountryOptions.Za; - export type Zm = Stripe.Tax.RegistrationCreateParams.CountryOptions.Zm; - export type Zw = Stripe.Tax.RegistrationCreateParams.CountryOptions.Zw; + export type Ae = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ae; + export type Al = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Al; + export type Am = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Am; + export type Ao = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ao; + export type At = Stripe_.Tax.RegistrationCreateParams.CountryOptions.At; + export type Au = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Au; + export type Aw = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Aw; + export type Az = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Az; + export type Ba = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ba; + export type Bb = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bb; + export type Bd = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bd; + export type Be = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Be; + export type Bf = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bf; + export type Bg = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bg; + export type Bh = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bh; + export type Bj = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bj; + export type Bs = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bs; + export type By = Stripe_.Tax.RegistrationCreateParams.CountryOptions.By; + export type Ca = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ca; + export type Cd = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cd; + export type Ch = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ch; + export type Cl = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cl; + export type Cm = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cm; + export type Co = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Co; + export type Cr = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cr; + export type Cv = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cv; + export type Cy = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cy; + export type Cz = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cz; + export type De = Stripe_.Tax.RegistrationCreateParams.CountryOptions.De; + export type Dk = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Dk; + export type Ec = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ec; + export type Ee = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ee; + export type Eg = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Eg; + export type Es = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Es; + export type Et = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Et; + export type Fi = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Fi; + export type Fr = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Fr; + export type Gb = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gb; + export type Ge = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ge; + export type Gn = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gn; + export type Gr = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gr; + export type Hr = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Hr; + export type Hu = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Hu; + export type Id = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Id; + export type Ie = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ie; + export type In = Stripe_.Tax.RegistrationCreateParams.CountryOptions.In; + export type Is = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Is; + export type It = Stripe_.Tax.RegistrationCreateParams.CountryOptions.It; + export type Jp = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Jp; + export type Ke = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ke; + export type Kg = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Kg; + export type Kh = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Kh; + export type Kr = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Kr; + export type Kz = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Kz; + export type La = Stripe_.Tax.RegistrationCreateParams.CountryOptions.La; + export type Lk = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lk; + export type Lt = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lt; + export type Lu = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lu; + export type Lv = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lv; + export type Ma = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ma; + export type Md = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Md; + export type Me = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Me; + export type Mk = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mk; + export type Mr = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mr; + export type Mt = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mt; + export type Mx = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mx; + export type My = Stripe_.Tax.RegistrationCreateParams.CountryOptions.My; + export type Ng = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ng; + export type Nl = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Nl; + export type No = Stripe_.Tax.RegistrationCreateParams.CountryOptions.No; + export type Np = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Np; + export type Nz = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Nz; + export type Om = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Om; + export type Pe = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pe; + export type Ph = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ph; + export type Pl = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pl; + export type Pt = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pt; + export type Ro = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ro; + export type Rs = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Rs; + export type Ru = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ru; + export type Sa = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sa; + export type Se = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Se; + export type Sg = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sg; + export type Si = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Si; + export type Sk = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sk; + export type Sn = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sn; + export type Sr = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sr; + export type Th = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Th; + export type Tj = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Tj; + export type Tr = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Tr; + export type Tw = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Tw; + export type Tz = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Tz; + export type Ua = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ua; + export type Ug = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ug; + export type Us = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us; + export type Uy = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Uy; + export type Uz = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Uz; + export type Vn = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Vn; + export type Za = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Za; + export type Zm = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Zm; + export type Zw = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Zw; export namespace Ae { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ae.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ae.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ae.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ae.Standard.PlaceOfSupplyScheme; } } export namespace Al { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Al.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Al.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Al.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Al.Standard.PlaceOfSupplyScheme; } } export namespace Ao { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ao.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ao.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ao.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ao.Standard.PlaceOfSupplyScheme; } } export namespace At { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.At.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.At.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.At.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.At.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.At.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.At.Standard.PlaceOfSupplyScheme; } } export namespace Au { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Au.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Au.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Au.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Au.Standard.PlaceOfSupplyScheme; } } export namespace Aw { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Aw.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Aw.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Aw.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Aw.Standard.PlaceOfSupplyScheme; } } export namespace Ba { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ba.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ba.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ba.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ba.Standard.PlaceOfSupplyScheme; } } export namespace Bb { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bb.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bb.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bb.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bb.Standard.PlaceOfSupplyScheme; } } export namespace Bd { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bd.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bd.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bd.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bd.Standard.PlaceOfSupplyScheme; } } export namespace Be { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Be.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Be.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Be.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Be.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Be.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Be.Standard.PlaceOfSupplyScheme; } } export namespace Bf { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bf.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bf.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bf.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bf.Standard.PlaceOfSupplyScheme; } } export namespace Bg { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bg.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bg.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bg.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bg.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bg.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bg.Standard.PlaceOfSupplyScheme; } } export namespace Bh { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bh.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bh.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bh.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bh.Standard.PlaceOfSupplyScheme; } } export namespace Bs { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bs.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bs.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Bs.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Bs.Standard.PlaceOfSupplyScheme; } } export namespace Ca { - export type ProvinceStandard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ca.Type; + export type ProvinceStandard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ca.Type; } export namespace Cd { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cd.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cd.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cd.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cd.Standard.PlaceOfSupplyScheme; } } export namespace Ch { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ch.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ch.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ch.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ch.Standard.PlaceOfSupplyScheme; } } export namespace Cy { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cy.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cy.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cy.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cy.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cy.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cy.Standard.PlaceOfSupplyScheme; } } export namespace Cz { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cz.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cz.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cz.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cz.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Cz.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Cz.Standard.PlaceOfSupplyScheme; } } export namespace De { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.De.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.De.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.De.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.De.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.De.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.De.Standard.PlaceOfSupplyScheme; } } export namespace Dk { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Dk.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Dk.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Dk.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Dk.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Dk.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Dk.Standard.PlaceOfSupplyScheme; } } export namespace Ee { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ee.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ee.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ee.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ee.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ee.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ee.Standard.PlaceOfSupplyScheme; } } export namespace Es { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Es.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Es.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Es.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Es.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Es.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Es.Standard.PlaceOfSupplyScheme; } } export namespace Et { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Et.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Et.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Et.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Et.Standard.PlaceOfSupplyScheme; } } export namespace Fi { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fi.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fi.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Fi.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Fi.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fi.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Fi.Standard.PlaceOfSupplyScheme; } } export namespace Fr { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fr.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fr.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Fr.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Fr.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Fr.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Fr.Standard.PlaceOfSupplyScheme; } } export namespace Gb { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gb.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gb.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gb.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gb.Standard.PlaceOfSupplyScheme; } } export namespace Gn { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gn.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gn.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gn.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gn.Standard.PlaceOfSupplyScheme; } } export namespace Gr { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gr.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gr.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gr.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gr.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Gr.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Gr.Standard.PlaceOfSupplyScheme; } } export namespace Hr { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hr.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hr.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Hr.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Hr.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hr.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Hr.Standard.PlaceOfSupplyScheme; } } export namespace Hu { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hu.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hu.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Hu.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Hu.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Hu.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Hu.Standard.PlaceOfSupplyScheme; } } export namespace Ie { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ie.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ie.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ie.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ie.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ie.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ie.Standard.PlaceOfSupplyScheme; } } export namespace Is { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Is.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Is.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Is.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Is.Standard.PlaceOfSupplyScheme; } } export namespace It { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.It.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.It.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.It.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.It.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.It.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.It.Standard.PlaceOfSupplyScheme; } } export namespace Jp { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Jp.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Jp.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Jp.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Jp.Standard.PlaceOfSupplyScheme; } } export namespace Lt { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lt.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lt.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lt.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lt.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lt.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lt.Standard.PlaceOfSupplyScheme; } } export namespace Lu { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lu.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lu.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lu.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lu.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lu.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lu.Standard.PlaceOfSupplyScheme; } } export namespace Lv { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lv.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lv.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lv.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lv.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Lv.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Lv.Standard.PlaceOfSupplyScheme; } } export namespace Me { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Me.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Me.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Me.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Me.Standard.PlaceOfSupplyScheme; } } export namespace Mk { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mk.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mk.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mk.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mk.Standard.PlaceOfSupplyScheme; } } export namespace Mr { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mr.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mr.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mr.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mr.Standard.PlaceOfSupplyScheme; } } export namespace Mt { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mt.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mt.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mt.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mt.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Mt.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Mt.Standard.PlaceOfSupplyScheme; } } export namespace Nl { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nl.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nl.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Nl.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Nl.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nl.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Nl.Standard.PlaceOfSupplyScheme; } } export namespace No { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.No.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.No.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.No.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.No.Standard.PlaceOfSupplyScheme; } } export namespace Nz { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nz.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Nz.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Nz.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Nz.Standard.PlaceOfSupplyScheme; } } export namespace Om { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Om.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Om.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Om.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Om.Standard.PlaceOfSupplyScheme; } } export namespace Pl { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pl.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pl.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pl.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pl.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pl.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pl.Standard.PlaceOfSupplyScheme; } } export namespace Pt { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pt.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pt.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pt.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pt.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Pt.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Pt.Standard.PlaceOfSupplyScheme; } } export namespace Ro { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ro.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ro.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ro.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ro.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Ro.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Ro.Standard.PlaceOfSupplyScheme; } } export namespace Rs { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Rs.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Rs.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Rs.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Rs.Standard.PlaceOfSupplyScheme; } } export namespace Se { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Se.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Se.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Se.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Se.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Se.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Se.Standard.PlaceOfSupplyScheme; } } export namespace Sg { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sg.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sg.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sg.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sg.Standard.PlaceOfSupplyScheme; } } export namespace Si { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Si.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Si.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Si.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Si.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Si.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Si.Standard.PlaceOfSupplyScheme; } } export namespace Sk { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sk.Standard; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sk.Type; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sk.Standard; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sk.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sk.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sk.Standard.PlaceOfSupplyScheme; } } export namespace Sr { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sr.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sr.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Sr.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Sr.Standard.PlaceOfSupplyScheme; } } export namespace Us { - export type LocalAmusementTax = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.LocalAmusementTax; - export type LocalLeaseTax = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.LocalLeaseTax; - export type StateSalesTax = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax; - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.Type; + export type LocalAmusementTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.LocalAmusementTax; + export type LocalLeaseTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.LocalLeaseTax; + export type StateSalesTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.Type; export namespace StateSalesTax { - export type Election = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax.Election; + export type Election = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax.Election; export namespace Election { - export type Type = Stripe.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax.Election.Type; + export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax.Election.Type; } } } export namespace Uy { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Uy.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Uy.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Uy.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Uy.Standard.PlaceOfSupplyScheme; } } export namespace Za { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Za.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Za.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Za.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Za.Standard.PlaceOfSupplyScheme; } } export namespace Zw { - export type Standard = Stripe.Tax.RegistrationCreateParams.CountryOptions.Zw.Standard; + export type Standard = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Zw.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.RegistrationCreateParams.CountryOptions.Zw.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Zw.Standard.PlaceOfSupplyScheme; } } } } export namespace Registration { - export type CountryOptions = Stripe.Tax.Registration.CountryOptions; - export type Status = Stripe.Tax.Registration.Status; + export type CountryOptions = Stripe_.Tax.Registration.CountryOptions; + export type Status = Stripe_.Tax.Registration.Status; export namespace CountryOptions { - export type Ae = Stripe.Tax.Registration.CountryOptions.Ae; - export type Al = Stripe.Tax.Registration.CountryOptions.Al; - export type Am = Stripe.Tax.Registration.CountryOptions.Am; - export type Ao = Stripe.Tax.Registration.CountryOptions.Ao; - export type At = Stripe.Tax.Registration.CountryOptions.At; - export type Au = Stripe.Tax.Registration.CountryOptions.Au; - export type Aw = Stripe.Tax.Registration.CountryOptions.Aw; - export type Az = Stripe.Tax.Registration.CountryOptions.Az; - export type Ba = Stripe.Tax.Registration.CountryOptions.Ba; - export type Bb = Stripe.Tax.Registration.CountryOptions.Bb; - export type Bd = Stripe.Tax.Registration.CountryOptions.Bd; - export type Be = Stripe.Tax.Registration.CountryOptions.Be; - export type Bf = Stripe.Tax.Registration.CountryOptions.Bf; - export type Bg = Stripe.Tax.Registration.CountryOptions.Bg; - export type Bh = Stripe.Tax.Registration.CountryOptions.Bh; - export type Bj = Stripe.Tax.Registration.CountryOptions.Bj; - export type Bs = Stripe.Tax.Registration.CountryOptions.Bs; - export type By = Stripe.Tax.Registration.CountryOptions.By; - export type Ca = Stripe.Tax.Registration.CountryOptions.Ca; - export type Cd = Stripe.Tax.Registration.CountryOptions.Cd; - export type Ch = Stripe.Tax.Registration.CountryOptions.Ch; - export type Cl = Stripe.Tax.Registration.CountryOptions.Cl; - export type Cm = Stripe.Tax.Registration.CountryOptions.Cm; - export type Co = Stripe.Tax.Registration.CountryOptions.Co; - export type Cr = Stripe.Tax.Registration.CountryOptions.Cr; - export type Cv = Stripe.Tax.Registration.CountryOptions.Cv; - export type Cy = Stripe.Tax.Registration.CountryOptions.Cy; - export type Cz = Stripe.Tax.Registration.CountryOptions.Cz; - export type De = Stripe.Tax.Registration.CountryOptions.De; - export type Dk = Stripe.Tax.Registration.CountryOptions.Dk; - export type Ec = Stripe.Tax.Registration.CountryOptions.Ec; - export type Ee = Stripe.Tax.Registration.CountryOptions.Ee; - export type Eg = Stripe.Tax.Registration.CountryOptions.Eg; - export type Es = Stripe.Tax.Registration.CountryOptions.Es; - export type Et = Stripe.Tax.Registration.CountryOptions.Et; - export type Fi = Stripe.Tax.Registration.CountryOptions.Fi; - export type Fr = Stripe.Tax.Registration.CountryOptions.Fr; - export type Gb = Stripe.Tax.Registration.CountryOptions.Gb; - export type Ge = Stripe.Tax.Registration.CountryOptions.Ge; - export type Gn = Stripe.Tax.Registration.CountryOptions.Gn; - export type Gr = Stripe.Tax.Registration.CountryOptions.Gr; - export type Hr = Stripe.Tax.Registration.CountryOptions.Hr; - export type Hu = Stripe.Tax.Registration.CountryOptions.Hu; - export type Id = Stripe.Tax.Registration.CountryOptions.Id; - export type Ie = Stripe.Tax.Registration.CountryOptions.Ie; - export type In = Stripe.Tax.Registration.CountryOptions.In; - export type Is = Stripe.Tax.Registration.CountryOptions.Is; - export type It = Stripe.Tax.Registration.CountryOptions.It; - export type Jp = Stripe.Tax.Registration.CountryOptions.Jp; - export type Ke = Stripe.Tax.Registration.CountryOptions.Ke; - export type Kg = Stripe.Tax.Registration.CountryOptions.Kg; - export type Kh = Stripe.Tax.Registration.CountryOptions.Kh; - export type Kr = Stripe.Tax.Registration.CountryOptions.Kr; - export type Kz = Stripe.Tax.Registration.CountryOptions.Kz; - export type La = Stripe.Tax.Registration.CountryOptions.La; - export type Lk = Stripe.Tax.Registration.CountryOptions.Lk; - export type Lt = Stripe.Tax.Registration.CountryOptions.Lt; - export type Lu = Stripe.Tax.Registration.CountryOptions.Lu; - export type Lv = Stripe.Tax.Registration.CountryOptions.Lv; - export type Ma = Stripe.Tax.Registration.CountryOptions.Ma; - export type Md = Stripe.Tax.Registration.CountryOptions.Md; - export type Me = Stripe.Tax.Registration.CountryOptions.Me; - export type Mk = Stripe.Tax.Registration.CountryOptions.Mk; - export type Mr = Stripe.Tax.Registration.CountryOptions.Mr; - export type Mt = Stripe.Tax.Registration.CountryOptions.Mt; - export type Mx = Stripe.Tax.Registration.CountryOptions.Mx; - export type My = Stripe.Tax.Registration.CountryOptions.My; - export type Ng = Stripe.Tax.Registration.CountryOptions.Ng; - export type Nl = Stripe.Tax.Registration.CountryOptions.Nl; - export type No = Stripe.Tax.Registration.CountryOptions.No; - export type Np = Stripe.Tax.Registration.CountryOptions.Np; - export type Nz = Stripe.Tax.Registration.CountryOptions.Nz; - export type Om = Stripe.Tax.Registration.CountryOptions.Om; - export type Pe = Stripe.Tax.Registration.CountryOptions.Pe; - export type Ph = Stripe.Tax.Registration.CountryOptions.Ph; - export type Pl = Stripe.Tax.Registration.CountryOptions.Pl; - export type Pt = Stripe.Tax.Registration.CountryOptions.Pt; - export type Ro = Stripe.Tax.Registration.CountryOptions.Ro; - export type Rs = Stripe.Tax.Registration.CountryOptions.Rs; - export type Ru = Stripe.Tax.Registration.CountryOptions.Ru; - export type Sa = Stripe.Tax.Registration.CountryOptions.Sa; - export type Se = Stripe.Tax.Registration.CountryOptions.Se; - export type Sg = Stripe.Tax.Registration.CountryOptions.Sg; - export type Si = Stripe.Tax.Registration.CountryOptions.Si; - export type Sk = Stripe.Tax.Registration.CountryOptions.Sk; - export type Sn = Stripe.Tax.Registration.CountryOptions.Sn; - export type Sr = Stripe.Tax.Registration.CountryOptions.Sr; - export type Th = Stripe.Tax.Registration.CountryOptions.Th; - export type Tj = Stripe.Tax.Registration.CountryOptions.Tj; - export type Tr = Stripe.Tax.Registration.CountryOptions.Tr; - export type Tw = Stripe.Tax.Registration.CountryOptions.Tw; - export type Tz = Stripe.Tax.Registration.CountryOptions.Tz; - export type Ua = Stripe.Tax.Registration.CountryOptions.Ua; - export type Ug = Stripe.Tax.Registration.CountryOptions.Ug; - export type Us = Stripe.Tax.Registration.CountryOptions.Us; - export type Uy = Stripe.Tax.Registration.CountryOptions.Uy; - export type Uz = Stripe.Tax.Registration.CountryOptions.Uz; - export type Vn = Stripe.Tax.Registration.CountryOptions.Vn; - export type Za = Stripe.Tax.Registration.CountryOptions.Za; - export type Zm = Stripe.Tax.Registration.CountryOptions.Zm; - export type Zw = Stripe.Tax.Registration.CountryOptions.Zw; + export type Ae = Stripe_.Tax.Registration.CountryOptions.Ae; + export type Al = Stripe_.Tax.Registration.CountryOptions.Al; + export type Am = Stripe_.Tax.Registration.CountryOptions.Am; + export type Ao = Stripe_.Tax.Registration.CountryOptions.Ao; + export type At = Stripe_.Tax.Registration.CountryOptions.At; + export type Au = Stripe_.Tax.Registration.CountryOptions.Au; + export type Aw = Stripe_.Tax.Registration.CountryOptions.Aw; + export type Az = Stripe_.Tax.Registration.CountryOptions.Az; + export type Ba = Stripe_.Tax.Registration.CountryOptions.Ba; + export type Bb = Stripe_.Tax.Registration.CountryOptions.Bb; + export type Bd = Stripe_.Tax.Registration.CountryOptions.Bd; + export type Be = Stripe_.Tax.Registration.CountryOptions.Be; + export type Bf = Stripe_.Tax.Registration.CountryOptions.Bf; + export type Bg = Stripe_.Tax.Registration.CountryOptions.Bg; + export type Bh = Stripe_.Tax.Registration.CountryOptions.Bh; + export type Bj = Stripe_.Tax.Registration.CountryOptions.Bj; + export type Bs = Stripe_.Tax.Registration.CountryOptions.Bs; + export type By = Stripe_.Tax.Registration.CountryOptions.By; + export type Ca = Stripe_.Tax.Registration.CountryOptions.Ca; + export type Cd = Stripe_.Tax.Registration.CountryOptions.Cd; + export type Ch = Stripe_.Tax.Registration.CountryOptions.Ch; + export type Cl = Stripe_.Tax.Registration.CountryOptions.Cl; + export type Cm = Stripe_.Tax.Registration.CountryOptions.Cm; + export type Co = Stripe_.Tax.Registration.CountryOptions.Co; + export type Cr = Stripe_.Tax.Registration.CountryOptions.Cr; + export type Cv = Stripe_.Tax.Registration.CountryOptions.Cv; + export type Cy = Stripe_.Tax.Registration.CountryOptions.Cy; + export type Cz = Stripe_.Tax.Registration.CountryOptions.Cz; + export type De = Stripe_.Tax.Registration.CountryOptions.De; + export type Dk = Stripe_.Tax.Registration.CountryOptions.Dk; + export type Ec = Stripe_.Tax.Registration.CountryOptions.Ec; + export type Ee = Stripe_.Tax.Registration.CountryOptions.Ee; + export type Eg = Stripe_.Tax.Registration.CountryOptions.Eg; + export type Es = Stripe_.Tax.Registration.CountryOptions.Es; + export type Et = Stripe_.Tax.Registration.CountryOptions.Et; + export type Fi = Stripe_.Tax.Registration.CountryOptions.Fi; + export type Fr = Stripe_.Tax.Registration.CountryOptions.Fr; + export type Gb = Stripe_.Tax.Registration.CountryOptions.Gb; + export type Ge = Stripe_.Tax.Registration.CountryOptions.Ge; + export type Gn = Stripe_.Tax.Registration.CountryOptions.Gn; + export type Gr = Stripe_.Tax.Registration.CountryOptions.Gr; + export type Hr = Stripe_.Tax.Registration.CountryOptions.Hr; + export type Hu = Stripe_.Tax.Registration.CountryOptions.Hu; + export type Id = Stripe_.Tax.Registration.CountryOptions.Id; + export type Ie = Stripe_.Tax.Registration.CountryOptions.Ie; + export type In = Stripe_.Tax.Registration.CountryOptions.In; + export type Is = Stripe_.Tax.Registration.CountryOptions.Is; + export type It = Stripe_.Tax.Registration.CountryOptions.It; + export type Jp = Stripe_.Tax.Registration.CountryOptions.Jp; + export type Ke = Stripe_.Tax.Registration.CountryOptions.Ke; + export type Kg = Stripe_.Tax.Registration.CountryOptions.Kg; + export type Kh = Stripe_.Tax.Registration.CountryOptions.Kh; + export type Kr = Stripe_.Tax.Registration.CountryOptions.Kr; + export type Kz = Stripe_.Tax.Registration.CountryOptions.Kz; + export type La = Stripe_.Tax.Registration.CountryOptions.La; + export type Lk = Stripe_.Tax.Registration.CountryOptions.Lk; + export type Lt = Stripe_.Tax.Registration.CountryOptions.Lt; + export type Lu = Stripe_.Tax.Registration.CountryOptions.Lu; + export type Lv = Stripe_.Tax.Registration.CountryOptions.Lv; + export type Ma = Stripe_.Tax.Registration.CountryOptions.Ma; + export type Md = Stripe_.Tax.Registration.CountryOptions.Md; + export type Me = Stripe_.Tax.Registration.CountryOptions.Me; + export type Mk = Stripe_.Tax.Registration.CountryOptions.Mk; + export type Mr = Stripe_.Tax.Registration.CountryOptions.Mr; + export type Mt = Stripe_.Tax.Registration.CountryOptions.Mt; + export type Mx = Stripe_.Tax.Registration.CountryOptions.Mx; + export type My = Stripe_.Tax.Registration.CountryOptions.My; + export type Ng = Stripe_.Tax.Registration.CountryOptions.Ng; + export type Nl = Stripe_.Tax.Registration.CountryOptions.Nl; + export type No = Stripe_.Tax.Registration.CountryOptions.No; + export type Np = Stripe_.Tax.Registration.CountryOptions.Np; + export type Nz = Stripe_.Tax.Registration.CountryOptions.Nz; + export type Om = Stripe_.Tax.Registration.CountryOptions.Om; + export type Pe = Stripe_.Tax.Registration.CountryOptions.Pe; + export type Ph = Stripe_.Tax.Registration.CountryOptions.Ph; + export type Pl = Stripe_.Tax.Registration.CountryOptions.Pl; + export type Pt = Stripe_.Tax.Registration.CountryOptions.Pt; + export type Ro = Stripe_.Tax.Registration.CountryOptions.Ro; + export type Rs = Stripe_.Tax.Registration.CountryOptions.Rs; + export type Ru = Stripe_.Tax.Registration.CountryOptions.Ru; + export type Sa = Stripe_.Tax.Registration.CountryOptions.Sa; + export type Se = Stripe_.Tax.Registration.CountryOptions.Se; + export type Sg = Stripe_.Tax.Registration.CountryOptions.Sg; + export type Si = Stripe_.Tax.Registration.CountryOptions.Si; + export type Sk = Stripe_.Tax.Registration.CountryOptions.Sk; + export type Sn = Stripe_.Tax.Registration.CountryOptions.Sn; + export type Sr = Stripe_.Tax.Registration.CountryOptions.Sr; + export type Th = Stripe_.Tax.Registration.CountryOptions.Th; + export type Tj = Stripe_.Tax.Registration.CountryOptions.Tj; + export type Tr = Stripe_.Tax.Registration.CountryOptions.Tr; + export type Tw = Stripe_.Tax.Registration.CountryOptions.Tw; + export type Tz = Stripe_.Tax.Registration.CountryOptions.Tz; + export type Ua = Stripe_.Tax.Registration.CountryOptions.Ua; + export type Ug = Stripe_.Tax.Registration.CountryOptions.Ug; + export type Us = Stripe_.Tax.Registration.CountryOptions.Us; + export type Uy = Stripe_.Tax.Registration.CountryOptions.Uy; + export type Uz = Stripe_.Tax.Registration.CountryOptions.Uz; + export type Vn = Stripe_.Tax.Registration.CountryOptions.Vn; + export type Za = Stripe_.Tax.Registration.CountryOptions.Za; + export type Zm = Stripe_.Tax.Registration.CountryOptions.Zm; + export type Zw = Stripe_.Tax.Registration.CountryOptions.Zw; export namespace Ae { - export type Standard = Stripe.Tax.Registration.CountryOptions.Ae.Standard; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Ae.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ae.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Ae.Standard.PlaceOfSupplyScheme; } } export namespace At { - export type Standard = Stripe.Tax.Registration.CountryOptions.At.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.At.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.At.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.At.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.At.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.At.Standard.PlaceOfSupplyScheme; } } export namespace Au { - export type Standard = Stripe.Tax.Registration.CountryOptions.Au.Standard; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Au.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Au.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Au.Standard.PlaceOfSupplyScheme; } } export namespace Be { - export type Standard = Stripe.Tax.Registration.CountryOptions.Be.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Be.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Be.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Be.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Be.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Be.Standard.PlaceOfSupplyScheme; } } export namespace Bg { - export type Standard = Stripe.Tax.Registration.CountryOptions.Bg.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Bg.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Bg.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Bg.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Bg.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Bg.Standard.PlaceOfSupplyScheme; } } export namespace Ca { - export type ProvinceStandard = Stripe.Tax.Registration.CountryOptions.Ca.ProvinceStandard; - export type Type = Stripe.Tax.Registration.CountryOptions.Ca.Type; + export type ProvinceStandard = Stripe_.Tax.Registration.CountryOptions.Ca.ProvinceStandard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Ca.Type; } export namespace Ch { - export type Standard = Stripe.Tax.Registration.CountryOptions.Ch.Standard; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Ch.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ch.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Ch.Standard.PlaceOfSupplyScheme; } } export namespace Cy { - export type Standard = Stripe.Tax.Registration.CountryOptions.Cy.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Cy.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Cy.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Cy.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Cy.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Cy.Standard.PlaceOfSupplyScheme; } } export namespace Cz { - export type Standard = Stripe.Tax.Registration.CountryOptions.Cz.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Cz.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Cz.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Cz.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Cz.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Cz.Standard.PlaceOfSupplyScheme; } } export namespace De { - export type Standard = Stripe.Tax.Registration.CountryOptions.De.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.De.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.De.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.De.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.De.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.De.Standard.PlaceOfSupplyScheme; } } export namespace Dk { - export type Standard = Stripe.Tax.Registration.CountryOptions.Dk.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Dk.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Dk.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Dk.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Dk.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Dk.Standard.PlaceOfSupplyScheme; } } export namespace Ee { - export type Standard = Stripe.Tax.Registration.CountryOptions.Ee.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Ee.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Ee.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Ee.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ee.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Ee.Standard.PlaceOfSupplyScheme; } } export namespace Es { - export type Standard = Stripe.Tax.Registration.CountryOptions.Es.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Es.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Es.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Es.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Es.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Es.Standard.PlaceOfSupplyScheme; } } export namespace Fi { - export type Standard = Stripe.Tax.Registration.CountryOptions.Fi.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Fi.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Fi.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Fi.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Fi.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Fi.Standard.PlaceOfSupplyScheme; } } export namespace Fr { - export type Standard = Stripe.Tax.Registration.CountryOptions.Fr.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Fr.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Fr.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Fr.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Fr.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Fr.Standard.PlaceOfSupplyScheme; } } export namespace Gb { - export type Standard = Stripe.Tax.Registration.CountryOptions.Gb.Standard; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Gb.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Gb.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Gb.Standard.PlaceOfSupplyScheme; } } export namespace Gr { - export type Standard = Stripe.Tax.Registration.CountryOptions.Gr.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Gr.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Gr.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Gr.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Gr.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Gr.Standard.PlaceOfSupplyScheme; } } export namespace Hr { - export type Standard = Stripe.Tax.Registration.CountryOptions.Hr.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Hr.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Hr.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Hr.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Hr.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Hr.Standard.PlaceOfSupplyScheme; } } export namespace Hu { - export type Standard = Stripe.Tax.Registration.CountryOptions.Hu.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Hu.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Hu.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Hu.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Hu.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Hu.Standard.PlaceOfSupplyScheme; } } export namespace Ie { - export type Standard = Stripe.Tax.Registration.CountryOptions.Ie.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Ie.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Ie.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Ie.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ie.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Ie.Standard.PlaceOfSupplyScheme; } } export namespace It { - export type Standard = Stripe.Tax.Registration.CountryOptions.It.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.It.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.It.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.It.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.It.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.It.Standard.PlaceOfSupplyScheme; } } export namespace Jp { - export type Standard = Stripe.Tax.Registration.CountryOptions.Jp.Standard; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Jp.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Jp.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Jp.Standard.PlaceOfSupplyScheme; } } export namespace Lt { - export type Standard = Stripe.Tax.Registration.CountryOptions.Lt.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Lt.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Lt.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Lt.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Lt.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Lt.Standard.PlaceOfSupplyScheme; } } export namespace Lu { - export type Standard = Stripe.Tax.Registration.CountryOptions.Lu.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Lu.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Lu.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Lu.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Lu.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Lu.Standard.PlaceOfSupplyScheme; } } export namespace Lv { - export type Standard = Stripe.Tax.Registration.CountryOptions.Lv.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Lv.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Lv.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Lv.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Lv.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Lv.Standard.PlaceOfSupplyScheme; } } export namespace Mt { - export type Standard = Stripe.Tax.Registration.CountryOptions.Mt.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Mt.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Mt.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Mt.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Mt.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Mt.Standard.PlaceOfSupplyScheme; } } export namespace Nl { - export type Standard = Stripe.Tax.Registration.CountryOptions.Nl.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Nl.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Nl.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Nl.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Nl.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Nl.Standard.PlaceOfSupplyScheme; } } export namespace No { - export type Standard = Stripe.Tax.Registration.CountryOptions.No.Standard; + export type Standard = Stripe_.Tax.Registration.CountryOptions.No.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.No.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.No.Standard.PlaceOfSupplyScheme; } } export namespace Nz { - export type Standard = Stripe.Tax.Registration.CountryOptions.Nz.Standard; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Nz.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Nz.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Nz.Standard.PlaceOfSupplyScheme; } } export namespace Pl { - export type Standard = Stripe.Tax.Registration.CountryOptions.Pl.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Pl.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Pl.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Pl.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Pl.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Pl.Standard.PlaceOfSupplyScheme; } } export namespace Pt { - export type Standard = Stripe.Tax.Registration.CountryOptions.Pt.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Pt.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Pt.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Pt.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Pt.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Pt.Standard.PlaceOfSupplyScheme; } } export namespace Ro { - export type Standard = Stripe.Tax.Registration.CountryOptions.Ro.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Ro.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Ro.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Ro.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Ro.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Ro.Standard.PlaceOfSupplyScheme; } } export namespace Se { - export type Standard = Stripe.Tax.Registration.CountryOptions.Se.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Se.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Se.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Se.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Se.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Se.Standard.PlaceOfSupplyScheme; } } export namespace Sg { - export type Standard = Stripe.Tax.Registration.CountryOptions.Sg.Standard; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Sg.Standard; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Sg.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Sg.Standard.PlaceOfSupplyScheme; } } export namespace Si { - export type Standard = Stripe.Tax.Registration.CountryOptions.Si.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Si.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Si.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Si.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Si.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Si.Standard.PlaceOfSupplyScheme; } } export namespace Sk { - export type Standard = Stripe.Tax.Registration.CountryOptions.Sk.Standard; - export type Type = Stripe.Tax.Registration.CountryOptions.Sk.Type; + export type Standard = Stripe_.Tax.Registration.CountryOptions.Sk.Standard; + export type Type = Stripe_.Tax.Registration.CountryOptions.Sk.Type; export namespace Standard { - export type PlaceOfSupplyScheme = Stripe.Tax.Registration.CountryOptions.Sk.Standard.PlaceOfSupplyScheme; + export type PlaceOfSupplyScheme = Stripe_.Tax.Registration.CountryOptions.Sk.Standard.PlaceOfSupplyScheme; } } export namespace Us { - export type LocalAmusementTax = Stripe.Tax.Registration.CountryOptions.Us.LocalAmusementTax; - export type LocalLeaseTax = Stripe.Tax.Registration.CountryOptions.Us.LocalLeaseTax; - export type StateSalesTax = Stripe.Tax.Registration.CountryOptions.Us.StateSalesTax; - export type Type = Stripe.Tax.Registration.CountryOptions.Us.Type; + export type LocalAmusementTax = Stripe_.Tax.Registration.CountryOptions.Us.LocalAmusementTax; + export type LocalLeaseTax = Stripe_.Tax.Registration.CountryOptions.Us.LocalLeaseTax; + export type StateSalesTax = Stripe_.Tax.Registration.CountryOptions.Us.StateSalesTax; + export type Type = Stripe_.Tax.Registration.CountryOptions.Us.Type; export namespace StateSalesTax { - export type Election = Stripe.Tax.Registration.CountryOptions.Us.StateSalesTax.Election; + export type Election = Stripe_.Tax.Registration.CountryOptions.Us.StateSalesTax.Election; export namespace Election { - export type Type = Stripe.Tax.Registration.CountryOptions.Us.StateSalesTax.Election.Type; + export type Type = Stripe_.Tax.Registration.CountryOptions.Us.StateSalesTax.Election.Type; } } } } } export namespace Settings { - export type Defaults = Stripe.Tax.Settings.Defaults; - export type HeadOffice = Stripe.Tax.Settings.HeadOffice; - export type Status = Stripe.Tax.Settings.Status; - export type StatusDetails = Stripe.Tax.Settings.StatusDetails; + export type Defaults = Stripe_.Tax.Settings.Defaults; + export type HeadOffice = Stripe_.Tax.Settings.HeadOffice; + export type Status = Stripe_.Tax.Settings.Status; + export type StatusDetails = Stripe_.Tax.Settings.StatusDetails; export namespace Defaults { - export type Provider = Stripe.Tax.Settings.Defaults.Provider; - export type TaxBehavior = Stripe.Tax.Settings.Defaults.TaxBehavior; + export type Provider = Stripe_.Tax.Settings.Defaults.Provider; + export type TaxBehavior = Stripe_.Tax.Settings.Defaults.TaxBehavior; } export namespace StatusDetails { - export type Active = Stripe.Tax.Settings.StatusDetails.Active; - export type Pending = Stripe.Tax.Settings.StatusDetails.Pending; + export type Active = Stripe_.Tax.Settings.StatusDetails.Active; + export type Pending = Stripe_.Tax.Settings.StatusDetails.Pending; } } export namespace Transaction { - export type CustomerDetails = Stripe.Tax.Transaction.CustomerDetails; - export type Reversal = Stripe.Tax.Transaction.Reversal; - export type ShipFromDetails = Stripe.Tax.Transaction.ShipFromDetails; - export type ShippingCost = Stripe.Tax.Transaction.ShippingCost; - export type Type = Stripe.Tax.Transaction.Type; + export type CustomerDetails = Stripe_.Tax.Transaction.CustomerDetails; + export type Reversal = Stripe_.Tax.Transaction.Reversal; + export type ShipFromDetails = Stripe_.Tax.Transaction.ShipFromDetails; + export type ShippingCost = Stripe_.Tax.Transaction.ShippingCost; + export type Type = Stripe_.Tax.Transaction.Type; export namespace CustomerDetails { - export type AddressSource = Stripe.Tax.Transaction.CustomerDetails.AddressSource; - export type TaxId = Stripe.Tax.Transaction.CustomerDetails.TaxId; - export type TaxabilityOverride = Stripe.Tax.Transaction.CustomerDetails.TaxabilityOverride; + export type AddressSource = Stripe_.Tax.Transaction.CustomerDetails.AddressSource; + export type TaxId = Stripe_.Tax.Transaction.CustomerDetails.TaxId; + export type TaxabilityOverride = Stripe_.Tax.Transaction.CustomerDetails.TaxabilityOverride; export namespace TaxId { - export type Type = Stripe.Tax.Transaction.CustomerDetails.TaxId.Type; + export type Type = Stripe_.Tax.Transaction.CustomerDetails.TaxId.Type; } } export namespace ShippingCost { - export type TaxBehavior = Stripe.Tax.Transaction.ShippingCost.TaxBehavior; - export type TaxBreakdown = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown; + export type TaxBehavior = Stripe_.Tax.Transaction.ShippingCost.TaxBehavior; + export type TaxBreakdown = Stripe_.Tax.Transaction.ShippingCost.TaxBreakdown; export namespace TaxBreakdown { - export type Jurisdiction = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.Jurisdiction; - export type Sourcing = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.Sourcing; - export type TaxRateDetails = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails; - export type TaxabilityReason = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.TaxabilityReason; + export type Jurisdiction = Stripe_.Tax.Transaction.ShippingCost.TaxBreakdown.Jurisdiction; + export type Sourcing = Stripe_.Tax.Transaction.ShippingCost.TaxBreakdown.Sourcing; + export type TaxRateDetails = Stripe_.Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails; + export type TaxabilityReason = Stripe_.Tax.Transaction.ShippingCost.TaxBreakdown.TaxabilityReason; export namespace Jurisdiction { - export type Level = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.Jurisdiction.Level; + export type Level = Stripe_.Tax.Transaction.ShippingCost.TaxBreakdown.Jurisdiction.Level; } export namespace TaxRateDetails { - export type TaxType = Stripe.Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.TaxType; + export type TaxType = Stripe_.Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.TaxType; } } } } export namespace CalculationLineItem { - export type TaxBehavior = Stripe.Tax.CalculationLineItem.TaxBehavior; - export type TaxBreakdown = Stripe.Tax.CalculationLineItem.TaxBreakdown; + export type TaxBehavior = Stripe_.Tax.CalculationLineItem.TaxBehavior; + export type TaxBreakdown = Stripe_.Tax.CalculationLineItem.TaxBreakdown; export namespace TaxBreakdown { - export type Jurisdiction = Stripe.Tax.CalculationLineItem.TaxBreakdown.Jurisdiction; - export type Sourcing = Stripe.Tax.CalculationLineItem.TaxBreakdown.Sourcing; - export type TaxRateDetails = Stripe.Tax.CalculationLineItem.TaxBreakdown.TaxRateDetails; - export type TaxabilityReason = Stripe.Tax.CalculationLineItem.TaxBreakdown.TaxabilityReason; + export type Jurisdiction = Stripe_.Tax.CalculationLineItem.TaxBreakdown.Jurisdiction; + export type Sourcing = Stripe_.Tax.CalculationLineItem.TaxBreakdown.Sourcing; + export type TaxRateDetails = Stripe_.Tax.CalculationLineItem.TaxBreakdown.TaxRateDetails; + export type TaxabilityReason = Stripe_.Tax.CalculationLineItem.TaxBreakdown.TaxabilityReason; export namespace Jurisdiction { - export type Level = Stripe.Tax.CalculationLineItem.TaxBreakdown.Jurisdiction.Level; + export type Level = Stripe_.Tax.CalculationLineItem.TaxBreakdown.Jurisdiction.Level; } export namespace TaxRateDetails { - export type TaxType = Stripe.Tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.TaxType; + export type TaxType = Stripe_.Tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.TaxType; } } } export namespace TransactionLineItem { - export type Reversal = Stripe.Tax.TransactionLineItem.Reversal; - export type TaxBehavior = Stripe.Tax.TransactionLineItem.TaxBehavior; - export type Type = Stripe.Tax.TransactionLineItem.Type; + export type Reversal = Stripe_.Tax.TransactionLineItem.Reversal; + export type TaxBehavior = Stripe_.Tax.TransactionLineItem.TaxBehavior; + export type Type = Stripe_.Tax.TransactionLineItem.Type; } } export namespace Terminal { - export type Configuration = Stripe.Terminal.Configuration; - export type DeletedConfiguration = Stripe.Terminal.DeletedConfiguration; - export type ConfigurationCreateParams = Stripe.Terminal.ConfigurationCreateParams; - export type ConfigurationRetrieveParams = Stripe.Terminal.ConfigurationRetrieveParams; - export type ConfigurationUpdateParams = Stripe.Terminal.ConfigurationUpdateParams; - export type ConfigurationListParams = Stripe.Terminal.ConfigurationListParams; - export type ConfigurationDeleteParams = Stripe.Terminal.ConfigurationDeleteParams; - export type ConfigurationResource = Stripe.Terminal.ConfigurationResource; - export type ConnectionToken = Stripe.Terminal.ConnectionToken; - export type ConnectionTokenCreateParams = Stripe.Terminal.ConnectionTokenCreateParams; - export type ConnectionTokenResource = Stripe.Terminal.ConnectionTokenResource; - export type Location = Stripe.Terminal.Location; - export type DeletedLocation = Stripe.Terminal.DeletedLocation; - export type LocationCreateParams = Stripe.Terminal.LocationCreateParams; - export type LocationRetrieveParams = Stripe.Terminal.LocationRetrieveParams; - export type LocationUpdateParams = Stripe.Terminal.LocationUpdateParams; - export type LocationListParams = Stripe.Terminal.LocationListParams; - export type LocationDeleteParams = Stripe.Terminal.LocationDeleteParams; - export type LocationResource = Stripe.Terminal.LocationResource; - export type OnboardingLink = Stripe.Terminal.OnboardingLink; - export type OnboardingLinkCreateParams = Stripe.Terminal.OnboardingLinkCreateParams; - export type OnboardingLinkResource = Stripe.Terminal.OnboardingLinkResource; - export type Reader = Stripe.Terminal.Reader; - export type DeletedReader = Stripe.Terminal.DeletedReader; - export type ReaderCreateParams = Stripe.Terminal.ReaderCreateParams; - export type ReaderRetrieveParams = Stripe.Terminal.ReaderRetrieveParams; - export type ReaderUpdateParams = Stripe.Terminal.ReaderUpdateParams; - export type ReaderListParams = Stripe.Terminal.ReaderListParams; - export type ReaderDeleteParams = Stripe.Terminal.ReaderDeleteParams; - export type ReaderCancelActionParams = Stripe.Terminal.ReaderCancelActionParams; - export type ReaderCollectInputsParams = Stripe.Terminal.ReaderCollectInputsParams; - export type ReaderCollectPaymentMethodParams = Stripe.Terminal.ReaderCollectPaymentMethodParams; - export type ReaderConfirmPaymentIntentParams = Stripe.Terminal.ReaderConfirmPaymentIntentParams; - export type ReaderProcessPaymentIntentParams = Stripe.Terminal.ReaderProcessPaymentIntentParams; - export type ReaderProcessSetupIntentParams = Stripe.Terminal.ReaderProcessSetupIntentParams; - export type ReaderRefundPaymentParams = Stripe.Terminal.ReaderRefundPaymentParams; - export type ReaderSetReaderDisplayParams = Stripe.Terminal.ReaderSetReaderDisplayParams; - export type ReaderResource = Stripe.Terminal.ReaderResource; + export type Configuration = Stripe_.Terminal.Configuration; + export type DeletedConfiguration = Stripe_.Terminal.DeletedConfiguration; + export type ConfigurationCreateParams = Stripe_.Terminal.ConfigurationCreateParams; + export type ConfigurationRetrieveParams = Stripe_.Terminal.ConfigurationRetrieveParams; + export type ConfigurationUpdateParams = Stripe_.Terminal.ConfigurationUpdateParams; + export type ConfigurationListParams = Stripe_.Terminal.ConfigurationListParams; + export type ConfigurationDeleteParams = Stripe_.Terminal.ConfigurationDeleteParams; + export type ConfigurationResource = Stripe_.Terminal.ConfigurationResource; + export type ConnectionToken = Stripe_.Terminal.ConnectionToken; + export type ConnectionTokenCreateParams = Stripe_.Terminal.ConnectionTokenCreateParams; + export type ConnectionTokenResource = Stripe_.Terminal.ConnectionTokenResource; + export type Location = Stripe_.Terminal.Location; + export type DeletedLocation = Stripe_.Terminal.DeletedLocation; + export type LocationCreateParams = Stripe_.Terminal.LocationCreateParams; + export type LocationRetrieveParams = Stripe_.Terminal.LocationRetrieveParams; + export type LocationUpdateParams = Stripe_.Terminal.LocationUpdateParams; + export type LocationListParams = Stripe_.Terminal.LocationListParams; + export type LocationDeleteParams = Stripe_.Terminal.LocationDeleteParams; + export type LocationResource = Stripe_.Terminal.LocationResource; + export type OnboardingLink = Stripe_.Terminal.OnboardingLink; + export type OnboardingLinkCreateParams = Stripe_.Terminal.OnboardingLinkCreateParams; + export type OnboardingLinkResource = Stripe_.Terminal.OnboardingLinkResource; + export type Reader = Stripe_.Terminal.Reader; + export type DeletedReader = Stripe_.Terminal.DeletedReader; + export type ReaderCreateParams = Stripe_.Terminal.ReaderCreateParams; + export type ReaderRetrieveParams = Stripe_.Terminal.ReaderRetrieveParams; + export type ReaderUpdateParams = Stripe_.Terminal.ReaderUpdateParams; + export type ReaderListParams = Stripe_.Terminal.ReaderListParams; + export type ReaderDeleteParams = Stripe_.Terminal.ReaderDeleteParams; + export type ReaderCancelActionParams = Stripe_.Terminal.ReaderCancelActionParams; + export type ReaderCollectInputsParams = Stripe_.Terminal.ReaderCollectInputsParams; + export type ReaderCollectPaymentMethodParams = Stripe_.Terminal.ReaderCollectPaymentMethodParams; + export type ReaderConfirmPaymentIntentParams = Stripe_.Terminal.ReaderConfirmPaymentIntentParams; + export type ReaderProcessPaymentIntentParams = Stripe_.Terminal.ReaderProcessPaymentIntentParams; + export type ReaderProcessSetupIntentParams = Stripe_.Terminal.ReaderProcessSetupIntentParams; + export type ReaderRefundPaymentParams = Stripe_.Terminal.ReaderRefundPaymentParams; + export type ReaderSetReaderDisplayParams = Stripe_.Terminal.ReaderSetReaderDisplayParams; + export type ReaderResource = Stripe_.Terminal.ReaderResource; export namespace ConfigurationCreateParams { - export type BbposWisepad3 = Stripe.Terminal.ConfigurationCreateParams.BbposWisepad3; - export type BbposWiseposE = Stripe.Terminal.ConfigurationCreateParams.BbposWiseposE; - export type Cellular = Stripe.Terminal.ConfigurationCreateParams.Cellular; - export type Offline = Stripe.Terminal.ConfigurationCreateParams.Offline; - export type RebootWindow = Stripe.Terminal.ConfigurationCreateParams.RebootWindow; - export type StripeS700 = Stripe.Terminal.ConfigurationCreateParams.StripeS700; - export type StripeS710 = Stripe.Terminal.ConfigurationCreateParams.StripeS710; - export type Tipping = Stripe.Terminal.ConfigurationCreateParams.Tipping; - export type VerifoneM425 = Stripe.Terminal.ConfigurationCreateParams.VerifoneM425; - export type VerifoneP400 = Stripe.Terminal.ConfigurationCreateParams.VerifoneP400; - export type VerifoneP630 = Stripe.Terminal.ConfigurationCreateParams.VerifoneP630; - export type VerifoneUx700 = Stripe.Terminal.ConfigurationCreateParams.VerifoneUx700; - export type VerifoneV660p = Stripe.Terminal.ConfigurationCreateParams.VerifoneV660p; - export type Wifi = Stripe.Terminal.ConfigurationCreateParams.Wifi; + export type BbposWisepad3 = Stripe_.Terminal.ConfigurationCreateParams.BbposWisepad3; + export type BbposWiseposE = Stripe_.Terminal.ConfigurationCreateParams.BbposWiseposE; + export type Cellular = Stripe_.Terminal.ConfigurationCreateParams.Cellular; + export type Offline = Stripe_.Terminal.ConfigurationCreateParams.Offline; + export type RebootWindow = Stripe_.Terminal.ConfigurationCreateParams.RebootWindow; + export type StripeS700 = Stripe_.Terminal.ConfigurationCreateParams.StripeS700; + export type StripeS710 = Stripe_.Terminal.ConfigurationCreateParams.StripeS710; + export type Tipping = Stripe_.Terminal.ConfigurationCreateParams.Tipping; + export type VerifoneM425 = Stripe_.Terminal.ConfigurationCreateParams.VerifoneM425; + export type VerifoneP400 = Stripe_.Terminal.ConfigurationCreateParams.VerifoneP400; + export type VerifoneP630 = Stripe_.Terminal.ConfigurationCreateParams.VerifoneP630; + export type VerifoneUx700 = Stripe_.Terminal.ConfigurationCreateParams.VerifoneUx700; + export type VerifoneV660p = Stripe_.Terminal.ConfigurationCreateParams.VerifoneV660p; + export type Wifi = Stripe_.Terminal.ConfigurationCreateParams.Wifi; export namespace Tipping { - export type Aed = Stripe.Terminal.ConfigurationCreateParams.Tipping.Aed; - export type Aud = Stripe.Terminal.ConfigurationCreateParams.Tipping.Aud; - export type Cad = Stripe.Terminal.ConfigurationCreateParams.Tipping.Cad; - export type Chf = Stripe.Terminal.ConfigurationCreateParams.Tipping.Chf; - export type Czk = Stripe.Terminal.ConfigurationCreateParams.Tipping.Czk; - export type Dkk = Stripe.Terminal.ConfigurationCreateParams.Tipping.Dkk; - export type Eur = Stripe.Terminal.ConfigurationCreateParams.Tipping.Eur; - export type Gbp = Stripe.Terminal.ConfigurationCreateParams.Tipping.Gbp; - export type Gip = Stripe.Terminal.ConfigurationCreateParams.Tipping.Gip; - export type Hkd = Stripe.Terminal.ConfigurationCreateParams.Tipping.Hkd; - export type Huf = Stripe.Terminal.ConfigurationCreateParams.Tipping.Huf; - export type Jpy = Stripe.Terminal.ConfigurationCreateParams.Tipping.Jpy; - export type Mxn = Stripe.Terminal.ConfigurationCreateParams.Tipping.Mxn; - export type Myr = Stripe.Terminal.ConfigurationCreateParams.Tipping.Myr; - export type Nok = Stripe.Terminal.ConfigurationCreateParams.Tipping.Nok; - export type Nzd = Stripe.Terminal.ConfigurationCreateParams.Tipping.Nzd; - export type Pln = Stripe.Terminal.ConfigurationCreateParams.Tipping.Pln; - export type Ron = Stripe.Terminal.ConfigurationCreateParams.Tipping.Ron; - export type Sek = Stripe.Terminal.ConfigurationCreateParams.Tipping.Sek; - export type Sgd = Stripe.Terminal.ConfigurationCreateParams.Tipping.Sgd; - export type Usd = Stripe.Terminal.ConfigurationCreateParams.Tipping.Usd; + export type Aed = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Aed; + export type Aud = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Aud; + export type Cad = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Cad; + export type Chf = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Chf; + export type Czk = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Czk; + export type Dkk = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Dkk; + export type Eur = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Eur; + export type Gbp = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Gbp; + export type Gip = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Gip; + export type Hkd = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Hkd; + export type Huf = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Huf; + export type Jpy = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Jpy; + export type Mxn = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Mxn; + export type Myr = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Myr; + export type Nok = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Nok; + export type Nzd = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Nzd; + export type Pln = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Pln; + export type Ron = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Ron; + export type Sek = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Sek; + export type Sgd = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Sgd; + export type Usd = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Usd; } export namespace Wifi { - export type EnterpriseEapPeap = Stripe.Terminal.ConfigurationCreateParams.Wifi.EnterpriseEapPeap; - export type EnterpriseEapTls = Stripe.Terminal.ConfigurationCreateParams.Wifi.EnterpriseEapTls; - export type PersonalPsk = Stripe.Terminal.ConfigurationCreateParams.Wifi.PersonalPsk; - export type Type = Stripe.Terminal.ConfigurationCreateParams.Wifi.Type; + export type EnterpriseEapPeap = Stripe_.Terminal.ConfigurationCreateParams.Wifi.EnterpriseEapPeap; + export type EnterpriseEapTls = Stripe_.Terminal.ConfigurationCreateParams.Wifi.EnterpriseEapTls; + export type PersonalPsk = Stripe_.Terminal.ConfigurationCreateParams.Wifi.PersonalPsk; + export type Type = Stripe_.Terminal.ConfigurationCreateParams.Wifi.Type; } } export namespace Configuration { - export type BbposWisepad3 = Stripe.Terminal.Configuration.BbposWisepad3; - export type BbposWiseposE = Stripe.Terminal.Configuration.BbposWiseposE; - export type Cellular = Stripe.Terminal.Configuration.Cellular; - export type Offline = Stripe.Terminal.Configuration.Offline; - export type RebootWindow = Stripe.Terminal.Configuration.RebootWindow; - export type StripeS700 = Stripe.Terminal.Configuration.StripeS700; - export type StripeS710 = Stripe.Terminal.Configuration.StripeS710; - export type Tipping = Stripe.Terminal.Configuration.Tipping; - export type VerifoneM425 = Stripe.Terminal.Configuration.VerifoneM425; - export type VerifoneP400 = Stripe.Terminal.Configuration.VerifoneP400; - export type VerifoneP630 = Stripe.Terminal.Configuration.VerifoneP630; - export type VerifoneUx700 = Stripe.Terminal.Configuration.VerifoneUx700; - export type VerifoneV660p = Stripe.Terminal.Configuration.VerifoneV660p; - export type Wifi = Stripe.Terminal.Configuration.Wifi; + export type BbposWisepad3 = Stripe_.Terminal.Configuration.BbposWisepad3; + export type BbposWiseposE = Stripe_.Terminal.Configuration.BbposWiseposE; + export type Cellular = Stripe_.Terminal.Configuration.Cellular; + export type Offline = Stripe_.Terminal.Configuration.Offline; + export type RebootWindow = Stripe_.Terminal.Configuration.RebootWindow; + export type StripeS700 = Stripe_.Terminal.Configuration.StripeS700; + export type StripeS710 = Stripe_.Terminal.Configuration.StripeS710; + export type Tipping = Stripe_.Terminal.Configuration.Tipping; + export type VerifoneM425 = Stripe_.Terminal.Configuration.VerifoneM425; + export type VerifoneP400 = Stripe_.Terminal.Configuration.VerifoneP400; + export type VerifoneP630 = Stripe_.Terminal.Configuration.VerifoneP630; + export type VerifoneUx700 = Stripe_.Terminal.Configuration.VerifoneUx700; + export type VerifoneV660p = Stripe_.Terminal.Configuration.VerifoneV660p; + export type Wifi = Stripe_.Terminal.Configuration.Wifi; export namespace Tipping { - export type Aed = Stripe.Terminal.Configuration.Tipping.Aed; - export type Aud = Stripe.Terminal.Configuration.Tipping.Aud; - export type Cad = Stripe.Terminal.Configuration.Tipping.Cad; - export type Chf = Stripe.Terminal.Configuration.Tipping.Chf; - export type Czk = Stripe.Terminal.Configuration.Tipping.Czk; - export type Dkk = Stripe.Terminal.Configuration.Tipping.Dkk; - export type Eur = Stripe.Terminal.Configuration.Tipping.Eur; - export type Gbp = Stripe.Terminal.Configuration.Tipping.Gbp; - export type Gip = Stripe.Terminal.Configuration.Tipping.Gip; - export type Hkd = Stripe.Terminal.Configuration.Tipping.Hkd; - export type Huf = Stripe.Terminal.Configuration.Tipping.Huf; - export type Jpy = Stripe.Terminal.Configuration.Tipping.Jpy; - export type Mxn = Stripe.Terminal.Configuration.Tipping.Mxn; - export type Myr = Stripe.Terminal.Configuration.Tipping.Myr; - export type Nok = Stripe.Terminal.Configuration.Tipping.Nok; - export type Nzd = Stripe.Terminal.Configuration.Tipping.Nzd; - export type Pln = Stripe.Terminal.Configuration.Tipping.Pln; - export type Ron = Stripe.Terminal.Configuration.Tipping.Ron; - export type Sek = Stripe.Terminal.Configuration.Tipping.Sek; - export type Sgd = Stripe.Terminal.Configuration.Tipping.Sgd; - export type Usd = Stripe.Terminal.Configuration.Tipping.Usd; + export type Aed = Stripe_.Terminal.Configuration.Tipping.Aed; + export type Aud = Stripe_.Terminal.Configuration.Tipping.Aud; + export type Cad = Stripe_.Terminal.Configuration.Tipping.Cad; + export type Chf = Stripe_.Terminal.Configuration.Tipping.Chf; + export type Czk = Stripe_.Terminal.Configuration.Tipping.Czk; + export type Dkk = Stripe_.Terminal.Configuration.Tipping.Dkk; + export type Eur = Stripe_.Terminal.Configuration.Tipping.Eur; + export type Gbp = Stripe_.Terminal.Configuration.Tipping.Gbp; + export type Gip = Stripe_.Terminal.Configuration.Tipping.Gip; + export type Hkd = Stripe_.Terminal.Configuration.Tipping.Hkd; + export type Huf = Stripe_.Terminal.Configuration.Tipping.Huf; + export type Jpy = Stripe_.Terminal.Configuration.Tipping.Jpy; + export type Mxn = Stripe_.Terminal.Configuration.Tipping.Mxn; + export type Myr = Stripe_.Terminal.Configuration.Tipping.Myr; + export type Nok = Stripe_.Terminal.Configuration.Tipping.Nok; + export type Nzd = Stripe_.Terminal.Configuration.Tipping.Nzd; + export type Pln = Stripe_.Terminal.Configuration.Tipping.Pln; + export type Ron = Stripe_.Terminal.Configuration.Tipping.Ron; + export type Sek = Stripe_.Terminal.Configuration.Tipping.Sek; + export type Sgd = Stripe_.Terminal.Configuration.Tipping.Sgd; + export type Usd = Stripe_.Terminal.Configuration.Tipping.Usd; } export namespace Wifi { - export type EnterpriseEapPeap = Stripe.Terminal.Configuration.Wifi.EnterpriseEapPeap; - export type EnterpriseEapTls = Stripe.Terminal.Configuration.Wifi.EnterpriseEapTls; - export type PersonalPsk = Stripe.Terminal.Configuration.Wifi.PersonalPsk; - export type Type = Stripe.Terminal.Configuration.Wifi.Type; + export type EnterpriseEapPeap = Stripe_.Terminal.Configuration.Wifi.EnterpriseEapPeap; + export type EnterpriseEapTls = Stripe_.Terminal.Configuration.Wifi.EnterpriseEapTls; + export type PersonalPsk = Stripe_.Terminal.Configuration.Wifi.PersonalPsk; + export type Type = Stripe_.Terminal.Configuration.Wifi.Type; } } export namespace LocationCreateParams { - export type Address = Stripe.Terminal.LocationCreateParams.Address; + export type Address = Stripe_.Terminal.LocationCreateParams.Address; } export namespace Location { - export type AddressKana = Stripe.Terminal.Location.AddressKana; - export type AddressKanji = Stripe.Terminal.Location.AddressKanji; + export type AddressKana = Stripe_.Terminal.Location.AddressKana; + export type AddressKanji = Stripe_.Terminal.Location.AddressKanji; } export namespace OnboardingLinkCreateParams { - export type LinkOptions = Stripe.Terminal.OnboardingLinkCreateParams.LinkOptions; + export type LinkOptions = Stripe_.Terminal.OnboardingLinkCreateParams.LinkOptions; export namespace LinkOptions { - export type AppleTermsAndConditions = Stripe.Terminal.OnboardingLinkCreateParams.LinkOptions.AppleTermsAndConditions; + export type AppleTermsAndConditions = Stripe_.Terminal.OnboardingLinkCreateParams.LinkOptions.AppleTermsAndConditions; } } export namespace OnboardingLink { - export type LinkOptions = Stripe.Terminal.OnboardingLink.LinkOptions; + export type LinkOptions = Stripe_.Terminal.OnboardingLink.LinkOptions; export namespace LinkOptions { - export type AppleTermsAndConditions = Stripe.Terminal.OnboardingLink.LinkOptions.AppleTermsAndConditions; + export type AppleTermsAndConditions = Stripe_.Terminal.OnboardingLink.LinkOptions.AppleTermsAndConditions; } } export namespace DeletedReader { - export type DeviceType = Stripe.Terminal.DeletedReader.DeviceType; + export type DeviceType = Stripe_.Terminal.DeletedReader.DeviceType; } export namespace Reader { - export type Action = Stripe.Terminal.Reader.Action; - export type DeviceType = Stripe.Terminal.Reader.DeviceType; - export type Status = Stripe.Terminal.Reader.Status; + export type Action = Stripe_.Terminal.Reader.Action; + export type DeviceType = Stripe_.Terminal.Reader.DeviceType; + export type Status = Stripe_.Terminal.Reader.Status; export namespace Action { - export type ApiError = Stripe.Terminal.Reader.Action.ApiError; - export type CollectInputs = Stripe.Terminal.Reader.Action.CollectInputs; - export type CollectPaymentMethod = Stripe.Terminal.Reader.Action.CollectPaymentMethod; - export type ConfirmPaymentIntent = Stripe.Terminal.Reader.Action.ConfirmPaymentIntent; - export type PrintContent = Stripe.Terminal.Reader.Action.PrintContent; - export type ProcessPaymentIntent = Stripe.Terminal.Reader.Action.ProcessPaymentIntent; - export type ProcessSetupIntent = Stripe.Terminal.Reader.Action.ProcessSetupIntent; - export type RefundPayment = Stripe.Terminal.Reader.Action.RefundPayment; - export type SetReaderDisplay = Stripe.Terminal.Reader.Action.SetReaderDisplay; - export type Status = Stripe.Terminal.Reader.Action.Status; - export type Type = Stripe.Terminal.Reader.Action.Type; + export type ApiError = Stripe_.Terminal.Reader.Action.ApiError; + export type CollectInputs = Stripe_.Terminal.Reader.Action.CollectInputs; + export type CollectPaymentMethod = Stripe_.Terminal.Reader.Action.CollectPaymentMethod; + export type ConfirmPaymentIntent = Stripe_.Terminal.Reader.Action.ConfirmPaymentIntent; + export type PrintContent = Stripe_.Terminal.Reader.Action.PrintContent; + export type ProcessPaymentIntent = Stripe_.Terminal.Reader.Action.ProcessPaymentIntent; + export type ProcessSetupIntent = Stripe_.Terminal.Reader.Action.ProcessSetupIntent; + export type RefundPayment = Stripe_.Terminal.Reader.Action.RefundPayment; + export type SetReaderDisplay = Stripe_.Terminal.Reader.Action.SetReaderDisplay; + export type Status = Stripe_.Terminal.Reader.Action.Status; + export type Type = Stripe_.Terminal.Reader.Action.Type; export namespace ApiError { - export type Code = Stripe.Terminal.Reader.Action.ApiError.Code; - export type Type = Stripe.Terminal.Reader.Action.ApiError.Type; + export type Code = Stripe_.Terminal.Reader.Action.ApiError.Code; + export type Type = Stripe_.Terminal.Reader.Action.ApiError.Type; } export namespace CollectInputs { - export type Input = Stripe.Terminal.Reader.Action.CollectInputs.Input; + export type Input = Stripe_.Terminal.Reader.Action.CollectInputs.Input; export namespace Input { - export type CustomText = Stripe.Terminal.Reader.Action.CollectInputs.Input.CustomText; - export type Email = Stripe.Terminal.Reader.Action.CollectInputs.Input.Email; - export type Numeric = Stripe.Terminal.Reader.Action.CollectInputs.Input.Numeric; - export type Phone = Stripe.Terminal.Reader.Action.CollectInputs.Input.Phone; - export type Selection = Stripe.Terminal.Reader.Action.CollectInputs.Input.Selection; - export type Signature = Stripe.Terminal.Reader.Action.CollectInputs.Input.Signature; - export type Text = Stripe.Terminal.Reader.Action.CollectInputs.Input.Text; - export type Toggle = Stripe.Terminal.Reader.Action.CollectInputs.Input.Toggle; - export type Type = Stripe.Terminal.Reader.Action.CollectInputs.Input.Type; + export type CustomText = Stripe_.Terminal.Reader.Action.CollectInputs.Input.CustomText; + export type Email = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Email; + export type Numeric = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Numeric; + export type Phone = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Phone; + export type Selection = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Selection; + export type Signature = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Signature; + export type Text = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Text; + export type Toggle = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Toggle; + export type Type = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Type; export namespace Selection { - export type Choice = Stripe.Terminal.Reader.Action.CollectInputs.Input.Selection.Choice; + export type Choice = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Selection.Choice; export namespace Choice { - export type Style = Stripe.Terminal.Reader.Action.CollectInputs.Input.Selection.Choice.Style; + export type Style = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Selection.Choice.Style; } } export namespace Toggle { - export type DefaultValue = Stripe.Terminal.Reader.Action.CollectInputs.Input.Toggle.DefaultValue; - export type Value = Stripe.Terminal.Reader.Action.CollectInputs.Input.Toggle.Value; + export type DefaultValue = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Toggle.DefaultValue; + export type Value = Stripe_.Terminal.Reader.Action.CollectInputs.Input.Toggle.Value; } } } export namespace CollectPaymentMethod { - export type CollectConfig = Stripe.Terminal.Reader.Action.CollectPaymentMethod.CollectConfig; + export type CollectConfig = Stripe_.Terminal.Reader.Action.CollectPaymentMethod.CollectConfig; export namespace CollectConfig { - export type Tipping = Stripe.Terminal.Reader.Action.CollectPaymentMethod.CollectConfig.Tipping; + export type Tipping = Stripe_.Terminal.Reader.Action.CollectPaymentMethod.CollectConfig.Tipping; } } export namespace ConfirmPaymentIntent { - export type ConfirmConfig = Stripe.Terminal.Reader.Action.ConfirmPaymentIntent.ConfirmConfig; + export type ConfirmConfig = Stripe_.Terminal.Reader.Action.ConfirmPaymentIntent.ConfirmConfig; } export namespace PrintContent { - export type Image = Stripe.Terminal.Reader.Action.PrintContent.Image; + export type Image = Stripe_.Terminal.Reader.Action.PrintContent.Image; } export namespace ProcessPaymentIntent { - export type ProcessConfig = Stripe.Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig; + export type ProcessConfig = Stripe_.Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig; export namespace ProcessConfig { - export type Tipping = Stripe.Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig.Tipping; + export type Tipping = Stripe_.Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig.Tipping; } } export namespace ProcessSetupIntent { - export type ProcessConfig = Stripe.Terminal.Reader.Action.ProcessSetupIntent.ProcessConfig; + export type ProcessConfig = Stripe_.Terminal.Reader.Action.ProcessSetupIntent.ProcessConfig; } export namespace RefundPayment { - export type Reason = Stripe.Terminal.Reader.Action.RefundPayment.Reason; - export type RefundPaymentConfig = Stripe.Terminal.Reader.Action.RefundPayment.RefundPaymentConfig; + export type Reason = Stripe_.Terminal.Reader.Action.RefundPayment.Reason; + export type RefundPaymentConfig = Stripe_.Terminal.Reader.Action.RefundPayment.RefundPaymentConfig; } export namespace SetReaderDisplay { - export type Cart = Stripe.Terminal.Reader.Action.SetReaderDisplay.Cart; + export type Cart = Stripe_.Terminal.Reader.Action.SetReaderDisplay.Cart; export namespace Cart { - export type LineItem = Stripe.Terminal.Reader.Action.SetReaderDisplay.Cart.LineItem; + export type LineItem = Stripe_.Terminal.Reader.Action.SetReaderDisplay.Cart.LineItem; } } } } } export namespace TestHelpers { - export type TestClock = Stripe.TestHelpers.TestClock; - export type DeletedTestClock = Stripe.TestHelpers.DeletedTestClock; - export type TestClockCreateParams = Stripe.TestHelpers.TestClockCreateParams; - export type TestClockRetrieveParams = Stripe.TestHelpers.TestClockRetrieveParams; - export type TestClockListParams = Stripe.TestHelpers.TestClockListParams; - export type TestClockDeleteParams = Stripe.TestHelpers.TestClockDeleteParams; - export type TestClockAdvanceParams = Stripe.TestHelpers.TestClockAdvanceParams; - export type TestClockResource = Stripe.TestHelpers.TestClockResource; + export type TestClock = Stripe_.TestHelpers.TestClock; + export type DeletedTestClock = Stripe_.TestHelpers.DeletedTestClock; + export type TestClockCreateParams = Stripe_.TestHelpers.TestClockCreateParams; + export type TestClockRetrieveParams = Stripe_.TestHelpers.TestClockRetrieveParams; + export type TestClockListParams = Stripe_.TestHelpers.TestClockListParams; + export type TestClockDeleteParams = Stripe_.TestHelpers.TestClockDeleteParams; + export type TestClockAdvanceParams = Stripe_.TestHelpers.TestClockAdvanceParams; + export type TestClockResource = Stripe_.TestHelpers.TestClockResource; export namespace TestClock { - export type Status = Stripe.TestHelpers.TestClock.Status; - export type StatusDetails = Stripe.TestHelpers.TestClock.StatusDetails; + export type Status = Stripe_.TestHelpers.TestClock.Status; + export type StatusDetails = Stripe_.TestHelpers.TestClock.StatusDetails; export namespace StatusDetails { - export type Advancing = Stripe.TestHelpers.TestClock.StatusDetails.Advancing; + export type Advancing = Stripe_.TestHelpers.TestClock.StatusDetails.Advancing; } } } export namespace Treasury { - export type CreditReversal = Stripe.Treasury.CreditReversal; - export type CreditReversalCreateParams = Stripe.Treasury.CreditReversalCreateParams; - export type CreditReversalRetrieveParams = Stripe.Treasury.CreditReversalRetrieveParams; - export type CreditReversalListParams = Stripe.Treasury.CreditReversalListParams; - export type CreditReversalResource = Stripe.Treasury.CreditReversalResource; - export type DebitReversal = Stripe.Treasury.DebitReversal; - export type DebitReversalCreateParams = Stripe.Treasury.DebitReversalCreateParams; - export type DebitReversalRetrieveParams = Stripe.Treasury.DebitReversalRetrieveParams; - export type DebitReversalListParams = Stripe.Treasury.DebitReversalListParams; - export type DebitReversalResource = Stripe.Treasury.DebitReversalResource; - export type FinancialAccount = Stripe.Treasury.FinancialAccount; - export type FinancialAccountCreateParams = Stripe.Treasury.FinancialAccountCreateParams; - export type FinancialAccountRetrieveParams = Stripe.Treasury.FinancialAccountRetrieveParams; - export type FinancialAccountUpdateParams = Stripe.Treasury.FinancialAccountUpdateParams; - export type FinancialAccountListParams = Stripe.Treasury.FinancialAccountListParams; - export type FinancialAccountCloseParams = Stripe.Treasury.FinancialAccountCloseParams; - export type FinancialAccountRetrieveFeaturesParams = Stripe.Treasury.FinancialAccountRetrieveFeaturesParams; - export type FinancialAccountUpdateFeaturesParams = Stripe.Treasury.FinancialAccountUpdateFeaturesParams; - export type FinancialAccountResource = Stripe.Treasury.FinancialAccountResource; - export type InboundTransfer = Stripe.Treasury.InboundTransfer; - export type InboundTransferCreateParams = Stripe.Treasury.InboundTransferCreateParams; - export type InboundTransferRetrieveParams = Stripe.Treasury.InboundTransferRetrieveParams; - export type InboundTransferListParams = Stripe.Treasury.InboundTransferListParams; - export type InboundTransferCancelParams = Stripe.Treasury.InboundTransferCancelParams; - export type InboundTransferResource = Stripe.Treasury.InboundTransferResource; - export type OutboundPayment = Stripe.Treasury.OutboundPayment; - export type OutboundPaymentCreateParams = Stripe.Treasury.OutboundPaymentCreateParams; - export type OutboundPaymentRetrieveParams = Stripe.Treasury.OutboundPaymentRetrieveParams; - export type OutboundPaymentListParams = Stripe.Treasury.OutboundPaymentListParams; - export type OutboundPaymentCancelParams = Stripe.Treasury.OutboundPaymentCancelParams; - export type OutboundPaymentResource = Stripe.Treasury.OutboundPaymentResource; - export type OutboundTransfer = Stripe.Treasury.OutboundTransfer; - export type OutboundTransferCreateParams = Stripe.Treasury.OutboundTransferCreateParams; - export type OutboundTransferRetrieveParams = Stripe.Treasury.OutboundTransferRetrieveParams; - export type OutboundTransferListParams = Stripe.Treasury.OutboundTransferListParams; - export type OutboundTransferCancelParams = Stripe.Treasury.OutboundTransferCancelParams; - export type OutboundTransferResource = Stripe.Treasury.OutboundTransferResource; - export type ReceivedCredit = Stripe.Treasury.ReceivedCredit; - export type ReceivedCreditRetrieveParams = Stripe.Treasury.ReceivedCreditRetrieveParams; - export type ReceivedCreditListParams = Stripe.Treasury.ReceivedCreditListParams; - export type ReceivedCreditResource = Stripe.Treasury.ReceivedCreditResource; - export type ReceivedDebit = Stripe.Treasury.ReceivedDebit; - export type ReceivedDebitRetrieveParams = Stripe.Treasury.ReceivedDebitRetrieveParams; - export type ReceivedDebitListParams = Stripe.Treasury.ReceivedDebitListParams; - export type ReceivedDebitResource = Stripe.Treasury.ReceivedDebitResource; - export type Transaction = Stripe.Treasury.Transaction; - export type TransactionRetrieveParams = Stripe.Treasury.TransactionRetrieveParams; - export type TransactionListParams = Stripe.Treasury.TransactionListParams; - export type TransactionResource = Stripe.Treasury.TransactionResource; - export type TransactionEntry = Stripe.Treasury.TransactionEntry; - export type TransactionEntryRetrieveParams = Stripe.Treasury.TransactionEntryRetrieveParams; - export type TransactionEntryListParams = Stripe.Treasury.TransactionEntryListParams; - export type TransactionEntryResource = Stripe.Treasury.TransactionEntryResource; - export type FinancialAccountFeatures = Stripe.Treasury.FinancialAccountFeatures; + export type CreditReversal = Stripe_.Treasury.CreditReversal; + export type CreditReversalCreateParams = Stripe_.Treasury.CreditReversalCreateParams; + export type CreditReversalRetrieveParams = Stripe_.Treasury.CreditReversalRetrieveParams; + export type CreditReversalListParams = Stripe_.Treasury.CreditReversalListParams; + export type CreditReversalResource = Stripe_.Treasury.CreditReversalResource; + export type DebitReversal = Stripe_.Treasury.DebitReversal; + export type DebitReversalCreateParams = Stripe_.Treasury.DebitReversalCreateParams; + export type DebitReversalRetrieveParams = Stripe_.Treasury.DebitReversalRetrieveParams; + export type DebitReversalListParams = Stripe_.Treasury.DebitReversalListParams; + export type DebitReversalResource = Stripe_.Treasury.DebitReversalResource; + export type FinancialAccount = Stripe_.Treasury.FinancialAccount; + export type FinancialAccountCreateParams = Stripe_.Treasury.FinancialAccountCreateParams; + export type FinancialAccountRetrieveParams = Stripe_.Treasury.FinancialAccountRetrieveParams; + export type FinancialAccountUpdateParams = Stripe_.Treasury.FinancialAccountUpdateParams; + export type FinancialAccountListParams = Stripe_.Treasury.FinancialAccountListParams; + export type FinancialAccountCloseParams = Stripe_.Treasury.FinancialAccountCloseParams; + export type FinancialAccountRetrieveFeaturesParams = Stripe_.Treasury.FinancialAccountRetrieveFeaturesParams; + export type FinancialAccountUpdateFeaturesParams = Stripe_.Treasury.FinancialAccountUpdateFeaturesParams; + export type FinancialAccountResource = Stripe_.Treasury.FinancialAccountResource; + export type InboundTransfer = Stripe_.Treasury.InboundTransfer; + export type InboundTransferCreateParams = Stripe_.Treasury.InboundTransferCreateParams; + export type InboundTransferRetrieveParams = Stripe_.Treasury.InboundTransferRetrieveParams; + export type InboundTransferListParams = Stripe_.Treasury.InboundTransferListParams; + export type InboundTransferCancelParams = Stripe_.Treasury.InboundTransferCancelParams; + export type InboundTransferResource = Stripe_.Treasury.InboundTransferResource; + export type OutboundPayment = Stripe_.Treasury.OutboundPayment; + export type OutboundPaymentCreateParams = Stripe_.Treasury.OutboundPaymentCreateParams; + export type OutboundPaymentRetrieveParams = Stripe_.Treasury.OutboundPaymentRetrieveParams; + export type OutboundPaymentListParams = Stripe_.Treasury.OutboundPaymentListParams; + export type OutboundPaymentCancelParams = Stripe_.Treasury.OutboundPaymentCancelParams; + export type OutboundPaymentResource = Stripe_.Treasury.OutboundPaymentResource; + export type OutboundTransfer = Stripe_.Treasury.OutboundTransfer; + export type OutboundTransferCreateParams = Stripe_.Treasury.OutboundTransferCreateParams; + export type OutboundTransferRetrieveParams = Stripe_.Treasury.OutboundTransferRetrieveParams; + export type OutboundTransferListParams = Stripe_.Treasury.OutboundTransferListParams; + export type OutboundTransferCancelParams = Stripe_.Treasury.OutboundTransferCancelParams; + export type OutboundTransferResource = Stripe_.Treasury.OutboundTransferResource; + export type ReceivedCredit = Stripe_.Treasury.ReceivedCredit; + export type ReceivedCreditRetrieveParams = Stripe_.Treasury.ReceivedCreditRetrieveParams; + export type ReceivedCreditListParams = Stripe_.Treasury.ReceivedCreditListParams; + export type ReceivedCreditResource = Stripe_.Treasury.ReceivedCreditResource; + export type ReceivedDebit = Stripe_.Treasury.ReceivedDebit; + export type ReceivedDebitRetrieveParams = Stripe_.Treasury.ReceivedDebitRetrieveParams; + export type ReceivedDebitListParams = Stripe_.Treasury.ReceivedDebitListParams; + export type ReceivedDebitResource = Stripe_.Treasury.ReceivedDebitResource; + export type Transaction = Stripe_.Treasury.Transaction; + export type TransactionRetrieveParams = Stripe_.Treasury.TransactionRetrieveParams; + export type TransactionListParams = Stripe_.Treasury.TransactionListParams; + export type TransactionResource = Stripe_.Treasury.TransactionResource; + export type TransactionEntry = Stripe_.Treasury.TransactionEntry; + export type TransactionEntryRetrieveParams = Stripe_.Treasury.TransactionEntryRetrieveParams; + export type TransactionEntryListParams = Stripe_.Treasury.TransactionEntryListParams; + export type TransactionEntryResource = Stripe_.Treasury.TransactionEntryResource; + export type FinancialAccountFeatures = Stripe_.Treasury.FinancialAccountFeatures; export namespace CreditReversal { - export type Network = Stripe.Treasury.CreditReversal.Network; - export type Status = Stripe.Treasury.CreditReversal.Status; - export type StatusTransitions = Stripe.Treasury.CreditReversal.StatusTransitions; + export type Network = Stripe_.Treasury.CreditReversal.Network; + export type Status = Stripe_.Treasury.CreditReversal.Status; + export type StatusTransitions = Stripe_.Treasury.CreditReversal.StatusTransitions; } export namespace DebitReversal { - export type LinkedFlows = Stripe.Treasury.DebitReversal.LinkedFlows; - export type Network = Stripe.Treasury.DebitReversal.Network; - export type Status = Stripe.Treasury.DebitReversal.Status; - export type StatusTransitions = Stripe.Treasury.DebitReversal.StatusTransitions; + export type LinkedFlows = Stripe_.Treasury.DebitReversal.LinkedFlows; + export type Network = Stripe_.Treasury.DebitReversal.Network; + export type Status = Stripe_.Treasury.DebitReversal.Status; + export type StatusTransitions = Stripe_.Treasury.DebitReversal.StatusTransitions; } export namespace FinancialAccountCreateParams { - export type Features = Stripe.Treasury.FinancialAccountCreateParams.Features; - export type PlatformRestrictions = Stripe.Treasury.FinancialAccountCreateParams.PlatformRestrictions; + export type Features = Stripe_.Treasury.FinancialAccountCreateParams.Features; + export type PlatformRestrictions = Stripe_.Treasury.FinancialAccountCreateParams.PlatformRestrictions; export namespace Features { - export type CardIssuing = Stripe.Treasury.FinancialAccountCreateParams.Features.CardIssuing; - export type DepositInsurance = Stripe.Treasury.FinancialAccountCreateParams.Features.DepositInsurance; - export type FinancialAddresses = Stripe.Treasury.FinancialAccountCreateParams.Features.FinancialAddresses; - export type InboundTransfers = Stripe.Treasury.FinancialAccountCreateParams.Features.InboundTransfers; - export type IntraStripeFlows = Stripe.Treasury.FinancialAccountCreateParams.Features.IntraStripeFlows; - export type OutboundPayments = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundPayments; - export type OutboundTransfers = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers; + export type CardIssuing = Stripe_.Treasury.FinancialAccountCreateParams.Features.CardIssuing; + export type DepositInsurance = Stripe_.Treasury.FinancialAccountCreateParams.Features.DepositInsurance; + export type FinancialAddresses = Stripe_.Treasury.FinancialAccountCreateParams.Features.FinancialAddresses; + export type InboundTransfers = Stripe_.Treasury.FinancialAccountCreateParams.Features.InboundTransfers; + export type IntraStripeFlows = Stripe_.Treasury.FinancialAccountCreateParams.Features.IntraStripeFlows; + export type OutboundPayments = Stripe_.Treasury.FinancialAccountCreateParams.Features.OutboundPayments; + export type OutboundTransfers = Stripe_.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers; export namespace FinancialAddresses { - export type Aba = Stripe.Treasury.FinancialAccountCreateParams.Features.FinancialAddresses.Aba; + export type Aba = Stripe_.Treasury.FinancialAccountCreateParams.Features.FinancialAddresses.Aba; } export namespace InboundTransfers { - export type Ach = Stripe.Treasury.FinancialAccountCreateParams.Features.InboundTransfers.Ach; + export type Ach = Stripe_.Treasury.FinancialAccountCreateParams.Features.InboundTransfers.Ach; } export namespace OutboundPayments { - export type Ach = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundPayments.Ach; - export type UsDomesticWire = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundPayments.UsDomesticWire; + export type Ach = Stripe_.Treasury.FinancialAccountCreateParams.Features.OutboundPayments.Ach; + export type UsDomesticWire = Stripe_.Treasury.FinancialAccountCreateParams.Features.OutboundPayments.UsDomesticWire; } export namespace OutboundTransfers { - export type Ach = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers.Ach; - export type UsDomesticWire = Stripe.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers.UsDomesticWire; + export type Ach = Stripe_.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers.Ach; + export type UsDomesticWire = Stripe_.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers.UsDomesticWire; } } export namespace PlatformRestrictions { - export type InboundFlows = Stripe.Treasury.FinancialAccountCreateParams.PlatformRestrictions.InboundFlows; - export type OutboundFlows = Stripe.Treasury.FinancialAccountCreateParams.PlatformRestrictions.OutboundFlows; + export type InboundFlows = Stripe_.Treasury.FinancialAccountCreateParams.PlatformRestrictions.InboundFlows; + export type OutboundFlows = Stripe_.Treasury.FinancialAccountCreateParams.PlatformRestrictions.OutboundFlows; } } export namespace FinancialAccount { - export type ActiveFeature = Stripe.Treasury.FinancialAccount.ActiveFeature; - export type Balance = Stripe.Treasury.FinancialAccount.Balance; - export type FinancialAddress = Stripe.Treasury.FinancialAccount.FinancialAddress; - export type PendingFeature = Stripe.Treasury.FinancialAccount.PendingFeature; - export type PlatformRestrictions = Stripe.Treasury.FinancialAccount.PlatformRestrictions; - export type RestrictedFeature = Stripe.Treasury.FinancialAccount.RestrictedFeature; - export type Status = Stripe.Treasury.FinancialAccount.Status; - export type StatusDetails = Stripe.Treasury.FinancialAccount.StatusDetails; + export type ActiveFeature = Stripe_.Treasury.FinancialAccount.ActiveFeature; + export type Balance = Stripe_.Treasury.FinancialAccount.Balance; + export type FinancialAddress = Stripe_.Treasury.FinancialAccount.FinancialAddress; + export type PendingFeature = Stripe_.Treasury.FinancialAccount.PendingFeature; + export type PlatformRestrictions = Stripe_.Treasury.FinancialAccount.PlatformRestrictions; + export type RestrictedFeature = Stripe_.Treasury.FinancialAccount.RestrictedFeature; + export type Status = Stripe_.Treasury.FinancialAccount.Status; + export type StatusDetails = Stripe_.Treasury.FinancialAccount.StatusDetails; export namespace FinancialAddress { - export type Aba = Stripe.Treasury.FinancialAccount.FinancialAddress.Aba; - export type SupportedNetwork = Stripe.Treasury.FinancialAccount.FinancialAddress.SupportedNetwork; + export type Aba = Stripe_.Treasury.FinancialAccount.FinancialAddress.Aba; + export type SupportedNetwork = Stripe_.Treasury.FinancialAccount.FinancialAddress.SupportedNetwork; } export namespace PlatformRestrictions { - export type InboundFlows = Stripe.Treasury.FinancialAccount.PlatformRestrictions.InboundFlows; - export type OutboundFlows = Stripe.Treasury.FinancialAccount.PlatformRestrictions.OutboundFlows; + export type InboundFlows = Stripe_.Treasury.FinancialAccount.PlatformRestrictions.InboundFlows; + export type OutboundFlows = Stripe_.Treasury.FinancialAccount.PlatformRestrictions.OutboundFlows; } export namespace StatusDetails { - export type Closed = Stripe.Treasury.FinancialAccount.StatusDetails.Closed; + export type Closed = Stripe_.Treasury.FinancialAccount.StatusDetails.Closed; export namespace Closed { - export type Reason = Stripe.Treasury.FinancialAccount.StatusDetails.Closed.Reason; + export type Reason = Stripe_.Treasury.FinancialAccount.StatusDetails.Closed.Reason; } } } export namespace InboundTransfer { - export type FailureDetails = Stripe.Treasury.InboundTransfer.FailureDetails; - export type LinkedFlows = Stripe.Treasury.InboundTransfer.LinkedFlows; - export type OriginPaymentMethodDetails = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails; - export type Status = Stripe.Treasury.InboundTransfer.Status; - export type StatusTransitions = Stripe.Treasury.InboundTransfer.StatusTransitions; + export type FailureDetails = Stripe_.Treasury.InboundTransfer.FailureDetails; + export type LinkedFlows = Stripe_.Treasury.InboundTransfer.LinkedFlows; + export type OriginPaymentMethodDetails = Stripe_.Treasury.InboundTransfer.OriginPaymentMethodDetails; + export type Status = Stripe_.Treasury.InboundTransfer.Status; + export type StatusTransitions = Stripe_.Treasury.InboundTransfer.StatusTransitions; export namespace FailureDetails { - export type Code = Stripe.Treasury.InboundTransfer.FailureDetails.Code; + export type Code = Stripe_.Treasury.InboundTransfer.FailureDetails.Code; } export namespace OriginPaymentMethodDetails { - export type BillingDetails = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails.BillingDetails; - export type UsBankAccount = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount; + export type BillingDetails = Stripe_.Treasury.InboundTransfer.OriginPaymentMethodDetails.BillingDetails; + export type UsBankAccount = Stripe_.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount; export namespace UsBankAccount { - export type AccountHolderType = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.Treasury.InboundTransfer.OriginPaymentMethodDetails.UsBankAccount.AccountType; } } } export namespace OutboundPaymentCreateParams { - export type DestinationPaymentMethodData = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData; - export type DestinationPaymentMethodOptions = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions; - export type EndUserDetails = Stripe.Treasury.OutboundPaymentCreateParams.EndUserDetails; + export type DestinationPaymentMethodData = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData; + export type DestinationPaymentMethodOptions = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions; + export type EndUserDetails = Stripe_.Treasury.OutboundPaymentCreateParams.EndUserDetails; export namespace DestinationPaymentMethodData { - export type BillingDetails = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails; - export type Type = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.Type; - export type UsBankAccount = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount; + export type BillingDetails = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails; + export type Type = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.Type; + export type UsBankAccount = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount; export namespace UsBankAccount { - export type AccountHolderType = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount.AccountType; + export type AccountHolderType = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.UsBankAccount.AccountType; } } export namespace DestinationPaymentMethodOptions { - export type UsBankAccount = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions.UsBankAccount; + export type UsBankAccount = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions.UsBankAccount; export namespace UsBankAccount { - export type Network = Stripe.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions.UsBankAccount.Network; + export type Network = Stripe_.Treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions.UsBankAccount.Network; } } } export namespace OutboundPayment { - export type DestinationPaymentMethodDetails = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails; - export type EndUserDetails = Stripe.Treasury.OutboundPayment.EndUserDetails; - export type ReturnedDetails = Stripe.Treasury.OutboundPayment.ReturnedDetails; - export type Status = Stripe.Treasury.OutboundPayment.Status; - export type StatusTransitions = Stripe.Treasury.OutboundPayment.StatusTransitions; - export type TrackingDetails = Stripe.Treasury.OutboundPayment.TrackingDetails; + export type DestinationPaymentMethodDetails = Stripe_.Treasury.OutboundPayment.DestinationPaymentMethodDetails; + export type EndUserDetails = Stripe_.Treasury.OutboundPayment.EndUserDetails; + export type ReturnedDetails = Stripe_.Treasury.OutboundPayment.ReturnedDetails; + export type Status = Stripe_.Treasury.OutboundPayment.Status; + export type StatusTransitions = Stripe_.Treasury.OutboundPayment.StatusTransitions; + export type TrackingDetails = Stripe_.Treasury.OutboundPayment.TrackingDetails; export namespace DestinationPaymentMethodDetails { - export type BillingDetails = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.BillingDetails; - export type FinancialAccount = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.FinancialAccount; - export type Type = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.Type; - export type UsBankAccount = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount; + export type BillingDetails = Stripe_.Treasury.OutboundPayment.DestinationPaymentMethodDetails.BillingDetails; + export type FinancialAccount = Stripe_.Treasury.OutboundPayment.DestinationPaymentMethodDetails.FinancialAccount; + export type Type = Stripe_.Treasury.OutboundPayment.DestinationPaymentMethodDetails.Type; + export type UsBankAccount = Stripe_.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount; export namespace UsBankAccount { - export type AccountHolderType = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.AccountType; - export type Network = Stripe.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.Network; + export type AccountHolderType = Stripe_.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.AccountType; + export type Network = Stripe_.Treasury.OutboundPayment.DestinationPaymentMethodDetails.UsBankAccount.Network; } } export namespace ReturnedDetails { - export type Code = Stripe.Treasury.OutboundPayment.ReturnedDetails.Code; + export type Code = Stripe_.Treasury.OutboundPayment.ReturnedDetails.Code; } export namespace TrackingDetails { - export type Ach = Stripe.Treasury.OutboundPayment.TrackingDetails.Ach; - export type Type = Stripe.Treasury.OutboundPayment.TrackingDetails.Type; - export type UsDomesticWire = Stripe.Treasury.OutboundPayment.TrackingDetails.UsDomesticWire; + export type Ach = Stripe_.Treasury.OutboundPayment.TrackingDetails.Ach; + export type Type = Stripe_.Treasury.OutboundPayment.TrackingDetails.Type; + export type UsDomesticWire = Stripe_.Treasury.OutboundPayment.TrackingDetails.UsDomesticWire; } } export namespace OutboundTransferCreateParams { - export type DestinationPaymentMethodData = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodData; - export type DestinationPaymentMethodOptions = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions; + export type DestinationPaymentMethodData = Stripe_.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodData; + export type DestinationPaymentMethodOptions = Stripe_.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions; export namespace DestinationPaymentMethodOptions { - export type UsBankAccount = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount; + export type UsBankAccount = Stripe_.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount; export namespace UsBankAccount { - export type Network = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount.Network; + export type Network = Stripe_.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount.Network; } } } export namespace OutboundTransfer { - export type DestinationPaymentMethodDetails = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails; - export type ReturnedDetails = Stripe.Treasury.OutboundTransfer.ReturnedDetails; - export type Status = Stripe.Treasury.OutboundTransfer.Status; - export type StatusTransitions = Stripe.Treasury.OutboundTransfer.StatusTransitions; - export type TrackingDetails = Stripe.Treasury.OutboundTransfer.TrackingDetails; + export type DestinationPaymentMethodDetails = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails; + export type ReturnedDetails = Stripe_.Treasury.OutboundTransfer.ReturnedDetails; + export type Status = Stripe_.Treasury.OutboundTransfer.Status; + export type StatusTransitions = Stripe_.Treasury.OutboundTransfer.StatusTransitions; + export type TrackingDetails = Stripe_.Treasury.OutboundTransfer.TrackingDetails; export namespace DestinationPaymentMethodDetails { - export type BillingDetails = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.BillingDetails; - export type FinancialAccount = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.FinancialAccount; - export type Type = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.Type; - export type UsBankAccount = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount; + export type BillingDetails = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.BillingDetails; + export type FinancialAccount = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.FinancialAccount; + export type Type = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.Type; + export type UsBankAccount = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount; export namespace UsBankAccount { - export type AccountHolderType = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.AccountHolderType; - export type AccountType = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.AccountType; - export type Network = Stripe.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.Network; + export type AccountHolderType = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.AccountType; + export type Network = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.Network; } } export namespace ReturnedDetails { - export type Code = Stripe.Treasury.OutboundTransfer.ReturnedDetails.Code; + export type Code = Stripe_.Treasury.OutboundTransfer.ReturnedDetails.Code; } export namespace TrackingDetails { - export type Ach = Stripe.Treasury.OutboundTransfer.TrackingDetails.Ach; - export type Type = Stripe.Treasury.OutboundTransfer.TrackingDetails.Type; - export type UsDomesticWire = Stripe.Treasury.OutboundTransfer.TrackingDetails.UsDomesticWire; + export type Ach = Stripe_.Treasury.OutboundTransfer.TrackingDetails.Ach; + export type Type = Stripe_.Treasury.OutboundTransfer.TrackingDetails.Type; + export type UsDomesticWire = Stripe_.Treasury.OutboundTransfer.TrackingDetails.UsDomesticWire; } } export namespace ReceivedCredit { - export type FailureCode = Stripe.Treasury.ReceivedCredit.FailureCode; - export type InitiatingPaymentMethodDetails = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails; - export type LinkedFlows = Stripe.Treasury.ReceivedCredit.LinkedFlows; - export type Network = Stripe.Treasury.ReceivedCredit.Network; - export type ReversalDetails = Stripe.Treasury.ReceivedCredit.ReversalDetails; - export type Status = Stripe.Treasury.ReceivedCredit.Status; + export type FailureCode = Stripe_.Treasury.ReceivedCredit.FailureCode; + export type InitiatingPaymentMethodDetails = Stripe_.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails; + export type LinkedFlows = Stripe_.Treasury.ReceivedCredit.LinkedFlows; + export type Network = Stripe_.Treasury.ReceivedCredit.Network; + export type ReversalDetails = Stripe_.Treasury.ReceivedCredit.ReversalDetails; + export type Status = Stripe_.Treasury.ReceivedCredit.Status; export namespace InitiatingPaymentMethodDetails { - export type BillingDetails = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.BillingDetails; - export type FinancialAccount = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.FinancialAccount; - export type Type = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.Type; - export type UsBankAccount = Stripe.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.UsBankAccount; + export type BillingDetails = Stripe_.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.BillingDetails; + export type FinancialAccount = Stripe_.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.FinancialAccount; + export type Type = Stripe_.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.Type; + export type UsBankAccount = Stripe_.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails.UsBankAccount; } export namespace LinkedFlows { - export type SourceFlowDetails = Stripe.Treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails; + export type SourceFlowDetails = Stripe_.Treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails; export namespace SourceFlowDetails { - export type Type = Stripe.Treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.Type; + export type Type = Stripe_.Treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.Type; } } export namespace ReversalDetails { - export type RestrictedReason = Stripe.Treasury.ReceivedCredit.ReversalDetails.RestrictedReason; + export type RestrictedReason = Stripe_.Treasury.ReceivedCredit.ReversalDetails.RestrictedReason; } } export namespace ReceivedDebit { - export type FailureCode = Stripe.Treasury.ReceivedDebit.FailureCode; - export type InitiatingPaymentMethodDetails = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails; - export type LinkedFlows = Stripe.Treasury.ReceivedDebit.LinkedFlows; - export type Network = Stripe.Treasury.ReceivedDebit.Network; - export type ReversalDetails = Stripe.Treasury.ReceivedDebit.ReversalDetails; - export type Status = Stripe.Treasury.ReceivedDebit.Status; + export type FailureCode = Stripe_.Treasury.ReceivedDebit.FailureCode; + export type InitiatingPaymentMethodDetails = Stripe_.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails; + export type LinkedFlows = Stripe_.Treasury.ReceivedDebit.LinkedFlows; + export type Network = Stripe_.Treasury.ReceivedDebit.Network; + export type ReversalDetails = Stripe_.Treasury.ReceivedDebit.ReversalDetails; + export type Status = Stripe_.Treasury.ReceivedDebit.Status; export namespace InitiatingPaymentMethodDetails { - export type BillingDetails = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.BillingDetails; - export type FinancialAccount = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.FinancialAccount; - export type Type = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.Type; - export type UsBankAccount = Stripe.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.UsBankAccount; + export type BillingDetails = Stripe_.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.BillingDetails; + export type FinancialAccount = Stripe_.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.FinancialAccount; + export type Type = Stripe_.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.Type; + export type UsBankAccount = Stripe_.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.UsBankAccount; } export namespace ReversalDetails { - export type RestrictedReason = Stripe.Treasury.ReceivedDebit.ReversalDetails.RestrictedReason; + export type RestrictedReason = Stripe_.Treasury.ReceivedDebit.ReversalDetails.RestrictedReason; } } export namespace Transaction { - export type BalanceImpact = Stripe.Treasury.Transaction.BalanceImpact; - export type FlowDetails = Stripe.Treasury.Transaction.FlowDetails; - export type FlowType = Stripe.Treasury.Transaction.FlowType; - export type Status = Stripe.Treasury.Transaction.Status; - export type StatusTransitions = Stripe.Treasury.Transaction.StatusTransitions; + export type BalanceImpact = Stripe_.Treasury.Transaction.BalanceImpact; + export type FlowDetails = Stripe_.Treasury.Transaction.FlowDetails; + export type FlowType = Stripe_.Treasury.Transaction.FlowType; + export type Status = Stripe_.Treasury.Transaction.Status; + export type StatusTransitions = Stripe_.Treasury.Transaction.StatusTransitions; export namespace FlowDetails { - export type Type = Stripe.Treasury.Transaction.FlowDetails.Type; + export type Type = Stripe_.Treasury.Transaction.FlowDetails.Type; } } export namespace TransactionEntry { - export type BalanceImpact = Stripe.Treasury.TransactionEntry.BalanceImpact; - export type FlowDetails = Stripe.Treasury.TransactionEntry.FlowDetails; - export type FlowType = Stripe.Treasury.TransactionEntry.FlowType; - export type Type = Stripe.Treasury.TransactionEntry.Type; + export type BalanceImpact = Stripe_.Treasury.TransactionEntry.BalanceImpact; + export type FlowDetails = Stripe_.Treasury.TransactionEntry.FlowDetails; + export type FlowType = Stripe_.Treasury.TransactionEntry.FlowType; + export type Type = Stripe_.Treasury.TransactionEntry.Type; export namespace FlowDetails { - export type Type = Stripe.Treasury.TransactionEntry.FlowDetails.Type; + export type Type = Stripe_.Treasury.TransactionEntry.FlowDetails.Type; } } export namespace FinancialAccountFeatures { - export type CardIssuing = Stripe.Treasury.FinancialAccountFeatures.CardIssuing; - export type DepositInsurance = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance; - export type FinancialAddresses = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses; - export type InboundTransfers = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers; - export type IntraStripeFlows = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows; - export type OutboundPayments = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments; - export type OutboundTransfers = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers; + export type CardIssuing = Stripe_.Treasury.FinancialAccountFeatures.CardIssuing; + export type DepositInsurance = Stripe_.Treasury.FinancialAccountFeatures.DepositInsurance; + export type FinancialAddresses = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses; + export type InboundTransfers = Stripe_.Treasury.FinancialAccountFeatures.InboundTransfers; + export type IntraStripeFlows = Stripe_.Treasury.FinancialAccountFeatures.IntraStripeFlows; + export type OutboundPayments = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments; + export type OutboundTransfers = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers; export namespace CardIssuing { - export type Status = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.CardIssuing.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.CardIssuing.StatusDetail.Restriction; } } export namespace DepositInsurance { - export type Status = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.DepositInsurance.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.DepositInsurance.StatusDetail.Restriction; } } export namespace FinancialAddresses { - export type Aba = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba; + export type Aba = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba; export namespace Aba { - export type Status = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail.Restriction; } } } export namespace InboundTransfers { - export type Ach = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach; + export type Ach = Stripe_.Treasury.FinancialAccountFeatures.InboundTransfers.Ach; export namespace Ach { - export type Status = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.InboundTransfers.Ach.StatusDetail.Restriction; } } } export namespace IntraStripeFlows { - export type Status = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.IntraStripeFlows.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.IntraStripeFlows.StatusDetail.Restriction; } } export namespace OutboundPayments { - export type Ach = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach; - export type UsDomesticWire = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire; + export type Ach = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.Ach; + export type UsDomesticWire = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire; export namespace Ach { - export type Status = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.Ach.StatusDetail.Restriction; } } export namespace UsDomesticWire { - export type Status = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.OutboundPayments.UsDomesticWire.StatusDetail.Restriction; } } } export namespace OutboundTransfers { - export type Ach = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach; - export type UsDomesticWire = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire; + export type Ach = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach; + export type UsDomesticWire = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire; export namespace Ach { - export type Status = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.Ach.StatusDetail.Restriction; } } export namespace UsDomesticWire { - export type Status = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.Status; - export type StatusDetail = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail; + export type Status = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.Status; + export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Code; - export type Resolution = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Resolution; - export type Restriction = Stripe.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Restriction; + export type Code = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Code; + export type Resolution = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Resolution; + export type Restriction = Stripe_.Treasury.FinancialAccountFeatures.OutboundTransfers.UsDomesticWire.StatusDetail.Restriction; } } } } } export namespace V2 { - export type DeletedObject = Stripe.V2.DeletedObject; + export type DeletedObject = Stripe_.V2.DeletedObject; export namespace Billing { - export type MeterEvent = Stripe.V2.Billing.MeterEvent; - export type MeterEventCreateParams = Stripe.V2.Billing.MeterEventCreateParams; - export type MeterEventResource = Stripe.V2.Billing.MeterEventResource; - export type MeterEventAdjustment = Stripe.V2.Billing.MeterEventAdjustment; - export type MeterEventAdjustmentCreateParams = Stripe.V2.Billing.MeterEventAdjustmentCreateParams; - export type MeterEventAdjustmentResource = Stripe.V2.Billing.MeterEventAdjustmentResource; - export type MeterEventSession = Stripe.V2.Billing.MeterEventSession; - export type MeterEventSessionCreateParams = Stripe.V2.Billing.MeterEventSessionCreateParams; - export type MeterEventSessionResource = Stripe.V2.Billing.MeterEventSessionResource; + export type MeterEvent = Stripe_.V2.Billing.MeterEvent; + export type MeterEventCreateParams = Stripe_.V2.Billing.MeterEventCreateParams; + export type MeterEventResource = Stripe_.V2.Billing.MeterEventResource; + export type MeterEventAdjustment = Stripe_.V2.Billing.MeterEventAdjustment; + export type MeterEventAdjustmentCreateParams = Stripe_.V2.Billing.MeterEventAdjustmentCreateParams; + export type MeterEventAdjustmentResource = Stripe_.V2.Billing.MeterEventAdjustmentResource; + export type MeterEventSession = Stripe_.V2.Billing.MeterEventSession; + export type MeterEventSessionCreateParams = Stripe_.V2.Billing.MeterEventSessionCreateParams; + export type MeterEventSessionResource = Stripe_.V2.Billing.MeterEventSessionResource; export namespace MeterEventAdjustmentCreateParams { - export type Cancel = Stripe.V2.Billing.MeterEventAdjustmentCreateParams.Cancel; + export type Cancel = Stripe_.V2.Billing.MeterEventAdjustmentCreateParams.Cancel; } export namespace MeterEventAdjustment { - export type Cancel = Stripe.V2.Billing.MeterEventAdjustment.Cancel; - export type Status = Stripe.V2.Billing.MeterEventAdjustment.Status; + export type Cancel = Stripe_.V2.Billing.MeterEventAdjustment.Cancel; + export type Status = Stripe_.V2.Billing.MeterEventAdjustment.Status; } } export namespace Core { - export type Account = Stripe.V2.Core.Account; - export type AccountCreateParams = Stripe.V2.Core.AccountCreateParams; - export type AccountRetrieveParams = Stripe.V2.Core.AccountRetrieveParams; - export type AccountUpdateParams = Stripe.V2.Core.AccountUpdateParams; - export type AccountListParams = Stripe.V2.Core.AccountListParams; - export type AccountCloseParams = Stripe.V2.Core.AccountCloseParams; - export type AccountResource = Stripe.V2.Core.AccountResource; - export type AccountLink = Stripe.V2.Core.AccountLink; - export type AccountLinkCreateParams = Stripe.V2.Core.AccountLinkCreateParams; - export type AccountLinkResource = Stripe.V2.Core.AccountLinkResource; - export type AccountToken = Stripe.V2.Core.AccountToken; - export type AccountTokenCreateParams = Stripe.V2.Core.AccountTokenCreateParams; - export type AccountTokenRetrieveParams = Stripe.V2.Core.AccountTokenRetrieveParams; - export type AccountTokenResource = Stripe.V2.Core.AccountTokenResource; - export type Event = Stripe.V2.Core.Event; - export type EventBase = Stripe.V2.Core.EventBase; - export type EventNotification = Stripe.V2.Core.EventNotification; - export type EventRetrieveParams = Stripe.V2.Core.EventRetrieveParams; - export type EventListParams = Stripe.V2.Core.EventListParams; - export type EventResource = Stripe.V2.Core.EventResource; - export type EventDestination = Stripe.V2.Core.EventDestination; - export type EventDestinationCreateParams = Stripe.V2.Core.EventDestinationCreateParams; - export type EventDestinationRetrieveParams = Stripe.V2.Core.EventDestinationRetrieveParams; - export type EventDestinationUpdateParams = Stripe.V2.Core.EventDestinationUpdateParams; - export type EventDestinationListParams = Stripe.V2.Core.EventDestinationListParams; - export type EventDestinationDeleteParams = Stripe.V2.Core.EventDestinationDeleteParams; - export type EventDestinationDisableParams = Stripe.V2.Core.EventDestinationDisableParams; - export type EventDestinationEnableParams = Stripe.V2.Core.EventDestinationEnableParams; - export type EventDestinationPingParams = Stripe.V2.Core.EventDestinationPingParams; - export type EventDestinationResource = Stripe.V2.Core.EventDestinationResource; - export type AccountPersonToken = Stripe.V2.Core.AccountPersonToken; - export type AccountPerson = Stripe.V2.Core.AccountPerson; + export type Account = Stripe_.V2.Core.Account; + export type AccountCreateParams = Stripe_.V2.Core.AccountCreateParams; + export type AccountRetrieveParams = Stripe_.V2.Core.AccountRetrieveParams; + export type AccountUpdateParams = Stripe_.V2.Core.AccountUpdateParams; + export type AccountListParams = Stripe_.V2.Core.AccountListParams; + export type AccountCloseParams = Stripe_.V2.Core.AccountCloseParams; + export type AccountResource = Stripe_.V2.Core.AccountResource; + export type AccountLink = Stripe_.V2.Core.AccountLink; + export type AccountLinkCreateParams = Stripe_.V2.Core.AccountLinkCreateParams; + export type AccountLinkResource = Stripe_.V2.Core.AccountLinkResource; + export type AccountToken = Stripe_.V2.Core.AccountToken; + export type AccountTokenCreateParams = Stripe_.V2.Core.AccountTokenCreateParams; + export type AccountTokenRetrieveParams = Stripe_.V2.Core.AccountTokenRetrieveParams; + export type AccountTokenResource = Stripe_.V2.Core.AccountTokenResource; + export type Event = Stripe_.V2.Core.Event; + export type EventBase = Stripe_.V2.Core.EventBase; + export type EventNotification = Stripe_.V2.Core.EventNotification; + export type EventRetrieveParams = Stripe_.V2.Core.EventRetrieveParams; + export type EventListParams = Stripe_.V2.Core.EventListParams; + export type EventResource = Stripe_.V2.Core.EventResource; + export type EventDestination = Stripe_.V2.Core.EventDestination; + export type EventDestinationCreateParams = Stripe_.V2.Core.EventDestinationCreateParams; + export type EventDestinationRetrieveParams = Stripe_.V2.Core.EventDestinationRetrieveParams; + export type EventDestinationUpdateParams = Stripe_.V2.Core.EventDestinationUpdateParams; + export type EventDestinationListParams = Stripe_.V2.Core.EventDestinationListParams; + export type EventDestinationDeleteParams = Stripe_.V2.Core.EventDestinationDeleteParams; + export type EventDestinationDisableParams = Stripe_.V2.Core.EventDestinationDisableParams; + export type EventDestinationEnableParams = Stripe_.V2.Core.EventDestinationEnableParams; + export type EventDestinationPingParams = Stripe_.V2.Core.EventDestinationPingParams; + export type EventDestinationResource = Stripe_.V2.Core.EventDestinationResource; + export type AccountPersonToken = Stripe_.V2.Core.AccountPersonToken; + export type AccountPerson = Stripe_.V2.Core.AccountPerson; export namespace AccountCreateParams { - export type Configuration = Stripe.V2.Core.AccountCreateParams.Configuration; - export type Dashboard = Stripe.V2.Core.AccountCreateParams.Dashboard; - export type Defaults = Stripe.V2.Core.AccountCreateParams.Defaults; - export type Identity = Stripe.V2.Core.AccountCreateParams.Identity; - export type Include = Stripe.V2.Core.AccountCreateParams.Include; + export type Configuration = Stripe_.V2.Core.AccountCreateParams.Configuration; + export type Dashboard = Stripe_.V2.Core.AccountCreateParams.Dashboard; + export type Defaults = Stripe_.V2.Core.AccountCreateParams.Defaults; + export type Identity = Stripe_.V2.Core.AccountCreateParams.Identity; + export type Include = Stripe_.V2.Core.AccountCreateParams.Include; export namespace Configuration { - export type Customer = Stripe.V2.Core.AccountCreateParams.Configuration.Customer; - export type Merchant = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant; - export type Recipient = Stripe.V2.Core.AccountCreateParams.Configuration.Recipient; + export type Customer = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer; + export type Merchant = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant; + export type Recipient = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient; export namespace Customer { - export type AutomaticIndirectTax = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax; - export type Billing = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing; - export type Capabilities = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities; - export type Shipping = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Shipping; + export type AutomaticIndirectTax = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax; + export type Billing = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Billing; + export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities; + export type Shipping = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Shipping; export namespace AutomaticIndirectTax { - export type Exempt = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Exempt; + export type Exempt = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Exempt; } export namespace Billing { - export type Invoice = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice; + export type Invoice = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice; export namespace Invoice { - export type CustomField = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.CustomField; - export type Rendering = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.Rendering; + export type CustomField = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.CustomField; + export type Rendering = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.Rendering; export namespace Rendering { - export type AmountTaxDisplay = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.Rendering.AmountTaxDisplay; + export type AmountTaxDisplay = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice.Rendering.AmountTaxDisplay; } } } export namespace Capabilities { - export type AutomaticIndirectTax = Stripe.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities.AutomaticIndirectTax; + export type AutomaticIndirectTax = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities.AutomaticIndirectTax; } } export namespace Merchant { - export type BacsDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.BacsDebitPayments; - export type Branding = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Branding; - export type Capabilities = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities; - export type CardPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.CardPayments; - export type KonbiniPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments; - export type ScriptStatementDescriptor = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor; - export type StatementDescriptor = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.StatementDescriptor; - export type Support = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Support; + export type BacsDebitPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.BacsDebitPayments; + export type Branding = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Branding; + export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities; + export type CardPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.CardPayments; + export type KonbiniPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments; + export type ScriptStatementDescriptor = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor; + export type StatementDescriptor = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.StatementDescriptor; + export type Support = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Support; export namespace Capabilities { - export type AchDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AchDebitPayments; - export type AcssDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AcssDebitPayments; - export type AffirmPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AffirmPayments; - export type AfterpayClearpayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AfterpayClearpayPayments; - export type AlmaPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AlmaPayments; - export type AmazonPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AmazonPayPayments; - export type AuBecsDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AuBecsDebitPayments; - export type BacsDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BacsDebitPayments; - export type BancontactPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BancontactPayments; - export type BlikPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BlikPayments; - export type BoletoPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BoletoPayments; - export type CardPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CardPayments; - export type CartesBancairesPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CartesBancairesPayments; - export type CashappPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CashappPayments; - export type EpsPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.EpsPayments; - export type FpxPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.FpxPayments; - export type GbBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GbBankTransferPayments; - export type GrabpayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GrabpayPayments; - export type IdealPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.IdealPayments; - export type JcbPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JcbPayments; - export type JpBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JpBankTransferPayments; - export type KakaoPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KakaoPayPayments; - export type KlarnaPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KlarnaPayments; - export type KonbiniPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KonbiniPayments; - export type KrCardPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KrCardPayments; - export type LinkPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.LinkPayments; - export type MobilepayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MobilepayPayments; - export type MultibancoPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MultibancoPayments; - export type MxBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MxBankTransferPayments; - export type NaverPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.NaverPayPayments; - export type OxxoPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.OxxoPayments; - export type P24Payments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.P24Payments; - export type PayByBankPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PayByBankPayments; - export type PaycoPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaycoPayments; - export type PaynowPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaynowPayments; - export type PromptpayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PromptpayPayments; - export type RevolutPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.RevolutPayPayments; - export type SamsungPayPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SamsungPayPayments; - export type SepaBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaBankTransferPayments; - export type SepaDebitPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaDebitPayments; - export type SwishPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SwishPayments; - export type TwintPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.TwintPayments; - export type UsBankTransferPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.UsBankTransferPayments; - export type ZipPayments = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.ZipPayments; + export type AchDebitPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AchDebitPayments; + export type AcssDebitPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AmazonPayPayments; + export type AuBecsDebitPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BancontactPayments; + export type BlikPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BlikPayments; + export type BoletoPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BoletoPayments; + export type CardPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CashappPayments; + export type EpsPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.EpsPayments; + export type FpxPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GbBankTransferPayments; + export type GrabpayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.IdealPayments; + export type JcbPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KrCardPayments; + export type LinkPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.LinkPayments; + export type MobilepayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.NaverPayPayments; + export type OxxoPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.OxxoPayments; + export type P24Payments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.P24Payments; + export type PayByBankPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaynowPayments; + export type PromptpayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SamsungPayPayments; + export type SepaBankTransferPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaDebitPayments; + export type SwishPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SwishPayments; + export type TwintPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.TwintPayments; + export type UsBankTransferPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.ZipPayments; } export namespace CardPayments { - export type DeclineOn = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.CardPayments.DeclineOn; + export type DeclineOn = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.CardPayments.DeclineOn; } export namespace KonbiniPayments { - export type Support = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments.Support; + export type Support = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments.Support; export namespace Support { - export type Hours = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments.Support.Hours; + export type Hours = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments.Support.Hours; } } export namespace ScriptStatementDescriptor { - export type Kana = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor.Kana; - export type Kanji = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor.Kanji; + export type Kana = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor.Kana; + export type Kanji = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor.Kanji; } export namespace Support { - export type Address = Stripe.V2.Core.AccountCreateParams.Configuration.Merchant.Support.Address; + export type Address = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Support.Address; } } export namespace Recipient { - export type Capabilities = Stripe.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities; + export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities; export namespace Capabilities { - export type StripeBalance = Stripe.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance; + export type StripeBalance = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance; export namespace StripeBalance { - export type StripeTransfers = Stripe.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; + export type StripeTransfers = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; } } } } export namespace Defaults { - export type Locale = Stripe.V2.Core.AccountCreateParams.Defaults.Locale; - export type Profile = Stripe.V2.Core.AccountCreateParams.Defaults.Profile; - export type Responsibilities = Stripe.V2.Core.AccountCreateParams.Defaults.Responsibilities; + export type Locale = Stripe_.V2.Core.AccountCreateParams.Defaults.Locale; + export type Profile = Stripe_.V2.Core.AccountCreateParams.Defaults.Profile; + export type Responsibilities = Stripe_.V2.Core.AccountCreateParams.Defaults.Responsibilities; export namespace Responsibilities { - export type FeesCollector = Stripe.V2.Core.AccountCreateParams.Defaults.Responsibilities.FeesCollector; - export type LossesCollector = Stripe.V2.Core.AccountCreateParams.Defaults.Responsibilities.LossesCollector; + export type FeesCollector = Stripe_.V2.Core.AccountCreateParams.Defaults.Responsibilities.FeesCollector; + export type LossesCollector = Stripe_.V2.Core.AccountCreateParams.Defaults.Responsibilities.LossesCollector; } } export namespace Identity { - export type Attestations = Stripe.V2.Core.AccountCreateParams.Identity.Attestations; - export type BusinessDetails = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails; - export type EntityType = Stripe.V2.Core.AccountCreateParams.Identity.EntityType; - export type Individual = Stripe.V2.Core.AccountCreateParams.Identity.Individual; + export type Attestations = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations; + export type BusinessDetails = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails; + export type EntityType = Stripe_.V2.Core.AccountCreateParams.Identity.EntityType; + export type Individual = Stripe_.V2.Core.AccountCreateParams.Identity.Individual; export namespace Attestations { - export type DirectorshipDeclaration = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.DirectorshipDeclaration; - export type OwnershipDeclaration = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.OwnershipDeclaration; - export type PersonsProvided = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.PersonsProvided; - export type RepresentativeDeclaration = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.RepresentativeDeclaration; - export type TermsOfService = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService; + export type DirectorshipDeclaration = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.OwnershipDeclaration; + export type PersonsProvided = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.PersonsProvided; + export type RepresentativeDeclaration = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.RepresentativeDeclaration; + export type TermsOfService = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService; export namespace PersonsProvided { - export type OwnershipExemptionReason = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; + export type OwnershipExemptionReason = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; } export namespace TermsOfService { - export type Account = Stripe.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.Account; + export type Account = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.Account; } } export namespace BusinessDetails { - export type Address = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Address; - export type AnnualRevenue = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.AnnualRevenue; - export type Documents = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents; - export type IdNumber = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.IdNumber; - export type MonthlyEstimatedRevenue = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.MonthlyEstimatedRevenue; - export type RegistrationDate = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.RegistrationDate; - export type ScriptAddresses = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses; - export type ScriptNames = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames; - export type Structure = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Structure; + export type Address = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Address; + export type AnnualRevenue = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.AnnualRevenue; + export type Documents = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents; + export type IdNumber = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.IdNumber; + export type MonthlyEstimatedRevenue = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.MonthlyEstimatedRevenue; + export type RegistrationDate = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.RegistrationDate; + export type ScriptAddresses = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses; + export type ScriptNames = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames; + export type Structure = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Structure; export namespace Documents { - export type BankAccountOwnershipVerification = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; - export type CompanyLicense = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyLicense; - export type CompanyMemorandumOfAssociation = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; - export type CompanyMinisterialDecree = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; - export type CompanyRegistrationVerification = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; - export type CompanyTaxIdVerification = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; - export type PrimaryVerification = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification; - export type ProofOfAddress = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfAddress; - export type ProofOfRegistration = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration; - export type ProofOfUltimateBeneficialOwnership = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; + export type BankAccountOwnershipVerification = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; + export type PrimaryVerification = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification; + export type ProofOfAddress = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; export namespace PrimaryVerification { - export type FrontBack = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; } export namespace ProofOfRegistration { - export type Signer = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; + export type Signer = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; } export namespace ProofOfUltimateBeneficialOwnership { - export type Signer = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; + export type Signer = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; } } export namespace IdNumber { - export type Type = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.IdNumber.Type; + export type Type = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.IdNumber.Type; } export namespace ScriptAddresses { - export type Kana = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses.Kana; - export type Kanji = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses.Kanji; + export type Kana = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses.Kana; + export type Kanji = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptAddresses.Kanji; } export namespace ScriptNames { - export type Kana = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames.Kana; - export type Kanji = Stripe.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames.Kanji; + export type Kana = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames.Kana; + export type Kanji = Stripe_.V2.Core.AccountCreateParams.Identity.BusinessDetails.ScriptNames.Kanji; } } export namespace Individual { - export type AdditionalAddress = Stripe.V2.Core.AccountCreateParams.Identity.Individual.AdditionalAddress; - export type AdditionalName = Stripe.V2.Core.AccountCreateParams.Identity.Individual.AdditionalName; - export type Address = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Address; - export type DateOfBirth = Stripe.V2.Core.AccountCreateParams.Identity.Individual.DateOfBirth; - export type Documents = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents; - export type IdNumber = Stripe.V2.Core.AccountCreateParams.Identity.Individual.IdNumber; - export type LegalGender = Stripe.V2.Core.AccountCreateParams.Identity.Individual.LegalGender; - export type PoliticalExposure = Stripe.V2.Core.AccountCreateParams.Identity.Individual.PoliticalExposure; - export type Relationship = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Relationship; - export type ScriptAddresses = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses; - export type ScriptNames = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames; + export type AdditionalAddress = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.AdditionalAddress; + export type AdditionalName = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.AdditionalName; + export type Address = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Address; + export type DateOfBirth = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.DateOfBirth; + export type Documents = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Documents; + export type IdNumber = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.IdNumber; + export type LegalGender = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.LegalGender; + export type PoliticalExposure = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.PoliticalExposure; + export type Relationship = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Relationship; + export type ScriptAddresses = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses; + export type ScriptNames = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames; export namespace AdditionalName { - export type Purpose = Stripe.V2.Core.AccountCreateParams.Identity.Individual.AdditionalName.Purpose; + export type Purpose = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.AdditionalName.Purpose; } export namespace Documents { - export type CompanyAuthorization = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.CompanyAuthorization; - export type Passport = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.Passport; - export type PrimaryVerification = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.PrimaryVerification; - export type SecondaryVerification = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.SecondaryVerification; - export type Visa = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.Visa; + export type CompanyAuthorization = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Documents.CompanyAuthorization; + export type Passport = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Documents.Passport; + export type PrimaryVerification = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Documents.PrimaryVerification; + export type SecondaryVerification = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Documents.SecondaryVerification; + export type Visa = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Documents.Visa; export namespace PrimaryVerification { - export type FrontBack = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.PrimaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Documents.PrimaryVerification.FrontBack; } export namespace SecondaryVerification { - export type FrontBack = Stripe.V2.Core.AccountCreateParams.Identity.Individual.Documents.SecondaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Documents.SecondaryVerification.FrontBack; } } export namespace IdNumber { - export type Type = Stripe.V2.Core.AccountCreateParams.Identity.Individual.IdNumber.Type; + export type Type = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.IdNumber.Type; } export namespace ScriptAddresses { - export type Kana = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses.Kana; - export type Kanji = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses.Kanji; + export type Kana = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses.Kana; + export type Kanji = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses.Kanji; } export namespace ScriptNames { - export type Kana = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames.Kana; - export type Kanji = Stripe.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames.Kanji; + export type Kana = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames.Kana; + export type Kanji = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames.Kanji; } } } } export namespace Account { - export type AppliedConfiguration = Stripe.V2.Core.Account.AppliedConfiguration; - export type Configuration = Stripe.V2.Core.Account.Configuration; - export type Dashboard = Stripe.V2.Core.Account.Dashboard; - export type Defaults = Stripe.V2.Core.Account.Defaults; - export type FutureRequirements = Stripe.V2.Core.Account.FutureRequirements; - export type Identity = Stripe.V2.Core.Account.Identity; - export type Requirements = Stripe.V2.Core.Account.Requirements; + export type AppliedConfiguration = Stripe_.V2.Core.Account.AppliedConfiguration; + export type Configuration = Stripe_.V2.Core.Account.Configuration; + export type Dashboard = Stripe_.V2.Core.Account.Dashboard; + export type Defaults = Stripe_.V2.Core.Account.Defaults; + export type FutureRequirements = Stripe_.V2.Core.Account.FutureRequirements; + export type Identity = Stripe_.V2.Core.Account.Identity; + export type Requirements = Stripe_.V2.Core.Account.Requirements; export namespace Configuration { - export type Customer = Stripe.V2.Core.Account.Configuration.Customer; - export type Merchant = Stripe.V2.Core.Account.Configuration.Merchant; - export type Recipient = Stripe.V2.Core.Account.Configuration.Recipient; + export type Customer = Stripe_.V2.Core.Account.Configuration.Customer; + export type Merchant = Stripe_.V2.Core.Account.Configuration.Merchant; + export type Recipient = Stripe_.V2.Core.Account.Configuration.Recipient; export namespace Customer { - export type AutomaticIndirectTax = Stripe.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax; - export type Billing = Stripe.V2.Core.Account.Configuration.Customer.Billing; - export type Capabilities = Stripe.V2.Core.Account.Configuration.Customer.Capabilities; - export type Shipping = Stripe.V2.Core.Account.Configuration.Customer.Shipping; + export type AutomaticIndirectTax = Stripe_.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax; + export type Billing = Stripe_.V2.Core.Account.Configuration.Customer.Billing; + export type Capabilities = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities; + export type Shipping = Stripe_.V2.Core.Account.Configuration.Customer.Shipping; export namespace AutomaticIndirectTax { - export type Exempt = Stripe.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.Exempt; - export type Location = Stripe.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.Location; - export type LocationSource = Stripe.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.LocationSource; + export type Exempt = Stripe_.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.Exempt; + export type Location = Stripe_.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.Location; + export type LocationSource = Stripe_.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.LocationSource; } export namespace Billing { - export type Invoice = Stripe.V2.Core.Account.Configuration.Customer.Billing.Invoice; + export type Invoice = Stripe_.V2.Core.Account.Configuration.Customer.Billing.Invoice; export namespace Invoice { - export type CustomField = Stripe.V2.Core.Account.Configuration.Customer.Billing.Invoice.CustomField; - export type Rendering = Stripe.V2.Core.Account.Configuration.Customer.Billing.Invoice.Rendering; + export type CustomField = Stripe_.V2.Core.Account.Configuration.Customer.Billing.Invoice.CustomField; + export type Rendering = Stripe_.V2.Core.Account.Configuration.Customer.Billing.Invoice.Rendering; export namespace Rendering { - export type AmountTaxDisplay = Stripe.V2.Core.Account.Configuration.Customer.Billing.Invoice.Rendering.AmountTaxDisplay; + export type AmountTaxDisplay = Stripe_.V2.Core.Account.Configuration.Customer.Billing.Invoice.Rendering.AmountTaxDisplay; } } } export namespace Capabilities { - export type AutomaticIndirectTax = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax; + export type AutomaticIndirectTax = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax; export namespace AutomaticIndirectTax { - export type Status = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail.Resolution; } } } export namespace Shipping { - export type Address = Stripe.V2.Core.Account.Configuration.Customer.Shipping.Address; + export type Address = Stripe_.V2.Core.Account.Configuration.Customer.Shipping.Address; } } export namespace Merchant { - export type BacsDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.BacsDebitPayments; - export type Branding = Stripe.V2.Core.Account.Configuration.Merchant.Branding; - export type Capabilities = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities; - export type CardPayments = Stripe.V2.Core.Account.Configuration.Merchant.CardPayments; - export type KonbiniPayments = Stripe.V2.Core.Account.Configuration.Merchant.KonbiniPayments; - export type ScriptStatementDescriptor = Stripe.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor; - export type SepaDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.SepaDebitPayments; - export type StatementDescriptor = Stripe.V2.Core.Account.Configuration.Merchant.StatementDescriptor; - export type Support = Stripe.V2.Core.Account.Configuration.Merchant.Support; + export type BacsDebitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.BacsDebitPayments; + export type Branding = Stripe_.V2.Core.Account.Configuration.Merchant.Branding; + export type Capabilities = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities; + export type CardPayments = Stripe_.V2.Core.Account.Configuration.Merchant.CardPayments; + export type KonbiniPayments = Stripe_.V2.Core.Account.Configuration.Merchant.KonbiniPayments; + export type ScriptStatementDescriptor = Stripe_.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor; + export type SepaDebitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.SepaDebitPayments; + export type StatementDescriptor = Stripe_.V2.Core.Account.Configuration.Merchant.StatementDescriptor; + export type Support = Stripe_.V2.Core.Account.Configuration.Merchant.Support; export namespace Capabilities { - export type AchDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments; - export type AcssDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments; - export type AffirmPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments; - export type AfterpayClearpayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments; - export type AlmaPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments; - export type AmazonPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments; - export type AuBecsDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments; - export type BacsDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments; - export type BancontactPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments; - export type BlikPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments; - export type BoletoPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments; - export type CardPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments; - export type CartesBancairesPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments; - export type CashappPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments; - export type EpsPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments; - export type FpxPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments; - export type GbBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments; - export type GrabpayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments; - export type IdealPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments; - export type JcbPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments; - export type JpBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments; - export type KakaoPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments; - export type KlarnaPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments; - export type KonbiniPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments; - export type KrCardPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments; - export type LinkPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments; - export type MobilepayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments; - export type MultibancoPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments; - export type MxBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments; - export type NaverPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments; - export type OxxoPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments; - export type P24Payments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments; - export type PayByBankPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments; - export type PaycoPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments; - export type PaynowPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments; - export type PromptpayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments; - export type RevolutPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments; - export type SamsungPayPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments; - export type SepaBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments; - export type SepaDebitPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments; - export type StripeBalance = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance; - export type SwishPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments; - export type TwintPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments; - export type UsBankTransferPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments; - export type ZipPayments = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments; + export type AchDebitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments; + export type AcssDebitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments; + export type AuBecsDebitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments; + export type BacsDebitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments; + export type BlikPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments; + export type BoletoPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments; + export type CardPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments; + export type EpsPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments; + export type FpxPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments; + export type GrabpayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments; + export type IdealPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments; + export type JcbPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments; + export type LinkPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments; + export type MobilepayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments; + export type OxxoPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments; + export type P24Payments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments; + export type PayByBankPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments; + export type PromptpayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments; + export type RevolutPayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments; + export type SepaBankTransferPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments; + export type StripeBalance = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance; + export type SwishPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments; + export type TwintPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments; + export type UsBankTransferPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments; export namespace AchDebitPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail.Resolution; } } export namespace AcssDebitPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail.Resolution; } } export namespace AffirmPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail.Resolution; } } export namespace AfterpayClearpayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail.Resolution; } } export namespace AlmaPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail.Resolution; } } export namespace AmazonPayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail.Resolution; } } export namespace AuBecsDebitPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail.Resolution; } } export namespace BacsDebitPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail.Resolution; } } export namespace BancontactPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail.Resolution; } } export namespace BlikPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail.Resolution; } } export namespace BoletoPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail.Resolution; } } export namespace CardPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail.Resolution; } } export namespace CartesBancairesPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail.Resolution; } } export namespace CashappPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail.Resolution; } } export namespace EpsPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail.Resolution; } } export namespace FpxPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail.Resolution; } } export namespace GbBankTransferPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail.Resolution; } } export namespace GrabpayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail.Resolution; } } export namespace IdealPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail.Resolution; } } export namespace JcbPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail.Resolution; } } export namespace JpBankTransferPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail.Resolution; } } export namespace KakaoPayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail.Resolution; } } export namespace KlarnaPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail.Resolution; } } export namespace KonbiniPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail.Resolution; } } export namespace KrCardPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail.Resolution; } } export namespace LinkPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail.Resolution; } } export namespace MobilepayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail.Resolution; } } export namespace MultibancoPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail.Resolution; } } export namespace MxBankTransferPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail.Resolution; } } export namespace NaverPayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail.Resolution; } } export namespace OxxoPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail.Resolution; } } export namespace P24Payments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail.Resolution; } } export namespace PayByBankPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail.Resolution; } } export namespace PaycoPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail.Resolution; } } export namespace PaynowPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail.Resolution; } } export namespace PromptpayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail.Resolution; } } export namespace RevolutPayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail.Resolution; } } export namespace SamsungPayPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail.Resolution; } } export namespace SepaBankTransferPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail.Resolution; } } export namespace SepaDebitPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail.Resolution; } } export namespace StripeBalance { - export type Payouts = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts; + export type Payouts = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts; export namespace Payouts { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; } } } export namespace SwishPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail.Resolution; } } export namespace TwintPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail.Resolution; } } export namespace UsBankTransferPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail.Resolution; } } export namespace ZipPayments { - export type Status = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail.Resolution; } } } export namespace CardPayments { - export type DeclineOn = Stripe.V2.Core.Account.Configuration.Merchant.CardPayments.DeclineOn; + export type DeclineOn = Stripe_.V2.Core.Account.Configuration.Merchant.CardPayments.DeclineOn; } export namespace KonbiniPayments { - export type Support = Stripe.V2.Core.Account.Configuration.Merchant.KonbiniPayments.Support; + export type Support = Stripe_.V2.Core.Account.Configuration.Merchant.KonbiniPayments.Support; export namespace Support { - export type Hours = Stripe.V2.Core.Account.Configuration.Merchant.KonbiniPayments.Support.Hours; + export type Hours = Stripe_.V2.Core.Account.Configuration.Merchant.KonbiniPayments.Support.Hours; } } export namespace ScriptStatementDescriptor { - export type Kana = Stripe.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kana; - export type Kanji = Stripe.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kanji; + export type Kana = Stripe_.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kana; + export type Kanji = Stripe_.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kanji; } export namespace Support { - export type Address = Stripe.V2.Core.Account.Configuration.Merchant.Support.Address; + export type Address = Stripe_.V2.Core.Account.Configuration.Merchant.Support.Address; } } export namespace Recipient { - export type Capabilities = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities; + export type Capabilities = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities; export namespace Capabilities { - export type StripeBalance = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance; + export type StripeBalance = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance; export namespace StripeBalance { - export type Payouts = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts; - export type StripeTransfers = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; + export type Payouts = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts; + export type StripeTransfers = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; export namespace Payouts { - export type Status = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; } } export namespace StripeTransfers { - export type Status = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Status; - export type StatusDetail = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail; export namespace StatusDetail { - export type Code = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Code; - export type Resolution = Stripe.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Resolution; } } } @@ -13508,452 +13508,452 @@ declare namespace StripeConstructor { } } export namespace Defaults { - export type Locale = Stripe.V2.Core.Account.Defaults.Locale; - export type Profile = Stripe.V2.Core.Account.Defaults.Profile; - export type Responsibilities = Stripe.V2.Core.Account.Defaults.Responsibilities; + export type Locale = Stripe_.V2.Core.Account.Defaults.Locale; + export type Profile = Stripe_.V2.Core.Account.Defaults.Profile; + export type Responsibilities = Stripe_.V2.Core.Account.Defaults.Responsibilities; export namespace Responsibilities { - export type FeesCollector = Stripe.V2.Core.Account.Defaults.Responsibilities.FeesCollector; - export type LossesCollector = Stripe.V2.Core.Account.Defaults.Responsibilities.LossesCollector; - export type RequirementsCollector = Stripe.V2.Core.Account.Defaults.Responsibilities.RequirementsCollector; + export type FeesCollector = Stripe_.V2.Core.Account.Defaults.Responsibilities.FeesCollector; + export type LossesCollector = Stripe_.V2.Core.Account.Defaults.Responsibilities.LossesCollector; + export type RequirementsCollector = Stripe_.V2.Core.Account.Defaults.Responsibilities.RequirementsCollector; } } export namespace FutureRequirements { - export type Entry = Stripe.V2.Core.Account.FutureRequirements.Entry; - export type Summary = Stripe.V2.Core.Account.FutureRequirements.Summary; + export type Entry = Stripe_.V2.Core.Account.FutureRequirements.Entry; + export type Summary = Stripe_.V2.Core.Account.FutureRequirements.Summary; export namespace Entry { - export type AwaitingActionFrom = Stripe.V2.Core.Account.FutureRequirements.Entry.AwaitingActionFrom; - export type Error = Stripe.V2.Core.Account.FutureRequirements.Entry.Error; - export type Impact = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact; - export type MinimumDeadline = Stripe.V2.Core.Account.FutureRequirements.Entry.MinimumDeadline; - export type Reference = Stripe.V2.Core.Account.FutureRequirements.Entry.Reference; - export type RequestedReason = Stripe.V2.Core.Account.FutureRequirements.Entry.RequestedReason; + export type AwaitingActionFrom = Stripe_.V2.Core.Account.FutureRequirements.Entry.AwaitingActionFrom; + export type Error = Stripe_.V2.Core.Account.FutureRequirements.Entry.Error; + export type Impact = Stripe_.V2.Core.Account.FutureRequirements.Entry.Impact; + export type MinimumDeadline = Stripe_.V2.Core.Account.FutureRequirements.Entry.MinimumDeadline; + export type Reference = Stripe_.V2.Core.Account.FutureRequirements.Entry.Reference; + export type RequestedReason = Stripe_.V2.Core.Account.FutureRequirements.Entry.RequestedReason; export namespace Error { - export type Code = Stripe.V2.Core.Account.FutureRequirements.Entry.Error.Code; + export type Code = Stripe_.V2.Core.Account.FutureRequirements.Entry.Error.Code; } export namespace Impact { - export type RestrictsCapability = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability; + export type RestrictsCapability = Stripe_.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability; export namespace RestrictsCapability { - export type Capability = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Capability; - export type Configuration = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Configuration; - export type Deadline = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Deadline; + export type Capability = Stripe_.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Capability; + export type Configuration = Stripe_.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Configuration; + export type Deadline = Stripe_.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Deadline; export namespace Deadline { - export type Status = Stripe.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Deadline.Status; + export type Status = Stripe_.V2.Core.Account.FutureRequirements.Entry.Impact.RestrictsCapability.Deadline.Status; } } } export namespace MinimumDeadline { - export type Status = Stripe.V2.Core.Account.FutureRequirements.Entry.MinimumDeadline.Status; + export type Status = Stripe_.V2.Core.Account.FutureRequirements.Entry.MinimumDeadline.Status; } export namespace Reference { - export type Type = Stripe.V2.Core.Account.FutureRequirements.Entry.Reference.Type; + export type Type = Stripe_.V2.Core.Account.FutureRequirements.Entry.Reference.Type; } export namespace RequestedReason { - export type Code = Stripe.V2.Core.Account.FutureRequirements.Entry.RequestedReason.Code; + export type Code = Stripe_.V2.Core.Account.FutureRequirements.Entry.RequestedReason.Code; } } export namespace Summary { - export type MinimumDeadline = Stripe.V2.Core.Account.FutureRequirements.Summary.MinimumDeadline; + export type MinimumDeadline = Stripe_.V2.Core.Account.FutureRequirements.Summary.MinimumDeadline; export namespace MinimumDeadline { - export type Status = Stripe.V2.Core.Account.FutureRequirements.Summary.MinimumDeadline.Status; + export type Status = Stripe_.V2.Core.Account.FutureRequirements.Summary.MinimumDeadline.Status; } } } export namespace Identity { - export type Attestations = Stripe.V2.Core.Account.Identity.Attestations; - export type BusinessDetails = Stripe.V2.Core.Account.Identity.BusinessDetails; - export type EntityType = Stripe.V2.Core.Account.Identity.EntityType; - export type Individual = Stripe.V2.Core.Account.Identity.Individual; + export type Attestations = Stripe_.V2.Core.Account.Identity.Attestations; + export type BusinessDetails = Stripe_.V2.Core.Account.Identity.BusinessDetails; + export type EntityType = Stripe_.V2.Core.Account.Identity.EntityType; + export type Individual = Stripe_.V2.Core.Account.Identity.Individual; export namespace Attestations { - export type DirectorshipDeclaration = Stripe.V2.Core.Account.Identity.Attestations.DirectorshipDeclaration; - export type OwnershipDeclaration = Stripe.V2.Core.Account.Identity.Attestations.OwnershipDeclaration; - export type PersonsProvided = Stripe.V2.Core.Account.Identity.Attestations.PersonsProvided; - export type RepresentativeDeclaration = Stripe.V2.Core.Account.Identity.Attestations.RepresentativeDeclaration; - export type TermsOfService = Stripe.V2.Core.Account.Identity.Attestations.TermsOfService; + export type DirectorshipDeclaration = Stripe_.V2.Core.Account.Identity.Attestations.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.V2.Core.Account.Identity.Attestations.OwnershipDeclaration; + export type PersonsProvided = Stripe_.V2.Core.Account.Identity.Attestations.PersonsProvided; + export type RepresentativeDeclaration = Stripe_.V2.Core.Account.Identity.Attestations.RepresentativeDeclaration; + export type TermsOfService = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService; export namespace PersonsProvided { - export type OwnershipExemptionReason = Stripe.V2.Core.Account.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; + export type OwnershipExemptionReason = Stripe_.V2.Core.Account.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; } export namespace TermsOfService { - export type Account = Stripe.V2.Core.Account.Identity.Attestations.TermsOfService.Account; + export type Account = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.Account; } } export namespace BusinessDetails { - export type Address = Stripe.V2.Core.Account.Identity.BusinessDetails.Address; - export type AnnualRevenue = Stripe.V2.Core.Account.Identity.BusinessDetails.AnnualRevenue; - export type Documents = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents; - export type IdNumber = Stripe.V2.Core.Account.Identity.BusinessDetails.IdNumber; - export type MonthlyEstimatedRevenue = Stripe.V2.Core.Account.Identity.BusinessDetails.MonthlyEstimatedRevenue; - export type RegistrationDate = Stripe.V2.Core.Account.Identity.BusinessDetails.RegistrationDate; - export type ScriptAddresses = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses; - export type ScriptNames = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptNames; - export type Structure = Stripe.V2.Core.Account.Identity.BusinessDetails.Structure; + export type Address = Stripe_.V2.Core.Account.Identity.BusinessDetails.Address; + export type AnnualRevenue = Stripe_.V2.Core.Account.Identity.BusinessDetails.AnnualRevenue; + export type Documents = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents; + export type IdNumber = Stripe_.V2.Core.Account.Identity.BusinessDetails.IdNumber; + export type MonthlyEstimatedRevenue = Stripe_.V2.Core.Account.Identity.BusinessDetails.MonthlyEstimatedRevenue; + export type RegistrationDate = Stripe_.V2.Core.Account.Identity.BusinessDetails.RegistrationDate; + export type ScriptAddresses = Stripe_.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses; + export type ScriptNames = Stripe_.V2.Core.Account.Identity.BusinessDetails.ScriptNames; + export type Structure = Stripe_.V2.Core.Account.Identity.BusinessDetails.Structure; export namespace Documents { - export type BankAccountOwnershipVerification = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; - export type CompanyLicense = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyLicense; - export type CompanyMemorandumOfAssociation = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; - export type CompanyMinisterialDecree = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; - export type CompanyRegistrationVerification = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; - export type CompanyTaxIdVerification = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; - export type PrimaryVerification = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.PrimaryVerification; - export type ProofOfAddress = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfAddress; - export type ProofOfRegistration = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfRegistration; - export type ProofOfUltimateBeneficialOwnership = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; + export type BankAccountOwnershipVerification = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; + export type PrimaryVerification = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.PrimaryVerification; + export type ProofOfAddress = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; export namespace PrimaryVerification { - export type FrontBack = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; } export namespace ProofOfRegistration { - export type Signer = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; + export type Signer = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; } export namespace ProofOfUltimateBeneficialOwnership { - export type Signer = Stripe.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; + export type Signer = Stripe_.V2.Core.Account.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; } } export namespace IdNumber { - export type Type = Stripe.V2.Core.Account.Identity.BusinessDetails.IdNumber.Type; + export type Type = Stripe_.V2.Core.Account.Identity.BusinessDetails.IdNumber.Type; } export namespace ScriptAddresses { - export type Kana = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses.Kana; - export type Kanji = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses.Kanji; + export type Kana = Stripe_.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses.Kana; + export type Kanji = Stripe_.V2.Core.Account.Identity.BusinessDetails.ScriptAddresses.Kanji; } export namespace ScriptNames { - export type Kana = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptNames.Kana; - export type Kanji = Stripe.V2.Core.Account.Identity.BusinessDetails.ScriptNames.Kanji; + export type Kana = Stripe_.V2.Core.Account.Identity.BusinessDetails.ScriptNames.Kana; + export type Kanji = Stripe_.V2.Core.Account.Identity.BusinessDetails.ScriptNames.Kanji; } } export namespace Individual { - export type AdditionalAddress = Stripe.V2.Core.Account.Identity.Individual.AdditionalAddress; - export type AdditionalName = Stripe.V2.Core.Account.Identity.Individual.AdditionalName; - export type AdditionalTermsOfService = Stripe.V2.Core.Account.Identity.Individual.AdditionalTermsOfService; - export type Address = Stripe.V2.Core.Account.Identity.Individual.Address; - export type DateOfBirth = Stripe.V2.Core.Account.Identity.Individual.DateOfBirth; - export type Documents = Stripe.V2.Core.Account.Identity.Individual.Documents; - export type IdNumber = Stripe.V2.Core.Account.Identity.Individual.IdNumber; - export type LegalGender = Stripe.V2.Core.Account.Identity.Individual.LegalGender; - export type PoliticalExposure = Stripe.V2.Core.Account.Identity.Individual.PoliticalExposure; - export type Relationship = Stripe.V2.Core.Account.Identity.Individual.Relationship; - export type ScriptAddresses = Stripe.V2.Core.Account.Identity.Individual.ScriptAddresses; - export type ScriptNames = Stripe.V2.Core.Account.Identity.Individual.ScriptNames; + export type AdditionalAddress = Stripe_.V2.Core.Account.Identity.Individual.AdditionalAddress; + export type AdditionalName = Stripe_.V2.Core.Account.Identity.Individual.AdditionalName; + export type AdditionalTermsOfService = Stripe_.V2.Core.Account.Identity.Individual.AdditionalTermsOfService; + export type Address = Stripe_.V2.Core.Account.Identity.Individual.Address; + export type DateOfBirth = Stripe_.V2.Core.Account.Identity.Individual.DateOfBirth; + export type Documents = Stripe_.V2.Core.Account.Identity.Individual.Documents; + export type IdNumber = Stripe_.V2.Core.Account.Identity.Individual.IdNumber; + export type LegalGender = Stripe_.V2.Core.Account.Identity.Individual.LegalGender; + export type PoliticalExposure = Stripe_.V2.Core.Account.Identity.Individual.PoliticalExposure; + export type Relationship = Stripe_.V2.Core.Account.Identity.Individual.Relationship; + export type ScriptAddresses = Stripe_.V2.Core.Account.Identity.Individual.ScriptAddresses; + export type ScriptNames = Stripe_.V2.Core.Account.Identity.Individual.ScriptNames; export namespace AdditionalName { - export type Purpose = Stripe.V2.Core.Account.Identity.Individual.AdditionalName.Purpose; + export type Purpose = Stripe_.V2.Core.Account.Identity.Individual.AdditionalName.Purpose; } export namespace AdditionalTermsOfService { - export type Account = Stripe.V2.Core.Account.Identity.Individual.AdditionalTermsOfService.Account; + export type Account = Stripe_.V2.Core.Account.Identity.Individual.AdditionalTermsOfService.Account; } export namespace Documents { - export type CompanyAuthorization = Stripe.V2.Core.Account.Identity.Individual.Documents.CompanyAuthorization; - export type Passport = Stripe.V2.Core.Account.Identity.Individual.Documents.Passport; - export type PrimaryVerification = Stripe.V2.Core.Account.Identity.Individual.Documents.PrimaryVerification; - export type SecondaryVerification = Stripe.V2.Core.Account.Identity.Individual.Documents.SecondaryVerification; - export type Visa = Stripe.V2.Core.Account.Identity.Individual.Documents.Visa; + export type CompanyAuthorization = Stripe_.V2.Core.Account.Identity.Individual.Documents.CompanyAuthorization; + export type Passport = Stripe_.V2.Core.Account.Identity.Individual.Documents.Passport; + export type PrimaryVerification = Stripe_.V2.Core.Account.Identity.Individual.Documents.PrimaryVerification; + export type SecondaryVerification = Stripe_.V2.Core.Account.Identity.Individual.Documents.SecondaryVerification; + export type Visa = Stripe_.V2.Core.Account.Identity.Individual.Documents.Visa; export namespace PrimaryVerification { - export type FrontBack = Stripe.V2.Core.Account.Identity.Individual.Documents.PrimaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.Account.Identity.Individual.Documents.PrimaryVerification.FrontBack; } export namespace SecondaryVerification { - export type FrontBack = Stripe.V2.Core.Account.Identity.Individual.Documents.SecondaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.Account.Identity.Individual.Documents.SecondaryVerification.FrontBack; } } export namespace IdNumber { - export type Type = Stripe.V2.Core.Account.Identity.Individual.IdNumber.Type; + export type Type = Stripe_.V2.Core.Account.Identity.Individual.IdNumber.Type; } export namespace ScriptAddresses { - export type Kana = Stripe.V2.Core.Account.Identity.Individual.ScriptAddresses.Kana; - export type Kanji = Stripe.V2.Core.Account.Identity.Individual.ScriptAddresses.Kanji; + export type Kana = Stripe_.V2.Core.Account.Identity.Individual.ScriptAddresses.Kana; + export type Kanji = Stripe_.V2.Core.Account.Identity.Individual.ScriptAddresses.Kanji; } export namespace ScriptNames { - export type Kana = Stripe.V2.Core.Account.Identity.Individual.ScriptNames.Kana; - export type Kanji = Stripe.V2.Core.Account.Identity.Individual.ScriptNames.Kanji; + export type Kana = Stripe_.V2.Core.Account.Identity.Individual.ScriptNames.Kana; + export type Kanji = Stripe_.V2.Core.Account.Identity.Individual.ScriptNames.Kanji; } } } export namespace Requirements { - export type Entry = Stripe.V2.Core.Account.Requirements.Entry; - export type Summary = Stripe.V2.Core.Account.Requirements.Summary; + export type Entry = Stripe_.V2.Core.Account.Requirements.Entry; + export type Summary = Stripe_.V2.Core.Account.Requirements.Summary; export namespace Entry { - export type AwaitingActionFrom = Stripe.V2.Core.Account.Requirements.Entry.AwaitingActionFrom; - export type Error = Stripe.V2.Core.Account.Requirements.Entry.Error; - export type Impact = Stripe.V2.Core.Account.Requirements.Entry.Impact; - export type MinimumDeadline = Stripe.V2.Core.Account.Requirements.Entry.MinimumDeadline; - export type Reference = Stripe.V2.Core.Account.Requirements.Entry.Reference; - export type RequestedReason = Stripe.V2.Core.Account.Requirements.Entry.RequestedReason; + export type AwaitingActionFrom = Stripe_.V2.Core.Account.Requirements.Entry.AwaitingActionFrom; + export type Error = Stripe_.V2.Core.Account.Requirements.Entry.Error; + export type Impact = Stripe_.V2.Core.Account.Requirements.Entry.Impact; + export type MinimumDeadline = Stripe_.V2.Core.Account.Requirements.Entry.MinimumDeadline; + export type Reference = Stripe_.V2.Core.Account.Requirements.Entry.Reference; + export type RequestedReason = Stripe_.V2.Core.Account.Requirements.Entry.RequestedReason; export namespace Error { - export type Code = Stripe.V2.Core.Account.Requirements.Entry.Error.Code; + export type Code = Stripe_.V2.Core.Account.Requirements.Entry.Error.Code; } export namespace Impact { - export type RestrictsCapability = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability; + export type RestrictsCapability = Stripe_.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability; export namespace RestrictsCapability { - export type Capability = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Capability; - export type Configuration = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Configuration; - export type Deadline = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Deadline; + export type Capability = Stripe_.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Capability; + export type Configuration = Stripe_.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Configuration; + export type Deadline = Stripe_.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Deadline; export namespace Deadline { - export type Status = Stripe.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Deadline.Status; + export type Status = Stripe_.V2.Core.Account.Requirements.Entry.Impact.RestrictsCapability.Deadline.Status; } } } export namespace MinimumDeadline { - export type Status = Stripe.V2.Core.Account.Requirements.Entry.MinimumDeadline.Status; + export type Status = Stripe_.V2.Core.Account.Requirements.Entry.MinimumDeadline.Status; } export namespace Reference { - export type Type = Stripe.V2.Core.Account.Requirements.Entry.Reference.Type; + export type Type = Stripe_.V2.Core.Account.Requirements.Entry.Reference.Type; } export namespace RequestedReason { - export type Code = Stripe.V2.Core.Account.Requirements.Entry.RequestedReason.Code; + export type Code = Stripe_.V2.Core.Account.Requirements.Entry.RequestedReason.Code; } } export namespace Summary { - export type MinimumDeadline = Stripe.V2.Core.Account.Requirements.Summary.MinimumDeadline; + export type MinimumDeadline = Stripe_.V2.Core.Account.Requirements.Summary.MinimumDeadline; export namespace MinimumDeadline { - export type Status = Stripe.V2.Core.Account.Requirements.Summary.MinimumDeadline.Status; + export type Status = Stripe_.V2.Core.Account.Requirements.Summary.MinimumDeadline.Status; } } } } export namespace AccountLinkCreateParams { - export type UseCase = Stripe.V2.Core.AccountLinkCreateParams.UseCase; + export type UseCase = Stripe_.V2.Core.AccountLinkCreateParams.UseCase; export namespace UseCase { - export type AccountOnboarding = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding; - export type AccountUpdate = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate; - export type Type = Stripe.V2.Core.AccountLinkCreateParams.UseCase.Type; + export type AccountOnboarding = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding; + export type AccountUpdate = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate; + export type Type = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.Type; export namespace AccountOnboarding { - export type CollectionOptions = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions; - export type Configuration = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.Configuration; + export type CollectionOptions = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions; + export type Configuration = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.Configuration; export namespace CollectionOptions { - export type Fields = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions.Fields; - export type FutureRequirements = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions.FutureRequirements; + export type Fields = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions.FutureRequirements; } } export namespace AccountUpdate { - export type CollectionOptions = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions; - export type Configuration = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.Configuration; + export type CollectionOptions = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions; + export type Configuration = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.Configuration; export namespace CollectionOptions { - export type Fields = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions.Fields; - export type FutureRequirements = Stripe.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions.FutureRequirements; + export type Fields = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions.FutureRequirements; } } } } export namespace AccountLink { - export type UseCase = Stripe.V2.Core.AccountLink.UseCase; + export type UseCase = Stripe_.V2.Core.AccountLink.UseCase; export namespace UseCase { - export type AccountOnboarding = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding; - export type AccountUpdate = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate; - export type Type = Stripe.V2.Core.AccountLink.UseCase.Type; + export type AccountOnboarding = Stripe_.V2.Core.AccountLink.UseCase.AccountOnboarding; + export type AccountUpdate = Stripe_.V2.Core.AccountLink.UseCase.AccountUpdate; + export type Type = Stripe_.V2.Core.AccountLink.UseCase.Type; export namespace AccountOnboarding { - export type CollectionOptions = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions; - export type Configuration = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding.Configuration; + export type CollectionOptions = Stripe_.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions; + export type Configuration = Stripe_.V2.Core.AccountLink.UseCase.AccountOnboarding.Configuration; export namespace CollectionOptions { - export type Fields = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions.Fields; - export type FutureRequirements = Stripe.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions.FutureRequirements; + export type Fields = Stripe_.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions.FutureRequirements; } } export namespace AccountUpdate { - export type CollectionOptions = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions; - export type Configuration = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate.Configuration; + export type CollectionOptions = Stripe_.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions; + export type Configuration = Stripe_.V2.Core.AccountLink.UseCase.AccountUpdate.Configuration; export namespace CollectionOptions { - export type Fields = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions.Fields; - export type FutureRequirements = Stripe.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions.FutureRequirements; + export type Fields = Stripe_.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions.FutureRequirements; } } } } export namespace AccountTokenCreateParams { - export type Identity = Stripe.V2.Core.AccountTokenCreateParams.Identity; + export type Identity = Stripe_.V2.Core.AccountTokenCreateParams.Identity; export namespace Identity { - export type Attestations = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations; - export type BusinessDetails = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails; - export type EntityType = Stripe.V2.Core.AccountTokenCreateParams.Identity.EntityType; - export type Individual = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual; + export type Attestations = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations; + export type BusinessDetails = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails; + export type EntityType = Stripe_.V2.Core.AccountTokenCreateParams.Identity.EntityType; + export type Individual = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual; export namespace Attestations { - export type DirectorshipDeclaration = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.DirectorshipDeclaration; - export type OwnershipDeclaration = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.OwnershipDeclaration; - export type PersonsProvided = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.PersonsProvided; - export type RepresentativeDeclaration = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.RepresentativeDeclaration; - export type TermsOfService = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService; + export type DirectorshipDeclaration = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.OwnershipDeclaration; + export type PersonsProvided = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.PersonsProvided; + export type RepresentativeDeclaration = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.RepresentativeDeclaration; + export type TermsOfService = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService; export namespace PersonsProvided { - export type OwnershipExemptionReason = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; + export type OwnershipExemptionReason = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.PersonsProvided.OwnershipExemptionReason; } export namespace TermsOfService { - export type Account = Stripe.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.Account; + export type Account = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.Account; } } export namespace BusinessDetails { - export type AnnualRevenue = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.AnnualRevenue; - export type Documents = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents; - export type IdNumber = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.IdNumber; - export type MonthlyEstimatedRevenue = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.MonthlyEstimatedRevenue; - export type RegistrationDate = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.RegistrationDate; - export type ScriptAddresses = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptAddresses; - export type ScriptNames = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames; - export type Structure = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Structure; + export type AnnualRevenue = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.AnnualRevenue; + export type Documents = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents; + export type IdNumber = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.IdNumber; + export type MonthlyEstimatedRevenue = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.MonthlyEstimatedRevenue; + export type RegistrationDate = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.RegistrationDate; + export type ScriptAddresses = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptAddresses; + export type ScriptNames = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames; + export type Structure = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Structure; export namespace Documents { - export type BankAccountOwnershipVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; - export type CompanyLicense = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyLicense; - export type CompanyMemorandumOfAssociation = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; - export type CompanyMinisterialDecree = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; - export type CompanyRegistrationVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; - export type CompanyTaxIdVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; - export type PrimaryVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification; - export type ProofOfAddress = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfAddress; - export type ProofOfRegistration = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration; - export type ProofOfUltimateBeneficialOwnership = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; + export type BankAccountOwnershipVerification = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.CompanyTaxIdVerification; + export type PrimaryVerification = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification; + export type ProofOfAddress = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership; export namespace PrimaryVerification { - export type FrontBack = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.PrimaryVerification.FrontBack; } export namespace ProofOfRegistration { - export type Signer = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; + export type Signer = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfRegistration.Signer; } export namespace ProofOfUltimateBeneficialOwnership { - export type Signer = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; + export type Signer = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.Documents.ProofOfUltimateBeneficialOwnership.Signer; } } export namespace IdNumber { - export type Type = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Type; + export type Type = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Type; } export namespace ScriptNames { - export type Kana = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames.Kana; - export type Kanji = Stripe.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames.Kanji; + export type Kana = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames.Kana; + export type Kanji = Stripe_.V2.Core.AccountTokenCreateParams.Identity.BusinessDetails.ScriptNames.Kanji; } } export namespace Individual { - export type AdditionalAddress = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalAddress; - export type AdditionalName = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalName; - export type DateOfBirth = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.DateOfBirth; - export type Documents = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents; - export type IdNumber = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.IdNumber; - export type LegalGender = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.LegalGender; - export type PoliticalExposure = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.PoliticalExposure; - export type Relationship = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Relationship; - export type ScriptAddresses = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptAddresses; - export type ScriptNames = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames; + export type AdditionalAddress = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalAddress; + export type AdditionalName = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalName; + export type DateOfBirth = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.DateOfBirth; + export type Documents = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents; + export type IdNumber = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.IdNumber; + export type LegalGender = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.LegalGender; + export type PoliticalExposure = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.PoliticalExposure; + export type Relationship = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Relationship; + export type ScriptAddresses = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptAddresses; + export type ScriptNames = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames; export namespace AdditionalName { - export type Purpose = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalName.Purpose; + export type Purpose = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalName.Purpose; } export namespace Documents { - export type CompanyAuthorization = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.CompanyAuthorization; - export type Passport = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.Passport; - export type PrimaryVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.PrimaryVerification; - export type SecondaryVerification = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.SecondaryVerification; - export type Visa = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.Visa; + export type CompanyAuthorization = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.CompanyAuthorization; + export type Passport = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.Passport; + export type PrimaryVerification = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.PrimaryVerification; + export type SecondaryVerification = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.SecondaryVerification; + export type Visa = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.Visa; export namespace PrimaryVerification { - export type FrontBack = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.PrimaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.PrimaryVerification.FrontBack; } export namespace SecondaryVerification { - export type FrontBack = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.SecondaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Documents.SecondaryVerification.FrontBack; } } export namespace IdNumber { - export type Type = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.IdNumber.Type; + export type Type = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.IdNumber.Type; } export namespace ScriptNames { - export type Kana = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames.Kana; - export type Kanji = Stripe.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames.Kanji; + export type Kana = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames.Kana; + export type Kanji = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames.Kanji; } } } } export namespace Event { - export type Changes = Stripe.V2.Core.Event.Changes; - export type Reason = Stripe.V2.Core.Event.Reason; + export type Changes = Stripe_.V2.Core.Event.Changes; + export type Reason = Stripe_.V2.Core.Event.Reason; export namespace Reason { - export type Request = Stripe.V2.Core.Event.Reason.Request; + export type Request = Stripe_.V2.Core.Event.Reason.Request; } } export namespace EventDestinationCreateParams { - export type EventPayload = Stripe.V2.Core.EventDestinationCreateParams.EventPayload; - export type Type = Stripe.V2.Core.EventDestinationCreateParams.Type; - export type AmazonEventbridge = Stripe.V2.Core.EventDestinationCreateParams.AmazonEventbridge; - export type AzureEventGrid = Stripe.V2.Core.EventDestinationCreateParams.AzureEventGrid; - export type Include = Stripe.V2.Core.EventDestinationCreateParams.Include; - export type WebhookEndpoint = Stripe.V2.Core.EventDestinationCreateParams.WebhookEndpoint; + export type EventPayload = Stripe_.V2.Core.EventDestinationCreateParams.EventPayload; + export type Type = Stripe_.V2.Core.EventDestinationCreateParams.Type; + export type AmazonEventbridge = Stripe_.V2.Core.EventDestinationCreateParams.AmazonEventbridge; + export type AzureEventGrid = Stripe_.V2.Core.EventDestinationCreateParams.AzureEventGrid; + export type Include = Stripe_.V2.Core.EventDestinationCreateParams.Include; + export type WebhookEndpoint = Stripe_.V2.Core.EventDestinationCreateParams.WebhookEndpoint; } export namespace EventDestination { - export type AmazonEventbridge = Stripe.V2.Core.EventDestination.AmazonEventbridge; - export type AzureEventGrid = Stripe.V2.Core.EventDestination.AzureEventGrid; - export type EventPayload = Stripe.V2.Core.EventDestination.EventPayload; - export type Status = Stripe.V2.Core.EventDestination.Status; - export type StatusDetails = Stripe.V2.Core.EventDestination.StatusDetails; - export type Type = Stripe.V2.Core.EventDestination.Type; - export type WebhookEndpoint = Stripe.V2.Core.EventDestination.WebhookEndpoint; + export type AmazonEventbridge = Stripe_.V2.Core.EventDestination.AmazonEventbridge; + export type AzureEventGrid = Stripe_.V2.Core.EventDestination.AzureEventGrid; + export type EventPayload = Stripe_.V2.Core.EventDestination.EventPayload; + export type Status = Stripe_.V2.Core.EventDestination.Status; + export type StatusDetails = Stripe_.V2.Core.EventDestination.StatusDetails; + export type Type = Stripe_.V2.Core.EventDestination.Type; + export type WebhookEndpoint = Stripe_.V2.Core.EventDestination.WebhookEndpoint; export namespace AmazonEventbridge { - export type AwsEventSourceStatus = Stripe.V2.Core.EventDestination.AmazonEventbridge.AwsEventSourceStatus; + export type AwsEventSourceStatus = Stripe_.V2.Core.EventDestination.AmazonEventbridge.AwsEventSourceStatus; } export namespace AzureEventGrid { - export type AzurePartnerTopicStatus = Stripe.V2.Core.EventDestination.AzureEventGrid.AzurePartnerTopicStatus; + export type AzurePartnerTopicStatus = Stripe_.V2.Core.EventDestination.AzureEventGrid.AzurePartnerTopicStatus; } export namespace StatusDetails { - export type Disabled = Stripe.V2.Core.EventDestination.StatusDetails.Disabled; + export type Disabled = Stripe_.V2.Core.EventDestination.StatusDetails.Disabled; export namespace Disabled { - export type Reason = Stripe.V2.Core.EventDestination.StatusDetails.Disabled.Reason; + export type Reason = Stripe_.V2.Core.EventDestination.StatusDetails.Disabled.Reason; } } } export namespace AccountPerson { - export type AdditionalAddress = Stripe.V2.Core.AccountPerson.AdditionalAddress; - export type AdditionalName = Stripe.V2.Core.AccountPerson.AdditionalName; - export type AdditionalTermsOfService = Stripe.V2.Core.AccountPerson.AdditionalTermsOfService; - export type Address = Stripe.V2.Core.AccountPerson.Address; - export type DateOfBirth = Stripe.V2.Core.AccountPerson.DateOfBirth; - export type Documents = Stripe.V2.Core.AccountPerson.Documents; - export type IdNumber = Stripe.V2.Core.AccountPerson.IdNumber; - export type LegalGender = Stripe.V2.Core.AccountPerson.LegalGender; - export type PoliticalExposure = Stripe.V2.Core.AccountPerson.PoliticalExposure; - export type Relationship = Stripe.V2.Core.AccountPerson.Relationship; - export type ScriptAddresses = Stripe.V2.Core.AccountPerson.ScriptAddresses; - export type ScriptNames = Stripe.V2.Core.AccountPerson.ScriptNames; + export type AdditionalAddress = Stripe_.V2.Core.AccountPerson.AdditionalAddress; + export type AdditionalName = Stripe_.V2.Core.AccountPerson.AdditionalName; + export type AdditionalTermsOfService = Stripe_.V2.Core.AccountPerson.AdditionalTermsOfService; + export type Address = Stripe_.V2.Core.AccountPerson.Address; + export type DateOfBirth = Stripe_.V2.Core.AccountPerson.DateOfBirth; + export type Documents = Stripe_.V2.Core.AccountPerson.Documents; + export type IdNumber = Stripe_.V2.Core.AccountPerson.IdNumber; + export type LegalGender = Stripe_.V2.Core.AccountPerson.LegalGender; + export type PoliticalExposure = Stripe_.V2.Core.AccountPerson.PoliticalExposure; + export type Relationship = Stripe_.V2.Core.AccountPerson.Relationship; + export type ScriptAddresses = Stripe_.V2.Core.AccountPerson.ScriptAddresses; + export type ScriptNames = Stripe_.V2.Core.AccountPerson.ScriptNames; export namespace AdditionalName { - export type Purpose = Stripe.V2.Core.AccountPerson.AdditionalName.Purpose; + export type Purpose = Stripe_.V2.Core.AccountPerson.AdditionalName.Purpose; } export namespace AdditionalTermsOfService { - export type Account = Stripe.V2.Core.AccountPerson.AdditionalTermsOfService.Account; + export type Account = Stripe_.V2.Core.AccountPerson.AdditionalTermsOfService.Account; } export namespace Documents { - export type CompanyAuthorization = Stripe.V2.Core.AccountPerson.Documents.CompanyAuthorization; - export type Passport = Stripe.V2.Core.AccountPerson.Documents.Passport; - export type PrimaryVerification = Stripe.V2.Core.AccountPerson.Documents.PrimaryVerification; - export type SecondaryVerification = Stripe.V2.Core.AccountPerson.Documents.SecondaryVerification; - export type Visa = Stripe.V2.Core.AccountPerson.Documents.Visa; + export type CompanyAuthorization = Stripe_.V2.Core.AccountPerson.Documents.CompanyAuthorization; + export type Passport = Stripe_.V2.Core.AccountPerson.Documents.Passport; + export type PrimaryVerification = Stripe_.V2.Core.AccountPerson.Documents.PrimaryVerification; + export type SecondaryVerification = Stripe_.V2.Core.AccountPerson.Documents.SecondaryVerification; + export type Visa = Stripe_.V2.Core.AccountPerson.Documents.Visa; export namespace PrimaryVerification { - export type FrontBack = Stripe.V2.Core.AccountPerson.Documents.PrimaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.AccountPerson.Documents.PrimaryVerification.FrontBack; } export namespace SecondaryVerification { - export type FrontBack = Stripe.V2.Core.AccountPerson.Documents.SecondaryVerification.FrontBack; + export type FrontBack = Stripe_.V2.Core.AccountPerson.Documents.SecondaryVerification.FrontBack; } } export namespace IdNumber { - export type Type = Stripe.V2.Core.AccountPerson.IdNumber.Type; + export type Type = Stripe_.V2.Core.AccountPerson.IdNumber.Type; } export namespace ScriptAddresses { - export type Kana = Stripe.V2.Core.AccountPerson.ScriptAddresses.Kana; - export type Kanji = Stripe.V2.Core.AccountPerson.ScriptAddresses.Kanji; + export type Kana = Stripe_.V2.Core.AccountPerson.ScriptAddresses.Kana; + export type Kanji = Stripe_.V2.Core.AccountPerson.ScriptAddresses.Kanji; } export namespace ScriptNames { - export type Kana = Stripe.V2.Core.AccountPerson.ScriptNames.Kana; - export type Kanji = Stripe.V2.Core.AccountPerson.ScriptNames.Kanji; + export type Kana = Stripe_.V2.Core.AccountPerson.ScriptNames.Kana; + export type Kanji = Stripe_.V2.Core.AccountPerson.ScriptNames.Kanji; } } } export namespace Commerce { - export type ProductCatalogImport = Stripe.V2.Commerce.ProductCatalogImport; + export type ProductCatalogImport = Stripe_.V2.Commerce.ProductCatalogImport; export namespace ProductCatalogImport { - export type FeedType = Stripe.V2.Commerce.ProductCatalogImport.FeedType; - export type Status = Stripe.V2.Commerce.ProductCatalogImport.Status; - export type StatusDetails = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails; + export type FeedType = Stripe_.V2.Commerce.ProductCatalogImport.FeedType; + export type Status = Stripe_.V2.Commerce.ProductCatalogImport.Status; + export type StatusDetails = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails; export namespace StatusDetails { - export type AwaitingUpload = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.AwaitingUpload; - export type Failed = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Failed; - export type Processing = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Processing; - export type Succeeded = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Succeeded; - export type SucceededWithErrors = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors; + export type AwaitingUpload = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.AwaitingUpload; + export type Failed = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.Failed; + export type Processing = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.Processing; + export type Succeeded = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.Succeeded; + export type SucceededWithErrors = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors; export namespace AwaitingUpload { - export type UploadUrl = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.AwaitingUpload.UploadUrl; + export type UploadUrl = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.AwaitingUpload.UploadUrl; } export namespace Failed { - export type Code = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Failed.Code; - export type Type = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.Failed.Type; + export type Code = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.Failed.Code; + export type Type = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.Failed.Type; } export namespace SucceededWithErrors { - export type ErrorFile = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.ErrorFile; - export type Sample = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.Sample; + export type ErrorFile = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.ErrorFile; + export type Sample = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.Sample; export namespace ErrorFile { - export type DownloadUrl = Stripe.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.ErrorFile.DownloadUrl; + export type DownloadUrl = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails.SucceededWithErrors.ErrorFile.DownloadUrl; } } } @@ -13961,436 +13961,436 @@ declare namespace StripeConstructor { } } export namespace Reserve { - export type Hold = Stripe.Reserve.Hold; - export type Plan = Stripe.Reserve.Plan; - export type Release = Stripe.Reserve.Release; + export type Hold = Stripe_.Reserve.Hold; + export type Plan = Stripe_.Reserve.Plan; + export type Release = Stripe_.Reserve.Release; export namespace Hold { - export type CreatedBy = Stripe.Reserve.Hold.CreatedBy; - export type Reason = Stripe.Reserve.Hold.Reason; - export type ReleaseSchedule = Stripe.Reserve.Hold.ReleaseSchedule; - export type SourceType = Stripe.Reserve.Hold.SourceType; + export type CreatedBy = Stripe_.Reserve.Hold.CreatedBy; + export type Reason = Stripe_.Reserve.Hold.Reason; + export type ReleaseSchedule = Stripe_.Reserve.Hold.ReleaseSchedule; + export type SourceType = Stripe_.Reserve.Hold.SourceType; } export namespace Plan { - export type CreatedBy = Stripe.Reserve.Plan.CreatedBy; - export type FixedRelease = Stripe.Reserve.Plan.FixedRelease; - export type RollingRelease = Stripe.Reserve.Plan.RollingRelease; - export type Status = Stripe.Reserve.Plan.Status; - export type Type = Stripe.Reserve.Plan.Type; + export type CreatedBy = Stripe_.Reserve.Plan.CreatedBy; + export type FixedRelease = Stripe_.Reserve.Plan.FixedRelease; + export type RollingRelease = Stripe_.Reserve.Plan.RollingRelease; + export type Status = Stripe_.Reserve.Plan.Status; + export type Type = Stripe_.Reserve.Plan.Type; } export namespace Release { - export type CreatedBy = Stripe.Reserve.Release.CreatedBy; - export type Reason = Stripe.Reserve.Release.Reason; - export type SourceTransaction = Stripe.Reserve.Release.SourceTransaction; + export type CreatedBy = Stripe_.Reserve.Release.CreatedBy; + export type Reason = Stripe_.Reserve.Release.Reason; + export type SourceTransaction = Stripe_.Reserve.Release.SourceTransaction; export namespace SourceTransaction { - export type Type = Stripe.Reserve.Release.SourceTransaction.Type; + export type Type = Stripe_.Reserve.Release.SourceTransaction.Type; } } } export namespace Events { - export type UnknownEventNotification = Stripe.V2.Core.Events.UnknownEventNotification; - export type V1BillingMeterErrorReportTriggeredEvent = Stripe.V2.Core.Events.V1BillingMeterErrorReportTriggeredEvent; - export type V1BillingMeterErrorReportTriggeredEventNotification = Stripe.V2.Core.Events.V1BillingMeterErrorReportTriggeredEventNotification; - export type V1BillingMeterNoMeterFoundEvent = Stripe.V2.Core.Events.V1BillingMeterNoMeterFoundEvent; - export type V1BillingMeterNoMeterFoundEventNotification = Stripe.V2.Core.Events.V1BillingMeterNoMeterFoundEventNotification; - export type V2CommerceProductCatalogImportsFailedEvent = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsFailedEvent; - export type V2CommerceProductCatalogImportsFailedEventNotification = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsFailedEventNotification; - export type V2CommerceProductCatalogImportsProcessingEvent = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsProcessingEvent; - export type V2CommerceProductCatalogImportsProcessingEventNotification = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsProcessingEventNotification; - export type V2CommerceProductCatalogImportsSucceededEvent = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsSucceededEvent; - export type V2CommerceProductCatalogImportsSucceededEventNotification = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsSucceededEventNotification; - export type V2CommerceProductCatalogImportsSucceededWithErrorsEvent = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsSucceededWithErrorsEvent; - export type V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification; - export type V2CoreAccountClosedEvent = Stripe.V2.Core.Events.V2CoreAccountClosedEvent; - export type V2CoreAccountClosedEventNotification = Stripe.V2.Core.Events.V2CoreAccountClosedEventNotification; - export type V2CoreAccountCreatedEvent = Stripe.V2.Core.Events.V2CoreAccountCreatedEvent; - export type V2CoreAccountCreatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountCreatedEventNotification; - export type V2CoreAccountUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountUpdatedEvent; - export type V2CoreAccountUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent; - export type V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationCustomerUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEvent; - export type V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent; - export type V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationMerchantUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEvent; - export type V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent; - export type V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationRecipientUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEvent; - export type V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification; - export type V2CoreAccountIncludingDefaultsUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingDefaultsUpdatedEvent; - export type V2CoreAccountIncludingDefaultsUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingDefaultsUpdatedEventNotification; - export type V2CoreAccountIncludingFutureRequirementsUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingFutureRequirementsUpdatedEvent; - export type V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification; - export type V2CoreAccountIncludingIdentityUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingIdentityUpdatedEvent; - export type V2CoreAccountIncludingIdentityUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingIdentityUpdatedEventNotification; - export type V2CoreAccountIncludingRequirementsUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingRequirementsUpdatedEvent; - export type V2CoreAccountIncludingRequirementsUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingRequirementsUpdatedEventNotification; - export type V2CoreAccountLinkReturnedEvent = Stripe.V2.Core.Events.V2CoreAccountLinkReturnedEvent; - export type V2CoreAccountLinkReturnedEventNotification = Stripe.V2.Core.Events.V2CoreAccountLinkReturnedEventNotification; - export type V2CoreAccountPersonCreatedEvent = Stripe.V2.Core.Events.V2CoreAccountPersonCreatedEvent; - export type V2CoreAccountPersonCreatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountPersonCreatedEventNotification; - export type V2CoreAccountPersonDeletedEvent = Stripe.V2.Core.Events.V2CoreAccountPersonDeletedEvent; - export type V2CoreAccountPersonDeletedEventNotification = Stripe.V2.Core.Events.V2CoreAccountPersonDeletedEventNotification; - export type V2CoreAccountPersonUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountPersonUpdatedEvent; - export type V2CoreAccountPersonUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountPersonUpdatedEventNotification; - export type V2CoreEventDestinationPingEvent = Stripe.V2.Core.Events.V2CoreEventDestinationPingEvent; - export type V2CoreEventDestinationPingEventNotification = Stripe.V2.Core.Events.V2CoreEventDestinationPingEventNotification; + export type UnknownEventNotification = Stripe_.V2.Core.Events.UnknownEventNotification; + export type V1BillingMeterErrorReportTriggeredEvent = Stripe_.V2.Core.Events.V1BillingMeterErrorReportTriggeredEvent; + export type V1BillingMeterErrorReportTriggeredEventNotification = Stripe_.V2.Core.Events.V1BillingMeterErrorReportTriggeredEventNotification; + export type V1BillingMeterNoMeterFoundEvent = Stripe_.V2.Core.Events.V1BillingMeterNoMeterFoundEvent; + export type V1BillingMeterNoMeterFoundEventNotification = Stripe_.V2.Core.Events.V1BillingMeterNoMeterFoundEventNotification; + export type V2CommerceProductCatalogImportsFailedEvent = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsFailedEvent; + export type V2CommerceProductCatalogImportsFailedEventNotification = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsFailedEventNotification; + export type V2CommerceProductCatalogImportsProcessingEvent = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsProcessingEvent; + export type V2CommerceProductCatalogImportsProcessingEventNotification = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsProcessingEventNotification; + export type V2CommerceProductCatalogImportsSucceededEvent = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsSucceededEvent; + export type V2CommerceProductCatalogImportsSucceededEventNotification = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsSucceededEventNotification; + export type V2CommerceProductCatalogImportsSucceededWithErrorsEvent = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsSucceededWithErrorsEvent; + export type V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification; + export type V2CoreAccountClosedEvent = Stripe_.V2.Core.Events.V2CoreAccountClosedEvent; + export type V2CoreAccountClosedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountClosedEventNotification; + export type V2CoreAccountCreatedEvent = Stripe_.V2.Core.Events.V2CoreAccountCreatedEvent; + export type V2CoreAccountCreatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountCreatedEventNotification; + export type V2CoreAccountUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountUpdatedEvent; + export type V2CoreAccountUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationCustomerUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEvent; + export type V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationMerchantUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEvent; + export type V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationRecipientUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEvent; + export type V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification; + export type V2CoreAccountIncludingDefaultsUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingDefaultsUpdatedEvent; + export type V2CoreAccountIncludingDefaultsUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingDefaultsUpdatedEventNotification; + export type V2CoreAccountIncludingFutureRequirementsUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingFutureRequirementsUpdatedEvent; + export type V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification; + export type V2CoreAccountIncludingIdentityUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingIdentityUpdatedEvent; + export type V2CoreAccountIncludingIdentityUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingIdentityUpdatedEventNotification; + export type V2CoreAccountIncludingRequirementsUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingRequirementsUpdatedEvent; + export type V2CoreAccountIncludingRequirementsUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingRequirementsUpdatedEventNotification; + export type V2CoreAccountLinkReturnedEvent = Stripe_.V2.Core.Events.V2CoreAccountLinkReturnedEvent; + export type V2CoreAccountLinkReturnedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountLinkReturnedEventNotification; + export type V2CoreAccountPersonCreatedEvent = Stripe_.V2.Core.Events.V2CoreAccountPersonCreatedEvent; + export type V2CoreAccountPersonCreatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountPersonCreatedEventNotification; + export type V2CoreAccountPersonDeletedEvent = Stripe_.V2.Core.Events.V2CoreAccountPersonDeletedEvent; + export type V2CoreAccountPersonDeletedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountPersonDeletedEventNotification; + export type V2CoreAccountPersonUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountPersonUpdatedEvent; + export type V2CoreAccountPersonUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountPersonUpdatedEventNotification; + export type V2CoreEventDestinationPingEvent = Stripe_.V2.Core.Events.V2CoreEventDestinationPingEvent; + export type V2CoreEventDestinationPingEventNotification = Stripe_.V2.Core.Events.V2CoreEventDestinationPingEventNotification; export namespace V1BillingMeterErrorReportTriggeredEvent { - export type Data = Stripe.V2.Core.Events.V1BillingMeterErrorReportTriggeredEvent.Data; + export type Data = Stripe_.V2.Core.Events.V1BillingMeterErrorReportTriggeredEvent.Data; } export namespace V1BillingMeterNoMeterFoundEvent { - export type Data = Stripe.V2.Core.Events.V1BillingMeterNoMeterFoundEvent.Data; + export type Data = Stripe_.V2.Core.Events.V1BillingMeterNoMeterFoundEvent.Data; } export namespace V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent.Data; } export namespace V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.Data; } export namespace V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.Data; } export namespace V2CoreAccountLinkReturnedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountLinkReturnedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountLinkReturnedEvent.Data; } export namespace V2CoreAccountPersonCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountPersonCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountPersonCreatedEvent.Data; } export namespace V2CoreAccountPersonDeletedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountPersonDeletedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountPersonDeletedEvent.Data; } export namespace V2CoreAccountPersonUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountPersonUpdatedEvent.Data; - } - } - export type AccountApplicationAuthorizedEvent = Stripe.AccountApplicationAuthorizedEvent; - export type AccountApplicationDeauthorizedEvent = Stripe.AccountApplicationDeauthorizedEvent; - export type AccountExternalAccountCreatedEvent = Stripe.AccountExternalAccountCreatedEvent; - export type AccountExternalAccountDeletedEvent = Stripe.AccountExternalAccountDeletedEvent; - export type AccountExternalAccountUpdatedEvent = Stripe.AccountExternalAccountUpdatedEvent; - export type AccountUpdatedEvent = Stripe.AccountUpdatedEvent; - export type ApplicationFeeCreatedEvent = Stripe.ApplicationFeeCreatedEvent; - export type ApplicationFeeRefundUpdatedEvent = Stripe.ApplicationFeeRefundUpdatedEvent; - export type ApplicationFeeRefundedEvent = Stripe.ApplicationFeeRefundedEvent; - export type BalanceAvailableEvent = Stripe.BalanceAvailableEvent; - export type BalanceSettingsUpdatedEvent = Stripe.BalanceSettingsUpdatedEvent; - export type BillingAlertTriggeredEvent = Stripe.BillingAlertTriggeredEvent; - export type BillingCreditBalanceTransactionCreatedEvent = Stripe.BillingCreditBalanceTransactionCreatedEvent; - export type BillingCreditGrantCreatedEvent = Stripe.BillingCreditGrantCreatedEvent; - export type BillingCreditGrantUpdatedEvent = Stripe.BillingCreditGrantUpdatedEvent; - export type BillingMeterCreatedEvent = Stripe.BillingMeterCreatedEvent; - export type BillingMeterDeactivatedEvent = Stripe.BillingMeterDeactivatedEvent; - export type BillingMeterReactivatedEvent = Stripe.BillingMeterReactivatedEvent; - export type BillingMeterUpdatedEvent = Stripe.BillingMeterUpdatedEvent; - export type BillingPortalConfigurationCreatedEvent = Stripe.BillingPortalConfigurationCreatedEvent; - export type BillingPortalConfigurationUpdatedEvent = Stripe.BillingPortalConfigurationUpdatedEvent; - export type BillingPortalSessionCreatedEvent = Stripe.BillingPortalSessionCreatedEvent; - export type CapabilityUpdatedEvent = Stripe.CapabilityUpdatedEvent; - export type CashBalanceFundsAvailableEvent = Stripe.CashBalanceFundsAvailableEvent; - export type ChargeCapturedEvent = Stripe.ChargeCapturedEvent; - export type ChargeDisputeClosedEvent = Stripe.ChargeDisputeClosedEvent; - export type ChargeDisputeCreatedEvent = Stripe.ChargeDisputeCreatedEvent; - export type ChargeDisputeFundsReinstatedEvent = Stripe.ChargeDisputeFundsReinstatedEvent; - export type ChargeDisputeFundsWithdrawnEvent = Stripe.ChargeDisputeFundsWithdrawnEvent; - export type ChargeDisputeUpdatedEvent = Stripe.ChargeDisputeUpdatedEvent; - export type ChargeExpiredEvent = Stripe.ChargeExpiredEvent; - export type ChargeFailedEvent = Stripe.ChargeFailedEvent; - export type ChargePendingEvent = Stripe.ChargePendingEvent; - export type ChargeRefundUpdatedEvent = Stripe.ChargeRefundUpdatedEvent; - export type ChargeRefundedEvent = Stripe.ChargeRefundedEvent; - export type ChargeSucceededEvent = Stripe.ChargeSucceededEvent; - export type ChargeUpdatedEvent = Stripe.ChargeUpdatedEvent; - export type CheckoutSessionAsyncPaymentFailedEvent = Stripe.CheckoutSessionAsyncPaymentFailedEvent; - export type CheckoutSessionAsyncPaymentSucceededEvent = Stripe.CheckoutSessionAsyncPaymentSucceededEvent; - export type CheckoutSessionCompletedEvent = Stripe.CheckoutSessionCompletedEvent; - export type CheckoutSessionExpiredEvent = Stripe.CheckoutSessionExpiredEvent; - export type ClimateOrderCanceledEvent = Stripe.ClimateOrderCanceledEvent; - export type ClimateOrderCreatedEvent = Stripe.ClimateOrderCreatedEvent; - export type ClimateOrderDelayedEvent = Stripe.ClimateOrderDelayedEvent; - export type ClimateOrderDeliveredEvent = Stripe.ClimateOrderDeliveredEvent; - export type ClimateOrderProductSubstitutedEvent = Stripe.ClimateOrderProductSubstitutedEvent; - export type ClimateProductCreatedEvent = Stripe.ClimateProductCreatedEvent; - export type ClimateProductPricingUpdatedEvent = Stripe.ClimateProductPricingUpdatedEvent; - export type CouponCreatedEvent = Stripe.CouponCreatedEvent; - export type CouponDeletedEvent = Stripe.CouponDeletedEvent; - export type CouponUpdatedEvent = Stripe.CouponUpdatedEvent; - export type CreditNoteCreatedEvent = Stripe.CreditNoteCreatedEvent; - export type CreditNoteUpdatedEvent = Stripe.CreditNoteUpdatedEvent; - export type CreditNoteVoidedEvent = Stripe.CreditNoteVoidedEvent; - export type CustomerCreatedEvent = Stripe.CustomerCreatedEvent; - export type CustomerDeletedEvent = Stripe.CustomerDeletedEvent; - export type CustomerDiscountCreatedEvent = Stripe.CustomerDiscountCreatedEvent; - export type CustomerDiscountDeletedEvent = Stripe.CustomerDiscountDeletedEvent; - export type CustomerDiscountUpdatedEvent = Stripe.CustomerDiscountUpdatedEvent; - export type CustomerSourceCreatedEvent = Stripe.CustomerSourceCreatedEvent; - export type CustomerSourceDeletedEvent = Stripe.CustomerSourceDeletedEvent; - export type CustomerSourceExpiringEvent = Stripe.CustomerSourceExpiringEvent; - export type CustomerSourceUpdatedEvent = Stripe.CustomerSourceUpdatedEvent; - export type CustomerSubscriptionCreatedEvent = Stripe.CustomerSubscriptionCreatedEvent; - export type CustomerSubscriptionDeletedEvent = Stripe.CustomerSubscriptionDeletedEvent; - export type CustomerSubscriptionPausedEvent = Stripe.CustomerSubscriptionPausedEvent; - export type CustomerSubscriptionPendingUpdateAppliedEvent = Stripe.CustomerSubscriptionPendingUpdateAppliedEvent; - export type CustomerSubscriptionPendingUpdateExpiredEvent = Stripe.CustomerSubscriptionPendingUpdateExpiredEvent; - export type CustomerSubscriptionResumedEvent = Stripe.CustomerSubscriptionResumedEvent; - export type CustomerSubscriptionTrialWillEndEvent = Stripe.CustomerSubscriptionTrialWillEndEvent; - export type CustomerSubscriptionUpdatedEvent = Stripe.CustomerSubscriptionUpdatedEvent; - export type CustomerTaxIdCreatedEvent = Stripe.CustomerTaxIdCreatedEvent; - export type CustomerTaxIdDeletedEvent = Stripe.CustomerTaxIdDeletedEvent; - export type CustomerTaxIdUpdatedEvent = Stripe.CustomerTaxIdUpdatedEvent; - export type CustomerUpdatedEvent = Stripe.CustomerUpdatedEvent; - export type CustomerCashBalanceTransactionCreatedEvent = Stripe.CustomerCashBalanceTransactionCreatedEvent; - export type EntitlementsActiveEntitlementSummaryUpdatedEvent = Stripe.EntitlementsActiveEntitlementSummaryUpdatedEvent; - export type FileCreatedEvent = Stripe.FileCreatedEvent; - export type FinancialConnectionsAccountAccountNumbersUpdatedEvent = Stripe.FinancialConnectionsAccountAccountNumbersUpdatedEvent; - export type FinancialConnectionsAccountCreatedEvent = Stripe.FinancialConnectionsAccountCreatedEvent; - export type FinancialConnectionsAccountDeactivatedEvent = Stripe.FinancialConnectionsAccountDeactivatedEvent; - export type FinancialConnectionsAccountDisconnectedEvent = Stripe.FinancialConnectionsAccountDisconnectedEvent; - export type FinancialConnectionsAccountReactivatedEvent = Stripe.FinancialConnectionsAccountReactivatedEvent; - export type FinancialConnectionsAccountRefreshedBalanceEvent = Stripe.FinancialConnectionsAccountRefreshedBalanceEvent; - export type FinancialConnectionsAccountRefreshedOwnershipEvent = Stripe.FinancialConnectionsAccountRefreshedOwnershipEvent; - export type FinancialConnectionsAccountRefreshedTransactionsEvent = Stripe.FinancialConnectionsAccountRefreshedTransactionsEvent; - export type FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent = Stripe.FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent; - export type IdentityVerificationSessionCanceledEvent = Stripe.IdentityVerificationSessionCanceledEvent; - export type IdentityVerificationSessionCreatedEvent = Stripe.IdentityVerificationSessionCreatedEvent; - export type IdentityVerificationSessionProcessingEvent = Stripe.IdentityVerificationSessionProcessingEvent; - export type IdentityVerificationSessionRedactedEvent = Stripe.IdentityVerificationSessionRedactedEvent; - export type IdentityVerificationSessionRequiresInputEvent = Stripe.IdentityVerificationSessionRequiresInputEvent; - export type IdentityVerificationSessionVerifiedEvent = Stripe.IdentityVerificationSessionVerifiedEvent; - export type InvoiceCreatedEvent = Stripe.InvoiceCreatedEvent; - export type InvoiceDeletedEvent = Stripe.InvoiceDeletedEvent; - export type InvoiceFinalizationFailedEvent = Stripe.InvoiceFinalizationFailedEvent; - export type InvoiceFinalizedEvent = Stripe.InvoiceFinalizedEvent; - export type InvoiceMarkedUncollectibleEvent = Stripe.InvoiceMarkedUncollectibleEvent; - export type InvoiceOverdueEvent = Stripe.InvoiceOverdueEvent; - export type InvoiceOverpaidEvent = Stripe.InvoiceOverpaidEvent; - export type InvoicePaidEvent = Stripe.InvoicePaidEvent; - export type InvoicePaymentActionRequiredEvent = Stripe.InvoicePaymentActionRequiredEvent; - export type InvoicePaymentAttemptRequiredEvent = Stripe.InvoicePaymentAttemptRequiredEvent; - export type InvoicePaymentFailedEvent = Stripe.InvoicePaymentFailedEvent; - export type InvoicePaymentSucceededEvent = Stripe.InvoicePaymentSucceededEvent; - export type InvoiceSentEvent = Stripe.InvoiceSentEvent; - export type InvoiceUpcomingEvent = Stripe.InvoiceUpcomingEvent; - export type InvoiceUpdatedEvent = Stripe.InvoiceUpdatedEvent; - export type InvoiceVoidedEvent = Stripe.InvoiceVoidedEvent; - export type InvoiceWillBeDueEvent = Stripe.InvoiceWillBeDueEvent; - export type InvoicePaymentPaidEvent = Stripe.InvoicePaymentPaidEvent; - export type InvoiceItemCreatedEvent = Stripe.InvoiceItemCreatedEvent; - export type InvoiceItemDeletedEvent = Stripe.InvoiceItemDeletedEvent; - export type IssuingAuthorizationCreatedEvent = Stripe.IssuingAuthorizationCreatedEvent; - export type IssuingAuthorizationRequestEvent = Stripe.IssuingAuthorizationRequestEvent; - export type IssuingAuthorizationUpdatedEvent = Stripe.IssuingAuthorizationUpdatedEvent; - export type IssuingCardCreatedEvent = Stripe.IssuingCardCreatedEvent; - export type IssuingCardUpdatedEvent = Stripe.IssuingCardUpdatedEvent; - export type IssuingCardholderCreatedEvent = Stripe.IssuingCardholderCreatedEvent; - export type IssuingCardholderUpdatedEvent = Stripe.IssuingCardholderUpdatedEvent; - export type IssuingDisputeClosedEvent = Stripe.IssuingDisputeClosedEvent; - export type IssuingDisputeCreatedEvent = Stripe.IssuingDisputeCreatedEvent; - export type IssuingDisputeFundsReinstatedEvent = Stripe.IssuingDisputeFundsReinstatedEvent; - export type IssuingDisputeFundsRescindedEvent = Stripe.IssuingDisputeFundsRescindedEvent; - export type IssuingDisputeSubmittedEvent = Stripe.IssuingDisputeSubmittedEvent; - export type IssuingDisputeUpdatedEvent = Stripe.IssuingDisputeUpdatedEvent; - export type IssuingPersonalizationDesignActivatedEvent = Stripe.IssuingPersonalizationDesignActivatedEvent; - export type IssuingPersonalizationDesignDeactivatedEvent = Stripe.IssuingPersonalizationDesignDeactivatedEvent; - export type IssuingPersonalizationDesignRejectedEvent = Stripe.IssuingPersonalizationDesignRejectedEvent; - export type IssuingPersonalizationDesignUpdatedEvent = Stripe.IssuingPersonalizationDesignUpdatedEvent; - export type IssuingTokenCreatedEvent = Stripe.IssuingTokenCreatedEvent; - export type IssuingTokenUpdatedEvent = Stripe.IssuingTokenUpdatedEvent; - export type IssuingTransactionCreatedEvent = Stripe.IssuingTransactionCreatedEvent; - export type IssuingTransactionPurchaseDetailsReceiptUpdatedEvent = Stripe.IssuingTransactionPurchaseDetailsReceiptUpdatedEvent; - export type IssuingTransactionUpdatedEvent = Stripe.IssuingTransactionUpdatedEvent; - export type MandateUpdatedEvent = Stripe.MandateUpdatedEvent; - export type PaymentIntentAmountCapturableUpdatedEvent = Stripe.PaymentIntentAmountCapturableUpdatedEvent; - export type PaymentIntentCanceledEvent = Stripe.PaymentIntentCanceledEvent; - export type PaymentIntentCreatedEvent = Stripe.PaymentIntentCreatedEvent; - export type PaymentIntentPartiallyFundedEvent = Stripe.PaymentIntentPartiallyFundedEvent; - export type PaymentIntentPaymentFailedEvent = Stripe.PaymentIntentPaymentFailedEvent; - export type PaymentIntentProcessingEvent = Stripe.PaymentIntentProcessingEvent; - export type PaymentIntentRequiresActionEvent = Stripe.PaymentIntentRequiresActionEvent; - export type PaymentIntentSucceededEvent = Stripe.PaymentIntentSucceededEvent; - export type PaymentLinkCreatedEvent = Stripe.PaymentLinkCreatedEvent; - export type PaymentLinkUpdatedEvent = Stripe.PaymentLinkUpdatedEvent; - export type PaymentMethodAttachedEvent = Stripe.PaymentMethodAttachedEvent; - export type PaymentMethodAutomaticallyUpdatedEvent = Stripe.PaymentMethodAutomaticallyUpdatedEvent; - export type PaymentMethodDetachedEvent = Stripe.PaymentMethodDetachedEvent; - export type PaymentMethodUpdatedEvent = Stripe.PaymentMethodUpdatedEvent; - export type PayoutCanceledEvent = Stripe.PayoutCanceledEvent; - export type PayoutCreatedEvent = Stripe.PayoutCreatedEvent; - export type PayoutFailedEvent = Stripe.PayoutFailedEvent; - export type PayoutPaidEvent = Stripe.PayoutPaidEvent; - export type PayoutReconciliationCompletedEvent = Stripe.PayoutReconciliationCompletedEvent; - export type PayoutUpdatedEvent = Stripe.PayoutUpdatedEvent; - export type PersonCreatedEvent = Stripe.PersonCreatedEvent; - export type PersonDeletedEvent = Stripe.PersonDeletedEvent; - export type PersonUpdatedEvent = Stripe.PersonUpdatedEvent; - export type PlanCreatedEvent = Stripe.PlanCreatedEvent; - export type PlanDeletedEvent = Stripe.PlanDeletedEvent; - export type PlanUpdatedEvent = Stripe.PlanUpdatedEvent; - export type PriceCreatedEvent = Stripe.PriceCreatedEvent; - export type PriceDeletedEvent = Stripe.PriceDeletedEvent; - export type PriceUpdatedEvent = Stripe.PriceUpdatedEvent; - export type ProductCreatedEvent = Stripe.ProductCreatedEvent; - export type ProductDeletedEvent = Stripe.ProductDeletedEvent; - export type ProductUpdatedEvent = Stripe.ProductUpdatedEvent; - export type PromotionCodeCreatedEvent = Stripe.PromotionCodeCreatedEvent; - export type PromotionCodeUpdatedEvent = Stripe.PromotionCodeUpdatedEvent; - export type QuoteAcceptedEvent = Stripe.QuoteAcceptedEvent; - export type QuoteCanceledEvent = Stripe.QuoteCanceledEvent; - export type QuoteCreatedEvent = Stripe.QuoteCreatedEvent; - export type QuoteFinalizedEvent = Stripe.QuoteFinalizedEvent; - export type RadarEarlyFraudWarningCreatedEvent = Stripe.RadarEarlyFraudWarningCreatedEvent; - export type RadarEarlyFraudWarningUpdatedEvent = Stripe.RadarEarlyFraudWarningUpdatedEvent; - export type RefundCreatedEvent = Stripe.RefundCreatedEvent; - export type RefundFailedEvent = Stripe.RefundFailedEvent; - export type RefundUpdatedEvent = Stripe.RefundUpdatedEvent; - export type ReportingReportRunFailedEvent = Stripe.ReportingReportRunFailedEvent; - export type ReportingReportRunSucceededEvent = Stripe.ReportingReportRunSucceededEvent; - export type ReportingReportTypeUpdatedEvent = Stripe.ReportingReportTypeUpdatedEvent; - export type ReserveHoldCreatedEvent = Stripe.ReserveHoldCreatedEvent; - export type ReserveHoldUpdatedEvent = Stripe.ReserveHoldUpdatedEvent; - export type ReservePlanCreatedEvent = Stripe.ReservePlanCreatedEvent; - export type ReservePlanDisabledEvent = Stripe.ReservePlanDisabledEvent; - export type ReservePlanExpiredEvent = Stripe.ReservePlanExpiredEvent; - export type ReservePlanUpdatedEvent = Stripe.ReservePlanUpdatedEvent; - export type ReserveReleaseCreatedEvent = Stripe.ReserveReleaseCreatedEvent; - export type ReviewClosedEvent = Stripe.ReviewClosedEvent; - export type ReviewOpenedEvent = Stripe.ReviewOpenedEvent; - export type SetupIntentCanceledEvent = Stripe.SetupIntentCanceledEvent; - export type SetupIntentCreatedEvent = Stripe.SetupIntentCreatedEvent; - export type SetupIntentRequiresActionEvent = Stripe.SetupIntentRequiresActionEvent; - export type SetupIntentSetupFailedEvent = Stripe.SetupIntentSetupFailedEvent; - export type SetupIntentSucceededEvent = Stripe.SetupIntentSucceededEvent; - export type SigmaScheduledQueryRunCreatedEvent = Stripe.SigmaScheduledQueryRunCreatedEvent; - export type SourceCanceledEvent = Stripe.SourceCanceledEvent; - export type SourceChargeableEvent = Stripe.SourceChargeableEvent; - export type SourceFailedEvent = Stripe.SourceFailedEvent; - export type SourceMandateNotificationEvent = Stripe.SourceMandateNotificationEvent; - export type SourceRefundAttributesRequiredEvent = Stripe.SourceRefundAttributesRequiredEvent; - export type SourceTransactionCreatedEvent = Stripe.SourceTransactionCreatedEvent; - export type SourceTransactionUpdatedEvent = Stripe.SourceTransactionUpdatedEvent; - export type SubscriptionScheduleAbortedEvent = Stripe.SubscriptionScheduleAbortedEvent; - export type SubscriptionScheduleCanceledEvent = Stripe.SubscriptionScheduleCanceledEvent; - export type SubscriptionScheduleCompletedEvent = Stripe.SubscriptionScheduleCompletedEvent; - export type SubscriptionScheduleCreatedEvent = Stripe.SubscriptionScheduleCreatedEvent; - export type SubscriptionScheduleExpiringEvent = Stripe.SubscriptionScheduleExpiringEvent; - export type SubscriptionScheduleReleasedEvent = Stripe.SubscriptionScheduleReleasedEvent; - export type SubscriptionScheduleUpdatedEvent = Stripe.SubscriptionScheduleUpdatedEvent; - export type TaxSettingsUpdatedEvent = Stripe.TaxSettingsUpdatedEvent; - export type TaxRateCreatedEvent = Stripe.TaxRateCreatedEvent; - export type TaxRateUpdatedEvent = Stripe.TaxRateUpdatedEvent; - export type TerminalReaderActionFailedEvent = Stripe.TerminalReaderActionFailedEvent; - export type TerminalReaderActionSucceededEvent = Stripe.TerminalReaderActionSucceededEvent; - export type TerminalReaderActionUpdatedEvent = Stripe.TerminalReaderActionUpdatedEvent; - export type TestHelpersTestClockAdvancingEvent = Stripe.TestHelpersTestClockAdvancingEvent; - export type TestHelpersTestClockCreatedEvent = Stripe.TestHelpersTestClockCreatedEvent; - export type TestHelpersTestClockDeletedEvent = Stripe.TestHelpersTestClockDeletedEvent; - export type TestHelpersTestClockInternalFailureEvent = Stripe.TestHelpersTestClockInternalFailureEvent; - export type TestHelpersTestClockReadyEvent = Stripe.TestHelpersTestClockReadyEvent; - export type TopupCanceledEvent = Stripe.TopupCanceledEvent; - export type TopupCreatedEvent = Stripe.TopupCreatedEvent; - export type TopupFailedEvent = Stripe.TopupFailedEvent; - export type TopupReversedEvent = Stripe.TopupReversedEvent; - export type TopupSucceededEvent = Stripe.TopupSucceededEvent; - export type TransferCreatedEvent = Stripe.TransferCreatedEvent; - export type TransferReversedEvent = Stripe.TransferReversedEvent; - export type TransferUpdatedEvent = Stripe.TransferUpdatedEvent; - export type TreasuryCreditReversalCreatedEvent = Stripe.TreasuryCreditReversalCreatedEvent; - export type TreasuryCreditReversalPostedEvent = Stripe.TreasuryCreditReversalPostedEvent; - export type TreasuryDebitReversalCompletedEvent = Stripe.TreasuryDebitReversalCompletedEvent; - export type TreasuryDebitReversalCreatedEvent = Stripe.TreasuryDebitReversalCreatedEvent; - export type TreasuryDebitReversalInitialCreditGrantedEvent = Stripe.TreasuryDebitReversalInitialCreditGrantedEvent; - export type TreasuryFinancialAccountClosedEvent = Stripe.TreasuryFinancialAccountClosedEvent; - export type TreasuryFinancialAccountCreatedEvent = Stripe.TreasuryFinancialAccountCreatedEvent; - export type TreasuryFinancialAccountFeaturesStatusUpdatedEvent = Stripe.TreasuryFinancialAccountFeaturesStatusUpdatedEvent; - export type TreasuryInboundTransferCanceledEvent = Stripe.TreasuryInboundTransferCanceledEvent; - export type TreasuryInboundTransferCreatedEvent = Stripe.TreasuryInboundTransferCreatedEvent; - export type TreasuryInboundTransferFailedEvent = Stripe.TreasuryInboundTransferFailedEvent; - export type TreasuryInboundTransferSucceededEvent = Stripe.TreasuryInboundTransferSucceededEvent; - export type TreasuryOutboundPaymentCanceledEvent = Stripe.TreasuryOutboundPaymentCanceledEvent; - export type TreasuryOutboundPaymentCreatedEvent = Stripe.TreasuryOutboundPaymentCreatedEvent; - export type TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent = Stripe.TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent; - export type TreasuryOutboundPaymentFailedEvent = Stripe.TreasuryOutboundPaymentFailedEvent; - export type TreasuryOutboundPaymentPostedEvent = Stripe.TreasuryOutboundPaymentPostedEvent; - export type TreasuryOutboundPaymentReturnedEvent = Stripe.TreasuryOutboundPaymentReturnedEvent; - export type TreasuryOutboundPaymentTrackingDetailsUpdatedEvent = Stripe.TreasuryOutboundPaymentTrackingDetailsUpdatedEvent; - export type TreasuryOutboundTransferCanceledEvent = Stripe.TreasuryOutboundTransferCanceledEvent; - export type TreasuryOutboundTransferCreatedEvent = Stripe.TreasuryOutboundTransferCreatedEvent; - export type TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent = Stripe.TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent; - export type TreasuryOutboundTransferFailedEvent = Stripe.TreasuryOutboundTransferFailedEvent; - export type TreasuryOutboundTransferPostedEvent = Stripe.TreasuryOutboundTransferPostedEvent; - export type TreasuryOutboundTransferReturnedEvent = Stripe.TreasuryOutboundTransferReturnedEvent; - export type TreasuryOutboundTransferTrackingDetailsUpdatedEvent = Stripe.TreasuryOutboundTransferTrackingDetailsUpdatedEvent; - export type TreasuryReceivedCreditCreatedEvent = Stripe.TreasuryReceivedCreditCreatedEvent; - export type TreasuryReceivedCreditFailedEvent = Stripe.TreasuryReceivedCreditFailedEvent; - export type TreasuryReceivedCreditSucceededEvent = Stripe.TreasuryReceivedCreditSucceededEvent; - export type TreasuryReceivedDebitCreatedEvent = Stripe.TreasuryReceivedDebitCreatedEvent; - export type V2List = Stripe.V2List; - export type V2ListPromise = Stripe.V2ListPromise; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountPersonUpdatedEvent.Data; + } + } + export type AccountApplicationAuthorizedEvent = Stripe_.AccountApplicationAuthorizedEvent; + export type AccountApplicationDeauthorizedEvent = Stripe_.AccountApplicationDeauthorizedEvent; + export type AccountExternalAccountCreatedEvent = Stripe_.AccountExternalAccountCreatedEvent; + export type AccountExternalAccountDeletedEvent = Stripe_.AccountExternalAccountDeletedEvent; + export type AccountExternalAccountUpdatedEvent = Stripe_.AccountExternalAccountUpdatedEvent; + export type AccountUpdatedEvent = Stripe_.AccountUpdatedEvent; + export type ApplicationFeeCreatedEvent = Stripe_.ApplicationFeeCreatedEvent; + export type ApplicationFeeRefundUpdatedEvent = Stripe_.ApplicationFeeRefundUpdatedEvent; + export type ApplicationFeeRefundedEvent = Stripe_.ApplicationFeeRefundedEvent; + export type BalanceAvailableEvent = Stripe_.BalanceAvailableEvent; + export type BalanceSettingsUpdatedEvent = Stripe_.BalanceSettingsUpdatedEvent; + export type BillingAlertTriggeredEvent = Stripe_.BillingAlertTriggeredEvent; + export type BillingCreditBalanceTransactionCreatedEvent = Stripe_.BillingCreditBalanceTransactionCreatedEvent; + export type BillingCreditGrantCreatedEvent = Stripe_.BillingCreditGrantCreatedEvent; + export type BillingCreditGrantUpdatedEvent = Stripe_.BillingCreditGrantUpdatedEvent; + export type BillingMeterCreatedEvent = Stripe_.BillingMeterCreatedEvent; + export type BillingMeterDeactivatedEvent = Stripe_.BillingMeterDeactivatedEvent; + export type BillingMeterReactivatedEvent = Stripe_.BillingMeterReactivatedEvent; + export type BillingMeterUpdatedEvent = Stripe_.BillingMeterUpdatedEvent; + export type BillingPortalConfigurationCreatedEvent = Stripe_.BillingPortalConfigurationCreatedEvent; + export type BillingPortalConfigurationUpdatedEvent = Stripe_.BillingPortalConfigurationUpdatedEvent; + export type BillingPortalSessionCreatedEvent = Stripe_.BillingPortalSessionCreatedEvent; + export type CapabilityUpdatedEvent = Stripe_.CapabilityUpdatedEvent; + export type CashBalanceFundsAvailableEvent = Stripe_.CashBalanceFundsAvailableEvent; + export type ChargeCapturedEvent = Stripe_.ChargeCapturedEvent; + export type ChargeDisputeClosedEvent = Stripe_.ChargeDisputeClosedEvent; + export type ChargeDisputeCreatedEvent = Stripe_.ChargeDisputeCreatedEvent; + export type ChargeDisputeFundsReinstatedEvent = Stripe_.ChargeDisputeFundsReinstatedEvent; + export type ChargeDisputeFundsWithdrawnEvent = Stripe_.ChargeDisputeFundsWithdrawnEvent; + export type ChargeDisputeUpdatedEvent = Stripe_.ChargeDisputeUpdatedEvent; + export type ChargeExpiredEvent = Stripe_.ChargeExpiredEvent; + export type ChargeFailedEvent = Stripe_.ChargeFailedEvent; + export type ChargePendingEvent = Stripe_.ChargePendingEvent; + export type ChargeRefundUpdatedEvent = Stripe_.ChargeRefundUpdatedEvent; + export type ChargeRefundedEvent = Stripe_.ChargeRefundedEvent; + export type ChargeSucceededEvent = Stripe_.ChargeSucceededEvent; + export type ChargeUpdatedEvent = Stripe_.ChargeUpdatedEvent; + export type CheckoutSessionAsyncPaymentFailedEvent = Stripe_.CheckoutSessionAsyncPaymentFailedEvent; + export type CheckoutSessionAsyncPaymentSucceededEvent = Stripe_.CheckoutSessionAsyncPaymentSucceededEvent; + export type CheckoutSessionCompletedEvent = Stripe_.CheckoutSessionCompletedEvent; + export type CheckoutSessionExpiredEvent = Stripe_.CheckoutSessionExpiredEvent; + export type ClimateOrderCanceledEvent = Stripe_.ClimateOrderCanceledEvent; + export type ClimateOrderCreatedEvent = Stripe_.ClimateOrderCreatedEvent; + export type ClimateOrderDelayedEvent = Stripe_.ClimateOrderDelayedEvent; + export type ClimateOrderDeliveredEvent = Stripe_.ClimateOrderDeliveredEvent; + export type ClimateOrderProductSubstitutedEvent = Stripe_.ClimateOrderProductSubstitutedEvent; + export type ClimateProductCreatedEvent = Stripe_.ClimateProductCreatedEvent; + export type ClimateProductPricingUpdatedEvent = Stripe_.ClimateProductPricingUpdatedEvent; + export type CouponCreatedEvent = Stripe_.CouponCreatedEvent; + export type CouponDeletedEvent = Stripe_.CouponDeletedEvent; + export type CouponUpdatedEvent = Stripe_.CouponUpdatedEvent; + export type CreditNoteCreatedEvent = Stripe_.CreditNoteCreatedEvent; + export type CreditNoteUpdatedEvent = Stripe_.CreditNoteUpdatedEvent; + export type CreditNoteVoidedEvent = Stripe_.CreditNoteVoidedEvent; + export type CustomerCreatedEvent = Stripe_.CustomerCreatedEvent; + export type CustomerDeletedEvent = Stripe_.CustomerDeletedEvent; + export type CustomerDiscountCreatedEvent = Stripe_.CustomerDiscountCreatedEvent; + export type CustomerDiscountDeletedEvent = Stripe_.CustomerDiscountDeletedEvent; + export type CustomerDiscountUpdatedEvent = Stripe_.CustomerDiscountUpdatedEvent; + export type CustomerSourceCreatedEvent = Stripe_.CustomerSourceCreatedEvent; + export type CustomerSourceDeletedEvent = Stripe_.CustomerSourceDeletedEvent; + export type CustomerSourceExpiringEvent = Stripe_.CustomerSourceExpiringEvent; + export type CustomerSourceUpdatedEvent = Stripe_.CustomerSourceUpdatedEvent; + export type CustomerSubscriptionCreatedEvent = Stripe_.CustomerSubscriptionCreatedEvent; + export type CustomerSubscriptionDeletedEvent = Stripe_.CustomerSubscriptionDeletedEvent; + export type CustomerSubscriptionPausedEvent = Stripe_.CustomerSubscriptionPausedEvent; + export type CustomerSubscriptionPendingUpdateAppliedEvent = Stripe_.CustomerSubscriptionPendingUpdateAppliedEvent; + export type CustomerSubscriptionPendingUpdateExpiredEvent = Stripe_.CustomerSubscriptionPendingUpdateExpiredEvent; + export type CustomerSubscriptionResumedEvent = Stripe_.CustomerSubscriptionResumedEvent; + export type CustomerSubscriptionTrialWillEndEvent = Stripe_.CustomerSubscriptionTrialWillEndEvent; + export type CustomerSubscriptionUpdatedEvent = Stripe_.CustomerSubscriptionUpdatedEvent; + export type CustomerTaxIdCreatedEvent = Stripe_.CustomerTaxIdCreatedEvent; + export type CustomerTaxIdDeletedEvent = Stripe_.CustomerTaxIdDeletedEvent; + export type CustomerTaxIdUpdatedEvent = Stripe_.CustomerTaxIdUpdatedEvent; + export type CustomerUpdatedEvent = Stripe_.CustomerUpdatedEvent; + export type CustomerCashBalanceTransactionCreatedEvent = Stripe_.CustomerCashBalanceTransactionCreatedEvent; + export type EntitlementsActiveEntitlementSummaryUpdatedEvent = Stripe_.EntitlementsActiveEntitlementSummaryUpdatedEvent; + export type FileCreatedEvent = Stripe_.FileCreatedEvent; + export type FinancialConnectionsAccountAccountNumbersUpdatedEvent = Stripe_.FinancialConnectionsAccountAccountNumbersUpdatedEvent; + export type FinancialConnectionsAccountCreatedEvent = Stripe_.FinancialConnectionsAccountCreatedEvent; + export type FinancialConnectionsAccountDeactivatedEvent = Stripe_.FinancialConnectionsAccountDeactivatedEvent; + export type FinancialConnectionsAccountDisconnectedEvent = Stripe_.FinancialConnectionsAccountDisconnectedEvent; + export type FinancialConnectionsAccountReactivatedEvent = Stripe_.FinancialConnectionsAccountReactivatedEvent; + export type FinancialConnectionsAccountRefreshedBalanceEvent = Stripe_.FinancialConnectionsAccountRefreshedBalanceEvent; + export type FinancialConnectionsAccountRefreshedOwnershipEvent = Stripe_.FinancialConnectionsAccountRefreshedOwnershipEvent; + export type FinancialConnectionsAccountRefreshedTransactionsEvent = Stripe_.FinancialConnectionsAccountRefreshedTransactionsEvent; + export type FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent = Stripe_.FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent; + export type IdentityVerificationSessionCanceledEvent = Stripe_.IdentityVerificationSessionCanceledEvent; + export type IdentityVerificationSessionCreatedEvent = Stripe_.IdentityVerificationSessionCreatedEvent; + export type IdentityVerificationSessionProcessingEvent = Stripe_.IdentityVerificationSessionProcessingEvent; + export type IdentityVerificationSessionRedactedEvent = Stripe_.IdentityVerificationSessionRedactedEvent; + export type IdentityVerificationSessionRequiresInputEvent = Stripe_.IdentityVerificationSessionRequiresInputEvent; + export type IdentityVerificationSessionVerifiedEvent = Stripe_.IdentityVerificationSessionVerifiedEvent; + export type InvoiceCreatedEvent = Stripe_.InvoiceCreatedEvent; + export type InvoiceDeletedEvent = Stripe_.InvoiceDeletedEvent; + export type InvoiceFinalizationFailedEvent = Stripe_.InvoiceFinalizationFailedEvent; + export type InvoiceFinalizedEvent = Stripe_.InvoiceFinalizedEvent; + export type InvoiceMarkedUncollectibleEvent = Stripe_.InvoiceMarkedUncollectibleEvent; + export type InvoiceOverdueEvent = Stripe_.InvoiceOverdueEvent; + export type InvoiceOverpaidEvent = Stripe_.InvoiceOverpaidEvent; + export type InvoicePaidEvent = Stripe_.InvoicePaidEvent; + export type InvoicePaymentActionRequiredEvent = Stripe_.InvoicePaymentActionRequiredEvent; + export type InvoicePaymentAttemptRequiredEvent = Stripe_.InvoicePaymentAttemptRequiredEvent; + export type InvoicePaymentFailedEvent = Stripe_.InvoicePaymentFailedEvent; + export type InvoicePaymentSucceededEvent = Stripe_.InvoicePaymentSucceededEvent; + export type InvoiceSentEvent = Stripe_.InvoiceSentEvent; + export type InvoiceUpcomingEvent = Stripe_.InvoiceUpcomingEvent; + export type InvoiceUpdatedEvent = Stripe_.InvoiceUpdatedEvent; + export type InvoiceVoidedEvent = Stripe_.InvoiceVoidedEvent; + export type InvoiceWillBeDueEvent = Stripe_.InvoiceWillBeDueEvent; + export type InvoicePaymentPaidEvent = Stripe_.InvoicePaymentPaidEvent; + export type InvoiceItemCreatedEvent = Stripe_.InvoiceItemCreatedEvent; + export type InvoiceItemDeletedEvent = Stripe_.InvoiceItemDeletedEvent; + export type IssuingAuthorizationCreatedEvent = Stripe_.IssuingAuthorizationCreatedEvent; + export type IssuingAuthorizationRequestEvent = Stripe_.IssuingAuthorizationRequestEvent; + export type IssuingAuthorizationUpdatedEvent = Stripe_.IssuingAuthorizationUpdatedEvent; + export type IssuingCardCreatedEvent = Stripe_.IssuingCardCreatedEvent; + export type IssuingCardUpdatedEvent = Stripe_.IssuingCardUpdatedEvent; + export type IssuingCardholderCreatedEvent = Stripe_.IssuingCardholderCreatedEvent; + export type IssuingCardholderUpdatedEvent = Stripe_.IssuingCardholderUpdatedEvent; + export type IssuingDisputeClosedEvent = Stripe_.IssuingDisputeClosedEvent; + export type IssuingDisputeCreatedEvent = Stripe_.IssuingDisputeCreatedEvent; + export type IssuingDisputeFundsReinstatedEvent = Stripe_.IssuingDisputeFundsReinstatedEvent; + export type IssuingDisputeFundsRescindedEvent = Stripe_.IssuingDisputeFundsRescindedEvent; + export type IssuingDisputeSubmittedEvent = Stripe_.IssuingDisputeSubmittedEvent; + export type IssuingDisputeUpdatedEvent = Stripe_.IssuingDisputeUpdatedEvent; + export type IssuingPersonalizationDesignActivatedEvent = Stripe_.IssuingPersonalizationDesignActivatedEvent; + export type IssuingPersonalizationDesignDeactivatedEvent = Stripe_.IssuingPersonalizationDesignDeactivatedEvent; + export type IssuingPersonalizationDesignRejectedEvent = Stripe_.IssuingPersonalizationDesignRejectedEvent; + export type IssuingPersonalizationDesignUpdatedEvent = Stripe_.IssuingPersonalizationDesignUpdatedEvent; + export type IssuingTokenCreatedEvent = Stripe_.IssuingTokenCreatedEvent; + export type IssuingTokenUpdatedEvent = Stripe_.IssuingTokenUpdatedEvent; + export type IssuingTransactionCreatedEvent = Stripe_.IssuingTransactionCreatedEvent; + export type IssuingTransactionPurchaseDetailsReceiptUpdatedEvent = Stripe_.IssuingTransactionPurchaseDetailsReceiptUpdatedEvent; + export type IssuingTransactionUpdatedEvent = Stripe_.IssuingTransactionUpdatedEvent; + export type MandateUpdatedEvent = Stripe_.MandateUpdatedEvent; + export type PaymentIntentAmountCapturableUpdatedEvent = Stripe_.PaymentIntentAmountCapturableUpdatedEvent; + export type PaymentIntentCanceledEvent = Stripe_.PaymentIntentCanceledEvent; + export type PaymentIntentCreatedEvent = Stripe_.PaymentIntentCreatedEvent; + export type PaymentIntentPartiallyFundedEvent = Stripe_.PaymentIntentPartiallyFundedEvent; + export type PaymentIntentPaymentFailedEvent = Stripe_.PaymentIntentPaymentFailedEvent; + export type PaymentIntentProcessingEvent = Stripe_.PaymentIntentProcessingEvent; + export type PaymentIntentRequiresActionEvent = Stripe_.PaymentIntentRequiresActionEvent; + export type PaymentIntentSucceededEvent = Stripe_.PaymentIntentSucceededEvent; + export type PaymentLinkCreatedEvent = Stripe_.PaymentLinkCreatedEvent; + export type PaymentLinkUpdatedEvent = Stripe_.PaymentLinkUpdatedEvent; + export type PaymentMethodAttachedEvent = Stripe_.PaymentMethodAttachedEvent; + export type PaymentMethodAutomaticallyUpdatedEvent = Stripe_.PaymentMethodAutomaticallyUpdatedEvent; + export type PaymentMethodDetachedEvent = Stripe_.PaymentMethodDetachedEvent; + export type PaymentMethodUpdatedEvent = Stripe_.PaymentMethodUpdatedEvent; + export type PayoutCanceledEvent = Stripe_.PayoutCanceledEvent; + export type PayoutCreatedEvent = Stripe_.PayoutCreatedEvent; + export type PayoutFailedEvent = Stripe_.PayoutFailedEvent; + export type PayoutPaidEvent = Stripe_.PayoutPaidEvent; + export type PayoutReconciliationCompletedEvent = Stripe_.PayoutReconciliationCompletedEvent; + export type PayoutUpdatedEvent = Stripe_.PayoutUpdatedEvent; + export type PersonCreatedEvent = Stripe_.PersonCreatedEvent; + export type PersonDeletedEvent = Stripe_.PersonDeletedEvent; + export type PersonUpdatedEvent = Stripe_.PersonUpdatedEvent; + export type PlanCreatedEvent = Stripe_.PlanCreatedEvent; + export type PlanDeletedEvent = Stripe_.PlanDeletedEvent; + export type PlanUpdatedEvent = Stripe_.PlanUpdatedEvent; + export type PriceCreatedEvent = Stripe_.PriceCreatedEvent; + export type PriceDeletedEvent = Stripe_.PriceDeletedEvent; + export type PriceUpdatedEvent = Stripe_.PriceUpdatedEvent; + export type ProductCreatedEvent = Stripe_.ProductCreatedEvent; + export type ProductDeletedEvent = Stripe_.ProductDeletedEvent; + export type ProductUpdatedEvent = Stripe_.ProductUpdatedEvent; + export type PromotionCodeCreatedEvent = Stripe_.PromotionCodeCreatedEvent; + export type PromotionCodeUpdatedEvent = Stripe_.PromotionCodeUpdatedEvent; + export type QuoteAcceptedEvent = Stripe_.QuoteAcceptedEvent; + export type QuoteCanceledEvent = Stripe_.QuoteCanceledEvent; + export type QuoteCreatedEvent = Stripe_.QuoteCreatedEvent; + export type QuoteFinalizedEvent = Stripe_.QuoteFinalizedEvent; + export type RadarEarlyFraudWarningCreatedEvent = Stripe_.RadarEarlyFraudWarningCreatedEvent; + export type RadarEarlyFraudWarningUpdatedEvent = Stripe_.RadarEarlyFraudWarningUpdatedEvent; + export type RefundCreatedEvent = Stripe_.RefundCreatedEvent; + export type RefundFailedEvent = Stripe_.RefundFailedEvent; + export type RefundUpdatedEvent = Stripe_.RefundUpdatedEvent; + export type ReportingReportRunFailedEvent = Stripe_.ReportingReportRunFailedEvent; + export type ReportingReportRunSucceededEvent = Stripe_.ReportingReportRunSucceededEvent; + export type ReportingReportTypeUpdatedEvent = Stripe_.ReportingReportTypeUpdatedEvent; + export type ReserveHoldCreatedEvent = Stripe_.ReserveHoldCreatedEvent; + export type ReserveHoldUpdatedEvent = Stripe_.ReserveHoldUpdatedEvent; + export type ReservePlanCreatedEvent = Stripe_.ReservePlanCreatedEvent; + export type ReservePlanDisabledEvent = Stripe_.ReservePlanDisabledEvent; + export type ReservePlanExpiredEvent = Stripe_.ReservePlanExpiredEvent; + export type ReservePlanUpdatedEvent = Stripe_.ReservePlanUpdatedEvent; + export type ReserveReleaseCreatedEvent = Stripe_.ReserveReleaseCreatedEvent; + export type ReviewClosedEvent = Stripe_.ReviewClosedEvent; + export type ReviewOpenedEvent = Stripe_.ReviewOpenedEvent; + export type SetupIntentCanceledEvent = Stripe_.SetupIntentCanceledEvent; + export type SetupIntentCreatedEvent = Stripe_.SetupIntentCreatedEvent; + export type SetupIntentRequiresActionEvent = Stripe_.SetupIntentRequiresActionEvent; + export type SetupIntentSetupFailedEvent = Stripe_.SetupIntentSetupFailedEvent; + export type SetupIntentSucceededEvent = Stripe_.SetupIntentSucceededEvent; + export type SigmaScheduledQueryRunCreatedEvent = Stripe_.SigmaScheduledQueryRunCreatedEvent; + export type SourceCanceledEvent = Stripe_.SourceCanceledEvent; + export type SourceChargeableEvent = Stripe_.SourceChargeableEvent; + export type SourceFailedEvent = Stripe_.SourceFailedEvent; + export type SourceMandateNotificationEvent = Stripe_.SourceMandateNotificationEvent; + export type SourceRefundAttributesRequiredEvent = Stripe_.SourceRefundAttributesRequiredEvent; + export type SourceTransactionCreatedEvent = Stripe_.SourceTransactionCreatedEvent; + export type SourceTransactionUpdatedEvent = Stripe_.SourceTransactionUpdatedEvent; + export type SubscriptionScheduleAbortedEvent = Stripe_.SubscriptionScheduleAbortedEvent; + export type SubscriptionScheduleCanceledEvent = Stripe_.SubscriptionScheduleCanceledEvent; + export type SubscriptionScheduleCompletedEvent = Stripe_.SubscriptionScheduleCompletedEvent; + export type SubscriptionScheduleCreatedEvent = Stripe_.SubscriptionScheduleCreatedEvent; + export type SubscriptionScheduleExpiringEvent = Stripe_.SubscriptionScheduleExpiringEvent; + export type SubscriptionScheduleReleasedEvent = Stripe_.SubscriptionScheduleReleasedEvent; + export type SubscriptionScheduleUpdatedEvent = Stripe_.SubscriptionScheduleUpdatedEvent; + export type TaxSettingsUpdatedEvent = Stripe_.TaxSettingsUpdatedEvent; + export type TaxRateCreatedEvent = Stripe_.TaxRateCreatedEvent; + export type TaxRateUpdatedEvent = Stripe_.TaxRateUpdatedEvent; + export type TerminalReaderActionFailedEvent = Stripe_.TerminalReaderActionFailedEvent; + export type TerminalReaderActionSucceededEvent = Stripe_.TerminalReaderActionSucceededEvent; + export type TerminalReaderActionUpdatedEvent = Stripe_.TerminalReaderActionUpdatedEvent; + export type TestHelpersTestClockAdvancingEvent = Stripe_.TestHelpersTestClockAdvancingEvent; + export type TestHelpersTestClockCreatedEvent = Stripe_.TestHelpersTestClockCreatedEvent; + export type TestHelpersTestClockDeletedEvent = Stripe_.TestHelpersTestClockDeletedEvent; + export type TestHelpersTestClockInternalFailureEvent = Stripe_.TestHelpersTestClockInternalFailureEvent; + export type TestHelpersTestClockReadyEvent = Stripe_.TestHelpersTestClockReadyEvent; + export type TopupCanceledEvent = Stripe_.TopupCanceledEvent; + export type TopupCreatedEvent = Stripe_.TopupCreatedEvent; + export type TopupFailedEvent = Stripe_.TopupFailedEvent; + export type TopupReversedEvent = Stripe_.TopupReversedEvent; + export type TopupSucceededEvent = Stripe_.TopupSucceededEvent; + export type TransferCreatedEvent = Stripe_.TransferCreatedEvent; + export type TransferReversedEvent = Stripe_.TransferReversedEvent; + export type TransferUpdatedEvent = Stripe_.TransferUpdatedEvent; + export type TreasuryCreditReversalCreatedEvent = Stripe_.TreasuryCreditReversalCreatedEvent; + export type TreasuryCreditReversalPostedEvent = Stripe_.TreasuryCreditReversalPostedEvent; + export type TreasuryDebitReversalCompletedEvent = Stripe_.TreasuryDebitReversalCompletedEvent; + export type TreasuryDebitReversalCreatedEvent = Stripe_.TreasuryDebitReversalCreatedEvent; + export type TreasuryDebitReversalInitialCreditGrantedEvent = Stripe_.TreasuryDebitReversalInitialCreditGrantedEvent; + export type TreasuryFinancialAccountClosedEvent = Stripe_.TreasuryFinancialAccountClosedEvent; + export type TreasuryFinancialAccountCreatedEvent = Stripe_.TreasuryFinancialAccountCreatedEvent; + export type TreasuryFinancialAccountFeaturesStatusUpdatedEvent = Stripe_.TreasuryFinancialAccountFeaturesStatusUpdatedEvent; + export type TreasuryInboundTransferCanceledEvent = Stripe_.TreasuryInboundTransferCanceledEvent; + export type TreasuryInboundTransferCreatedEvent = Stripe_.TreasuryInboundTransferCreatedEvent; + export type TreasuryInboundTransferFailedEvent = Stripe_.TreasuryInboundTransferFailedEvent; + export type TreasuryInboundTransferSucceededEvent = Stripe_.TreasuryInboundTransferSucceededEvent; + export type TreasuryOutboundPaymentCanceledEvent = Stripe_.TreasuryOutboundPaymentCanceledEvent; + export type TreasuryOutboundPaymentCreatedEvent = Stripe_.TreasuryOutboundPaymentCreatedEvent; + export type TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent = Stripe_.TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent; + export type TreasuryOutboundPaymentFailedEvent = Stripe_.TreasuryOutboundPaymentFailedEvent; + export type TreasuryOutboundPaymentPostedEvent = Stripe_.TreasuryOutboundPaymentPostedEvent; + export type TreasuryOutboundPaymentReturnedEvent = Stripe_.TreasuryOutboundPaymentReturnedEvent; + export type TreasuryOutboundPaymentTrackingDetailsUpdatedEvent = Stripe_.TreasuryOutboundPaymentTrackingDetailsUpdatedEvent; + export type TreasuryOutboundTransferCanceledEvent = Stripe_.TreasuryOutboundTransferCanceledEvent; + export type TreasuryOutboundTransferCreatedEvent = Stripe_.TreasuryOutboundTransferCreatedEvent; + export type TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent = Stripe_.TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent; + export type TreasuryOutboundTransferFailedEvent = Stripe_.TreasuryOutboundTransferFailedEvent; + export type TreasuryOutboundTransferPostedEvent = Stripe_.TreasuryOutboundTransferPostedEvent; + export type TreasuryOutboundTransferReturnedEvent = Stripe_.TreasuryOutboundTransferReturnedEvent; + export type TreasuryOutboundTransferTrackingDetailsUpdatedEvent = Stripe_.TreasuryOutboundTransferTrackingDetailsUpdatedEvent; + export type TreasuryReceivedCreditCreatedEvent = Stripe_.TreasuryReceivedCreditCreatedEvent; + export type TreasuryReceivedCreditFailedEvent = Stripe_.TreasuryReceivedCreditFailedEvent; + export type TreasuryReceivedCreditSucceededEvent = Stripe_.TreasuryReceivedCreditSucceededEvent; + export type TreasuryReceivedDebitCreatedEvent = Stripe_.TreasuryReceivedDebitCreatedEvent; + export type V2List = Stripe_.V2List; + export type V2ListPromise = Stripe_.V2ListPromise; // StripeInterfaceCJSExports: The end of the section generated from our OpenAPI spec - export type Response = Stripe.Response; - export type RequestOptions = Stripe.RequestOptions; - export type RawRequestOptions = Stripe.RawRequestOptions; - export type ApiList = Stripe.ApiList; - export type ApiListPromise = Stripe.ApiListPromise; - export type ApiSearchResultPromise = Stripe.ApiSearchResultPromise; - export type ApiSearchResult = Stripe.ApiSearchResult; - export type StripeStreamResponse = Stripe.StripeStreamResponse; - export type RequestEvent = Stripe.RequestEvent; - export type ResponseEvent = Stripe.ResponseEvent; - export type AppInfo = Stripe.AppInfo; - export type FileData = Stripe.FileData; - export type Metadata = Stripe.Metadata; - export type MetadataParam = Stripe.MetadataParam; - export type Address = Stripe.Address; - export type JapanAddress = Stripe.JapanAddress; - export type AddressParam = Stripe.AddressParam; - export type ShippingAddressParam = Stripe.ShippingAddressParam; - export type JapanAddressParam = Stripe.JapanAddressParam; - export type RangeQueryParam = Stripe.RangeQueryParam; - export type PaginationParams = Stripe.PaginationParams; - export type Emptyable = Stripe.Emptyable; - export type OAuthResource = Stripe.OAuthResource; - export type OAuthToken = Stripe.OAuthToken; - export type OAuthTokenParams = Stripe.OAuthTokenParams; - export type OAuthAuthorizeUrlOptions = Stripe.OAuthAuthorizeUrlOptions; - export type OAuthAuthorizeUrlParams = Stripe.OAuthAuthorizeUrlParams; - export type OAuthDeauthorization = Stripe.OAuthDeauthorization; - export type OAuthDeauthorizeParams = Stripe.OAuthDeauthorizeParams; - export type StripeContextType = Stripe.StripeContextType; - export type StripeRawError = Stripe.StripeRawError; - export type Decimal = Stripe.Decimal; + export type Response = Stripe_.Response; + export type RequestOptions = Stripe_.RequestOptions; + export type RawRequestOptions = Stripe_.RawRequestOptions; + export type ApiList = Stripe_.ApiList; + export type ApiListPromise = Stripe_.ApiListPromise; + export type ApiSearchResultPromise = Stripe_.ApiSearchResultPromise; + export type ApiSearchResult = Stripe_.ApiSearchResult; + export type StripeStreamResponse = Stripe_.StripeStreamResponse; + export type RequestEvent = Stripe_.RequestEvent; + export type ResponseEvent = Stripe_.ResponseEvent; + export type AppInfo = Stripe_.AppInfo; + export type FileData = Stripe_.FileData; + export type Metadata = Stripe_.Metadata; + export type MetadataParam = Stripe_.MetadataParam; + export type Address = Stripe_.Address; + export type JapanAddress = Stripe_.JapanAddress; + export type AddressParam = Stripe_.AddressParam; + export type ShippingAddressParam = Stripe_.ShippingAddressParam; + export type JapanAddressParam = Stripe_.JapanAddressParam; + export type RangeQueryParam = Stripe_.RangeQueryParam; + export type PaginationParams = Stripe_.PaginationParams; + export type Emptyable = Stripe_.Emptyable; + export type OAuthResource = Stripe_.OAuthResource; + export type OAuthToken = Stripe_.OAuthToken; + export type OAuthTokenParams = Stripe_.OAuthTokenParams; + export type OAuthAuthorizeUrlOptions = Stripe_.OAuthAuthorizeUrlOptions; + export type OAuthAuthorizeUrlParams = Stripe_.OAuthAuthorizeUrlParams; + export type OAuthDeauthorization = Stripe_.OAuthDeauthorization; + export type OAuthDeauthorizeParams = Stripe_.OAuthDeauthorizeParams; + export type StripeContextType = Stripe_.StripeContextType; + export type StripeRawError = Stripe_.StripeRawError; + export type Decimal = Stripe_.Decimal; export namespace errors { - export type StripeError = InstanceType; + export type StripeError = InstanceType; export type StripeCardError = InstanceType< - typeof Stripe.errors.StripeCardError + typeof Stripe_.errors.StripeCardError >; export type StripeInvalidRequestError = InstanceType< - typeof Stripe.errors.StripeInvalidRequestError + typeof Stripe_.errors.StripeInvalidRequestError >; export type StripeAPIError = InstanceType< - typeof Stripe.errors.StripeAPIError + typeof Stripe_.errors.StripeAPIError >; export type StripeAuthenticationError = InstanceType< - typeof Stripe.errors.StripeAuthenticationError + typeof Stripe_.errors.StripeAuthenticationError >; export type StripePermissionError = InstanceType< - typeof Stripe.errors.StripePermissionError + typeof Stripe_.errors.StripePermissionError >; export type StripeRateLimitError = InstanceType< - typeof Stripe.errors.StripeRateLimitError + typeof Stripe_.errors.StripeRateLimitError >; export type StripeConnectionError = InstanceType< - typeof Stripe.errors.StripeConnectionError + typeof Stripe_.errors.StripeConnectionError >; export type StripeSignatureVerificationError = InstanceType< - typeof Stripe.errors.StripeSignatureVerificationError + typeof Stripe_.errors.StripeSignatureVerificationError >; export type StripeIdempotencyError = InstanceType< - typeof Stripe.errors.StripeIdempotencyError + typeof Stripe_.errors.StripeIdempotencyError >; export type StripeInvalidGrantError = InstanceType< - typeof Stripe.errors.StripeInvalidGrantError + typeof Stripe_.errors.StripeInvalidGrantError >; } } From 4e6309ed808acee208884dfee267b0d22eeec501 Mon Sep 17 00:00:00 2001 From: jar-stripe Date: Wed, 24 Jun 2026 13:20:22 -0700 Subject: [PATCH 3/4] fix: use --loglevel error instead of silent for prettier format (#2767) fix: use --loglevel error instead of silent for format step --loglevel silent swallows all prettier output, including parse errors. Switching to --loglevel error still suppresses the normal "reformatted N files" chatter but surfaces actual failures (e.g. merge markers, syntax errors in generated code). Committed-By-Agent: claude Co-authored-by: Claude Sonnet 4.6 --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 3f74a7fa9d..e78224a4bf 100644 --- a/justfile +++ b/justfile @@ -68,7 +68,7 @@ prettier *args: install prettier "{src,examples,scripts,test,types}/**/*.{ts,js}" {{ args }} # ⭐ format all files -format: (prettier "--write --loglevel silent") +format: (prettier "--write --loglevel error") # verify formatting of files (without changes) format-check: (prettier "--check") From e0f5ea79f38a75b348af1f1fc5e101bd8073a874 Mon Sep 17 00:00:00 2001 From: Jesse Rosalia Date: Wed, 24 Jun 2026 13:52:40 -0700 Subject: [PATCH 4/4] regenerated --- src/resources/Billing/AlertTriggereds.ts | 70 +- src/resources/Billing/Alerts.ts | 329 +- src/resources/Billing/CreditBalanceSummary.ts | 245 +- .../Billing/CreditBalanceTransactions.ts | 253 +- src/resources/Billing/CreditGrants.ts | 144 +- src/resources/Capital/FinancingOffers.ts | 182 +- src/resources/Capital/FinancingSummary.ts | 112 +- .../Capital/FinancingTransactions.ts | 118 +- src/resources/Checkout/Sessions.ts | 4655 ++- .../DelegatedCheckout/OrderEvents.ts | 202 +- src/resources/DelegatedCheckout/Orders.ts | 168 +- .../DelegatedCheckout/RequestedSessions.ts | 1278 +- .../FinancialConnections/Accounts.ts | 199 +- .../FinancialConnections/Authorizations.ts | 72 +- .../FinancialConnections/Institutions.ts | 70 +- .../FinancialConnections/Sessions.ts | 193 +- src/resources/Identity/BlocklistEntries.ts | 12 +- src/resources/Identity/VerificationReports.ts | 176 +- .../Identity/VerificationSessions.ts | 6 +- src/resources/Issuing/Authorizations.ts | 1545 +- src/resources/Issuing/Cardholders.ts | 86 +- src/resources/Issuing/Cards.ts | 52 +- .../Issuing/CreditUnderwritingRecords.ts | 676 +- .../Issuing/DisputeSettlementDetails.ts | 24 +- src/resources/Issuing/Disputes.ts | 528 +- src/resources/Issuing/Settlements.ts | 12 +- src/resources/Issuing/Tokens.ts | 608 +- src/resources/Issuing/Transactions.ts | 368 +- .../Privacy/RedactionJobValidationErrors.ts | 38 +- src/resources/Privacy/RedactionJobs.ts | 120 +- src/resources/ProductCatalog/TrialOffers.ts | 62 +- src/resources/Radar/AccountEvaluations.ts | 136 +- src/resources/Radar/CustomerEvaluations.ts | 170 +- .../Radar/IssuingAuthorizationEvaluations.ts | 462 +- src/resources/Radar/PaymentEvaluations.ts | 100 +- src/resources/Radar/index.ts | 4 +- src/resources/SharedPayment/GrantedTokens.ts | 2478 +- src/resources/SharedPayment/IssuedTokens.ts | 278 +- src/resources/Tax/CalculationLineItems.ts | 118 +- src/resources/Tax/Calculations.ts | 280 +- src/resources/Tax/Forms.ts | 264 +- src/resources/Tax/Registrations.ts | 848 +- src/resources/Tax/TransactionLineItems.ts | 28 +- src/resources/Tax/Transactions.ts | 119 +- src/resources/Terminal/Configurations.ts | 131 +- src/resources/Terminal/ReaderCollectedData.ts | 16 +- src/resources/Terminal/Readers.ts | 548 +- src/resources/TestHelpers/index.ts | 2 +- .../Treasury/FinancialAccountFeatures.ts | 136 +- src/resources/Treasury/OutboundTransfers.ts | 173 +- src/resources/Treasury/ReceivedCredits.ts | 129 +- src/resources/Treasury/ReceivedDebits.ts | 143 +- .../V2/Billing/BillSettingVersions.ts | 84 +- src/resources/V2/Billing/BillSettings.ts | 84 +- .../V2/Billing/CadenceSpendModifiers.ts | 108 +- src/resources/V2/Billing/Cadences.ts | 974 +- .../V2/Billing/CollectionSettingVersions.ts | 432 +- .../V2/Billing/CollectionSettings.ts | 432 +- .../ContractLicensePricingQuantityChanges.ts | 10 +- src/resources/V2/Billing/Contracts.ts | 1276 +- src/resources/V2/Billing/IntentActions.ts | 1171 +- src/resources/V2/Billing/Intents.ts | 520 +- .../V2/Billing/LicenseFeeVersions.ts | 92 +- src/resources/V2/Billing/LicenseFees.ts | 114 +- src/resources/V2/Billing/LicensedItems.ts | 18 +- src/resources/V2/Billing/MeteredItems.ts | 40 +- src/resources/V2/Billing/OneTimeItems.ts | 18 +- .../V2/Billing/PricingPlanComponents.ts | 76 +- .../V2/Billing/PricingPlanSubscriptions.ts | 878 +- src/resources/V2/Billing/PricingPlans.ts | 10 +- src/resources/V2/Billing/Profiles.ts | 10 +- src/resources/V2/Billing/RateCardRates.ts | 128 +- .../V2/Billing/RateCardSubscriptions.ts | 138 +- src/resources/V2/Billing/RateCards.ts | 40 +- src/resources/V2/Billing/ServiceActions.ts | 352 +- .../V2/Commerce/ProductCatalogImports.ts | 6 +- src/resources/V2/Core/AccountEvaluations.ts | 98 +- src/resources/V2/Core/AccountLinks.ts | 261 +- src/resources/V2/Core/AccountPersons.ts | 513 +- src/resources/V2/Core/Accounts.ts | 22026 +++++-------- src/resources/V2/Core/ApprovalRequests.ts | 498 +- src/resources/V2/Core/BatchJobs.ts | 510 +- src/resources/V2/Core/ClaimableSandboxes.ts | 182 +- src/resources/V2/Core/ConnectionSessions.ts | 26 +- src/resources/V2/Core/Events.ts | 118 +- src/resources/V2/Core/FeeBatches.ts | 298 +- src/resources/V2/Core/FeeEntries.ts | 244 +- src/resources/V2/Core/Vault/GbBankAccounts.ts | 204 +- src/resources/V2/Core/Vault/UsBankAccounts.ts | 122 +- .../V2/Data/Analytics/MetricQueryResults.ts | 86 +- src/resources/V2/Data/Reporting/QueryRuns.ts | 186 +- src/resources/V2/Extend/WorkflowRuns.ts | 194 +- src/resources/V2/Extend/Workflows.ts | 76 +- src/resources/V2/Iam/ActivityLogs.ts | 298 +- src/resources/V2/Iam/ApiKeys.ts | 130 +- .../V2/MoneyManagement/Adjustments.ts | 100 +- .../V2/MoneyManagement/CurrencyConversions.ts | 32 +- .../V2/MoneyManagement/DebitDisputes.ts | 106 +- .../FinancialAccountStatements.ts | 100 +- .../V2/MoneyManagement/FinancialAccounts.ts | 379 +- .../V2/MoneyManagement/FinancialAddresses.ts | 426 +- .../V2/MoneyManagement/InboundTransfers.ts | 256 +- .../MoneyManagement/OutboundPaymentQuotes.ts | 210 +- .../V2/MoneyManagement/OutboundPayments.ts | 504 +- .../MoneyManagement/OutboundSetupIntents.ts | 78 +- .../V2/MoneyManagement/OutboundTransfers.ts | 272 +- .../V2/MoneyManagement/PayoutMethods.ts | 342 +- .../PayoutMethodsBankAccountSpec.ts | 110 +- .../V2/MoneyManagement/ReceivedCredits.ts | 856 +- .../V2/MoneyManagement/ReceivedDebits.ts | 362 +- .../MoneyManagement/RecipientVerifications.ts | 98 +- .../V2/MoneyManagement/TransactionEntries.ts | 552 +- .../V2/MoneyManagement/Transactions.ts | 558 +- src/resources/V2/Network/BusinessProfiles.ts | 68 +- .../V2/OrchestratedCommerce/Agreements.ts | 102 +- .../V2/Payments/OffSessionPayments.ts | 410 +- .../SettlementAllocationIntentSplits.ts | 74 +- .../Payments/SettlementAllocationIntents.ts | 64 +- src/resources/V2/Reporting/ReportRuns.ts | 184 +- src/resources/V2/Reporting/Reports.ts | 138 +- src/resources/V2/Signals/AccountSignals.ts | 290 +- src/resources/V2/Tax/ManualRules.ts | 158 +- src/stripe.cjs.node.ts | 26375 +++++++++++++--- 123 files changed, 47046 insertions(+), 38405 deletions(-) diff --git a/src/resources/Billing/AlertTriggereds.ts b/src/resources/Billing/AlertTriggereds.ts index e49bca0f47..98cd7634ad 100644 --- a/src/resources/Billing/AlertTriggereds.ts +++ b/src/resources/Billing/AlertTriggereds.ts @@ -12,7 +12,7 @@ export interface AlertTriggered { /** * The aggregation period for which this alert triggered */ - aggregation_period?: Billing.AlertTriggered.AggregationPeriod | null; + aggregation_period?: AlertTriggered.AggregationPeriod | null; /** * A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests. @@ -47,7 +47,7 @@ export interface AlertTriggered { /** * Populated specifically for spend alerts to notify merchants which group_by entity has the exceeded spend */ - group_by?: Billing.AlertTriggered.GroupBy | null; + group_by?: AlertTriggered.GroupBy | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -64,39 +64,37 @@ export interface AlertTriggered { */ value: Decimal; } -export namespace Billing { - export namespace AlertTriggered { - export interface AggregationPeriod { - /** - * End time of the aggregation period - */ - ends_at: number; - - /** - * Start time of the aggregation period - */ - starts_at: number; - } - - export interface GroupBy { - /** - * The billing cadence ID, populated when type is `billing_cadence` - */ - billing_cadence: string | null; - - /** - * The pricing plan subscription ID, populated when type is `pricing_plan_subscription` - */ - pricing_plan_subscription: string | null; - - /** - * The type of grouping used for this alert notification - */ - type: GroupBy.Type; - } - - export namespace GroupBy { - export type Type = 'billing_cadence' | 'pricing_plan_subscription'; - } +export namespace AlertTriggered { + export interface AggregationPeriod { + /** + * End time of the aggregation period + */ + ends_at: number; + + /** + * Start time of the aggregation period + */ + starts_at: number; + } + + export interface GroupBy { + /** + * The billing cadence ID, populated when type is `billing_cadence` + */ + billing_cadence: string | null; + + /** + * The pricing plan subscription ID, populated when type is `pricing_plan_subscription` + */ + pricing_plan_subscription: string | null; + + /** + * The type of grouping used for this alert notification + */ + type: GroupBy.Type; + } + + export namespace GroupBy { + export type Type = 'billing_cadence' | 'pricing_plan_subscription'; } } diff --git a/src/resources/Billing/Alerts.ts b/src/resources/Billing/Alerts.ts index 1dbba5ae54..c044258371 100644 --- a/src/resources/Billing/Alerts.ts +++ b/src/resources/Billing/Alerts.ts @@ -422,12 +422,12 @@ export interface Alert { /** * Defines the type of the alert. */ - alert_type: Billing.Alert.AlertType; + alert_type: Alert.AlertType; /** * Encapsulates configuration of the alert to monitor billing credit balance. */ - credit_balance_threshold?: Billing.Alert.CreditBalanceThreshold | null; + credit_balance_threshold?: Alert.CreditBalanceThreshold | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -437,7 +437,7 @@ export interface Alert { /** * Encapsulates the alert's configuration to monitor spend on pricing plan subscriptions. */ - spend_threshold?: Billing.Alert.SpendThreshold | null; + spend_threshold?: Alert.SpendThreshold | null; /** * Status of the alert. This can be active, inactive or archived. @@ -454,45 +454,44 @@ export interface Alert { */ usage_threshold: Alert.UsageThreshold | null; } -export namespace Billing { - export namespace Alert { - export type AlertType = - | 'credit_balance_threshold' - | 'spend_threshold' - | 'usage_threshold'; +export namespace Alert { + export type AlertType = + | 'credit_balance_threshold' + | 'spend_threshold' + | 'usage_threshold'; - export interface CreditBalanceThreshold { - /** - * The filters allow limiting the scope of this credit balance alert. You must specify only a customer filter at this time. - */ - filters: Array | null; + export interface CreditBalanceThreshold { + /** + * The filters allow limiting the scope of this credit balance alert. You must specify only a customer filter at this time. + */ + filters: Array | null; - lte: CreditBalanceThreshold.Lte; - } + lte: CreditBalanceThreshold.Lte; + } - export interface SpendThreshold { - /** - * Defines the period over which spend is aggregated. - */ - aggregation_period: 'billing'; + export interface SpendThreshold { + /** + * Defines the period over which spend is aggregated. + */ + aggregation_period: 'billing'; - /** - * Filters to scope the spend calculation. - */ - filters: SpendThreshold.Filters | null; + /** + * Filters to scope the spend calculation. + */ + filters: SpendThreshold.Filters | null; - /** - * Defines the granularity of spend aggregation. - */ - group_by: SpendThreshold.GroupBy | null; + /** + * Defines the granularity of spend aggregation. + */ + group_by: SpendThreshold.GroupBy | null; - /** - * The threshold value configuration for a spend threshold alert. - */ - gte: SpendThreshold.Gte; - } + /** + * The threshold value configuration for a spend threshold alert. + */ + gte: SpendThreshold.Gte; + } - export type Status = 'active' | 'archived' | 'inactive'; + export type Status = 'active' | 'archived' | 'inactive'; export interface UsageThreshold { /** @@ -516,68 +515,80 @@ export namespace Billing { recurrence: 'one_time'; } - export namespace UsageThreshold { + export namespace CreditBalanceThreshold { export interface Filter { /** * Limit the scope of the alert to this customer ID */ customer: string | Customer | null; + type: Filter.Type; + } + + export interface Lte { /** - * The value at which this alert will trigger. + * The type of this balance. We currently only support `monetary` amounts. */ - gte: number; + balance_type: Lte.BalanceType; /** - * The [Billing Meter](https://docs.stripe.com/api/billing/meter) ID whose usage is monitored. + * The custom pricing unit amount. */ - meter: string | Meter; + custom_pricing_unit?: Lte.CustomPricingUnit | null; /** - * Defines how the alert will behave. + * The monetary amount. */ - recurrence: 'one_time'; + monetary: Lte.Monetary | null; } - export namespace CreditBalanceThreshold { - export interface Filter { - /** - * Limit the scope of the alert to this customer ID - */ - customer: string | Customer | null; + export namespace Filter { + export type Type = 'customer' | 'tenant'; + } - type: Filter.Type; - } + export namespace Lte { + export type BalanceType = 'custom_pricing_unit' | 'monetary'; - export interface Lte { + export interface CustomPricingUnit { /** - * The type of this balance. We currently only support `monetary` amounts. + * The custom pricing unit object. */ - balance_type: Lte.BalanceType; + custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; /** - * The custom pricing unit amount. + * Unique identifier for the object. */ - custom_pricing_unit?: Lte.CustomPricingUnit | null; + id: string; /** - * The monetary amount. + * A positive decimal string representing the amount. */ - monetary: Lte.Monetary | null; + value: Decimal; } - export namespace Filter { - export type Type = 'customer' | 'tenant'; + export interface Monetary { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * A positive integer representing the amount. + */ + value: number; } - export namespace Lte { - export type BalanceType = 'custom_pricing_unit' | 'monetary'; + export namespace CustomPricingUnit { + export interface CustomPricingUnitDetails { + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; - export interface CustomPricingUnit { /** - * The custom pricing unit object. + * The name of the custom pricing unit. */ - custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; + display_name: string; /** * Unique identifier for the object. @@ -585,114 +596,104 @@ export namespace Billing { id: string; /** - * A positive decimal string representing the amount. + * A lookup key for the custom pricing unit. */ - value: Decimal; - } + lookup_key: string | null; - export interface Monetary { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * 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. */ - currency: string; + metadata: Metadata; /** - * A positive integer representing the amount. + * The status of the custom pricing unit. */ - value: number; + status: string; } + } + } + } - export namespace CustomPricingUnit { - export interface CustomPricingUnitDetails { - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; + export namespace SpendThreshold { + export interface Filters { + /** + * Filter by billing cadence ID. + */ + billing_cadence: string | null; - /** - * The name of the custom pricing unit. - */ - display_name: string; + /** + * Filter by pricing plan ID. + */ + pricing_plan: string | null; - /** - * Unique identifier for the object. - */ - id: string; + /** + * Filter by pricing plan subscription ID. + */ + pricing_plan_subscription: string | null; + } - /** - * A lookup key for the custom pricing unit. - */ - lookup_key: string | null; + export type GroupBy = 'billing_cadence' | 'pricing_plan_subscription'; - /** - * 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. - */ - metadata: Metadata; + export interface Gte { + /** + * The monetary amount. Present when type is `amount`. + */ + amount: Gte.Amount | null; - /** - * The status of the custom pricing unit. - */ - status: string; - } - } - } - } + /** + * The custom pricing unit amount. Present when type is `custom_pricing_unit`. + */ + custom_pricing_unit: Gte.CustomPricingUnit | null; - export namespace SpendThreshold { - export interface Filters { - /** - * Filter by billing cadence ID. - */ - billing_cadence: string | null; + /** + * The type of the threshold amount. + */ + type: Gte.Type; + } + export namespace Gte { + export interface Amount { /** - * Filter by pricing plan ID. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - pricing_plan: string | null; + currency: string; /** - * Filter by pricing plan subscription ID. + * A positive integer representing the amount. */ - pricing_plan_subscription: string | null; + value: number; } - export type GroupBy = 'billing_cadence' | 'pricing_plan_subscription'; - - export interface Gte { + export interface CustomPricingUnit { /** - * The monetary amount. Present when type is `amount`. + * The custom pricing unit object. */ - amount: Gte.Amount | null; + custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; /** - * The custom pricing unit amount. Present when type is `custom_pricing_unit`. + * Unique identifier for the object. */ - custom_pricing_unit: Gte.CustomPricingUnit | null; + id: string; /** - * The type of the threshold amount. + * A positive decimal string representing the amount. */ - type: Gte.Type; + value: Decimal; } - export namespace Gte { - export interface Amount { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; + export type Type = 'amount' | 'custom_pricing_unit'; + export namespace CustomPricingUnit { + export interface CustomPricingUnitDetails { /** - * A positive integer representing the amount. + * Time at which the object was created. Measured in seconds since the Unix epoch. */ - value: number; - } + created: number; - export interface CustomPricingUnit { /** - * The custom pricing unit object. + * The name of the custom pricing unit. */ - custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; + display_name: string; /** * Unique identifier for the object. @@ -700,58 +701,32 @@ export namespace Billing { id: string; /** - * A positive decimal string representing the amount. + * A lookup key for the custom pricing unit. */ - value: Decimal; - } - - export type Type = 'amount' | 'custom_pricing_unit'; - - export namespace CustomPricingUnit { - export interface CustomPricingUnitDetails { - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The name of the custom pricing unit. - */ - display_name: string; - - /** - * Unique identifier for the object. - */ - id: string; + lookup_key: string | null; - /** - * A lookup key for the custom pricing unit. - */ - lookup_key: string | null; - - /** - * 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. - */ - metadata: Metadata; + /** + * 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. + */ + metadata: Metadata; - /** - * The status of the custom pricing unit. - */ - status: string; - } + /** + * The status of the custom pricing unit. + */ + status: string; } } } + } - export namespace UsageThreshold { - export interface Filter { - /** - * Limit the scope of the alert to this customer ID - */ - customer: string | Customer | null; + export namespace UsageThreshold { + export interface Filter { + /** + * Limit the scope of the alert to this customer ID + */ + customer: string | Customer | null; - type: 'customer'; - } + type: 'customer'; } } } diff --git a/src/resources/Billing/CreditBalanceSummary.ts b/src/resources/Billing/CreditBalanceSummary.ts index eae1414000..ec22141310 100644 --- a/src/resources/Billing/CreditBalanceSummary.ts +++ b/src/resources/Billing/CreditBalanceSummary.ts @@ -90,12 +90,42 @@ export namespace CreditBalanceSummary { export interface Balance { available_balance: Balance.AvailableBalance; - balance_update_details?: Balance.BalanceUpdateDetails; + balance_update_details?: Balance.BalanceUpdateDetails; - ledger_balance: Balance.LedgerBalance; + ledger_balance: Balance.LedgerBalance; + } + + export namespace Balance { + export interface AvailableBalance { + /** + * The custom pricing unit amount. + */ + custom_pricing_unit?: AvailableBalance.CustomPricingUnit | null; + + /** + * The monetary amount. + */ + monetary: AvailableBalance.Monetary | null; + + /** + * The type of this amount. We currently only support `monetary` billing credits. + */ + type: AvailableBalance.Type; + } + + export interface BalanceUpdateDetails { + /** + * The details of the most recent meter event included in the balance update. + */ + latest_meter_event: BalanceUpdateDetails.LatestMeterEvent | null; } export interface LedgerBalance { + /** + * The custom pricing unit amount. + */ + custom_pricing_unit?: LedgerBalance.CustomPricingUnit | null; + /** * The monetary amount. */ @@ -104,59 +134,52 @@ export namespace CreditBalanceSummary { /** * The type of this amount. We currently only support `monetary` billing credits. */ - type: 'monetary'; + type: LedgerBalance.Type; } export namespace AvailableBalance { - export interface Monetary { + export interface CustomPricingUnit { /** - * The custom pricing unit amount. + * The custom pricing unit object. */ - custom_pricing_unit?: AvailableBalance.CustomPricingUnit | null; + custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; /** - * The monetary amount. + * Unique identifier for the object. */ - currency: string; + id: string; /** * A positive integer representing the amount. */ - type: AvailableBalance.Type; - } - - export interface BalanceUpdateDetails { - /** - * The details of the most recent meter event included in the balance update. - */ - latest_meter_event: BalanceUpdateDetails.LatestMeterEvent | null; + value: Decimal; } - } - export namespace LedgerBalance { export interface Monetary { /** - * The custom pricing unit amount. - */ - custom_pricing_unit?: LedgerBalance.CustomPricingUnit | null; - - /** - * The monetary amount. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ currency: string; /** * A positive integer representing the amount. */ - type: LedgerBalance.Type; + value: number; } - export namespace AvailableBalance { - export interface CustomPricingUnit { + export type Type = 'custom_pricing_unit' | 'monetary'; + + export namespace CustomPricingUnit { + export interface CustomPricingUnitDetails { /** - * The custom pricing unit object. + * Time at which the object was created. Measured in seconds since the Unix epoch. */ - custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; + created: number; + + /** + * The name of the custom pricing unit. + */ + display_name: string; /** * Unique identifier for the object. @@ -164,80 +187,80 @@ export namespace CreditBalanceSummary { id: string; /** - * A positive integer representing the amount. + * A lookup key for the custom pricing unit. */ - value: Decimal; - } + lookup_key: string | null; - export interface Monetary { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * 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. */ - currency: string; + metadata: Metadata; /** - * A positive integer representing the amount. + * The status of the custom pricing unit. */ - value: number; + status: string; } + } + } - export type Type = 'custom_pricing_unit' | 'monetary'; - - export namespace CustomPricingUnit { - export interface CustomPricingUnitDetails { - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The name of the custom pricing unit. - */ - display_name: string; - - /** - * Unique identifier for the object. - */ - id: string; - - /** - * A lookup key for the custom pricing unit. - */ - lookup_key: string | null; - - /** - * 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. - */ - metadata: Metadata; - - /** - * The status of the custom pricing unit. - */ - status: string; - } - } + export namespace BalanceUpdateDetails { + export interface LatestMeterEvent { + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created?: number; + + /** + * Maximum event time across all meter events that were processed and included in the balance update. Measured in seconds since the Unix epoch. + */ + timestamp?: number; } + } - export namespace BalanceUpdateDetails { - export interface LatestMeterEvent { - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created?: number; + export namespace LedgerBalance { + export interface CustomPricingUnit { + /** + * The custom pricing unit object. + */ + custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; + + /** + * Unique identifier for the object. + */ + id: string; + + /** + * A positive integer representing the amount. + */ + value: Decimal; + } + + export interface Monetary { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + /** + * A positive integer representing the amount. + */ + value: number; + } + + export type Type = 'custom_pricing_unit' | 'monetary'; + + export namespace CustomPricingUnit { + export interface CustomPricingUnitDetails { /** - * Maximum event time across all meter events that were processed and included in the balance update. Measured in seconds since the Unix epoch. + * Time at which the object was created. Measured in seconds since the Unix epoch. */ - timestamp?: number; - } - } + created: number; - export namespace LedgerBalance { - export interface CustomPricingUnit { /** - * The custom pricing unit object. + * The name of the custom pricing unit. */ - custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; + display_name: string; /** * Unique identifier for the object. @@ -245,57 +268,19 @@ export namespace CreditBalanceSummary { id: string; /** - * A positive integer representing the amount. + * A lookup key for the custom pricing unit. */ - value: Decimal; - } + lookup_key: string | null; - export interface Monetary { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * 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. */ - currency: string; + metadata: Metadata; /** - * A positive integer representing the amount. + * The status of the custom pricing unit. */ - value: number; - } - - export type Type = 'custom_pricing_unit' | 'monetary'; - - export namespace CustomPricingUnit { - export interface CustomPricingUnitDetails { - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The name of the custom pricing unit. - */ - display_name: string; - - /** - * Unique identifier for the object. - */ - id: string; - - /** - * A lookup key for the custom pricing unit. - */ - lookup_key: string | null; - - /** - * 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. - */ - metadata: Metadata; - - /** - * The status of the custom pricing unit. - */ - status: string; - } + status: string; } } } diff --git a/src/resources/Billing/CreditBalanceTransactions.ts b/src/resources/Billing/CreditBalanceTransactions.ts index b08a937dbf..491ae8447f 100644 --- a/src/resources/Billing/CreditBalanceTransactions.ts +++ b/src/resources/Billing/CreditBalanceTransactions.ts @@ -225,6 +225,11 @@ export namespace CreditBalanceTransaction { export namespace Credit { export interface Amount { + /** + * The custom pricing unit amount. + */ + custom_pricing_unit?: Amount.CustomPricingUnit | null; + /** * The monetary amount. */ @@ -233,7 +238,7 @@ export namespace CreditBalanceTransaction { /** * The type of this amount. We currently only support `monetary` billing credits. */ - type: 'monetary'; + type: Amount.Type; } export interface CreditsApplicationInvoiceVoided { @@ -251,79 +256,48 @@ export namespace CreditBalanceTransaction { export type Type = 'credits_application_invoice_voided' | 'credits_granted'; export namespace Amount { - export interface Monetary { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * A positive integer representing the amount. - */ - value: number; - } - } - } - - export namespace Debit { - export interface Amount { - /** - * The monetary amount. - */ - monetary: Amount.Monetary | null; - - /** - * The type of this amount. We currently only support `monetary` billing credits. - */ - type: 'monetary'; - } - - export interface CreditsApplied { - /** - * The invoice to which the billing credits were applied. - */ - invoice: string | Invoice; - - export namespace Credit { - export interface Amount { + export interface CustomPricingUnit { /** - * The custom pricing unit amount. + * The custom pricing unit object. */ - custom_pricing_unit?: Amount.CustomPricingUnit | null; + custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; /** - * The monetary amount. + * Unique identifier for the object. */ - monetary: Amount.Monetary | null; + id: string; /** - * The type of this amount. We currently only support `monetary` billing credits. + * A positive integer representing the amount. */ - type: Amount.Type; + value: Decimal; } - export interface CreditsApplicationInvoiceVoided { + export interface Monetary { /** - * The invoice to which the reinstated billing credits were originally applied. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - invoice: string | Invoice; + currency: string; /** - * The invoice line item to which the reinstated billing credits were originally applied. + * A positive integer representing the amount. */ - invoice_line_item: string; + value: number; } - export type Type = - | 'credits_application_invoice_voided' - | 'credits_granted'; + export type Type = 'custom_pricing_unit' | 'monetary'; + + export namespace CustomPricingUnit { + export interface CustomPricingUnitDetails { + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; - export namespace Amount { - export interface CustomPricingUnit { /** - * The custom pricing unit object. + * The name of the custom pricing unit. */ - custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; + display_name: string; /** * Unique identifier for the object. @@ -331,104 +305,99 @@ export namespace CreditBalanceTransaction { id: string; /** - * A positive integer representing the amount. + * A lookup key for the custom pricing unit. */ - value: Decimal; - } + lookup_key: string | null; - export interface Monetary { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * 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. */ - currency: string; + metadata: Metadata; /** - * A positive integer representing the amount. + * The status of the custom pricing unit. */ - value: number; - } - - export type Type = 'custom_pricing_unit' | 'monetary'; - - export namespace CustomPricingUnit { - export interface CustomPricingUnitDetails { - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The name of the custom pricing unit. - */ - display_name: string; - - /** - * Unique identifier for the object. - */ - id: string; - - /** - * A lookup key for the custom pricing unit. - */ - lookup_key: string | null; - - /** - * 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. - */ - metadata: Metadata; - - /** - * The status of the custom pricing unit. - */ - status: string; - } + status: string; } } } + } + + export namespace Debit { + export interface Amount { + /** + * The custom pricing unit amount. + */ + custom_pricing_unit?: Amount.CustomPricingUnit | null; + + /** + * The monetary amount. + */ + monetary: Amount.Monetary | null; + + /** + * The type of this amount. We currently only support `monetary` billing credits. + */ + type: Amount.Type; + } + + export interface CreditsApplied { + /** + * The invoice to which the billing credits were applied. + */ + invoice: string | Invoice; + + /** + * The invoice line item to which the billing credits were applied. + */ + invoice_line_item: string; + } export type Type = 'credits_applied' | 'credits_expired' | 'credits_voided'; export namespace Amount { - export interface Monetary { + export interface CustomPricingUnit { /** - * The custom pricing unit amount. + * The custom pricing unit object. */ - custom_pricing_unit?: Amount.CustomPricingUnit | null; + custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; /** - * The monetary amount. + * Unique identifier for the object. */ - currency: string; + id: string; /** * A positive integer representing the amount. */ - type: Amount.Type; + value: Decimal; } - export interface CreditsApplied { + export interface Monetary { /** - * The invoice to which the billing credits were applied. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - invoice: string | Invoice; + currency: string; /** - * The invoice line item to which the billing credits were applied. + * A positive integer representing the amount. */ - invoice_line_item: string; + value: number; } - export type Type = - | 'credits_applied' - | 'credits_expired' - | 'credits_voided'; + export type Type = 'custom_pricing_unit' | 'monetary'; + + export namespace CustomPricingUnit { + export interface CustomPricingUnitDetails { + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; - export namespace Amount { - export interface CustomPricingUnit { /** - * The custom pricing unit object. + * The name of the custom pricing unit. */ - custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; + display_name: string; /** * Unique identifier for the object. @@ -436,57 +405,19 @@ export namespace CreditBalanceTransaction { id: string; /** - * A positive integer representing the amount. + * A lookup key for the custom pricing unit. */ - value: Decimal; - } + lookup_key: string | null; - export interface Monetary { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * 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. */ - currency: string; + metadata: Metadata; /** - * A positive integer representing the amount. + * The status of the custom pricing unit. */ - value: number; - } - - export type Type = 'custom_pricing_unit' | 'monetary'; - - export namespace CustomPricingUnit { - export interface CustomPricingUnitDetails { - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The name of the custom pricing unit. - */ - display_name: string; - - /** - * Unique identifier for the object. - */ - id: string; - - /** - * A lookup key for the custom pricing unit. - */ - lookup_key: string | null; - - /** - * 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. - */ - metadata: Metadata; - - /** - * The status of the custom pricing unit. - */ - status: string; - } + status: string; } } } diff --git a/src/resources/Billing/CreditGrants.ts b/src/resources/Billing/CreditGrants.ts index 6aa022add9..9f3a699969 100644 --- a/src/resources/Billing/CreditGrants.ts +++ b/src/resources/Billing/CreditGrants.ts @@ -321,6 +321,11 @@ export interface CreditGrant { } export namespace CreditGrant { export interface Amount { + /** + * The custom pricing unit amount. + */ + custom_pricing_unit?: Amount.CustomPricingUnit | null; + /** * The monetary amount. */ @@ -329,7 +334,7 @@ export namespace CreditGrant { /** * The type of this amount. We currently only support `monetary` billing credits. */ - type: 'monetary'; + type: Amount.Type; } export interface ApplicabilityConfig { @@ -339,35 +344,48 @@ export namespace CreditGrant { export type Category = 'paid' | 'promotional'; export namespace Amount { - export interface Monetary { + export interface CustomPricingUnit { /** - * The custom pricing unit amount. + * The custom pricing unit object. */ - custom_pricing_unit?: Amount.CustomPricingUnit | null; + custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; /** - * The monetary amount. + * Unique identifier for the object. */ - currency: string; + id: string; /** * A positive integer representing the amount. */ - type: Amount.Type; + value: Decimal; } - export interface ApplicabilityConfig { - scope: ApplicabilityConfig.Scope; + export interface Monetary { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * A positive integer representing the amount. + */ + value: number; } - export type Category = 'paid' | 'promotional'; + export type Type = 'custom_pricing_unit' | 'monetary'; - export namespace Amount { - export interface CustomPricingUnit { + export namespace CustomPricingUnit { + export interface CustomPricingUnitDetails { /** - * The custom pricing unit object. + * Time at which the object was created. Measured in seconds since the Unix epoch. */ - custom_pricing_unit_details: CustomPricingUnit.CustomPricingUnitDetails | null; + created: number; + + /** + * The name of the custom pricing unit. + */ + display_name: string; /** * Unique identifier for the object. @@ -375,92 +393,54 @@ export namespace CreditGrant { id: string; /** - * A positive integer representing the amount. + * A lookup key for the custom pricing unit. */ - value: Decimal; - } + lookup_key: string | null; - export interface Monetary { /** - * Unique identifier for the object. + * 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. */ - currency: string; + metadata: Metadata; /** - * A positive integer representing the amount. + * The status of the custom pricing unit. */ - value: number; + status: string; } + } + } - export type Type = 'custom_pricing_unit' | 'monetary'; - - export namespace CustomPricingUnit { - export interface CustomPricingUnitDetails { - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The name of the custom pricing unit. - */ - display_name: string; - - /** - * Unique identifier for the object. - */ - id: string; - - /** - * A lookup key for the custom pricing unit. - */ - lookup_key: string | null; + export namespace ApplicabilityConfig { + export interface Scope { + /** + * The billable items that credit grants can apply to. We currently only support metered billable items. Cannot be used in combination with `price_type` or `prices`. + */ + billable_items?: Array; - /** - * 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. - */ - metadata: Metadata; + /** + * The price type that credit grants can apply to. We currently only support the `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `prices`. + */ + price_type?: 'metered'; - /** - * The status of the custom pricing unit. - */ - status: string; - } - } + /** + * The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `price_type`. + */ + prices?: Array; } - export namespace ApplicabilityConfig { - export interface Scope { - /** - * The billable items that credit grants can apply to. We currently only support metered billable items. Cannot be used in combination with `price_type` or `prices`. - */ - billable_items?: Array; - + export namespace Scope { + export interface BillableItem { /** - * The price type that credit grants can apply to. We currently only support the `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `prices`. + * Unique identifier for the object. */ - price_type?: 'metered'; + id: string | null; + } + export interface Price { /** - * The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `price_type`. + * Unique identifier for the object. */ - prices?: Array; - } - - export namespace Scope { - export interface BillableItem { - /** - * Unique identifier for the object. - */ - id: string | null; - } - - export interface Price { - /** - * Unique identifier for the object. - */ - id: string | null; - } + id: string | null; } } } diff --git a/src/resources/Capital/FinancingOffers.ts b/src/resources/Capital/FinancingOffers.ts index d2cc1bd7b7..da5b0bd0a0 100644 --- a/src/resources/Capital/FinancingOffers.ts +++ b/src/resources/Capital/FinancingOffers.ts @@ -71,7 +71,7 @@ export interface FinancingOffer { * the terms accepted by the Connected account, which may differ from those * offered. */ - accepted_terms?: Capital.FinancingOffer.AcceptedTerms; + accepted_terms?: FinancingOffer.AcceptedTerms; /** * The ID of the merchant associated with this financing object. @@ -96,7 +96,7 @@ export interface FinancingOffer { /** * The type of financing being offered. */ - financing_type?: Capital.FinancingOffer.FinancingType; + financing_type?: FinancingOffer.FinancingType; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -113,12 +113,12 @@ export interface FinancingOffer { * Stripe Capital to a Connected account. This resource represents * both the terms offered to the Connected account. */ - offered_terms?: Capital.FinancingOffer.OfferedTerms; + offered_terms?: FinancingOffer.OfferedTerms; /** * Financing product identifier. */ - product_type?: Capital.FinancingOffer.ProductType; + product_type?: FinancingOffer.ProductType; /** * The ID of the financing offer that replaced this offer. @@ -133,102 +133,100 @@ export interface FinancingOffer { /** * The current status of the offer. */ - status: Capital.FinancingOffer.Status; + status: FinancingOffer.Status; /** * See [financing_type](https://docs.stripe.com/api/capital/connect_financing_object#financing_offer_object-financing_type). */ - type?: Capital.FinancingOffer.Type; + type?: FinancingOffer.Type; } -export namespace Capital { - export namespace FinancingOffer { - export interface AcceptedTerms { - /** - * Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. - */ - advance_amount: number; - - /** - * Currency that the financing offer is transacted in. For example, `usd`. - */ - currency: string; - - /** - * Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. - */ - fee_amount: number; - - /** - * Populated when the `product_type` of the `financingoffer` is `refill`. - * Represents the discount amount on remaining premium for the existing loan at payout time. - */ - previous_financing_fee_discount_amount: number | null; - - /** - * Per-transaction rate at which Stripe withholds funds to repay the financing. - */ - withhold_rate: number; - } - - export type FinancingType = 'cash_advance' | 'flex_loan'; - - export interface OfferedTerms { - /** - * Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. - */ - advance_amount: number; - - /** - * Describes the type of user the offer is being extended to. - */ - campaign_type: OfferedTerms.CampaignType; - - /** - * Currency that the financing offer is transacted in. For example, `usd`. - */ - currency: string; - - /** - * Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. - */ - fee_amount: number; - - /** - * Populated when the `product_type` of the `financingoffer` is `refill`. - * Represents the discount rate percentage on remaining fee on the existing loan. When the `financing_offer` - * is paid out, the `previous_financing_fee_discount_amount` will be computed as the multiple of this rate - * and the remaining fee. - */ - previous_financing_fee_discount_rate: number | null; - - /** - * Per-transaction rate at which Stripe withholds funds to repay the financing. - */ - withhold_rate: number; - } - - export type ProductType = 'refill' | 'standard'; +export namespace FinancingOffer { + export interface AcceptedTerms { + /** + * Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. + */ + advance_amount: number; - export type Status = - | 'accepted' - | 'canceled' - | 'completed' - | 'delivered' - | 'expired' - | 'fully_repaid' - | 'paid_out' - | 'rejected' - | 'replaced' - | 'undelivered'; + /** + * Currency that the financing offer is transacted in. For example, `usd`. + */ + currency: string; + + /** + * Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. + */ + fee_amount: number; + + /** + * Populated when the `product_type` of the `financingoffer` is `refill`. + * Represents the discount amount on remaining premium for the existing loan at payout time. + */ + previous_financing_fee_discount_amount: number | null; + + /** + * Per-transaction rate at which Stripe withholds funds to repay the financing. + */ + withhold_rate: number; + } + + export type FinancingType = 'cash_advance' | 'flex_loan'; + + export interface OfferedTerms { + /** + * Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. + */ + advance_amount: number; + + /** + * Describes the type of user the offer is being extended to. + */ + campaign_type: OfferedTerms.CampaignType; + + /** + * Currency that the financing offer is transacted in. For example, `usd`. + */ + currency: string; + + /** + * Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. + */ + fee_amount: number; - export type Type = 'cash_advance' | 'fixed_term_loan' | 'flex_loan'; + /** + * Populated when the `product_type` of the `financingoffer` is `refill`. + * Represents the discount rate percentage on remaining fee on the existing loan. When the `financing_offer` + * is paid out, the `previous_financing_fee_discount_amount` will be computed as the multiple of this rate + * and the remaining fee. + */ + previous_financing_fee_discount_rate: number | null; + + /** + * Per-transaction rate at which Stripe withholds funds to repay the financing. + */ + withhold_rate: number; + } - export namespace OfferedTerms { - export type CampaignType = - | 'newly_eligible_user' - | 'previously_eligible_user' - | 'repeat_user'; - } + export type ProductType = 'refill' | 'standard'; + + export type Status = + | 'accepted' + | 'canceled' + | 'completed' + | 'delivered' + | 'expired' + | 'fully_repaid' + | 'paid_out' + | 'rejected' + | 'replaced' + | 'undelivered'; + + export type Type = 'cash_advance' | 'fixed_term_loan' | 'flex_loan'; + + export namespace OfferedTerms { + export type CampaignType = + | 'newly_eligible_user' + | 'previously_eligible_user' + | 'repeat_user'; } } export namespace Capital { diff --git a/src/resources/Capital/FinancingSummary.ts b/src/resources/Capital/FinancingSummary.ts index 8946dde12a..fef1f77c59 100644 --- a/src/resources/Capital/FinancingSummary.ts +++ b/src/resources/Capital/FinancingSummary.ts @@ -32,7 +32,7 @@ export interface FinancingSummary { * * Only present for financing offers with the `paid_out` status. */ - details: Capital.FinancingSummary.Details | null; + details: FinancingSummary.Details | null; /** * The unique identifier of the Financing Offer object that corresponds to the Financing Summary object. @@ -42,77 +42,75 @@ export interface FinancingSummary { /** * The financing status of the connected account. */ - status: Capital.FinancingSummary.Status | null; + status: FinancingSummary.Status | null; } -export namespace Capital { - export namespace FinancingSummary { - export interface Details { - /** - * Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. - */ - advance_amount: number; +export namespace FinancingSummary { + export interface Details { + /** + * Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. + */ + advance_amount: number; - /** - * The time at which the funds were paid out to the connected account's Stripe balance. Given in milliseconds since unix epoch. - */ - advance_paid_out_at: number | null; + /** + * The time at which the funds were paid out to the connected account's Stripe balance. Given in milliseconds since unix epoch. + */ + advance_paid_out_at: number | null; - /** - * Currency that the financing offer is transacted in. For example, `usd`. - */ - currency: string; + /** + * Currency that the financing offer is transacted in. For example, `usd`. + */ + currency: string; - /** - * The chronologically current repayment interval for the financing offer. - */ - current_repayment_interval: Details.CurrentRepaymentInterval | null; + /** + * The chronologically current repayment interval for the financing offer. + */ + current_repayment_interval: Details.CurrentRepaymentInterval | null; - /** - * Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. - */ - fee_amount: number; + /** + * Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. + */ + fee_amount: number; - /** - * The amount the Connected account has paid toward the financing debt so far, in minor units. For example, 1,000 USD is represented as 100000. - */ - paid_amount: number; + /** + * The amount the Connected account has paid toward the financing debt so far, in minor units. For example, 1,000 USD is represented as 100000. + */ + paid_amount: number; + + /** + * The balance remaining to be paid on the financing, in minor units. For example, 1,000 USD is represented as 100000. + */ + remaining_amount: number; + + /** + * The time at which Capital will begin withholding from payments. Given in seconds since unix epoch. + */ + repayments_begin_at: number | null; + + /** + * Per-transaction rate at which Stripe withholds funds to repay the financing. + */ + withhold_rate: number; + } + export type Status = 'accepted' | 'delivered' | 'none'; + + export namespace Details { + export interface CurrentRepaymentInterval { /** - * The balance remaining to be paid on the financing, in minor units. For example, 1,000 USD is represented as 100000. + * The time at which the minimum payment amount will be due. If not met through withholding, the Connected account's linked bank account or account balance will be debited. + * Given in seconds since unix epoch. */ - remaining_amount: number; + due_at: number; /** - * The time at which Capital will begin withholding from payments. Given in seconds since unix epoch. + * The amount that has already been paid in the current repayment interval, in minor units. For example, 100 USD is represented as 10000. */ - repayments_begin_at: number | null; + paid_amount: number | null; /** - * Per-transaction rate at which Stripe withholds funds to repay the financing. + * The amount that is yet to be paid in the current repayment interval, in minor units. For example, 100 USD is represented as 10000. */ - withhold_rate: number; - } - - export type Status = 'accepted' | 'delivered' | 'none'; - - export namespace Details { - export interface CurrentRepaymentInterval { - /** - * The time at which the minimum payment amount will be due. If not met through withholding, the Connected account's linked bank account or account balance will be debited. - * Given in seconds since unix epoch. - */ - due_at: number; - - /** - * The amount that has already been paid in the current repayment interval, in minor units. For example, 100 USD is represented as 10000. - */ - paid_amount: number | null; - - /** - * The amount that is yet to be paid in the current repayment interval, in minor units. For example, 100 USD is represented as 10000. - */ - remaining_amount: number; - } + remaining_amount: number; } } } diff --git a/src/resources/Capital/FinancingTransactions.ts b/src/resources/Capital/FinancingTransactions.ts index 60e4cb8b73..e3635883c7 100644 --- a/src/resources/Capital/FinancingTransactions.ts +++ b/src/resources/Capital/FinancingTransactions.ts @@ -63,7 +63,7 @@ export interface FinancingTransaction { /** * This is an object representing a transaction on a Capital financing offer. */ - details: Capital.FinancingTransaction.Details; + details: FinancingTransaction.Details; /** * The Capital financing offer for this financing transaction. @@ -85,82 +85,80 @@ export interface FinancingTransaction { /** * The type of the financing transaction. */ - type: Capital.FinancingTransaction.Type; + type: FinancingTransaction.Type; /** * A human-friendly description of the financing transaction. */ user_facing_description: string | null; } -export namespace Capital { - export namespace FinancingTransaction { - export interface Details { - /** - * The advance amount being repaid, paid out, or reversed in minor units. - */ - advance_amount: number; +export namespace FinancingTransaction { + export interface Details { + /** + * The advance amount being repaid, paid out, or reversed in minor units. + */ + advance_amount: number; - /** - * The currency of the financing transaction. - */ - currency: string; + /** + * The currency of the financing transaction. + */ + currency: string; - /** - * The fee amount being repaid, paid out, or reversed in minor units. - */ - fee_amount: number; + /** + * The fee amount being repaid, paid out, or reversed in minor units. + */ + fee_amount: number; - /** - * The linked payment for the transaction. This field only applies to financing transactions of type `paydown` and reason `automatic_withholding`. - */ - linked_payment?: string; + /** + * The linked payment for the transaction. This field only applies to financing transactions of type `paydown` and reason `automatic_withholding`. + */ + linked_payment?: string; - /** - * The reason for the financing transaction (if applicable). - */ - reason?: Details.Reason; + /** + * The reason for the financing transaction (if applicable). + */ + reason?: Details.Reason; - /** - * The reversed transaction. This field only applies to financing - * transactions of type `reversal`. - */ - reversed_transaction?: string; + /** + * The reversed transaction. This field only applies to financing + * transactions of type `reversal`. + */ + reversed_transaction?: string; + + /** + * The advance and fee amount being repaid, paid out, or reversed in minor units. + */ + total_amount: number; + /** + * This is an object representing a linked transaction on a Capital Financing Transaction. + */ + transaction?: Details.Transaction; + } + + export type Type = 'payment' | 'payout' | 'reversal'; + + export namespace Details { + export type Reason = + | 'automatic_withholding' + | 'automatic_withholding_refund' + | 'collection' + | 'collection_failure' + | 'financing_cancellation' + | 'refill' + | 'requested_by_user' + | 'user_initiated'; + + export interface Transaction { /** - * The advance and fee amount being repaid, paid out, or reversed in minor units. + * The linked payment ID. */ - total_amount: number; + charge?: string; /** - * This is an object representing a linked transaction on a Capital Financing Transaction. + * The linked Treasury Financing Transaction ID. */ - transaction?: Details.Transaction; - } - - export type Type = 'payment' | 'payout' | 'reversal'; - - export namespace Details { - export type Reason = - | 'automatic_withholding' - | 'automatic_withholding_refund' - | 'collection' - | 'collection_failure' - | 'financing_cancellation' - | 'refill' - | 'requested_by_user' - | 'user_initiated'; - - export interface Transaction { - /** - * The linked payment ID. - */ - charge?: string; - - /** - * The linked Treasury Financing Transaction ID. - */ - treasury_transaction?: string; - } + treasury_transaction?: string; } } } diff --git a/src/resources/Checkout/Sessions.ts b/src/resources/Checkout/Sessions.ts index 6711f8b22f..ad7035cbd9 100644 --- a/src/resources/Checkout/Sessions.ts +++ b/src/resources/Checkout/Sessions.ts @@ -781,11 +781,11 @@ export interface Session { * * When set to `manual`, you must approve the customer's attempt to pay by calling [approve](api/checkout/sessions/approve) from your server. */ - approval_method?: Checkout.Session.ApprovalMethod | null; + approval_method?: Session.ApprovalMethod | null; - automatic_surcharge?: Checkout.Session.AutomaticSurcharge; + automatic_surcharge?: Session.AutomaticSurcharge; - automatic_tax: Checkout.Session.AutomaticTax; + automatic_tax: Session.AutomaticTax; /** * Describes whether Checkout should collect the customer's billing address. Defaults to `auto`. @@ -799,7 +799,7 @@ export interface Session { */ cancel_url: string | null; - checkout_items?: Array; + checkout_items?: Array; /** * A unique string to reference the Checkout Session. This can be a @@ -847,7 +847,7 @@ export interface Session { /** * The customer's pending attempt to pay that requires your approval. Contains information about the customer and their payment details. */ - current_attempt?: Checkout.Session.CurrentAttempt | null; + current_attempt?: Session.CurrentAttempt | null; /** * Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`. @@ -860,7 +860,7 @@ export interface Session { */ custom_payment_method_types?: Array; - custom_text: Checkout.Session.CustomText; + custom_text: Session.CustomText; /** * The ID of the customer for this Session. @@ -1083,9 +1083,9 @@ export interface Session { */ success_url: string | null; - surcharge_cost?: Checkout.Session.SurchargeCost; + surcharge_cost?: Session.SurchargeCost; - tax_id_collection?: Checkout.Session.TaxIdCollection; + tax_id_collection?: Session.TaxIdCollection; /** * Tax and discount details for the computed total amount. @@ -1123,555 +1123,883 @@ export namespace Session { recovery: AfterExpiration.Recovery | null; } - export type ApprovalMethod = 'auto' | 'manual'; + export type ApprovalMethod = 'auto' | 'manual'; - export interface AutomaticSurcharge { - /** - * Determines which amount serves as the basis for calculating the surcharge. - */ - calculation_basis: AutomaticSurcharge.CalculationBasis | null; + export interface AutomaticSurcharge { + /** + * Determines which amount serves as the basis for calculating the surcharge. + */ + calculation_basis: AutomaticSurcharge.CalculationBasis | null; - /** - * Indicates whether automatic surcharge is enabled for the session. - */ - enabled: boolean; + /** + * Indicates whether automatic surcharge is enabled for the session. + */ + enabled: boolean; - /** - * The surcharge provider used for this session. - */ - provider?: AutomaticSurcharge.Provider; + /** + * The surcharge provider used for this session. + */ + provider?: AutomaticSurcharge.Provider; - /** - * The status of the most recent surcharge calculation for this session. - */ - status?: AutomaticSurcharge.Status; + /** + * The status of the most recent surcharge calculation for this session. + */ + status?: AutomaticSurcharge.Status; - /** - * Specifies whether the surcharge is considered inclusive or exclusive of taxes. - */ - tax_behavior: AutomaticSurcharge.TaxBehavior | null; - } + /** + * Specifies whether the surcharge is considered inclusive or exclusive of taxes. + */ + tax_behavior: AutomaticSurcharge.TaxBehavior | null; + } - export interface AutomaticTax { - /** - * Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` - */ - allow_promotion_codes: boolean; + export interface AutomaticTax { + /** + * Indicates whether automatic tax is enabled for the session + */ + enabled: boolean; - /** - * If `true`, a recovery url will be generated to recover this Checkout Session if it - * expires before a transaction is completed. It will be attached to the - * Checkout Session object upon expiration. - */ - enabled: boolean; + /** + * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. + */ + liability: AutomaticTax.Liability | null; - /** - * The timestamp at which the recovery URL will expire. - */ - expires_at: number | null; + /** + * The tax provider powering automatic tax. + */ + provider: string | null; - /** - * URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session - */ - url: string | null; - } + /** + * The status of the most recent automated tax calculation for this session. + */ + status: AutomaticTax.Status | null; } - export namespace AutomaticTax { - export interface Liability { - /** - * The connected account being referenced when `type` is `account`. - */ - account?: string | Account; - - /** - * Type of the account referenced. - */ - type: Liability.Type; - } - - export type Status = 'complete' | 'failed' | 'requires_location_inputs'; + export type BillingAddressCollection = 'auto' | 'required'; - export namespace Liability { - export type Type = 'account' | 'self'; - } - } + export interface BrandingSettings { + /** + * A hex color value starting with `#` representing the background color for the Checkout Session. + */ + background_color: string; - export namespace BrandingSettings { - export type BorderStyle = 'pill' | 'rectangular' | 'rounded'; + /** + * The border style for the Checkout Session. Must be one of `rounded`, `rectangular`, or `pill`. + */ + border_style: BrandingSettings.BorderStyle; - export interface Icon { - /** - * The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. - */ - file?: string; + /** + * A hex color value starting with `#` representing the button color for the Checkout Session. + */ + button_color: string; - /** - * The type of image for the icon. Must be one of `file` or `url`. - */ - type: Icon.Type; + /** + * The display name shown on the Checkout Session. + */ + display_name: string; - /** - * The URL of the image. Present when `type` is `url`. - */ - url?: string; - } + /** + * The font family for the Checkout Session. Must be one of the [supported font families](https://docs.stripe.com/payments/checkout/customization/appearance?payment-ui=stripe-hosted#font-compatibility). + */ + font_family: string; - export interface CheckoutItem { - type: CheckoutItem.Type; + /** + * The icon for the Checkout Session. You cannot set both `logo` and `icon`. + */ + icon: BrandingSettings.Icon | null; - rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem; + /** + * The logo for the Checkout Session. You cannot set both `logo` and `icon`. + */ + logo: BrandingSettings.Logo | null; + } - pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem; - } + export interface CheckoutItem { + type: CheckoutItem.Type; - export interface CollectedInformation { - /** - * The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. - */ - file?: string; + rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem; - /** - * Customer's email for this Checkout Session - */ - email?: string | null; + pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem; + } - /** - * Customer's individual name for this Checkout Session - */ - type: Logo.Type; + export interface CollectedInformation { + /** + * Customer's business name for this Checkout Session + */ + business_name: string | null; - /** - * Customer's phone number for this Checkout Session - */ - phone?: string | null; + /** + * Customer's email for this Checkout Session + */ + email?: string | null; - /** - * Shipping information for this Checkout Session. - */ - shipping_details: CollectedInformation.ShippingDetails | null; + /** + * Customer's individual name for this Checkout Session + */ + individual_name: string | null; - /** - * Customer's tax ids for this Checkout Session. - */ - tax_ids?: Array | null; - } + /** + * Customer's phone number for this Checkout Session + */ + phone?: string | null; - export namespace Icon { - export type Type = 'file' | 'url'; - } + /** + * Shipping information for this Checkout Session. + */ + shipping_details: CollectedInformation.ShippingDetails | null; - export namespace Logo { - export type Type = 'file' | 'url'; - } + /** + * Customer's tax ids for this Checkout Session. + */ + tax_ids?: Array | null; } - export namespace CollectedInformation { - export interface ShippingDetails { - address: Address; + export interface Consent { + /** + * If `opt_in`, the customer consents to receiving promotional communications + * from the merchant about this Checkout Session. + */ + promotions: Consent.Promotions | null; - /** - * Customer name. - */ - name: string; - } + /** + * If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service. + */ + terms_of_service: 'accepted' | null; } - export interface CurrentAttempt { - /** - * The customer's billing information, if provided. - */ - billing_details?: CurrentAttempt.BillingDetails | null; + export interface ConsentCollection { + /** + * If set to `hidden`, it will hide legal text related to the reuse of a payment method. + */ + payment_method_reuse_agreement: ConsentCollection.PaymentMethodReuseAgreement | null; - /** - * The customer's email. - */ - email?: string | null; + /** + * If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout + * Session will determine whether to display an option to opt into promotional communication + * from the merchant depending on the customer's locale. Only available to US merchants and US customers. + */ + promotions: ConsentCollection.Promotions | null; - /** - * The attempt ID you will pass to the [Checkout Session approve](api/checkout/sessions/approve) endpoint to approve the attempt. - */ - id: string; + /** + * If set to `required`, it requires customers to accept the terms of service before being able to pay. + */ + terms_of_service: ConsentCollection.TermsOfService | null; + } - /** - * Information about the payment method the customer is attempting to pay with. Relevant payment method information is provided when available. Some payment details are only available after the payment has completed and can't be returned in the manual approval flow. - */ - payment_method_details?: CurrentAttempt.PaymentMethodDetails | null; + export interface CurrencyConversion { + /** + * Total of all items in source currency before discounts or taxes are applied. + */ + amount_subtotal: number; - /** - * The customer's phone number. - */ - phone?: string | null; + /** + * Total of all items in source currency after discounts and taxes are applied. + */ + amount_total: number; - /** - * The customer's shipping information, if provided. - */ - shipping_details: CurrentAttempt.ShippingDetails | null; - } + /** + * Exchange rate used to convert source currency amounts to customer currency amounts + */ + fx_rate: Decimal; - export interface CustomField { - dropdown?: CustomField.Dropdown; + /** + * Creation currency of the CheckoutSession before localization + */ + source_currency: string; + } - export namespace ConsentCollection { - export interface PaymentMethodReuseAgreement { - /** - * String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. - */ - key: string; + export interface CurrentAttempt { + /** + * The customer's billing information, if provided. + */ + billing_details?: CurrentAttempt.BillingDetails | null; - label: CustomField.Label; + /** + * The customer's email. + */ + email?: string | null; - numeric?: CustomField.Numeric; + /** + * The attempt ID you will pass to the [Checkout Session approve](api/checkout/sessions/approve) endpoint to approve the attempt. + */ + id: string; - /** - * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. - */ - optional: boolean; + /** + * Information about the payment method the customer is attempting to pay with. Relevant payment method information is provided when available. Some payment details are only available after the payment has completed and can't be returned in the manual approval flow. + */ + payment_method_details?: CurrentAttempt.PaymentMethodDetails | null; - text?: CustomField.Text; + /** + * The customer's phone number. + */ + phone?: string | null; - /** - * The type of the field. - */ - type: CustomField.Type; - } + /** + * The customer's shipping information, if provided. + */ + shipping_details: CurrentAttempt.ShippingDetails | null; + } - export interface CustomText { - /** - * Custom text that should be displayed after the payment confirmation button. - */ - after_submit: CustomText.AfterSubmit | null; + export interface CustomField { + dropdown?: CustomField.Dropdown; - /** - * Custom text that should be displayed alongside shipping address collection. - */ - shipping_address: CustomText.ShippingAddress | null; + /** + * String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. + */ + key: string; - /** - * Custom text that should be displayed alongside the payment confirmation button. - */ - submit: CustomText.Submit | null; + label: CustomField.Label; - /** - * Custom text that should be displayed in place of the default terms of service agreement text. - */ - terms_of_service_acceptance: CustomText.TermsOfServiceAcceptance | null; - } + numeric?: CustomField.Numeric; - export type CustomerCreation = 'always' | 'if_required'; + /** + * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. + */ + optional: boolean; - export interface CustomerDetails { - /** - * The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. - */ - address: Address | null; + text?: CustomField.Text; - /** - * The customer's business name after a completed Checkout Session. - */ - business_name: string | null; + /** + * The type of the field. + */ + type: CustomField.Type; + } - /** - * The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry. - * Otherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form. - */ - email: string | null; + export interface CustomText { + /** + * Custom text that should be displayed after the payment confirmation button. + */ + after_submit: CustomText.AfterSubmit | null; - /** - * The customer's individual name after a completed Checkout Session. - */ - individual_name: string | null; + /** + * Custom text that should be displayed alongside shipping address collection. + */ + shipping_address: CustomText.ShippingAddress | null; - /** - * The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. - */ - name: string | null; + /** + * Custom text that should be displayed alongside the payment confirmation button. + */ + submit: CustomText.Submit | null; - /** - * The customer's phone number after a completed Checkout Session. - */ - phone: string | null; + /** + * Custom text that should be displayed in place of the default terms of service agreement text. + */ + terms_of_service_acceptance: CustomText.TermsOfServiceAcceptance | null; + } - /** - * The customer's tax exempt status after a completed Checkout Session. - */ - tax_exempt: CustomerDetails.TaxExempt | null; + export type CustomerCreation = 'always' | 'if_required'; - /** - * The customer's tax IDs after a completed Checkout Session. - */ - tax_ids: Array | null; - } + export interface CustomerDetails { + /** + * The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. + */ + address: Address | null; - export interface Discount { - /** - * Coupon attached to the Checkout Session. - */ - coupon: string | Coupon | null; + /** + * The customer's business name after a completed Checkout Session. + */ + business_name: string | null; - /** - * Promotion code attached to the Checkout Session. - */ - promotion_code: string | PromotionCode | null; - } + /** + * The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry. + * Otherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form. + */ + email: string | null; - export interface InvoiceCreation { - /** - * Indicates whether invoice creation is enabled for the Checkout Session. - */ - enabled: boolean; + /** + * The customer's individual name after a completed Checkout Session. + */ + individual_name: string | null; - invoice_data: InvoiceCreation.InvoiceData; - } + /** + * The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. + */ + name: string | null; - export type Locale = - | 'auto' - | 'bg' - | 'cs' - | 'da' - | 'de' - | 'el' - | 'en' - | 'en-GB' - | 'es' - | 'es-419' - | 'et' - | 'fi' - | 'fil' - | 'fr' - | 'fr-CA' - | 'hr' - | 'hu' - | 'id' - | 'it' - | 'ja' - | 'ko' - | 'lt' - | 'lv' - | 'ms' - | 'mt' - | 'nb' - | 'nl' - | 'pl' - | 'pt' - | 'pt-BR' - | 'ro' - | 'ru' - | 'sk' - | 'sl' - | 'sv' - | 'th' - | 'tr' - | 'vi' - | 'zh' - | 'zh-HK' - | 'zh-TW'; + /** + * The customer's phone number after a completed Checkout Session. + */ + phone: string | null; - export interface ManagedPayments { - /** - * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session. - */ - enabled: boolean; - } + /** + * The customer's tax exempt status after a completed Checkout Session. + */ + tax_exempt: CustomerDetails.TaxExempt | null; - export type Mode = 'payment' | 'setup' | 'subscription'; + /** + * The customer's tax IDs after a completed Checkout Session. + */ + tax_ids: Array | null; + } - export interface NameCollection { - business?: NameCollection.Business; + export interface Discount { + /** + * Coupon attached to the Checkout Session. + */ + coupon: string | Coupon | null; - individual?: NameCollection.Individual; - } + /** + * Promotion code attached to the Checkout Session. + */ + promotion_code: string | PromotionCode | null; + } - export interface OptionalItem { - adjustable_quantity: OptionalItem.AdjustableQuantity | null; + export interface InvoiceCreation { + /** + * Indicates whether invoice creation is enabled for the Checkout Session. + */ + enabled: boolean; - price: string; + invoice_data: InvoiceCreation.InvoiceData; + } - quantity: number; - } + export type Locale = + | 'auto' + | 'bg' + | 'cs' + | 'da' + | 'de' + | 'el' + | 'en' + | 'en-GB' + | 'es' + | 'es-419' + | 'et' + | 'fi' + | 'fil' + | 'fr' + | 'fr-CA' + | 'hr' + | 'hu' + | 'id' + | 'it' + | 'ja' + | 'ko' + | 'lt' + | 'lv' + | 'ms' + | 'mt' + | 'nb' + | 'nl' + | 'pl' + | 'pt' + | 'pt-BR' + | 'ro' + | 'ru' + | 'sk' + | 'sl' + | 'sv' + | 'th' + | 'tr' + | 'vi' + | 'zh' + | 'zh-HK' + | 'zh-TW'; + + export interface ManagedPayments { + /** + * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session. + */ + enabled: boolean; + } - export type OriginContext = 'mobile_app' | 'web'; + export type Mode = 'payment' | 'setup' | 'subscription'; - export type PaymentMethodCollection = 'always' | 'if_required'; + export interface NameCollection { + business?: NameCollection.Business; - export interface PaymentMethodConfigurationDetails { - /** - * ID of the payment method configuration used. - */ - id: string; + individual?: NameCollection.Individual; + } - /** - * ID of the parent payment method configuration used. - */ - parent: string | null; - } + export interface OptionalItem { + adjustable_quantity: OptionalItem.AdjustableQuantity | null; - export interface PaymentMethodOptions { - acss_debit?: PaymentMethodOptions.AcssDebit; + price: string; - affirm?: PaymentMethodOptions.Affirm; + quantity: number; + } - afterpay_clearpay?: PaymentMethodOptions.AfterpayClearpay; + export type OriginContext = 'mobile_app' | 'web'; - alipay?: PaymentMethodOptions.Alipay; + export type PaymentMethodCollection = 'always' | 'if_required'; - alma?: PaymentMethodOptions.Alma; + export interface PaymentMethodConfigurationDetails { + /** + * ID of the payment method configuration used. + */ + id: string; - amazon_pay?: PaymentMethodOptions.AmazonPay; + /** + * ID of the parent payment method configuration used. + */ + parent: string | null; + } - au_becs_debit?: PaymentMethodOptions.AuBecsDebit; + export interface PaymentMethodOptions { + acss_debit?: PaymentMethodOptions.AcssDebit; - bacs_debit?: PaymentMethodOptions.BacsDebit; + affirm?: PaymentMethodOptions.Affirm; - bancontact?: PaymentMethodOptions.Bancontact; + afterpay_clearpay?: PaymentMethodOptions.AfterpayClearpay; - billie?: PaymentMethodOptions.Billie; + alipay?: PaymentMethodOptions.Alipay; - bizum?: PaymentMethodOptions.Bizum; + alma?: PaymentMethodOptions.Alma; - boleto?: PaymentMethodOptions.Boleto; + amazon_pay?: PaymentMethodOptions.AmazonPay; - card?: PaymentMethodOptions.Card; + au_becs_debit?: PaymentMethodOptions.AuBecsDebit; - cashapp?: PaymentMethodOptions.Cashapp; + bacs_debit?: PaymentMethodOptions.BacsDebit; - customer_balance?: PaymentMethodOptions.CustomerBalance; + bancontact?: PaymentMethodOptions.Bancontact; - eps?: PaymentMethodOptions.Eps; + billie?: PaymentMethodOptions.Billie; - fpx?: PaymentMethodOptions.Fpx; + bizum?: PaymentMethodOptions.Bizum; - giropay?: PaymentMethodOptions.Giropay; + boleto?: PaymentMethodOptions.Boleto; - grabpay?: PaymentMethodOptions.Grabpay; + card?: PaymentMethodOptions.Card; - ideal?: PaymentMethodOptions.Ideal; + cashapp?: PaymentMethodOptions.Cashapp; - kakao_pay?: PaymentMethodOptions.KakaoPay; + customer_balance?: PaymentMethodOptions.CustomerBalance; - klarna?: PaymentMethodOptions.Klarna; + eps?: PaymentMethodOptions.Eps; - konbini?: PaymentMethodOptions.Konbini; + fpx?: PaymentMethodOptions.Fpx; - kr_card?: PaymentMethodOptions.KrCard; + giropay?: PaymentMethodOptions.Giropay; - link?: PaymentMethodOptions.Link; + grabpay?: PaymentMethodOptions.Grabpay; - mobilepay?: PaymentMethodOptions.Mobilepay; + ideal?: PaymentMethodOptions.Ideal; - multibanco?: PaymentMethodOptions.Multibanco; + kakao_pay?: PaymentMethodOptions.KakaoPay; - naver_pay?: PaymentMethodOptions.NaverPay; + klarna?: PaymentMethodOptions.Klarna; - oxxo?: PaymentMethodOptions.Oxxo; + konbini?: PaymentMethodOptions.Konbini; - p24?: PaymentMethodOptions.P24; + kr_card?: PaymentMethodOptions.KrCard; - payco?: PaymentMethodOptions.Payco; + link?: PaymentMethodOptions.Link; - paynow?: PaymentMethodOptions.Paynow; + mobilepay?: PaymentMethodOptions.Mobilepay; - paypal?: PaymentMethodOptions.Paypal; + multibanco?: PaymentMethodOptions.Multibanco; - payto?: PaymentMethodOptions.Payto; + naver_pay?: PaymentMethodOptions.NaverPay; - pix?: PaymentMethodOptions.Pix; + oxxo?: PaymentMethodOptions.Oxxo; - revolut_pay?: PaymentMethodOptions.RevolutPay; + p24?: PaymentMethodOptions.P24; - samsung_pay?: PaymentMethodOptions.SamsungPay; + payco?: PaymentMethodOptions.Payco; - satispay?: PaymentMethodOptions.Satispay; + paynow?: PaymentMethodOptions.Paynow; - scalapay?: PaymentMethodOptions.Scalapay; + paypal?: PaymentMethodOptions.Paypal; - sepa_debit?: PaymentMethodOptions.SepaDebit; + payto?: PaymentMethodOptions.Payto; - sofort?: PaymentMethodOptions.Sofort; + pix?: PaymentMethodOptions.Pix; - swish?: PaymentMethodOptions.Swish; + revolut_pay?: PaymentMethodOptions.RevolutPay; - twint?: PaymentMethodOptions.Twint; + samsung_pay?: PaymentMethodOptions.SamsungPay; - upi?: PaymentMethodOptions.Upi; + satispay?: PaymentMethodOptions.Satispay; - us_bank_account?: PaymentMethodOptions.UsBankAccount; - } + scalapay?: PaymentMethodOptions.Scalapay; - export type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid'; + sepa_debit?: PaymentMethodOptions.SepaDebit; - export interface Permissions { - /** - * Permissions for updating the Checkout Session. - */ - update?: Permissions.Update | null; + sofort?: PaymentMethodOptions.Sofort; - /** - * Determines which entity is allowed to update the line items. - * - * Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. - * - * When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API. - */ - update_line_items?: Permissions.UpdateLineItems | null; + swish?: PaymentMethodOptions.Swish; - /** - * Determines which entity is allowed to update the shipping details. - * - * When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. - */ - position: PaymentMethodReuseAgreement.Position; - } + twint?: PaymentMethodOptions.Twint; - export type Promotions = 'auto' | 'none'; + upi?: PaymentMethodOptions.Upi; - export type TermsOfService = 'none' | 'required'; + us_bank_account?: PaymentMethodOptions.UsBankAccount; + } - export namespace PaymentMethodReuseAgreement { - export type Position = 'auto' | 'hidden'; - } + export type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid'; + + export interface Permissions { + /** + * Permissions for updating the Checkout Session. + */ + update?: Permissions.Update | null; + + /** + * Determines which entity is allowed to update the line items. + * + * Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. + * + * When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API. + */ + update_line_items?: Permissions.UpdateLineItems | null; + + /** + * Determines which entity is allowed to update the shipping details. + * + * Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details. + * + * When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API. + */ + update_shipping_details: Permissions.UpdateShippingDetails | null; } - export namespace CustomerDetails { - export type TaxExempt = 'exempt' | 'none' | 'reverse'; + export interface PhoneNumberCollection { + /** + * Indicates whether phone number collection is enabled for the session + */ + enabled: boolean; + } - export interface TaxId { - /** - * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` - */ - type: TaxId.Type; + export interface PresentmentDetails { + /** + * Amount intended to be collected by this payment, denominated in `presentment_currency`. + */ + presentment_amount: number; - /** - * The value of the tax ID. - */ - value: string | null; - } + /** + * Currency presented to the customer during payment. + */ + presentment_currency: string; + } - export namespace TaxId { - export 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' + export type RedirectOnCompletion = 'always' | 'if_required' | 'never'; + + export interface SavedPaymentMethodOptions { + /** + * Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout. + */ + allow_redisplay_filters: Array< + SavedPaymentMethodOptions.AllowRedisplayFilter + > | null; + + /** + * Enable customers to choose if they wish to remove their saved payment methods. Disabled by default. + */ + payment_method_remove: SavedPaymentMethodOptions.PaymentMethodRemove | null; + + /** + * Enable customers to choose if they wish to save their payment method for future use. Disabled by default. + */ + payment_method_save: SavedPaymentMethodOptions.PaymentMethodSave | null; + } + + export interface ShippingAddressCollection { + /** + * An array of two-letter ISO country codes representing which countries Checkout should provide as options for + * shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`. + */ + allowed_countries: Array; + } + + export interface ShippingCost { + /** + * Total shipping cost before any discounts or taxes are applied. + */ + amount_subtotal: number; + + /** + * Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0. + */ + amount_tax: number; + + /** + * Total shipping cost after discounts and taxes are applied. + */ + amount_total: number; + + /** + * The ID of the ShippingRate for this order. + */ + shipping_rate: string | ShippingRate | null; + + /** + * The taxes applied to the shipping rate. + */ + taxes?: Array; + } + + export interface ShippingOption { + /** + * A non-negative integer in cents representing how much to charge. + */ + shipping_amount: number; + + /** + * The shipping rate. + */ + shipping_rate: string | ShippingRate; + } + + export type Status = 'complete' | 'expired' | 'open'; + + export type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe'; + + export interface SurchargeCost { + /** + * Total surcharge cost before taxes are applied. + */ + amount_subtotal: number; + + /** + * Total tax amount applied due to surcharging. If no tax was applied, defaults to 0. + */ + amount_tax: number; + + /** + * Total surcharge cost after taxes are applied. + */ + amount_total: number; + } + + export interface TaxIdCollection { + /** + * Indicates whether tax ID collection is enabled for the session + */ + enabled: boolean; + + /** + * Indicates whether a tax ID is required on the payment page + */ + required: TaxIdCollection.Required; + } + + export interface TotalDetails { + /** + * This is the sum of all the discounts. + */ + amount_discount: number; + + /** + * This is the sum of all the shipping amounts. + */ + amount_shipping: number | null; + + /** + * The surcharge amount that was applied to the Checkout Session. + */ + amount_surcharge?: number; + + /** + * This is the sum of all the tax amounts. + */ + amount_tax: number; + + breakdown?: TotalDetails.Breakdown; + } + + export type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page'; + + export interface WalletOptions { + link?: WalletOptions.Link; + } + + export namespace AfterExpiration { + export interface Recovery { + /** + * Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false` + */ + allow_promotion_codes: boolean; + + /** + * If `true`, a recovery url will be generated to recover this Checkout Session if it + * expires before a transaction is completed. It will be attached to the + * Checkout Session object upon expiration. + */ + enabled: boolean; + + /** + * The timestamp at which the recovery URL will expire. + */ + expires_at: number | null; + + /** + * URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session + */ + url: string | null; + } + } + + export namespace AutomaticSurcharge { + export type CalculationBasis = 'total_after_tax' | 'total_before_tax'; + + export type Provider = 'interpayments' | 'proserv' | 'yeeld'; + + export type Status = 'complete' | 'failed' | 'requires_input'; + + export type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified'; + } + + export namespace AutomaticTax { + export interface Liability { + /** + * The connected account being referenced when `type` is `account`. + */ + account?: string | Account; + + /** + * Type of the account referenced. + */ + type: Liability.Type; + } + + export type Status = 'complete' | 'failed' | 'requires_location_inputs'; + + export namespace Liability { + export type Type = 'account' | 'application' | 'self'; + } + } + + export namespace BrandingSettings { + export type BorderStyle = 'pill' | 'rectangular' | 'rounded'; + + export interface Icon { + /** + * The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise. + */ + file?: string; + + /** + * The type of image for the icon. Must be one of `file` or `url`. + */ + type: Icon.Type; + + /** + * The URL of the image. Present when `type` is `url`. + */ + url?: string; + } + + export interface Logo { + /** + * The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise. + */ + file?: string; + + /** + * The type of image for the logo. Must be one of `file` or `url`. + */ + type: Logo.Type; + + /** + * The URL of the image. Present when `type` is `url`. + */ + url?: string; + } + + export namespace Icon { + export type Type = 'file' | 'url'; + } + + export namespace Logo { + export type Type = 'file' | 'url'; + } + } + + export namespace CheckoutItem { + export type Type = + | 'rate_card_subscription_item' + | 'pricing_plan_subscription_item'; + + export interface RateCardSubscriptionItem { + rate_card: string; + + metadata: Metadata; + + rate_card_version: string; + + billing_cadence?: string; + + rate_card_subscription?: string; + } + + export interface PricingPlanSubscriptionItem { + pricing_plan: string; + + pricing_plan_version: string; + + metadata: Metadata; + + component_configurations: { + [key: string]: PricingPlanSubscriptionItem.ComponentConfigurations; + }; + + pricing_plan_subscription?: string; + + billing_cadence?: string; + } + + export namespace PricingPlanSubscriptionItem { + export interface ComponentConfigurations { + type: 'license_fee_component'; + + license_fee_component?: ComponentConfigurations.LicenseFeeComponent; + } + + export namespace ComponentConfigurations { + export interface LicenseFeeComponent { + quantity: number; + } + } + } + } + + export namespace CollectedInformation { + export interface ShippingDetails { + address: Address; + + /** + * Customer name. + */ + name: string; + } + + export interface TaxId { + /** + * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` + */ + type: TaxId.Type; + + /** + * The value of the tax ID. + */ + value: string | null; + } + + export namespace TaxId { + export 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' @@ -1769,592 +2097,589 @@ export namespace Session { } } - export namespace CustomField { - export interface Dropdown { - /** - * The value that pre-fills on the payment page. - */ - default_value: string | null; - - /** - * The options available for the customer to select. Up to 200 options allowed. - */ - options: Array; + export namespace Consent { + export type Promotions = 'opt_in' | 'opt_out'; + } + export namespace ConsentCollection { + export interface PaymentMethodReuseAgreement { /** - * The option selected by the customer. This will be the `value` for the option. + * Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. + * + * When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. */ - value: string | null; + position: PaymentMethodReuseAgreement.Position; } - export interface Label { - /** - * Custom text for the label, displayed to the customer. Up to 50 characters. - */ - custom: string | null; - - /** - * The type of the label. - */ - type: 'custom'; - } - - export interface Numeric { - /** - * The value that pre-fills the field on the payment page. - */ - default_value: string | null; - - /** - * The maximum character length constraint for the customer's input. - */ - maximum_length: number | null; + export type Promotions = 'auto' | 'none'; - /** - * The minimum character length requirement for the customer's input. - */ - minimum_length: number | null; + export type TermsOfService = 'none' | 'required'; - /** - * The value entered by the customer, containing only digits. - */ - value: string | null; + export namespace PaymentMethodReuseAgreement { + export type Position = 'auto' | 'hidden'; } + } - export interface Text { - /** - * The value that pre-fills the field on the payment page. - */ - default_value: string | null; - - /** - * The maximum character length constraint for the customer's input. - */ - maximum_length: number | null; - - /** - * The minimum character length requirement for the customer's input. - */ - minimum_length: number | null; + export namespace CurrentAttempt { + export interface BillingDetails { + address: Address; /** - * The value entered by the customer. + * Customer name. */ - value: string | null; + name: string | null; } - export type Type = 'dropdown' | 'numeric' | 'text'; - + export interface PaymentMethodDetails { /** - * The shipping rate. + * Indicates whether this payment method can be shown again to its customer in a checkout flow. */ - shipping_rate: string | ShippingRate; - } + allow_redisplay: PaymentMethodDetails.AllowRedisplay; - export type Status = 'complete' | 'expired' | 'open'; + au_becs_debit?: PaymentMethodDetails.AuBecsDebit; - export type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe'; + bacs_debit?: PaymentMethodDetails.BacsDebit; - export interface SurchargeCost { - /** - * Total surcharge cost before taxes are applied. - */ - amount_subtotal: number; + boleto?: PaymentMethodDetails.Boleto; - /** - * Total tax amount applied due to surcharging. If no tax was applied, defaults to 0. - */ - amount_tax: number; + card?: PaymentMethodDetails.Card; - /** - * Total surcharge cost after taxes are applied. - */ - amount_total: number; - } + link?: PaymentMethodDetails.Link; - export interface TaxIdCollection { - /** - * Indicates whether tax ID collection is enabled for the session - */ - enabled: boolean; + pix?: PaymentMethodDetails.Pix; - /** - * Indicates whether a tax ID is required on the payment page - */ - required: TaxIdCollection.Required; - } + sepa_debit?: PaymentMethodDetails.SepaDebit; - export interface TotalDetails { /** - * This is the sum of all the discounts. + * The type of payment method the customer is attempting to pay with. An additional hash is included in the payment method details with a name matching this value. It contains additional information specific to the payment method type. */ - amount_discount: number; + type: string; - /** - * This is the sum of all the shipping amounts. - */ - amount_shipping: number | null; + us_bank_account?: PaymentMethodDetails.UsBankAccount; + } - /** - * The surcharge amount that was applied to the Checkout Session. - */ - amount_surcharge?: number; + export interface ShippingDetails { + address: Address; /** - * This is the sum of all the tax amounts. + * Customer name. */ - amount_tax: number; - - breakdown?: TotalDetails.Breakdown; + name: string; } - export type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page'; + export namespace PaymentMethodDetails { + export type AllowRedisplay = 'always' | 'limited' | 'unspecified'; - export interface WalletOptions { - link?: WalletOptions.Link; - } + export interface AuBecsDebit { + /** + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + */ + fingerprint: string | null; + } - export namespace AfterExpiration { - export interface Recovery { + export interface BacsDebit { /** - * The label for the option, displayed to the customer. Up to 100 characters. + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. */ - label: string; + fingerprint: string | null; + } + export interface Boleto { /** - * The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. + * Uniquely identifies this particular boleto payment method. You can use this attribute to check whether two boleto payment methods are the same. */ - value: string; + fingerprint: string | null; } - } - } - export namespace AutomaticSurcharge { - export type CalculationBasis = 'total_after_tax' | 'total_before_tax'; + export interface Card { + /** + * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. + */ + country: string | null; - export type Provider = 'interpayments' | 'proserv' | 'yeeld'; + /** + * Two-digit number representing the card's expiration month. + */ + exp_month: number; - export type Status = 'complete' | 'failed' | 'requires_input'; + /** + * Four-digit number representing the card's expiration year. + */ + exp_year: number; - export type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified'; - } + /** + * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.* + */ + fingerprint: string | null; - export namespace AutomaticTax { - export interface Liability { /** - * The connected account being referenced when `type` is `account`. + * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. */ - account?: string | Account; + funding: Card.Funding; /** - * Type of the account referenced. + * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) */ - type: Issuer.Type; - } + iin?: string | null; - export interface RenderingOptions { /** - * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. + * The last four digits of the card. */ - amount_tax_display: string | null; + last4: string; - export namespace Liability { - export type Type = 'account' | 'application' | 'self'; + /** + * If this Card is part of a card wallet, this contains the details of the card wallet. + */ + wallet: Card.Wallet | null; } - } - } - export namespace NameCollection { - export interface Business { - /** - * Indicates whether business name collection is enabled for the session - */ - enabled: boolean; + export interface Link { + /** + * Unique, encrypted bank account identifier. + */ + fingerprint?: string | null; + } - /** - * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. - */ - optional: boolean; - } + export interface Pix { + /** + * Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same. + */ + fingerprint: string | null; + } - export interface Individual { - /** - * Indicates whether individual name collection is enabled for the session - */ - enabled: boolean; + export interface SepaDebit { + /** + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + */ + fingerprint: string | null; + } - /** - * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. - */ - optional: boolean; - } - } + export interface UsBankAccount { + /** + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + */ + fingerprint: string | null; + } - export namespace OptionalItem { - export interface AdjustableQuantity { - /** - * Set to true if the quantity can be adjusted to any non-negative integer. - */ - enabled: boolean; + export namespace Card { + export type Funding = 'credit' | 'debit' | 'prepaid' | 'unknown'; - /** - * The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999. - */ - maximum: number | null; + export interface Wallet { + /** + * The type of the wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, `meta_pay`, or `link`. + */ + type: Wallet.Type; + } - /** - * The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0. - */ - minimum: number | null; + export namespace Wallet { + export type Type = + | 'amex_express_checkout' + | 'apple_pay' + | 'google_pay' + | 'link' + | 'masterpass' + | 'meta_pay' + | 'samsung_pay' + | 'visa_checkout'; + } + } } } - export namespace PaymentMethodOptions { - export interface AcssDebit { - /** - * Currency supported by the bank account. Returned when the Session is in `setup` mode. - */ - currency?: AcssDebit.Currency; - - mandate_options?: AcssDebit.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: AcssDebit.SetupFutureUsage; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - - /** - * Bank account verification method. The default value is `automatic`. - */ - verification_method?: AcssDebit.VerificationMethod; - } + export namespace CustomerDetails { + export type TaxExempt = 'exempt' | 'none' | 'reverse'; - export interface Affirm { + export interface TaxId { /** - * Controls when the funds will be captured from the customer's account. + * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` */ - capture_method?: 'manual'; + type: TaxId.Type; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The value of the tax ID. */ - setup_future_usage?: 'none'; + value: string | null; } - export interface AfterpayClearpay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; + export namespace TaxId { + export 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' + | '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'; } + } - export interface Alipay { + export namespace CustomField { + export interface Dropdown { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The value that pre-fills on the payment page. */ - setup_future_usage?: 'none'; - } + default_value: string | null; - export interface Alma { /** - * Controls when the funds will be captured from the customer's account. + * The options available for the customer to select. Up to 200 options allowed. */ - capture_method?: 'manual'; + options: Array; + + /** + * The option selected by the customer. This will be the `value` for the option. + */ + value: string | null; } - export interface AmazonPay { + export interface Label { /** - * Controls when the funds will be captured from the customer's account. + * Custom text for the label, displayed to the customer. Up to 50 characters. */ - capture_method?: 'manual'; + custom: string | null; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The type of the label. */ - setup_future_usage?: AmazonPay.SetupFutureUsage; + type: 'custom'; } - export interface AuBecsDebit { + export interface Numeric { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The value that pre-fills the field on the payment page. */ - setup_future_usage?: 'none'; + default_value: string | null; /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + * The maximum character length constraint for the customer's input. */ - target_date?: string; - } - - export interface BacsDebit { - mandate_options?: BacsDebit.MandateOptions; + maximum_length: number | null; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The minimum character length requirement for the customer's input. */ - setup_future_usage?: BacsDebit.SetupFutureUsage; + minimum_length: number | null; /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + * The value entered by the customer, containing only digits. */ - target_date?: string; + value: string | null; } - export interface Bancontact { + export interface Text { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The value that pre-fills the field on the payment page. */ - setup_future_usage?: 'none'; - } + default_value: string | null; - export interface Billie { /** - * Controls when the funds will be captured from the customer's account. + * The maximum character length constraint for the customer's input. */ - capture_method?: 'manual'; - } + maximum_length: number | null; - export interface Boleto { /** - * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. + * The minimum character length requirement for the customer's input. */ - expires_after_days: number; + minimum_length: number | null; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The value entered by the customer. */ - setup_future_usage?: Boleto.SetupFutureUsage; + value: string | null; } - export interface Card { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; + export type Type = 'dropdown' | 'numeric' | 'text'; - installments?: Card.Installments; + export namespace Dropdown { + export interface Option { + /** + * The label for the option, displayed to the customer. Up to 100 characters. + */ + label: string; + + /** + * The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. + */ + value: string; + } + } + } + export namespace CustomText { + export interface AfterSubmit { /** - * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession. + * Text can be up to 1200 characters in length. */ - request_extended_authorization?: Card.RequestExtendedAuthorization; + message: string; + } + export interface ShippingAddress { /** - * Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this CheckoutSession. + * Text can be up to 1200 characters in length. */ - request_incremental_authorization?: Card.RequestIncrementalAuthorization; + message: string; + } + export interface Submit { /** - * Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this CheckoutSession. + * Text can be up to 1200 characters in length. */ - request_multicapture?: Card.RequestMulticapture; + message: string; + } + export interface TermsOfServiceAcceptance { /** - * Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this CheckoutSession. + * Text can be up to 1200 characters in length. */ - request_overcapture?: Card.RequestOvercapture; + message: string; + } + } + export namespace InvoiceCreation { + export interface InvoiceData { /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + * The account tax IDs associated with the invoice. */ - request_three_d_secure: Card.RequestThreeDSecure; + account_tax_ids: Array | null; - restrictions?: Card.Restrictions; + /** + * Custom fields displayed on the invoice. + */ + custom_fields: Array | null; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * An arbitrary string attached to the object. Often useful for displaying to users. */ - setup_future_usage?: Card.SetupFutureUsage; + description: string | null; /** - * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + * Footer displayed on the invoice. */ - statement_descriptor_suffix_kana?: string; + footer: string | null; /** - * Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. */ - statement_descriptor_suffix_kanji?: string; - } + issuer: InvoiceData.Issuer | null; - export interface Cashapp { /** - * Controls when the funds will be captured from the customer's account. + * 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. */ - capture_method?: 'manual'; + metadata: Metadata | null; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Options for invoice PDF rendering. */ - setup_future_usage?: 'none'; + rendering_options: InvoiceData.RenderingOptions | null; } - export interface CustomerBalance { - bank_transfer?: CustomerBalance.BankTransfer; + export namespace InvoiceData { + export interface CustomField { + /** + * The name of the custom field. + */ + name: string; + + /** + * The value of the custom field. + */ + value: string; + } + + export interface Issuer { + /** + * The connected account being referenced when `type` is `account`. + */ + account?: string | Account; + + /** + * Type of the account referenced. + */ + type: Issuer.Type; + } + + export interface RenderingOptions { + /** + * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. + */ + amount_tax_display: string | null; + + /** + * ID of the invoice rendering template to be used for the generated invoice. + */ + template: string | null; + } + + export namespace Issuer { + export type Type = 'account' | 'application' | 'self'; + } + } + } + export namespace NameCollection { + export interface Business { /** - * The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + * Indicates whether business name collection is enabled for the session */ - funding_type: 'bank_transfer' | null; + enabled: boolean; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. */ - setup_future_usage?: 'none'; + optional: boolean; } - export interface Eps { + export interface Individual { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Indicates whether individual name collection is enabled for the session */ - setup_future_usage?: 'none'; - } + enabled: boolean; - export interface Fpx { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. */ - setup_future_usage?: 'none'; + optional: boolean; } + } - export interface Giropay { + export namespace OptionalItem { + export interface AdjustableQuantity { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Set to true if the quantity can be adjusted to any non-negative integer. */ - setup_future_usage?: 'none'; - } + enabled: boolean; - export interface Grabpay { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999. */ - setup_future_usage?: 'none'; - } + maximum: number | null; - export interface Ideal { /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0. */ - setup_future_usage?: 'none'; + minimum: number | null; } + } - export interface KakaoPay { + export namespace PaymentMethodOptions { + export interface AcssDebit { /** - * Controls when the funds will be captured from the customer's account. + * Currency supported by the bank account. Returned when the Session is in `setup` mode. */ - capture_method?: 'manual'; + currency?: AcssDebit.Currency; + + mandate_options?: AcssDebit.MandateOptions; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2365,32 +2690,24 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: KakaoPay.SetupFutureUsage; - } + setup_future_usage?: AcssDebit.SetupFutureUsage; - export interface Klarna { /** - * Controls when the funds will be captured from the customer's account. + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. */ - capture_method?: 'manual'; + target_date?: string; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Bank account verification method. The default value is `automatic`. */ - setup_future_usage?: Klarna.SetupFutureUsage; + verification_method?: AcssDebit.VerificationMethod; } - export interface Konbini { + export interface Affirm { /** - * The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. + * Controls when the funds will be captured from the customer's account. */ - expires_after_days: number | null; + capture_method?: 'manual'; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2404,7 +2721,7 @@ export namespace Session { setup_future_usage?: 'none'; } - export interface KrCard { + export interface AfterpayClearpay { /** * Controls when the funds will be captured from the customer's account. */ @@ -2419,15 +2736,10 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: KrCard.SetupFutureUsage; + setup_future_usage?: 'none'; } - export interface Link { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - + export interface Alipay { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -2437,10 +2749,17 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: Link.SetupFutureUsage; + setup_future_usage?: 'none'; } - export interface Mobilepay { + export interface Alma { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + + export interface AmazonPay { /** * Controls when the funds will be captured from the customer's account. */ @@ -2455,10 +2774,10 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: 'none'; + setup_future_usage?: AmazonPay.SetupFutureUsage; } - export interface Multibanco { + export interface AuBecsDebit { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -2469,13 +2788,15 @@ export namespace Session { * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ setup_future_usage?: 'none'; - } - export interface NaverPay { /** - * Controls when the funds will be captured from the customer's account. + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. */ - capture_method?: 'manual'; + target_date?: string; + } + + export interface BacsDebit { + mandate_options?: BacsDebit.MandateOptions; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2486,28 +2807,15 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: NaverPay.SetupFutureUsage; - } - - export interface Oxxo { - /** - * The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. - */ - expires_after_days: number; + setup_future_usage?: BacsDebit.SetupFutureUsage; /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. */ - setup_future_usage?: 'none'; + target_date?: string; } - export interface P24 { + export interface Bancontact { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -2520,14 +2828,23 @@ export namespace Session { setup_future_usage?: 'none'; } - export interface Payco { + export interface Billie { /** * Controls when the funds will be captured from the customer's account. */ capture_method?: 'manual'; } - export interface Paynow { + export interface Bizum { + mandate_options?: Bizum.MandateOptions; + } + + export interface Boleto { + /** + * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. + */ + expires_after_days: number; + /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -2537,24 +2854,48 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: 'none'; + setup_future_usage?: Boleto.SetupFutureUsage; } - export interface Paypal { + export interface Card { /** * Controls when the funds will be captured from the customer's account. */ capture_method?: 'manual'; + installments?: Card.Installments; + /** - * Preferred locale of the PayPal checkout page that the customer is redirected to. + * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession. */ - preferred_locale: string | null; + request_decremental_authorization?: Card.RequestDecrementalAuthorization; /** - * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID. + * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession. */ - reference: string | null; + request_extended_authorization?: Card.RequestExtendedAuthorization; + + /** + * Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this CheckoutSession. + */ + request_incremental_authorization?: Card.RequestIncrementalAuthorization; + + /** + * Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this CheckoutSession. + */ + request_multicapture?: Card.RequestMulticapture; + + /** + * Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this CheckoutSession. + */ + request_overcapture?: Card.RequestOvercapture; + + /** + * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + */ + request_three_d_secure: Card.RequestThreeDSecure; + + restrictions?: Card.Restrictions; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2565,11 +2906,24 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: Paypal.SetupFutureUsage; + setup_future_usage?: Card.SetupFutureUsage; + + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + */ + statement_descriptor_suffix_kana?: string; + + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + */ + statement_descriptor_suffix_kanji?: string; } - export interface Payto { - mandate_options?: Payto.MandateOptions; + export interface Cashapp { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2580,22 +2934,43 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: Payto.SetupFutureUsage; + setup_future_usage?: 'none'; } - export interface Pix { + export interface CustomerBalance { + bank_transfer?: CustomerBalance.BankTransfer; + /** - * Determines if the amount includes the IOF tax. + * The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. */ - amount_includes_iof?: Pix.AmountIncludesIof; + funding_type: 'bank_transfer' | null; /** - * The number of seconds after which Pix payment will expire. + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - expires_after_seconds: number | null; + setup_future_usage?: 'none'; + } - mandate_options?: Pix.MandateOptions; + export interface Eps { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } + export interface Fpx { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -2605,15 +2980,23 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: Pix.SetupFutureUsage; + setup_future_usage?: 'none'; } - export interface RevolutPay { + export interface Giropay { /** - * Controls when the funds will be captured from the customer's account. + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - capture_method?: 'manual'; + setup_future_usage?: 'none'; + } + export interface Grabpay { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -2623,32 +3006,63 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: RevolutPay.SetupFutureUsage; + setup_future_usage?: 'none'; } - export interface SamsungPay { + export interface Ideal { /** - * Controls when the funds will be captured from the customer's account. + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - capture_method?: 'manual'; + setup_future_usage?: 'none'; } - export interface Satispay { + export interface KakaoPay { /** * Controls when the funds will be captured from the customer's account. */ capture_method?: 'manual'; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: KakaoPay.SetupFutureUsage; } - export interface Scalapay { + export interface Klarna { /** * Controls when the funds will be captured from the customer's account. */ capture_method?: 'manual'; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Klarna.SetupFutureUsage; } - export interface SepaDebit { - mandate_options?: SepaDebit.MandateOptions; + export interface Konbini { + /** + * The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. + */ + expires_after_days: number | null; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2659,15 +3073,33 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: SepaDebit.SetupFutureUsage; + setup_future_usage?: 'none'; + } + export interface KrCard { /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + * Controls when the funds will be captured from the customer's account. */ - target_date?: string; + capture_method?: 'manual'; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: KrCard.SetupFutureUsage; } - export interface Sofort { + export interface Link { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -2677,17 +3109,28 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: 'none'; + setup_future_usage?: Link.SetupFutureUsage; } - export interface Swish { + export interface Mobilepay { /** - * The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. + * Controls when the funds will be captured from the customer's account. */ - reference: string | null; + capture_method?: 'manual'; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; } - export interface Twint { + export interface Multibanco { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -2697,11 +3140,14 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: Twint.SetupFutureUsage; + setup_future_usage?: 'none'; } - export interface Upi { - mandate_options?: Upi.MandateOptions; + export interface NaverPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2712,11 +3158,14 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: Upi.SetupFutureUsage; + setup_future_usage?: NaverPay.SetupFutureUsage; } - export interface UsBankAccount { - financial_connections?: UsBankAccount.FinancialConnections; + export interface Oxxo { + /** + * The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. + */ + expires_after_days: number; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -2727,29 +3176,257 @@ export namespace Session { * * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - setup_future_usage?: UsBankAccount.SetupFutureUsage; + setup_future_usage?: 'none'; + } + export interface P24 { /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). */ - target_date?: string; + setup_future_usage?: 'none'; + } + export interface Payco { /** - * Bank account verification method. The default value is `automatic`. + * Controls when the funds will be captured from the customer's account. */ - verification_method?: UsBankAccount.VerificationMethod; + capture_method?: 'manual'; } - export namespace AcssDebit { - export type Currency = 'cad' | 'usd'; + export interface Paynow { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } - export interface MandateOptions { - /** - * A URL for custom mandate text - */ - custom_mandate_url?: string; + export interface Paypal { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; - /** + /** + * Preferred locale of the PayPal checkout page that the customer is redirected to. + */ + preferred_locale: string | null; + + /** + * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID. + */ + reference: string | null; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Paypal.SetupFutureUsage; + + /** + * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used. + */ + subsellers?: Array; + } + + export interface Payto { + mandate_options?: Payto.MandateOptions; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Payto.SetupFutureUsage; + } + + export interface Pix { + /** + * Determines if the amount includes the IOF tax. + */ + amount_includes_iof?: Pix.AmountIncludesIof; + + /** + * The number of seconds after which Pix payment will expire. + */ + expires_after_seconds: number | null; + + mandate_options?: Pix.MandateOptions; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Pix.SetupFutureUsage; + } + + export interface RevolutPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: RevolutPay.SetupFutureUsage; + } + + export interface SamsungPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + + export interface Satispay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + + export interface Scalapay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + + export interface SepaDebit { + mandate_options?: SepaDebit.MandateOptions; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: SepaDebit.SetupFutureUsage; + + /** + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + */ + target_date?: string; + } + + export interface Sofort { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } + + export interface Swish { + /** + * The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. + */ + reference: string | null; + } + + export interface Twint { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Twint.SetupFutureUsage; + } + + export interface Upi { + mandate_options?: Upi.MandateOptions; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: Upi.SetupFutureUsage; + } + + export interface UsBankAccount { + financial_connections?: UsBankAccount.FinancialConnections; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + */ + setup_future_usage?: UsBankAccount.SetupFutureUsage; + + /** + * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + */ + target_date?: string; + + /** + * Bank account verification method. The default value is `automatic`. + */ + verification_method?: UsBankAccount.VerificationMethod; + } + + export namespace AcssDebit { + export type Currency = 'cad' | 'usd'; + + export interface MandateOptions { + /** + * A URL for custom mandate text + */ + custom_mandate_url?: string; + + /** * List of Stripe products where this mandate can be selected automatically. Returned when the Session is in `setup` mode. */ default_for?: Array; @@ -2786,58 +3463,10 @@ export namespace Session { } } - export namespace CheckoutItem { - export type Type = - | 'rate_card_subscription_item' - | 'pricing_plan_subscription_item'; - - export interface RateCardSubscriptionItem { - rate_card: string; - - metadata: Metadata; - - rate_card_version: string; - - billing_cadence?: string; - - rate_card_subscription?: string; - } - - export interface PricingPlanSubscriptionItem { - pricing_plan: string; - - pricing_plan_version: string; - - metadata: Metadata; - - component_configurations: { - [key: string]: PricingPlanSubscriptionItem.ComponentConfigurations; - }; - - pricing_plan_subscription?: string; - - billing_cadence?: string; - } - - export namespace PricingPlanSubscriptionItem { - export interface ComponentConfigurations { - type: 'license_fee_component'; - - license_fee_component?: ComponentConfigurations.LicenseFeeComponent; - } - - export namespace ComponentConfigurations { - export interface LicenseFeeComponent { - quantity: number; - } - } - } + export namespace AmazonPay { + export type SetupFutureUsage = 'none' | 'off_session'; } - export namespace CollectedInformation { - export interface ShippingDetails { - address: Address; - export namespace BacsDebit { export interface MandateOptions { /** @@ -2849,6 +3478,10 @@ export namespace Session { export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; } + export namespace Bizum { + export interface MandateOptions {} + } + export namespace Boleto { export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; } @@ -2861,6 +3494,8 @@ export namespace Session { enabled?: boolean; } + export type RequestDecrementalAuthorization = 'if_available' | 'never'; + export type RequestExtendedAuthorization = 'if_available' | 'never'; export type RequestIncrementalAuthorization = 'if_available' | 'never'; @@ -2887,338 +3522,18 @@ export namespace Session { | 'mastercard' | 'visa'; } - - export interface TaxId { - /** - * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` - */ - type: TaxId.Type; - - /** - * The value of the tax ID. - */ - value: string | null; - } - - export namespace TaxId { - export 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' - | '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'; - } - } - - export namespace CustomerBalance { - export interface BankTransfer { - eu_bank_transfer?: BankTransfer.EuBankTransfer; + } + + export namespace CustomerBalance { + export interface BankTransfer { + eu_bank_transfer?: BankTransfer.EuBankTransfer; /** * List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. * * Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. */ - position: PaymentMethodReuseAgreement.Position; - } - - export type Promotions = 'auto' | 'none'; - - export type TermsOfService = 'none' | 'required'; - - export namespace PaymentMethodReuseAgreement { - export type Position = 'auto' | 'hidden'; - } - } - - export namespace CurrentAttempt { - export interface BillingDetails { - address: Address; - - /** - * Customer name. - */ - name: string | null; - } - - export interface PaymentMethodDetails { - /** - * Indicates whether this payment method can be shown again to its customer in a checkout flow. - */ - allow_redisplay: PaymentMethodDetails.AllowRedisplay; - - au_becs_debit?: PaymentMethodDetails.AuBecsDebit; - - bacs_debit?: PaymentMethodDetails.BacsDebit; - - boleto?: PaymentMethodDetails.Boleto; - - card?: PaymentMethodDetails.Card; - - link?: PaymentMethodDetails.Link; - - pix?: PaymentMethodDetails.Pix; - - sepa_debit?: PaymentMethodDetails.SepaDebit; - - /** - * The type of payment method the customer is attempting to pay with. An additional hash is included in the payment method details with a name matching this value. It contains additional information specific to the payment method type. - */ - type: string; - - us_bank_account?: PaymentMethodDetails.UsBankAccount; - } - - export interface ShippingDetails { - address: Address; - - /** - * Customer name. - */ - name: string; - } - - export namespace PaymentMethodDetails { - export type AllowRedisplay = 'always' | 'limited' | 'unspecified'; - - export interface AuBecsDebit { - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - } - - export interface BacsDebit { - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - } - - export interface Boleto { - /** - * Uniquely identifies this particular boleto payment method. You can use this attribute to check whether two boleto payment methods are the same. - */ - fingerprint: string | null; - } - - export interface Card { - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; - - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; - - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; - - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - * - * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.* - */ - fingerprint: string | null; - - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: Card.Funding; - - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string | null; - - /** - * The last four digits of the card. - */ - last4: string; - - /** - * If this Card is part of a card wallet, this contains the details of the card wallet. - */ - wallet: Card.Wallet | null; - } - - export interface Link { - /** - * Unique, encrypted bank account identifier. - */ - fingerprint?: string | null; - } - - export interface Pix { - /** - * Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same. - */ - fingerprint: string | null; - } - - export interface SepaDebit { - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - } - - export interface UsBankAccount { - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - } - - export namespace Card { - export type Funding = 'credit' | 'debit' | 'prepaid' | 'unknown'; - - export interface Wallet { - /** - * The type of the wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, `meta_pay`, or `link`. - */ - type: Wallet.Type; - } - - export namespace Wallet { - export type Type = - | 'amex_express_checkout' - | 'apple_pay' - | 'google_pay' - | 'link' - | 'masterpass' - | 'meta_pay' - | 'samsung_pay' - | 'visa_checkout'; - } - } - } - } - - export namespace CustomerDetails { - export type TaxExempt = 'exempt' | 'none' | 'reverse'; - - export interface TaxId { - /** - * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` - */ - type: TaxId.Type; + requested_address_types?: Array; /** * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. @@ -3368,1352 +3683,470 @@ export namespace Session { amount_type?: MandateOptions.AmountType; /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. - */ - currency?: string; - - /** - * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. - */ - end_date?: string; - - /** - * Schedule at which the future payments will be charged. - */ - payment_schedule?: MandateOptions.PaymentSchedule; - - /** - * Subscription name displayed to buyers in their bank app. - */ - reference?: string; - - /** - * Start date of the mandate, in `YYYY-MM-DD`. - */ - start_date?: string; - } - - export type SetupFutureUsage = 'none' | 'off_session'; - - export namespace MandateOptions { - export type AmountIncludesIof = 'always' | 'never'; - - export type AmountType = 'fixed' | 'maximum'; - - export type PaymentSchedule = - | 'halfyearly' - | 'monthly' - | 'quarterly' - | 'weekly' - | 'yearly'; - } - } - - export namespace RevolutPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace SepaDebit { - export interface MandateOptions { - /** - * Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. - */ - reference_prefix?: string; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - } - - export namespace Twint { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Upi { - export interface MandateOptions { - /** - * Amount to be charged for future payments. - */ - amount: number | null; - - /** - * One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. - */ - amount_type: MandateOptions.AmountType | null; - - /** - * A description of the mandate or subscription that is meant to be displayed to the customer. - */ - description: string | null; - - /** - * End date of the mandate or subscription. - */ - end_date: number | null; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - - /** - * The value of the custom field. - */ - value: string; - } - - export interface Issuer { - /** - * The connected account being referenced when `type` is `account`. - */ - account?: string | Account; - - /** - * Type of the account referenced. - */ - type: Issuer.Type; - } - - export interface RenderingOptions { - /** - * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. - */ - amount_tax_display: string | null; - - /** - * ID of the invoice rendering template to be used for the generated invoice. - */ - template: string | null; - } - - export namespace Issuer { - export type Type = 'account' | 'application' | 'self'; - } - } - } - - export namespace UsBankAccount { - export interface FinancialConnections { - filters?: FinancialConnections.Filters; - - /** - * The list of permissions to request. The `payment_method` permission must be included. - */ - permissions?: Array; - - /** - * Data features requested to be retrieved upon account creation. - */ - prefetch: Array | null; - - /** - * For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. - */ - return_url?: string; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - - export type VerificationMethod = 'automatic' | 'instant'; - - export namespace OptionalItem { - export interface AdjustableQuantity { - /** - * Set to true if the quantity can be adjusted to any non-negative integer. - */ - enabled: boolean; - - /** - * The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999. - */ - maximum: number | null; - - /** - * The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0. - */ - minimum: number | null; - } - } - - export namespace PaymentMethodOptions { - export interface AcssDebit { - /** - * Currency supported by the bank account. Returned when the Session is in `setup` mode. - */ - currency?: AcssDebit.Currency; - - mandate_options?: AcssDebit.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: AcssDebit.SetupFutureUsage; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - - /** - * Bank account verification method. The default value is `automatic`. - */ - verification_method?: AcssDebit.VerificationMethod; - } - - export interface Affirm { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface AfterpayClearpay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Alipay { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Alma { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface AmazonPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: AmazonPay.SetupFutureUsage; - } - - export interface AuBecsDebit { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - } - - export interface BacsDebit { - mandate_options?: BacsDebit.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: BacsDebit.SetupFutureUsage; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - } - - export interface Bancontact { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Billie { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface Bizum { - mandate_options?: Bizum.MandateOptions; - } - - export interface Boleto { - /** - * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. - */ - expires_after_days: number; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Boleto.SetupFutureUsage; - } - - export interface Card { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - installments?: Card.Installments; - - /** - * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession. - */ - request_decremental_authorization?: Card.RequestDecrementalAuthorization; - - /** - * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession. - */ - request_extended_authorization?: Card.RequestExtendedAuthorization; - - /** - * Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this CheckoutSession. - */ - request_incremental_authorization?: Card.RequestIncrementalAuthorization; - - /** - * Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this CheckoutSession. - */ - request_multicapture?: Card.RequestMulticapture; - - /** - * Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this CheckoutSession. - */ - request_overcapture?: Card.RequestOvercapture; - - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure: Card.RequestThreeDSecure; - - restrictions?: Card.Restrictions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Card.SetupFutureUsage; - - /** - * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. - */ - statement_descriptor_suffix_kana?: string; - - /** - * Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. - */ - statement_descriptor_suffix_kanji?: string; - } - - export interface Cashapp { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface CustomerBalance { - bank_transfer?: CustomerBalance.BankTransfer; - - /** - * The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. - */ - funding_type: 'bank_transfer' | null; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Eps { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Fpx { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Giropay { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Grabpay { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Ideal { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface KakaoPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: KakaoPay.SetupFutureUsage; - } - - export interface Klarna { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Klarna.SetupFutureUsage; - } - - export interface Konbini { - /** - * The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. - */ - expires_after_days: number | null; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface KrCard { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: KrCard.SetupFutureUsage; - } - - export interface Link { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Link.SetupFutureUsage; - } - - export interface Mobilepay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Multibanco { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface NaverPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: NaverPay.SetupFutureUsage; - } - - export interface Oxxo { - /** - * The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. - */ - expires_after_days: number; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface P24 { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Payco { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface Paynow { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Paypal { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Preferred locale of the PayPal checkout page that the customer is redirected to. - */ - preferred_locale: string | null; - - /** - * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID. - */ - reference: string | null; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Paypal.SetupFutureUsage; - - /** - * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used. - */ - subsellers?: Array; - } - - export interface Payto { - mandate_options?: Payto.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Payto.SetupFutureUsage; - } - - export interface Pix { - /** - * Determines if the amount includes the IOF tax. - */ - amount_includes_iof?: Pix.AmountIncludesIof; - - /** - * The number of seconds after which Pix payment will expire. - */ - expires_after_seconds: number | null; - - mandate_options?: Pix.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Pix.SetupFutureUsage; - } - - export interface RevolutPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: RevolutPay.SetupFutureUsage; - } - - export interface SamsungPay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface Satispay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface Scalapay { - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: 'manual'; - } - - export interface SepaDebit { - mandate_options?: SepaDebit.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: SepaDebit.SetupFutureUsage; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - } - - export interface Sofort { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: 'none'; - } - - export interface Swish { - /** - * The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. - */ - reference: string | null; - } - - export interface Twint { - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Twint.SetupFutureUsage; - } - - export interface Upi { - mandate_options?: Upi.MandateOptions; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: Upi.SetupFutureUsage; - } - - export interface UsBankAccount { - financial_connections?: UsBankAccount.FinancialConnections; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - * - * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - * - * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - */ - setup_future_usage?: UsBankAccount.SetupFutureUsage; - - /** - * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. - */ - target_date?: string; - - /** - * Bank account verification method. The default value is `automatic`. - */ - verification_method?: UsBankAccount.VerificationMethod; - } - - export namespace AcssDebit { - export type Currency = 'cad' | 'usd'; - - export interface MandateOptions { - /** - * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. - */ - account_subcategories?: Array; - } - - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; - - export type Prefetch = 'balances' | 'ownership' | 'transactions'; - - export namespace MandateOptions { - export type DefaultFor = 'invoice' | 'subscription'; - - export type PaymentSchedule = 'combined' | 'interval' | 'sporadic'; - - export type TransactionType = 'business' | 'personal'; - } - } - - export namespace AmazonPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace BacsDebit { - export interface MandateOptions { - /** - * Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. - */ - reference_prefix?: string; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - } - - export namespace Bizum { - export interface MandateOptions {} - } - - export namespace Boleto { - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - } - - export namespace Card { - export interface Installments { - /** - * Indicates if installments are enabled - */ - enabled?: boolean; - } - - export type RequestDecrementalAuthorization = 'if_available' | 'never'; - - export type RequestExtendedAuthorization = 'if_available' | 'never'; - - export type RequestIncrementalAuthorization = 'if_available' | 'never'; - - export type RequestMulticapture = 'if_available' | 'never'; - - export type RequestOvercapture = 'if_available' | 'never'; - - export type RequestThreeDSecure = 'any' | 'automatic' | 'challenge'; - - export interface Restrictions { - /** - * The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment. - */ - brands_blocked?: Array; - } - - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - - export namespace Restrictions { - export type BrandsBlocked = - | 'american_express' - | 'discover_global_network' - | 'mastercard' - | 'visa'; - } - } - - export namespace CustomerBalance { - export interface BankTransfer { - eu_bank_transfer?: BankTransfer.EuBankTransfer; - - /** - * List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. - * - * Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. - */ - requested_address_types?: Array; - - /** - * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. - */ - type: BankTransfer.Type | null; - } - - export namespace BankTransfer { - export interface EuBankTransfer { - /** - * The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`. - */ - country: EuBankTransfer.Country; - } - - export type RequestedAddressType = - | 'aba' - | 'iban' - | 'sepa' - | 'sort_code' - | 'spei' - | 'swift' - | 'zengin'; - - export type Type = - | 'eu_bank_transfer' - | 'gb_bank_transfer' - | 'jp_bank_transfer' - | 'mx_bank_transfer' - | 'us_bank_transfer'; - - export namespace EuBankTransfer { - export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; - } - } - } - - export namespace KakaoPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Klarna { - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - } - - export namespace KrCard { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Link { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace NaverPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Paypal { - export type SetupFutureUsage = 'none' | 'off_session'; - } - - export namespace Payto { - export interface MandateOptions { - /** - * Amount that will be collected. It is required when `amount_type` is `fixed`. - */ - amount: number | null; - - /** - * The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. - */ - amount_type: MandateOptions.AmountType | null; - - /** - * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date. - */ - end_date: string | null; - - /** - * The periodicity at which payments will be collected. Defaults to `adhoc`. - */ - payment_schedule: MandateOptions.PaymentSchedule | null; - - /** - * The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit. - */ - payments_per_period: number | null; - - /** - * The purpose for which payments are made. Has a default value based on your merchant category code. - */ - purpose: MandateOptions.Purpose | null; - - /** - * Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time. - */ - start_date: string | null; - } - - export type SetupFutureUsage = 'none' | 'off_session'; - - export namespace MandateOptions { - export type AmountType = 'fixed' | 'maximum'; - - export type PaymentSchedule = - | 'adhoc' - | 'annual' - | 'daily' - | 'fortnightly' - | 'monthly' - | 'quarterly' - | 'semi_annual' - | 'weekly'; - - export type Purpose = - | 'dependant_support' - | 'government' - | 'loan' - | 'mortgage' - | 'other' - | 'pension' - | 'personal' - | 'retail' - | 'salary' - | 'tax' - | 'utility'; - } - } + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. + */ + currency?: string; - export namespace Pix { - export type AmountIncludesIof = 'always' | 'never'; + /** + * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. + */ + end_date?: string; - export interface MandateOptions { - /** - * Amount to be charged for future payments. - */ - amount?: number; + /** + * Schedule at which the future payments will be charged. + */ + payment_schedule?: MandateOptions.PaymentSchedule; - /** - * Determines if the amount includes the IOF tax. - */ - amount_includes_iof?: MandateOptions.AmountIncludesIof; + /** + * Subscription name displayed to buyers in their bank app. + */ + reference?: string; - /** - * Type of amount. - */ - amount_type?: MandateOptions.AmountType; + /** + * Start date of the mandate, in `YYYY-MM-DD`. + */ + start_date?: string; + } - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. - */ - currency?: string; + export type SetupFutureUsage = 'none' | 'off_session'; - /** - * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. - */ - end_date?: string; + export namespace MandateOptions { + export type AmountIncludesIof = 'always' | 'never'; - /** - * Schedule at which the future payments will be charged. - */ - payment_schedule?: MandateOptions.PaymentSchedule; + export type AmountType = 'fixed' | 'maximum'; - /** - * Subscription name displayed to buyers in their bank app. - */ - reference?: string; + export type PaymentSchedule = + | 'halfyearly' + | 'monthly' + | 'quarterly' + | 'weekly' + | 'yearly'; + } + } - /** - * Start date of the mandate, in `YYYY-MM-DD`. - */ - start_date?: string; - } + export namespace RevolutPay { + export type SetupFutureUsage = 'none' | 'off_session'; + } - export type SetupFutureUsage = 'none' | 'off_session'; + export namespace SepaDebit { + export interface MandateOptions { + /** + * Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. + */ + reference_prefix?: string; + } - export namespace MandateOptions { - export type AmountIncludesIof = 'always' | 'never'; + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + } - export type AmountType = 'fixed' | 'maximum'; + export namespace Twint { + export type SetupFutureUsage = 'none' | 'off_session'; + } - export type PaymentSchedule = - | 'halfyearly' - | 'monthly' - | 'quarterly' - | 'weekly' - | 'yearly'; - } - } + export namespace Upi { + export interface MandateOptions { + /** + * Amount to be charged for future payments. + */ + amount: number | null; - export namespace RevolutPay { - export type SetupFutureUsage = 'none' | 'off_session'; - } + /** + * One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + */ + amount_type: MandateOptions.AmountType | null; - export namespace SepaDebit { - export interface MandateOptions { - /** - * Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'. - */ - reference_prefix?: string; - } + /** + * A description of the mandate or subscription that is meant to be displayed to the customer. + */ + description: string | null; - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + /** + * End date of the mandate or subscription. + */ + end_date: number | null; } - export namespace Twint { - export type SetupFutureUsage = 'none' | 'off_session'; - } + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - export namespace Upi { - export interface MandateOptions { - /** - * Amount to be charged for future payments. - */ - amount: number | null; + export namespace MandateOptions { + export type AmountType = 'fixed' | 'maximum'; + } + } - /** - * One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. - */ - amount_type: MandateOptions.AmountType | null; + export namespace UsBankAccount { + export interface FinancialConnections { + filters?: FinancialConnections.Filters; - /** - * A description of the mandate or subscription that is meant to be displayed to the customer. - */ - description: string | null; + manual_entry?: FinancialConnections.ManualEntry; - /** - * End date of the mandate or subscription. - */ - end_date: number | null; - } + /** + * The list of permissions to request. The `payment_method` permission must be included. + */ + permissions?: Array; - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + /** + * Data features requested to be retrieved upon account creation. + */ + prefetch: Array | null; - export namespace MandateOptions { - export type AmountType = 'fixed' | 'maximum'; - } + /** + * For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. + */ + return_url?: string; } - export namespace UsBankAccount { - export interface FinancialConnections { - filters?: FinancialConnections.Filters; + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; - manual_entry?: FinancialConnections.ManualEntry; + export type VerificationMethod = 'automatic' | 'instant'; + export namespace FinancialConnections { + export interface Filters { /** - * The list of permissions to request. The `payment_method` permission must be included. + * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. */ - permissions?: Array; + account_subcategories?: Array; /** - * Data features requested to be retrieved upon account creation. + * The institution to use to filter for possible accounts to link. */ - prefetch: Array | null; + institution?: string; + } + export interface ManualEntry { /** - * For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. + * Settings for configuring manual entry of account details. */ - return_url?: string; + mode?: ManualEntry.Mode; } - export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + export type Permission = + | 'balances' + | 'ownership' + | 'payment_method' + | 'transactions'; - export type VerificationMethod = 'automatic' | 'instant'; + export type Prefetch = + | 'balances' + | 'inferred_balances' + | 'ownership' + | 'transactions'; - export namespace FinancialConnections { - export interface Filters { - /** - * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. - */ - account_subcategories?: Array; + export namespace Filters { + export type AccountSubcategory = 'checking' | 'savings'; + } - /** - * The institution to use to filter for possible accounts to link. - */ - institution?: string; - } + export namespace ManualEntry { + export type Mode = 'automatic' | 'custom'; + } + } + } + } - export interface ManualEntry { - /** - * Settings for configuring manual entry of account details. - */ - mode?: ManualEntry.Mode; - } + export namespace Permissions { + export interface Update { + /** + * Determines which entity is allowed to update the line items. + * + * Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. + * + * When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API. + */ + line_items?: Update.LineItems | null; - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; + /** + * Determines which entity is allowed to update the shipping details. + * + * Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details. + * + * When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API. + */ + shipping_details: Update.ShippingDetails | null; + } - export type Prefetch = - | 'balances' - | 'inferred_balances' - | 'ownership' - | 'transactions'; + export type UpdateLineItems = 'client_only' | 'server_only'; - export namespace Filters { - export type AccountSubcategory = 'checking' | 'savings'; - } + export type UpdateShippingDetails = 'client_only' | 'server_only'; - export namespace ManualEntry { - export type Mode = 'automatic' | 'custom'; - } - } - } + export namespace Update { + export type LineItems = 'client_only' | 'server_only'; + + export type ShippingDetails = 'client_only' | 'server_only'; } } - export namespace Permissions { - export interface Update { - /** - * Determines which entity is allowed to update the line items. - * - * Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items. - * - * When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API. - */ - line_items?: Update.LineItems | null; + export namespace SavedPaymentMethodOptions { + export type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified'; - /** - * Determines which entity is allowed to update the shipping details. - * - * Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details. - * - * When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API. - */ - shipping_details: Update.ShippingDetails | null; - } + export type PaymentMethodRemove = 'disabled' | 'enabled'; - export type UpdateLineItems = 'client_only' | 'server_only'; + export type PaymentMethodSave = 'disabled' | 'enabled'; + } - export type UpdateShippingDetails = 'client_only' | 'server_only'; + export namespace ShippingAddressCollection { + export type AllowedCountry = + | 'AC' + | 'AD' + | 'AE' + | 'AF' + | 'AG' + | 'AI' + | 'AL' + | 'AM' + | 'AO' + | 'AQ' + | 'AR' + | 'AT' + | 'AU' + | 'AW' + | 'AX' + | 'AZ' + | 'BA' + | 'BB' + | 'BD' + | 'BE' + | 'BF' + | 'BG' + | 'BH' + | 'BI' + | 'BJ' + | 'BL' + | 'BM' + | 'BN' + | 'BO' + | 'BQ' + | 'BR' + | 'BS' + | 'BT' + | 'BV' + | 'BW' + | 'BY' + | 'BZ' + | 'CA' + | 'CD' + | 'CF' + | 'CG' + | 'CH' + | 'CI' + | 'CK' + | 'CL' + | 'CM' + | 'CN' + | 'CO' + | 'CR' + | 'CV' + | 'CW' + | 'CY' + | 'CZ' + | 'DE' + | 'DJ' + | 'DK' + | 'DM' + | 'DO' + | 'DZ' + | 'EC' + | 'EE' + | 'EG' + | 'EH' + | 'ER' + | 'ES' + | 'ET' + | 'FI' + | 'FJ' + | 'FK' + | 'FO' + | 'FR' + | 'GA' + | 'GB' + | 'GD' + | 'GE' + | 'GF' + | 'GG' + | 'GH' + | 'GI' + | 'GL' + | 'GM' + | 'GN' + | 'GP' + | 'GQ' + | 'GR' + | 'GS' + | 'GT' + | 'GU' + | 'GW' + | 'GY' + | 'HK' + | 'HN' + | 'HR' + | 'HT' + | 'HU' + | 'ID' + | 'IE' + | 'IL' + | 'IM' + | 'IN' + | 'IO' + | 'IQ' + | 'IS' + | 'IT' + | 'JE' + | 'JM' + | 'JO' + | 'JP' + | 'KE' + | 'KG' + | 'KH' + | 'KI' + | 'KM' + | 'KN' + | 'KR' + | 'KW' + | 'KY' + | 'KZ' + | 'LA' + | 'LB' + | 'LC' + | 'LI' + | 'LK' + | 'LR' + | 'LS' + | 'LT' + | 'LU' + | 'LV' + | 'LY' + | 'MA' + | 'MC' + | 'MD' + | 'ME' + | 'MF' + | 'MG' + | 'MK' + | 'ML' + | 'MM' + | 'MN' + | 'MO' + | 'MQ' + | 'MR' + | 'MS' + | 'MT' + | 'MU' + | 'MV' + | 'MW' + | 'MX' + | 'MY' + | 'MZ' + | 'NA' + | 'NC' + | 'NE' + | 'NG' + | 'NI' + | 'NL' + | 'NO' + | 'NP' + | 'NR' + | 'NU' + | 'NZ' + | 'OM' + | 'PA' + | 'PE' + | 'PF' + | 'PG' + | 'PH' + | 'PK' + | 'PL' + | 'PM' + | 'PN' + | 'PR' + | 'PS' + | 'PT' + | 'PY' + | 'QA' + | 'RE' + | 'RO' + | 'RS' + | 'RU' + | 'RW' + | 'SA' + | 'SB' + | 'SC' + | 'SD' + | 'SE' + | 'SG' + | 'SH' + | 'SI' + | 'SJ' + | 'SK' + | 'SL' + | 'SM' + | 'SN' + | 'SO' + | 'SR' + | 'SS' + | 'ST' + | 'SV' + | 'SX' + | 'SZ' + | 'TA' + | 'TC' + | 'TD' + | 'TF' + | 'TG' + | 'TH' + | 'TJ' + | 'TK' + | 'TL' + | 'TM' + | 'TN' + | 'TO' + | 'TR' + | 'TT' + | 'TV' + | 'TW' + | 'TZ' + | 'UA' + | 'UG' + | 'US' + | 'UY' + | 'UZ' + | 'VA' + | 'VC' + | 'VE' + | 'VG' + | 'VN' + | 'VU' + | 'WF' + | 'WS' + | 'XK' + | 'YE' + | 'YT' + | 'ZA' + | 'ZM' + | 'ZW' + | 'ZZ'; + } - export namespace Update { - export type LineItems = 'client_only' | 'server_only'; + export namespace ShippingCost { + export interface Tax { + /** + * Amount of tax applied for this rate. + */ + amount: number; - export type ShippingDetails = 'client_only' | 'server_only'; - } + /** + * Tax rates can be applied to [invoices](https://docs.stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://docs.stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://docs.stripe.com/payments/checkout/use-manual-tax-rates) to collect tax. + * + * Related guide: [Tax rates](https://docs.stripe.com/billing/taxes/tax-rates) + */ + rate: TaxRate; + + /** + * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. + */ + taxability_reason: Tax.TaxabilityReason | null; + + /** + * The amount on which tax is calculated, in cents (or local equivalent). + */ + taxable_amount: number | null; } export namespace Tax { diff --git a/src/resources/DelegatedCheckout/OrderEvents.ts b/src/resources/DelegatedCheckout/OrderEvents.ts index 5b4d91c527..98ef2b6f89 100644 --- a/src/resources/DelegatedCheckout/OrderEvents.ts +++ b/src/resources/DelegatedCheckout/OrderEvents.ts @@ -15,7 +15,7 @@ export interface OrderEvent { /** * The adjustment details for this order event. */ - adjustment: DelegatedCheckout.OrderEvent.Adjustment | null; + adjustment: OrderEvent.Adjustment | null; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -25,7 +25,7 @@ export interface OrderEvent { /** * The fulfillment details for this order event. */ - fulfillment: DelegatedCheckout.OrderEvent.Fulfillment | null; + fulfillment: OrderEvent.Fulfillment | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -50,125 +50,123 @@ export interface OrderEvent { /** * The type of order event. */ - type: DelegatedCheckout.OrderEvent.Type; + type: OrderEvent.Type; } -export namespace DelegatedCheckout { - export namespace OrderEvent { - export interface Adjustment { - /** - * The amount associated with the adjustment. - */ - amount: number | null; - - /** - * The currency associated with the adjustment amount. - */ - currency: string | null; +export namespace OrderEvent { + export interface Adjustment { + /** + * The amount associated with the adjustment. + */ + amount: number | null; + + /** + * The currency associated with the adjustment amount. + */ + currency: string | null; + + /** + * The description of the adjustment. + */ + description: string; + + /** + * The line items associated with the adjustment. + */ + line_items: Array | null; + + /** + * The status of the adjustment. + */ + status: Adjustment.Status; + + /** + * The type of adjustment. + */ + type: Adjustment.Type; + } - /** - * The description of the adjustment. - */ - description: string; + export interface Fulfillment { + /** + * The carrier for the fulfillment. + */ + carrier: string | null; + + /** + * Time at which the fulfillment was delivered. Measured in seconds since the Unix epoch. + */ + delivered_at: number | null; + + /** + * The line items associated with the fulfillment. + */ + line_items: Array; + + /** + * Time at which the fulfillment shipped. Measured in seconds since the Unix epoch. + */ + shipped_at: number | null; + + /** + * The status of the fulfillment. + */ + status: Fulfillment.Status; + + /** + * The tracking number for the fulfillment. + */ + tracking_number: string | null; + + /** + * The tracking URL for the fulfillment. + */ + tracking_url: string | null; + } - /** - * The line items associated with the adjustment. - */ - line_items: Array | null; + export type Type = 'adjustment' | 'fulfillment'; + export namespace Adjustment { + export interface LineItem { /** - * The status of the adjustment. + * The line item key. */ - status: Adjustment.Status; + key: string; /** - * The type of adjustment. + * The quantity associated with the order event. */ - type: Adjustment.Type; + quantity: number; } - export interface Fulfillment { - /** - * The carrier for the fulfillment. - */ - carrier: string | null; - - /** - * Time at which the fulfillment was delivered. Measured in seconds since the Unix epoch. - */ - delivered_at: number | null; - - /** - * The line items associated with the fulfillment. - */ - line_items: Array; - - /** - * Time at which the fulfillment shipped. Measured in seconds since the Unix epoch. - */ - shipped_at: number | null; + export type Status = 'completed' | 'failed' | 'pending'; - /** - * The status of the fulfillment. - */ - status: Fulfillment.Status; + export type Type = + | 'cancellation' + | 'credit' + | 'dispute' + | 'original_payment_refund' + | 'return' + | 'store_credit_refund'; + } + export namespace Fulfillment { + export interface LineItem { /** - * The tracking number for the fulfillment. + * The line item key. */ - tracking_number: string | null; + key: string; /** - * The tracking URL for the fulfillment. + * The quantity associated with the order event. */ - tracking_url: string | null; + quantity: number; } - export type Type = 'adjustment' | 'fulfillment'; - - export namespace Adjustment { - export interface LineItem { - /** - * The line item key. - */ - key: string; - - /** - * The quantity associated with the order event. - */ - quantity: number; - } - - export type Status = 'completed' | 'failed' | 'pending'; - - export type Type = - | 'cancellation' - | 'credit' - | 'dispute' - | 'original_payment_refund' - | 'return' - | 'store_credit_refund'; - } - - export namespace Fulfillment { - export interface LineItem { - /** - * The line item key. - */ - key: string; - - /** - * The quantity associated with the order event. - */ - quantity: number; - } - - export type Status = - | 'confirmed' - | 'delivered' - | 'fulfilled' - | 'pending' - | 'returned' - | 'shipped'; - } + export type Status = + | 'confirmed' + | 'delivered' + | 'fulfilled' + | 'pending' + | 'returned' + | 'shipped'; } } diff --git a/src/resources/DelegatedCheckout/Orders.ts b/src/resources/DelegatedCheckout/Orders.ts index a80452b0a9..ec51352e16 100644 --- a/src/resources/DelegatedCheckout/Orders.ts +++ b/src/resources/DelegatedCheckout/Orders.ts @@ -50,7 +50,7 @@ export interface Order { /** * The line items in this order. */ - line_items: Array; + line_items: Array; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -75,125 +75,123 @@ export interface Order { /** * The totals for this order. */ - totals: DelegatedCheckout.Order.Totals | null; + totals: Order.Totals | null; } -export namespace DelegatedCheckout { - export namespace Order { - export interface LineItem { +export namespace Order { + export interface LineItem { + /** + * The order line item key. + */ + key: string; + + product_details: LineItem.ProductDetails; + + quantity: LineItem.Quantity; + + /** + * The SKU ID of the line item. + */ + sku_id: string; + + /** + * The totals for this line item. + */ + totals: LineItem.Totals | null; + + /** + * The line item unit amount. + */ + unit_amount: number; + } + + export interface Totals { + /** + * The discount amount for the order. + */ + discount: number | null; + + /** + * The fulfillment amount for the order. + */ + fulfillment: number | null; + + /** + * The subtotal amount for the order. + */ + subtotal: number | null; + + /** + * The tax amount for the order. + */ + tax: number | null; + + /** + * The total amount for the order. + */ + total: number | null; + } + + export namespace LineItem { + export interface ProductDetails { /** - * The order line item key. + * The item description. */ - key: string; + description: string | null; - product_details: LineItem.ProductDetails; + /** + * The item images. + */ + images: Array | null; - quantity: LineItem.Quantity; + /** + * The item title. + */ + title: string; + } + export interface Quantity { /** - * The SKU ID of the line item. + * The current quantity. */ - sku_id: string; + current: number; /** - * The totals for this line item. + * The ordered quantity. */ - totals: LineItem.Totals | null; + ordered: number; /** - * The line item unit amount. + * The shipped quantity. */ - unit_amount: number; + shipped: number; } export interface Totals { /** - * The discount amount for the order. + * The base amount for the line item. */ - discount: number | null; + base_amount: number | null; /** - * The fulfillment amount for the order. + * The discount amount for the line item. */ - fulfillment: number | null; + discount: number | null; /** - * The subtotal amount for the order. + * The subtotal amount for the line item. */ subtotal: number | null; /** - * The tax amount for the order. + * The tax amount for the line item. */ tax: number | null; /** - * The total amount for the order. + * The total amount for the line item. */ total: number | null; } - - export namespace LineItem { - export interface ProductDetails { - /** - * The item description. - */ - description: string | null; - - /** - * The item images. - */ - images: Array | null; - - /** - * The item title. - */ - title: string; - } - - export interface Quantity { - /** - * The current quantity. - */ - current: number; - - /** - * The ordered quantity. - */ - ordered: number; - - /** - * The shipped quantity. - */ - shipped: number; - } - - export interface Totals { - /** - * The base amount for the line item. - */ - base_amount: number | null; - - /** - * The discount amount for the line item. - */ - discount: number | null; - - /** - * The subtotal amount for the line item. - */ - subtotal: number | null; - - /** - * The tax amount for the line item. - */ - tax: number | null; - - /** - * The total amount for the line item. - */ - total: number | null; - } - } } } export namespace DelegatedCheckout { diff --git a/src/resources/DelegatedCheckout/RequestedSessions.ts b/src/resources/DelegatedCheckout/RequestedSessions.ts index 1c6b481ece..839ad3d619 100644 --- a/src/resources/DelegatedCheckout/RequestedSessions.ts +++ b/src/resources/DelegatedCheckout/RequestedSessions.ts @@ -127,9 +127,7 @@ export interface RequestedSession { /** * Affiliate attribution data associated with this requested session. */ - affiliate_attributions: Array< - DelegatedCheckout.RequestedSession.AffiliateAttribution - > | null; + affiliate_attributions: Array | null; /** * The subtotal amount of the requested session. @@ -144,7 +142,7 @@ export interface RequestedSession { /** * The buyer consent options for this requested session, including marketing preferences. */ - buyer_consents: DelegatedCheckout.RequestedSession.BuyerConsents | null; + buyer_consents: RequestedSession.BuyerConsents | null; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -164,7 +162,7 @@ export interface RequestedSession { /** * The discounts applied to and rejected from this requested session. */ - discounts?: DelegatedCheckout.RequestedSession.Discounts | null; + discounts?: RequestedSession.Discounts | null; /** * Time at which the requested session expires. Measured in seconds since the Unix epoch. @@ -174,12 +172,12 @@ export interface RequestedSession { /** * The details of the fulfillment. */ - fulfillment_details: DelegatedCheckout.RequestedSession.FulfillmentDetails | null; + fulfillment_details: RequestedSession.FulfillmentDetails | null; /** * The line items to be purchased. */ - line_item_details: Array; + line_item_details: Array; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -194,7 +192,7 @@ export interface RequestedSession { /** * The details of the order. */ - order_details: DelegatedCheckout.RequestedSession.OrderDetails | null; + order_details: RequestedSession.OrderDetails | null; /** * The payment method used for the requested session. @@ -204,19 +202,19 @@ export interface RequestedSession { /** * The payment method options for this requested session. */ - payment_method_options: DelegatedCheckout.RequestedSession.PaymentMethodOptions | null; + payment_method_options: RequestedSession.PaymentMethodOptions | null; /** * The preview of the payment method to be created when the requested session is confirmed. */ - payment_method_preview: DelegatedCheckout.RequestedSession.PaymentMethodPreview | null; + payment_method_preview: RequestedSession.PaymentMethodPreview | null; /** * The risk details of the requested session. */ - risk_details: DelegatedCheckout.RequestedSession.RiskDetails | null; + risk_details: RequestedSession.RiskDetails | null; - seller_details: DelegatedCheckout.RequestedSession.SellerDetails; + seller_details: RequestedSession.SellerDetails; /** * Whether or not the payment method should be saved for future use. @@ -238,844 +236,842 @@ export interface RequestedSession { /** * The status of the requested session. */ - status: DelegatedCheckout.RequestedSession.Status; + status: RequestedSession.Status; - total_details: DelegatedCheckout.RequestedSession.TotalDetails; + total_details: RequestedSession.TotalDetails; /** * Time at which the object was last updated. Measured in seconds since the Unix epoch. */ updated_at: number; } -export namespace DelegatedCheckout { - export namespace RequestedSession { - export interface AffiliateAttribution { - /** - * Agent-scoped campaign identifier. - */ - campaign_id: string | null; +export namespace RequestedSession { + export interface AffiliateAttribution { + /** + * Agent-scoped campaign identifier. + */ + campaign_id: string | null; - /** - * Agent-scoped creative identifier. - */ - creative_id: string | null; + /** + * Agent-scoped creative identifier. + */ + creative_id: string | null; - /** - * Timestamp when the attribution token expires. - */ - expires_at: number; + /** + * Timestamp when the attribution token expires. + */ + expires_at: number; - /** - * Agent-issued secret to validate the legitimacy of the source of this data. - */ - identification_token: string; + /** + * Agent-issued secret to validate the legitimacy of the source of this data. + */ + identification_token: string; - /** - * Timestamp for when the attribution token was issued. - */ - issued_at: number; + /** + * Timestamp for when the attribution token was issued. + */ + issued_at: number; - /** - * Identifier for the attribution agent / affiliate network namespace. - */ - provider: string; + /** + * Identifier for the attribution agent / affiliate network namespace. + */ + provider: string; - /** - * Agent-scoped affiliate/publisher identifier. - */ - publisher_id: string | null; + /** + * Agent-scoped affiliate/publisher identifier. + */ + publisher_id: string | null; - /** - * Freeform key/value pairs for additional non-sensitive per-agent data. - */ - shared_metadata: { - [key: string]: string; - } | null; + /** + * Freeform key/value pairs for additional non-sensitive per-agent data. + */ + shared_metadata: { + [key: string]: string; + } | null; - /** - * Context about where the attribution originated. - */ - source: AffiliateAttribution.Source | null; + /** + * Context about where the attribution originated. + */ + source: AffiliateAttribution.Source | null; - /** - * Agent-scoped sub-tracking identifier. - */ - sub_id: string | null; + /** + * Agent-scoped sub-tracking identifier. + */ + sub_id: string | null; - /** - * Whether this is the first or last touchpoint. - */ - touchpoint: AffiliateAttribution.Touchpoint; - } + /** + * Whether this is the first or last touchpoint. + */ + touchpoint: AffiliateAttribution.Touchpoint; + } - export interface BuyerConsents { - /** - * The marketing consent options. - */ - marketing: BuyerConsents.Marketing | null; - } + export interface BuyerConsents { + /** + * The marketing consent options. + */ + marketing: BuyerConsents.Marketing | null; + } - export interface Discounts { - /** - * The list of successfully applied discounts. - */ - applied: Array | null; + export interface Discounts { + /** + * The list of successfully applied discounts. + */ + applied: Array | null; - /** - * The list of discount codes that could not be applied. - */ - invalid: Array | null; - } + /** + * The list of discount codes that could not be applied. + */ + invalid: Array | null; + } - export interface FulfillmentDetails { - /** - * The fulfillment address. - */ - address: Address | null; + export interface FulfillmentDetails { + /** + * The fulfillment address. + */ + address: Address | null; - /** - * The email address for the fulfillment details. - */ - email: string | null; + /** + * The email address for the fulfillment details. + */ + email: string | null; - /** - * The fulfillment options. - */ - fulfillment_options: Array | null; + /** + * The fulfillment options. + */ + fulfillment_options: Array | null; - /** - * The name for the fulfillment details. - */ - name: string | null; + /** + * The name for the fulfillment details. + */ + name: string | null; - /** - * The phone number for the fulfillment details. - */ - phone: string | null; + /** + * The phone number for the fulfillment details. + */ + phone: string | null; - /** - * The selected fulfillment option. - */ - selected_fulfillment_option: FulfillmentDetails.SelectedFulfillmentOption | null; + /** + * The selected fulfillment option. + */ + selected_fulfillment_option: FulfillmentDetails.SelectedFulfillmentOption | null; - /** - * Per-item fulfillment option overrides. - */ - selected_fulfillment_option_overrides: Array< - FulfillmentDetails.SelectedFulfillmentOptionOverride - > | null; - } + /** + * Per-item fulfillment option overrides. + */ + selected_fulfillment_option_overrides: Array< + FulfillmentDetails.SelectedFulfillmentOptionOverride + > | null; + } - export interface LineItemDetail { - /** - * The total discount for this line item. If no discount were applied, defaults to 0. - */ - amount_discount: number; + export interface LineItemDetail { + /** + * The total discount for this line item. If no discount were applied, defaults to 0. + */ + amount_discount: number; - /** - * The sale amount for this line item. - */ - amount_sale?: number; + /** + * The sale amount for this line item. + */ + amount_sale?: number; - /** - * The total before any discounts or taxes are applied. - */ - amount_subtotal: number; + /** + * The total before any discounts or taxes are applied. + */ + amount_subtotal: number; - /** - * The fulfillment type of the line item. - */ - fulfillment_type: string; + /** + * The fulfillment type of the line item. + */ + fulfillment_type: string; - /** - * The key of the line item. - */ - key: string; + /** + * The key of the line item. + */ + key: string; - product_details?: LineItemDetail.ProductDetails; + product_details?: LineItemDetail.ProductDetails; - /** - * The quantity of the line item. - */ - quantity: number; + /** + * The quantity of the line item. + */ + quantity: number; - /** - * The SKU ID of the line item. - */ - sku_id: string; + /** + * The SKU ID of the line item. + */ + sku_id: string; - /** - * The per-unit amount of the item before any discounts or taxes are applied. - */ - unit_amount: number; - } + /** + * The per-unit amount of the item before any discounts or taxes are applied. + */ + unit_amount: number; + } - export interface OrderDetails { - /** - * The seller's order identifier. - */ - order_id: string | null; + export interface OrderDetails { + /** + * The seller's order identifier. + */ + order_id: string | null; - /** - * The URL to the order status. - */ - order_status_url: string | null; - } + /** + * The URL to the order status. + */ + order_status_url: string | null; + } - export interface PaymentMethodOptions { - /** - * Card-specific payment method options. - */ - card: PaymentMethodOptions.Card | null; + export interface PaymentMethodOptions { + /** + * Card-specific payment method options. + */ + card: PaymentMethodOptions.Card | null; - /** - * The computed displayable card brands. - */ - displayable_card_brands: Array< - PaymentMethodOptions.DisplayableCardBrand - > | null; + /** + * The computed displayable card brands. + */ + displayable_card_brands: Array< + PaymentMethodOptions.DisplayableCardBrand + > | null; - /** - * The computed displayable payment method types. - */ - displayable_payment_method_types: Array< - PaymentMethodOptions.DisplayablePaymentMethodType - > | null; + /** + * The computed displayable payment method types. + */ + displayable_payment_method_types: Array< + PaymentMethodOptions.DisplayablePaymentMethodType + > | null; - /** - * The payment method types excluded by the agent. - */ - excluded_payment_method_types: Array< - PaymentMethodOptions.ExcludedPaymentMethodType - > | null; - } + /** + * The payment method types excluded by the agent. + */ + excluded_payment_method_types: Array< + PaymentMethodOptions.ExcludedPaymentMethodType + > | null; + } - export interface PaymentMethodPreview { - /** - * The billing details of the payment method. - */ - billing_details: PaymentMethodPreview.BillingDetails | null; + export interface PaymentMethodPreview { + /** + * The billing details of the payment method. + */ + billing_details: PaymentMethodPreview.BillingDetails | null; - /** - * The card details of the payment method. - */ - card: PaymentMethodPreview.Card | null; + /** + * The card details of the payment method. + */ + card: PaymentMethodPreview.Card | null; - /** - * The type of the payment method. - */ - type: string; - } + /** + * The type of the payment method. + */ + type: string; + } - export interface RiskDetails { - /** - * The risk metadata for the client device. - */ - client_device_metadata_details: RiskDetails.ClientDeviceMetadataDetails | null; - } + export interface RiskDetails { + /** + * The risk metadata for the client device. + */ + client_device_metadata_details: RiskDetails.ClientDeviceMetadataDetails | null; + } - export interface SellerDetails { - /** - * The card brands supported by the seller. - */ - card_brands: Array | null; + export interface SellerDetails { + /** + * The card brands supported by the seller. + */ + card_brands: Array | null; - /** - * The marketplace seller details. - */ - marketplace_seller_details: SellerDetails.MarketplaceSellerDetails | null; + /** + * The marketplace seller details. + */ + marketplace_seller_details: SellerDetails.MarketplaceSellerDetails | null; - /** - * The network profile of the seller. - */ - network_profile: string | Profile; + /** + * The network profile of the seller. + */ + network_profile: string | Profile; - /** - * The payment method types supported by the seller. - */ - payment_method_types: Array | null; + /** + * The payment method types supported by the seller. + */ + payment_method_types: Array | null; - /** - * The URL to the seller's privacy notice. - */ - privacy_notice_url: string | null; + /** + * The URL to the seller's privacy notice. + */ + privacy_notice_url: string | null; - /** - * The URL to the seller's return policy. - */ - return_policy_url: string | null; + /** + * The URL to the seller's return policy. + */ + return_policy_url: string | null; - /** - * The URL to the seller's store policy. - */ - store_policy_url: string | null; + /** + * The URL to the seller's store policy. + */ + store_policy_url: string | null; - /** - * The URL to the seller's terms of service. - */ - terms_of_service_url: string | null; - } + /** + * The URL to the seller's terms of service. + */ + terms_of_service_url: string | null; + } - export type Status = 'completed' | 'expired' | 'open' | 'requires_action'; + export type Status = 'completed' | 'expired' | 'open' | 'requires_action'; - export interface TotalDetails { - /** - * The amount of order-level discounts applied to the cart. The total discount amount for this session can be computed by summing the cart discount and the item discounts. - */ - amount_cart_discount: number | null; + export interface TotalDetails { + /** + * The amount of order-level discounts applied to the cart. The total discount amount for this session can be computed by summing the cart discount and the item discounts. + */ + amount_cart_discount: number | null; - /** - * The total discount amount from discount codes across the session. - */ - amount_discount?: number | null; + /** + * The total discount amount from discount codes across the session. + */ + amount_discount?: number | null; - /** - * The amount fulfillment of the total details. - */ - amount_fulfillment: number | null; + /** + * The amount fulfillment of the total details. + */ + amount_fulfillment: number | null; + + /** + * The amount of item-level discounts applied to the cart. The total discount amount for this session can be computed by summing the cart discount and the item discounts. + */ + amount_items_discount: number | null; + + /** + * The total sale amount across the session. + */ + amount_sale?: number | null; + + /** + * The amount tax of the total details. + */ + amount_tax: number | null; + + /** + * The applicable fees of the total details. + */ + applicable_fees: Array | null; + + /** + * The breakdown of discounts applied to the session. + */ + breakdown?: TotalDetails.Breakdown | null; + } + export namespace AffiliateAttribution { + export interface Source { /** - * The amount of item-level discounts applied to the cart. The total discount amount for this session can be computed by summing the cart discount and the item discounts. + * The platform of the attribution source. */ - amount_items_discount: number | null; + platform: string | null; /** - * The total sale amount across the session. + * The type of the attribution source. */ - amount_sale?: number | null; + type: Source.Type; /** - * The amount tax of the total details. + * The URL of the attribution source. */ - amount_tax: number | null; + url: string | null; + } + export type Touchpoint = 'first' | 'last'; + + export namespace Source { + export type Type = 'platform' | 'url'; + } + } + + export namespace BuyerConsents { + export interface Marketing { /** - * The applicable fees of the total details. + * The buyer's marketing consent choices. */ - applicable_fees: Array | null; + consents: Array | null; /** - * The breakdown of discounts applied to the session. + * The available marketing consent options. */ - breakdown?: TotalDetails.Breakdown | null; + options: Array | null; } - export namespace AffiliateAttribution { - export interface Source { + export namespace Marketing { + export interface Consent { /** - * The platform of the attribution source. + * The marketing consent channel. */ - platform: string | null; + channel: Consent.Channel; /** - * The type of the attribution source. + * The consent status. 'granted' means the buyer opted in, 'none' means they did not. */ - type: Source.Type; + status: Consent.Status; + } + export interface Option { /** - * The URL of the attribution source. + * The marketing channel type. */ - url: string | null; - } + channel: Option.Channel; - export type Touchpoint = 'first' | 'last'; - - export namespace Source { - export type Type = 'platform' | 'url'; - } - } - - export namespace BuyerConsents { - export interface Marketing { /** - * The buyer's marketing consent choices. + * The description of the marketing consent option. */ - consents: Array | null; + description: string; /** - * The available marketing consent options. + * The privacy policy URL for this marketing channel. */ - options: Array | null; + privacy_policy_url: string; } - export namespace Marketing { - export interface Consent { - /** - * The marketing consent channel. - */ - channel: Consent.Channel; - - /** - * The consent status. 'granted' means the buyer opted in, 'none' means they did not. - */ - status: Consent.Status; - } + export namespace Consent { + export type Channel = 'email' | 'sms'; - export interface Option { - /** - * The marketing channel type. - */ - channel: Option.Channel; - - /** - * The description of the marketing consent option. - */ - description: string; + export type Status = 'granted' | 'none'; + } - /** - * The privacy policy URL for this marketing channel. - */ - privacy_policy_url: string; - } + export namespace Option { + export type Channel = 'email' | 'sms'; + } + } + } - export namespace Consent { - export type Channel = 'email' | 'sms'; + export namespace Discounts { + export interface Applied { + /** + * The amount off provided by this discount. + */ + amount_off: number | null; - export type Status = 'granted' | 'none'; - } + /** + * The discount code. + */ + code: string; - export namespace Option { - export type Channel = 'email' | 'sms'; - } - } - } + /** + * The currency of the discount amount. + */ + currency: string | null; - export namespace Discounts { - export interface Applied { - /** - * The amount off provided by this discount. - */ - amount_off: number | null; + /** + * The unique key of the applied discount. + */ + key: string; - /** - * The discount code. - */ - code: string; + /** + * The display name of the discount. + */ + name: string; - /** - * The currency of the discount amount. - */ - currency: string | null; + /** + * The percentage off provided by this discount. + */ + percent_off: number | null; - /** - * The unique key of the applied discount. - */ - key: string; + /** + * The type of discount. + */ + type: Applied.Type; + } - /** - * The display name of the discount. - */ - name: string; + export interface Invalid { + /** + * The discount code that was invalid. + */ + code: string; - /** - * The percentage off provided by this discount. - */ - percent_off: number | null; + /** + * The reason the discount code is invalid. + */ + reason: string; + } - /** - * The type of discount. - */ - type: Applied.Type; - } + export namespace Applied { + export type Type = 'cart' | 'fulfillment'; + } + } - export interface Invalid { - /** - * The discount code that was invalid. - */ - code: string; + export namespace FulfillmentDetails { + export interface FulfillmentOption { + /** + * The digital fulfillment option. + */ + digital: FulfillmentOption.Digital | null; - /** - * The reason the discount code is invalid. - */ - reason: string; - } + /** + * The shipping option. + */ + shipping: FulfillmentOption.Shipping | null; - export namespace Applied { - export type Type = 'cart' | 'fulfillment'; - } + /** + * The type of the fulfillment option. + */ + type: FulfillmentOption.Type; } - export namespace FulfillmentDetails { - export interface FulfillmentOption { - /** - * The digital fulfillment option. - */ - digital: FulfillmentOption.Digital | null; - - /** - * The shipping option. - */ - shipping: FulfillmentOption.Shipping | null; + export interface SelectedFulfillmentOption { + /** + * The digital fulfillment option. + */ + digital: SelectedFulfillmentOption.Digital | null; - /** - * The type of the fulfillment option. - */ - type: FulfillmentOption.Type; - } + /** + * The shipping option. + */ + shipping: SelectedFulfillmentOption.Shipping | null; - export interface SelectedFulfillmentOption { - /** - * The digital fulfillment option. - */ - digital: SelectedFulfillmentOption.Digital | null; + /** + * The type of the selected fulfillment option. + */ + type: SelectedFulfillmentOption.Type; + } - /** - * The shipping option. - */ - shipping: SelectedFulfillmentOption.Shipping | null; + export interface SelectedFulfillmentOptionOverride { + /** + * The digital fulfillment option. + */ + digital: SelectedFulfillmentOptionOverride.Digital | null; - /** - * The type of the selected fulfillment option. - */ - type: SelectedFulfillmentOption.Type; - } + /** + * The line items this fulfillment option applies to. + */ + line_item_keys: Array | null; - export interface SelectedFulfillmentOptionOverride { - /** - * The digital fulfillment option. - */ - digital: SelectedFulfillmentOptionOverride.Digital | null; + /** + * The shipping option. + */ + shipping: SelectedFulfillmentOptionOverride.Shipping | null; - /** - * The line items this fulfillment option applies to. - */ - line_item_keys: Array | null; + /** + * The type of the selected fulfillment option. + */ + type: SelectedFulfillmentOptionOverride.Type; + } + export namespace FulfillmentOption { + export interface Digital { /** - * The shipping option. + * The digital options. */ - shipping: SelectedFulfillmentOptionOverride.Shipping | null; + digital_options: Array | null; + } + export interface Shipping { /** - * The type of the selected fulfillment option. + * The shipping options. */ - type: SelectedFulfillmentOptionOverride.Type; + shipping_options: Array | null; } - export namespace FulfillmentOption { - export interface Digital { - /** - * The digital options. - */ - digital_options: Array | null; - } + export type Type = 'digital' | 'shipping'; - export interface Shipping { + export namespace Digital { + export interface DigitalOption { /** - * The shipping options. + * The description of the digital fulfillment option. */ - shipping_options: Array | null; - } - - export type Type = 'digital' | 'shipping'; - - export namespace Digital { - export interface DigitalOption { - /** - * The description of the digital fulfillment option. - */ - description: string | null; - - /** - * The digital amount of the digital fulfillment option. - */ - digital_amount: number; - - /** - * The display name of the digital fulfillment option. - */ - display_name: string; - - /** - * The key of the digital fulfillment option. - */ - key: string; - - /** - * The line item keys associated with this digital fulfillment option. - */ - line_item_keys: Array | null; - } - } - - export namespace Shipping { - export interface ShippingOption { - /** - * The description of the shipping option. - */ - description: string | null; - - /** - * The display name of the shipping option. - */ - display_name: string; - - /** - * The earliest delivery time of the shipping option. - */ - earliest_delivery_time: number | null; - - /** - * The key of the shipping option. - */ - key: string; - - /** - * The latest delivery time of the shipping option. - */ - latest_delivery_time: number | null; - - /** - * The line item keys associated with this shipping option. - */ - line_item_keys: Array | null; - - /** - * The shipping amount of the shipping option. - */ - shipping_amount: number; - } - } - } + description: string | null; - export namespace SelectedFulfillmentOption { - export interface Digital { /** - * The digital option. + * The digital amount of the digital fulfillment option. */ - digital_option: string | null; - } + digital_amount: number; - export interface Shipping { /** - * The shipping option. + * The display name of the digital fulfillment option. */ - shipping_option: string | null; - } - - export type Type = 'digital' | 'shipping'; - } + display_name: string; - export namespace SelectedFulfillmentOptionOverride { - export interface Digital { /** - * The digital option. + * The key of the digital fulfillment option. */ - digital_option: string | null; - } + key: string; - export interface Shipping { /** - * The shipping option. + * The line item keys associated with this digital fulfillment option. */ - shipping_option: string | null; + line_item_keys: Array | null; } - - export type Type = 'digital' | 'shipping'; } - } - - export namespace LineItemDetail { - export interface ProductDetails { - /** - * Custom attributes for the product. - */ - custom_attributes: Array | null; - - /** - * The description of the product. - */ - description: string | null; - - /** - * Disclosures for the product. - */ - disclosures: Array | null; - /** - * The images of the product. - */ - images: Array | null; - - /** - * The title of the product. - */ - title: string; - } + export namespace Shipping { + export interface ShippingOption { + /** + * The description of the shipping option. + */ + description: string | null; - export namespace ProductDetails { - export interface CustomAttribute { /** - * The display name of the custom attribute. + * The display name of the shipping option. */ display_name: string; /** - * The value of the custom attribute. + * The earliest delivery time of the shipping option. */ - value: string; - } + earliest_delivery_time: number | null; - export interface Disclosure { /** - * The content of the disclosure. + * The key of the shipping option. */ - content: string; + key: string; /** - * The content type of the disclosure. + * The latest delivery time of the shipping option. */ - content_type: Disclosure.ContentType; + latest_delivery_time: number | null; /** - * The type of disclosure. + * The line item keys associated with this shipping option. */ - type: 'disclaimer'; - } + line_item_keys: Array | null; - export namespace Disclosure { - export type ContentType = 'link' | 'markdown' | 'plain'; + /** + * The shipping amount of the shipping option. + */ + shipping_amount: number; } } } - export namespace PaymentMethodOptions { - export interface Card { + export namespace SelectedFulfillmentOption { + export interface Digital { /** - * The card brands blocked by the agent. + * The digital option. */ - brands_blocked: Array | null; + digital_option: string | null; } - export type DisplayableCardBrand = - | 'american_express' - | 'mastercard' - | 'visa'; - - export type DisplayablePaymentMethodType = 'affirm' | 'card' | 'klarna'; - - export type ExcludedPaymentMethodType = 'affirm' | 'card' | 'klarna'; - - export namespace Card { - export type BrandsBlocked = 'american_express' | 'mastercard' | 'visa'; + export interface Shipping { + /** + * The shipping option. + */ + shipping_option: string | null; } + + export type Type = 'digital' | 'shipping'; } - export namespace PaymentMethodPreview { - export interface BillingDetails { + export namespace SelectedFulfillmentOptionOverride { + export interface Digital { /** - * The billing address. + * The digital option. */ - address: Address | null; + digital_option: string | null; + } + export interface Shipping { /** - * The email address for the billing details. + * The shipping option. */ - email: string | null; + shipping_option: string | null; + } + + export type Type = 'digital' | 'shipping'; + } + } + + export namespace LineItemDetail { + export interface ProductDetails { + /** + * Custom attributes for the product. + */ + custom_attributes: Array | null; + + /** + * The description of the product. + */ + description: string | null; + + /** + * Disclosures for the product. + */ + disclosures: Array | null; + + /** + * The images of the product. + */ + images: Array | null; + + /** + * The title of the product. + */ + title: string; + } + export namespace ProductDetails { + export interface CustomAttribute { /** - * The name for the billing details. + * The display name of the custom attribute. */ - name: string | null; + display_name: string; /** - * The phone number for the billing details. + * The value of the custom attribute. */ - phone: string | null; + value: string; } - export interface Card { + export interface Disclosure { /** - * The expiry month of the card. + * The content of the disclosure. */ - exp_month: number; + content: string; /** - * The expiry year of the card. + * The content type of the disclosure. */ - exp_year: number; + content_type: Disclosure.ContentType; /** - * The last 4 digits of the card number. + * The type of disclosure. */ - last4: string; + type: 'disclaimer'; + } + + export namespace Disclosure { + export type ContentType = 'link' | 'markdown' | 'plain'; } } + } + + export namespace PaymentMethodOptions { + export interface Card { + /** + * The card brands blocked by the agent. + */ + brands_blocked: Array | null; + } - export namespace RiskDetails { - export interface ClientDeviceMetadataDetails { - /** - * The radar session for the client device. - */ - radar_session: string | null; + export type DisplayableCardBrand = + | 'american_express' + | 'mastercard' + | 'visa'; - /** - * The referrer of the client device. - */ - referrer: string | null; + export type DisplayablePaymentMethodType = 'affirm' | 'card' | 'klarna'; - /** - * The remote IP address of the client device. - */ - remote_ip: string | null; + export type ExcludedPaymentMethodType = 'affirm' | 'card' | 'klarna'; - /** - * The time spent on the page by the client device. - */ - time_on_page_ms: number | null; + export namespace Card { + export type BrandsBlocked = 'american_express' | 'mastercard' | 'visa'; + } + } - /** - * The user agent of the client device. - */ - user_agent: string | null; - } + export namespace PaymentMethodPreview { + export interface BillingDetails { + /** + * The billing address. + */ + address: Address | null; + + /** + * The email address for the billing details. + */ + email: string | null; + + /** + * The name for the billing details. + */ + name: string | null; + + /** + * The phone number for the billing details. + */ + phone: string | null; } - export namespace SellerDetails { - export type CardBrand = 'american_express' | 'mastercard' | 'visa'; + export interface Card { + /** + * The expiry month of the card. + */ + exp_month: number; - export interface MarketplaceSellerDetails {} + /** + * The expiry year of the card. + */ + exp_year: number; - export type PaymentMethodType = 'affirm' | 'card' | 'klarna'; + /** + * The last 4 digits of the card number. + */ + last4: string; } + } - export namespace TotalDetails { - export interface ApplicableFee { - /** - * The amount of the applicable fee. - */ - amount: number; + export namespace RiskDetails { + export interface ClientDeviceMetadataDetails { + /** + * The radar session for the client device. + */ + radar_session: string | null; - /** - * The description of the applicable fee. - */ - description: string | null; + /** + * The referrer of the client device. + */ + referrer: string | null; + + /** + * The remote IP address of the client device. + */ + remote_ip: string | null; + + /** + * The time spent on the page by the client device. + */ + time_on_page_ms: number | null; + + /** + * The user agent of the client device. + */ + user_agent: string | null; + } + } + export namespace SellerDetails { + export type CardBrand = 'american_express' | 'mastercard' | 'visa'; + + export interface MarketplaceSellerDetails {} + + export type PaymentMethodType = 'affirm' | 'card' | 'klarna'; + } + + export namespace TotalDetails { + export interface ApplicableFee { + /** + * The amount of the applicable fee. + */ + amount: number; + + /** + * The description of the applicable fee. + */ + description: string | null; + + /** + * The display name of the applicable fee. + */ + display_name: string; + } + + export interface Breakdown { + /** + * The breakdown of discounts applied to the session. + */ + discounts: Array | null; + } + + export namespace Breakdown { + export interface Discount { /** - * The display name of the applicable fee. + * The amount this discount contributed to the total discount. */ - display_name: string; - } + amount: number; - export interface Breakdown { /** - * The breakdown of discounts applied to the session. + * The key of the applied discount. */ - discounts: Array | null; - } - - export namespace Breakdown { - export interface Discount { - /** - * The amount this discount contributed to the total discount. - */ - amount: number; - - /** - * The key of the applied discount. - */ - key: string; - } + key: string; } } } diff --git a/src/resources/FinancialConnections/Accounts.ts b/src/resources/FinancialConnections/Accounts.ts index 6185de50c2..eb3f9f841e 100644 --- a/src/resources/FinancialConnections/Accounts.ts +++ b/src/resources/FinancialConnections/Accounts.ts @@ -197,7 +197,7 @@ export interface Account { /** * The state of the most recent attempt to refresh the account's inferred balance history. */ - inferred_balances_refresh?: FinancialConnections.Account.InferredBalancesRefresh | null; + inferred_balances_refresh?: Account.InferredBalancesRefresh | null; /** * The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers). @@ -239,7 +239,7 @@ export interface Account { */ status: Account.Status; - status_details?: FinancialConnections.Account.StatusDetails; + status_details?: Account.StatusDetails; /** * If `category` is `cash`, one of: @@ -262,7 +262,7 @@ export interface Account { /** * The list of data refresh subscriptions requested on this account. */ - subscriptions: Array | null; + subscriptions: Array | null; /** * The [PaymentMethod type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type)(s) that can be created from this account. @@ -362,6 +362,23 @@ export namespace Account { export type Category = 'cash' | 'credit' | 'investment' | 'other'; + export interface InferredBalancesRefresh { + /** + * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. + */ + last_attempted_at: number; + + /** + * Time at which the next inferred balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. + */ + next_refresh_available_at: number | null; + + /** + * The status of the last refresh attempt. + */ + status: InferredBalancesRefresh.Status; + } + export interface OwnershipRefresh { /** * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. @@ -387,6 +404,10 @@ export namespace Account { export type Status = 'active' | 'disconnected' | 'inactive'; + export interface StatusDetails { + inactive?: StatusDetails.Inactive; + } + export type Subcategory = | 'checking' | 'credit_card' @@ -395,6 +416,8 @@ export namespace Account { | 'other' | 'savings'; + export type Subscription = 'balance' | 'inferred_balances' | 'transactions'; + export type SupportedPaymentMethodType = 'link' | 'us_bank_account'; export interface TransactionRefresh { @@ -459,168 +482,46 @@ export namespace Account { export type Type = 'cash' | 'credit'; } - export interface InferredBalancesRefresh { - /** - * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. - */ - last_attempted_at: number; - - /** - * Time at which the next inferred balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. - */ - next_refresh_available_at: number | null; - - /** - * The status of the last refresh attempt. - */ - status: InferredBalancesRefresh.Status; - } + export namespace BalanceRefresh { + export type Status = 'failed' | 'pending' | 'succeeded'; + } - export interface OwnershipRefresh { - /** - * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. - */ - last_attempted_at: number; + export namespace InferredBalancesRefresh { + export type Status = 'failed' | 'pending' | 'succeeded'; + } export namespace OwnershipRefresh { export type Status = 'failed' | 'pending' | 'succeeded'; } + export namespace StatusDetails { + export interface Inactive { /** - * The status of the last refresh attempt. - */ - status: OwnershipRefresh.Status; - } - - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; - - export type Status = 'active' | 'disconnected' | 'inactive'; - - export interface StatusDetails { - inactive?: StatusDetails.Inactive; - } - - export type Subcategory = - | 'checking' - | 'credit_card' - | 'line_of_credit' - | 'mortgage' - | 'other' - | 'savings'; - - export type Subscription = 'balance' | 'inferred_balances' | 'transactions'; - - export type SupportedPaymentMethodType = 'link' | 'us_bank_account'; - - export interface TransactionRefresh { - /** - * Unique identifier for the object. + * The action (if any) to relink the inactive Account. */ - id: string; + action: Inactive.Action; /** - * The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. + * The underlying cause of the Account being inactive. */ - last_attempted_at: number; - - /** - * Time at which the next transaction refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. - */ - next_refresh_available_at: number | null; - - /** - * The status of the last refresh attempt. - */ - status: TransactionRefresh.Status; + cause: Inactive.Cause; } - export namespace AccountHolder { - export type Type = 'account' | 'customer'; - } + export namespace Inactive { + export type Action = 'none' | 'relink_required'; - export namespace AccountNumber { - export type IdentifierType = - | 'account_number' - | 'tokenized_account_number'; - - export type Status = 'deactivated' | 'transactable'; - } - - export namespace Balance { - export interface Cash { - /** - * The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions. - * - * Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. - * - * Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder. - */ - available: { - [key: string]: number; - } | null; - } - - export interface Credit { - /** - * The credit that has been used by the account holder. - * - * Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. - * - * Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder. - */ - used: { - [key: string]: number; - } | null; - } - - export type Type = 'cash' | 'credit'; - } - - export namespace BalanceRefresh { - export type Status = 'failed' | 'pending' | 'succeeded'; - } - - export namespace InferredBalancesRefresh { - export type Status = 'failed' | 'pending' | 'succeeded'; - } - - export namespace OwnershipRefresh { - export type Status = 'failed' | 'pending' | 'succeeded'; - } - - export namespace StatusDetails { - export interface Inactive { - /** - * The action (if any) to relink the inactive Account. - */ - action: Inactive.Action; - - /** - * The underlying cause of the Account being inactive. - */ - cause: Inactive.Cause; - } - - export namespace Inactive { - export type Action = 'none' | 'relink_required'; - - export type Cause = - | 'access_denied' - | 'access_expired' - | 'account_closed' - | 'account_unavailable' - | 'institution_requirement' - | 'unspecified'; - } + export type Cause = + | 'access_denied' + | 'access_expired' + | 'account_closed' + | 'account_unavailable' + | 'institution_requirement' + | 'unspecified'; } + } - export namespace TransactionRefresh { - export type Status = 'failed' | 'pending' | 'succeeded'; - } + export namespace TransactionRefresh { + export type Status = 'failed' | 'pending' | 'succeeded'; } } export namespace FinancialConnections { diff --git a/src/resources/FinancialConnections/Authorizations.ts b/src/resources/FinancialConnections/Authorizations.ts index 7f0a6178da..b7f42f1f63 100644 --- a/src/resources/FinancialConnections/Authorizations.ts +++ b/src/resources/FinancialConnections/Authorizations.ts @@ -37,7 +37,7 @@ export interface Authorization { /** * The account holder that this authorization belongs to. */ - account_holder?: FinancialConnections.Authorization.AccountHolder | null; + account_holder?: Authorization.AccountHolder | null; /** * The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers). @@ -57,52 +57,50 @@ export interface Authorization { /** * The status of the connection to the Authorization. */ - status: FinancialConnections.Authorization.Status; + status: Authorization.Status; - status_details: FinancialConnections.Authorization.StatusDetails; + status_details: Authorization.StatusDetails; } -export namespace FinancialConnections { - export namespace Authorization { - export interface AccountHolder { - /** - * The ID of the Stripe account that this account belongs to. Only available when `account_holder.type` is `account`. - */ - account?: string | Account; +export namespace Authorization { + export interface AccountHolder { + /** + * The ID of the Stripe account that this account belongs to. Only available when `account_holder.type` is `account`. + */ + account?: string | Account; - /** - * The ID for an Account representing a customer that this account belongs to. Only available when `account_holder.type` is `customer`. - */ - customer?: string | Customer; + /** + * The ID for an Account representing a customer that this account belongs to. Only available when `account_holder.type` is `customer`. + */ + customer?: string | Customer; - customer_account?: string; + customer_account?: string; - /** - * Type of account holder that this account belongs to. - */ - type: AccountHolder.Type; - } + /** + * Type of account holder that this account belongs to. + */ + type: AccountHolder.Type; + } - export type Status = 'active' | 'disconnected' | 'inactive'; + export type Status = 'active' | 'disconnected' | 'inactive'; - export interface StatusDetails { - inactive?: StatusDetails.Inactive; - } + export interface StatusDetails { + inactive?: StatusDetails.Inactive; + } + + export namespace AccountHolder { + export type Type = 'account' | 'customer'; + } - export namespace AccountHolder { - export type Type = 'account' | 'customer'; + export namespace StatusDetails { + export interface Inactive { + /** + * The action (if any) to relink the inactive Authorization. + */ + action: Inactive.Action; } - export namespace StatusDetails { - export interface Inactive { - /** - * The action (if any) to relink the inactive Authorization. - */ - action: Inactive.Action; - } - - export namespace Inactive { - export type Action = 'none' | 'relink_required'; - } + export namespace Inactive { + export type Action = 'none' | 'relink_required'; } } } diff --git a/src/resources/FinancialConnections/Institutions.ts b/src/resources/FinancialConnections/Institutions.ts index 7099b22173..e3e444b814 100644 --- a/src/resources/FinancialConnections/Institutions.ts +++ b/src/resources/FinancialConnections/Institutions.ts @@ -54,7 +54,7 @@ export interface Institution { */ countries: Array; - features: FinancialConnections.Institution.Features; + features: Institution.Features; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -74,55 +74,53 @@ export interface Institution { /** * The status of this institution in the Financial Connections authentication flow. */ - status: FinancialConnections.Institution.Status; + status: Institution.Status; /** * A URL corresponding to this institution. This URL is also displayed in the authentication flow to help end users confirm that they are authenticating with the right institution. */ url: string | null; } -export namespace FinancialConnections { - export namespace Institution { - export interface Features { - balances: Features.Balances; +export namespace Institution { + export interface Features { + balances: Features.Balances; - ownership: Features.Ownership; + ownership: Features.Ownership; - payment_method: Features.PaymentMethod; + payment_method: Features.PaymentMethod; - transactions: Features.Transactions; - } + transactions: Features.Transactions; + } - export type Status = 'active' | 'degraded' | 'inactive'; + export type Status = 'active' | 'degraded' | 'inactive'; - export namespace Features { - export interface Balances { - /** - * Whether the given feature is supported by this institution. - */ - supported: boolean; - } + export namespace Features { + export interface Balances { + /** + * Whether the given feature is supported by this institution. + */ + supported: boolean; + } - export interface Ownership { - /** - * Whether the given feature is supported by this institution. - */ - supported: boolean; - } + export interface Ownership { + /** + * Whether the given feature is supported by this institution. + */ + supported: boolean; + } - export interface PaymentMethod { - /** - * Whether the given feature is supported by this institution. - */ - supported: boolean; - } + export interface PaymentMethod { + /** + * Whether the given feature is supported by this institution. + */ + supported: boolean; + } - export interface Transactions { - /** - * Whether the given feature is supported by this institution. - */ - supported: boolean; - } + export interface Transactions { + /** + * Whether the given feature is supported by this institution. + */ + supported: boolean; } } } diff --git a/src/resources/FinancialConnections/Sessions.ts b/src/resources/FinancialConnections/Sessions.ts index 34b3bd994b..57b7cbedff 100644 --- a/src/resources/FinancialConnections/Sessions.ts +++ b/src/resources/FinancialConnections/Sessions.ts @@ -67,16 +67,16 @@ export interface Session { /** * Settings for the Hosted UI mode. */ - hosted?: FinancialConnections.Session.Hosted | null; + hosted?: Session.Hosted | null; - limits?: FinancialConnections.Session.Limits; + limits?: Session.Limits; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. */ livemode: boolean; - manual_entry?: FinancialConnections.Session.ManualEntry; + manual_entry?: Session.ManualEntry; /** * Permissions requested for accounts collected during this session. @@ -88,9 +88,9 @@ export interface Session { */ prefetch: Array | null; - relink_options?: FinancialConnections.Session.RelinkOptions; + relink_options?: Session.RelinkOptions; - relink_result?: FinancialConnections.Session.RelinkResult; + relink_result?: Session.RelinkResult; /** * For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. @@ -100,14 +100,14 @@ export interface Session { /** * The current state of the session. */ - status?: FinancialConnections.Session.Status; + status?: Session.Status; - status_details?: FinancialConnections.Session.StatusDetails; + status_details?: Session.StatusDetails; /** * The UI mode for this session. */ - ui_mode?: FinancialConnections.Session.UiMode; + ui_mode?: Session.UiMode; /** * The hosted URL for this Session. Redirect customers to this URL to take them to the hosted authentication flow. This value is only present when the Session is active and the `ui_mode` is `hosted`. @@ -140,119 +140,118 @@ export namespace Session { */ account_subcategories: Array | null; - /** - * List of countries from which to filter accounts. - */ - countries: Array | null; + /** + * List of countries from which to filter accounts. + */ + countries: Array | null; - /** - * Stripe ID of the institution with which the customer should be directed to log in. - */ - institution?: string; - } + /** + * Stripe ID of the institution with which the customer should be directed to log in. + */ + institution?: string; + } - export interface Hosted { - /** - * How the user enters the hosted flow. You can only use the values `email` and `url` if you provide `relink_options`. - */ - delivery_method?: Hosted.DeliveryMethod; + export interface Hosted { + /** + * How the user enters the hosted flow. You can only use the values `email` and `url` if you provide `relink_options`. + */ + delivery_method?: Hosted.DeliveryMethod; - /** - * The URL to redirect your customer back to after they link their accounts or cancel this Session. This parameter is required if `ui_mode` is `hosted`. - */ - return_url: string | null; - } + /** + * The URL to redirect your customer back to after they link their accounts or cancel this Session. This parameter is required if `ui_mode` is `hosted`. + */ + return_url: string | null; + } - export interface Limits { - /** - * The number of accounts that can be linked in this Session. - */ - accounts: number; - } + export interface Limits { + /** + * The number of accounts that can be linked in this Session. + */ + accounts: number; + } - export interface ManualEntry {} + export interface ManualEntry {} - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; + export type Permission = + | 'balances' + | 'ownership' + | 'payment_method' + | 'transactions'; - export type Prefetch = - | 'balances' - | 'inferred_balances' - | 'ownership' - | 'transactions'; + export type Prefetch = + | 'balances' + | 'inferred_balances' + | 'ownership' + | 'transactions'; - export interface RelinkOptions { - /** - * Requires the end user to repair this specific account during the authentication flow instead of connecting a different one. - */ - account?: string | null; + export interface RelinkOptions { + /** + * Requires the end user to repair this specific account during the authentication flow instead of connecting a different one. + */ + account?: string | null; - /** - * The authorization to relink in the Session. - */ - authorization: string; - } + /** + * The authorization to relink in the Session. + */ + authorization: string; + } - export interface RelinkResult { - /** - * The account relinked in the Session. Only present if `relink_options[account]` is set and relink is successful. - */ - account: string | null; + export interface RelinkResult { + /** + * The account relinked in the Session. Only present if `relink_options[account]` is set and relink is successful. + */ + account: string | null; - /** - * The authorization relinked in the Session. Only present if relink is successful. - */ - authorization: string | null; + /** + * The authorization relinked in the Session. Only present if relink is successful. + */ + authorization: string | null; - /** - * Reason for why relink failed. One of `no_authorization`, `no_account`, or `other`. - */ - failure_reason: RelinkResult.FailureReason | null; - } + /** + * Reason for why relink failed. One of `no_authorization`, `no_account`, or `other`. + */ + failure_reason: RelinkResult.FailureReason | null; + } - export type Status = 'cancelled' | 'failed' | 'pending' | 'succeeded'; + export type Status = 'cancelled' | 'failed' | 'pending' | 'succeeded'; - export interface StatusDetails { - cancelled?: StatusDetails.Cancelled; - } + export interface StatusDetails { + cancelled?: StatusDetails.Cancelled; + } - export type UiMode = 'hosted' | 'modal'; + export type UiMode = 'hosted' | 'modal'; export namespace AccountHolder { export type Type = 'account' | 'customer'; } - export namespace Filters { - export type AccountSubcategory = - | 'checking' - | 'credit_card' - | 'line_of_credit' - | 'mortgage' - | 'savings'; - } + export namespace Filters { + export type AccountSubcategory = + | 'checking' + | 'credit_card' + | 'line_of_credit' + | 'mortgage' + | 'savings'; + } - export namespace Hosted { - export type DeliveryMethod = 'email' | 'url'; - } + export namespace Hosted { + export type DeliveryMethod = 'email' | 'url'; + } + + export namespace RelinkResult { + export type FailureReason = 'no_account' | 'no_authorization' | 'other'; + } - export namespace RelinkResult { - export type FailureReason = 'no_account' | 'no_authorization' | 'other'; + export namespace StatusDetails { + export interface Cancelled { + /** + * The reason for the Session being cancelled. + */ + reason: Cancelled.Reason; } - export namespace StatusDetails { - export interface Cancelled { - /** - * The reason for the Session being cancelled. - */ - reason: Cancelled.Reason; - } - - export namespace Cancelled { - export type Reason = 'custom_manual_entry' | 'other'; - } + export namespace Cancelled { + export type Reason = 'custom_manual_entry' | 'other'; } } } diff --git a/src/resources/Identity/BlocklistEntries.ts b/src/resources/Identity/BlocklistEntries.ts index d47c26cec1..ded0b76bfc 100644 --- a/src/resources/Identity/BlocklistEntries.ts +++ b/src/resources/Identity/BlocklistEntries.ts @@ -122,12 +122,12 @@ export interface BlocklistEntry { /** * The current status of the BlocklistEntry. */ - status: Identity.BlocklistEntry.Status; + status: BlocklistEntry.Status; /** * The type of BlocklistEntry. */ - type: Identity.BlocklistEntry.Type; + type: BlocklistEntry.Type; /** * The verification report the BlocklistEntry was created from. @@ -139,12 +139,10 @@ export interface BlocklistEntry { */ verification_session: string | VerificationSession | null; } -export namespace Identity { - export namespace BlocklistEntry { - export type Status = 'active' | 'disabled' | 'redacted'; +export namespace BlocklistEntry { + export type Status = 'active' | 'disabled' | 'redacted'; - export type Type = 'document' | 'selfie'; - } + export type Type = 'document' | 'selfie'; } export namespace Identity { export interface BlocklistEntryCreateParams { diff --git a/src/resources/Identity/VerificationReports.ts b/src/resources/Identity/VerificationReports.ts index e425a930a4..d44548cdd1 100644 --- a/src/resources/Identity/VerificationReports.ts +++ b/src/resources/Identity/VerificationReports.ts @@ -114,6 +114,11 @@ export namespace VerificationReport { */ address: Address | null; + /** + * If document was not verified due to extracted data being on the blocklist, this is the token of the BlocklistEntry that blocked it + */ + blocked_by_entry?: string | BlocklistEntry | null; + /** * Date of birth as it appears in the document. */ @@ -186,6 +191,11 @@ export namespace VerificationReport { } export interface Email { + /** + * Additional email verification details + */ + details?: Email.Details; + /** * Email to be verified. */ @@ -263,6 +273,11 @@ export namespace VerificationReport { } export interface Selfie { + /** + * If selfie was not verified due to being on the blocklist, this is the token of the BlocklistEntry that blocked it + */ + blocked_by_entry?: string | BlocklistEntry | null; + /** * ID of the [File](https://docs.stripe.com/api/files) holding the image of the identity document used in this check. */ @@ -284,7 +299,7 @@ export namespace VerificationReport { status: Selfie.Status; } - export type Type = 'document' | 'id_number' | 'verification_flow'; + export type Type = 'document' | 'email' | 'id_number' | 'verification_flow'; export namespace Document { export interface Dob { @@ -365,6 +380,23 @@ export namespace VerificationReport { } export namespace Email { + export interface Details { + /** + * Number of days from the time when the email domain was first observed to the time of verification. + */ + days_since_domain_creation?: number; + + /** + * Number of days from the time when the email address was first observed to the time of verification. + */ + days_since_ownership_started?: number; + + /** + * Two-letter ISO 3166-1 alpha-2 country code of the email domain's country. + */ + domain_country?: string; + } + export interface Error { /** * A short machine-readable string giving the reason for the verification failure. @@ -436,12 +468,7 @@ export namespace VerificationReport { allowed_types?: Array; /** - * If document was not verified due to extracted data being on the blocklist, this is the token of the BlocklistEntry that blocked it - */ - blocked_by_entry?: string | BlocklistEntry | null; - - /** - * Date of birth as it appears in the document. + * Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document's extracted name and date of birth. */ require_id_number?: boolean; @@ -456,116 +483,7 @@ export namespace VerificationReport { require_matching_selfie?: boolean; } - export interface Email { - /** - * Additional email verification details - */ - details?: Email.Details; - - /** - * Email to be verified. - */ - email: string | null; - - /** - * Details on the verification error. Present when status is `unverified`. - */ - error: Email.Error | null; - - /** - * Status of this `email` check. - */ - status: Email.Status; - } - - export interface IdNumber { - /** - * Date of birth. - */ - dob?: IdNumber.Dob | null; - - /** - * Details on the verification error. Present when status is `unverified`. - */ - error: IdNumber.Error | null; - - /** - * First name. - */ - first_name: string | null; - - /** - * ID number. When `id_number_type` is `us_ssn`, only the last 4 digits are present. - */ - id_number?: string | null; - - /** - * Type of ID number. - */ - id_number_type: IdNumber.IdNumberType | null; - - /** - * Last name. - */ - last_name: string | null; - - /** - * Status of this `id_number` check. - */ - status: IdNumber.Status; - } - - export interface Options { - document?: Options.Document; - - id_number?: Options.IdNumber; - } - - export interface Phone { - /** - * Details on the verification error. Present when status is `unverified`. - */ - error: Phone.Error | null; - - /** - * Phone to be verified. - */ - phone: string | null; - - /** - * Status of this `phone` check. - */ - status: Phone.Status; - } - - export interface Selfie { - /** - * If selfie was not verified due to being on the blocklist, this is the token of the BlocklistEntry that blocked it - */ - blocked_by_entry?: string | BlocklistEntry | null; - - /** - * ID of the [File](https://docs.stripe.com/api/files) holding the image of the identity document used in this check. - */ - document: string | null; - - /** - * Details on the verification error. Present when status is `unverified`. - */ - error: Selfie.Error | null; - - /** - * ID of the [File](https://docs.stripe.com/api/files) holding the image of the selfie used in this check. - */ - selfie: string | null; - - /** - * Status of this `selfie` check. - */ - status: Selfie.Status; - } - - export type Type = 'document' | 'email' | 'id_number' | 'verification_flow'; + export interface IdNumber {} export namespace Document { export type AllowedType = 'driving_license' | 'id_card' | 'passport'; @@ -585,29 +503,7 @@ export namespace VerificationReport { reason: string | null; } - export namespace Email { - export interface Details { - /** - * Number of days from the time when the email domain was first observed to the time of verification. - */ - days_since_domain_creation?: number; - - /** - * Number of days from the time when the email address was first observed to the time of verification. - */ - days_since_ownership_started?: number; - - /** - * Two-letter ISO 3166-1 alpha-2 country code of the email domain's country. - */ - domain_country?: string; - } - - export interface Error { - /** - * A short machine-readable string giving the reason for the verification failure. - */ - code: Error.Code | null; + export type Status = 'unverified' | 'verified'; export namespace Error { export type Code = diff --git a/src/resources/Identity/VerificationSessions.ts b/src/resources/Identity/VerificationSessions.ts index f2f23a5c14..02c24801f4 100644 --- a/src/resources/Identity/VerificationSessions.ts +++ b/src/resources/Identity/VerificationSessions.ts @@ -297,7 +297,7 @@ export namespace VerificationSession { | 'requires_input' | 'verified'; - export type Type = 'document' | 'id_number' | 'verification_flow'; + export type Type = 'document' | 'email' | 'id_number' | 'verification_flow'; export interface VerifiedOutputs { /** @@ -437,7 +437,9 @@ export namespace VerificationSession { export namespace Matching { export type Dob = 'none' | 'similar'; - export type Type = 'document' | 'email' | 'id_number' | 'verification_flow'; + export type Name = 'none' | 'similar'; + } + } export namespace Redaction { export type Status = 'processing' | 'redacted'; diff --git a/src/resources/Issuing/Authorizations.ts b/src/resources/Issuing/Authorizations.ts index cf80ff84c2..db1151c3ec 100644 --- a/src/resources/Issuing/Authorizations.ts +++ b/src/resources/Issuing/Authorizations.ts @@ -964,7 +964,7 @@ export interface Authorization { */ authorization_method: Authorization.AuthorizationMethod; - balance_response?: Issuing.Authorization.BalanceResponse; + balance_response?: Authorization.BalanceResponse; /** * List of balance transactions associated with this authorization. @@ -994,7 +994,7 @@ export interface Authorization { /** * Array of onchain crypto transactions linked to this resource. */ - crypto_transactions?: Array | null; + crypto_transactions?: Array | null; /** * The currency of the cardholder. This currency can be different from the currency presented at authorization and the `merchant_currency` field on this authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -1063,7 +1063,7 @@ export interface Authorization { */ token?: string | Token | null; - token_details?: Issuing.Authorization.TokenDetails; + token_details?: Authorization.TokenDetails; /** * List of [transactions](https://docs.stripe.com/api/issuing/transactions) associated with this authorization. @@ -1107,8 +1107,42 @@ export namespace Authorization { | 'online' | 'swipe'; + export interface BalanceResponse { + /** + * The cardholder account type affected by this authorization. + */ + account_type: BalanceResponse.AccountType; + + /** + * The remaining balance in the cardholder's account after the authorization, in the smallest currency unit. + */ + amount: number; + + /** + * The currency of the remaining balance in the cardholder's account after the authorization. + */ + currency: string; + } + export type CardPresence = 'not_present' | 'present'; + export interface CryptoTransaction { + /** + * The confirmed crypto transaction details when `type` is `crypto_transaction_confirmed`; otherwise null. + */ + crypto_transaction_confirmed: CryptoTransaction.CryptoTransactionConfirmed | null; + + /** + * The failed crypto transaction details when `type` is `crypto_transaction_failed`; otherwise null. + */ + crypto_transaction_failed: CryptoTransaction.CryptoTransactionFailed | null; + + /** + * The crypto transaction variant for this array entry. + */ + type: string; + } + export interface Fleet { /** * Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry. @@ -1206,6 +1240,11 @@ export namespace Authorization { */ network_id: string; + /** + * The identifier of the payment facilitator (PayFac) that processed this authorization, as assigned by the card network. Null when the transaction was not processed through a PayFac. + */ + payment_facilitator_id?: string | null; + /** * Postal code where the seller is located */ @@ -1216,6 +1255,11 @@ export namespace Authorization { */ state: string | null; + /** + * The identifier of the sub-merchant involved in this authorization, as assigned by the payment facilitator. Null when the transaction was not processed through a PayFac or when no sub-merchant ID was provided. + */ + sub_merchant_id?: string | null; + /** * The seller's tax identification number. Currently populated for French merchants only. */ @@ -1350,6 +1394,35 @@ export namespace Authorization { export type Status = 'closed' | 'expired' | 'pending' | 'reversed'; + export interface TokenDetails { + /** + * The card associated with this token. + */ + card: string; + + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; + + /** + * The hashed ID derived from the device ID from the card network associated with the token. + */ + device_fingerprint?: string; + + network_data?: TokenDetails.NetworkData; + + /** + * The decision made during token provisioning. + */ + provisioning_decision?: TokenDetails.ProvisioningDecision | null; + + /** + * The type of the token, indicating how it is used. + */ + token_type?: TokenDetails.TokenType | null; + } + export interface Treasury { /** * The array of [ReceivedCredits](https://docs.stripe.com/api/treasury/received_credits) associated with this authorization @@ -1404,6 +1477,165 @@ export namespace Authorization { three_d_secure: VerificationData.ThreeDSecure | null; } + export namespace BalanceResponse { + export type AccountType = + | 'checking' + | 'credit' + | 'default' + | 'other' + | 'savings' + | 'universal'; + } + + export namespace CryptoTransaction { + export interface CryptoTransactionConfirmed { + /** + * The crypto amount for the confirmed transaction. + */ + amount: string; + + /** + * The upcharged MCC amount, if one was applied. + */ + amount_mcc_upcharged: string | null; + + /** + * The blockchain network for the confirmed transaction. + */ + chain: string; + + /** + * When the transaction was confirmed onchain. + */ + confirmed_at: number; + + /** + * The currency of the crypto transaction amount. + */ + currency: string; + + /** + * Fees associated with the transaction. + */ + fees: Array; + + /** + * The source wallet address for the transaction. + */ + from_address: string; + + /** + * Memo metadata attached to the transaction, if present. + */ + memo: string | null; + + /** + * The destination wallet address for the transaction. + */ + to_address: string; + + /** + * The blockchain transaction hash. + */ + transaction_hash: string; + } + + export interface CryptoTransactionFailed { + /** + * The crypto amount for the failed transaction. + */ + amount: string; + + /** + * The upcharged MCC amount, if one was applied. + */ + amount_mcc_upcharged: string | null; + + /** + * The blockchain network for the failed transaction. + */ + chain: string; + + /** + * The currency of the crypto transaction amount. + */ + currency: string; + + /** + * When the transaction failed. + */ + failed_at: number; + + /** + * The reason the transaction failed. + */ + failure_reason: string; + + /** + * Fees associated with the transaction. + */ + fees: Array; + + /** + * The source wallet address for the attempted transaction. + */ + from_address: string; + + /** + * Memo metadata attached to the transaction, if present. + */ + memo: string | null; + + /** + * The destination wallet address for the attempted transaction when one exists. + */ + to_address: string | null; + + /** + * The blockchain transaction hash when one exists. + */ + transaction_hash: string | null; + } + + export namespace CryptoTransactionConfirmed { + export interface Fee { + /** + * The fee amount. + */ + amount: string; + + /** + * The fee currency. + */ + currency: string; + + /** + * The fee type. + */ + type: string; + } + } + + export namespace CryptoTransactionFailed { + export interface Fee { + /** + * The fee amount. + */ + amount: string; + + /** + * The fee currency. + */ + currency: string; + + /** + * The fee type. + */ + type: string; + } + } + } + export namespace Fleet { export interface CardholderPromptData { /** @@ -1576,1078 +1808,401 @@ export namespace Authorization { | 'webhook_timeout'; } - export interface BalanceResponse { - /** - * The cardholder account type affected by this authorization. - */ - account_type: BalanceResponse.AccountType; - - /** - * The remaining balance in the cardholder's account after the authorization, in the smallest currency unit. - */ - amount: number; - - /** - * The currency of the remaining balance in the cardholder's account after the authorization. - */ - currency: string; - } - - export type CardPresence = 'not_present' | 'present'; - - export interface CryptoTransaction { - /** - * The confirmed crypto transaction details when `type` is `crypto_transaction_confirmed`; otherwise null. - */ - crypto_transaction_confirmed: CryptoTransaction.CryptoTransactionConfirmed | null; - - /** - * The failed crypto transaction details when `type` is `crypto_transaction_failed`; otherwise null. - */ - crypto_transaction_failed: CryptoTransaction.CryptoTransactionFailed | null; - - /** - * The crypto transaction variant for this array entry. - */ - type: string; - } - - export interface Fleet { - /** - * The entity that requested the exemption, either the acquiring merchant or the Issuing user. - */ - claimed_by: AuthenticationExemption.ClaimedBy; - - /** - * The specific exemption claimed for this authorization. - */ - type: AuthenticationExemption.Type; - } - - export type CvcCheck = 'match' | 'mismatch' | 'not_provided'; - - export type ExpiryCheck = 'match' | 'mismatch' | 'not_provided'; - - export interface ThreeDSecure { - /** - * The outcome of the 3D Secure authentication request. - */ - result: ThreeDSecure.Result; - } - - export namespace AuthenticationExemption { - export type ClaimedBy = 'acquirer' | 'issuer'; - - /** - * The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. - */ - quantity_decimal: Decimal | null; - - /** - * The type of fuel that was purchased. - */ - type: Fuel.Type | null; - - /** - * The units for `quantity_decimal`. - */ - unit: Fuel.Unit | null; - - /** - * The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. - */ - unit_cost_decimal: Decimal | null; - } - - export interface MerchantData { - /** - * A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values. - */ - category: string; - - /** - * The merchant category code for the seller's business - */ - category_code: string; - - /** - * City where the seller is located - */ - city: string | null; - - /** - * Country where the seller is located - */ - country: string | null; - - /** - * Name of the seller - */ - name: string | null; - - /** - * Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant. - */ - network_id: string; - - /** - * The identifier of the payment facilitator (PayFac) that processed this authorization, as assigned by the card network. Null when the transaction was not processed through a PayFac. - */ - payment_facilitator_id?: string | null; - - /** - * Postal code where the seller is located - */ - postal_code: string | null; - - /** - * State where the seller is located - */ - state: string | null; - - /** - * The identifier of the sub-merchant involved in this authorization, as assigned by the payment facilitator. Null when the transaction was not processed through a PayFac or when no sub-merchant ID was provided. - */ - sub_merchant_id?: string | null; - - /** - * The seller's tax identification number. Currently populated for French merchants only. - */ - tax_id: string | null; - - /** - * An ID assigned by the seller to the location of the sale. - */ - terminal_id: string | null; - - /** - * URL provided by the merchant on a 3DS request - */ - url: string | null; - } - + export namespace TokenDetails { export interface NetworkData { - /** - * Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be `null`. - */ - acquiring_institution_id: string | null; - - /** - * The System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer `network_data.transaction_id` if present, unless you have special requirements. - */ - system_trace_audit_number: string | null; - - /** - * Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions. - */ - transaction_id: string | null; - } - - export interface PendingRequest { - /** - * The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://docs.stripe.com/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount: number; + device?: NetworkData.Device; - /** - * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount_details: PendingRequest.AmountDetails | null; + mastercard?: NetworkData.Mastercard; /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * The card network for this token. */ - currency: string; + type: NetworkData.Type; - /** - * If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization. - */ - is_amount_controllable: boolean; - - /** - * The amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - merchant_amount: number; - - /** - * The local currency the merchant is requesting to authorize. - */ - merchant_currency: string; + visa?: NetworkData.Visa; - /** - * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. - */ - network_risk_score: number | null; + wallet_provider?: NetworkData.WalletProvider; } - export interface RequestHistory { - /** - * The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved. - */ - amount: number; - - /** - * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - amount_details: RequestHistory.AmountDetails | null; - - /** - * Whether this request was approved. - */ - approved: boolean; - - /** - * A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. - */ - authorization_code: string | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). - */ - merchant_amount: number; - - /** - * The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - merchant_currency: string; - - /** - * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. - */ - network_risk_score: number | null; - - /** - * When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome. - */ - reason: RequestHistory.Reason; - - /** - * If the `request_history.reason` is `webhook_error` because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field. - */ - reason_message: string | null; - - /** - * Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time. - */ - requested_at: number | null; - } - - export type Status = 'closed' | 'expired' | 'pending' | 'reversed'; - - export interface TokenDetails { - /** - * The card associated with this token. - */ - card: string; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The hashed ID derived from the device ID from the card network associated with the token. - */ - device_fingerprint?: string; - - network_data?: TokenDetails.NetworkData; - - /** - * The decision made during token provisioning. - */ - provisioning_decision?: TokenDetails.ProvisioningDecision | null; - - /** - * The type of the token, indicating how it is used. - */ - token_type?: TokenDetails.TokenType | null; - } - - export interface Treasury { - /** - * The array of [ReceivedCredits](https://docs.stripe.com/api/treasury/received_credits) associated with this authorization - */ - received_credits: Array; - - /** - * The array of [ReceivedDebits](https://docs.stripe.com/api/treasury/received_debits) associated with this authorization - */ - received_debits: Array; - - /** - * The Treasury [Transaction](https://docs.stripe.com/api/treasury/transactions) associated with this authorization - */ - transaction: string | null; - } - - export interface VerificationData { - /** - * Whether the cardholder provided an address first line and if it matched the cardholder's `billing.address.line1`. - */ - address_line1_check: VerificationData.AddressLine1Check; - - /** - * Whether the cardholder provided a postal code and if it matched the cardholder's `billing.address.postal_code`. - */ - address_postal_code_check: VerificationData.AddressPostalCodeCheck; - - /** - * The exemption applied to this authorization. - */ - authentication_exemption: VerificationData.AuthenticationExemption | null; - - /** - * Whether the cardholder provided a CVC and if it matched Stripe's record. - */ - cvc_check: VerificationData.CvcCheck; - - /** - * Whether the cardholder provided an expiry date and if it matched Stripe's record. - */ - expiry_check: VerificationData.ExpiryCheck; - - /** - * The postal code submitted as part of the authorization used for postal code verification. - */ - postal_code: string | null; - - /** - * 3D Secure details. - */ - three_d_secure: VerificationData.ThreeDSecure | null; - } - - export namespace BalanceResponse { - export type AccountType = - | 'checking' - | 'credit' - | 'default' - | 'other' - | 'savings' - | 'universal'; - } - - export namespace CryptoTransaction { - export interface CryptoTransactionConfirmed { - /** - * The crypto amount for the confirmed transaction. - */ - amount: string; - - /** - * The upcharged MCC amount, if one was applied. - */ - amount_mcc_upcharged: string | null; - - /** - * The blockchain network for the confirmed transaction. - */ - chain: string; - - /** - * When the transaction was confirmed onchain. - */ - confirmed_at: number; - + export type ProvisioningDecision = + | 'approve' + | 'approve_pending_id_and_v' + | 'decline'; + + export type TokenType = + | 'card_on_file' + | 'cloud_based' + | 'commerce_platform' + | 'commercial_virtual_account' + | 'secure_element' + | 'static_credential'; + + export namespace NetworkData { + export interface Device { /** - * The currency of the crypto transaction amount. + * The IP address of the device at provisioning time. */ - currency: string; + ip_address?: string; /** - * Fees associated with the transaction. + * The ISO 639-1 language code of the device associated with the tokenization request. */ - fees: Array; + language?: Device.Language; /** - * The source wallet address for the transaction. + * The phone number of the device used for tokenization. */ - from_address: string; + phone_number?: string; + } + export interface Mastercard { /** - * Memo metadata attached to the transaction, if present. + * A unique reference ID from the network to represent the card account number. */ - memo: string | null; + card_reference_id?: string; /** - * The destination wallet address for the transaction. + * The network-unique identifier for the token. */ - to_address: string; + token_reference_id: string; /** - * The blockchain transaction hash. + * The ID of the entity requesting tokenization. */ - transaction_hash: string; + token_requestor_id: string; } - export interface CryptoTransactionFailed { - /** - * The crypto amount for the failed transaction. - */ - amount: string; + export type Type = 'mastercard' | 'visa'; + export interface Visa { /** - * The upcharged MCC amount, if one was applied. + * A unique reference ID from the network to represent the card account number. */ - amount_mcc_upcharged: string | null; + card_reference_id?: string; /** - * The blockchain network for the failed transaction. + * The network's recommendation to Stripe for this token activation request. */ - chain: string; + token_decision_recommendation?: Visa.TokenDecisionRecommendation | null; /** - * The currency of the crypto transaction amount. + * The network-unique identifier for the token. */ - currency: string; + token_reference_id: string; /** - * When the transaction failed. + * The ID of the entity requesting tokenization. */ - failed_at: number; + token_requestor_id: string; /** - * The reason the transaction failed. + * Degree of risk associated with the token between `01` and `99`, with higher number indicating higher risk. A `00` value indicates the token was not scored by Visa. */ - failure_reason: string; + token_risk_score?: string; + } + export interface WalletProvider { /** - * Fees associated with the transaction. + * An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy. */ - fees: Array; + account_trust_score?: number; /** - * The source wallet address for the attempted transaction. + * The method used for tokenizing a card. */ - from_address: string; + card_number_source?: WalletProvider.CardNumberSource; /** - * Memo metadata attached to the transaction, if present. + * An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy. */ - memo: string | null; + device_trust_score?: number; /** - * The destination wallet address for the attempted transaction when one exists. + * The reasons for suggested tokenization given by the card network. */ - to_address: string | null; + reason_codes?: Array; /** - * The blockchain transaction hash when one exists. + * The recommendation on responding to the tokenization request. */ - transaction_hash: string | null; + suggested_decision?: WalletProvider.SuggestedDecision; } - export namespace CryptoTransactionConfirmed { - export interface Fee { - /** - * The fee amount. - */ - amount: string; - - /** - * The fee currency. - */ - currency: string; - - /** - * The fee type. - */ - type: string; - } + export namespace Device { + export type Language = + | 'aa' + | 'ab' + | 'ae' + | 'af' + | 'ak' + | 'am' + | 'an' + | 'ar' + | 'as' + | 'av' + | 'ay' + | 'az' + | 'ba' + | 'be' + | 'bg' + | 'bi' + | 'bm' + | 'bn' + | 'bo' + | 'br' + | 'bs' + | 'ca' + | 'ce' + | 'ch' + | 'co' + | 'cr' + | 'cs' + | 'cu' + | 'cv' + | 'cy' + | 'da' + | 'de' + | 'dv' + | 'dz' + | 'ee' + | 'el' + | 'en' + | 'eo' + | 'es' + | 'et' + | 'eu' + | 'fa' + | 'ff' + | 'fi' + | 'fj' + | 'fo' + | 'fr' + | 'fy' + | 'ga' + | 'gd' + | 'gl' + | 'gn' + | 'gu' + | 'gv' + | 'ha' + | 'he' + | 'hi' + | 'ho' + | 'hr' + | 'ht' + | 'hu' + | 'hy' + | 'hz' + | 'ia' + | 'id' + | 'ie' + | 'ig' + | 'ii' + | 'ik' + | 'io' + | 'is' + | 'it' + | 'iu' + | 'ja' + | 'jv' + | 'ka' + | 'kg' + | 'ki' + | 'kj' + | 'kk' + | 'kl' + | 'km' + | 'kn' + | 'ko' + | 'kr' + | 'ks' + | 'ku' + | 'kv' + | 'kw' + | 'ky' + | 'la' + | 'lb' + | 'lg' + | 'li' + | 'ln' + | 'lo' + | 'lt' + | 'lu' + | 'lv' + | 'mg' + | 'mh' + | 'mi' + | 'mk' + | 'ml' + | 'mn' + | 'mr' + | 'ms' + | 'mt' + | 'my' + | 'na' + | 'nb' + | 'nd' + | 'ne' + | 'ng' + | 'nl' + | 'nn' + | 'no' + | 'nr' + | 'nv' + | 'ny' + | 'oc' + | 'oj' + | 'om' + | 'or' + | 'os' + | 'pa' + | 'pi' + | 'pl' + | 'ps' + | 'pt' + | 'qu' + | 'rm' + | 'rn' + | 'ro' + | 'ru' + | 'rw' + | 'sa' + | 'sc' + | 'sd' + | 'se' + | 'sg' + | 'si' + | 'sk' + | 'sl' + | 'sm' + | 'sn' + | 'so' + | 'sq' + | 'sr' + | 'ss' + | 'st' + | 'su' + | 'sv' + | 'sw' + | 'ta' + | 'te' + | 'tg' + | 'th' + | 'ti' + | 'tk' + | 'tl' + | 'tn' + | 'to' + | 'tr' + | 'ts' + | 'tt' + | 'tw' + | 'ty' + | 'ug' + | 'uk' + | 'ur' + | 'uz' + | 've' + | 'vi' + | 'vo' + | 'wa' + | 'wo' + | 'xh' + | 'yi' + | 'yo' + | 'za' + | 'zh' + | 'zu'; } - export namespace CryptoTransactionFailed { - export interface Fee { - /** - * The fee amount. - */ - amount: string; - - /** - * The fee currency. - */ - currency: string; - - /** - * The fee type. - */ - type: string; - } + export namespace Visa { + export type TokenDecisionRecommendation = + | 'approve' + | 'decline' + | 'recommend_id_and_v'; } - } - export namespace Fleet { - export interface CardholderPromptData { - /** - * [Deprecated] An alphanumeric ID, though typical point of sales only support numeric entry. The card program can be configured to prompt for a vehicle ID, driver ID, or generic ID. - * @deprecated - */ - alphanumeric_id: string | null; - - /** - * Driver ID. - */ - driver_id: string | null; - - /** - * Odometer reading. - */ - odometer: number | null; - - /** - * An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type. - */ - unspecified_id: string | null; + export namespace WalletProvider { + export type CardNumberSource = 'app' | 'manual' | 'on_file' | 'other'; + + export type ReasonCode = + | 'account_card_too_new' + | 'account_recently_changed' + | 'account_too_new' + | 'account_too_new_since_launch' + | 'additional_device' + | 'data_expired' + | 'defer_id_v_decision' + | 'device_recently_lost' + | 'good_activity_history' + | 'has_suspended_tokens' + | 'high_risk' + | 'inactive_account' + | 'long_account_tenure' + | 'low_account_score' + | 'low_device_score' + | 'low_phone_number_score' + | 'network_service_error' + | 'outside_home_territory' + | 'provisioning_cardholder_mismatch' + | 'provisioning_device_and_cardholder_mismatch' + | 'provisioning_device_mismatch' + | 'same_device_no_prior_authentication' + | 'same_device_successful_prior_authentication' + | 'software_update' + | 'suspicious_activity' + | 'too_many_different_cardholders' + | 'too_many_recent_attempts' + | 'too_many_recent_tokens'; + + export type SuggestedDecision = 'approve' | 'decline' | 'require_auth'; + } + } + } - /** - * User ID. - */ - user_id: string | null; + export namespace VerificationData { + export type AddressLine1Check = 'match' | 'mismatch' | 'not_provided'; - /** - * Vehicle number. - */ - vehicle_number: string | null; - } + export type AddressPostalCodeCheck = 'match' | 'mismatch' | 'not_provided'; - export type PurchaseType = - | 'fuel_and_non_fuel_purchase' - | 'fuel_purchase' - | 'non_fuel_purchase'; + export interface AuthenticationExemption { + /** + * The entity that requested the exemption, either the acquiring merchant or the Issuing user. + */ + claimed_by: AuthenticationExemption.ClaimedBy; - export interface ReportedBreakdown { - /** - * Breakdown of fuel portion of the purchase. - */ - fuel: ReportedBreakdown.Fuel | null; + /** + * The specific exemption claimed for this authorization. + */ + type: AuthenticationExemption.Type; + } - /** - * Breakdown of non-fuel portion of the purchase. - */ - non_fuel: ReportedBreakdown.NonFuel | null; + export type CvcCheck = 'match' | 'mismatch' | 'not_provided'; - /** - * Information about tax included in this transaction. - */ - tax: ReportedBreakdown.Tax | null; - } + export type ExpiryCheck = 'match' | 'mismatch' | 'not_provided'; - export type ServiceType = - | 'full_service' - | 'non_fuel_transaction' - | 'self_service'; - - export namespace ReportedBreakdown { - export interface Fuel { - /** - * Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes. - */ - gross_amount_decimal: Decimal | null; - } - - export interface NonFuel { - /** - * Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes. - */ - gross_amount_decimal: Decimal | null; - } - - export interface Tax { - /** - * Amount of state or provincial Sales Tax included in the transaction amount. `null` if not reported by merchant or not subject to tax. - */ - local_amount_decimal: Decimal | null; - - /** - * Amount of national Sales Tax or VAT included in the transaction amount. `null` if not reported by merchant or not subject to tax. - */ - national_amount_decimal: Decimal | null; - } - } + export interface ThreeDSecure { + /** + * The outcome of the 3D Secure authentication request. + */ + result: ThreeDSecure.Result; } - export namespace FraudChallenge { - export type Status = - | 'expired' - | 'pending' - | 'rejected' - | 'undeliverable' - | 'verified'; - - export type UndeliverableReason = - | 'no_phone_number' - | 'unsupported_phone_number'; - } + export namespace AuthenticationExemption { + export type ClaimedBy = 'acquirer' | 'issuer'; - export namespace Fuel { export type Type = | 'low_value_transaction' | 'transaction_risk_analysis' | 'unknown'; } - export namespace PendingRequest { - export interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; - - /** - * The amount of cash requested by the cardholder. - */ - cashback_amount: number | null; - } - } - - export namespace RequestHistory { - export interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; - - /** - * The amount of cash requested by the cardholder. - */ - cashback_amount: number | null; - } - - export type Reason = - | 'account_disabled' - | 'card_active' - | 'card_canceled' - | 'card_expired' - | 'card_inactive' - | 'cardholder_blocked' - | 'cardholder_inactive' - | 'cardholder_verification_required' - | 'insecure_authorization_method' - | 'insufficient_funds' - | 'network_fallback' - | 'not_allowed' - | 'pin_blocked' - | 'spending_controls' - | 'suspected_fraud' - | 'verification_failed' - | 'webhook_approved' - | 'webhook_declined' - | 'webhook_error' - | 'webhook_timeout'; - } - - export namespace TokenDetails { - export interface NetworkData { - device?: NetworkData.Device; - - mastercard?: NetworkData.Mastercard; - - /** - * The card network for this token. - */ - type: NetworkData.Type; - - visa?: NetworkData.Visa; - - wallet_provider?: NetworkData.WalletProvider; - } - - export type ProvisioningDecision = - | 'approve' - | 'approve_pending_id_and_v' - | 'decline'; - - export type TokenType = - | 'card_on_file' - | 'cloud_based' - | 'commerce_platform' - | 'commercial_virtual_account' - | 'secure_element' - | 'static_credential'; - - export namespace NetworkData { - export interface Device { - /** - * The IP address of the device at provisioning time. - */ - ip_address?: string; - - /** - * The ISO 639-1 language code of the device associated with the tokenization request. - */ - language?: Device.Language; - - /** - * The phone number of the device used for tokenization. - */ - phone_number?: string; - } - - export interface Mastercard { - /** - * A unique reference ID from the network to represent the card account number. - */ - card_reference_id?: string; - - /** - * The network-unique identifier for the token. - */ - token_reference_id: string; - - /** - * The ID of the entity requesting tokenization. - */ - token_requestor_id: string; - } - - export type Type = 'mastercard' | 'visa'; - - export interface Visa { - /** - * A unique reference ID from the network to represent the card account number. - */ - card_reference_id?: string; - - /** - * The network's recommendation to Stripe for this token activation request. - */ - token_decision_recommendation?: Visa.TokenDecisionRecommendation | null; - - /** - * The network-unique identifier for the token. - */ - token_reference_id: string; - - /** - * The ID of the entity requesting tokenization. - */ - token_requestor_id: string; - - /** - * Degree of risk associated with the token between `01` and `99`, with higher number indicating higher risk. A `00` value indicates the token was not scored by Visa. - */ - token_risk_score?: string; - } - - export interface WalletProvider { - /** - * An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy. - */ - account_trust_score?: number; - - /** - * The method used for tokenizing a card. - */ - card_number_source?: WalletProvider.CardNumberSource; - - /** - * An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy. - */ - device_trust_score?: number; - - /** - * The reasons for suggested tokenization given by the card network. - */ - reason_codes?: Array; - - /** - * The recommendation on responding to the tokenization request. - */ - suggested_decision?: WalletProvider.SuggestedDecision; - } - - export namespace Device { - export type Language = - | 'aa' - | 'ab' - | 'ae' - | 'af' - | 'ak' - | 'am' - | 'an' - | 'ar' - | 'as' - | 'av' - | 'ay' - | 'az' - | 'ba' - | 'be' - | 'bg' - | 'bi' - | 'bm' - | 'bn' - | 'bo' - | 'br' - | 'bs' - | 'ca' - | 'ce' - | 'ch' - | 'co' - | 'cr' - | 'cs' - | 'cu' - | 'cv' - | 'cy' - | 'da' - | 'de' - | 'dv' - | 'dz' - | 'ee' - | 'el' - | 'en' - | 'eo' - | 'es' - | 'et' - | 'eu' - | 'fa' - | 'ff' - | 'fi' - | 'fj' - | 'fo' - | 'fr' - | 'fy' - | 'ga' - | 'gd' - | 'gl' - | 'gn' - | 'gu' - | 'gv' - | 'ha' - | 'he' - | 'hi' - | 'ho' - | 'hr' - | 'ht' - | 'hu' - | 'hy' - | 'hz' - | 'ia' - | 'id' - | 'ie' - | 'ig' - | 'ii' - | 'ik' - | 'io' - | 'is' - | 'it' - | 'iu' - | 'ja' - | 'jv' - | 'ka' - | 'kg' - | 'ki' - | 'kj' - | 'kk' - | 'kl' - | 'km' - | 'kn' - | 'ko' - | 'kr' - | 'ks' - | 'ku' - | 'kv' - | 'kw' - | 'ky' - | 'la' - | 'lb' - | 'lg' - | 'li' - | 'ln' - | 'lo' - | 'lt' - | 'lu' - | 'lv' - | 'mg' - | 'mh' - | 'mi' - | 'mk' - | 'ml' - | 'mn' - | 'mr' - | 'ms' - | 'mt' - | 'my' - | 'na' - | 'nb' - | 'nd' - | 'ne' - | 'ng' - | 'nl' - | 'nn' - | 'no' - | 'nr' - | 'nv' - | 'ny' - | 'oc' - | 'oj' - | 'om' - | 'or' - | 'os' - | 'pa' - | 'pi' - | 'pl' - | 'ps' - | 'pt' - | 'qu' - | 'rm' - | 'rn' - | 'ro' - | 'ru' - | 'rw' - | 'sa' - | 'sc' - | 'sd' - | 'se' - | 'sg' - | 'si' - | 'sk' - | 'sl' - | 'sm' - | 'sn' - | 'so' - | 'sq' - | 'sr' - | 'ss' - | 'st' - | 'su' - | 'sv' - | 'sw' - | 'ta' - | 'te' - | 'tg' - | 'th' - | 'ti' - | 'tk' - | 'tl' - | 'tn' - | 'to' - | 'tr' - | 'ts' - | 'tt' - | 'tw' - | 'ty' - | 'ug' - | 'uk' - | 'ur' - | 'uz' - | 've' - | 'vi' - | 'vo' - | 'wa' - | 'wo' - | 'xh' - | 'yi' - | 'yo' - | 'za' - | 'zh' - | 'zu'; - } - - export namespace Visa { - export type TokenDecisionRecommendation = - | 'approve' - | 'decline' - | 'recommend_id_and_v'; - } - - export namespace WalletProvider { - export type CardNumberSource = 'app' | 'manual' | 'on_file' | 'other'; - - export type ReasonCode = - | 'account_card_too_new' - | 'account_recently_changed' - | 'account_too_new' - | 'account_too_new_since_launch' - | 'additional_device' - | 'data_expired' - | 'defer_id_v_decision' - | 'device_recently_lost' - | 'good_activity_history' - | 'has_suspended_tokens' - | 'high_risk' - | 'inactive_account' - | 'long_account_tenure' - | 'low_account_score' - | 'low_device_score' - | 'low_phone_number_score' - | 'network_service_error' - | 'outside_home_territory' - | 'provisioning_cardholder_mismatch' - | 'provisioning_device_and_cardholder_mismatch' - | 'provisioning_device_mismatch' - | 'same_device_no_prior_authentication' - | 'same_device_successful_prior_authentication' - | 'software_update' - | 'suspicious_activity' - | 'too_many_different_cardholders' - | 'too_many_recent_attempts' - | 'too_many_recent_tokens'; - - export type SuggestedDecision = - | 'approve' - | 'decline' - | 'require_auth'; - } - } - } - - export namespace VerificationData { - export type AddressLine1Check = 'match' | 'mismatch' | 'not_provided'; - - export type AddressPostalCodeCheck = - | 'match' - | 'mismatch' - | 'not_provided'; - - export interface AuthenticationExemption { - /** - * The entity that requested the exemption, either the acquiring merchant or the Issuing user. - */ - claimed_by: AuthenticationExemption.ClaimedBy; - - /** - * The specific exemption claimed for this authorization. - */ - type: AuthenticationExemption.Type; - } - - export type CvcCheck = 'match' | 'mismatch' | 'not_provided'; - - export type ExpiryCheck = 'match' | 'mismatch' | 'not_provided'; - - export interface ThreeDSecure { - /** - * The outcome of the 3D Secure authentication request. - */ - result: ThreeDSecure.Result; - } - - export namespace AuthenticationExemption { - export type ClaimedBy = 'acquirer' | 'issuer'; - - export type Type = - | 'low_value_transaction' - | 'transaction_risk_analysis' - | 'unknown'; - } - - export namespace ThreeDSecure { - export type Result = - | 'attempt_acknowledged' - | 'authenticated' - | 'failed' - | 'required'; - } + export namespace ThreeDSecure { + export type Result = + | 'attempt_acknowledged' + | 'authenticated' + | 'failed' + | 'required'; } } } diff --git a/src/resources/Issuing/Cardholders.ts b/src/resources/Issuing/Cardholders.ts index e61447c5cc..11afb8107b 100644 --- a/src/resources/Issuing/Cardholders.ts +++ b/src/resources/Issuing/Cardholders.ts @@ -190,7 +190,15 @@ export namespace Cardholder { verification: Individual.Verification | null; } - export type PreferredLocale = 'de' | 'en' | 'es' | 'fr' | 'it'; + export type PreferredLocale = + | 'da' + | 'de' + | 'en' + | 'es' + | 'fr' + | 'it' + | 'pl' + | 'sv'; export interface Requirements { /** @@ -282,80 +290,8 @@ export namespace Cardholder { document: Verification.Document | null; } - export type PreferredLocale = - | 'da' - | 'de' - | 'en' - | 'es' - | 'fr' - | 'it' - | 'pl' - | 'sv'; - - export interface Requirements { - /** - * If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason. - */ - disabled_reason: Requirements.DisabledReason | null; - - /** - * Array of fields that need to be collected in order to verify and re-enable the cardholder. - */ - past_due: Array | null; - } - - export interface SpendingControls { - /** - * Array of card presence statuses from which authorizations will be allowed. Possible options are `present`, `not_present`. All other statuses will be blocked. Cannot be set with `blocked_card_presences`. Provide an empty value to unset this control. - */ - allowed_card_presences: Array< - SpendingControls.AllowedCardPresence - > | null; - - /** - * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories: Array | null; - - /** - * Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control. - */ - allowed_merchant_countries: Array | null; - - /** - * Array of card presence statuses from which authorizations will be declined. Possible options are `present`, `not_present`. Cannot be set with `allowed_card_presences`. Provide an empty value to unset this control. - */ - blocked_card_presences: Array< - SpendingControls.BlockedCardPresence - > | null; - - /** - * Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. - */ - blocked_categories: Array | null; - - /** - * Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control. - */ - blocked_merchant_countries: Array | null; - - /** - * Limit spending with amount-based rules that apply across this cardholder's cards. - */ - spending_limits: Array | null; - - /** - * Currency of the amounts within `spending_limits`. - */ - spending_limits_currency: string | null; - } - - export type Status = 'active' | 'blocked' | 'inactive'; - - export type Type = 'company' | 'individual'; - - export namespace Individual { - export interface CardIssuing { + export namespace CardIssuing { + export interface UserTermsAcceptance { /** * The Unix timestamp marking when the cardholder accepted the Authorized User Terms. */ diff --git a/src/resources/Issuing/Cards.ts b/src/resources/Issuing/Cards.ts index 68c98f9c02..48ddea45af 100644 --- a/src/resources/Issuing/Cards.ts +++ b/src/resources/Issuing/Cards.ts @@ -1361,6 +1361,11 @@ export namespace Card { * Reason the card is ineligible for Apple Pay */ ineligible_reason: ApplePay.IneligibleReason | null; + + /** + * Unique identifier for the card in Apple Pay + */ + primary_account_identifier?: string | null; } export interface GooglePay { @@ -1369,16 +1374,16 @@ export namespace Card { */ eligible: boolean; - /** - * Reason the card is ineligible for Apple Pay - */ - ineligible_reason: ApplePay.IneligibleReason | null; + /** + * Reason the card is ineligible for Google Pay + */ + ineligible_reason: GooglePay.IneligibleReason | null; - /** - * Unique identifier for the card in Apple Pay - */ - primary_account_identifier?: string | null; - } + /** + * Unique identifier for the card in Google Pay + */ + primary_account_identifier?: string | null; + } export namespace ApplePay { export type IneligibleReason = @@ -1387,30 +1392,11 @@ export namespace Card { | 'unsupported_region'; } - /** - * Reason the card is ineligible for Google Pay - */ - ineligible_reason: GooglePay.IneligibleReason | null; - - /** - * Unique identifier for the card in Google Pay - */ - primary_account_identifier?: string | null; - } - - export namespace ApplePay { - export type IneligibleReason = - | 'missing_agreement' - | 'missing_cardholder_contact' - | 'unsupported_region'; - } - - export namespace GooglePay { - export type IneligibleReason = - | 'missing_agreement' - | 'missing_cardholder_contact' - | 'unsupported_region'; - } + export namespace GooglePay { + export type IneligibleReason = + | 'missing_agreement' + | 'missing_cardholder_contact' + | 'unsupported_region'; } } } diff --git a/src/resources/Issuing/CreditUnderwritingRecords.ts b/src/resources/Issuing/CreditUnderwritingRecords.ts index 09356e64db..aa08e0033f 100644 --- a/src/resources/Issuing/CreditUnderwritingRecords.ts +++ b/src/resources/Issuing/CreditUnderwritingRecords.ts @@ -114,7 +114,7 @@ export interface CreditUnderwritingRecord { /** * For decisions triggered by an application, details about the submission. */ - application: Issuing.CreditUnderwritingRecord.Application | null; + application: CreditUnderwritingRecord.Application | null; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -124,9 +124,9 @@ export interface CreditUnderwritingRecord { /** * The event that triggered the underwriting. */ - created_from: Issuing.CreditUnderwritingRecord.CreatedFrom; + created_from: CreditUnderwritingRecord.CreatedFrom; - credit_user: Issuing.CreditUnderwritingRecord.CreditUser; + credit_user: CreditUnderwritingRecord.CreditUser; /** * Date when a decision was made. @@ -136,7 +136,7 @@ export interface CreditUnderwritingRecord { /** * Details about the decision. */ - decision: Issuing.CreditUnderwritingRecord.Decision | null; + decision: CreditUnderwritingRecord.Decision | null; /** * For underwriting initiated by an application, a decision must be taken 30 days after the submission. @@ -161,383 +161,381 @@ export interface CreditUnderwritingRecord { /** * If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance. */ - underwriting_exception: Issuing.CreditUnderwritingRecord.UnderwritingException | null; + underwriting_exception: CreditUnderwritingRecord.UnderwritingException | null; } -export namespace Issuing { - export namespace CreditUnderwritingRecord { - export interface Application { - /** - * The channel through which the applicant has submitted their application. - */ - application_method: Application.ApplicationMethod; +export namespace CreditUnderwritingRecord { + export interface Application { + /** + * The channel through which the applicant has submitted their application. + */ + application_method: Application.ApplicationMethod; + + /** + * Scope of demand made by the applicant. + */ + purpose: Application.Purpose; + + /** + * Date when the applicant submitted their application. + */ + submitted_at: number; + } + + export type CreatedFrom = 'application' | 'proactive_review'; + + export interface CreditUser { + /** + * Email of the applicant or accountholder. + */ + email: string; + + /** + * Full name of the company or person. + */ + name: string; + } + + export interface Decision { + /** + * Details about a decision application_rejected. + */ + application_rejected: Decision.ApplicationRejected | null; + + /** + * Details about a decision credit_limit_approved. + */ + credit_limit_approved: Decision.CreditLimitApproved | null; + + /** + * Details about a decision credit_limit_decreased. + */ + credit_limit_decreased: Decision.CreditLimitDecreased | null; + + /** + * Details about a decision credit_line_closed. + */ + credit_line_closed: Decision.CreditLineClosed | null; + + /** + * Outcome of the decision. + */ + type: Decision.Type; + } + + export interface UnderwritingException { + /** + * Written explanation for the exception. + */ + explanation: string; + + /** + * The decision before the exception was applied. + */ + original_decision_type: UnderwritingException.OriginalDecisionType; + } + + export namespace Application { + export type ApplicationMethod = 'in_person' | 'mail' | 'online' | 'phone'; + export type Purpose = 'credit_limit_increase' | 'credit_line_opening'; + } + + export namespace Decision { + export interface ApplicationRejected { /** - * Scope of demand made by the applicant. + * Details about the `reasons.other` when present. */ - purpose: Application.Purpose; + reason_other_explanation: string | null; /** - * Date when the applicant submitted their application. + * List of reasons why the application was rejected up to 4 reasons, in order of importance. */ - submitted_at: number; + reasons: Array; } - export type CreatedFrom = 'application' | 'proactive_review'; - - export interface CreditUser { + export interface CreditLimitApproved { /** - * Email of the applicant or accountholder. + * Credit amount approved. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy). */ - email: string; + amount: number; /** - * Full name of the company or person. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - name: string; + currency: string; } - export interface Decision { - /** - * Details about a decision application_rejected. - */ - application_rejected: Decision.ApplicationRejected | null; - + export interface CreditLimitDecreased { /** - * Details about a decision credit_limit_approved. + * Credit amount approved after decrease. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy). */ - credit_limit_approved: Decision.CreditLimitApproved | null; + amount: number; /** - * Details about a decision credit_limit_decreased. + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - credit_limit_decreased: Decision.CreditLimitDecreased | null; + currency: string; /** - * Details about a decision credit_line_closed. + * Details about the `reasons.other` when present. */ - credit_line_closed: Decision.CreditLineClosed | null; + reason_other_explanation: string | null; /** - * Outcome of the decision. + * List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance. */ - type: Decision.Type; + reasons: Array; } - export interface UnderwritingException { + export interface CreditLineClosed { /** - * Written explanation for the exception. + * Details about the `reasons.other` when present. */ - explanation: string; + reason_other_explanation: string | null; /** - * The decision before the exception was applied. + * List of reasons why the existing account was closed, up to 4 reasons, in order of importance. */ - original_decision_type: UnderwritingException.OriginalDecisionType; + reasons: Array; } - export namespace Application { - export type ApplicationMethod = 'in_person' | 'mail' | 'online' | 'phone'; - - export type Purpose = 'credit_limit_increase' | 'credit_line_opening'; + export type Type = + | 'additional_information_requested' + | 'application_rejected' + | 'credit_limit_approved' + | 'credit_limit_decreased' + | 'credit_line_closed' + | 'no_changes' + | 'withdrawn_by_applicant'; + + export namespace ApplicationRejected { + export type Reason = + | 'applicant_is_not_beneficial_owner' + | 'applicant_too_young' + | 'application_is_not_beneficial_owner' + | 'bankruptcy' + | 'business_size_too_small' + | 'current_account_tier_ineligible' + | 'customer_already_exists' + | 'customer_requested_account_closure' + | 'debt_to_cash_balance_ratio_too_high' + | 'debt_to_equity_ratio_too_high' + | 'delinquent_credit_obligations' + | 'dispute_rate_too_high' + | 'duration_of_residence' + | 'excessive_income_or_revenue_obligations' + | 'expenses_to_cash_balance_ratio_too_high' + | 'foreclosure_or_repossession' + | 'frozen_file_at_credit_bureau' + | 'garnishment_or_attachment' + | 'government_loan_program_criteria' + | 'high_concentration_of_clients' + | 'high_risk_industry' + | 'incomplete_application' + | 'inconsistent_monthly_revenues' + | 'insufficient_account_history_with_platform' + | 'insufficient_bank_account_history' + | 'insufficient_cash_balance' + | 'insufficient_cash_flow' + | 'insufficient_collateral' + | 'insufficient_credit_experience' + | 'insufficient_deposits' + | 'insufficient_income' + | 'insufficient_margin_ratio' + | 'insufficient_operating_profit' + | 'insufficient_period_in_operation' + | 'insufficient_reserves' + | 'insufficient_revenue' + | 'insufficient_social_media_performance' + | 'insufficient_time_in_network' + | 'insufficient_trade_credit_insurance' + | 'invalid_business_license' + | 'lacking_cash_account' + | 'late_payment_history_reported_to_bureau' + | 'lien_collection_action_or_judgement' + | 'negative_public_information' + | 'no_credit_file' + | 'other' + | 'outside_supported_country' + | 'outside_supported_state' + | 'poor_payment_history_with_platform' + | 'prior_or_current_legal_action' + | 'prohibited_industry' + | 'rate_of_cash_balance_fluctuation_too_high' + | 'recent_inquiries_on_business_credit_report' + | 'removal_of_bank_account_connection' + | 'revenue_discrepancy' + | 'runway_too_short' + | 'suspected_fraud' + | 'too_many_non_sufficient_funds_or_overdrafts' + | 'unable_to_verify_address' + | 'unable_to_verify_identity' + | 'unable_to_verify_income_or_revenue' + | 'unprofitable' + | 'unsupportable_business_type'; } - export namespace Decision { - export interface ApplicationRejected { - /** - * Details about the `reasons.other` when present. - */ - reason_other_explanation: string | null; - - /** - * List of reasons why the application was rejected up to 4 reasons, in order of importance. - */ - reasons: Array; - } - - export interface CreditLimitApproved { - /** - * Credit amount approved. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy). - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - } - - export interface CreditLimitDecreased { - /** - * Credit amount approved after decrease. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy). - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Details about the `reasons.other` when present. - */ - reason_other_explanation: string | null; - - /** - * List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance. - */ - reasons: Array; - } - - export interface CreditLineClosed { - /** - * Details about the `reasons.other` when present. - */ - reason_other_explanation: string | null; - - /** - * List of reasons why the existing account was closed, up to 4 reasons, in order of importance. - */ - reasons: Array; - } - - export type Type = - | 'additional_information_requested' - | 'application_rejected' - | 'credit_limit_approved' - | 'credit_limit_decreased' - | 'credit_line_closed' - | 'no_changes' - | 'withdrawn_by_applicant'; - - export namespace ApplicationRejected { - export type Reason = - | 'applicant_is_not_beneficial_owner' - | 'applicant_too_young' - | 'application_is_not_beneficial_owner' - | 'bankruptcy' - | 'business_size_too_small' - | 'current_account_tier_ineligible' - | 'customer_already_exists' - | 'customer_requested_account_closure' - | 'debt_to_cash_balance_ratio_too_high' - | 'debt_to_equity_ratio_too_high' - | 'delinquent_credit_obligations' - | 'dispute_rate_too_high' - | 'duration_of_residence' - | 'excessive_income_or_revenue_obligations' - | 'expenses_to_cash_balance_ratio_too_high' - | 'foreclosure_or_repossession' - | 'frozen_file_at_credit_bureau' - | 'garnishment_or_attachment' - | 'government_loan_program_criteria' - | 'high_concentration_of_clients' - | 'high_risk_industry' - | 'incomplete_application' - | 'inconsistent_monthly_revenues' - | 'insufficient_account_history_with_platform' - | 'insufficient_bank_account_history' - | 'insufficient_cash_balance' - | 'insufficient_cash_flow' - | 'insufficient_collateral' - | 'insufficient_credit_experience' - | 'insufficient_deposits' - | 'insufficient_income' - | 'insufficient_margin_ratio' - | 'insufficient_operating_profit' - | 'insufficient_period_in_operation' - | 'insufficient_reserves' - | 'insufficient_revenue' - | 'insufficient_social_media_performance' - | 'insufficient_time_in_network' - | 'insufficient_trade_credit_insurance' - | 'invalid_business_license' - | 'lacking_cash_account' - | 'late_payment_history_reported_to_bureau' - | 'lien_collection_action_or_judgement' - | 'negative_public_information' - | 'no_credit_file' - | 'other' - | 'outside_supported_country' - | 'outside_supported_state' - | 'poor_payment_history_with_platform' - | 'prior_or_current_legal_action' - | 'prohibited_industry' - | 'rate_of_cash_balance_fluctuation_too_high' - | 'recent_inquiries_on_business_credit_report' - | 'removal_of_bank_account_connection' - | 'revenue_discrepancy' - | 'runway_too_short' - | 'suspected_fraud' - | 'too_many_non_sufficient_funds_or_overdrafts' - | 'unable_to_verify_address' - | 'unable_to_verify_identity' - | 'unable_to_verify_income_or_revenue' - | 'unprofitable' - | 'unsupportable_business_type'; - } - - export namespace CreditLimitDecreased { - export type Reason = - | 'applicant_is_not_beneficial_owner' - | 'applicant_too_young' - | 'application_is_not_beneficial_owner' - | 'bankruptcy' - | 'business_size_too_small' - | 'change_in_financial_state' - | 'change_in_utilization_of_credit_line' - | 'current_account_tier_ineligible' - | 'customer_already_exists' - | 'customer_requested_account_closure' - | 'debt_to_cash_balance_ratio_too_high' - | 'debt_to_equity_ratio_too_high' - | 'decrease_in_income_to_expense_ratio' - | 'decrease_in_social_media_performance' - | 'delinquent_credit_obligations' - | 'dispute_rate_too_high' - | 'duration_of_residence' - | 'exceeds_acceptable_platform_exposure' - | 'excessive_income_or_revenue_obligations' - | 'expenses_to_cash_balance_ratio_too_high' - | 'foreclosure_or_repossession' - | 'frozen_file_at_credit_bureau' - | 'garnishment_or_attachment' - | 'government_loan_program_criteria' - | 'has_recent_credit_limit_increase' - | 'high_concentration_of_clients' - | 'high_risk_industry' - | 'incomplete_application' - | 'inconsistent_monthly_revenues' - | 'insufficient_account_history_with_platform' - | 'insufficient_bank_account_history' - | 'insufficient_cash_balance' - | 'insufficient_cash_flow' - | 'insufficient_collateral' - | 'insufficient_credit_experience' - | 'insufficient_credit_utilization' - | 'insufficient_deposits' - | 'insufficient_income' - | 'insufficient_margin_ratio' - | 'insufficient_operating_profit' - | 'insufficient_period_in_operation' - | 'insufficient_reserves' - | 'insufficient_revenue' - | 'insufficient_social_media_performance' - | 'insufficient_time_in_network' - | 'insufficient_trade_credit_insurance' - | 'insufficient_usage_as_qualified_expenses' - | 'invalid_business_license' - | 'lacking_cash_account' - | 'late_payment_history_reported_to_bureau' - | 'lien_collection_action_or_judgement' - | 'negative_public_information' - | 'no_credit_file' - | 'other' - | 'outside_supported_country' - | 'outside_supported_state' - | 'poor_payment_history_with_platform' - | 'prior_or_current_legal_action' - | 'prohibited_industry' - | 'rate_of_cash_balance_fluctuation_too_high' - | 'recent_inquiries_on_business_credit_report' - | 'removal_of_bank_account_connection' - | 'revenue_discrepancy' - | 'runway_too_short' - | 'suspected_fraud' - | 'too_many_non_sufficient_funds_or_overdrafts' - | 'unable_to_verify_address' - | 'unable_to_verify_identity' - | 'unable_to_verify_income_or_revenue' - | 'unprofitable' - | 'unsupportable_business_type'; - } - - export namespace CreditLineClosed { - export type Reason = - | 'applicant_is_not_beneficial_owner' - | 'applicant_too_young' - | 'application_is_not_beneficial_owner' - | 'bankruptcy' - | 'business_size_too_small' - | 'change_in_financial_state' - | 'change_in_utilization_of_credit_line' - | 'current_account_tier_ineligible' - | 'customer_already_exists' - | 'customer_requested_account_closure' - | 'debt_to_cash_balance_ratio_too_high' - | 'debt_to_equity_ratio_too_high' - | 'decrease_in_income_to_expense_ratio' - | 'decrease_in_social_media_performance' - | 'delinquent_credit_obligations' - | 'dispute_rate_too_high' - | 'duration_of_residence' - | 'exceeds_acceptable_platform_exposure' - | 'excessive_income_or_revenue_obligations' - | 'expenses_to_cash_balance_ratio_too_high' - | 'foreclosure_or_repossession' - | 'frozen_file_at_credit_bureau' - | 'garnishment_or_attachment' - | 'government_loan_program_criteria' - | 'has_recent_credit_limit_increase' - | 'high_concentration_of_clients' - | 'high_risk_industry' - | 'incomplete_application' - | 'inconsistent_monthly_revenues' - | 'insufficient_account_history_with_platform' - | 'insufficient_bank_account_history' - | 'insufficient_cash_balance' - | 'insufficient_cash_flow' - | 'insufficient_collateral' - | 'insufficient_credit_experience' - | 'insufficient_credit_utilization' - | 'insufficient_deposits' - | 'insufficient_income' - | 'insufficient_margin_ratio' - | 'insufficient_operating_profit' - | 'insufficient_period_in_operation' - | 'insufficient_reserves' - | 'insufficient_revenue' - | 'insufficient_social_media_performance' - | 'insufficient_time_in_network' - | 'insufficient_trade_credit_insurance' - | 'insufficient_usage_as_qualified_expenses' - | 'invalid_business_license' - | 'lacking_cash_account' - | 'late_payment_history_reported_to_bureau' - | 'lien_collection_action_or_judgement' - | 'negative_public_information' - | 'no_credit_file' - | 'other' - | 'outside_supported_country' - | 'outside_supported_state' - | 'poor_payment_history_with_platform' - | 'prior_or_current_legal_action' - | 'prohibited_industry' - | 'rate_of_cash_balance_fluctuation_too_high' - | 'recent_inquiries_on_business_credit_report' - | 'removal_of_bank_account_connection' - | 'revenue_discrepancy' - | 'runway_too_short' - | 'suspected_fraud' - | 'too_many_non_sufficient_funds_or_overdrafts' - | 'unable_to_verify_address' - | 'unable_to_verify_identity' - | 'unable_to_verify_income_or_revenue' - | 'unprofitable' - | 'unsupportable_business_type'; - } + export namespace CreditLimitDecreased { + export type Reason = + | 'applicant_is_not_beneficial_owner' + | 'applicant_too_young' + | 'application_is_not_beneficial_owner' + | 'bankruptcy' + | 'business_size_too_small' + | 'change_in_financial_state' + | 'change_in_utilization_of_credit_line' + | 'current_account_tier_ineligible' + | 'customer_already_exists' + | 'customer_requested_account_closure' + | 'debt_to_cash_balance_ratio_too_high' + | 'debt_to_equity_ratio_too_high' + | 'decrease_in_income_to_expense_ratio' + | 'decrease_in_social_media_performance' + | 'delinquent_credit_obligations' + | 'dispute_rate_too_high' + | 'duration_of_residence' + | 'exceeds_acceptable_platform_exposure' + | 'excessive_income_or_revenue_obligations' + | 'expenses_to_cash_balance_ratio_too_high' + | 'foreclosure_or_repossession' + | 'frozen_file_at_credit_bureau' + | 'garnishment_or_attachment' + | 'government_loan_program_criteria' + | 'has_recent_credit_limit_increase' + | 'high_concentration_of_clients' + | 'high_risk_industry' + | 'incomplete_application' + | 'inconsistent_monthly_revenues' + | 'insufficient_account_history_with_platform' + | 'insufficient_bank_account_history' + | 'insufficient_cash_balance' + | 'insufficient_cash_flow' + | 'insufficient_collateral' + | 'insufficient_credit_experience' + | 'insufficient_credit_utilization' + | 'insufficient_deposits' + | 'insufficient_income' + | 'insufficient_margin_ratio' + | 'insufficient_operating_profit' + | 'insufficient_period_in_operation' + | 'insufficient_reserves' + | 'insufficient_revenue' + | 'insufficient_social_media_performance' + | 'insufficient_time_in_network' + | 'insufficient_trade_credit_insurance' + | 'insufficient_usage_as_qualified_expenses' + | 'invalid_business_license' + | 'lacking_cash_account' + | 'late_payment_history_reported_to_bureau' + | 'lien_collection_action_or_judgement' + | 'negative_public_information' + | 'no_credit_file' + | 'other' + | 'outside_supported_country' + | 'outside_supported_state' + | 'poor_payment_history_with_platform' + | 'prior_or_current_legal_action' + | 'prohibited_industry' + | 'rate_of_cash_balance_fluctuation_too_high' + | 'recent_inquiries_on_business_credit_report' + | 'removal_of_bank_account_connection' + | 'revenue_discrepancy' + | 'runway_too_short' + | 'suspected_fraud' + | 'too_many_non_sufficient_funds_or_overdrafts' + | 'unable_to_verify_address' + | 'unable_to_verify_identity' + | 'unable_to_verify_income_or_revenue' + | 'unprofitable' + | 'unsupportable_business_type'; } - export namespace UnderwritingException { - export type OriginalDecisionType = - | 'additional_information_requested' - | 'application_rejected' - | 'credit_limit_approved' - | 'credit_limit_decreased' - | 'credit_line_closed' - | 'no_changes' - | 'withdrawn_by_applicant'; + export namespace CreditLineClosed { + export type Reason = + | 'applicant_is_not_beneficial_owner' + | 'applicant_too_young' + | 'application_is_not_beneficial_owner' + | 'bankruptcy' + | 'business_size_too_small' + | 'change_in_financial_state' + | 'change_in_utilization_of_credit_line' + | 'current_account_tier_ineligible' + | 'customer_already_exists' + | 'customer_requested_account_closure' + | 'debt_to_cash_balance_ratio_too_high' + | 'debt_to_equity_ratio_too_high' + | 'decrease_in_income_to_expense_ratio' + | 'decrease_in_social_media_performance' + | 'delinquent_credit_obligations' + | 'dispute_rate_too_high' + | 'duration_of_residence' + | 'exceeds_acceptable_platform_exposure' + | 'excessive_income_or_revenue_obligations' + | 'expenses_to_cash_balance_ratio_too_high' + | 'foreclosure_or_repossession' + | 'frozen_file_at_credit_bureau' + | 'garnishment_or_attachment' + | 'government_loan_program_criteria' + | 'has_recent_credit_limit_increase' + | 'high_concentration_of_clients' + | 'high_risk_industry' + | 'incomplete_application' + | 'inconsistent_monthly_revenues' + | 'insufficient_account_history_with_platform' + | 'insufficient_bank_account_history' + | 'insufficient_cash_balance' + | 'insufficient_cash_flow' + | 'insufficient_collateral' + | 'insufficient_credit_experience' + | 'insufficient_credit_utilization' + | 'insufficient_deposits' + | 'insufficient_income' + | 'insufficient_margin_ratio' + | 'insufficient_operating_profit' + | 'insufficient_period_in_operation' + | 'insufficient_reserves' + | 'insufficient_revenue' + | 'insufficient_social_media_performance' + | 'insufficient_time_in_network' + | 'insufficient_trade_credit_insurance' + | 'insufficient_usage_as_qualified_expenses' + | 'invalid_business_license' + | 'lacking_cash_account' + | 'late_payment_history_reported_to_bureau' + | 'lien_collection_action_or_judgement' + | 'negative_public_information' + | 'no_credit_file' + | 'other' + | 'outside_supported_country' + | 'outside_supported_state' + | 'poor_payment_history_with_platform' + | 'prior_or_current_legal_action' + | 'prohibited_industry' + | 'rate_of_cash_balance_fluctuation_too_high' + | 'recent_inquiries_on_business_credit_report' + | 'removal_of_bank_account_connection' + | 'revenue_discrepancy' + | 'runway_too_short' + | 'suspected_fraud' + | 'too_many_non_sufficient_funds_or_overdrafts' + | 'unable_to_verify_address' + | 'unable_to_verify_identity' + | 'unable_to_verify_income_or_revenue' + | 'unprofitable' + | 'unsupportable_business_type'; } } + + export namespace UnderwritingException { + export type OriginalDecisionType = + | 'additional_information_requested' + | 'application_rejected' + | 'credit_limit_approved' + | 'credit_limit_decreased' + | 'credit_line_closed' + | 'no_changes' + | 'withdrawn_by_applicant'; + } } export namespace Issuing { export interface CreditUnderwritingRecordRetrieveParams { diff --git a/src/resources/Issuing/DisputeSettlementDetails.ts b/src/resources/Issuing/DisputeSettlementDetails.ts index 64090fa38f..e7c31f5a0e 100644 --- a/src/resources/Issuing/DisputeSettlementDetails.ts +++ b/src/resources/Issuing/DisputeSettlementDetails.ts @@ -77,7 +77,7 @@ export interface DisputeSettlementDetail { /** * The type of event corresponding to this dispute settlement detail, representing the stage in the dispute network lifecycle. */ - event_type: Issuing.DisputeSettlementDetail.EventType; + event_type: DisputeSettlementDetail.EventType; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -87,30 +87,28 @@ export interface DisputeSettlementDetail { /** * The card network for this dispute settlement detail. One of ["visa", "mastercard", "maestro"] */ - network: Issuing.DisputeSettlementDetail.Network; + network: DisputeSettlementDetail.Network; /** * Details about the transaction, such as processing dates, set by the card network. */ - network_data: Issuing.DisputeSettlementDetail.NetworkData | null; + network_data: DisputeSettlementDetail.NetworkData | null; /** * The ID of the linked card network settlement. */ settlement: string | null; } -export namespace Issuing { - export namespace DisputeSettlementDetail { - export type EventType = 'filing' | 'loss' | 'representment' | 'win'; +export namespace DisputeSettlementDetail { + export type EventType = 'filing' | 'loss' | 'representment' | 'win'; - export type Network = 'maestro' | 'mastercard' | 'visa'; + export type Network = 'maestro' | 'mastercard' | 'visa'; - export interface NetworkData { - /** - * The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network. - */ - processing_date: string | null; - } + export interface NetworkData { + /** + * The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network. + */ + processing_date: string | null; } } export namespace Issuing { diff --git a/src/resources/Issuing/Disputes.ts b/src/resources/Issuing/Disputes.ts index a0340a9cb1..eed1150f1e 100644 --- a/src/resources/Issuing/Disputes.ts +++ b/src/resources/Issuing/Disputes.ts @@ -114,7 +114,7 @@ export interface Dispute { /** * Array of onchain crypto transactions linked to this resource. */ - crypto_transactions?: Array | null; + crypto_transactions?: Array | null; /** * The currency the `transaction` was made in. @@ -141,12 +141,12 @@ export interface Dispute { /** * Incoming information from the card network for this dispute. Includes the acquiring merchant's initial response, pre-arbitration submission, and pre-arbitration response to the dispute. */ - network_lifecycle?: Issuing.Dispute.NetworkLifecycle | null; + network_lifecycle?: Dispute.NetworkLifecycle | null; /** * Provisional credit details for this dispute. */ - provisional_credit?: Issuing.Dispute.ProvisionalCredit | null; + provisional_credit?: Dispute.ProvisionalCredit | null; /** * Current status of the dispute. @@ -163,27 +163,26 @@ export interface Dispute { */ treasury?: Dispute.Treasury | null; } -export namespace Issuing { - export namespace Dispute { - export interface CryptoTransaction { - /** - * The confirmed crypto transaction details when `type` is `crypto_transaction_confirmed`; otherwise null. - */ - crypto_transaction_confirmed: CryptoTransaction.CryptoTransactionConfirmed | null; +export namespace Dispute { + export interface CryptoTransaction { + /** + * The confirmed crypto transaction details when `type` is `crypto_transaction_confirmed`; otherwise null. + */ + crypto_transaction_confirmed: CryptoTransaction.CryptoTransactionConfirmed | null; - /** - * The failed crypto transaction details when `type` is `crypto_transaction_failed`; otherwise null. - */ - crypto_transaction_failed: CryptoTransaction.CryptoTransactionFailed | null; + /** + * The failed crypto transaction details when `type` is `crypto_transaction_failed`; otherwise null. + */ + crypto_transaction_failed: CryptoTransaction.CryptoTransactionFailed | null; - /** - * The crypto transaction variant for this array entry. - */ - type: string; - } + /** + * The crypto transaction variant for this array entry. + */ + type: string; + } - export interface Evidence { - canceled?: Evidence.Canceled; + export interface Evidence { + canceled?: Evidence.Canceled; duplicate?: Evidence.Duplicate; @@ -227,6 +226,50 @@ export namespace Issuing { | 'transaction_qualifies_for_visa_easy_payment_service' | 'transaction_unattended'; + export interface NetworkLifecycle { + /** + * Information related to the acquiring merchant's initial response to this dispute. + */ + dispute_response: NetworkLifecycle.DisputeResponse | null; + + /** + * Information related to the acquiring merchant's pre-arbitration response for this dispute. + */ + pre_arbitration_response: NetworkLifecycle.PreArbitrationResponse | null; + + /** + * Information related to the acquiring merchant's pre-arbitration submission for this dispute. + */ + pre_arbitration_submission: NetworkLifecycle.PreArbitrationSubmission | null; + } + + export interface ProvisionalCredit { + /** + * The time by which the platform must grant a provisional credit to the consumer. + */ + grant_deadline: number | null; + + /** + * The time at which the platform reported granting the provisional credit. + */ + granted_at: number | null; + + /** + * The earliest time after which the platform can revoke the provisional credit. + */ + revocable_after: number | null; + + /** + * The time at which the platform reported revoking the provisional credit. + */ + revoked_at: number | null; + + /** + * The status of the provisional credit obligation. + */ + status: ProvisionalCredit.Status; + } + export type Status = 'expired' | 'lost' | 'submitted' | 'unsubmitted' | 'won'; export interface Treasury { @@ -241,6 +284,155 @@ export namespace Issuing { received_debit: string; } + export namespace CryptoTransaction { + export interface CryptoTransactionConfirmed { + /** + * The crypto amount for the confirmed transaction. + */ + amount: string; + + /** + * The upcharged MCC amount, if one was applied. + */ + amount_mcc_upcharged: string | null; + + /** + * The blockchain network for the confirmed transaction. + */ + chain: string; + + /** + * When the transaction was confirmed onchain. + */ + confirmed_at: number; + + /** + * The currency of the crypto transaction amount. + */ + currency: string; + + /** + * Fees associated with the transaction. + */ + fees: Array; + + /** + * The source wallet address for the transaction. + */ + from_address: string; + + /** + * Memo metadata attached to the transaction, if present. + */ + memo: string | null; + + /** + * The destination wallet address for the transaction. + */ + to_address: string; + + /** + * The blockchain transaction hash. + */ + transaction_hash: string; + } + + export interface CryptoTransactionFailed { + /** + * The crypto amount for the failed transaction. + */ + amount: string; + + /** + * The upcharged MCC amount, if one was applied. + */ + amount_mcc_upcharged: string | null; + + /** + * The blockchain network for the failed transaction. + */ + chain: string; + + /** + * The currency of the crypto transaction amount. + */ + currency: string; + + /** + * When the transaction failed. + */ + failed_at: number; + + /** + * The reason the transaction failed. + */ + failure_reason: string; + + /** + * Fees associated with the transaction. + */ + fees: Array; + + /** + * The source wallet address for the attempted transaction. + */ + from_address: string; + + /** + * Memo metadata attached to the transaction, if present. + */ + memo: string | null; + + /** + * The destination wallet address for the attempted transaction when one exists. + */ + to_address: string | null; + + /** + * The blockchain transaction hash when one exists. + */ + transaction_hash: string | null; + } + + export namespace CryptoTransactionConfirmed { + export interface Fee { + /** + * The fee amount. + */ + amount: string; + + /** + * The fee currency. + */ + currency: string; + + /** + * The fee type. + */ + type: string; + } + } + + export namespace CryptoTransactionFailed { + export interface Fee { + /** + * The fee amount. + */ + amount: string; + + /** + * The fee currency. + */ + currency: string; + + /** + * The fee type. + */ + type: string; + } + } + } + export namespace Evidence { export interface Canceled { /** @@ -441,58 +633,7 @@ export namespace Issuing { | 'other' | 'service_not_as_described'; - export interface NetworkLifecycle { - /** - * Information related to the acquiring merchant's initial response to this dispute. - */ - dispute_response: NetworkLifecycle.DisputeResponse | null; - - /** - * Information related to the acquiring merchant's pre-arbitration response for this dispute. - */ - pre_arbitration_response: NetworkLifecycle.PreArbitrationResponse | null; - - /** - * Information related to the acquiring merchant's pre-arbitration submission for this dispute. - */ - pre_arbitration_submission: NetworkLifecycle.PreArbitrationSubmission | null; - } - - export interface ProvisionalCredit { - /** - * The time by which the platform must grant a provisional credit to the consumer. - */ - grant_deadline: number | null; - - /** - * The time at which the platform reported granting the provisional credit. - */ - granted_at: number | null; - - /** - * The earliest time after which the platform can revoke the provisional credit. - */ - revocable_after: number | null; - - /** - * The time at which the platform reported revoking the provisional credit. - */ - revoked_at: number | null; - - /** - * The status of the provisional credit obligation. - */ - status: ProvisionalCredit.Status; - } - - export type Status = - | 'expired' - | 'lost' - | 'submitted' - | 'unsubmitted' - | 'won'; - - export interface Treasury { + export interface ServiceNotAsDescribed { /** * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. */ @@ -519,161 +660,8 @@ export namespace Issuing { received_at: number | null; } - export namespace CryptoTransaction { - export interface CryptoTransactionConfirmed { - /** - * The crypto amount for the confirmed transaction. - */ - amount: string; - - /** - * The upcharged MCC amount, if one was applied. - */ - amount_mcc_upcharged: string | null; - - /** - * The blockchain network for the confirmed transaction. - */ - chain: string; - - /** - * When the transaction was confirmed onchain. - */ - confirmed_at: number; - - /** - * The currency of the crypto transaction amount. - */ - currency: string; - - /** - * Fees associated with the transaction. - */ - fees: Array; - - /** - * The source wallet address for the transaction. - */ - from_address: string; - - /** - * Memo metadata attached to the transaction, if present. - */ - memo: string | null; - - /** - * The destination wallet address for the transaction. - */ - to_address: string; - - /** - * The blockchain transaction hash. - */ - transaction_hash: string; - } - - export interface CryptoTransactionFailed { - /** - * The crypto amount for the failed transaction. - */ - amount: string; - - /** - * The upcharged MCC amount, if one was applied. - */ - amount_mcc_upcharged: string | null; - - /** - * The blockchain network for the failed transaction. - */ - chain: string; - - /** - * The currency of the crypto transaction amount. - */ - currency: string; - - /** - * When the transaction failed. - */ - failed_at: number; - - /** - * The reason the transaction failed. - */ - failure_reason: string; - - /** - * Fees associated with the transaction. - */ - fees: Array; - - /** - * The source wallet address for the attempted transaction. - */ - from_address: string; - - /** - * Memo metadata attached to the transaction, if present. - */ - memo: string | null; - - /** - * The destination wallet address for the attempted transaction when one exists. - */ - to_address: string | null; - - /** - * The blockchain transaction hash when one exists. - */ - transaction_hash: string | null; - } - - export namespace CryptoTransactionConfirmed { - export interface Fee { - /** - * The fee amount. - */ - amount: string; - - /** - * The fee currency. - */ - currency: string; - - /** - * The fee type. - */ - type: string; - } - } - - export namespace CryptoTransactionFailed { - export interface Fee { - /** - * The fee amount. - */ - amount: string; - - /** - * The fee currency. - */ - currency: string; - - /** - * The fee type. - */ - type: string; - } - } - } - - export namespace Evidence { - export interface Canceled { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | File | null; + export namespace Canceled { + export type ProductType = 'merchandise' | 'service'; export type ReturnStatus = 'merchant_rejected' | 'successful'; } @@ -689,56 +677,56 @@ export namespace Issuing { export namespace Other { export type ProductType = 'merchandise' | 'service'; } + } - export namespace NetworkLifecycle { - export interface DisputeResponse { - /** - * Error message if processing the acquiring merchant's initial dispute response failed. - */ - error: string | null; + export namespace NetworkLifecycle { + export interface DisputeResponse { + /** + * Error message if processing the acquiring merchant's initial dispute response failed. + */ + error: string | null; - /** - * Array of [File](https://docs.stripe.com/api/files) ids containing evidence the acquiring merchant provided in support of their initial dispute response. - */ - merchant_evidence_files: Array | null; - } + /** + * Array of [File](https://docs.stripe.com/api/files) ids containing evidence the acquiring merchant provided in support of their initial dispute response. + */ + merchant_evidence_files: Array | null; + } - export interface PreArbitrationResponse { - /** - * Error message if processing the acquiring merchant's pre-arbitration response failed. - */ - error: string | null; + export interface PreArbitrationResponse { + /** + * Error message if processing the acquiring merchant's pre-arbitration response failed. + */ + error: string | null; - /** - * Array of [File](https://docs.stripe.com/api/files) ids containing evidence the acquiring merchant provided with their pre-arbitration response. - */ - merchant_evidence_files: Array | null; - } + /** + * Array of [File](https://docs.stripe.com/api/files) ids containing evidence the acquiring merchant provided with their pre-arbitration response. + */ + merchant_evidence_files: Array | null; + } - export interface PreArbitrationSubmission { - /** - * Error message if processing the acquiring merchant's pre-arbitration submission failed. - */ - error: string | null; + export interface PreArbitrationSubmission { + /** + * Error message if processing the acquiring merchant's pre-arbitration submission failed. + */ + error: string | null; - /** - * Array of [File](https://docs.stripe.com/api/files) ids containing evidence the acquiring merchant provided with their pre-arbitration submission. - */ - merchant_evidence_files: Array | null; - } + /** + * Array of [File](https://docs.stripe.com/api/files) ids containing evidence the acquiring merchant provided with their pre-arbitration submission. + */ + merchant_evidence_files: Array | null; } + } - export namespace ProvisionalCredit { - export type Status = - | 'delinquent' - | 'granted' - | 'not_required' - | 'permanent' - | 'required' - | 'revocable' - | 'revocation_notice_period' - | 'revoked'; - } + export namespace ProvisionalCredit { + export type Status = + | 'delinquent' + | 'granted' + | 'not_required' + | 'permanent' + | 'required' + | 'revocable' + | 'revocation_notice_period' + | 'revoked'; } } export namespace Issuing { diff --git a/src/resources/Issuing/Settlements.ts b/src/resources/Issuing/Settlements.ts index 16230b1766..bba29ad2ca 100644 --- a/src/resources/Issuing/Settlements.ts +++ b/src/resources/Issuing/Settlements.ts @@ -56,7 +56,7 @@ export interface Settlement { /** * The card network for this settlement report. One of ["visa", "maestro", "mastercard"] */ - network: Issuing.Settlement.Network; + network: Settlement.Network; /** * The total amount of fees owed to the network. @@ -86,7 +86,7 @@ export interface Settlement { /** * The current processing status of this settlement. */ - status: Issuing.Settlement.Status; + status: Settlement.Status; /** * The total transaction amount reflected in this settlement. @@ -98,10 +98,8 @@ export interface Settlement { */ transaction_count: number; } -export namespace Issuing { - export namespace Settlement { - export type Network = 'maestro' | 'mastercard' | 'visa'; +export namespace Settlement { + export type Network = 'maestro' | 'mastercard' | 'visa'; - export type Status = 'complete' | 'pending'; - } + export type Status = 'complete' | 'pending'; } diff --git a/src/resources/Issuing/Tokens.ts b/src/resources/Issuing/Tokens.ts index 73ec346c69..8ad83817a7 100644 --- a/src/resources/Issuing/Tokens.ts +++ b/src/resources/Issuing/Tokens.ts @@ -99,7 +99,7 @@ export interface Token { /** * The decision made during token provisioning. */ - provisioning_decision?: Issuing.Token.ProvisioningDecision | null; + provisioning_decision?: Token.ProvisioningDecision | null; /** * The usage state of the token. @@ -109,7 +109,7 @@ export interface Token { /** * The type of the token, indicating how it is used. */ - token_type?: Issuing.Token.TokenType | null; + token_type?: Token.TokenType | null; /** * The digital wallet for this token, if one was used. @@ -134,8 +134,21 @@ export namespace Token { wallet_provider?: NetworkData.WalletProvider; } + export type ProvisioningDecision = + | 'approve' + | 'approve_pending_id_and_v' + | 'decline'; + export type Status = 'active' | 'deleted' | 'requested' | 'suspended'; + export type TokenType = + | 'card_on_file' + | 'cloud_based' + | 'commerce_platform' + | 'commercial_virtual_account' + | 'secure_element' + | 'static_credential'; + export type WalletProvider = 'apple_pay' | 'google_pay' | 'samsung_pay'; export namespace NetworkData { @@ -150,6 +163,11 @@ export namespace Token { */ ip_address?: string; + /** + * The ISO 639-1 language code of the device associated with the tokenization request. + */ + language?: Device.Language | null; + /** * The geographic latitude/longitude coordinates of the device at provisioning time. The format is [+-]decimal/[+-]decimal. */ @@ -171,22 +189,16 @@ export namespace Token { type?: Device.Type; } - export type ProvisioningDecision = - | 'approve' - | 'approve_pending_id_and_v' - | 'decline'; - - export type Status = 'active' | 'deleted' | 'requested' | 'suspended'; - - export type TokenType = - | 'card_on_file' - | 'cloud_based' - | 'commerce_platform' - | 'commercial_virtual_account' - | 'secure_element' - | 'static_credential'; + export interface Mastercard { + /** + * A unique reference ID from MasterCard to represent the card account number. + */ + card_reference_id?: string; - export type WalletProvider = 'apple_pay' | 'google_pay' | 'samsung_pay'; + /** + * The network-unique identifier for the token. + */ + token_reference_id: string; /** * The ID of the entity requesting tokenization, specific to MasterCard. @@ -207,6 +219,11 @@ export namespace Token { */ card_reference_id: string | null; + /** + * The network's recommendation to Stripe for this token activation request. + */ + token_decision_recommendation?: Visa.TokenDecisionRecommendation | null; + /** * The network-unique identifier for the token. */ @@ -273,9 +290,201 @@ export namespace Token { } export namespace Device { + export type Language = + | 'aa' + | 'ab' + | 'ae' + | 'af' + | 'ak' + | 'am' + | 'an' + | 'ar' + | 'as' + | 'av' + | 'ay' + | 'az' + | 'ba' + | 'be' + | 'bg' + | 'bi' + | 'bm' + | 'bn' + | 'bo' + | 'br' + | 'bs' + | 'ca' + | 'ce' + | 'ch' + | 'co' + | 'cr' + | 'cs' + | 'cu' + | 'cv' + | 'cy' + | 'da' + | 'de' + | 'dv' + | 'dz' + | 'ee' + | 'el' + | 'en' + | 'eo' + | 'es' + | 'et' + | 'eu' + | 'fa' + | 'ff' + | 'fi' + | 'fj' + | 'fo' + | 'fr' + | 'fy' + | 'ga' + | 'gd' + | 'gl' + | 'gn' + | 'gu' + | 'gv' + | 'ha' + | 'he' + | 'hi' + | 'ho' + | 'hr' + | 'ht' + | 'hu' + | 'hy' + | 'hz' + | 'ia' + | 'id' + | 'ie' + | 'ig' + | 'ii' + | 'ik' + | 'io' + | 'is' + | 'it' + | 'iu' + | 'ja' + | 'jv' + | 'ka' + | 'kg' + | 'ki' + | 'kj' + | 'kk' + | 'kl' + | 'km' + | 'kn' + | 'ko' + | 'kr' + | 'ks' + | 'ku' + | 'kv' + | 'kw' + | 'ky' + | 'la' + | 'lb' + | 'lg' + | 'li' + | 'ln' + | 'lo' + | 'lt' + | 'lu' + | 'lv' + | 'mg' + | 'mh' + | 'mi' + | 'mk' + | 'ml' + | 'mn' + | 'mr' + | 'ms' + | 'mt' + | 'my' + | 'na' + | 'nb' + | 'nd' + | 'ne' + | 'ng' + | 'nl' + | 'nn' + | 'no' + | 'nr' + | 'nv' + | 'ny' + | 'oc' + | 'oj' + | 'om' + | 'or' + | 'os' + | 'pa' + | 'pi' + | 'pl' + | 'ps' + | 'pt' + | 'qu' + | 'rm' + | 'rn' + | 'ro' + | 'ru' + | 'rw' + | 'sa' + | 'sc' + | 'sd' + | 'se' + | 'sg' + | 'si' + | 'sk' + | 'sl' + | 'sm' + | 'sn' + | 'so' + | 'sq' + | 'sr' + | 'ss' + | 'st' + | 'su' + | 'sv' + | 'sw' + | 'ta' + | 'te' + | 'tg' + | 'th' + | 'ti' + | 'tk' + | 'tl' + | 'tn' + | 'to' + | 'tr' + | 'ts' + | 'tt' + | 'tw' + | 'ty' + | 'ug' + | 'uk' + | 'ur' + | 'uz' + | 've' + | 'vi' + | 'vo' + | 'wa' + | 'wo' + | 'xh' + | 'yi' + | 'yo' + | 'za' + | 'zh' + | 'zu'; + export type Type = 'other' | 'phone' | 'watch'; } + export namespace Visa { + export type TokenDecisionRecommendation = + | 'approve' + | 'decline' + | 'recommend_id_and_v'; + } + export namespace WalletProvider { export type CardNumberSource = 'app' | 'manual' | 'on_file' | 'other'; @@ -288,32 +497,7 @@ export namespace Token { /** * The postal code of the cardholder tokenizing the card. */ - ip_address?: string; - - /** - * The ISO 639-1 language code of the device associated with the tokenization request. - */ - language?: Device.Language | null; - - /** - * The geographic latitude/longitude coordinates of the device at provisioning time. The format is [+-]decimal/[+-]decimal. - */ - location?: string; - - /** - * The name of the device used for tokenization. - */ - name?: string; - - /** - * The phone number of the device used for tokenization. - */ - phone_number?: string; - - /** - * The type of device used for tokenization. - */ - type?: Device.Type; + postal_code: string; } export type ReasonCode = @@ -346,343 +530,7 @@ export namespace Token { | 'too_many_recent_attempts' | 'too_many_recent_tokens'; - /** - * The network-unique identifier for the token. - */ - token_reference_id: string; - - /** - * The ID of the entity requesting tokenization, specific to MasterCard. - */ - token_requestor_id: string; - - /** - * The name of the entity requesting tokenization, if known. This is directly provided from MasterCard. - */ - token_requestor_name?: string; - } - - export type Type = 'mastercard' | 'visa'; - - export interface Visa { - /** - * A unique reference ID from Visa to represent the card account number. - */ - card_reference_id: string | null; - - /** - * The network's recommendation to Stripe for this token activation request. - */ - token_decision_recommendation?: Visa.TokenDecisionRecommendation | null; - - /** - * The network-unique identifier for the token. - */ - token_reference_id: string; - - /** - * The ID of the entity requesting tokenization, specific to Visa. - */ - token_requestor_id: string; - - /** - * Degree of risk associated with the token between `01` and `99`, with higher number indicating higher risk. A `00` value indicates the token was not scored by Visa. - */ - token_risk_score?: string; - } - - export interface WalletProvider { - /** - * The wallet provider-given account ID of the digital wallet the token belongs to. - */ - account_id?: string; - - /** - * An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy. - */ - account_trust_score?: number; - - /** - * The method used for tokenizing a card. - */ - card_number_source?: WalletProvider.CardNumberSource; - - cardholder_address?: WalletProvider.CardholderAddress; - - /** - * The name of the cardholder tokenizing the card. - */ - cardholder_name?: string; - - /** - * An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy. - */ - device_trust_score?: number; - - /** - * The hashed email address of the cardholder's account with the wallet provider. - */ - hashed_account_email_address?: string; - - /** - * The reasons for suggested tokenization given by the card network. - */ - reason_codes?: Array; - - /** - * The recommendation on responding to the tokenization request. - */ - suggested_decision?: WalletProvider.SuggestedDecision; - - /** - * The version of the standard for mapping reason codes followed by the wallet provider. - */ - suggested_decision_version?: string; - } - - export namespace Device { - export type Language = - | 'aa' - | 'ab' - | 'ae' - | 'af' - | 'ak' - | 'am' - | 'an' - | 'ar' - | 'as' - | 'av' - | 'ay' - | 'az' - | 'ba' - | 'be' - | 'bg' - | 'bi' - | 'bm' - | 'bn' - | 'bo' - | 'br' - | 'bs' - | 'ca' - | 'ce' - | 'ch' - | 'co' - | 'cr' - | 'cs' - | 'cu' - | 'cv' - | 'cy' - | 'da' - | 'de' - | 'dv' - | 'dz' - | 'ee' - | 'el' - | 'en' - | 'eo' - | 'es' - | 'et' - | 'eu' - | 'fa' - | 'ff' - | 'fi' - | 'fj' - | 'fo' - | 'fr' - | 'fy' - | 'ga' - | 'gd' - | 'gl' - | 'gn' - | 'gu' - | 'gv' - | 'ha' - | 'he' - | 'hi' - | 'ho' - | 'hr' - | 'ht' - | 'hu' - | 'hy' - | 'hz' - | 'ia' - | 'id' - | 'ie' - | 'ig' - | 'ii' - | 'ik' - | 'io' - | 'is' - | 'it' - | 'iu' - | 'ja' - | 'jv' - | 'ka' - | 'kg' - | 'ki' - | 'kj' - | 'kk' - | 'kl' - | 'km' - | 'kn' - | 'ko' - | 'kr' - | 'ks' - | 'ku' - | 'kv' - | 'kw' - | 'ky' - | 'la' - | 'lb' - | 'lg' - | 'li' - | 'ln' - | 'lo' - | 'lt' - | 'lu' - | 'lv' - | 'mg' - | 'mh' - | 'mi' - | 'mk' - | 'ml' - | 'mn' - | 'mr' - | 'ms' - | 'mt' - | 'my' - | 'na' - | 'nb' - | 'nd' - | 'ne' - | 'ng' - | 'nl' - | 'nn' - | 'no' - | 'nr' - | 'nv' - | 'ny' - | 'oc' - | 'oj' - | 'om' - | 'or' - | 'os' - | 'pa' - | 'pi' - | 'pl' - | 'ps' - | 'pt' - | 'qu' - | 'rm' - | 'rn' - | 'ro' - | 'ru' - | 'rw' - | 'sa' - | 'sc' - | 'sd' - | 'se' - | 'sg' - | 'si' - | 'sk' - | 'sl' - | 'sm' - | 'sn' - | 'so' - | 'sq' - | 'sr' - | 'ss' - | 'st' - | 'su' - | 'sv' - | 'sw' - | 'ta' - | 'te' - | 'tg' - | 'th' - | 'ti' - | 'tk' - | 'tl' - | 'tn' - | 'to' - | 'tr' - | 'ts' - | 'tt' - | 'tw' - | 'ty' - | 'ug' - | 'uk' - | 'ur' - | 'uz' - | 've' - | 'vi' - | 'vo' - | 'wa' - | 'wo' - | 'xh' - | 'yi' - | 'yo' - | 'za' - | 'zh' - | 'zu'; - - export type Type = 'other' | 'phone' | 'watch'; - } - - export namespace Visa { - export type TokenDecisionRecommendation = - | 'approve' - | 'decline' - | 'recommend_id_and_v'; - } - - export namespace WalletProvider { - export type CardNumberSource = 'app' | 'manual' | 'on_file' | 'other'; - - export interface CardholderAddress { - /** - * The street address of the cardholder tokenizing the card. - */ - line1: string; - - /** - * The postal code of the cardholder tokenizing the card. - */ - postal_code: string; - } - - export type ReasonCode = - | 'account_card_too_new' - | 'account_recently_changed' - | 'account_too_new' - | 'account_too_new_since_launch' - | 'additional_device' - | 'data_expired' - | 'defer_id_v_decision' - | 'device_recently_lost' - | 'good_activity_history' - | 'has_suspended_tokens' - | 'high_risk' - | 'inactive_account' - | 'long_account_tenure' - | 'low_account_score' - | 'low_device_score' - | 'low_phone_number_score' - | 'network_service_error' - | 'outside_home_territory' - | 'provisioning_cardholder_mismatch' - | 'provisioning_device_and_cardholder_mismatch' - | 'provisioning_device_mismatch' - | 'same_device_no_prior_authentication' - | 'same_device_successful_prior_authentication' - | 'software_update' - | 'suspicious_activity' - | 'too_many_different_cardholders' - | 'too_many_recent_attempts' - | 'too_many_recent_tokens'; - - export type SuggestedDecision = 'approve' | 'decline' | 'require_auth'; - } + export type SuggestedDecision = 'approve' | 'decline' | 'require_auth'; } } } diff --git a/src/resources/Issuing/Transactions.ts b/src/resources/Issuing/Transactions.ts index e96c07b20f..01d1a58a25 100644 --- a/src/resources/Issuing/Transactions.ts +++ b/src/resources/Issuing/Transactions.ts @@ -374,7 +374,7 @@ export interface Transaction { /** * Array of onchain crypto transactions linked to this resource. */ - crypto_transactions?: Array | null; + crypto_transactions?: Array | null; /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -456,6 +456,23 @@ export namespace Transaction { cashback_amount: number | null; } + export interface CryptoTransaction { + /** + * The confirmed crypto transaction details when `type` is `crypto_transaction_confirmed`; otherwise null. + */ + crypto_transaction_confirmed: CryptoTransaction.CryptoTransactionConfirmed | null; + + /** + * The failed crypto transaction details when `type` is `crypto_transaction_failed`; otherwise null. + */ + crypto_transaction_failed: CryptoTransaction.CryptoTransactionFailed | null; + + /** + * The crypto transaction variant for this array entry. + */ + type: string; + } + export interface MerchantData { /** * A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values. @@ -487,6 +504,11 @@ export namespace Transaction { */ network_id: string; + /** + * The identifier of the payment facilitator (PayFac) that processed this authorization, as assigned by the card network. Null when the transaction was not processed through a PayFac. + */ + payment_facilitator_id?: string | null; + /** * Postal code where the seller is located */ @@ -497,6 +519,11 @@ export namespace Transaction { */ state: string | null; + /** + * The identifier of the sub-merchant involved in this authorization, as assigned by the payment facilitator. Null when the transaction was not processed through a PayFac or when no sub-merchant ID was provided. + */ + sub_merchant_id?: string | null; + /** * The seller's tax identification number. Currently populated for French merchants only. */ @@ -578,111 +605,203 @@ export namespace Transaction { export type Wallet = 'apple_pay' | 'google_pay' | 'samsung_pay'; - export namespace PurchaseDetails { - export interface Fleet { + export namespace CryptoTransaction { + export interface CryptoTransactionConfirmed { /** - * Answers to prompts presented to cardholder at point of sale. + * The crypto amount for the confirmed transaction. */ - cardholder_prompt_data: Fleet.CardholderPromptData | null; + amount: string; /** - * The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`. + * The upcharged MCC amount, if one was applied. */ - purchase_type: string | null; + amount_mcc_upcharged: string | null; /** - * More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data. + * The blockchain network for the confirmed transaction. */ - reported_breakdown: Fleet.ReportedBreakdown | null; + chain: string; /** - * The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`. + * When the transaction was confirmed onchain. */ - service_type: string | null; - } + confirmed_at: number; - export interface CryptoTransaction { /** - * The confirmed crypto transaction details when `type` is `crypto_transaction_confirmed`; otherwise null. + * The currency of the crypto transaction amount. */ - crypto_transaction_confirmed: CryptoTransaction.CryptoTransactionConfirmed | null; + currency: string; /** - * The failed crypto transaction details when `type` is `crypto_transaction_failed`; otherwise null. + * Fees associated with the transaction. */ - crypto_transaction_failed: CryptoTransaction.CryptoTransactionFailed | null; + fees: Array; /** - * The crypto transaction variant for this array entry. + * The source wallet address for the transaction. */ - type: string; + from_address: string; + + /** + * Memo metadata attached to the transaction, if present. + */ + memo: string | null; + + /** + * The destination wallet address for the transaction. + */ + to_address: string; + + /** + * The blockchain transaction hash. + */ + transaction_hash: string; } - export interface MerchantData { + export interface CryptoTransactionFailed { /** - * The time that the flight departed. + * The crypto amount for the failed transaction. */ - departure_at: number | null; + amount: string; /** - * The name of the passenger. + * The upcharged MCC amount, if one was applied. */ - passenger_name: string | null; + amount_mcc_upcharged: string | null; /** - * Whether the ticket is refundable. + * The blockchain network for the failed transaction. */ - refundable: boolean | null; + chain: string; /** - * The legs of the trip. + * The currency of the crypto transaction amount. */ - segments: Array | null; + currency: string; /** - * The travel agency that issued the ticket. + * When the transaction failed. */ - name: string | null; + failed_at: number; /** - * Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant. + * The reason the transaction failed. */ - network_id: string; + failure_reason: string; /** - * The identifier of the payment facilitator (PayFac) that processed this authorization, as assigned by the card network. Null when the transaction was not processed through a PayFac. + * Fees associated with the transaction. */ - payment_facilitator_id?: string | null; + fees: Array; /** - * Postal code where the seller is located + * The source wallet address for the attempted transaction. */ - postal_code: string | null; + from_address: string; + + /** + * Memo metadata attached to the transaction, if present. + */ + memo: string | null; + + /** + * The destination wallet address for the attempted transaction when one exists. + */ + to_address: string | null; + + /** + * The blockchain transaction hash when one exists. + */ + transaction_hash: string | null; + } + + export namespace CryptoTransactionConfirmed { + export interface Fee { + /** + * The fee amount. + */ + amount: string; + + /** + * The fee currency. + */ + currency: string; + + /** + * The fee type. + */ + type: string; + } + } + + export namespace CryptoTransactionFailed { + export interface Fee { + /** + * The fee amount. + */ + amount: string; + + /** + * The fee currency. + */ + currency: string; + + /** + * The fee type. + */ + type: string; + } + } + } + + export namespace PurchaseDetails { + export interface Fleet { + /** + * Answers to prompts presented to cardholder at point of sale. + */ + cardholder_prompt_data: Fleet.CardholderPromptData | null; + + /** + * The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`. + */ + purchase_type: string | null; + + /** + * More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data. + */ + reported_breakdown: Fleet.ReportedBreakdown | null; + + /** + * The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`. + */ + service_type: string | null; + } + export interface Flight { /** - * State where the seller is located + * The time that the flight departed. */ - state: string | null; + departure_at: number | null; /** - * The identifier of the sub-merchant involved in this authorization, as assigned by the payment facilitator. Null when the transaction was not processed through a PayFac or when no sub-merchant ID was provided. + * The name of the passenger. */ - sub_merchant_id?: string | null; + passenger_name: string | null; /** - * The seller's tax identification number. Currently populated for French merchants only. + * Whether the ticket is refundable. */ - tax_id: string | null; + refundable: boolean | null; /** - * An ID assigned by the seller to the location of the sale. + * The legs of the trip. */ - terminal_id: string | null; + segments: Array | null; /** - * URL provided by the merchant on a 3DS request + * The travel agency that issued the ticket. */ - url: string | null; + travel_agency: string | null; } export interface Fuel { @@ -746,161 +865,8 @@ export namespace Transaction { unit_cost: number | null; } - export type Type = 'capture' | 'refund'; - - export type Wallet = 'apple_pay' | 'google_pay' | 'samsung_pay'; - - export namespace CryptoTransaction { - export interface CryptoTransactionConfirmed { - /** - * The crypto amount for the confirmed transaction. - */ - amount: string; - - /** - * The upcharged MCC amount, if one was applied. - */ - amount_mcc_upcharged: string | null; - - /** - * The blockchain network for the confirmed transaction. - */ - chain: string; - - /** - * When the transaction was confirmed onchain. - */ - confirmed_at: number; - - /** - * The currency of the crypto transaction amount. - */ - currency: string; - - /** - * Fees associated with the transaction. - */ - fees: Array; - - /** - * The source wallet address for the transaction. - */ - from_address: string; - - /** - * Memo metadata attached to the transaction, if present. - */ - memo: string | null; - - /** - * The destination wallet address for the transaction. - */ - to_address: string; - - /** - * The blockchain transaction hash. - */ - transaction_hash: string; - } - - export interface CryptoTransactionFailed { - /** - * The crypto amount for the failed transaction. - */ - amount: string; - - /** - * The upcharged MCC amount, if one was applied. - */ - amount_mcc_upcharged: string | null; - - /** - * The blockchain network for the failed transaction. - */ - chain: string; - - /** - * The currency of the crypto transaction amount. - */ - currency: string; - - /** - * When the transaction failed. - */ - failed_at: number; - - /** - * The reason the transaction failed. - */ - failure_reason: string; - - /** - * Fees associated with the transaction. - */ - fees: Array; - - /** - * The source wallet address for the attempted transaction. - */ - from_address: string; - - /** - * Memo metadata attached to the transaction, if present. - */ - memo: string | null; - - /** - * The destination wallet address for the attempted transaction when one exists. - */ - to_address: string | null; - - /** - * The blockchain transaction hash when one exists. - */ - transaction_hash: string | null; - } - - export namespace CryptoTransactionConfirmed { - export interface Fee { - /** - * The fee amount. - */ - amount: string; - - /** - * The fee currency. - */ - currency: string; - - /** - * The fee type. - */ - type: string; - } - } - - export namespace CryptoTransactionFailed { - export interface Fee { - /** - * The fee amount. - */ - amount: string; - - /** - * The fee currency. - */ - currency: string; - - /** - * The fee type. - */ - type: string; - } - } - } - - export namespace PurchaseDetails { - export interface Fleet { + export namespace Fleet { + export interface CardholderPromptData { /** * Driver ID. */ diff --git a/src/resources/Privacy/RedactionJobValidationErrors.ts b/src/resources/Privacy/RedactionJobValidationErrors.ts index a8625c26a8..d3016d864e 100644 --- a/src/resources/Privacy/RedactionJobValidationErrors.ts +++ b/src/resources/Privacy/RedactionJobValidationErrors.ts @@ -15,37 +15,35 @@ export interface RedactionJobValidationError { /** * A code indicating the reason for the error. */ - code: Privacy.RedactionJobValidationError.Code; + code: RedactionJobValidationError.Code; /** * If the error is related to a specific object, this field includes the object's identifier and object type. */ - erroring_object: Privacy.RedactionJobValidationError.ErroringObject | null; + erroring_object: RedactionJobValidationError.ErroringObject | null; /** * A human-readable message providing more details about the error. */ message: string; } -export namespace Privacy { - export namespace RedactionJobValidationError { - export type Code = - | 'invalid_cascading_source' - | 'invalid_file_purpose' - | 'invalid_state' - | 'locked_by_other_job' - | 'too_many_objects'; +export namespace RedactionJobValidationError { + export type Code = + | 'invalid_cascading_source' + | 'invalid_file_purpose' + | 'invalid_state' + | 'locked_by_other_job' + | 'too_many_objects'; - export interface ErroringObject { - /** - * Unique identifier for the object. - */ - id: string; + export interface ErroringObject { + /** + * Unique identifier for the object. + */ + id: string; - /** - * Erroring object type - */ - object_type: string; - } + /** + * Erroring object type + */ + object_type: string; } } diff --git a/src/resources/Privacy/RedactionJobs.ts b/src/resources/Privacy/RedactionJobs.ts index 37d5fd83f6..81ecff0989 100644 --- a/src/resources/Privacy/RedactionJobs.ts +++ b/src/resources/Privacy/RedactionJobs.ts @@ -167,84 +167,82 @@ export interface RedactionJob { /** * The objects to redact in this job. */ - objects?: Privacy.RedactionJob.Objects | null; + objects?: RedactionJob.Objects | null; /** * The status of the job. */ - status: Privacy.RedactionJob.Status; + status: RedactionJob.Status; /** * Validation behavior determines how a job validates objects for redaction eligibility. Default is `error`. */ - validation_behavior: Privacy.RedactionJob.ValidationBehavior | null; + validation_behavior: RedactionJob.ValidationBehavior | null; /** * The first 10 validation errors for the current validation attempt. Use the validation errors list endpoint to paginate through the full list. */ validation_errors?: ApiList; } -export namespace Privacy { - export namespace RedactionJob { - export interface Objects { - /** - * Charge object identifiers usually starting with `ch_` - */ - charges: Array | null; - - /** - * CheckoutSession object identifiers starting with `cs_` - */ - checkout_sessions: Array | null; - - /** - * Customer object identifiers starting with `cus_` - */ - customers: Array | null; - - /** - * Identity VerificationSessions object identifiers starting with `vs_` - */ - identity_verification_sessions: Array | null; - - /** - * Invoice object identifiers starting with `in_` - */ - invoices: Array | null; - - /** - * Issuing Cardholder object identifiers starting with `ich_` - */ - issuing_cardholders: Array | null; - - /** - * PaymentIntent object identifiers starting with `pi_` - */ - payment_intents: Array | null; - - /** - * Fraud ValueListItem object identifiers starting with `rsli_` - */ - radar_value_list_items: Array | null; - - /** - * SetupIntent object identifiers starting with `seti_` - */ - setup_intents: Array | null; - } +export namespace RedactionJob { + export interface Objects { + /** + * Charge object identifiers usually starting with `ch_` + */ + charges: Array | null; - export type Status = - | 'canceled' - | 'canceling' - | 'created' - | 'failed' - | 'ready' - | 'redacting' - | 'succeeded' - | 'validating'; + /** + * CheckoutSession object identifiers starting with `cs_` + */ + checkout_sessions: Array | null; - export type ValidationBehavior = 'error' | 'fix'; + /** + * Customer object identifiers starting with `cus_` + */ + customers: Array | null; + + /** + * Identity VerificationSessions object identifiers starting with `vs_` + */ + identity_verification_sessions: Array | null; + + /** + * Invoice object identifiers starting with `in_` + */ + invoices: Array | null; + + /** + * Issuing Cardholder object identifiers starting with `ich_` + */ + issuing_cardholders: Array | null; + + /** + * PaymentIntent object identifiers starting with `pi_` + */ + payment_intents: Array | null; + + /** + * Fraud ValueListItem object identifiers starting with `rsli_` + */ + radar_value_list_items: Array | null; + + /** + * SetupIntent object identifiers starting with `seti_` + */ + setup_intents: Array | null; } + + export type Status = + | 'canceled' + | 'canceling' + | 'created' + | 'failed' + | 'ready' + | 'redacting' + | 'succeeded' + | 'validating'; + + export type ValidationBehavior = 'error' | 'fix'; } export namespace Privacy { export interface RedactionJobCreateParams { diff --git a/src/resources/ProductCatalog/TrialOffers.ts b/src/resources/ProductCatalog/TrialOffers.ts index f2f1931170..fbc04c0998 100644 --- a/src/resources/ProductCatalog/TrialOffers.ts +++ b/src/resources/ProductCatalog/TrialOffers.ts @@ -31,9 +31,9 @@ export interface TrialOffer { */ object: 'product_catalog.trial_offer'; - duration: ProductCatalog.TrialOffer.Duration; + duration: TrialOffer.Duration; - end_behavior: ProductCatalog.TrialOffer.EndBehavior; + end_behavior: TrialOffer.EndBehavior; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -50,44 +50,42 @@ export interface TrialOffer { */ price: string | Price; } -export namespace ProductCatalog { - export namespace TrialOffer { - export interface Duration { - relative?: Duration.Relative; +export namespace TrialOffer { + export interface Duration { + relative?: Duration.Relative; - /** - * The type of trial offer duration. - */ - type: Duration.Type; - } + /** + * The type of trial offer duration. + */ + type: Duration.Type; + } - export interface EndBehavior { - transition: EndBehavior.Transition; + export interface EndBehavior { + transition: EndBehavior.Transition; + + /** + * The type of behavior when the trial offer ends. + */ + type: 'transition'; + } + export namespace Duration { + export interface Relative { /** - * The type of behavior when the trial offer ends. + * The number of iterations of the price's interval for this trial offer. */ - type: 'transition'; + iterations: number; } - export namespace Duration { - export interface Relative { - /** - * The number of iterations of the price's interval for this trial offer. - */ - iterations: number; - } - - export type Type = 'relative' | 'timestamp'; - } + export type Type = 'relative' | 'timestamp'; + } - export namespace EndBehavior { - export interface Transition { - /** - * The new price to use at the end of the trial offer period. - */ - price: string | Price; - } + export namespace EndBehavior { + export interface Transition { + /** + * The new price to use at the end of the trial offer period. + */ + price: string | Price; } } } diff --git a/src/resources/Radar/AccountEvaluations.ts b/src/resources/Radar/AccountEvaluations.ts index d6c2b821f8..e3151a4260 100644 --- a/src/resources/Radar/AccountEvaluations.ts +++ b/src/resources/Radar/AccountEvaluations.ts @@ -73,7 +73,7 @@ export interface AccountEvaluation { /** * The list of events that were reported for this Account Evaluation object via the report API. */ - events: Array | null; + events: Array | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -83,97 +83,95 @@ export interface AccountEvaluation { /** * A hash of signal objects providing Radar's evaluation for the lifecycle event. */ - signals: Radar.AccountEvaluation.Signals | null; + signals: AccountEvaluation.Signals | null; /** * The type of evaluation returned, based on the user's request. */ type: string; } -export namespace Radar { - export namespace AccountEvaluation { - export interface Event { - /** - * Data about a failed login event. - */ - login_failed?: Event.LoginFailed; +export namespace AccountEvaluation { + export interface Event { + /** + * Data about a failed login event. + */ + login_failed?: Event.LoginFailed; - /** - * Data about a succeeded login event. - */ - login_succeeded?: Event.LoginSucceeded; + /** + * Data about a succeeded login event. + */ + login_succeeded?: Event.LoginSucceeded; - /** - * Time at which the event occurred. Measured in seconds since the Unix epoch. - */ - occurred_at: number; + /** + * Time at which the event occurred. Measured in seconds since the Unix epoch. + */ + occurred_at: number; + + /** + * Data about a failed registration event. + */ + registration_failed?: Event.RegistrationFailed; + /** + * Data about a succeeded registration event. + */ + registration_succeeded?: Event.RegistrationSucceeded; + + /** + * The type of event that occurred. + */ + type: string; + } + + export interface Signals { + account_sharing?: Signals.AccountSharing; + + multi_accounting?: Signals.MultiAccounting; + } + + export namespace Event { + export interface LoginFailed { /** - * Data about a failed registration event. + * The reason why this login failed. */ - registration_failed?: Event.RegistrationFailed; + reason: string; + } + export interface LoginSucceeded { /** - * Data about a succeeded registration event. + * The qualification for a login success. */ - registration_succeeded?: Event.RegistrationSucceeded; + qualification: string | null; + } + export interface RegistrationFailed { /** - * The type of event that occurred. + * The reason why this registration failed. */ - type: string; + reason: string; } - export interface Signals { - account_sharing?: Signals.AccountSharing; - - multi_accounting?: Signals.MultiAccounting; + export interface RegistrationSucceeded { + /** + * The qualification for a registration success. + */ + qualification: string | null; } + } - export namespace Event { - export interface LoginFailed { - /** - * The reason why this login failed. - */ - reason: string; - } - - export interface LoginSucceeded { - /** - * The qualification for a login success. - */ - qualification: string | null; - } - - export interface RegistrationFailed { - /** - * The reason why this registration failed. - */ - reason: string; - } - - export interface RegistrationSucceeded { - /** - * The qualification for a registration success. - */ - qualification: string | null; - } + export namespace Signals { + export interface AccountSharing { + /** + * Score for this signal (float between 0.0-100.0). + */ + score: number; } - export namespace Signals { - export interface AccountSharing { - /** - * Score for this signal (float between 0.0-100.0). - */ - score: number; - } - - export interface MultiAccounting { - /** - * Score for this signal (float between 0.0-100.0). - */ - score: number; - } + export interface MultiAccounting { + /** + * Score for this signal (float between 0.0-100.0). + */ + score: number; } } } diff --git a/src/resources/Radar/CustomerEvaluations.ts b/src/resources/Radar/CustomerEvaluations.ts index 8f3cc7a7ee..141ed6e462 100644 --- a/src/resources/Radar/CustomerEvaluations.ts +++ b/src/resources/Radar/CustomerEvaluations.ts @@ -73,12 +73,12 @@ export interface CustomerEvaluation { /** * The type of evaluation event. */ - event_type: Radar.CustomerEvaluation.EventType; + event_type: CustomerEvaluation.EventType; /** * A list of events that have been reported on this customer evaluation. */ - events: Array | null; + events: Array | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -88,115 +88,113 @@ export interface CustomerEvaluation { /** * A hash of signal objects providing Radar's evaluation of the customer. */ - signals: Radar.CustomerEvaluation.Signals | null; + signals: CustomerEvaluation.Signals | null; /** * The outcome status reported for this evaluation: allowed, restricted, or blocked. */ status?: string; } -export namespace Radar { - export namespace CustomerEvaluation { - export type EventType = 'login' | 'registration'; +export namespace CustomerEvaluation { + export type EventType = 'login' | 'registration'; + + export interface Event { + /** + * Data about a failed login event. + */ + login_failed?: Event.LoginFailed; + + /** + * Time at which the event occurred. Measured in seconds since the Unix epoch. + */ + occurred_at: number; + + /** + * Data about a failed registration event. + */ + registration_failed?: Event.RegistrationFailed; + + /** + * The type of event that occurred. + */ + type: string; + } + + export interface Signals { + account_sharing?: Signals.AccountSharing; - export interface Event { + multi_accounting?: Signals.MultiAccounting; + } + + export namespace Event { + export interface LoginFailed { /** - * Data about a failed login event. + * The reason why this login failed. */ - login_failed?: Event.LoginFailed; + reason: string; + } + export interface RegistrationFailed { /** - * Time at which the event occurred. Measured in seconds since the Unix epoch. + * The reason why this registration failed. */ - occurred_at: number; + reason: string; + } + } + export namespace Signals { + export interface AccountSharing { /** - * Data about a failed registration event. + * Time at which the signal was evaluated. Measured in seconds since the Unix epoch. */ - registration_failed?: Event.RegistrationFailed; + evaluated_at: number; /** - * The type of event that occurred. + * The risk level for this signal. */ - type: string; - } + risk_level?: AccountSharing.RiskLevel; - export interface Signals { - account_sharing?: Signals.AccountSharing; - - multi_accounting?: Signals.MultiAccounting; - } - - export namespace Event { - export interface LoginFailed { - /** - * The reason why this login failed. - */ - reason: string; - } - - export interface RegistrationFailed { - /** - * The reason why this registration failed. - */ - reason: string; - } + /** + * Score for this signal (between 0.0 and 100.0). + */ + score: number; } - export namespace Signals { - export interface AccountSharing { - /** - * Time at which the signal was evaluated. Measured in seconds since the Unix epoch. - */ - evaluated_at: number; - - /** - * The risk level for this signal. - */ - risk_level?: AccountSharing.RiskLevel; - - /** - * Score for this signal (between 0.0 and 100.0). - */ - score: number; - } - - export interface MultiAccounting { - /** - * Time at which the signal was evaluated. Measured in seconds since the Unix epoch. - */ - evaluated_at: number; + export interface MultiAccounting { + /** + * Time at which the signal was evaluated. Measured in seconds since the Unix epoch. + */ + evaluated_at: number; - /** - * The risk level for this signal. - */ - risk_level?: MultiAccounting.RiskLevel; + /** + * The risk level for this signal. + */ + risk_level?: MultiAccounting.RiskLevel; - /** - * Score for this signal (between 0.0 and 100.0). - */ - score: number; - } + /** + * Score for this signal (between 0.0 and 100.0). + */ + score: number; + } - export namespace AccountSharing { - export type RiskLevel = - | 'elevated' - | 'highest' - | 'low' - | 'normal' - | 'not_assessed' - | 'unknown'; - } + export namespace AccountSharing { + export type RiskLevel = + | 'elevated' + | 'highest' + | 'low' + | 'normal' + | 'not_assessed' + | 'unknown'; + } - export namespace MultiAccounting { - export type RiskLevel = - | 'elevated' - | 'highest' - | 'low' - | 'normal' - | 'not_assessed' - | 'unknown'; - } + export namespace MultiAccounting { + export type RiskLevel = + | 'elevated' + | 'highest' + | 'low' + | 'normal' + | 'not_assessed' + | 'unknown'; } } } diff --git a/src/resources/Radar/IssuingAuthorizationEvaluations.ts b/src/resources/Radar/IssuingAuthorizationEvaluations.ts index f7d021f92c..af9097d2b4 100644 --- a/src/resources/Radar/IssuingAuthorizationEvaluations.ts +++ b/src/resources/Radar/IssuingAuthorizationEvaluations.ts @@ -34,17 +34,17 @@ export interface IssuingAuthorizationEvaluation { /** * Details about the authorization. */ - authorization_details?: Radar.IssuingAuthorizationEvaluation.AuthorizationDetails; + authorization_details?: IssuingAuthorizationEvaluation.AuthorizationDetails; /** * Details about the card used in the authorization. */ - card_details?: Radar.IssuingAuthorizationEvaluation.CardDetails; + card_details?: IssuingAuthorizationEvaluation.CardDetails; /** * Details about the cardholder. */ - cardholder_details?: Radar.IssuingAuthorizationEvaluation.CardholderDetails | null; + cardholder_details?: IssuingAuthorizationEvaluation.CardholderDetails | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -54,7 +54,7 @@ export interface IssuingAuthorizationEvaluation { /** * Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened. */ - merchant_details?: Radar.IssuingAuthorizationEvaluation.MerchantDetails; + merchant_details?: IssuingAuthorizationEvaluation.MerchantDetails; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. @@ -64,297 +64,295 @@ export interface IssuingAuthorizationEvaluation { /** * Details about the authorization, such as identifiers, set by the card network. */ - network_details?: Radar.IssuingAuthorizationEvaluation.NetworkDetails | null; + network_details?: IssuingAuthorizationEvaluation.NetworkDetails | null; /** * Collection of fraud risk signals for this authorization evaluation. */ - signals: Radar.IssuingAuthorizationEvaluation.Signals; + signals: IssuingAuthorizationEvaluation.Signals; /** * Details about the token, if a tokenized payment method was used for the authorization. */ - token_details?: Radar.IssuingAuthorizationEvaluation.TokenDetails | null; + token_details?: IssuingAuthorizationEvaluation.TokenDetails | null; /** * Details about verification data for the authorization. */ - verification_details?: Radar.IssuingAuthorizationEvaluation.VerificationDetails | null; + verification_details?: IssuingAuthorizationEvaluation.VerificationDetails | null; } -export namespace Radar { - export namespace IssuingAuthorizationEvaluation { - export interface AuthorizationDetails { - /** - * The total amount of the authorization in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - amount: number; +export namespace IssuingAuthorizationEvaluation { + export interface AuthorizationDetails { + /** + * The total amount of the authorization in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). + */ + amount: number; - /** - * How the card details were provided. - */ - authorization_method: AuthorizationDetails.AuthorizationMethod | null; + /** + * How the card details were provided. + */ + authorization_method: AuthorizationDetails.AuthorizationMethod | null; - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; - /** - * Defines how the card's information was entered for the authorization. - */ - entry_mode: AuthorizationDetails.EntryMode | null; + /** + * Defines how the card's information was entered for the authorization. + */ + entry_mode: AuthorizationDetails.EntryMode | null; - /** - * Raw code indicating the entry mode from the network message. - */ - entry_mode_raw_code: string | null; + /** + * Raw code indicating the entry mode from the network message. + */ + entry_mode_raw_code: string | null; - /** - * The time the authorization was initiated, as a Unix timestamp in seconds. - */ - initiated_at: number; + /** + * The time the authorization was initiated, as a Unix timestamp in seconds. + */ + initiated_at: number; - /** - * Defines how the card was read at the point of sale. - */ - point_of_sale_condition: AuthorizationDetails.PointOfSaleCondition | null; + /** + * Defines how the card was read at the point of sale. + */ + point_of_sale_condition: AuthorizationDetails.PointOfSaleCondition | null; - /** - * Raw code indicating the point of sale condition from the network message. - */ - point_of_sale_condition_raw_code: string | null; + /** + * Raw code indicating the point of sale condition from the network message. + */ + point_of_sale_condition_raw_code: string | null; - /** - * User's specified unique ID for this authorization attempt (e.g., RRN or internal reference). - */ - reference: string; - } + /** + * User's specified unique ID for this authorization attempt (e.g., RRN or internal reference). + */ + reference: string; + } - export interface CardDetails { - /** - * The Bank Identification Number (BIN) of the card. - */ - bin: string; + export interface CardDetails { + /** + * The Bank Identification Number (BIN) of the card. + */ + bin: string; - /** - * The two-letter country code of the BIN issuer. - */ - bin_country: string; + /** + * The two-letter country code of the BIN issuer. + */ + bin_country: string; - /** - * The type of the card. - */ - card_type: CardDetails.CardType; + /** + * The type of the card. + */ + card_type: CardDetails.CardType; - /** - * The timestamp when the card was created, as a Unix timestamp in seconds. - */ - created_at: number; + /** + * The timestamp when the card was created, as a Unix timestamp in seconds. + */ + created_at: number; - /** - * The last 4 digits of the card number. - */ - last4: string; + /** + * The last 4 digits of the card number. + */ + last4: string; - /** - * User's specified unique ID of the card for this authorization attempt (e.g., RRN or internal reference). - */ - reference: string; - } + /** + * User's specified unique ID of the card for this authorization attempt (e.g., RRN or internal reference). + */ + reference: string; + } - export interface CardholderDetails { - /** - * The timestamp when the cardholder was created. - */ - created_at: number | null; + export interface CardholderDetails { + /** + * The timestamp when the cardholder was created. + */ + created_at: number | null; - /** - * User's specified unique ID of the cardholder for this authorization attempt (e.g., RRN or internal reference). - */ - reference: string | null; - } + /** + * User's specified unique ID of the cardholder for this authorization attempt (e.g., RRN or internal reference). + */ + reference: string | null; + } - export interface MerchantDetails { - /** - * The merchant category code for the seller's business. - */ - category_code: string; + export interface MerchantDetails { + /** + * The merchant category code for the seller's business. + */ + category_code: string; - /** - * Country where the seller is located. - */ - country: string | null; + /** + * Country where the seller is located. + */ + country: string | null; - /** - * Name of the seller. - */ - name: string; + /** + * Name of the seller. + */ + name: string; - /** - * Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant. - */ - network_id: string; + /** + * Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant. + */ + network_id: string; - /** - * An ID assigned by the seller to the location of the sale. - */ - terminal_id: string | null; - } + /** + * An ID assigned by the seller to the location of the sale. + */ + terminal_id: string | null; + } - export interface NetworkDetails { - /** - * Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be null. - */ - acquiring_institution_id: string | null; + export interface NetworkDetails { + /** + * Identifier assigned to the acquirer by the card network. Sometimes this value is not provided by the network; in this case, the value will be null. + */ + acquiring_institution_id: string | null; - /** - * The card network over which Stripe received the authorization. - */ - routed_network: NetworkDetails.RoutedNetwork | null; - } + /** + * The card network over which Stripe received the authorization. + */ + routed_network: NetworkDetails.RoutedNetwork | null; + } - export interface Signals { - /** - * A fraud risk signal with status, error, and data fields. - */ - fraud_risk: Signals.FraudRisk; - } + export interface Signals { + /** + * A fraud risk signal with status, error, and data fields. + */ + fraud_risk: Signals.FraudRisk; + } - export interface TokenDetails { - /** - * The timestamp when the network token was created. - */ - created_at: number | null; + export interface TokenDetails { + /** + * The timestamp when the network token was created. + */ + created_at: number | null; + + /** + * User's specified unique ID of the card token for this authorization attempt (e.g., RRN or internal reference). + */ + reference: string | null; + + /** + * The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. + */ + wallet: TokenDetails.Wallet | null; + } + + export interface VerificationDetails { + /** + * The outcome of the 3D Secure authentication request. + */ + three_d_secure_result: VerificationDetails.ThreeDSecureResult | null; + } + + export namespace AuthorizationDetails { + export type AuthorizationMethod = + | 'chip' + | 'contactless' + | 'keyed_in' + | 'online' + | 'swipe'; + + export type EntryMode = + | 'contactless' + | 'contactless_magstripe' + | 'credential_on_file' + | 'integrated_circuit_card' + | 'magstripe' + | 'magstripe_no_cvv' + | 'manual' + | 'other' + | 'unknown'; + + export type PointOfSaleCondition = + | 'account_verification' + | 'card_not_present' + | 'card_present' + | 'e_commerce' + | 'key_entered_pos' + | 'missing' + | 'moto' + | 'other' + | 'pin_entered' + | 'recurring'; + } + + export namespace CardDetails { + export type CardType = 'physical' | 'virtual'; + } + export namespace NetworkDetails { + export type RoutedNetwork = + | 'cirrus' + | 'interlink' + | 'maestro' + | 'mastercard' + | 'other' + | 'plus' + | 'visa'; + } + + export namespace Signals { + export interface FraudRisk { /** - * User's specified unique ID of the card token for this authorization attempt (e.g., RRN or internal reference). + * Signal evaluation data, including score and level. */ - reference: string | null; + data: FraudRisk.Data | null; /** - * The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. + * Details of an error that prevented reporting this signal. */ - wallet: TokenDetails.Wallet | null; - } + error: { + [key: string]: string; + } | null; - export interface VerificationDetails { /** - * The outcome of the 3D Secure authentication request. + * The status of this signal. */ - three_d_secure_result: VerificationDetails.ThreeDSecureResult | null; + status: FraudRisk.Status; } - export namespace AuthorizationDetails { - export type AuthorizationMethod = - | 'chip' - | 'contactless' - | 'keyed_in' - | 'online' - | 'swipe'; - - export type EntryMode = - | 'contactless' - | 'contactless_magstripe' - | 'credential_on_file' - | 'integrated_circuit_card' - | 'magstripe' - | 'magstripe_no_cvv' - | 'manual' - | 'other' - | 'unknown'; - - export type PointOfSaleCondition = - | 'account_verification' - | 'card_not_present' - | 'card_present' - | 'e_commerce' - | 'key_entered_pos' - | 'missing' - | 'moto' - | 'other' - | 'pin_entered' - | 'recurring'; - } - - export namespace CardDetails { - export type CardType = 'physical' | 'virtual'; - } - - export namespace NetworkDetails { - export type RoutedNetwork = - | 'cirrus' - | 'interlink' - | 'maestro' - | 'mastercard' - | 'other' - | 'plus' - | 'visa'; - } - - export namespace Signals { - export interface FraudRisk { + export namespace FraudRisk { + export interface Data { /** - * Signal evaluation data, including score and level. + * The time when this signal was evaluated. */ - data: FraudRisk.Data | null; + evaluated_at: number; /** - * Details of an error that prevented reporting this signal. + * Risk level, based on the score. */ - error: { - [key: string]: string; - } | null; + level: Data.Level; /** - * The status of this signal. + * Fraud risk score for this evaluation. Score in the range [0,100], formatted as a 2 decimal float, with higher scores indicating a higher likelihood of fraud. */ - status: FraudRisk.Status; + score: number; } - export namespace FraudRisk { - export interface Data { - /** - * The time when this signal was evaluated. - */ - evaluated_at: number; - - /** - * Risk level, based on the score. - */ - level: Data.Level; - - /** - * Fraud risk score for this evaluation. Score in the range [0,100], formatted as a 2 decimal float, with higher scores indicating a higher likelihood of fraud. - */ - score: number; - } - - export type Status = 'error' | 'success'; - - export namespace Data { - export type Level = - | 'elevated' - | 'highest' - | 'low' - | 'normal' - | 'not_assessed' - | 'unknown'; - } + export type Status = 'error' | 'success'; + + export namespace Data { + export type Level = + | 'elevated' + | 'highest' + | 'low' + | 'normal' + | 'not_assessed' + | 'unknown'; } } + } - export namespace TokenDetails { - export type Wallet = 'apple_pay' | 'google_pay' | 'samsung_pay'; - } + export namespace TokenDetails { + export type Wallet = 'apple_pay' | 'google_pay' | 'samsung_pay'; + } - export namespace VerificationDetails { - export type ThreeDSecureResult = - | 'attempt_acknowledged' - | 'authenticated' - | 'exempted' - | 'failed' - | 'required'; - } + export namespace VerificationDetails { + export type ThreeDSecureResult = + | 'attempt_acknowledged' + | 'authenticated' + | 'exempted' + | 'failed' + | 'required'; } } export namespace Radar { diff --git a/src/resources/Radar/PaymentEvaluations.ts b/src/resources/Radar/PaymentEvaluations.ts index f752072fad..a47b411d20 100644 --- a/src/resources/Radar/PaymentEvaluations.ts +++ b/src/resources/Radar/PaymentEvaluations.ts @@ -82,19 +82,18 @@ export interface PaymentEvaluation { */ signals: PaymentEvaluation.Signals; } -export namespace Radar { - export namespace PaymentEvaluation { - export interface ClientDeviceMetadataDetails { - /** - * Direct client device attributes such as IP address and user agent. Use this as an alternative to radar_session when a Radar Session isn't available. - */ - data?: ClientDeviceMetadataDetails.Data | null; +export namespace PaymentEvaluation { + export interface ClientDeviceMetadataDetails { + /** + * Direct client device attributes such as IP address and user agent. Use this as an alternative to radar_session when a Radar Session isn't available. + */ + data?: ClientDeviceMetadataDetails.Data | null; - /** - * ID for the Radar Session associated with the payment evaluation. A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. - */ - radar_session: string | null; - } + /** + * ID for the Radar Session associated with the payment evaluation. A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + */ + radar_session: string | null; + } export interface CustomerDetails { /** @@ -233,6 +232,39 @@ export namespace Radar { fraudulent_payment: Signals.FraudulentPayment; } + export namespace ClientDeviceMetadataDetails { + export interface Data { + /** + * The IP address of the client device. + */ + ip: string; + + /** + * Pasted fields from the checkout flow. + */ + pasted_fields: Array | null; + + /** + * The referrer of the client device. + */ + referrer: string | null; + + /** + * The time on page in milliseconds. + */ + time_on_page_ms: number | null; + + /** + * The user agent of the client device. + */ + user_agent: string; + } + + export namespace Data { + export type PastedField = 'cvc' | 'exp' | 'number' | 'other' | 'zip'; + } + } + export namespace Event { export interface DisputeOpened { /** @@ -258,45 +290,11 @@ export namespace Radar { fraud_type: EarlyFraudWarningReceived.FraudType; } - export namespace ClientDeviceMetadataDetails { - export interface Data { - /** - * The IP address of the client device. - */ - ip: string; - - /** - * Pasted fields from the checkout flow. - */ - pasted_fields: Array | null; - - /** - * The referrer of the client device. - */ - referrer: string | null; - - /** - * The time on page in milliseconds. - */ - time_on_page_ms: number | null; - - /** - * The user agent of the client device. - */ - user_agent: string; - } - - export namespace Data { - export type PastedField = 'cvc' | 'exp' | 'number' | 'other' | 'zip'; - } - } - - export namespace Event { - export interface DisputeOpened { - /** - * Amount to dispute for this payment. A positive integer representing how much to charge in [the smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency). - */ - amount: number; + export interface Refunded { + /** + * Amount refunded for this payment. A positive integer representing how much to charge in [the smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency). + */ + amount: number; /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). diff --git a/src/resources/Radar/index.ts b/src/resources/Radar/index.ts index f30f75ede7..60013b4f91 100644 --- a/src/resources/Radar/index.ts +++ b/src/resources/Radar/index.ts @@ -93,13 +93,13 @@ export declare namespace Radar { export import ValueListUpdateParams = RadarNamespace5.ValueListUpdateParams; export import ValueListListParams = RadarNamespace5.ValueListListParams; export import ValueListCreateParams = RadarNamespace5.ValueListCreateParams; - export import DeletedValueList = RadarNamespace5.DeletedValueList; + export {DeletedValueList}; export {ValueList, ValueListResource}; export import ValueListItemDeleteParams = RadarNamespace6.ValueListItemDeleteParams; export import ValueListItemRetrieveParams = RadarNamespace6.ValueListItemRetrieveParams; export import ValueListItemListParams = RadarNamespace6.ValueListItemListParams; export import ValueListItemCreateParams = RadarNamespace6.ValueListItemCreateParams; export import ValueListItemSerializeBatchCreateParams = RadarNamespace6.ValueListItemSerializeBatchCreateParams; - export import DeletedValueListItem = RadarNamespace6.DeletedValueListItem; + export {DeletedValueListItem}; export {ValueListItem, ValueListItemResource}; } diff --git a/src/resources/SharedPayment/GrantedTokens.ts b/src/resources/SharedPayment/GrantedTokens.ts index d5d30cbd5a..2ed8665211 100644 --- a/src/resources/SharedPayment/GrantedTokens.ts +++ b/src/resources/SharedPayment/GrantedTokens.ts @@ -38,7 +38,7 @@ export interface GrantedToken { /** * Details about the agent that issued this SharedPaymentGrantedToken. */ - agent_details: SharedPayment.GrantedToken.AgentDetails | null; + agent_details: GrantedToken.AgentDetails | null; /** * Time at which the object was created. Measured in seconds since the Unix epoch. @@ -53,7 +53,7 @@ export interface GrantedToken { /** * The reason why the SharedPaymentGrantedToken has been deactivated. */ - deactivated_reason: SharedPayment.GrantedToken.DeactivatedReason | null; + deactivated_reason: GrantedToken.DeactivatedReason | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -63,12 +63,12 @@ export interface GrantedToken { /** * Details of the PaymentMethod that was shared via this token. */ - payment_method_details: SharedPayment.GrantedToken.PaymentMethodDetails | null; + payment_method_details: GrantedToken.PaymentMethodDetails | null; /** * Risk details of the SharedPaymentGrantedToken. */ - risk_details?: SharedPayment.GrantedToken.RiskDetails | null; + risk_details?: GrantedToken.RiskDetails | null; /** * Metadata about the SharedPaymentGrantedToken. @@ -80,1601 +80,1599 @@ export interface GrantedToken { /** * Some details about how the SharedPaymentGrantedToken has been used already. */ - usage_details: SharedPayment.GrantedToken.UsageDetails | null; + usage_details: GrantedToken.UsageDetails | null; /** * Limits on how this SharedPaymentGrantedToken can be used. */ - usage_limits: SharedPayment.GrantedToken.UsageLimits | null; + usage_limits: GrantedToken.UsageLimits | null; } -export namespace SharedPayment { - export namespace GrantedToken { - export interface AgentDetails { - /** - * The Stripe Profile ID of the agent that issued this SharedPaymentGrantedToken. - */ - network_business_profile: string | null; - } +export namespace GrantedToken { + export interface AgentDetails { + /** + * The Stripe Profile ID of the agent that issued this SharedPaymentGrantedToken. + */ + network_business_profile: string | null; + } - export type DeactivatedReason = - | 'consumed' - | 'expired' - | 'resolved' - | 'revoked'; + export type DeactivatedReason = + | 'consumed' + | 'expired' + | 'resolved' + | 'revoked'; - export interface PaymentMethodDetails { - acss_debit?: PaymentMethodDetails.AcssDebit; + export interface PaymentMethodDetails { + acss_debit?: PaymentMethodDetails.AcssDebit; - affirm?: PaymentMethodDetails.Affirm; + affirm?: PaymentMethodDetails.Affirm; - afterpay_clearpay?: PaymentMethodDetails.AfterpayClearpay; + afterpay_clearpay?: PaymentMethodDetails.AfterpayClearpay; - alipay?: PaymentMethodDetails.Alipay; + alipay?: PaymentMethodDetails.Alipay; - alma?: PaymentMethodDetails.Alma; + alma?: PaymentMethodDetails.Alma; - amazon_pay?: PaymentMethodDetails.AmazonPay; + amazon_pay?: PaymentMethodDetails.AmazonPay; - au_becs_debit?: PaymentMethodDetails.AuBecsDebit; + au_becs_debit?: PaymentMethodDetails.AuBecsDebit; - bacs_debit?: PaymentMethodDetails.BacsDebit; + bacs_debit?: PaymentMethodDetails.BacsDebit; - bancontact?: PaymentMethodDetails.Bancontact; + bancontact?: PaymentMethodDetails.Bancontact; - billie?: PaymentMethodDetails.Billie; + billie?: PaymentMethodDetails.Billie; - /** - * Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. - */ - billing_details: PaymentMethodDetails.BillingDetails | null; + /** + * Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + */ + billing_details: PaymentMethodDetails.BillingDetails | null; + + bizum?: PaymentMethodDetails.Bizum; + + blik?: PaymentMethodDetails.Blik; + + boleto?: PaymentMethodDetails.Boleto; + + card?: PaymentMethodDetails.Card; + + card_present?: PaymentMethodDetails.CardPresent; - bizum?: PaymentMethodDetails.Bizum; + cashapp?: PaymentMethodDetails.Cashapp; - blik?: PaymentMethodDetails.Blik; + crypto?: PaymentMethodDetails.Crypto; - boleto?: PaymentMethodDetails.Boleto; + customer_balance?: PaymentMethodDetails.CustomerBalance; - card?: PaymentMethodDetails.Card; + eps?: PaymentMethodDetails.Eps; - card_present?: PaymentMethodDetails.CardPresent; + fpx?: PaymentMethodDetails.Fpx; - cashapp?: PaymentMethodDetails.Cashapp; + gift_card?: PaymentMethodDetails.GiftCard; - crypto?: PaymentMethodDetails.Crypto; + giropay?: PaymentMethodDetails.Giropay; - customer_balance?: PaymentMethodDetails.CustomerBalance; + gopay?: PaymentMethodDetails.Gopay; - eps?: PaymentMethodDetails.Eps; + grabpay?: PaymentMethodDetails.Grabpay; - fpx?: PaymentMethodDetails.Fpx; + id_bank_transfer?: PaymentMethodDetails.IdBankTransfer; - gift_card?: PaymentMethodDetails.GiftCard; + ideal?: PaymentMethodDetails.Ideal; - giropay?: PaymentMethodDetails.Giropay; + interac_present?: PaymentMethodDetails.InteracPresent; - gopay?: PaymentMethodDetails.Gopay; + kakao_pay?: PaymentMethodDetails.KakaoPay; - grabpay?: PaymentMethodDetails.Grabpay; + klarna?: PaymentMethodDetails.Klarna; - id_bank_transfer?: PaymentMethodDetails.IdBankTransfer; + konbini?: PaymentMethodDetails.Konbini; - ideal?: PaymentMethodDetails.Ideal; + kr_card?: PaymentMethodDetails.KrCard; - interac_present?: PaymentMethodDetails.InteracPresent; + link?: PaymentMethodDetails.Link; - kakao_pay?: PaymentMethodDetails.KakaoPay; + mb_way?: PaymentMethodDetails.MbWay; - klarna?: PaymentMethodDetails.Klarna; + mobilepay?: PaymentMethodDetails.Mobilepay; - konbini?: PaymentMethodDetails.Konbini; + multibanco?: PaymentMethodDetails.Multibanco; - kr_card?: PaymentMethodDetails.KrCard; + naver_pay?: PaymentMethodDetails.NaverPay; - link?: PaymentMethodDetails.Link; + nz_bank_account?: PaymentMethodDetails.NzBankAccount; - mb_way?: PaymentMethodDetails.MbWay; + oxxo?: PaymentMethodDetails.Oxxo; - mobilepay?: PaymentMethodDetails.Mobilepay; + p24?: PaymentMethodDetails.P24; - multibanco?: PaymentMethodDetails.Multibanco; + pay_by_bank?: PaymentMethodDetails.PayByBank; - naver_pay?: PaymentMethodDetails.NaverPay; + payco?: PaymentMethodDetails.Payco; - nz_bank_account?: PaymentMethodDetails.NzBankAccount; + paynow?: PaymentMethodDetails.Paynow; - oxxo?: PaymentMethodDetails.Oxxo; + paypal?: PaymentMethodDetails.Paypal; - p24?: PaymentMethodDetails.P24; + paypay?: PaymentMethodDetails.Paypay; - pay_by_bank?: PaymentMethodDetails.PayByBank; + payto?: PaymentMethodDetails.Payto; - payco?: PaymentMethodDetails.Payco; + pix?: PaymentMethodDetails.Pix; - paynow?: PaymentMethodDetails.Paynow; + promptpay?: PaymentMethodDetails.Promptpay; - paypal?: PaymentMethodDetails.Paypal; + qris?: PaymentMethodDetails.Qris; - paypay?: PaymentMethodDetails.Paypay; + rechnung?: PaymentMethodDetails.Rechnung; - payto?: PaymentMethodDetails.Payto; + revolut_pay?: PaymentMethodDetails.RevolutPay; - pix?: PaymentMethodDetails.Pix; + samsung_pay?: PaymentMethodDetails.SamsungPay; - promptpay?: PaymentMethodDetails.Promptpay; + satispay?: PaymentMethodDetails.Satispay; - qris?: PaymentMethodDetails.Qris; + scalapay?: PaymentMethodDetails.Scalapay; - rechnung?: PaymentMethodDetails.Rechnung; + sepa_debit?: PaymentMethodDetails.SepaDebit; - revolut_pay?: PaymentMethodDetails.RevolutPay; + shopeepay?: PaymentMethodDetails.Shopeepay; - samsung_pay?: PaymentMethodDetails.SamsungPay; + sofort?: PaymentMethodDetails.Sofort; - satispay?: PaymentMethodDetails.Satispay; + stripe_balance?: PaymentMethodDetails.StripeBalance; - scalapay?: PaymentMethodDetails.Scalapay; + sunbit?: PaymentMethodDetails.Sunbit; - sepa_debit?: PaymentMethodDetails.SepaDebit; + swish?: PaymentMethodDetails.Swish; - shopeepay?: PaymentMethodDetails.Shopeepay; + tamara?: PaymentMethodDetails.Tamara; - sofort?: PaymentMethodDetails.Sofort; + twint?: PaymentMethodDetails.Twint; + + /** + * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + */ + type: PaymentMethodDetails.Type; + + upi?: PaymentMethodDetails.Upi; + + us_bank_account?: PaymentMethodDetails.UsBankAccount; + + wechat_pay?: PaymentMethodDetails.WechatPay; + + zip?: PaymentMethodDetails.Zip; + } + + export interface RiskDetails { + /** + * Risk insights for this token, including scores and recommended actions for each risk type. + */ + insights: RiskDetails.Insights; + } + + export interface UsageDetails { + /** + * The total amount captured using this SharedPaymentToken. + */ + amount_captured: UsageDetails.AmountCaptured | null; + } - stripe_balance?: PaymentMethodDetails.StripeBalance; + export interface UsageLimits { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; - sunbit?: PaymentMethodDetails.Sunbit; + /** + * Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent. + */ + expires_at: number | null; - swish?: PaymentMethodDetails.Swish; + /** + * Max amount that can be captured using this SharedPaymentToken. + */ + max_amount: number; - tamara?: PaymentMethodDetails.Tamara; + /** + * The recurring interval at which the shared payment token's amount usage restrictions reset. + */ + recurring_interval?: UsageLimits.RecurringInterval | null; + } - twint?: PaymentMethodDetails.Twint; + export namespace PaymentMethodDetails { + export interface AcssDebit { + /** + * Account number of the bank account. + */ + account_number?: string | null; /** - * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + * Name of the bank associated with the bank account. */ - type: PaymentMethodDetails.Type; + bank_name: string | null; - upi?: PaymentMethodDetails.Upi; + /** + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + */ + fingerprint: string | null; - us_bank_account?: PaymentMethodDetails.UsBankAccount; + /** + * Institution number of the bank account. + */ + institution_number: string | null; - wechat_pay?: PaymentMethodDetails.WechatPay; + /** + * Last four digits of the bank account number. + */ + last4: string | null; - zip?: PaymentMethodDetails.Zip; + /** + * Transit number of the bank account. + */ + transit_number: string | null; } - export interface RiskDetails { + export interface Affirm {} + + export interface AfterpayClearpay {} + + export interface Alipay {} + + export interface Alma {} + + export interface AmazonPay {} + + export interface AuBecsDebit { + /** + * Six-digit number identifying bank and branch associated with this bank account. + */ + bsb_number: string | null; + + /** + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + */ + fingerprint: string | null; + /** - * Risk insights for this token, including scores and recommended actions for each risk type. + * Last four digits of the bank account number. */ - insights: RiskDetails.Insights; + last4: string | null; } - export interface UsageDetails { + export interface BacsDebit { /** - * The total amount captured using this SharedPaymentToken. + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. */ - amount_captured: UsageDetails.AmountCaptured | null; + fingerprint: string | null; + + /** + * Last four digits of the bank account number. + */ + last4: string | null; + + /** + * Sort code of the bank account. (e.g., `10-20-30`) + */ + sort_code: string | null; } - export interface UsageLimits { + export interface Bancontact {} + + export interface Billie {} + + export interface BillingDetails { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * Billing address. */ - currency: string; + address: Address | null; + + /** + * Email address. + */ + email: string | null; /** - * Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent. + * Full name. */ - expires_at: number | null; + name: string | null; /** - * Max amount that can be captured using this SharedPaymentToken. + * Billing phone number (including extension). */ - max_amount: number; + phone: string | null; /** - * The recurring interval at which the shared payment token's amount usage restrictions reset. + * Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. */ - recurring_interval?: UsageLimits.RecurringInterval | null; + tax_id: string | null; } - export namespace PaymentMethodDetails { - export interface AcssDebit { - /** - * Account number of the bank account. - */ - account_number?: string | null; + export interface Bizum {} - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; + export interface Blik {} - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; + export interface Boleto { + /** + * Uniquely identifies the customer tax id (CNPJ or CPF) + */ + tax_id: string; + } - /** - * Institution number of the bank account. - */ - institution_number: string | null; + export interface Card { + /** + * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. + */ + brand: string; - /** - * Last four digits of the bank account number. - */ - last4: string | null; + /** + * Checks on Card address and CVC if provided. + */ + checks?: Card.Checks | null; - /** - * Transit number of the bank account. - */ - transit_number: string | null; - } + /** + * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. + */ + country: string | null; - export interface Affirm {} + /** + * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) + */ + description?: string | null; - export interface AfterpayClearpay {} + /** + * The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future. + */ + display_brand: string | null; - export interface Alipay {} + /** + * Two-digit number representing the card's expiration month. + */ + exp_month: number; - export interface Alma {} + /** + * Four-digit number representing the card's expiration year. + */ + exp_year: number; - export interface AmazonPay {} + /** + * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.* + */ + fingerprint?: string | null; - export interface AuBecsDebit { - /** - * Six-digit number identifying bank and branch associated with this bank account. - */ - bsb_number: string | null; + /** + * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. + */ + funding: string; - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; + /** + * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) + */ + iin?: string | null; - /** - * Last four digits of the bank account number. - */ - last4: string | null; - } + /** + * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) + */ + issuer?: string | null; - export interface BacsDebit { - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; + /** + * The last four digits of the card. + */ + last4: string; - /** - * Last four digits of the bank account number. - */ - last4: string | null; + /** + * Contains information about card networks that can be used to process the payment. + */ + networks: Card.Networks | null; - /** - * Sort code of the bank account. (e.g., `10-20-30`) - */ - sort_code: string | null; - } + /** + * If this Card is part of a card wallet, this contains the details of the card wallet. + */ + wallet: Card.Wallet | null; + } - export interface Bancontact {} + export interface CardPresent { + /** + * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. + */ + brand: string | null; - export interface Billie {} + /** + * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. + */ + brand_product: string | null; - export interface BillingDetails { - /** - * Billing address. - */ - address: Address | null; + /** + * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay. + */ + cardholder_name: string | null; - /** - * Email address. - */ - email: string | null; + /** + * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. + */ + country: string | null; - /** - * Full name. - */ - name: string | null; + /** + * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) + */ + description?: string | null; - /** - * Billing phone number (including extension). - */ - phone: string | null; + /** + * Two-digit number representing the card's expiration month. + */ + exp_month: number; - /** - * Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. - */ - tax_id: string | null; - } + /** + * Four-digit number representing the card's expiration year. + */ + exp_year: number; - export interface Bizum {} + /** + * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.* + */ + fingerprint: string | null; - export interface Blik {} + /** + * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. + */ + funding: string | null; - export interface Boleto { - /** - * Uniquely identifies the customer tax id (CNPJ or CPF) - */ - tax_id: string; - } + /** + * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) + */ + iin?: string | null; - export interface Card { - /** - * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. - */ - brand: string; + /** + * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) + */ + issuer?: string | null; - /** - * Checks on Card address and CVC if provided. - */ - checks?: Card.Checks | null; + /** + * The last four digits of the card. + */ + last4: string | null; - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; + /** + * Contains information about card networks that can be used to process the payment. + */ + networks: CardPresent.Networks | null; - /** - * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) - */ - description?: string | null; + /** + * Details about payment methods collected offline. + */ + offline: CardPresent.Offline | null; - /** - * The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future. - */ - display_brand: string | null; + /** + * The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip. + */ + preferred_locales: Array | null; - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; + /** + * How card details were read in this transaction. + */ + read_method: CardPresent.ReadMethod | null; - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; + wallet?: CardPresent.Wallet; + } - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - * - * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.* - */ - fingerprint?: string | null; + export interface Cashapp { + /** + * A unique and immutable identifier assigned by Cash App to every buyer. + */ + buyer_id: string | null; - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: string; + /** + * A public identifier for buyers using Cash App. + */ + cashtag: string | null; + } - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string | null; + export interface Crypto {} - /** - * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) - */ - issuer?: string | null; + export interface CustomerBalance {} - /** - * The last four digits of the card. - */ - last4: string; + export interface Eps { + /** + * The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. + */ + bank: Eps.Bank | null; + } - /** - * Contains information about card networks that can be used to process the payment. - */ - networks: Card.Networks | null; + export interface Fpx { + /** + * Account holder type, if provided. Can be one of `individual` or `company`. + */ + account_holder_type: Fpx.AccountHolderType | null; - /** - * If this Card is part of a card wallet, this contains the details of the card wallet. - */ - wallet: Card.Wallet | null; - } + /** + * The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`. + */ + bank: Fpx.Bank; + } - export interface CardPresent { - /** - * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`. - */ - brand: string | null; + export interface GiftCard { + /** + * The brand of the gift card. + */ + brand: GiftCard.Brand; - /** - * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. - */ - brand_product: string | null; + /** + * The expiration month of the gift card. + */ + exp_month: number | null; - /** - * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay. - */ - cardholder_name: string | null; + /** + * The expiration year of the gift card. + */ + exp_year: number | null; - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; + /** + * Uniquely identifies the gift card. + */ + fingerprint?: string; - /** - * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) - */ - description?: string | null; + /** + * The last four digits of the gift card number. + */ + last4: string | null; + } - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; + export interface Giropay {} - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; + export interface Gopay {} - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - * - * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.* - */ - fingerprint: string | null; + export interface Grabpay {} - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: string | null; + export interface IdBankTransfer { + bank: IdBankTransfer.Bank | null; - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string | null; + bank_code: string | null; - /** - * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) - */ - issuer?: string | null; + bank_name: string | null; - /** - * The last four digits of the card. - */ - last4: string | null; + display_name: string | null; + } - /** - * Contains information about card networks that can be used to process the payment. - */ - networks: CardPresent.Networks | null; + export interface Ideal { + /** + * The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. + */ + bank: Ideal.Bank | null; - /** - * Details about payment methods collected offline. - */ - offline: CardPresent.Offline | null; + /** + * The Bank Identifier Code of the customer's bank, if the bank was provided. + */ + bic: Ideal.Bic | null; + } - /** - * The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip. - */ - preferred_locales: Array | null; + export interface InteracPresent { + /** + * Card brand. Can be `interac`, `mastercard` or `visa`. + */ + brand: string | null; - /** - * How card details were read in this transaction. - */ - read_method: CardPresent.ReadMethod | null; + /** + * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay. + */ + cardholder_name: string | null; - wallet?: CardPresent.Wallet; - } + /** + * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. + */ + country: string | null; - export interface Cashapp { - /** - * A unique and immutable identifier assigned by Cash App to every buyer. - */ - buyer_id: string | null; + /** + * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) + */ + description?: string | null; - /** - * A public identifier for buyers using Cash App. - */ - cashtag: string | null; - } + /** + * Two-digit number representing the card's expiration month. + */ + exp_month: number; - export interface Crypto {} + /** + * Four-digit number representing the card's expiration year. + */ + exp_year: number; - export interface CustomerBalance {} + /** + * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * + * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.* + */ + fingerprint: string | null; - export interface Eps { - /** - * The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`. - */ - bank: Eps.Bank | null; - } + /** + * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. + */ + funding: string | null; - export interface Fpx { - /** - * Account holder type, if provided. Can be one of `individual` or `company`. - */ - account_holder_type: Fpx.AccountHolderType | null; + /** + * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) + */ + iin?: string | null; - /** - * The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`. - */ - bank: Fpx.Bank; - } + /** + * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) + */ + issuer?: string | null; - export interface GiftCard { - /** - * The brand of the gift card. - */ - brand: GiftCard.Brand; + /** + * The last four digits of the card. + */ + last4: string | null; - /** - * The expiration month of the gift card. - */ - exp_month: number | null; + /** + * Contains information about card networks that can be used to process the payment. + */ + networks: InteracPresent.Networks | null; - /** - * The expiration year of the gift card. - */ - exp_year: number | null; + /** + * The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip. + */ + preferred_locales: Array | null; - /** - * Uniquely identifies the gift card. - */ - fingerprint?: string; + /** + * How card details were read in this transaction. + */ + read_method: InteracPresent.ReadMethod | null; + } - /** - * The last four digits of the gift card number. - */ - last4: string | null; - } + export interface KakaoPay {} - export interface Giropay {} + export interface Klarna { + /** + * The customer's date of birth, if provided. + */ + dob?: Klarna.Dob | null; + } - export interface Gopay {} + export interface Konbini {} - export interface Grabpay {} + export interface KrCard { + /** + * The local credit or debit card brand. + */ + brand: KrCard.Brand | null; - export interface IdBankTransfer { - bank: IdBankTransfer.Bank | null; + /** + * The last four digits of the card. This may not be present for American Express cards. + */ + last4: string | null; + } - bank_code: string | null; + export interface Link { + /** + * Account owner's email address. + */ + email: string | null; - bank_name: string | null; + /** + * [Deprecated] This is a legacy parameter that no longer has any function. + * @deprecated + */ + persistent_token?: string; + } - display_name: string | null; - } + export interface MbWay {} - export interface Ideal { - /** - * The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. - */ - bank: Ideal.Bank | null; + export interface Mobilepay {} - /** - * The Bank Identifier Code of the customer's bank, if the bank was provided. - */ - bic: Ideal.Bic | null; - } + export interface Multibanco {} - export interface InteracPresent { - /** - * Card brand. Can be `interac`, `mastercard` or `visa`. - */ - brand: string | null; + export interface NaverPay { + /** + * Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. + */ + buyer_id: string | null; - /** - * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay. - */ - cardholder_name: string | null; + /** + * Whether to fund this transaction with Naver Pay points or a card. + */ + funding: NaverPay.Funding; + } - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; + export interface NzBankAccount { + /** + * The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + */ + account_holder_name: string | null; - /** - * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) - */ - description?: string | null; + /** + * The numeric code for the bank account's bank. + */ + bank_code: string; - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; + /** + * The name of the bank. + */ + bank_name: string; - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; + /** + * The numeric code for the bank account's bank branch. + */ + branch_code: string; - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - * - * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.* - */ - fingerprint: string | null; + /** + * Last four digits of the bank account number. + */ + last4: string; - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: string | null; + /** + * The suffix of the bank account number. + */ + suffix: string | null; + } - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string | null; + export interface Oxxo {} - /** - * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) - */ - issuer?: string | null; + export interface P24 { + /** + * The customer's bank, if provided. + */ + bank: P24.Bank | null; + } - /** - * The last four digits of the card. - */ - last4: string | null; + export interface PayByBank {} - /** - * Contains information about card networks that can be used to process the payment. - */ - networks: InteracPresent.Networks | null; + export interface Payco {} - /** - * The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip. - */ - preferred_locales: Array | null; + export interface Paynow {} - /** - * How card details were read in this transaction. - */ - read_method: InteracPresent.ReadMethod | null; - } + export interface Paypal { + /** + * Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + country: string | null; - export interface KakaoPay {} + /** + * Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same. + */ + fingerprint?: string | null; - export interface Klarna { - /** - * The customer's date of birth, if provided. - */ - dob?: Klarna.Dob | null; - } + /** + * Owner's email. Values are provided by PayPal directly + * (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + payer_email: string | null; - export interface Konbini {} + /** + * PayPal account PayerID. This identifier uniquely identifies the PayPal customer. + */ + payer_id: string | null; - export interface KrCard { - /** - * The local credit or debit card brand. - */ - brand: KrCard.Brand | null; + /** + * Owner's verified email. Values are verified or provided by PayPal directly + * (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + verified_email?: string | null; + } - /** - * The last four digits of the card. This may not be present for American Express cards. - */ - last4: string | null; - } + export interface Paypay {} - export interface Link { - /** - * Account owner's email address. - */ - email: string | null; + export interface Payto { + /** + * Bank-State-Branch number of the bank account. + */ + bsb_number: string | null; - /** - * [Deprecated] This is a legacy parameter that no longer has any function. - * @deprecated - */ - persistent_token?: string; - } + /** + * Last four digits of the bank account number. + */ + last4: string | null; - export interface MbWay {} + /** + * The PayID alias for the bank account. + */ + pay_id: string | null; + } - export interface Mobilepay {} + export interface Pix {} - export interface Multibanco {} + export interface Promptpay {} - export interface NaverPay { - /** - * Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same. - */ - buyer_id: string | null; + export interface Qris {} + + export interface Rechnung { + dob?: Rechnung.Dob; + } + + export interface RevolutPay {} + + export interface SamsungPay {} + + export interface Satispay {} + + export interface Scalapay {} + + export interface SepaDebit { + /** + * Bank code of bank associated with the bank account. + */ + bank_code: string | null; + + /** + * Branch code of bank associated with the bank account. + */ + branch_code: string | null; + + /** + * Two-letter ISO code representing the country the bank account is located in. + */ + country: string | null; + + /** + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + */ + fingerprint: string | null; + + /** + * Information about the object that generated this PaymentMethod. + */ + generated_from: SepaDebit.GeneratedFrom | null; + + /** + * Last four characters of the IBAN. + */ + last4: string | null; + } + + export interface Shopeepay {} + + export interface Sofort { + /** + * Two-letter ISO code representing the country the bank account is located in. + */ + country: string | null; + } + + export interface StripeBalance { + /** + * The connected account ID whose Stripe balance to use as the source of payment + */ + account?: string | null; + } + + export interface Sunbit {} + + export interface Swish {} + + export interface Tamara {} + + export interface Twint {} + + export type Type = + | 'acss_debit' + | 'affirm' + | 'afterpay_clearpay' + | 'alipay' + | 'alma' + | 'amazon_pay' + | 'au_becs_debit' + | 'bacs_debit' + | 'bancontact' + | 'billie' + | 'bizum' + | 'blik' + | 'boleto' + | 'card' + | 'card_present' + | 'cashapp' + | 'crypto' + | 'custom' + | 'customer_balance' + | 'eps' + | 'fpx' + | 'gift_card' + | 'giropay' + | 'gopay' + | 'grabpay' + | 'id_bank_transfer' + | 'ideal' + | 'interac_present' + | 'kakao_pay' + | 'klarna' + | 'konbini' + | 'kr_card' + | 'link' + | 'mb_way' + | 'mobilepay' + | 'multibanco' + | 'naver_pay' + | 'nz_bank_account' + | 'oxxo' + | 'p24' + | 'pay_by_bank' + | 'payco' + | 'paynow' + | 'paypal' + | 'paypay' + | 'payto' + | 'pix' + | 'promptpay' + | 'qris' + | 'rechnung' + | 'revolut_pay' + | 'samsung_pay' + | 'satispay' + | 'scalapay' + | 'sepa_debit' + | 'shopeepay' + | 'sofort' + | 'stripe_balance' + | 'sunbit' + | 'swish' + | 'tamara' + | 'twint' + | 'upi' + | 'us_bank_account' + | 'wechat_pay' + | 'zip'; + + export interface Upi { + /** + * Customer's unique Virtual Payment Address + */ + vpa: string | null; + } + + export interface UsBankAccount { + /** + * Account holder type: individual or company. + */ + account_holder_type: UsBankAccount.AccountHolderType | null; + + /** + * Account number of the bank account. + */ + account_number?: string | null; + + /** + * Account type: checkings or savings. Defaults to checking if omitted. + */ + account_type: UsBankAccount.AccountType | null; + + /** + * The name of the bank. + */ + bank_name: string | null; + + /** + * The ID of the Financial Connections Account used to create the payment method. + */ + financial_connections_account: string | null; + + /** + * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + */ + fingerprint: string | null; + + /** + * Last four digits of the bank account number. + */ + last4: string | null; + + /** + * Contains information about US bank account networks that can be used. + */ + networks: UsBankAccount.Networks | null; + + /** + * Routing number of the bank account. + */ + routing_number: string | null; + + /** + * Contains information about the future reusability of this PaymentMethod. + */ + status_details: UsBankAccount.StatusDetails | null; + } - /** - * Whether to fund this transaction with Naver Pay points or a card. - */ - funding: NaverPay.Funding; - } + export interface WechatPay {} - export interface NzBankAccount { - /** - * The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. - */ - account_holder_name: string | null; + export interface Zip {} + export namespace Card { + export interface Checks { /** - * The numeric code for the bank account's bank. + * If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. */ - bank_code: string; + address_line1_check: string | null; /** - * The name of the bank. + * If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. */ - bank_name: string; + address_postal_code_check: string | null; /** - * The numeric code for the bank account's bank branch. + * If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. */ - branch_code: string; + cvc_check: string | null; + } + export interface Networks { /** - * Last four digits of the bank account number. + * All networks available for selection via [payment_method_options.card.network](https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). */ - last4: string; + available: Array; /** - * The suffix of the bank account number. + * The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card. */ - suffix: string | null; + preferred: string | null; } - export interface Oxxo {} + export interface Wallet { + amex_express_checkout?: Wallet.AmexExpressCheckout; + + apple_pay?: Wallet.ApplePay; - export interface P24 { /** - * The customer's bank, if provided. + * (For tokenized numbers only.) The last four digits of the device account number. */ - bank: P24.Bank | null; - } - - export interface PayByBank {} - - export interface Payco {} + dynamic_last4: string | null; - export interface Paynow {} + google_pay?: Wallet.GooglePay; - export interface Paypal { - /** - * Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - country: string | null; + link?: Wallet.Link; - /** - * Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same. - */ - fingerprint?: string | null; + masterpass?: Wallet.Masterpass; - /** - * Owner's email. Values are provided by PayPal directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - payer_email: string | null; + samsung_pay?: Wallet.SamsungPay; /** - * PayPal account PayerID. This identifier uniquely identifies the PayPal customer. + * The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type. */ - payer_id: string | null; + type: Wallet.Type; - /** - * Owner's verified email. Values are verified or provided by PayPal directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_email?: string | null; + visa_checkout?: Wallet.VisaCheckout; } - export interface Paypay {} + export namespace Wallet { + export interface AmexExpressCheckout {} - export interface Payto { - /** - * Bank-State-Branch number of the bank account. - */ - bsb_number: string | null; + export interface ApplePay {} - /** - * Last four digits of the bank account number. - */ - last4: string | null; + export interface GooglePay {} - /** - * The PayID alias for the bank account. - */ - pay_id: string | null; - } + export interface Link {} - export interface Pix {} + export interface Masterpass { + /** + * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + billing_address: Address | null; - export interface Promptpay {} + /** + * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + email: string | null; - export interface Qris {} + /** + * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + name: string | null; - export interface Rechnung { - dob?: Rechnung.Dob; - } + /** + * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + shipping_address: Address | null; + } - export interface RevolutPay {} + export interface SamsungPay {} - export interface SamsungPay {} + export type Type = + | 'amex_express_checkout' + | 'apple_pay' + | 'google_pay' + | 'link' + | 'masterpass' + | 'samsung_pay' + | 'visa_checkout'; - export interface Satispay {} + export interface VisaCheckout { + /** + * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + billing_address: Address | null; - export interface Scalapay {} + /** + * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + email: string | null; - export interface SepaDebit { - /** - * Bank code of bank associated with the bank account. - */ - bank_code: string | null; + /** + * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + name: string | null; - /** - * Branch code of bank associated with the bank account. - */ - branch_code: string | null; + /** + * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. + */ + shipping_address: Address | null; + } + } + } + export namespace CardPresent { + export interface Networks { /** - * Two-letter ISO code representing the country the bank account is located in. + * All networks available for selection via [payment_method_options.card.network](https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). */ - country: string | null; + available: Array; /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + * The preferred network for the card. */ - fingerprint: string | null; + preferred: string | null; + } + export interface Offline { /** - * Information about the object that generated this PaymentMethod. + * Time at which the payment was collected while offline */ - generated_from: SepaDebit.GeneratedFrom | null; + stored_at: number | null; /** - * Last four characters of the IBAN. + * The method used to process this payment method offline. Only deferred is allowed. */ - last4: string | null; + type: 'deferred' | null; } - export interface Shopeepay {} + export type ReadMethod = + | 'contact_emv' + | 'contactless_emv' + | 'contactless_magstripe_mode' + | 'magnetic_stripe_fallback' + | 'magnetic_stripe_track2'; - export interface Sofort { + export interface Wallet { /** - * Two-letter ISO code representing the country the bank account is located in. + * The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. */ - country: string | null; + type: Wallet.Type; } - export interface StripeBalance { - /** - * The connected account ID whose Stripe balance to use as the source of payment - */ - account?: string | null; + export namespace Wallet { + export type Type = + | 'apple_pay' + | 'google_pay' + | 'samsung_pay' + | 'unknown'; } + } - export interface Sunbit {} + export namespace Eps { + export type Bank = + | 'arzte_und_apotheker_bank' + | 'austrian_anadi_bank_ag' + | 'bank_austria' + | 'bankhaus_carl_spangler' + | 'bankhaus_schelhammer_und_schattera_ag' + | 'bawag_psk_ag' + | 'bks_bank_ag' + | 'brull_kallmus_bank_ag' + | 'btv_vier_lander_bank' + | 'capital_bank_grawe_gruppe_ag' + | 'deutsche_bank_ag' + | 'dolomitenbank' + | 'easybank_ag' + | 'erste_bank_und_sparkassen' + | 'hypo_alpeadriabank_international_ag' + | 'hypo_bank_burgenland_aktiengesellschaft' + | 'hypo_noe_lb_fur_niederosterreich_u_wien' + | 'hypo_oberosterreich_salzburg_steiermark' + | 'hypo_tirol_bank_ag' + | 'hypo_vorarlberg_bank_ag' + | 'marchfelder_bank' + | 'oberbank_ag' + | 'raiffeisen_bankengruppe_osterreich' + | 'schoellerbank_ag' + | 'sparda_bank_wien' + | 'volksbank_gruppe' + | 'volkskreditbank_ag' + | 'vr_bank_braunau'; + } + + export namespace Fpx { + export type AccountHolderType = 'company' | 'individual'; + + export type Bank = + | 'affin_bank' + | 'agrobank' + | 'alliance_bank' + | 'ambank' + | 'bank_islam' + | 'bank_muamalat' + | 'bank_of_china' + | 'bank_rakyat' + | 'bsn' + | 'cimb' + | 'deutsche_bank' + | 'hong_leong_bank' + | 'hsbc' + | 'kfh' + | 'maybank2e' + | 'maybank2u' + | 'ocbc' + | 'pb_enterprise' + | 'public_bank' + | 'rhb' + | 'standard_chartered' + | 'uob'; + } - export interface Swish {} + export namespace GiftCard { + export type Brand = 'fiserv_valuelink' | 'givex' | 'svs'; + } - export interface Tamara {} + export namespace IdBankTransfer { + export type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } - export interface Twint {} + export namespace Ideal { + export type Bank = + | 'abn_amro' + | 'adyen' + | 'asn_bank' + | 'bunq' + | 'buut' + | 'finom' + | 'handelsbanken' + | 'ing' + | 'knab' + | 'mollie' + | 'moneyou' + | 'n26' + | 'nn' + | 'rabobank' + | 'regiobank' + | 'revolut' + | 'sns_bank' + | 'triodos_bank' + | 'van_lanschot' + | 'yoursafe'; + + export type Bic = + | 'ABNANL2A' + | 'ADYBNL2A' + | 'ASNBNL21' + | 'BITSNL2A' + | 'BUNQNL2A' + | 'BUUTNL2A' + | 'FNOMNL22' + | 'FVLBNL22' + | 'HANDNL2A' + | 'INGBNL2A' + | 'KNABNL2H' + | 'MLLENL2A' + | 'MOYONL21' + | 'NNBANL2G' + | 'NTSBDEB1' + | 'RABONL2U' + | 'RBRBNL21' + | 'REVOIE23' + | 'REVOLT21' + | 'SNSBNL2A' + | 'TRIONL2U'; + } - export type Type = - | 'acss_debit' - | 'affirm' - | 'afterpay_clearpay' - | 'alipay' - | 'alma' - | 'amazon_pay' - | 'au_becs_debit' - | 'bacs_debit' - | 'bancontact' - | 'billie' - | 'bizum' - | 'blik' - | 'boleto' - | 'card' - | 'card_present' - | 'cashapp' - | 'crypto' - | 'custom' - | 'customer_balance' - | 'eps' - | 'fpx' - | 'gift_card' - | 'giropay' - | 'gopay' - | 'grabpay' - | 'id_bank_transfer' - | 'ideal' - | 'interac_present' - | 'kakao_pay' - | 'klarna' - | 'konbini' - | 'kr_card' - | 'link' - | 'mb_way' - | 'mobilepay' - | 'multibanco' - | 'naver_pay' - | 'nz_bank_account' - | 'oxxo' - | 'p24' - | 'pay_by_bank' - | 'payco' - | 'paynow' - | 'paypal' - | 'paypay' - | 'payto' - | 'pix' - | 'promptpay' - | 'qris' - | 'rechnung' - | 'revolut_pay' - | 'samsung_pay' - | 'satispay' - | 'scalapay' - | 'sepa_debit' - | 'shopeepay' - | 'sofort' - | 'stripe_balance' - | 'sunbit' - | 'swish' - | 'tamara' - | 'twint' - | 'upi' - | 'us_bank_account' - | 'wechat_pay' - | 'zip'; - - export interface Upi { + export namespace InteracPresent { + export interface Networks { /** - * Customer's unique Virtual Payment Address + * All networks available for selection via [payment_method_options.card.network](https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). */ - vpa: string | null; - } + available: Array; - export interface UsBankAccount { /** - * Account holder type: individual or company. + * The preferred network for the card. */ - account_holder_type: UsBankAccount.AccountHolderType | null; + preferred: string | null; + } + + export type ReadMethod = + | 'contact_emv' + | 'contactless_emv' + | 'contactless_magstripe_mode' + | 'magnetic_stripe_fallback' + | 'magnetic_stripe_track2'; + } + export namespace Klarna { + export interface Dob { /** - * Account number of the bank account. + * The day of birth, between 1 and 31. */ - account_number?: string | null; + day: number | null; /** - * Account type: checkings or savings. Defaults to checking if omitted. + * The month of birth, between 1 and 12. */ - account_type: UsBankAccount.AccountType | null; + month: number | null; /** - * The name of the bank. + * The four-digit year of birth. */ - bank_name: string | null; + year: number | null; + } + } + + export namespace KrCard { + export type Brand = + | 'bc' + | 'citi' + | 'hana' + | 'hyundai' + | 'jeju' + | 'jeonbuk' + | 'kakaobank' + | 'kbank' + | 'kdbbank' + | 'kookmin' + | 'kwangju' + | 'lotte' + | 'mg' + | 'nh' + | 'post' + | 'samsung' + | 'savingsbank' + | 'shinhan' + | 'shinhyup' + | 'suhyup' + | 'tossbank' + | 'woori'; + } + + export namespace NaverPay { + export type Funding = 'card' | 'points'; + } + + export namespace P24 { + export type Bank = + | 'alior_bank' + | 'bank_millennium' + | 'bank_nowy_bfg_sa' + | 'bank_pekao_sa' + | 'banki_spbdzielcze' + | 'blik' + | 'bnp_paribas' + | 'boz' + | 'citi_handlowy' + | 'credit_agricole' + | 'envelobank' + | 'etransfer_pocztowy24' + | 'getin_bank' + | 'ideabank' + | 'ing' + | 'inteligo' + | 'mbank_mtransfer' + | 'nest_przelew' + | 'noble_pay' + | 'pbac_z_ipko' + | 'plus_bank' + | 'santander_przelew24' + | 'tmobile_usbugi_bankowe' + | 'toyota_bank' + | 'velobank' + | 'volkswagen_bank'; + } + export namespace Rechnung { + export interface Dob { /** - * The ID of the Financial Connections Account used to create the payment method. + * The day of birth, between 1 and 31. */ - financial_connections_account: string | null; + day: number; /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. + * The month of birth, between 1 and 12. */ - fingerprint: string | null; + month: number; /** - * Last four digits of the bank account number. + * The four-digit year of birth. */ - last4: string | null; + year: number; + } + } + export namespace SepaDebit { + export interface GeneratedFrom { /** - * Contains information about US bank account networks that can be used. + * The ID of the Charge that generated this PaymentMethod, if any. */ - networks: UsBankAccount.Networks | null; + charge: string | Charge | null; /** - * Routing number of the bank account. + * The ID of the PaymentMethod that generated this PaymentMethod, if any. */ - routing_number: string | null; + payment_method?: string | PaymentMethod | null; /** - * Contains information about the future reusability of this PaymentMethod. + * The ID of the SetupAttempt that generated this PaymentMethod, if any. */ - status_details: UsBankAccount.StatusDetails | null; - } - - export interface WechatPay {} - - export interface Zip {} - - export namespace Card { - export interface Checks { - /** - * If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - address_line1_check: string | null; - - /** - * If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - address_postal_code_check: string | null; - - /** - * If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - cvc_check: string | null; - } - - export interface Networks { - /** - * All networks available for selection via [payment_method_options.card.network](https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). - */ - available: Array; - - /** - * The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card. - */ - preferred: string | null; - } - - export interface Wallet { - amex_express_checkout?: Wallet.AmexExpressCheckout; - - apple_pay?: Wallet.ApplePay; - - /** - * (For tokenized numbers only.) The last four digits of the device account number. - */ - dynamic_last4: string | null; - - google_pay?: Wallet.GooglePay; - - link?: Wallet.Link; - - masterpass?: Wallet.Masterpass; - - samsung_pay?: Wallet.SamsungPay; - - /** - * The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type. - */ - type: Wallet.Type; - - visa_checkout?: Wallet.VisaCheckout; - } - - export namespace Wallet { - export interface AmexExpressCheckout {} - - export interface ApplePay {} - - export interface GooglePay {} - - export interface Link {} - - export interface Masterpass { - /** - * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - billing_address: Address | null; - - /** - * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - email: string | null; - - /** - * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - name: string | null; - - /** - * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - shipping_address: Address | null; - } - - export interface SamsungPay {} - - export type Type = - | 'amex_express_checkout' - | 'apple_pay' - | 'google_pay' - | 'link' - | 'masterpass' - | 'samsung_pay' - | 'visa_checkout'; - - export interface VisaCheckout { - /** - * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - billing_address: Address | null; - - /** - * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - email: string | null; - - /** - * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - name: string | null; - - /** - * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - shipping_address: Address | null; - } - } - } - - export namespace CardPresent { - export interface Networks { - /** - * All networks available for selection via [payment_method_options.card.network](https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). - */ - available: Array; - - /** - * The preferred network for the card. - */ - preferred: string | null; - } - - export interface Offline { - /** - * Time at which the payment was collected while offline - */ - stored_at: number | null; - - /** - * The method used to process this payment method offline. Only deferred is allowed. - */ - type: 'deferred' | null; - } - - export type ReadMethod = - | 'contact_emv' - | 'contactless_emv' - | 'contactless_magstripe_mode' - | 'magnetic_stripe_fallback' - | 'magnetic_stripe_track2'; - - export interface Wallet { - /** - * The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`. - */ - type: Wallet.Type; - } - - export namespace Wallet { - export type Type = - | 'apple_pay' - | 'google_pay' - | 'samsung_pay' - | 'unknown'; - } - } - - export namespace Eps { - export type Bank = - | 'arzte_und_apotheker_bank' - | 'austrian_anadi_bank_ag' - | 'bank_austria' - | 'bankhaus_carl_spangler' - | 'bankhaus_schelhammer_und_schattera_ag' - | 'bawag_psk_ag' - | 'bks_bank_ag' - | 'brull_kallmus_bank_ag' - | 'btv_vier_lander_bank' - | 'capital_bank_grawe_gruppe_ag' - | 'deutsche_bank_ag' - | 'dolomitenbank' - | 'easybank_ag' - | 'erste_bank_und_sparkassen' - | 'hypo_alpeadriabank_international_ag' - | 'hypo_bank_burgenland_aktiengesellschaft' - | 'hypo_noe_lb_fur_niederosterreich_u_wien' - | 'hypo_oberosterreich_salzburg_steiermark' - | 'hypo_tirol_bank_ag' - | 'hypo_vorarlberg_bank_ag' - | 'marchfelder_bank' - | 'oberbank_ag' - | 'raiffeisen_bankengruppe_osterreich' - | 'schoellerbank_ag' - | 'sparda_bank_wien' - | 'volksbank_gruppe' - | 'volkskreditbank_ag' - | 'vr_bank_braunau'; - } - - export namespace Fpx { - export type AccountHolderType = 'company' | 'individual'; - - export type Bank = - | 'affin_bank' - | 'agrobank' - | 'alliance_bank' - | 'ambank' - | 'bank_islam' - | 'bank_muamalat' - | 'bank_of_china' - | 'bank_rakyat' - | 'bsn' - | 'cimb' - | 'deutsche_bank' - | 'hong_leong_bank' - | 'hsbc' - | 'kfh' - | 'maybank2e' - | 'maybank2u' - | 'ocbc' - | 'pb_enterprise' - | 'public_bank' - | 'rhb' - | 'standard_chartered' - | 'uob'; - } - - export namespace GiftCard { - export type Brand = 'fiserv_valuelink' | 'givex' | 'svs'; - } - - export namespace IdBankTransfer { - export type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; - } - - export namespace Ideal { - export type Bank = - | 'abn_amro' - | 'adyen' - | 'asn_bank' - | 'bunq' - | 'buut' - | 'finom' - | 'handelsbanken' - | 'ing' - | 'knab' - | 'mollie' - | 'moneyou' - | 'n26' - | 'nn' - | 'rabobank' - | 'regiobank' - | 'revolut' - | 'sns_bank' - | 'triodos_bank' - | 'van_lanschot' - | 'yoursafe'; - - export type Bic = - | 'ABNANL2A' - | 'ADYBNL2A' - | 'ASNBNL21' - | 'BITSNL2A' - | 'BUNQNL2A' - | 'BUUTNL2A' - | 'FNOMNL22' - | 'FVLBNL22' - | 'HANDNL2A' - | 'INGBNL2A' - | 'KNABNL2H' - | 'MLLENL2A' - | 'MOYONL21' - | 'NNBANL2G' - | 'NTSBDEB1' - | 'RABONL2U' - | 'RBRBNL21' - | 'REVOIE23' - | 'REVOLT21' - | 'SNSBNL2A' - | 'TRIONL2U'; - } - - export namespace InteracPresent { - export interface Networks { - /** - * All networks available for selection via [payment_method_options.card.network](https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network). - */ - available: Array; - - /** - * The preferred network for the card. - */ - preferred: string | null; - } - - export type ReadMethod = - | 'contact_emv' - | 'contactless_emv' - | 'contactless_magstripe_mode' - | 'magnetic_stripe_fallback' - | 'magnetic_stripe_track2'; + setup_attempt: string | SetupAttempt | null; } + } - export namespace Klarna { - export interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number | null; + export namespace UsBankAccount { + export type AccountHolderType = 'company' | 'individual'; - /** - * The month of birth, between 1 and 12. - */ - month: number | null; + export type AccountType = 'checking' | 'savings'; - /** - * The four-digit year of birth. - */ - year: number | null; - } - } + export interface Networks { + /** + * The preferred network. + */ + preferred: string | null; - export namespace KrCard { - export type Brand = - | 'bc' - | 'citi' - | 'hana' - | 'hyundai' - | 'jeju' - | 'jeonbuk' - | 'kakaobank' - | 'kbank' - | 'kdbbank' - | 'kookmin' - | 'kwangju' - | 'lotte' - | 'mg' - | 'nh' - | 'post' - | 'samsung' - | 'savingsbank' - | 'shinhan' - | 'shinhyup' - | 'suhyup' - | 'tossbank' - | 'woori'; + /** + * All supported networks. + */ + supported: Array; } - export namespace NaverPay { - export type Funding = 'card' | 'points'; + export interface StatusDetails { + blocked?: StatusDetails.Blocked; } - export namespace P24 { - export type Bank = - | 'alior_bank' - | 'bank_millennium' - | 'bank_nowy_bfg_sa' - | 'bank_pekao_sa' - | 'banki_spbdzielcze' - | 'blik' - | 'bnp_paribas' - | 'boz' - | 'citi_handlowy' - | 'credit_agricole' - | 'envelobank' - | 'etransfer_pocztowy24' - | 'getin_bank' - | 'ideabank' - | 'ing' - | 'inteligo' - | 'mbank_mtransfer' - | 'nest_przelew' - | 'noble_pay' - | 'pbac_z_ipko' - | 'plus_bank' - | 'santander_przelew24' - | 'tmobile_usbugi_bankowe' - | 'toyota_bank' - | 'velobank' - | 'volkswagen_bank'; + export namespace Networks { + export type Supported = 'ach' | 'us_domestic_wire'; } - export namespace Rechnung { - export interface Dob { + export namespace StatusDetails { + export interface Blocked { /** - * The day of birth, between 1 and 31. + * The ACH network code that resulted in this block. */ - day: number; + network_code: Blocked.NetworkCode | null; /** - * The month of birth, between 1 and 12. + * The reason why this PaymentMethod's fingerprint has been blocked */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; + reason: Blocked.Reason | null; } - } - - export namespace SepaDebit { - export interface GeneratedFrom { - /** - * The ID of the Charge that generated this PaymentMethod, if any. - */ - charge: string | Charge | null; - - /** - * The ID of the PaymentMethod that generated this PaymentMethod, if any. - */ - payment_method?: string | PaymentMethod | null; - /** - * The ID of the SetupAttempt that generated this PaymentMethod, if any. - */ - setup_attempt: string | SetupAttempt | null; + export namespace Blocked { + export type NetworkCode = + | 'R02' + | 'R03' + | 'R04' + | 'R05' + | 'R07' + | 'R08' + | 'R10' + | 'R11' + | 'R16' + | 'R20' + | 'R29' + | 'R31'; + + export type Reason = + | 'bank_account_closed' + | 'bank_account_frozen' + | 'bank_account_invalid_details' + | 'bank_account_restricted' + | 'bank_account_unusable' + | 'debit_not_authorized' + | 'tokenized_account_number_deactivated'; } } + } + } - export namespace UsBankAccount { - export type AccountHolderType = 'company' | 'individual'; - - export type AccountType = 'checking' | 'savings'; - - export interface Networks { - /** - * The preferred network. - */ - preferred: string | null; + export namespace RiskDetails { + export interface Insights { + /** + * Bot risk insight. + */ + bot?: Insights.Bot | null; - /** - * All supported networks. - */ - supported: Array; - } + /** + * Card issuer decline risk insight. + */ + card_issuer_decline?: Insights.CardIssuerDecline | null; - export interface StatusDetails { - blocked?: StatusDetails.Blocked; - } + /** + * Card testing risk insight. + */ + card_testing?: Insights.CardTesting | null; - export namespace Networks { - export type Supported = 'ach' | 'us_domestic_wire'; - } + /** + * Fraudulent dispute risk insight. + */ + fraudulent_dispute: Insights.FraudulentDispute | null; - export namespace StatusDetails { - export interface Blocked { - /** - * The ACH network code that resulted in this block. - */ - network_code: Blocked.NetworkCode | null; - - /** - * The reason why this PaymentMethod's fingerprint has been blocked - */ - reason: Blocked.Reason | null; - } - - export namespace Blocked { - export type NetworkCode = - | 'R02' - | 'R03' - | 'R04' - | 'R05' - | 'R07' - | 'R08' - | 'R10' - | 'R11' - | 'R16' - | 'R20' - | 'R29' - | 'R31'; - - export type Reason = - | 'bank_account_closed' - | 'bank_account_frozen' - | 'bank_account_invalid_details' - | 'bank_account_restricted' - | 'bank_account_unusable' - | 'debit_not_authorized' - | 'tokenized_account_number_deactivated'; - } - } - } + /** + * Stolen card risk insight. + */ + stolen_card?: Insights.StolenCard | null; } - export namespace RiskDetails { - export interface Insights { + export namespace Insights { + export interface Bot { /** - * Bot risk insight. + * Recommended action for this insight. */ - bot?: Insights.Bot | null; + recommended_action: string; /** - * Card issuer decline risk insight. + * Risk score for this insight. */ - card_issuer_decline?: Insights.CardIssuerDecline | null; + score: number; + } + export interface CardIssuerDecline { /** - * Card testing risk insight. + * Recommended action for this insight. */ - card_testing?: Insights.CardTesting | null; + recommended_action: string; /** - * Fraudulent dispute risk insight. + * Risk score for this insight. */ - fraudulent_dispute: Insights.FraudulentDispute | null; + score: number; + } + export interface CardTesting { /** - * Stolen card risk insight. + * Recommended action for this insight. */ - stolen_card?: Insights.StolenCard | null; - } - - export namespace Insights { - export interface Bot { - /** - * Recommended action for this insight. - */ - recommended_action: string; - - /** - * Risk score for this insight. - */ - score: number; - } - - export interface CardIssuerDecline { - /** - * Recommended action for this insight. - */ - recommended_action: string; - - /** - * Risk score for this insight. - */ - score: number; - } - - export interface CardTesting { - /** - * Recommended action for this insight. - */ - recommended_action: string; - - /** - * Risk score for this insight. - */ - score: number; - } - - export interface FraudulentDispute { - /** - * Recommended action for this insight. - */ - recommended_action: string; + recommended_action: string; - /** - * Risk score for this insight. - */ - score: number; - } + /** + * Risk score for this insight. + */ + score: number; + } - export interface StolenCard { - /** - * Recommended action for this insight. - */ - recommended_action: string; + export interface FraudulentDispute { + /** + * Recommended action for this insight. + */ + recommended_action: string; - /** - * Risk score for this insight. - */ - score: number; - } + /** + * Risk score for this insight. + */ + score: number; } - } - export namespace UsageDetails { - export interface AmountCaptured { + export interface StolenCard { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * Recommended action for this insight. */ - currency: string; + recommended_action: string; /** - * Integer value of the amount in the smallest currency unit. + * Risk score for this insight. */ - value: number; + score: number; } } + } + + export namespace UsageDetails { + export interface AmountCaptured { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; - export namespace UsageLimits { - export type RecurringInterval = 'month' | 'week' | 'year'; + /** + * Integer value of the amount in the smallest currency unit. + */ + value: number; } } + + export namespace UsageLimits { + export type RecurringInterval = 'month' | 'week' | 'year'; + } } export namespace SharedPayment { export interface GrantedTokenRetrieveParams { diff --git a/src/resources/SharedPayment/IssuedTokens.ts b/src/resources/SharedPayment/IssuedTokens.ts index 2478d2d75a..915d73e815 100644 --- a/src/resources/SharedPayment/IssuedTokens.ts +++ b/src/resources/SharedPayment/IssuedTokens.ts @@ -73,7 +73,7 @@ export interface IssuedToken { /** * The reason why the SharedPaymentIssuedToken has been deactivated. */ - deactivated_reason: SharedPayment.IssuedToken.DeactivatedReason | null; + deactivated_reason: IssuedToken.DeactivatedReason | null; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. @@ -83,7 +83,7 @@ export interface IssuedToken { /** * If present, describes the action required to make this `SharedPaymentIssuedToken` usable for payments. Present when the token is in `requires_action` state. */ - next_action: SharedPayment.IssuedToken.NextAction | null; + next_action: IssuedToken.NextAction | null; /** * ID of an existing PaymentMethod. @@ -98,12 +98,12 @@ export interface IssuedToken { /** * Risk details of the SharedPaymentIssuedToken. */ - risk_details?: SharedPayment.IssuedToken.RiskDetails | null; + risk_details?: IssuedToken.RiskDetails | null; /** * Seller details of the SharedPaymentIssuedToken, including network_id and external_id. */ - seller_details: SharedPayment.IssuedToken.SellerDetails | null; + seller_details: IssuedToken.SellerDetails | null; /** * Indicates that you intend to save the PaymentMethod of this SharedPaymentToken to a customer later. @@ -120,206 +120,204 @@ export interface IssuedToken { /** * Status of this SharedPaymentIssuedToken, one of `active`, `requires_action`, or `deactivated`. */ - status: SharedPayment.IssuedToken.Status | null; + status: IssuedToken.Status | null; /** * Usage details of the SharedPaymentIssuedToken */ - usage_details: SharedPayment.IssuedToken.UsageDetails | null; + usage_details: IssuedToken.UsageDetails | null; /** * Usage limits of the SharedPaymentIssuedToken. */ - usage_limits: SharedPayment.IssuedToken.UsageLimits | null; + usage_limits: IssuedToken.UsageLimits | null; } -export namespace SharedPayment { - export namespace IssuedToken { - export type DeactivatedReason = - | 'consumed' - | 'expired' - | 'resolved' - | 'revoked'; - - export interface NextAction { - /** - * Specifies the type of next action required. Determines which child attribute contains action details. - */ - type: 'use_stripe_sdk'; +export namespace IssuedToken { + export type DeactivatedReason = + | 'consumed' + | 'expired' + | 'resolved' + | 'revoked'; + + export interface NextAction { + /** + * Specifies the type of next action required. Determines which child attribute contains action details. + */ + type: 'use_stripe_sdk'; - /** - * Contains details for handling the next action using Stripe.js, iOS, or Android SDKs. Present when `next_action.type` is `use_stripe_sdk`. - */ - use_stripe_sdk: NextAction.UseStripeSdk | null; - } + /** + * Contains details for handling the next action using Stripe.js, iOS, or Android SDKs. Present when `next_action.type` is `use_stripe_sdk`. + */ + use_stripe_sdk: NextAction.UseStripeSdk | null; + } - export interface RiskDetails { - /** - * Risk insights for this token, including scores and recommended actions for each risk type. - */ - insights: RiskDetails.Insights; - } + export interface RiskDetails { + /** + * Risk insights for this token, including scores and recommended actions for each risk type. + */ + insights: RiskDetails.Insights; + } - export interface SellerDetails { - /** - * A unique id within a network that identifies a logical seller. This should usually be the merchant id on the seller platform. - */ - external_id: string; + export interface SellerDetails { + /** + * A unique id within a network that identifies a logical seller. This should usually be the merchant id on the seller platform. + */ + external_id: string; + + /** + * The unique and logical string that identifies the seller platform that this SharedToken is being created for. + */ + network_business_profile: string; + } + + export type Status = 'active' | 'deactivated' | 'requires_action'; + export interface UsageDetails { + /** + * The total amount captured using this SharedPaymentToken. + */ + amount_captured: UsageDetails.AmountCaptured | null; + } + + export interface UsageLimits { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent. + */ + expires_at: number | null; + + /** + * Max amount that can be captured using this SharedPaymentToken. + */ + max_amount: number; + + /** + * The recurring interval at which the shared payment token's amount usage restrictions reset. + */ + recurring_interval?: UsageLimits.RecurringInterval | null; + } + + export namespace NextAction { + export interface UseStripeSdk { /** - * The unique and logical string that identifies the seller platform that this SharedToken is being created for. + * A base64-encoded string used by Stripe.js and the iOS and Android client SDKs to handle the next action. Its content is subject to change. */ - network_business_profile: string; + value: string; } + } - export type Status = 'active' | 'deactivated' | 'requires_action'; - - export interface UsageDetails { + export namespace RiskDetails { + export interface Insights { /** - * The total amount captured using this SharedPaymentToken. + * Bot risk insight. */ - amount_captured: UsageDetails.AmountCaptured | null; - } + bot?: Insights.Bot | null; - export interface UsageLimits { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * Card issuer decline risk insight. */ - currency: string; + card_issuer_decline?: Insights.CardIssuerDecline | null; /** - * Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent. + * Card testing risk insight. */ - expires_at: number | null; + card_testing?: Insights.CardTesting | null; /** - * Max amount that can be captured using this SharedPaymentToken. + * Fraudulent dispute risk insight. */ - max_amount: number; + fraudulent_dispute: Insights.FraudulentDispute | null; /** - * The recurring interval at which the shared payment token's amount usage restrictions reset. + * Stolen card risk insight. */ - recurring_interval?: UsageLimits.RecurringInterval | null; + stolen_card?: Insights.StolenCard | null; } - export namespace NextAction { - export interface UseStripeSdk { + export namespace Insights { + export interface Bot { /** - * A base64-encoded string used by Stripe.js and the iOS and Android client SDKs to handle the next action. Its content is subject to change. + * Recommended action for this insight. */ - value: string; - } - } + recommended_action: string; - export namespace RiskDetails { - export interface Insights { /** - * Bot risk insight. + * Risk score for this insight. */ - bot?: Insights.Bot | null; + score: number; + } + export interface CardIssuerDecline { /** - * Card issuer decline risk insight. + * Recommended action for this insight. */ - card_issuer_decline?: Insights.CardIssuerDecline | null; + recommended_action: string; /** - * Card testing risk insight. + * Risk score for this insight. */ - card_testing?: Insights.CardTesting | null; + score: number; + } + export interface CardTesting { /** - * Fraudulent dispute risk insight. + * Recommended action for this insight. */ - fraudulent_dispute: Insights.FraudulentDispute | null; + recommended_action: string; /** - * Stolen card risk insight. + * Risk score for this insight. */ - stolen_card?: Insights.StolenCard | null; + score: number; } - export namespace Insights { - export interface Bot { - /** - * Recommended action for this insight. - */ - recommended_action: string; - - /** - * Risk score for this insight. - */ - score: number; - } - - export interface CardIssuerDecline { - /** - * Recommended action for this insight. - */ - recommended_action: string; - - /** - * Risk score for this insight. - */ - score: number; - } - - export interface CardTesting { - /** - * Recommended action for this insight. - */ - recommended_action: string; - - /** - * Risk score for this insight. - */ - score: number; - } - - export interface FraudulentDispute { - /** - * Recommended action for this insight. - */ - recommended_action: string; - - /** - * Risk score for this insight. - */ - score: number; - } - - export interface StolenCard { - /** - * Recommended action for this insight. - */ - recommended_action: string; - - /** - * Risk score for this insight. - */ - score: number; - } + export interface FraudulentDispute { + /** + * Recommended action for this insight. + */ + recommended_action: string; + + /** + * Risk score for this insight. + */ + score: number; } - } - export namespace UsageDetails { - export interface AmountCaptured { + export interface StolenCard { /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + * Recommended action for this insight. */ - currency: string; + recommended_action: string; /** - * Integer value of the amount in the smallest currency unit. + * Risk score for this insight. */ - value: number; + score: number; } } + } - export namespace UsageLimits { - export type RecurringInterval = 'month' | 'week' | 'year'; + export namespace UsageDetails { + export interface AmountCaptured { + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * Integer value of the amount in the smallest currency unit. + */ + value: number; } } + + export namespace UsageLimits { + export type RecurringInterval = 'month' | 'week' | 'year'; + } } export namespace SharedPayment { export interface IssuedTokenCreateParams { diff --git a/src/resources/Tax/CalculationLineItems.ts b/src/resources/Tax/CalculationLineItems.ts index 6945cf137e..5ae922a8c7 100644 --- a/src/resources/Tax/CalculationLineItems.ts +++ b/src/resources/Tax/CalculationLineItems.ts @@ -41,7 +41,7 @@ export interface CalculationLineItem { /** * The address of the location where this line item's event or service takes place. Depending on the [tax code](https://docs.stripe.com/tax/tax-codes), providing a performance location is required, optional, or not supported. Use this to provide the address inline without pre-creating a [TaxLocation](https://docs.stripe.com/api/tax/location) object. Can't be used with `performance_location`. */ - performance_location_details?: Tax.CalculationLineItem.PerformanceLocationDetails | null; + performance_location_details?: CalculationLineItem.PerformanceLocationDetails | null; /** * The ID of an existing [Product](https://docs.stripe.com/api/products/object). @@ -73,13 +73,12 @@ export interface CalculationLineItem { */ tax_code: string; } -export namespace Tax { - export namespace CalculationLineItem { - export interface PerformanceLocationDetails { - address: Address; - } +export namespace CalculationLineItem { + export interface PerformanceLocationDetails { + address: Address; + } - export type TaxBehavior = 'exclusive' | 'inclusive'; + export type TaxBehavior = 'exclusive' | 'inclusive'; export interface TaxBreakdown { /** @@ -133,7 +132,7 @@ export namespace Tax { state: string | null; } - export type Sourcing = 'destination' | 'origin'; + export type Sourcing = 'destination' | 'origin' | 'performance'; export interface TaxRateDetails { /** @@ -152,74 +151,51 @@ export namespace Tax { tax_type: TaxRateDetails.TaxType; } - export type Sourcing = 'destination' | 'origin' | 'performance'; + export type TaxabilityReason = + | 'customer_exempt' + | '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'; export namespace Jurisdiction { export type Level = 'city' | 'country' | 'county' | 'district' | 'state'; } - /** - * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". - */ - percentage_decimal: string; - - /** - * The tax type, such as `vat` or `sales_tax`. - */ - tax_type: TaxRateDetails.TaxType; - } - - export type TaxabilityReason = - | 'customer_exempt' - | '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'; - - export namespace Jurisdiction { - export type Level = - | 'city' - | 'country' - | 'county' - | 'district' - | 'state'; - } - - export namespace TaxRateDetails { - export type TaxType = - | 'admissions_tax' - | 'amusement_tax' - | 'attendance_tax' - | 'communications_tax' - | 'entertainment_tax' - | 'gross_receipts_tax' - | 'gst' - | 'hospitality_tax' - | 'hst' - | 'igst' - | 'jct' - | 'lease_tax' - | 'luxury_tax' - | 'pst' - | 'qst' - | 'resort_tax' - | 'retail_delivery_fee' - | 'rst' - | 'sales_tax' - | 'service_tax' - | 'tourism_tax' - | 'vat'; - } + export namespace TaxRateDetails { + export type TaxType = + | 'admissions_tax' + | 'amusement_tax' + | 'attendance_tax' + | 'communications_tax' + | 'entertainment_tax' + | 'gross_receipts_tax' + | 'gst' + | 'hospitality_tax' + | 'hst' + | 'igst' + | 'jct' + | 'lease_tax' + | 'luxury_tax' + | 'pst' + | 'qst' + | 'resort_tax' + | 'retail_delivery_fee' + | 'rst' + | 'sales_tax' + | 'service_tax' + | 'tourism_tax' + | 'vat'; } } } diff --git a/src/resources/Tax/Calculations.ts b/src/resources/Tax/Calculations.ts index 218a04ce39..c79b6548d0 100644 --- a/src/resources/Tax/Calculations.ts +++ b/src/resources/Tax/Calculations.ts @@ -394,276 +394,6 @@ export namespace Calculation { taxable_amount: number; } - export namespace CustomerDetails { - export type AddressSource = 'billing' | 'shipping'; - - export interface TaxId { - /** - * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown` - */ - type: TaxId.Type; - - /** - * The value of the tax ID. - */ - value: string; - } - - export type TaxabilityOverride = - | 'customer_exempt' - | 'none' - | 'reverse_charge'; - - export namespace TaxId { - export 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' - | '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'; - } - } - - export namespace ShippingCost { - export type TaxBehavior = 'exclusive' | 'inclusive'; - - export interface TaxBreakdown { - /** - * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). - */ - amount: number; - - jurisdiction: TaxBreakdown.Jurisdiction; - - /** - * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address). - */ - sourcing: TaxBreakdown.Sourcing; - - /** - * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax. - */ - tax_rate_details: TaxBreakdown.TaxRateDetails | null; - - /** - * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. - */ - taxability_reason: TaxBreakdown.TaxabilityReason; - - /** - * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). - */ - taxable_amount: number; - } - - export namespace TaxBreakdown { - export interface Jurisdiction { - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * A human-readable name for the jurisdiction imposing the tax. - */ - display_name: string; - - /** - * Indicates the level of the jurisdiction imposing the tax. - */ - level: Jurisdiction.Level; - - /** - * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States. - */ - state: string | null; - } - - export type Sourcing = 'destination' | 'origin' | 'performance'; - - export interface TaxRateDetails { - /** - * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". - */ - display_name: string; - - /** - * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". - */ - percentage_decimal: string; - - /** - * The tax type, such as `vat` or `sales_tax`. - */ - tax_type: TaxRateDetails.TaxType; - } - - export type TaxabilityReason = - | 'customer_exempt' - | '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'; - - export namespace Jurisdiction { - export type Level = - | 'city' - | 'country' - | 'county' - | 'district' - | 'state'; - } - - export namespace TaxRateDetails { - export type TaxType = - | 'admissions_tax' - | 'amusement_tax' - | 'attendance_tax' - | 'communications_tax' - | 'entertainment_tax' - | 'gross_receipts_tax' - | 'gst' - | 'hospitality_tax' - | 'hst' - | 'igst' - | 'jct' - | 'lease_tax' - | 'luxury_tax' - | 'pst' - | 'qst' - | 'resort_tax' - | 'retail_delivery_fee' - | 'rst' - | 'sales_tax' - | 'service_tax' - | 'tourism_tax' - | 'vat'; - } - } - } - export namespace TaxBreakdown { export interface Jurisdiction { /** @@ -687,7 +417,7 @@ export namespace Calculation { state: string | null; } - export type Sourcing = 'destination' | 'origin'; + export type Sourcing = 'destination' | 'origin' | 'performance'; export interface TaxRateDetails { /** @@ -826,19 +556,27 @@ export namespace Calculation { export type RateType = 'flat_amount' | 'percentage'; export type TaxType = + | 'admissions_tax' | 'amusement_tax' + | 'attendance_tax' | 'communications_tax' + | 'entertainment_tax' + | 'gross_receipts_tax' | 'gst' + | 'hospitality_tax' | 'hst' | 'igst' | 'jct' | 'lease_tax' + | 'luxury_tax' | 'pst' | 'qst' + | 'resort_tax' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' + | 'tourism_tax' | 'vat'; } } diff --git a/src/resources/Tax/Forms.ts b/src/resources/Tax/Forms.ts index f8b2351587..b3aba6796c 100644 --- a/src/resources/Tax/Forms.ts +++ b/src/resources/Tax/Forms.ts @@ -68,9 +68,9 @@ export interface Form { */ object: 'tax.form'; - au_serr?: Tax.Form.AuSerr; + au_serr?: Form.AuSerr; - ca_mrdp?: Tax.Form.CaMrdp; + ca_mrdp?: Form.CaMrdp; /** * The form that corrects this form, if any. @@ -82,187 +82,185 @@ export interface Form { */ created: number; - eu_dac7?: Tax.Form.EuDac7; + eu_dac7?: Form.EuDac7; /** * A list of tax filing statuses. Note that a filing status will only be included if the form has been filed directly with the jurisdiction's tax authority. */ - filing_statuses: Array; + filing_statuses: Array; - gb_mrdp?: Tax.Form.GbMrdp; + gb_mrdp?: Form.GbMrdp; /** * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. */ livemode: boolean; - nz_mrdp?: Tax.Form.NzMrdp; + nz_mrdp?: Form.NzMrdp; - payee: Tax.Form.Payee; + payee: Form.Payee; /** * The type of the tax form. An additional hash is included on the tax form with a name matching this value. It contains additional information specific to the tax form type. */ - type: Tax.Form.Type; + type: Form.Type; - us_1099_k?: Tax.Form.Us1099K; + us_1099_k?: Form.Us1099K; - us_1099_misc?: Tax.Form.Us1099Misc; + us_1099_misc?: Form.Us1099Misc; - us_1099_nec?: Tax.Form.Us1099Nec; + us_1099_nec?: Form.Us1099Nec; } -export namespace Tax { - export namespace Form { - export interface AuSerr { - /** - * End date of the period represented by the information reported on the tax form. - */ - reporting_period_end_date: string; +export namespace Form { + export interface AuSerr { + /** + * End date of the period represented by the information reported on the tax form. + */ + reporting_period_end_date: string; - /** - * Start date of the period represented by the information reported on the tax form. - */ - reporting_period_start_date: string; - } + /** + * Start date of the period represented by the information reported on the tax form. + */ + reporting_period_start_date: string; + } - export interface CaMrdp { - /** - * End date of the period represented by the information reported on the tax form. - */ - reporting_period_end_date: string; + export interface CaMrdp { + /** + * End date of the period represented by the information reported on the tax form. + */ + reporting_period_end_date: string; - /** - * Start date of the period represented by the information reported on the tax form. - */ - reporting_period_start_date: string; - } + /** + * Start date of the period represented by the information reported on the tax form. + */ + reporting_period_start_date: string; + } - export interface EuDac7 { - /** - * End date of the period represented by the information reported on the tax form. - */ - reporting_period_end_date: string; + export interface EuDac7 { + /** + * End date of the period represented by the information reported on the tax form. + */ + reporting_period_end_date: string; - /** - * Start date of the period represented by the information reported on the tax form. - */ - reporting_period_start_date: string; - } + /** + * Start date of the period represented by the information reported on the tax form. + */ + reporting_period_start_date: string; + } - export interface FilingStatus { - /** - * Time when the filing status was updated. - */ - effective_at: number; + export interface FilingStatus { + /** + * Time when the filing status was updated. + */ + effective_at: number; - jurisdiction: FilingStatus.Jurisdiction; + jurisdiction: FilingStatus.Jurisdiction; - /** - * The current status of the filed form. - */ - value: FilingStatus.Value; - } + /** + * The current status of the filed form. + */ + value: FilingStatus.Value; + } - export interface GbMrdp { - /** - * End date of the period represented by the information reported on the tax form. - */ - reporting_period_end_date: string; + export interface GbMrdp { + /** + * End date of the period represented by the information reported on the tax form. + */ + reporting_period_end_date: string; - /** - * Start date of the period represented by the information reported on the tax form. - */ - reporting_period_start_date: string; - } + /** + * Start date of the period represented by the information reported on the tax form. + */ + reporting_period_start_date: string; + } - export interface NzMrdp { - /** - * End date of the period represented by the information reported on the tax form. - */ - reporting_period_end_date: string; + export interface NzMrdp { + /** + * End date of the period represented by the information reported on the tax form. + */ + reporting_period_end_date: string; - /** - * Start date of the period represented by the information reported on the tax form. - */ - reporting_period_start_date: string; - } + /** + * Start date of the period represented by the information reported on the tax form. + */ + reporting_period_start_date: string; + } - export interface Payee { - /** - * The ID of the payee's Stripe account. - */ - account: string | Account | null; + export interface Payee { + /** + * The ID of the payee's Stripe account. + */ + account: string | Account | null; - /** - * The external reference to this payee. - */ - external_reference: string | null; + /** + * The external reference to this payee. + */ + external_reference: string | null; - /** - * Either `account` or `external_reference`. - */ - type: Payee.Type; - } + /** + * Either `account` or `external_reference`. + */ + type: Payee.Type; + } - export type Type = - | 'au_serr' - | 'ca_mrdp' - | 'eu_dac7' - | 'gb_mrdp' - | 'nz_mrdp' - | 'us_1099_k' - | 'us_1099_misc' - | 'us_1099_nec'; + export type Type = + | 'au_serr' + | 'ca_mrdp' + | 'eu_dac7' + | 'gb_mrdp' + | 'nz_mrdp' + | 'us_1099_k' + | 'us_1099_misc' + | 'us_1099_nec'; + + export interface Us1099K { + /** + * Year represented by the information reported on the tax form. + */ + reporting_year: number; + } + + export interface Us1099Misc { + /** + * Year represented by the information reported on the tax form. + */ + reporting_year: number; + } - export interface Us1099K { + export interface Us1099Nec { + /** + * Year represented by the information reported on the tax form. + */ + reporting_year: number; + } + + export namespace FilingStatus { + export interface Jurisdiction { /** - * Year represented by the information reported on the tax form. + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). */ - reporting_year: number; - } + country: string; - export interface Us1099Misc { /** - * Year represented by the information reported on the tax form. + * Indicates the level of the jurisdiction where the form was filed. */ - reporting_year: number; - } + level: Jurisdiction.Level; - export interface Us1099Nec { /** - * Year represented by the information reported on the tax form. + * [ISO 3166-2 U.S. state code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix, if any. For example, "NY" for New York, United States. Null for non-U.S. forms. */ - reporting_year: number; + state: string | null; } - export namespace FilingStatus { - export interface Jurisdiction { - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * Indicates the level of the jurisdiction where the form was filed. - */ - level: Jurisdiction.Level; - - /** - * [ISO 3166-2 U.S. state code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix, if any. For example, "NY" for New York, United States. Null for non-U.S. forms. - */ - state: string | null; - } + export type Value = 'accepted' | 'filed' | 'rejected'; - export type Value = 'accepted' | 'filed' | 'rejected'; - - export namespace Jurisdiction { - export type Level = 'country' | 'state'; - } + export namespace Jurisdiction { + export type Level = 'country' | 'state'; } + } - export namespace Payee { - export type Type = 'account' | 'external_reference'; - } + export namespace Payee { + export type Type = 'account' | 'external_reference'; } } export namespace Tax { diff --git a/src/resources/Tax/Registrations.ts b/src/resources/Tax/Registrations.ts index d1249514f5..6a06ed2db5 100644 --- a/src/resources/Tax/Registrations.ts +++ b/src/resources/Tax/Registrations.ts @@ -1083,10 +1083,26 @@ export namespace Registration { } export interface Us { + admissions_tax?: Us.AdmissionsTax; + + attendance_tax?: Us.AttendanceTax; + + entertainment_tax?: Us.EntertainmentTax; + + gross_receipts_tax?: Us.GrossReceiptsTax; + + home_rule_tax?: Us.HomeRuleTax; + + hospitality_tax?: Us.HospitalityTax; + local_amusement_tax?: Us.LocalAmusementTax; local_lease_tax?: Us.LocalLeaseTax; + luxury_tax?: Us.LuxuryTax; + + resort_tax?: Us.ResortTax; + /** * Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). */ @@ -1094,6 +1110,8 @@ export namespace Registration { state_sales_tax?: Us.StateSalesTax; + tourism_tax?: Us.TourismTax; + /** * Type of registration in the US. */ @@ -1733,805 +1751,135 @@ export namespace Registration { place_of_supply_scheme: Standard.PlaceOfSupplyScheme; } - export interface Us { - admissions_tax?: Us.AdmissionsTax; - - attendance_tax?: Us.AttendanceTax; - - entertainment_tax?: Us.EntertainmentTax; - - gross_receipts_tax?: Us.GrossReceiptsTax; - - home_rule_tax?: Us.HomeRuleTax; - - hospitality_tax?: Us.HospitalityTax; - - local_amusement_tax?: Us.LocalAmusementTax; - - local_lease_tax?: Us.LocalLeaseTax; - - luxury_tax?: Us.LuxuryTax; - - resort_tax?: Us.ResortTax; - - /** - * Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). - */ - state: string; - - state_sales_tax?: Us.StateSalesTax; - - tourism_tax?: Us.TourismTax; + export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - /** - * Type of registration in the US. - */ - type: Us.Type; + export namespace Standard { + export type PlaceOfSupplyScheme = + | 'inbound_goods' + | 'small_seller' + | 'standard'; } } export namespace Us { - export interface LocalAmusementTax { + export interface AdmissionsTax { /** - * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction. */ jurisdiction: string; } - export interface LocalLeaseTax { + export interface AttendanceTax { /** - * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction. */ jurisdiction: string; } - export interface StateSalesTax { + export interface EntertainmentTax { /** - * Elections for the state sales tax registration. + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction. */ - elections?: Array; + jurisdiction: string; } - export type Type = - | 'local_amusement_tax' - | 'local_lease_tax' - | 'state_communications_tax' - | 'state_retail_delivery_fee' - | 'state_sales_tax'; - - export interface Zm { + export interface GrossReceiptsTax { /** - * Type of registration in `country`. + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction. */ - type: 'simplified'; + jurisdiction: string; } - export interface Zw { + export interface HomeRuleTax { /** - * Type of registration in `country`. + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=home_rule_tax#registration-types) representing the local jurisdiction. */ - type: 'standard'; - } - - export namespace Ae { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + jurisdiction: string; } - export namespace At { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export interface HospitalityTax { + /** + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction. + */ + jurisdiction: string; } - export namespace Au { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + export interface LocalAmusementTax { + /** + * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. + */ + jurisdiction: string; } - export namespace Be { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export interface LocalLeaseTax { + /** + * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. + */ + jurisdiction: string; } - export namespace Bg { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export interface LuxuryTax { + /** + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction. + */ + jurisdiction: string; } - export namespace Ca { - export interface ProvinceStandard { - /** - * Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). - */ - province: string; - } - - export type Type = 'province_standard' | 'simplified' | 'standard'; + export interface ResortTax { + /** + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=resort_tax#registration-types) representing the local jurisdiction. + */ + jurisdiction: string; } - export namespace Ch { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } + export interface StateSalesTax { + /** + * Elections for the state sales tax registration. + */ + elections?: Array; } - export namespace Cy { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } + export interface TourismTax { + /** + * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=tourism_tax#registration-types) representing the local jurisdiction. + */ + jurisdiction: string; } - export namespace Cz { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } + export type Type = + | 'admissions_tax' + | 'attendance_tax' + | 'entertainment_tax' + | 'gross_receipts_tax' + | 'home_rule_tax' + | 'hospitality_tax' + | 'local_amusement_tax' + | 'local_lease_tax' + | 'luxury_tax' + | 'resort_tax' + | 'state_communications_tax' + | 'state_retail_delivery_fee' + | 'state_sales_tax' + | 'tourism_tax'; - export namespace De { - export interface Standard { + export namespace StateSalesTax { + export interface Election { /** - * Place of supply scheme used in an EU standard registration. + * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } + jurisdiction?: string; - export namespace Dk { - export interface Standard { /** - * Place of supply scheme used in an EU standard registration. + * The type of the election for the state sales tax registration. */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; + type: Election.Type; } - } - export namespace Ee { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Es { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Fi { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Fr { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Gb { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } - } - - export namespace Gr { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Hr { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Hu { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Ie { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace It { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Jp { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } - } - - export namespace Lt { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Lu { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Lv { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Mt { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Nl { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace No { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } - } - - export namespace Nz { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } - } - - export namespace Pl { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Pt { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Ro { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Se { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Sg { - export interface Standard { - /** - * Place of supply scheme used in an Default standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export namespace Standard { - export type PlaceOfSupplyScheme = 'inbound_goods' | 'standard'; - } - } - - export namespace Si { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Sk { - export interface Standard { - /** - * Place of supply scheme used in an EU standard registration. - */ - place_of_supply_scheme: Standard.PlaceOfSupplyScheme; - } - - export type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard'; - - export namespace Standard { - export type PlaceOfSupplyScheme = - | 'inbound_goods' - | 'small_seller' - | 'standard'; - } - } - - export namespace Us { - export interface AdmissionsTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export interface AttendanceTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export interface EntertainmentTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export interface GrossReceiptsTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export interface HomeRuleTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=home_rule_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export interface HospitalityTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export interface LocalAmusementTax { - /** - * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. - */ - jurisdiction?: string; - - /** - * The type of the election for the state sales tax registration. - */ - type: Election.Type; - } - - export interface LuxuryTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export interface ResortTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=resort_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export interface StateSalesTax { - /** - * Elections for the state sales tax registration. - */ - elections?: Array; - } - - export interface TourismTax { - /** - * A [jurisdiction code](https://docs.stripe.com/tax/registering?type=tourism_tax#registration-types) representing the local jurisdiction. - */ - jurisdiction: string; - } - - export type Type = - | 'admissions_tax' - | 'attendance_tax' - | 'entertainment_tax' - | 'gross_receipts_tax' - | 'home_rule_tax' - | 'hospitality_tax' - | 'local_amusement_tax' - | 'local_lease_tax' - | 'luxury_tax' - | 'resort_tax' - | 'state_communications_tax' - | 'state_retail_delivery_fee' - | 'state_sales_tax' - | 'tourism_tax'; - - export namespace StateSalesTax { - export interface Election { - /** - * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. - */ - jurisdiction?: string; - - /** - * The type of the election for the state sales tax registration. - */ - type: Election.Type; - } - - export namespace Election { - export type Type = - | 'local_use_tax' - | 'simplified_sellers_use_tax' - | 'single_local_use_tax'; - } + export namespace Election { + export type Type = + | 'local_use_tax' + | 'simplified_sellers_use_tax' + | 'single_local_use_tax'; } } } diff --git a/src/resources/Tax/TransactionLineItems.ts b/src/resources/Tax/TransactionLineItems.ts index 026b946d00..65e8b645ce 100644 --- a/src/resources/Tax/TransactionLineItems.ts +++ b/src/resources/Tax/TransactionLineItems.ts @@ -36,7 +36,7 @@ export interface TransactionLineItem { /** * The address of the location where this line item's event or service takes place. Depending on the [tax code](https://docs.stripe.com/tax/tax-codes), providing a performance location is required, optional, or not supported. Use this to provide the address inline without pre-creating a [TaxLocation](https://docs.stripe.com/api/tax/location) object. Can't be used with `performance_location`. */ - performance_location_details?: Tax.TransactionLineItem.PerformanceLocationDetails | null; + performance_location_details?: TransactionLineItem.PerformanceLocationDetails | null; /** * The ID of an existing [Product](https://docs.stripe.com/api/products/object). @@ -73,22 +73,16 @@ export interface TransactionLineItem { */ type: TransactionLineItem.Type; } -export namespace Tax { - export namespace TransactionLineItem { - export interface PerformanceLocationDetails { - address: Address; - } - - export interface Reversal { - /** - * The `id` of the line item to reverse in the original transaction. - */ - original_line_item: string; - } - - export type TaxBehavior = 'exclusive' | 'inclusive'; - - export type Type = 'reversal' | 'transaction'; +export namespace TransactionLineItem { + export interface PerformanceLocationDetails { + address: Address; + } + + export interface Reversal { + /** + * The `id` of the line item to reverse in the original transaction. + */ + original_line_item: string; } export type TaxBehavior = 'exclusive' | 'inclusive'; diff --git a/src/resources/Tax/Transactions.ts b/src/resources/Tax/Transactions.ts index 81be139fc2..01c1726111 100644 --- a/src/resources/Tax/Transactions.ts +++ b/src/resources/Tax/Transactions.ts @@ -439,7 +439,7 @@ export namespace Transaction { state: string | null; } - export type Sourcing = 'destination' | 'origin'; + export type Sourcing = 'destination' | 'origin' | 'performance'; export interface TaxRateDetails { /** @@ -484,99 +484,30 @@ export namespace Transaction { | 'state'; } - export namespace TaxBreakdown { - export interface Jurisdiction { - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * A human-readable name for the jurisdiction imposing the tax. - */ - display_name: string; - - /** - * Indicates the level of the jurisdiction imposing the tax. - */ - level: Jurisdiction.Level; - - /** - * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States. - */ - state: string | null; - } - - export type Sourcing = 'destination' | 'origin' | 'performance'; - - export interface TaxRateDetails { - /** - * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)". - */ - display_name: string; - - /** - * The tax rate percentage as a string. For example, 8.5% is represented as "8.5". - */ - percentage_decimal: string; - - /** - * The tax type, such as `vat` or `sales_tax`. - */ - tax_type: TaxRateDetails.TaxType; - } - - export type TaxabilityReason = - | 'customer_exempt' - | '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'; - - export namespace Jurisdiction { - export type Level = - | 'city' - | 'country' - | 'county' - | 'district' - | 'state'; - } - - export namespace TaxRateDetails { - export type TaxType = - | 'admissions_tax' - | 'amusement_tax' - | 'attendance_tax' - | 'communications_tax' - | 'entertainment_tax' - | 'gross_receipts_tax' - | 'gst' - | 'hospitality_tax' - | 'hst' - | 'igst' - | 'jct' - | 'lease_tax' - | 'luxury_tax' - | 'pst' - | 'qst' - | 'resort_tax' - | 'retail_delivery_fee' - | 'rst' - | 'sales_tax' - | 'service_tax' - | 'tourism_tax' - | 'vat'; - } + export namespace TaxRateDetails { + export type TaxType = + | 'admissions_tax' + | 'amusement_tax' + | 'attendance_tax' + | 'communications_tax' + | 'entertainment_tax' + | 'gross_receipts_tax' + | 'gst' + | 'hospitality_tax' + | 'hst' + | 'igst' + | 'jct' + | 'lease_tax' + | 'luxury_tax' + | 'pst' + | 'qst' + | 'resort_tax' + | 'retail_delivery_fee' + | 'rst' + | 'sales_tax' + | 'service_tax' + | 'tourism_tax' + | 'vat'; } } } diff --git a/src/resources/Terminal/Configurations.ts b/src/resources/Terminal/Configurations.ts index 25f2a43abd..54a56fdf7d 100644 --- a/src/resources/Terminal/Configurations.ts +++ b/src/resources/Terminal/Configurations.ts @@ -122,9 +122,9 @@ export interface Configuration { offline?: Configuration.Offline; - reader_security?: Terminal.Configuration.ReaderSecurity; + reader_security?: Configuration.ReaderSecurity; - reboot_window?: Terminal.Configuration.RebootWindow; + reboot_window?: Configuration.RebootWindow; stripe_s700?: Configuration.StripeS700; @@ -189,20 +189,133 @@ export namespace Configuration { enabled: boolean | null; } + export interface ReaderSecurity { + /** + * Passcode used to access a reader's admin menu. + */ + admin_menu_passcode: string; + } + export interface RebootWindow { /** * Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour. */ end_hour: number; - export interface ReaderSecurity { - /** - * Passcode used to access a reader's admin menu. - */ - admin_menu_passcode: string; - } + /** + * Integer between 0 to 23 that represents the start hour of the reboot time window. + */ + start_hour: number; + } - export interface RebootWindow { + export interface StripeS700 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface StripeS710 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface Tipping { + aed?: Tipping.Aed; + + aud?: Tipping.Aud; + + cad?: Tipping.Cad; + + chf?: Tipping.Chf; + + czk?: Tipping.Czk; + + dkk?: Tipping.Dkk; + + eur?: Tipping.Eur; + + gbp?: Tipping.Gbp; + + gip?: Tipping.Gip; + + hkd?: Tipping.Hkd; + + huf?: Tipping.Huf; + + jpy?: Tipping.Jpy; + + mxn?: Tipping.Mxn; + + myr?: Tipping.Myr; + + nok?: Tipping.Nok; + + nzd?: Tipping.Nzd; + + pln?: Tipping.Pln; + + ron?: Tipping.Ron; + + sek?: Tipping.Sek; + + sgd?: Tipping.Sgd; + + usd?: Tipping.Usd; + } + + export interface VerifoneM425 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface VerifoneP400 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface VerifoneP630 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface VerifoneUx700 { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface VerifoneV660p { + /** + * A File ID representing an image to display on the reader + */ + splashscreen?: string | File; + } + + export interface Wifi { + enterprise_eap_peap?: Wifi.EnterpriseEapPeap; + + enterprise_eap_tls?: Wifi.EnterpriseEapTls; + + personal_psk?: Wifi.PersonalPsk; + + /** + * Security type of the WiFi network. The hash with the corresponding name contains the credentials for this security type. + */ + type: Wifi.Type; + } + + export namespace Tipping { + export interface Aed { /** * Fixed amounts displayed when collecting a tip */ diff --git a/src/resources/Terminal/ReaderCollectedData.ts b/src/resources/Terminal/ReaderCollectedData.ts index b1729b45f4..d74d8110ec 100644 --- a/src/resources/Terminal/ReaderCollectedData.ts +++ b/src/resources/Terminal/ReaderCollectedData.ts @@ -44,21 +44,19 @@ export interface ReaderCollectedData { /** * The magstripe data collected by the reader. */ - magstripe: Terminal.ReaderCollectedData.Magstripe | null; + magstripe: ReaderCollectedData.Magstripe | null; /** * The type of data collected by the reader. */ type: 'magstripe'; } -export namespace Terminal { - export namespace ReaderCollectedData { - export interface Magstripe { - /** - * The raw magstripe data collected by the reader. - */ - data: string | null; - } +export namespace ReaderCollectedData { + export interface Magstripe { + /** + * The raw magstripe data collected by the reader. + */ + data: string | null; } } export namespace Terminal { diff --git a/src/resources/Terminal/Readers.ts b/src/resources/Terminal/Readers.ts index a31c76db7a..1f0fc76fb9 100644 --- a/src/resources/Terminal/Readers.ts +++ b/src/resources/Terminal/Readers.ts @@ -545,6 +545,11 @@ export namespace Reader { } export interface CollectPaymentMethod { + /** + * Account the payment intent belongs to. + */ + account?: string; + /** * Represents a per-transaction override of a reader configuration */ @@ -566,6 +571,11 @@ export namespace Reader { } export interface ConfirmPaymentIntent { + /** + * Account the payment intent belongs to. + */ + account?: string; + /** * Represents a per-transaction override of a reader configuration */ @@ -590,6 +600,11 @@ export namespace Reader { } export interface ProcessPaymentIntent { + /** + * Account the payment intent belongs to. + */ + account?: string; + /** * Most recent PaymentIntent processed by the reader. */ @@ -619,6 +634,11 @@ export namespace Reader { } export interface RefundPayment { + /** + * Account the payment intent belongs to. + */ + account?: string; + /** * The amount being refunded. */ @@ -649,16 +669,10 @@ export namespace Reader { */ refund?: string | Refund; - export interface CollectPaymentMethod { - /** - * Account the payment intent belongs to. - */ - account?: string; - - /** - * Represents a per-transaction override of a reader configuration - */ - collect_config?: CollectPaymentMethod.CollectConfig; + /** + * Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. + */ + refund_application_fee?: boolean; /** * Represents a per-transaction override of a reader configuration @@ -671,16 +685,11 @@ export namespace Reader { reverse_transfer?: boolean; } - export interface ConfirmPaymentIntent { - /** - * Account the payment intent belongs to. - */ - account?: string; - - /** - * Represents a per-transaction override of a reader configuration - */ - confirm_config?: ConfirmPaymentIntent.ConfirmConfig; + export interface SetReaderDisplay { + /** + * Cart object to be displayed by the reader, including line items, amounts, and currency. + */ + cart: SetReaderDisplay.Cart | null; /** * Type of information to be displayed by the reader. Only `cart` is currently supported. @@ -700,105 +709,203 @@ export namespace Reader { | 'refund_payment' | 'set_reader_display'; - export interface ProcessPaymentIntent { - /** - * Account the payment intent belongs to. - */ - account?: string; - - /** - * Most recent PaymentIntent processed by the reader. - */ - payment_intent: string | PaymentIntent; - - /** - * Represents a per-transaction override of a reader configuration - */ - process_config?: ProcessPaymentIntent.ProcessConfig; - } - - export interface ProcessSetupIntent { - /** - * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. - */ - generated_card?: string; - - /** - * Represents a per-setup override of a reader configuration - */ - process_config?: ProcessSetupIntent.ProcessConfig; - - /** - * Most recent SetupIntent processed by the reader. - */ - setup_intent: string | SetupIntent; - } - - export interface RefundPayment { - /** - * Account the payment intent belongs to. - */ - account?: string; - - /** - * The amount being refunded. - */ - amount?: number; - - /** - * Charge that is being refunded. - */ - charge?: string | Charge; - - /** - * 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. - */ - metadata?: Metadata; - - /** - * Payment intent that is being refunded. - */ - payment_intent?: string | PaymentIntent; - - /** - * The reason for the refund. - */ - reason?: RefundPayment.Reason; - - /** - * Unique identifier for the refund object. - */ - refund?: string | Refund; - - /** - * Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. - */ - refund_application_fee?: boolean; - - /** - * Represents a per-transaction override of a reader configuration - */ - refund_payment_config?: RefundPayment.RefundPaymentConfig; - - /** - * Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge. - */ - reverse_transfer?: boolean; - } - - export interface SetReaderDisplay { - /** - * Cart object to be displayed by the reader, including line items, amounts, and currency. - */ - cart: SetReaderDisplay.Cart | null; - - /** - * Type of information to be displayed by the reader. Only `cart` is currently supported. - */ - type: 'cart'; - } - - export type Status = 'failed' | 'in_progress' | 'succeeded'; + export namespace ApiError { + export 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' + | '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' + | 'financial_connections_account_inactive' + | 'financial_connections_account_pending_account_numbers' + | 'financial_connections_account_unavailable_account_numbers' + | 'financial_connections_institution_unavailable' + | '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_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_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_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' + | 'sensitive_data_access_expired' + | '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_collected_data_invalid' + | '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' + | 'v2_account_disconnection_unsupported' + | 'v2_account_missing_configuration'; export type Type = | 'api_error' @@ -807,203 +914,12 @@ export namespace Reader { | 'invalid_request_error'; } - export namespace ApiError { - export 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' - | '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' - | 'financial_connections_account_inactive' - | 'financial_connections_account_pending_account_numbers' - | 'financial_connections_account_unavailable_account_numbers' - | 'financial_connections_institution_unavailable' - | '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_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_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_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' - | 'sensitive_data_access_expired' - | '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_collected_data_invalid' - | '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' - | 'v2_account_disconnection_unsupported' - | 'v2_account_missing_configuration'; + export namespace CollectInputs { + export interface Input { + /** + * Default text of input being collected. + */ + custom_text: Input.CustomText | null; /** * Information about a email being collected using a reader diff --git a/src/resources/TestHelpers/index.ts b/src/resources/TestHelpers/index.ts index 7804d9afff..8b0d6ff6f2 100644 --- a/src/resources/TestHelpers/index.ts +++ b/src/resources/TestHelpers/index.ts @@ -63,7 +63,7 @@ export declare namespace TestHelpers { export import TestClockListParams = TestHelpersNamespace4.TestClockListParams; export import TestClockCreateParams = TestHelpersNamespace4.TestClockCreateParams; export import TestClockAdvanceParams = TestHelpersNamespace4.TestClockAdvanceParams; - export import DeletedTestClock = TestHelpersNamespace4.DeletedTestClock; + export {DeletedTestClock}; export {TestClock, TestClockResource}; export {Capital}; export {Issuing}; diff --git a/src/resources/Treasury/FinancialAccountFeatures.ts b/src/resources/Treasury/FinancialAccountFeatures.ts index a2f790f35e..564c7b29ac 100644 --- a/src/resources/Treasury/FinancialAccountFeatures.ts +++ b/src/resources/Treasury/FinancialAccountFeatures.ts @@ -216,6 +216,11 @@ export namespace FinancialAccountFeatures { export namespace FinancialAddresses { export interface Aba { + /** + * Requested bank partner for this Financial Account + */ + bank?: Aba.Bank; + /** * Whether the FinancialAccount should have the Feature. */ @@ -233,6 +238,8 @@ export namespace FinancialAccountFeatures { } export namespace Aba { + export type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs'; + export type Status = 'active' | 'pending' | 'restricted'; export interface StatusDetail { @@ -569,134 +576,7 @@ export namespace FinancialAccountFeatures { } } - export namespace FinancialAddresses { - export interface Aba { - /** - * Requested bank partner for this Financial Account - */ - bank?: Aba.Bank; - - /** - * Whether the FinancialAccount should have the Feature. - */ - requested: boolean; - - /** - * Whether the Feature is operational. - */ - status: Aba.Status; - - /** - * Additional details; includes at least one entry when the status is not `active`. - */ - status_details: Array; - } - - export namespace Aba { - export type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs'; - - export type Status = 'active' | 'pending' | 'restricted'; - - export interface StatusDetail { - /** - * Represents the reason why the status is `pending` or `restricted`. - */ - code: StatusDetail.Code; - - /** - * Represents what the user should do, if anything, to activate the Feature. - */ - resolution: StatusDetail.Resolution | null; - - /** - * The `platform_restrictions` that are restricting this Feature. - */ - restriction?: StatusDetail.Restriction; - } - - export namespace StatusDetail { - export type Code = - | 'activating' - | 'capability_not_requested' - | 'financial_account_closed' - | 'rejected_other' - | 'rejected_unsupported_business' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_by_platform' - | 'restricted_other'; - - export type Resolution = - | 'contact_stripe' - | 'provide_information' - | 'remove_restriction'; - - export type Restriction = 'inbound_flows' | 'outbound_flows'; - } - } - } - - export namespace InboundTransfers { - export interface Ach { - /** - * Whether the FinancialAccount should have the Feature. - */ - requested: boolean; - - /** - * Whether the Feature is operational. - */ - status: Ach.Status; - - /** - * Additional details; includes at least one entry when the status is not `active`. - */ - status_details: Array; - } - - export namespace Ach { - export type Status = 'active' | 'pending' | 'restricted'; - - export interface StatusDetail { - /** - * Represents the reason why the status is `pending` or `restricted`. - */ - code: StatusDetail.Code; - - /** - * Represents what the user should do, if anything, to activate the Feature. - */ - resolution: StatusDetail.Resolution | null; - - /** - * The `platform_restrictions` that are restricting this Feature. - */ - restriction?: StatusDetail.Restriction; - } - - export namespace StatusDetail { - export type Code = - | 'activating' - | 'capability_not_requested' - | 'financial_account_closed' - | 'rejected_other' - | 'rejected_unsupported_business' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_by_platform' - | 'restricted_other'; - - export type Resolution = - | 'contact_stripe' - | 'provide_information' - | 'remove_restriction'; - - export type Restriction = 'inbound_flows' | 'outbound_flows'; - } - } - } - - export namespace IntraStripeFlows { + export namespace UsDomesticWire { export type Status = 'active' | 'pending' | 'restricted'; export interface StatusDetail { diff --git a/src/resources/Treasury/OutboundTransfers.ts b/src/resources/Treasury/OutboundTransfers.ts index 990298a409..0ea110a2e0 100644 --- a/src/resources/Treasury/OutboundTransfers.ts +++ b/src/resources/Treasury/OutboundTransfers.ts @@ -146,7 +146,7 @@ export interface OutboundTransfer { /** * Details about the network used for the OutboundTransfer. */ - network_details?: Treasury.OutboundTransfer.NetworkDetails | null; + network_details?: OutboundTransfer.NetworkDetails | null; /** * Details about a returned OutboundTransfer. Only set when the status is `returned`. @@ -189,6 +189,18 @@ export namespace OutboundTransfer { us_bank_account?: DestinationPaymentMethodDetails.UsBankAccount; } + export interface NetworkDetails { + /** + * Details about an ACH transaction. + */ + ach?: NetworkDetails.Ach | null; + + /** + * The type of flow that originated the OutboundTransfer. + */ + type: 'ach'; + } + export interface ReturnedDetails { /** * Reason for the return. @@ -256,19 +268,7 @@ export namespace OutboundTransfer { name: string | null; } - export interface NetworkDetails { - /** - * Details about an ACH transaction. - */ - ach?: NetworkDetails.Ach | null; - - /** - * The type of flow that originated the OutboundTransfer. - */ - type: 'ach'; - } - - export interface ReturnedDetails { + export interface FinancialAccount { /** * Token of the FinancialAccount. */ @@ -333,6 +333,15 @@ export namespace OutboundTransfer { } } + export namespace NetworkDetails { + export interface Ach { + /** + * ACH Addenda record + */ + addenda: string | null; + } + } + export namespace ReturnedDetails { export type Code = | 'account_closed' @@ -368,138 +377,10 @@ export namespace OutboundTransfer { */ imad: string | null; - us_domestic_wire?: TrackingDetails.UsDomesticWire; - } - - export namespace DestinationPaymentMethodDetails { - export interface BillingDetails { - address: Address; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - } - - export interface FinancialAccount { - /** - * Token of the FinancialAccount. - */ - id: string; - - /** - * The rails used to send funds. - */ - network: 'stripe'; - } - - export type Type = 'financial_account' | 'us_bank_account'; - - export interface UsBankAccount { - /** - * Account holder type: individual or company. - */ - account_holder_type: UsBankAccount.AccountHolderType | null; - - /** - * Account type: checkings or savings. Defaults to checking if omitted. - */ - account_type: UsBankAccount.AccountType | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * ID of the mandate used to make this payment. - */ - mandate?: string | Mandate; - - /** - * The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type. - */ - network: UsBankAccount.Network; - - /** - * Routing number of the bank account. - */ - routing_number: string | null; - } - - export namespace UsBankAccount { - export type AccountHolderType = 'company' | 'individual'; - - export type AccountType = 'checking' | 'savings'; - - export type Network = 'ach' | 'us_domestic_wire'; - } - } - - export namespace NetworkDetails { - export interface Ach { - /** - * ACH Addenda record - */ - addenda: string | null; - } - } - - export namespace ReturnedDetails { - export type Code = - | 'account_closed' - | 'account_frozen' - | 'bank_account_restricted' - | 'bank_ownership_changed' - | 'declined' - | 'incorrect_account_holder_name' - | 'invalid_account_number' - | 'invalid_currency' - | 'no_account' - | 'other'; - } - - export namespace TrackingDetails { - export interface Ach { - /** - * ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network. - */ - trace_id: string; - } - - export type Type = 'ach' | 'us_domestic_wire'; - - export interface UsDomesticWire { - /** - * CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. - */ - chips: string | null; - - /** - * IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. - */ - imad: string | null; - - /** - * OMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. - */ - omad: string | null; - } + /** + * OMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network. + */ + omad: string | null; } } } diff --git a/src/resources/Treasury/ReceivedCredits.ts b/src/resources/Treasury/ReceivedCredits.ts index b06ee16e0f..812efda376 100644 --- a/src/resources/Treasury/ReceivedCredits.ts +++ b/src/resources/Treasury/ReceivedCredits.ts @@ -106,7 +106,7 @@ export interface ReceivedCredit { /** * Details specific to the money movement rails. */ - network_details?: Treasury.ReceivedCredit.NetworkDetails | null; + network_details?: ReceivedCredit.NetworkDetails | null; /** * Details describing when a ReceivedCredit may be reversed. @@ -187,6 +187,18 @@ export namespace ReceivedCredit { export type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire'; + export interface NetworkDetails { + /** + * Details about an ACH transaction. + */ + ach?: NetworkDetails.Ach | null; + + /** + * The type of flow that originated the ReceivedCredit. + */ + type: 'ach'; + } + export interface ReversalDetails { /** * Time before which a ReceivedCredit can be reversed. @@ -235,19 +247,7 @@ export namespace ReceivedCredit { | 'stripe' | 'us_bank_account'; - export interface NetworkDetails { - /** - * Details about an ACH transaction. - */ - ach?: NetworkDetails.Ach | null; - - /** - * The type of flow that originated the ReceivedCredit. - */ - type: 'ach'; - } - - export interface ReversalDetails { + export interface UsBankAccount { /** * Bank name. */ @@ -310,97 +310,7 @@ export namespace ReceivedCredit { export namespace SourceFlowDetails { export type Type = - | 'balance' - | 'financial_account' - | 'issuing_card' - | 'stripe' - | 'us_bank_account'; - - export interface UsBankAccount { - /** - * Bank name. - */ - bank_name: string | null; - - /** - * The last four digits of the bank account number. - */ - last4: string | null; - - /** - * The routing number for the bank account. - */ - routing_number: string | null; - } - } - - export namespace LinkedFlows { - export interface SourceFlowDetails { - /** - * You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal. - */ - credit_reversal?: CreditReversal; - - /** - * Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers). - * - * Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects. - * - * Related guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) - */ - outbound_payment?: OutboundPayment; - - /** - * Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. - * - * Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects. - * - * Related guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) - */ - outbound_transfer?: OutboundTransfer; - - /** - * A `Payout` object is created when you receive funds from Stripe, or when you - * initiate a payout to either a bank account or debit card of a [connected - * Stripe account](https://docs.stripe.com/docs/connect/bank-debit-card-payouts). You can retrieve individual payouts, - * and list all payouts. Payouts are made on [varying - * schedules](https://docs.stripe.com/docs/connect/manage-payout-schedule), depending on your country and - * industry. - * - * Related guide: [Receiving payouts](https://docs.stripe.com/payouts) - */ - payout?: Payout; - - /** - * The type of the source flow that originated the ReceivedCredit. - */ - type: SourceFlowDetails.Type; - } - - export namespace SourceFlowDetails { - export type Type = - | 'credit_reversal' - | 'other' - | 'outbound_payment' - | 'outbound_transfer' - | 'payout'; - } - } - - export namespace NetworkDetails { - export interface Ach { - /** - * ACH Addenda record - */ - addenda: string | null; - } - } - - export namespace ReversalDetails { - export type RestrictedReason = - | 'already_reversed' - | 'deadline_passed' - | 'network_restricted' + | 'credit_reversal' | 'other' | 'outbound_payment' | 'outbound_transfer' @@ -408,6 +318,15 @@ export namespace ReceivedCredit { } } + export namespace NetworkDetails { + export interface Ach { + /** + * ACH Addenda record + */ + addenda: string | null; + } + } + export namespace ReversalDetails { export type RestrictedReason = | 'already_reversed' diff --git a/src/resources/Treasury/ReceivedDebits.ts b/src/resources/Treasury/ReceivedDebits.ts index 3af5f02b50..5b2a4978a4 100644 --- a/src/resources/Treasury/ReceivedDebits.ts +++ b/src/resources/Treasury/ReceivedDebits.ts @@ -102,7 +102,7 @@ export interface ReceivedDebit { /** * Details specific to the money movement rails. */ - network_details?: Treasury.ReceivedDebit.NetworkDetails | null; + network_details?: ReceivedDebit.NetworkDetails | null; /** * Details describing when a ReceivedDebit might be reversed. @@ -176,6 +176,11 @@ export namespace ReceivedDebit { */ payout: string | null; + /** + * The ReceivedCredit that Capital withheld from + */ + received_credit_capital_withholding?: string | null; + /** * Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object. */ @@ -184,6 +189,18 @@ export namespace ReceivedDebit { export type Network = 'ach' | 'card' | 'stripe'; + export interface NetworkDetails { + /** + * Details about an ACH transaction. + */ + ach?: NetworkDetails.Ach | null; + + /** + * The type of flow that originated the ReceivedDebit. + */ + type: 'ach'; + } + export interface ReversalDetails { /** * Time before which a ReceivedDebit can be reversed. @@ -222,32 +239,7 @@ export namespace ReceivedDebit { /** * The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`. */ - inbound_transfer: string | null; - - /** - * Set if the ReceivedDebit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object. - */ - issuing_authorization: string | null; - - /** - * Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://api.stripe.com#issuing_disputes) object. - */ - issuing_transaction: string | null; - - /** - * Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object. - */ - payout: string | null; - - /** - * The ReceivedCredit that Capital withheld from - */ - received_credit_capital_withholding?: string | null; - - /** - * Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object. - */ - topup: string | null; + network: 'stripe'; } export type Type = @@ -257,19 +249,7 @@ export namespace ReceivedDebit { | 'stripe' | 'us_bank_account'; - export interface NetworkDetails { - /** - * Details about an ACH transaction. - */ - ach?: NetworkDetails.Ach | null; - - /** - * The type of flow that originated the ReceivedDebit. - */ - type: 'ach'; - } - - export interface ReversalDetails { + export interface UsBankAccount { /** * Bank name. */ @@ -287,77 +267,22 @@ export namespace ReceivedDebit { } } - export type Status = 'failed' | 'succeeded'; - - export namespace InitiatingPaymentMethodDetails { - export interface BillingDetails { - address: Address; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - } - - export interface FinancialAccount { - /** - * The FinancialAccount ID. - */ - id: string; - - /** - * The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`. - */ - network: 'stripe'; - } - - export type Type = - | 'balance' - | 'financial_account' - | 'issuing_card' - | 'stripe' - | 'us_bank_account'; - - export interface UsBankAccount { - /** - * Bank name. - */ - bank_name: string | null; - - /** - * The last four digits of the bank account number. - */ - last4: string | null; - - /** - * The routing number for the bank account. - */ - routing_number: string | null; - } - } - - export namespace NetworkDetails { - export interface Ach { - /** - * ACH Addenda record - */ - addenda: string | null; - } + export namespace NetworkDetails { + export interface Ach { + /** + * ACH Addenda record + */ + addenda: string | null; } + } - export namespace ReversalDetails { - export type RestrictedReason = - | 'already_reversed' - | 'deadline_passed' - | 'network_restricted' - | 'other' - | 'source_flow_restricted'; - } + export namespace ReversalDetails { + export type RestrictedReason = + | 'already_reversed' + | 'deadline_passed' + | 'network_restricted' + | 'other' + | 'source_flow_restricted'; } } export namespace Treasury { diff --git a/src/resources/V2/Billing/BillSettingVersions.ts b/src/resources/V2/Billing/BillSettingVersions.ts index 40a451af43..d33ea710c9 100644 --- a/src/resources/V2/Billing/BillSettingVersions.ts +++ b/src/resources/V2/Billing/BillSettingVersions.ts @@ -15,7 +15,7 @@ export interface BillSettingVersion { /** * Settings related to calculating a bill. */ - calculation?: V2.Billing.BillSettingVersion.Calculation; + calculation?: BillSettingVersion.Calculation; /** * Timestamp of when the object was created. @@ -25,7 +25,7 @@ export interface BillSettingVersion { /** * Settings related to invoice behavior. */ - invoice?: V2.Billing.BillSettingVersion.Invoice; + invoice?: BillSettingVersion.Invoice; /** * The ID of the invoice rendering template to be used when generating invoices. @@ -37,54 +37,50 @@ export interface BillSettingVersion { */ livemode: boolean; } -export namespace V2 { - export namespace Billing { - export namespace BillSettingVersion { - export interface Calculation { - /** - * Settings for calculating tax. - */ - tax?: Calculation.Tax; - } +export namespace BillSettingVersion { + export interface Calculation { + /** + * Settings for calculating tax. + */ + tax?: Calculation.Tax; + } - export interface Invoice { - /** - * The amount of time until the invoice is overdue for payment. - */ - time_until_due?: Invoice.TimeUntilDue; - } + export interface Invoice { + /** + * The amount of time until the invoice is overdue for payment. + */ + time_until_due?: Invoice.TimeUntilDue; + } - export namespace Calculation { - export interface Tax { - /** - * Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to "manual". - */ - type: Tax.Type; - } + export namespace Calculation { + export interface Tax { + /** + * Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to "manual". + */ + type: Tax.Type; + } - export namespace Tax { - export type Type = 'automatic' | 'manual'; - } - } + export namespace Tax { + export type Type = 'automatic' | 'manual'; + } + } - export namespace Invoice { - export interface TimeUntilDue { - /** - * The interval unit for the time until due. - */ - interval: TimeUntilDue.Interval; + export namespace Invoice { + export interface TimeUntilDue { + /** + * The interval unit for the time until due. + */ + interval: TimeUntilDue.Interval; - /** - * The number of interval units. For example, if interval=day and interval_count=30, - * the invoice is due in 30 days. - */ - interval_count: number; - } + /** + * The number of interval units. For example, if interval=day and interval_count=30, + * the invoice is due in 30 days. + */ + interval_count: number; + } - export namespace TimeUntilDue { - export type Interval = 'day' | 'month' | 'week' | 'year'; - } - } + export namespace TimeUntilDue { + export type Interval = 'day' | 'month' | 'week' | 'year'; } } } diff --git a/src/resources/V2/Billing/BillSettings.ts b/src/resources/V2/Billing/BillSettings.ts index ffda233d72..cb5721e7d4 100644 --- a/src/resources/V2/Billing/BillSettings.ts +++ b/src/resources/V2/Billing/BillSettings.ts @@ -87,7 +87,7 @@ export interface BillSetting { /** * Settings related to calculating a bill. */ - calculation?: V2.Billing.BillSetting.Calculation; + calculation?: BillSetting.Calculation; /** * Timestamp of when the object was created. @@ -102,7 +102,7 @@ export interface BillSetting { /** * Settings related to invoice behavior. */ - invoice?: V2.Billing.BillSetting.Invoice; + invoice?: BillSetting.Invoice; /** * The ID of the invoice rendering template to be used when generating invoices. @@ -132,54 +132,50 @@ export interface BillSetting { */ lookup_key?: string; } -export namespace V2 { - export namespace Billing { - export namespace BillSetting { - export interface Calculation { - /** - * Settings for calculating tax. - */ - tax?: Calculation.Tax; - } +export namespace BillSetting { + export interface Calculation { + /** + * Settings for calculating tax. + */ + tax?: Calculation.Tax; + } - export interface Invoice { - /** - * The amount of time until the invoice is overdue for payment. - */ - time_until_due?: Invoice.TimeUntilDue; - } + export interface Invoice { + /** + * The amount of time until the invoice is overdue for payment. + */ + time_until_due?: Invoice.TimeUntilDue; + } - export namespace Calculation { - export interface Tax { - /** - * Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to "manual". - */ - type: Tax.Type; - } + export namespace Calculation { + export interface Tax { + /** + * Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to "manual". + */ + type: Tax.Type; + } - export namespace Tax { - export type Type = 'automatic' | 'manual'; - } - } + export namespace Tax { + export type Type = 'automatic' | 'manual'; + } + } - export namespace Invoice { - export interface TimeUntilDue { - /** - * The interval unit for the time until due. - */ - interval: TimeUntilDue.Interval; + export namespace Invoice { + export interface TimeUntilDue { + /** + * The interval unit for the time until due. + */ + interval: TimeUntilDue.Interval; - /** - * The number of interval units. For example, if interval=day and interval_count=30, - * the invoice is due in 30 days. - */ - interval_count: number; - } + /** + * The number of interval units. For example, if interval=day and interval_count=30, + * the invoice is due in 30 days. + */ + interval_count: number; + } - export namespace TimeUntilDue { - export type Interval = 'day' | 'month' | 'week' | 'year'; - } - } + export namespace TimeUntilDue { + export type Interval = 'day' | 'month' | 'week' | 'year'; } } } diff --git a/src/resources/V2/Billing/CadenceSpendModifiers.ts b/src/resources/V2/Billing/CadenceSpendModifiers.ts index 476e3bd4f5..d7220099ee 100644 --- a/src/resources/V2/Billing/CadenceSpendModifiers.ts +++ b/src/resources/V2/Billing/CadenceSpendModifiers.ts @@ -30,76 +30,72 @@ export interface CadenceSpendModifier { /** * Max invoice spend details. Present if type is `max_billing_period_spend`. */ - max_billing_period_spend?: V2.Billing.CadenceSpendModifier.MaxBillingPeriodSpend; + max_billing_period_spend?: CadenceSpendModifier.MaxBillingPeriodSpend; /** * The type of the spend modifier. */ type: 'max_billing_period_spend'; } -export namespace V2 { - export namespace Billing { - export namespace CadenceSpendModifier { - export interface MaxBillingPeriodSpend { - /** - * The billing alert associated with the maximum spend threshold. - */ - alert: string; +export namespace CadenceSpendModifier { + export interface MaxBillingPeriodSpend { + /** + * The billing alert associated with the maximum spend threshold. + */ + alert: string; + + /** + * The maximum amount of invoice spend. + */ + amount: MaxBillingPeriodSpend.Amount; + + /** + * The configuration for the overage rate for the custom pricing unit. + */ + custom_pricing_unit_overage_rate: MaxBillingPeriodSpend.CustomPricingUnitOverageRate; + + /** + * The timestamp from which this spend modifier is effective. + */ + effective_from: string; + + /** + * The timestamp until which this spend modifier is effective. If not set, the modifier is effective indefinitely. + */ + effective_until?: string; + } - /** - * The maximum amount of invoice spend. - */ - amount: MaxBillingPeriodSpend.Amount; + export namespace MaxBillingPeriodSpend { + export interface Amount { + /** + * The custom pricing unit amount. Present if type is `custom_pricing_unit`. + */ + custom_pricing_unit?: Amount.CustomPricingUnit; + + /** + * The type of the spend modifier amount. + */ + type: 'custom_pricing_unit'; + } - /** - * The configuration for the overage rate for the custom pricing unit. - */ - custom_pricing_unit_overage_rate: MaxBillingPeriodSpend.CustomPricingUnitOverageRate; + export interface CustomPricingUnitOverageRate { + /** + * ID of the custom pricing unit overage rate. + */ + id: string; + } + export namespace Amount { + export interface CustomPricingUnit { /** - * The timestamp from which this spend modifier is effective. + * The id of the custom pricing unit. */ - effective_from: string; + id?: string; /** - * The timestamp until which this spend modifier is effective. If not set, the modifier is effective indefinitely. + * The decimal value of custom pricing units, represented as a string. */ - effective_until?: string; - } - - export namespace MaxBillingPeriodSpend { - export interface Amount { - /** - * The custom pricing unit amount. Present if type is `custom_pricing_unit`. - */ - custom_pricing_unit?: Amount.CustomPricingUnit; - - /** - * The type of the spend modifier amount. - */ - type: 'custom_pricing_unit'; - } - - export interface CustomPricingUnitOverageRate { - /** - * ID of the custom pricing unit overage rate. - */ - id: string; - } - - export namespace Amount { - export interface CustomPricingUnit { - /** - * The id of the custom pricing unit. - */ - id?: string; - - /** - * The decimal value of custom pricing units, represented as a string. - */ - value: string; - } - } + value: string; } } } diff --git a/src/resources/V2/Billing/Cadences.ts b/src/resources/V2/Billing/Cadences.ts index 00628725f3..258878140b 100644 --- a/src/resources/V2/Billing/Cadences.ts +++ b/src/resources/V2/Billing/Cadences.ts @@ -312,7 +312,7 @@ export interface Cadence { /** * The billing cycle is the object that defines future billing cycle dates. */ - billing_cycle: V2.Billing.Cadence.BillingCycle; + billing_cycle: Cadence.BillingCycle; /** * Timestamp of when the object was created. @@ -322,7 +322,7 @@ export interface Cadence { /** * The discount rules applied to all invoices for the cadence. */ - invoice_discount_rules?: Array; + invoice_discount_rules?: Array; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -347,677 +347,667 @@ export interface Cadence { /** * The payer determines the entity financially responsible for the bill. */ - payer: V2.Billing.Cadence.Payer; + payer: Cadence.Payer; /** * The settings associated with the cadence. */ - settings?: V2.Billing.Cadence.Settings; + settings?: Cadence.Settings; /** * Settings data that contains expanded billing settings configuration with actual values. */ - settings_data?: V2.Billing.Cadence.SettingsData; + settings_data?: Cadence.SettingsData; /** * The current status of the cadence. */ - status: V2.Billing.Cadence.Status; + status: Cadence.Status; /** * The ID of the Test Clock. */ test_clock?: string; } -export namespace V2 { - export namespace Billing { - export namespace Cadence { - export interface BillingCycle { - /** - * Specific configuration for determining billing dates when type=day. - */ - day?: BillingCycle.Day; +export namespace Cadence { + export interface BillingCycle { + /** + * Specific configuration for determining billing dates when type=day. + */ + day?: BillingCycle.Day; + + /** + * The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months. + */ + interval_count: number; + + /** + * Specific configuration for determining billing dates when type=month. + */ + month?: BillingCycle.Month; + + /** + * The frequency at which a cadence bills. + */ + type: BillingCycle.Type; + + /** + * Specific configuration for determining billing dates when type=week. + */ + week?: BillingCycle.Week; + + /** + * Specific configuration for determining billing dates when type=year. + */ + year?: BillingCycle.Year; + } - /** - * The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months. - */ - interval_count: number; + export interface InvoiceDiscountRule { + /** + * Unique identifier for the object. + */ + id: string; + + /** + * Details if the discount is a percentage off. + */ + percent_off?: InvoiceDiscountRule.PercentOff; + + /** + * The type of the discount. + */ + type: 'percent_off'; + } - /** - * Specific configuration for determining billing dates when type=month. - */ - month?: BillingCycle.Month; + export interface Payer { + /** + * The ID of the Billing Profile object which determines how a bill is paid. + */ + billing_profile: string; + + /** + * The ID of the Customer object. + */ + customer?: string; + + /** + * A string identifying the type of the payer. Currently the only supported value is `customer`. + */ + type: 'customer'; + } + + export interface Settings { + /** + * Settings that configure bills generation, which includes calculating totals, tax, and presenting invoices. + */ + bill?: Settings.Bill; + + /** + * Settings that configure and manage the behavior of collecting payments. + */ + collection?: Settings.Collection; + } + + export interface SettingsData { + /** + * Expanded bill settings data with actual configuration values. + */ + bill: SettingsData.Bill; + + /** + * Expanded collection settings data with actual configuration values. + */ + collection: SettingsData.Collection; + } + + export type Status = 'active' | 'canceled'; + + export namespace BillingCycle { + export interface Day { + /** + * The time at which the billing cycle ends. + */ + time: Day.Time; + } + + export interface Month { + /** + * The day to anchor the billing on for a type="month" billing cycle from 1-31. + * If this number is greater than the number of days in the month being billed, + * this anchors to the last day of the month. + */ + day_of_month: number; + + /** + * The month to anchor the billing on for a type="month" billing cycle from + * 1-12. Occurrences are calculated from the month anchor. + */ + month_of_year?: number; + + /** + * The time at which the billing cycle ends. + */ + time: Month.Time; + } + + export type Type = 'day' | 'month' | 'week' | 'year'; + + export interface Week { + /** + * The day of the week to bill the type=week billing cycle on. + * Numbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601 week day numbering. + */ + day_of_week: number; + + /** + * The time at which the billing cycle ends. + */ + time: Week.Time; + } + + export interface Year { + /** + * The day to anchor the billing on for a type="month" billing cycle from 1-31. + * If this number is greater than the number of days in the month being billed, + * this anchors to the last day of the month. + */ + day_of_month: number; + + /** + * The month to bill on from 1-12. If not provided, this defaults to the month the cadence was created. + */ + month_of_year: number; + + /** + * The time at which the billing cycle ends. + */ + time: Year.Time; + } + export namespace Day { + export interface Time { /** - * The frequency at which a cadence bills. + * The hour at which the billing cycle ends. + * This must be an integer between 0 and 23, inclusive. + * 0 represents midnight, and 23 represents 11 PM. */ - type: BillingCycle.Type; + hour: number; /** - * Specific configuration for determining billing dates when type=week. + * The minute at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - week?: BillingCycle.Week; + minute: number; /** - * Specific configuration for determining billing dates when type=year. + * The second at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - year?: BillingCycle.Year; + second?: number; } + } - export interface InvoiceDiscountRule { + export namespace Month { + export interface Time { /** - * Unique identifier for the object. + * The hour at which the billing cycle ends. + * This must be an integer between 0 and 23, inclusive. + * 0 represents midnight, and 23 represents 11 PM. */ - id: string; + hour: number; /** - * Details if the discount is a percentage off. + * The minute at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - percent_off?: InvoiceDiscountRule.PercentOff; + minute: number; /** - * The type of the discount. + * The second at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - type: 'percent_off'; + second?: number; } + } - export interface Payer { + export namespace Week { + export interface Time { /** - * The ID of the Billing Profile object which determines how a bill is paid. + * The hour at which the billing cycle ends. + * This must be an integer between 0 and 23, inclusive. + * 0 represents midnight, and 23 represents 11 PM. */ - billing_profile: string; + hour: number; /** - * The ID of the Customer object. + * The minute at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - customer?: string; + minute: number; /** - * A string identifying the type of the payer. Currently the only supported value is `customer`. + * The second at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - type: 'customer'; + second?: number; } + } - export interface Settings { + export namespace Year { + export interface Time { /** - * Settings that configure bills generation, which includes calculating totals, tax, and presenting invoices. + * The hour at which the billing cycle ends. + * This must be an integer between 0 and 23, inclusive. + * 0 represents midnight, and 23 represents 11 PM. */ - bill?: Settings.Bill; + hour: number; /** - * Settings that configure and manage the behavior of collecting payments. + * The minute at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - collection?: Settings.Collection; - } + minute: number; - export interface SettingsData { /** - * Expanded bill settings data with actual configuration values. + * The second at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - bill: SettingsData.Bill; + second?: number; + } + } + } + + export namespace InvoiceDiscountRule { + export interface PercentOff { + /** + * The maximum applications configuration for this discount. + */ + maximum_applications: PercentOff.MaximumApplications; + /** + * Percent that is taken off the amount. For example, a percent_off of 50.0 reduces a 100 USD amount to 50 USD. + */ + percent_off: Decimal; + } + + export namespace PercentOff { + export interface MaximumApplications { /** - * Expanded collection settings data with actual configuration values. + * Max applications type of this discount, ex: indefinite. */ - collection: SettingsData.Collection; + type: 'indefinite'; } + } + } + + export namespace Settings { + export interface Bill { + /** + * The ID of the referenced settings object. + */ + id: string; - export type Status = 'active' | 'canceled'; + /** + * Returns the Settings Version when the cadence is pinned to a specific version. + */ + version?: string; + } - export namespace BillingCycle { - export interface Day { - /** - * The time at which the billing cycle ends. - */ - time: Day.Time; - } + export interface Collection { + /** + * The ID of the referenced settings object. + */ + id: string; - export interface Month { - /** - * The day to anchor the billing on for a type="month" billing cycle from 1-31. - * If this number is greater than the number of days in the month being billed, - * this anchors to the last day of the month. - */ - day_of_month: number; + /** + * Returns the Settings Version when the cadence is pinned to a specific version. + */ + version?: string; + } + } - /** - * The month to anchor the billing on for a type="month" billing cycle from - * 1-12. Occurrences are calculated from the month anchor. - */ - month_of_year?: number; + export namespace SettingsData { + export interface Bill { + /** + * Settings related to calculating a bill. + */ + calculation: Bill.Calculation; - /** - * The time at which the billing cycle ends. - */ - time: Month.Time; - } + /** + * Settings related to invoice behavior. + */ + invoice: Bill.Invoice; - export type Type = 'day' | 'month' | 'week' | 'year'; + /** + * The ID of the invoice rendering template to be used when generating invoices. + */ + invoice_rendering_template?: string; + } - export interface Week { - /** - * The day of the week to bill the type=week billing cycle on. - * Numbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601 week day numbering. - */ - day_of_week: number; + export interface Collection { + /** + * Either automatic, or send_invoice. When charging automatically, Stripe attempts to pay this + * bill at the end of the period using the payment method attached to the billing profile. When sending an invoice, + * Stripe emails your billing profile an invoice with payment instructions. + * Defaults to automatic. + */ + collection_method: Collection.CollectionMethod; + /** + * Email delivery settings. + */ + email_delivery: Collection.EmailDelivery; + + /** + * The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers. + */ + payment_method_configuration: string; + + /** + * Payment Method specific configuration stored on the object. + */ + payment_method_options: Collection.PaymentMethodOptions; + } + + export namespace Bill { + export interface Calculation { + /** + * Settings for calculating tax. + */ + tax?: Calculation.Tax; + } + + export interface Invoice { + /** + * The amount of time until the invoice is overdue for payment. + */ + time_until_due?: Invoice.TimeUntilDue; + } + + export namespace Calculation { + export interface Tax { /** - * The time at which the billing cycle ends. + * Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to "manual". */ - time: Week.Time; + type: Tax.Type; } - export interface Year { - /** - * The day to anchor the billing on for a type="month" billing cycle from 1-31. - * If this number is greater than the number of days in the month being billed, - * this anchors to the last day of the month. - */ - day_of_month: number; + export namespace Tax { + export type Type = 'automatic' | 'manual'; + } + } + export namespace Invoice { + export interface TimeUntilDue { /** - * The month to bill on from 1-12. If not provided, this defaults to the month the cadence was created. + * The interval unit for the time until due. */ - month_of_year: number; + interval: TimeUntilDue.Interval; /** - * The time at which the billing cycle ends. + * The number of interval units. For example, if interval=day and interval_count=30, + * the invoice is due in 30 days. */ - time: Year.Time; + interval_count: number; } - export namespace Day { - export interface Time { - /** - * The hour at which the billing cycle ends. - * This must be an integer between 0 and 23, inclusive. - * 0 represents midnight, and 23 represents 11 PM. - */ - hour: number; - - /** - * The minute at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - minute: number; - - /** - * The second at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - second?: number; - } + export namespace TimeUntilDue { + export type Interval = 'day' | 'month' | 'week' | 'year'; } + } + } - export namespace Month { - export interface Time { - /** - * The hour at which the billing cycle ends. - * This must be an integer between 0 and 23, inclusive. - * 0 represents midnight, and 23 represents 11 PM. - */ - hour: number; + export namespace Collection { + export type CollectionMethod = 'automatic' | 'send_invoice'; - /** - * The minute at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - minute: number; + export interface EmailDelivery { + /** + * Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. + */ + payment_due?: EmailDelivery.PaymentDue; + } - /** - * The second at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - second?: number; - } - } + export interface PaymentMethodOptions { + /** + * This sub-hash contains details about the Canadian pre-authorized debit payment method options. + */ + acss_debit?: PaymentMethodOptions.AcssDebit; - export namespace Week { - export interface Time { - /** - * The hour at which the billing cycle ends. - * This must be an integer between 0 and 23, inclusive. - * 0 represents midnight, and 23 represents 11 PM. - */ - hour: number; + /** + * This sub-hash contains details about the Bancontact payment method. + */ + bancontact?: PaymentMethodOptions.Bancontact; - /** - * The minute at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - minute: number; + /** + * This sub-hash contains details about the Card payment method options. + */ + card?: PaymentMethodOptions.Card; - /** - * The second at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - second?: number; - } - } + /** + * This sub-hash contains details about the Bank transfer payment method options. + */ + customer_balance?: PaymentMethodOptions.CustomerBalance; - export namespace Year { - export interface Time { - /** - * The hour at which the billing cycle ends. - * This must be an integer between 0 and 23, inclusive. - * 0 represents midnight, and 23 represents 11 PM. - */ - hour: number; + /** + * This sub-hash contains details about the Konbini payment method options. + */ + konbini?: PaymentMethodOptions.Konbini; - /** - * The minute at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - minute: number; + /** + * This sub-hash contains details about the SEPA Direct Debit payment method options. + */ + sepa_debit?: PaymentMethodOptions.SepaDebit; - /** - * The second at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - second?: number; - } - } + /** + * This sub-hash contains details about the ACH direct debit payment method options. + */ + us_bank_account?: PaymentMethodOptions.UsBankAccount; } - export namespace InvoiceDiscountRule { - export interface PercentOff { + export namespace EmailDelivery { + export interface PaymentDue { /** - * The maximum applications configuration for this discount. + * If true an email for the invoice would be generated and sent out. */ - maximum_applications: PercentOff.MaximumApplications; + enabled: boolean; /** - * Percent that is taken off the amount. For example, a percent_off of 50.0 reduces a 100 USD amount to 50 USD. + * If true the payment link to hosted invoice page would be included in email and PDF of the invoice. */ - percent_off: Decimal; - } - - export namespace PercentOff { - export interface MaximumApplications { - /** - * Max applications type of this discount, ex: indefinite. - */ - type: 'indefinite'; - } + include_payment_link: boolean; } } - export namespace Settings { - export interface Bill { + export namespace PaymentMethodOptions { + export interface AcssDebit { /** - * The ID of the referenced settings object. + * Additional fields for Mandate creation. */ - id: string; + mandate_options?: AcssDebit.MandateOptions; /** - * Returns the Settings Version when the cadence is pinned to a specific version. + * Verification method. */ - version?: string; + verification_method?: AcssDebit.VerificationMethod; } - export interface Collection { - /** - * The ID of the referenced settings object. - */ - id: string; - + export interface Bancontact { /** - * Returns the Settings Version when the cadence is pinned to a specific version. + * Preferred language of the Bancontact authorization page that the customer is redirected to. */ - version?: string; + preferred_language?: Bancontact.PreferredLanguage; } - } - export namespace SettingsData { - export interface Bill { + export interface Card { /** - * Settings related to calculating a bill. + * Configuration options for setting up an eMandate for cards issued in India. */ - calculation: Bill.Calculation; + mandate_options?: Card.MandateOptions; /** - * Settings related to invoice behavior. + * Selected network to process the payment on. Depends on the available networks of the card. */ - invoice: Bill.Invoice; + network?: string; /** - * The ID of the invoice rendering template to be used when generating invoices. + * An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers + * for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). + * However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. + * Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. */ - invoice_rendering_template?: string; + request_three_d_secure?: Card.RequestThreeDSecure; } - export interface Collection { + export interface CustomerBalance { /** - * Either automatic, or send_invoice. When charging automatically, Stripe attempts to pay this - * bill at the end of the period using the payment method attached to the billing profile. When sending an invoice, - * Stripe emails your billing profile an invoice with payment instructions. - * Defaults to automatic. + * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. */ - collection_method: Collection.CollectionMethod; + bank_transfer?: CustomerBalance.BankTransfer; /** - * Email delivery settings. + * The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`. */ - email_delivery: Collection.EmailDelivery; + funding_type?: 'bank_transfer'; + } + export interface Konbini {} + + export interface SepaDebit {} + + export interface UsBankAccount { /** - * The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers. + * Additional fields for Financial Connections Session creation. */ - payment_method_configuration: string; + financial_connections: UsBankAccount.FinancialConnections; /** - * Payment Method specific configuration stored on the object. + * Verification method. */ - payment_method_options: Collection.PaymentMethodOptions; + verification_method: UsBankAccount.VerificationMethod; } - export namespace Bill { - export interface Calculation { - /** - * Settings for calculating tax. - */ - tax?: Calculation.Tax; - } - - export interface Invoice { + export namespace AcssDebit { + export interface MandateOptions { /** - * The amount of time until the invoice is overdue for payment. + * Transaction type of the mandate. */ - time_until_due?: Invoice.TimeUntilDue; - } - - export namespace Calculation { - export interface Tax { - /** - * Determines if tax is calculated automatically based on a PTC or manually based on rules defined by the business. Defaults to "manual". - */ - type: Tax.Type; - } - - export namespace Tax { - export type Type = 'automatic' | 'manual'; - } + transaction_type?: MandateOptions.TransactionType; } - export namespace Invoice { - export interface TimeUntilDue { - /** - * The interval unit for the time until due. - */ - interval: TimeUntilDue.Interval; + export type VerificationMethod = + | 'automatic' + | 'instant' + | 'microdeposits'; - /** - * The number of interval units. For example, if interval=day and interval_count=30, - * the invoice is due in 30 days. - */ - interval_count: number; - } - - export namespace TimeUntilDue { - export type Interval = 'day' | 'month' | 'week' | 'year'; - } + export namespace MandateOptions { + export type TransactionType = 'business' | 'personal'; } } - export namespace Collection { - export type CollectionMethod = 'automatic' | 'send_invoice'; - - export interface EmailDelivery { - /** - * Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. - */ - payment_due?: EmailDelivery.PaymentDue; - } + export namespace Bancontact { + export type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; + } - export interface PaymentMethodOptions { + export namespace Card { + export interface MandateOptions { /** - * This sub-hash contains details about the Canadian pre-authorized debit payment method options. + * Amount to be charged for future payments. */ - acss_debit?: PaymentMethodOptions.AcssDebit; + amount?: bigint; /** - * This sub-hash contains details about the Bancontact payment method. + * The AmountType for the mandate. One of `fixed` or `maximum`. */ - bancontact?: PaymentMethodOptions.Bancontact; + amount_type?: MandateOptions.AmountType; /** - * This sub-hash contains details about the Card payment method options. + * A description of the mandate that is meant to be displayed to the customer. */ - card?: PaymentMethodOptions.Card; + description?: string; + } - /** - * This sub-hash contains details about the Bank transfer payment method options. - */ - customer_balance?: PaymentMethodOptions.CustomerBalance; + export type RequestThreeDSecure = 'any' | 'automatic' | 'challenge'; - /** - * This sub-hash contains details about the Konbini payment method options. - */ - konbini?: PaymentMethodOptions.Konbini; + export namespace MandateOptions { + export type AmountType = 'fixed' | 'maximum'; + } + } + export namespace CustomerBalance { + export interface BankTransfer { /** - * This sub-hash contains details about the SEPA Direct Debit payment method options. + * Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`. */ - sepa_debit?: PaymentMethodOptions.SepaDebit; + eu_bank_transfer?: BankTransfer.EuBankTransfer; /** - * This sub-hash contains details about the ACH direct debit payment method options. + * The bank transfer type that can be used for funding. */ - us_bank_account?: PaymentMethodOptions.UsBankAccount; - } - - export namespace EmailDelivery { - export interface PaymentDue { - /** - * If true an email for the invoice would be generated and sent out. - */ - enabled: boolean; - - /** - * If true the payment link to hosted invoice page would be included in email and PDF of the invoice. - */ - include_payment_link: boolean; - } + type?: BankTransfer.Type; } - export namespace PaymentMethodOptions { - export interface AcssDebit { - /** - * Additional fields for Mandate creation. - */ - mandate_options?: AcssDebit.MandateOptions; - - /** - * Verification method. - */ - verification_method?: AcssDebit.VerificationMethod; - } - - export interface Bancontact { + export namespace BankTransfer { + export interface EuBankTransfer { /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. + * The desired country code of the bank account information. */ - preferred_language?: Bancontact.PreferredLanguage; + country: EuBankTransfer.Country; } - export interface Card { - /** - * Configuration options for setting up an eMandate for cards issued in India. - */ - mandate_options?: Card.MandateOptions; + export type Type = + | 'eu_bank_transfer' + | 'gb_bank_transfer' + | 'jp_bank_transfer' + | 'mx_bank_transfer' + | 'us_bank_transfer'; - /** - * Selected network to process the payment on. Depends on the available networks of the card. - */ - network?: string; - - /** - * An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers - * for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). - * However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. - * Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; + export namespace EuBankTransfer { + export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; } + } + } - export interface CustomerBalance { - /** - * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. - */ - bank_transfer?: CustomerBalance.BankTransfer; - - /** - * The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`. - */ - funding_type?: 'bank_transfer'; - } + export namespace UsBankAccount { + export interface FinancialConnections { + /** + * Provide filters for the linked accounts that the customer can select for the payment method. + */ + filters?: FinancialConnections.Filters; - export interface Konbini {} + /** + * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. + */ + permissions: Array; - export interface SepaDebit {} + /** + * List of data features that you would like to retrieve upon account creation. + */ + prefetch: Array; + } - export interface UsBankAccount { - /** - * Additional fields for Financial Connections Session creation. - */ - financial_connections: UsBankAccount.FinancialConnections; + export type VerificationMethod = + | 'automatic' + | 'instant' + | 'microdeposits'; + export namespace FinancialConnections { + export interface Filters { /** - * Verification method. + * The account subcategories to use to filter for selectable accounts. */ - verification_method: UsBankAccount.VerificationMethod; + account_subcategories: Array; } - export namespace AcssDebit { - export interface MandateOptions { - /** - * Transaction type of the mandate. - */ - transaction_type?: MandateOptions.TransactionType; - } - - export type VerificationMethod = - | 'automatic' - | 'instant' - | 'microdeposits'; - - export namespace MandateOptions { - export type TransactionType = 'business' | 'personal'; - } - } + export type Permission = + | 'balances' + | 'ownership' + | 'payment_method' + | 'transactions'; - export namespace Bancontact { - export type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - export namespace Card { - export interface MandateOptions { - /** - * Amount to be charged for future payments. - */ - amount?: bigint; - - /** - * The AmountType for the mandate. One of `fixed` or `maximum`. - */ - amount_type?: MandateOptions.AmountType; - - /** - * A description of the mandate that is meant to be displayed to the customer. - */ - description?: string; - } - - export type RequestThreeDSecure = - | 'any' - | 'automatic' - | 'challenge'; - - export namespace MandateOptions { - export type AmountType = 'fixed' | 'maximum'; - } - } - - export namespace CustomerBalance { - export interface BankTransfer { - /** - * Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`. - */ - eu_bank_transfer?: BankTransfer.EuBankTransfer; - - /** - * The bank transfer type that can be used for funding. - */ - type?: BankTransfer.Type; - } - - export namespace BankTransfer { - export interface EuBankTransfer { - /** - * The desired country code of the bank account information. - */ - country: EuBankTransfer.Country; - } - - export type Type = - | 'eu_bank_transfer' - | 'gb_bank_transfer' - | 'jp_bank_transfer' - | 'mx_bank_transfer' - | 'us_bank_transfer'; - - export namespace EuBankTransfer { - export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; - } - } - } + export type Prefetch = 'balances' | 'ownership' | 'transactions'; - export namespace UsBankAccount { - export interface FinancialConnections { - /** - * Provide filters for the linked accounts that the customer can select for the payment method. - */ - filters?: FinancialConnections.Filters; - - /** - * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. - */ - permissions: Array; - - /** - * List of data features that you would like to retrieve upon account creation. - */ - prefetch: Array; - } - - export type VerificationMethod = - | 'automatic' - | 'instant' - | 'microdeposits'; - - export namespace FinancialConnections { - export interface Filters { - /** - * The account subcategories to use to filter for selectable accounts. - */ - account_subcategories: Array; - } - - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; - - export type Prefetch = - | 'balances' - | 'ownership' - | 'transactions'; - - export namespace Filters { - export type AccountSubcategory = 'checking' | 'savings'; - } - } + export namespace Filters { + export type AccountSubcategory = 'checking' | 'savings'; } } } diff --git a/src/resources/V2/Billing/CollectionSettingVersions.ts b/src/resources/V2/Billing/CollectionSettingVersions.ts index 29ebb388b6..334563d52c 100644 --- a/src/resources/V2/Billing/CollectionSettingVersions.ts +++ b/src/resources/V2/Billing/CollectionSettingVersions.ts @@ -18,7 +18,7 @@ export interface CollectionSettingVersion { * Stripe emails your billing profile an invoice with payment instructions. * Defaults to automatic. */ - collection_method?: V2.Billing.CollectionSettingVersion.CollectionMethod; + collection_method?: CollectionSettingVersion.CollectionMethod; /** * Timestamp of when the object was created. @@ -28,7 +28,7 @@ export interface CollectionSettingVersion { /** * Email delivery settings. */ - email_delivery?: V2.Billing.CollectionSettingVersion.EmailDelivery; + email_delivery?: CollectionSettingVersion.EmailDelivery; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -43,263 +43,259 @@ export interface CollectionSettingVersion { /** * Payment Method specific configuration stored on the object. */ - payment_method_options?: V2.Billing.CollectionSettingVersion.PaymentMethodOptions; + payment_method_options?: CollectionSettingVersion.PaymentMethodOptions; } -export namespace V2 { - export namespace Billing { - export namespace CollectionSettingVersion { - export type CollectionMethod = 'automatic' | 'send_invoice'; +export namespace CollectionSettingVersion { + export type CollectionMethod = 'automatic' | 'send_invoice'; + + export interface EmailDelivery { + /** + * Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. + */ + payment_due?: EmailDelivery.PaymentDue; + } - export interface EmailDelivery { - /** - * Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. - */ - payment_due?: EmailDelivery.PaymentDue; - } + export interface PaymentMethodOptions { + /** + * This sub-hash contains details about the Canadian pre-authorized debit payment method options. + */ + acss_debit?: PaymentMethodOptions.AcssDebit; + + /** + * This sub-hash contains details about the Bancontact payment method. + */ + bancontact?: PaymentMethodOptions.Bancontact; + + /** + * This sub-hash contains details about the Card payment method options. + */ + card?: PaymentMethodOptions.Card; + + /** + * This sub-hash contains details about the Bank transfer payment method options. + */ + customer_balance?: PaymentMethodOptions.CustomerBalance; + + /** + * This sub-hash contains details about the Konbini payment method options. + */ + konbini?: PaymentMethodOptions.Konbini; + + /** + * This sub-hash contains details about the SEPA Direct Debit payment method options. + */ + sepa_debit?: PaymentMethodOptions.SepaDebit; + + /** + * This sub-hash contains details about the ACH direct debit payment method options. + */ + us_bank_account?: PaymentMethodOptions.UsBankAccount; + } - export interface PaymentMethodOptions { - /** - * This sub-hash contains details about the Canadian pre-authorized debit payment method options. - */ - acss_debit?: PaymentMethodOptions.AcssDebit; + export namespace EmailDelivery { + export interface PaymentDue { + /** + * If true an email for the invoice would be generated and sent out. + */ + enabled: boolean; + + /** + * If true the payment link to hosted invoice page would be included in email and PDF of the invoice. + */ + include_payment_link: boolean; + } + } - /** - * This sub-hash contains details about the Bancontact payment method. - */ - bancontact?: PaymentMethodOptions.Bancontact; + export namespace PaymentMethodOptions { + export interface AcssDebit { + /** + * Additional fields for Mandate creation. + */ + mandate_options?: AcssDebit.MandateOptions; + + /** + * Verification method. + */ + verification_method?: AcssDebit.VerificationMethod; + } - /** - * This sub-hash contains details about the Card payment method options. - */ - card?: PaymentMethodOptions.Card; + export interface Bancontact { + /** + * Preferred language of the Bancontact authorization page that the customer is redirected to. + */ + preferred_language?: Bancontact.PreferredLanguage; + } + + export interface Card { + /** + * Configuration options for setting up an eMandate for cards issued in India. + */ + mandate_options?: Card.MandateOptions; + + /** + * Selected network to process the payment on. Depends on the available networks of the card. + */ + network?: string; + + /** + * An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers + * for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). + * However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. + * Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + */ + request_three_d_secure?: Card.RequestThreeDSecure; + } + + export interface CustomerBalance { + /** + * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + */ + bank_transfer?: CustomerBalance.BankTransfer; + + /** + * The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`. + */ + funding_type?: 'bank_transfer'; + } + export interface Konbini {} + + export interface SepaDebit {} + + export interface UsBankAccount { + /** + * Additional fields for Financial Connections Session creation. + */ + financial_connections: UsBankAccount.FinancialConnections; + + /** + * Verification method. + */ + verification_method: UsBankAccount.VerificationMethod; + } + + export namespace AcssDebit { + export interface MandateOptions { /** - * This sub-hash contains details about the Bank transfer payment method options. + * Transaction type of the mandate. */ - customer_balance?: PaymentMethodOptions.CustomerBalance; + transaction_type?: MandateOptions.TransactionType; + } + + export type VerificationMethod = + | 'automatic' + | 'instant' + | 'microdeposits'; + + export namespace MandateOptions { + export type TransactionType = 'business' | 'personal'; + } + } + export namespace Bancontact { + export type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; + } + + export namespace Card { + export interface MandateOptions { /** - * This sub-hash contains details about the Konbini payment method options. + * Amount to be charged for future payments. */ - konbini?: PaymentMethodOptions.Konbini; + amount?: bigint; /** - * This sub-hash contains details about the SEPA Direct Debit payment method options. + * The AmountType for the mandate. One of `fixed` or `maximum`. */ - sepa_debit?: PaymentMethodOptions.SepaDebit; + amount_type?: MandateOptions.AmountType; /** - * This sub-hash contains details about the ACH direct debit payment method options. + * A description of the mandate that is meant to be displayed to the customer. */ - us_bank_account?: PaymentMethodOptions.UsBankAccount; + description?: string; } - export namespace EmailDelivery { - export interface PaymentDue { - /** - * If true an email for the invoice would be generated and sent out. - */ - enabled: boolean; + export type RequestThreeDSecure = 'any' | 'automatic' | 'challenge'; - /** - * If true the payment link to hosted invoice page would be included in email and PDF of the invoice. - */ - include_payment_link: boolean; - } + export namespace MandateOptions { + export type AmountType = 'fixed' | 'maximum'; } + } - export namespace PaymentMethodOptions { - export interface AcssDebit { - /** - * Additional fields for Mandate creation. - */ - mandate_options?: AcssDebit.MandateOptions; + export namespace CustomerBalance { + export interface BankTransfer { + /** + * Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`. + */ + eu_bank_transfer?: BankTransfer.EuBankTransfer; - /** - * Verification method. - */ - verification_method?: AcssDebit.VerificationMethod; - } + /** + * The bank transfer type that can be used for funding. + */ + type?: BankTransfer.Type; + } - export interface Bancontact { + export namespace BankTransfer { + export interface EuBankTransfer { /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. + * The desired country code of the bank account information. */ - preferred_language?: Bancontact.PreferredLanguage; + country: EuBankTransfer.Country; } - export interface Card { - /** - * Configuration options for setting up an eMandate for cards issued in India. - */ - mandate_options?: Card.MandateOptions; - - /** - * Selected network to process the payment on. Depends on the available networks of the card. - */ - network?: string; + export type Type = + | 'eu_bank_transfer' + | 'gb_bank_transfer' + | 'jp_bank_transfer' + | 'mx_bank_transfer' + | 'us_bank_transfer'; - /** - * An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers - * for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). - * However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. - * Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; + export namespace EuBankTransfer { + export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; } + } + } - export interface CustomerBalance { - /** - * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. - */ - bank_transfer?: CustomerBalance.BankTransfer; - - /** - * The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`. - */ - funding_type?: 'bank_transfer'; - } + export namespace UsBankAccount { + export interface FinancialConnections { + /** + * Provide filters for the linked accounts that the customer can select for the payment method. + */ + filters?: FinancialConnections.Filters; - export interface Konbini {} + /** + * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. + */ + permissions: Array; - export interface SepaDebit {} + /** + * List of data features that you would like to retrieve upon account creation. + */ + prefetch: Array; + } - export interface UsBankAccount { - /** - * Additional fields for Financial Connections Session creation. - */ - financial_connections: UsBankAccount.FinancialConnections; + export type VerificationMethod = + | 'automatic' + | 'instant' + | 'microdeposits'; + export namespace FinancialConnections { + export interface Filters { /** - * Verification method. + * The account subcategories to use to filter for selectable accounts. */ - verification_method: UsBankAccount.VerificationMethod; + account_subcategories: Array; } - export namespace AcssDebit { - export interface MandateOptions { - /** - * Transaction type of the mandate. - */ - transaction_type?: MandateOptions.TransactionType; - } - - export type VerificationMethod = - | 'automatic' - | 'instant' - | 'microdeposits'; - - export namespace MandateOptions { - export type TransactionType = 'business' | 'personal'; - } - } + export type Permission = + | 'balances' + | 'ownership' + | 'payment_method' + | 'transactions'; - export namespace Bancontact { - export type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - export namespace Card { - export interface MandateOptions { - /** - * Amount to be charged for future payments. - */ - amount?: bigint; - - /** - * The AmountType for the mandate. One of `fixed` or `maximum`. - */ - amount_type?: MandateOptions.AmountType; - - /** - * A description of the mandate that is meant to be displayed to the customer. - */ - description?: string; - } - - export type RequestThreeDSecure = 'any' | 'automatic' | 'challenge'; - - export namespace MandateOptions { - export type AmountType = 'fixed' | 'maximum'; - } - } - - export namespace CustomerBalance { - export interface BankTransfer { - /** - * Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`. - */ - eu_bank_transfer?: BankTransfer.EuBankTransfer; - - /** - * The bank transfer type that can be used for funding. - */ - type?: BankTransfer.Type; - } - - export namespace BankTransfer { - export interface EuBankTransfer { - /** - * The desired country code of the bank account information. - */ - country: EuBankTransfer.Country; - } - - export type Type = - | 'eu_bank_transfer' - | 'gb_bank_transfer' - | 'jp_bank_transfer' - | 'mx_bank_transfer' - | 'us_bank_transfer'; - - export namespace EuBankTransfer { - export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; - } - } - } + export type Prefetch = 'balances' | 'ownership' | 'transactions'; - export namespace UsBankAccount { - export interface FinancialConnections { - /** - * Provide filters for the linked accounts that the customer can select for the payment method. - */ - filters?: FinancialConnections.Filters; - - /** - * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. - */ - permissions: Array; - - /** - * List of data features that you would like to retrieve upon account creation. - */ - prefetch: Array; - } - - export type VerificationMethod = - | 'automatic' - | 'instant' - | 'microdeposits'; - - export namespace FinancialConnections { - export interface Filters { - /** - * The account subcategories to use to filter for selectable accounts. - */ - account_subcategories: Array; - } - - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; - - export type Prefetch = 'balances' | 'ownership' | 'transactions'; - - export namespace Filters { - export type AccountSubcategory = 'checking' | 'savings'; - } - } + export namespace Filters { + export type AccountSubcategory = 'checking' | 'savings'; } } } diff --git a/src/resources/V2/Billing/CollectionSettings.ts b/src/resources/V2/Billing/CollectionSettings.ts index cc654f6ff6..846ed574e4 100644 --- a/src/resources/V2/Billing/CollectionSettings.ts +++ b/src/resources/V2/Billing/CollectionSettings.ts @@ -218,7 +218,7 @@ export interface CollectionSetting { * Stripe emails your billing profile an invoice with payment instructions. * Defaults to automatic. */ - collection_method?: V2.Billing.CollectionSetting.CollectionMethod; + collection_method?: CollectionSetting.CollectionMethod; /** * Timestamp of when the object was created. @@ -233,7 +233,7 @@ export interface CollectionSetting { /** * Email delivery settings. */ - email_delivery?: V2.Billing.CollectionSetting.EmailDelivery; + email_delivery?: CollectionSetting.EmailDelivery; /** * The latest version of the current settings object. This is @@ -266,263 +266,259 @@ export interface CollectionSetting { /** * Payment Method specific configuration stored on the object. */ - payment_method_options?: V2.Billing.CollectionSetting.PaymentMethodOptions; + payment_method_options?: CollectionSetting.PaymentMethodOptions; } -export namespace V2 { - export namespace Billing { - export namespace CollectionSetting { - export type CollectionMethod = 'automatic' | 'send_invoice'; +export namespace CollectionSetting { + export type CollectionMethod = 'automatic' | 'send_invoice'; + + export interface EmailDelivery { + /** + * Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. + */ + payment_due?: EmailDelivery.PaymentDue; + } - export interface EmailDelivery { - /** - * Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state. - */ - payment_due?: EmailDelivery.PaymentDue; - } + export interface PaymentMethodOptions { + /** + * This sub-hash contains details about the Canadian pre-authorized debit payment method options. + */ + acss_debit?: PaymentMethodOptions.AcssDebit; + + /** + * This sub-hash contains details about the Bancontact payment method. + */ + bancontact?: PaymentMethodOptions.Bancontact; + + /** + * This sub-hash contains details about the Card payment method options. + */ + card?: PaymentMethodOptions.Card; + + /** + * This sub-hash contains details about the Bank transfer payment method options. + */ + customer_balance?: PaymentMethodOptions.CustomerBalance; + + /** + * This sub-hash contains details about the Konbini payment method options. + */ + konbini?: PaymentMethodOptions.Konbini; + + /** + * This sub-hash contains details about the SEPA Direct Debit payment method options. + */ + sepa_debit?: PaymentMethodOptions.SepaDebit; + + /** + * This sub-hash contains details about the ACH direct debit payment method options. + */ + us_bank_account?: PaymentMethodOptions.UsBankAccount; + } - export interface PaymentMethodOptions { - /** - * This sub-hash contains details about the Canadian pre-authorized debit payment method options. - */ - acss_debit?: PaymentMethodOptions.AcssDebit; + export namespace EmailDelivery { + export interface PaymentDue { + /** + * If true an email for the invoice would be generated and sent out. + */ + enabled: boolean; - /** - * This sub-hash contains details about the Bancontact payment method. - */ - bancontact?: PaymentMethodOptions.Bancontact; + /** + * If true the payment link to hosted invoice page would be included in email and PDF of the invoice. + */ + include_payment_link: boolean; + } + } - /** - * This sub-hash contains details about the Card payment method options. - */ - card?: PaymentMethodOptions.Card; + export namespace PaymentMethodOptions { + export interface AcssDebit { + /** + * Additional fields for Mandate creation. + */ + mandate_options?: AcssDebit.MandateOptions; + + /** + * Verification method. + */ + verification_method?: AcssDebit.VerificationMethod; + } + + export interface Bancontact { + /** + * Preferred language of the Bancontact authorization page that the customer is redirected to. + */ + preferred_language?: Bancontact.PreferredLanguage; + } + + export interface Card { + /** + * Configuration options for setting up an eMandate for cards issued in India. + */ + mandate_options?: Card.MandateOptions; + + /** + * Selected network to process the payment on. Depends on the available networks of the card. + */ + network?: string; + + /** + * An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers + * for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). + * However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. + * Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + */ + request_three_d_secure?: Card.RequestThreeDSecure; + } + + export interface CustomerBalance { + /** + * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + */ + bank_transfer?: CustomerBalance.BankTransfer; + /** + * The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`. + */ + funding_type?: 'bank_transfer'; + } + + export interface Konbini {} + + export interface SepaDebit {} + + export interface UsBankAccount { + /** + * Additional fields for Financial Connections Session creation. + */ + financial_connections: UsBankAccount.FinancialConnections; + + /** + * Verification method. + */ + verification_method: UsBankAccount.VerificationMethod; + } + + export namespace AcssDebit { + export interface MandateOptions { /** - * This sub-hash contains details about the Bank transfer payment method options. + * Transaction type of the mandate. */ - customer_balance?: PaymentMethodOptions.CustomerBalance; + transaction_type?: MandateOptions.TransactionType; + } + + export type VerificationMethod = + | 'automatic' + | 'instant' + | 'microdeposits'; + export namespace MandateOptions { + export type TransactionType = 'business' | 'personal'; + } + } + + export namespace Bancontact { + export type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; + } + + export namespace Card { + export interface MandateOptions { /** - * This sub-hash contains details about the Konbini payment method options. + * Amount to be charged for future payments. */ - konbini?: PaymentMethodOptions.Konbini; + amount?: bigint; /** - * This sub-hash contains details about the SEPA Direct Debit payment method options. + * The AmountType for the mandate. One of `fixed` or `maximum`. */ - sepa_debit?: PaymentMethodOptions.SepaDebit; + amount_type?: MandateOptions.AmountType; /** - * This sub-hash contains details about the ACH direct debit payment method options. + * A description of the mandate that is meant to be displayed to the customer. */ - us_bank_account?: PaymentMethodOptions.UsBankAccount; + description?: string; } - export namespace EmailDelivery { - export interface PaymentDue { - /** - * If true an email for the invoice would be generated and sent out. - */ - enabled: boolean; + export type RequestThreeDSecure = 'any' | 'automatic' | 'challenge'; - /** - * If true the payment link to hosted invoice page would be included in email and PDF of the invoice. - */ - include_payment_link: boolean; - } + export namespace MandateOptions { + export type AmountType = 'fixed' | 'maximum'; } + } - export namespace PaymentMethodOptions { - export interface AcssDebit { - /** - * Additional fields for Mandate creation. - */ - mandate_options?: AcssDebit.MandateOptions; + export namespace CustomerBalance { + export interface BankTransfer { + /** + * Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`. + */ + eu_bank_transfer?: BankTransfer.EuBankTransfer; - /** - * Verification method. - */ - verification_method?: AcssDebit.VerificationMethod; - } + /** + * The bank transfer type that can be used for funding. + */ + type?: BankTransfer.Type; + } - export interface Bancontact { + export namespace BankTransfer { + export interface EuBankTransfer { /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. + * The desired country code of the bank account information. */ - preferred_language?: Bancontact.PreferredLanguage; + country: EuBankTransfer.Country; } - export interface Card { - /** - * Configuration options for setting up an eMandate for cards issued in India. - */ - mandate_options?: Card.MandateOptions; - - /** - * Selected network to process the payment on. Depends on the available networks of the card. - */ - network?: string; + export type Type = + | 'eu_bank_transfer' + | 'gb_bank_transfer' + | 'jp_bank_transfer' + | 'mx_bank_transfer' + | 'us_bank_transfer'; - /** - * An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers - * for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). - * However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. - * Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; + export namespace EuBankTransfer { + export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; } + } + } - export interface CustomerBalance { - /** - * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. - */ - bank_transfer?: CustomerBalance.BankTransfer; - - /** - * The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`. - */ - funding_type?: 'bank_transfer'; - } + export namespace UsBankAccount { + export interface FinancialConnections { + /** + * Provide filters for the linked accounts that the customer can select for the payment method. + */ + filters?: FinancialConnections.Filters; - export interface Konbini {} + /** + * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. + */ + permissions: Array; - export interface SepaDebit {} + /** + * List of data features that you would like to retrieve upon account creation. + */ + prefetch: Array; + } - export interface UsBankAccount { - /** - * Additional fields for Financial Connections Session creation. - */ - financial_connections: UsBankAccount.FinancialConnections; + export type VerificationMethod = + | 'automatic' + | 'instant' + | 'microdeposits'; + export namespace FinancialConnections { + export interface Filters { /** - * Verification method. + * The account subcategories to use to filter for selectable accounts. */ - verification_method: UsBankAccount.VerificationMethod; - } - - export namespace AcssDebit { - export interface MandateOptions { - /** - * Transaction type of the mandate. - */ - transaction_type?: MandateOptions.TransactionType; - } - - export type VerificationMethod = - | 'automatic' - | 'instant' - | 'microdeposits'; - - export namespace MandateOptions { - export type TransactionType = 'business' | 'personal'; - } - } - - export namespace Bancontact { - export type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - export namespace Card { - export interface MandateOptions { - /** - * Amount to be charged for future payments. - */ - amount?: bigint; - - /** - * The AmountType for the mandate. One of `fixed` or `maximum`. - */ - amount_type?: MandateOptions.AmountType; - - /** - * A description of the mandate that is meant to be displayed to the customer. - */ - description?: string; - } - - export type RequestThreeDSecure = 'any' | 'automatic' | 'challenge'; - - export namespace MandateOptions { - export type AmountType = 'fixed' | 'maximum'; - } - } - - export namespace CustomerBalance { - export interface BankTransfer { - /** - * Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`. - */ - eu_bank_transfer?: BankTransfer.EuBankTransfer; - - /** - * The bank transfer type that can be used for funding. - */ - type?: BankTransfer.Type; - } - - export namespace BankTransfer { - export interface EuBankTransfer { - /** - * The desired country code of the bank account information. - */ - country: EuBankTransfer.Country; - } - - export type Type = - | 'eu_bank_transfer' - | 'gb_bank_transfer' - | 'jp_bank_transfer' - | 'mx_bank_transfer' - | 'us_bank_transfer'; - - export namespace EuBankTransfer { - export type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL'; - } - } + account_subcategories: Array; } - export namespace UsBankAccount { - export interface FinancialConnections { - /** - * Provide filters for the linked accounts that the customer can select for the payment method. - */ - filters?: FinancialConnections.Filters; - - /** - * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. - */ - permissions: Array; - - /** - * List of data features that you would like to retrieve upon account creation. - */ - prefetch: Array; - } - - export type VerificationMethod = - | 'automatic' - | 'instant' - | 'microdeposits'; - - export namespace FinancialConnections { - export interface Filters { - /** - * The account subcategories to use to filter for selectable accounts. - */ - account_subcategories: Array; - } + export type Permission = + | 'balances' + | 'ownership' + | 'payment_method' + | 'transactions'; - export type Permission = - | 'balances' - | 'ownership' - | 'payment_method' - | 'transactions'; - - export type Prefetch = 'balances' | 'ownership' | 'transactions'; + export type Prefetch = 'balances' | 'ownership' | 'transactions'; - export namespace Filters { - export type AccountSubcategory = 'checking' | 'savings'; - } - } + export namespace Filters { + export type AccountSubcategory = 'checking' | 'savings'; } } } diff --git a/src/resources/V2/Billing/ContractLicensePricingQuantityChanges.ts b/src/resources/V2/Billing/ContractLicensePricingQuantityChanges.ts index 2b64e8ba74..3ad1e6a5e2 100644 --- a/src/resources/V2/Billing/ContractLicensePricingQuantityChanges.ts +++ b/src/resources/V2/Billing/ContractLicensePricingQuantityChanges.ts @@ -30,7 +30,7 @@ export interface ContractLicensePricingQuantityChange { /** * The type of the license pricing. */ - license_pricing_type: V2.Billing.ContractLicensePricingQuantityChange.LicensePricingType; + license_pricing_type: ContractLicensePricingQuantityChange.LicensePricingType; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -47,10 +47,6 @@ export interface ContractLicensePricingQuantityChange { */ quantity: number; } -export namespace V2 { - export namespace Billing { - export namespace ContractLicensePricingQuantityChange { - export type LicensePricingType = 'license_fee' | 'price'; - } - } +export namespace ContractLicensePricingQuantityChange { + export type LicensePricingType = 'license_fee' | 'price'; } diff --git a/src/resources/V2/Billing/Contracts.ts b/src/resources/V2/Billing/Contracts.ts index 936a4a1b79..f7fe55ac86 100644 --- a/src/resources/V2/Billing/Contracts.ts +++ b/src/resources/V2/Billing/Contracts.ts @@ -435,12 +435,12 @@ export interface Contract { /** * The billing settings for the contract. */ - billing_settings?: V2.Billing.Contract.BillingSettings; + billing_settings?: Contract.BillingSettings; /** * The contract line details of the contract. Only populated when `contract_line_details` is passed in the `include` parameter. */ - contract_line_details: Array; + contract_line_details: Array; /** * A unique user-provided contract number e.g. C-2026-0001. @@ -450,7 +450,7 @@ export interface Contract { /** * The computed total value of all contract lines. */ - contract_value_details: V2.Billing.Contract.ContractValueDetails; + contract_value_details: Contract.ContractValueDetails; /** * Timestamp of when the object was created. @@ -470,7 +470,7 @@ export interface Contract { /** * The license quantities of the contract. Only populated when `license_quantities` is passed in the `include` parameter. */ - license_quantities: Array; + license_quantities: Array; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -485,856 +485,850 @@ export interface Contract { /** * The one-time fees of the contract. Only populated when `one_time_fees` is passed in the `include` parameter. */ - one_time_fees?: Array; + one_time_fees?: Array; /** * The pricing lines of the contract. Only populated when `pricing_lines` is passed in the `include` parameter. */ - pricing_lines: Array; + pricing_lines: Array; /** * The pricing overrides of the contract. Only populated when `pricing_overrides` is passed in the `include` parameter. */ - pricing_overrides: Array; + pricing_overrides: Array; /** * The current status of the contract. */ - status: V2.Billing.Contract.Status; + status: Contract.Status; /** * Information about the contract status transitions. */ - status_details: V2.Billing.Contract.StatusDetails; + status_details: Contract.StatusDetails; } -export namespace V2 { - export namespace Billing { - export namespace Contract { - export interface BillingSettings { - /** - * Billing settings details for the contract. - */ - contract_billing_details?: BillingSettings.ContractBillingDetails; - } +export namespace Contract { + export interface BillingSettings { + /** + * Billing settings details for the contract. + */ + contract_billing_details?: BillingSettings.ContractBillingDetails; + } - export interface ContractLineDetail { - /** - * The ID of the contract line. - */ - contract_line: string; + export interface ContractLineDetail { + /** + * The ID of the contract line. + */ + contract_line: string; + + /** + * The computed value details for the contract line. + */ + contract_line_value_details: ContractLineDetail.ContractLineValueDetails; + + /** + * Timestamp of when the object was created. + */ + created: string; + + /** + * Timestamp to indicate when the contract line ends. + */ + ends_at: ContractLineDetail.EndsAt; + + /** + * Set of key-value pairs that you can attach to an object. + */ + metadata?: Metadata; + + /** + * List of overrides applied to the contract line. + */ + overrides: Array; + + /** + * The pricing configuration for the contract line. + */ + pricing: ContractLineDetail.Pricing; + + /** + * Timestamp to indicate when the contract line starts. + */ + starts_at: ContractLineDetail.StartsAt; + } - /** - * The computed value details for the contract line. - */ - contract_line_value_details: ContractLineDetail.ContractLineValueDetails; + export interface ContractValueDetails { + /** + * The total value represented as a decimal string in minor currency units. + */ + total: string; + } - /** - * Timestamp of when the object was created. - */ - created: string; + export interface LicenseQuantity { + /** + * The ID of the license pricing. + */ + license_pricing_id: string; + + /** + * The type of the license pricing. + */ + license_pricing_type: LicenseQuantity.LicensePricingType; + + /** + * The ID of the pricing line associated with this license quantity. + */ + pricing_line: string; + + /** + * The current quantity of the license. + */ + quantity: number; + } - /** - * Timestamp to indicate when the contract line ends. - */ - ends_at: ContractLineDetail.EndsAt; + export interface OneTimeFee { + /** + * The resolved bill schedule for the fee. + */ + bill_schedule: Array; + + /** + * The type of billable item that this fee references. + */ + billable_item_type: 'product'; + + /** + * Details for a product billable target. Set when `billable_item_type` is `product`. + */ + product_details?: OneTimeFee.ProductDetails; + } - /** - * Set of key-value pairs that you can attach to an object. - */ - metadata?: Metadata; + export interface PricingLine { + /** + * Resolved timestamp when the pricing line ends. + */ + ends_at: PricingLine.EndsAt; + + /** + * The user-provided lookup key for the pricing line. + */ + lookup_key?: string; + + /** + * Set of key-value pairs that you can attach to an object. + */ + metadata?: Metadata; + + /** + * The pricing configuration for the pricing line. + */ + pricing: PricingLine.Pricing; + + /** + * The ID of the pricing line. + */ + pricing_line: string; + + /** + * Resolved timestamp when the pricing line starts. + */ + starts_at: PricingLine.StartsAt; + } - /** - * List of overrides applied to the contract line. - */ - overrides: Array; + export interface PricingOverride { + /** + * Resolved timestamp when the pricing override ends. + */ + ends_at: PricingOverride.EndsAt; + + /** + * The user-provided lookup key for the pricing override. + */ + lookup_key?: string; + + /** + * Details for a multiplier override. + */ + multiplier?: PricingOverride.Multiplier; + + /** + * Details for an overwrite_price override. + */ + overwrite_price?: PricingOverride.OverwritePrice; + + /** + * The ID of the pricing override. + */ + pricing_override: string; + + /** + * The priority of this override relative to others. Lower number = higher priority. + */ + priority: number; + + /** + * Resolved timestamp when the pricing override starts. + */ + starts_at: PricingOverride.StartsAt; + + /** + * The type of pricing override. + */ + type: PricingOverride.Type; + } - /** - * The pricing configuration for the contract line. - */ - pricing: ContractLineDetail.Pricing; + export type Status = 'active' | 'canceled' | 'draft' | 'ended'; + export interface StatusDetails { + /** + * Details of the active contract status. + */ + active?: StatusDetails.Active; + + /** + * Details of the canceled contract status. + */ + canceled?: StatusDetails.Canceled; + } + + export namespace BillingSettings { + export interface ContractBillingDetails { + /** + * The bill settings details. + */ + bill_settings_details?: ContractBillingDetails.BillSettingsDetails; + + /** + * The billing profile details. + */ + billing_profile_details: ContractBillingDetails.BillingProfileDetails; + + /** + * The collection settings details. + */ + collection_settings_details: ContractBillingDetails.CollectionSettingsDetails; + } + + export namespace ContractBillingDetails { + export interface BillSettingsDetails { /** - * Timestamp to indicate when the contract line starts. + * Calculation settings. */ - starts_at: ContractLineDetail.StartsAt; - } + calculation?: BillSettingsDetails.Calculation; - export interface ContractValueDetails { /** - * The total value represented as a decimal string in minor currency units. + * Invoice settings. */ - total: string; + invoice?: BillSettingsDetails.Invoice; } - export interface LicenseQuantity { + export interface BillingProfileDetails { /** - * The ID of the license pricing. + * The customer who pays for the contract invoice. */ - license_pricing_id: string; + customer: string; /** - * The type of the license pricing. + * The default payment method for the contract. */ - license_pricing_type: LicenseQuantity.LicensePricingType; + default_payment_method?: string; + } + export interface CollectionSettingsDetails { /** - * The ID of the pricing line associated with this license quantity. + * The collection method. */ - pricing_line: string; + collection_method: CollectionSettingsDetails.CollectionMethod; /** - * The current quantity of the license. + * The payment method configuration. */ - quantity: number; + payment_method_configuration?: string; } - export interface OneTimeFee { - /** - * The resolved bill schedule for the fee. - */ - bill_schedule: Array; + export namespace BillSettingsDetails { + export interface Calculation { + /** + * Tax calculation settings. + */ + tax?: Calculation.Tax; + } - /** - * The type of billable item that this fee references. - */ - billable_item_type: 'product'; + export interface Invoice { + /** + * The number of time units before the invoice is past due. + */ + time_until_due?: Invoice.TimeUntilDue; + } - /** - * Details for a product billable target. Set when `billable_item_type` is `product`. - */ - product_details?: OneTimeFee.ProductDetails; + export namespace Calculation { + export interface Tax { + /** + * The type of tax calculation. + */ + type: Tax.Type; + } + + export namespace Tax { + export type Type = 'automatic' | 'manual'; + } + } + + export namespace Invoice { + export interface TimeUntilDue { + /** + * The interval unit. + */ + interval: TimeUntilDue.Interval; + + /** + * The number of intervals. + */ + interval_count: number; + } + + export namespace TimeUntilDue { + export type Interval = 'day' | 'month' | 'week' | 'year'; + } + } } - export interface PricingLine { - /** - * Resolved timestamp when the pricing line ends. - */ - ends_at: PricingLine.EndsAt; + export namespace CollectionSettingsDetails { + export type CollectionMethod = 'charge_automatically' | 'send_invoice'; + } + } + } - /** - * The user-provided lookup key for the pricing line. - */ - lookup_key?: string; + export namespace ContractLineDetail { + export interface ContractLineValueDetails { + /** + * Computed sum of all licensed fees. Represented as a decimal string in minor currency units. + */ + total: string; + } - /** - * Set of key-value pairs that you can attach to an object. - */ - metadata?: Metadata; + export interface EndsAt { + /** + * The timestamp when the item ends. + */ + timestamp: string; + } - /** - * The pricing configuration for the pricing line. - */ - pricing: PricingLine.Pricing; + export interface Override { + /** + * Timestamp to indicate when the override ends. + */ + ends_at: Override.EndsAt; - /** - * The ID of the pricing line. - */ - pricing_line: string; + /** + * Service action override details. + */ + service_action?: Override.ServiceAction; - /** - * Resolved timestamp when the pricing line starts. - */ - starts_at: PricingLine.StartsAt; - } + /** + * Timestamp to indicate when the override starts. + */ + starts_at: Override.StartsAt; - export interface PricingOverride { - /** - * Resolved timestamp when the pricing override ends. - */ - ends_at: PricingOverride.EndsAt; + /** + * The type of the override. + */ + type: 'service_action'; + } - /** - * The user-provided lookup key for the pricing override. - */ - lookup_key?: string; + export interface Pricing {} - /** - * Details for a multiplier override. - */ - multiplier?: PricingOverride.Multiplier; + export interface StartsAt { + /** + * The timestamp when the item starts. + */ + timestamp: string; + } + export namespace Override { + export interface EndsAt { /** - * Details for an overwrite_price override. + * The timestamp when the item ends. */ - overwrite_price?: PricingOverride.OverwritePrice; + timestamp: string; + } + export interface ServiceAction { /** - * The ID of the pricing override. + * Parameters for adding a new service action. */ - pricing_override: string; + add?: ServiceAction.Add; /** - * The priority of this override relative to others. Lower number = higher priority. + * Parameters for replacing an existing service action. */ - priority: number; + replace?: ServiceAction.Replace; /** - * Resolved timestamp when the pricing override starts. + * The type of service action override. */ - starts_at: PricingOverride.StartsAt; + type: ServiceAction.Type; + } + export interface StartsAt { /** - * The type of pricing override. + * The timestamp when the item starts. */ - type: PricingOverride.Type; + timestamp: string; } - export type Status = 'active' | 'canceled' | 'draft' | 'ended'; + export namespace ServiceAction { + export interface Add { + /** + * Details for the credit grant. Required if `type` is `credit_grant`. + */ + credit_grant?: Add.CreditGrant; - export interface StatusDetails { - /** - * Details of the active contract status. - */ - active?: StatusDetails.Active; + /** + * The interval for assessing service. + */ + service_interval: Add.ServiceInterval; - /** - * Details of the canceled contract status. - */ - canceled?: StatusDetails.Canceled; - } + /** + * The length of the interval for assessing service. + */ + service_interval_count: number; - export namespace BillingSettings { - export interface ContractBillingDetails { /** - * The bill settings details. + * The type of the service action. */ - bill_settings_details?: ContractBillingDetails.BillSettingsDetails; + type: 'credit_grant'; + } + export interface Replace { /** - * The billing profile details. + * Details for the credit grant. Required if `type` is `credit_grant`. */ - billing_profile_details: ContractBillingDetails.BillingProfileDetails; + credit_grant?: Replace.CreditGrant; /** - * The collection settings details. + * The ID of the service action to replace. */ - collection_settings_details: ContractBillingDetails.CollectionSettingsDetails; + id?: string; + + /** + * The lookup key for the service action to replace. + */ + lookup_key?: string; + + /** + * The interval for assessing service. + */ + service_interval: Replace.ServiceInterval; + + /** + * The length of the interval for assessing service. + */ + service_interval_count: number; + + /** + * The type of the service action. + */ + type: 'credit_grant'; } - export namespace ContractBillingDetails { - export interface BillSettingsDetails { + export type Type = 'add' | 'replace'; + + export namespace Add { + export interface CreditGrant { /** - * Calculation settings. + * The amount of the credit grant. */ - calculation?: BillSettingsDetails.Calculation; + amount: CreditGrant.Amount; /** - * Invoice settings. + * Defines the scope where the credit grant is applicable. */ - invoice?: BillSettingsDetails.Invoice; - } + applicability_config: CreditGrant.ApplicabilityConfig; - export interface BillingProfileDetails { /** - * The customer who pays for the contract invoice. + * The category of the credit grant. */ - customer: string; + category?: CreditGrant.Category; /** - * The default payment method for the contract. + * The expiry configuration for the credit grant. */ - default_payment_method?: string; - } + expiry_config: CreditGrant.ExpiryConfig; - export interface CollectionSettingsDetails { /** - * The collection method. + * A descriptive name. */ - collection_method: CollectionSettingsDetails.CollectionMethod; + name: string; /** - * The payment method configuration. + * The desired priority for applying this credit grant. The highest priority is 0 and the lowest is 100. */ - payment_method_configuration?: string; + priority?: number; } - export namespace BillSettingsDetails { - export interface Calculation { + export type ServiceInterval = 'day' | 'month' | 'week' | 'year'; + + export namespace CreditGrant { + export interface Amount { /** - * Tax calculation settings. + * The monetary amount of the credit grant. Required if `type` is `monetary`. */ - tax?: Calculation.Tax; + monetary?: V2Amount; + + /** + * The type of the credit grant amount. + */ + type: 'monetary'; } - export interface Invoice { + export interface ApplicabilityConfig { /** - * The number of time units before the invoice is past due. + * The applicability scope of the credit grant. */ - time_until_due?: Invoice.TimeUntilDue; + scope: ApplicabilityConfig.Scope; } - export namespace Calculation { - export interface Tax { - /** - * The type of tax calculation. - */ - type: Tax.Type; - } + export type Category = 'paid' | 'promotional'; - export namespace Tax { - export type Type = 'automatic' | 'manual'; - } + export interface ExpiryConfig { + /** + * The type of the expiry configuration. + */ + type: 'end_of_service_period'; } - export namespace Invoice { - export interface TimeUntilDue { + export namespace ApplicabilityConfig { + export interface Scope { /** - * The interval unit. + * The billable items to apply the credit grant to. */ - interval: TimeUntilDue.Interval; + billable_items?: Array; /** - * The number of intervals. + * The price type that credit grants can apply to. */ - interval_count: number; - } - - export namespace TimeUntilDue { - export type Interval = 'day' | 'month' | 'week' | 'year'; + price_type?: 'metered'; } } } - - export namespace CollectionSettingsDetails { - export type CollectionMethod = - | 'charge_automatically' - | 'send_invoice'; - } } - } - export namespace ContractLineDetail { - export interface ContractLineValueDetails { - /** - * Computed sum of all licensed fees. Represented as a decimal string in minor currency units. - */ - total: string; - } + export namespace Replace { + export interface CreditGrant { + /** + * The amount of the credit grant. + */ + amount: CreditGrant.Amount; - export interface EndsAt { - /** - * The timestamp when the item ends. - */ - timestamp: string; - } + /** + * Defines the scope where the credit grant is applicable. + */ + applicability_config: CreditGrant.ApplicabilityConfig; - export interface Override { - /** - * Timestamp to indicate when the override ends. - */ - ends_at: Override.EndsAt; + /** + * The category of the credit grant. + */ + category?: CreditGrant.Category; - /** - * Service action override details. - */ - service_action?: Override.ServiceAction; - - /** - * Timestamp to indicate when the override starts. - */ - starts_at: Override.StartsAt; - - /** - * The type of the override. - */ - type: 'service_action'; - } - - export interface Pricing {} - - export interface StartsAt { - /** - * The timestamp when the item starts. - */ - timestamp: string; - } - - export namespace Override { - export interface EndsAt { /** - * The timestamp when the item ends. + * The expiry configuration for the credit grant. */ - timestamp: string; - } + expiry_config: CreditGrant.ExpiryConfig; - export interface ServiceAction { /** - * Parameters for adding a new service action. + * A descriptive name. */ - add?: ServiceAction.Add; + name: string; /** - * Parameters for replacing an existing service action. + * The desired priority for applying this credit grant. The highest priority is 0 and the lowest is 100. */ - replace?: ServiceAction.Replace; - - /** - * The type of service action override. - */ - type: ServiceAction.Type; + priority?: number; } - export interface StartsAt { - /** - * The timestamp when the item starts. - */ - timestamp: string; - } + export type ServiceInterval = 'day' | 'month' | 'week' | 'year'; - export namespace ServiceAction { - export interface Add { + export namespace CreditGrant { + export interface Amount { /** - * Details for the credit grant. Required if `type` is `credit_grant`. + * The monetary amount of the credit grant. Required if `type` is `monetary`. */ - credit_grant?: Add.CreditGrant; + monetary?: V2Amount; /** - * The interval for assessing service. - */ - service_interval: Add.ServiceInterval; - - /** - * The length of the interval for assessing service. + * The type of the credit grant amount. */ - service_interval_count: number; - - /** - * The type of the service action. - */ - type: 'credit_grant'; + type: 'monetary'; } - export interface Replace { - /** - * Details for the credit grant. Required if `type` is `credit_grant`. - */ - credit_grant?: Replace.CreditGrant; - - /** - * The ID of the service action to replace. - */ - id?: string; - + export interface ApplicabilityConfig { /** - * The lookup key for the service action to replace. - */ - lookup_key?: string; - - /** - * The interval for assessing service. + * The applicability scope of the credit grant. */ - service_interval: Replace.ServiceInterval; + scope: ApplicabilityConfig.Scope; + } - /** - * The length of the interval for assessing service. - */ - service_interval_count: number; + export type Category = 'paid' | 'promotional'; + export interface ExpiryConfig { /** - * The type of the service action. + * The type of the expiry configuration. */ - type: 'credit_grant'; + type: 'end_of_service_period'; } - export type Type = 'add' | 'replace'; - - export namespace Add { - export interface CreditGrant { + export namespace ApplicabilityConfig { + export interface Scope { /** - * The amount of the credit grant. + * The billable items to apply the credit grant to. */ - amount: CreditGrant.Amount; + billable_items?: Array; /** - * Defines the scope where the credit grant is applicable. + * The price type that credit grants can apply to. */ - applicability_config: CreditGrant.ApplicabilityConfig; - - /** - * The category of the credit grant. - */ - category?: CreditGrant.Category; - - /** - * The expiry configuration for the credit grant. - */ - expiry_config: CreditGrant.ExpiryConfig; - - /** - * A descriptive name. - */ - name: string; - - /** - * The desired priority for applying this credit grant. The highest priority is 0 and the lowest is 100. - */ - priority?: number; - } - - export type ServiceInterval = 'day' | 'month' | 'week' | 'year'; - - export namespace CreditGrant { - export interface Amount { - /** - * The monetary amount of the credit grant. Required if `type` is `monetary`. - */ - monetary?: V2Amount; - - /** - * The type of the credit grant amount. - */ - type: 'monetary'; - } - - export interface ApplicabilityConfig { - /** - * The applicability scope of the credit grant. - */ - scope: ApplicabilityConfig.Scope; - } - - export type Category = 'paid' | 'promotional'; - - export interface ExpiryConfig { - /** - * The type of the expiry configuration. - */ - type: 'end_of_service_period'; - } - - export namespace ApplicabilityConfig { - export interface Scope { - /** - * The billable items to apply the credit grant to. - */ - billable_items?: Array; - - /** - * The price type that credit grants can apply to. - */ - price_type?: 'metered'; - } - } + price_type?: 'metered'; } } + } + } + } + } + } - export namespace Replace { - export interface CreditGrant { - /** - * The amount of the credit grant. - */ - amount: CreditGrant.Amount; - - /** - * Defines the scope where the credit grant is applicable. - */ - applicability_config: CreditGrant.ApplicabilityConfig; - - /** - * The category of the credit grant. - */ - category?: CreditGrant.Category; - - /** - * The expiry configuration for the credit grant. - */ - expiry_config: CreditGrant.ExpiryConfig; + export namespace LicenseQuantity { + export type LicensePricingType = 'license_fee' | 'price'; + } - /** - * A descriptive name. - */ - name: string; + export namespace OneTimeFee { + export interface BillSchedule { + /** + * When this entry will be billed. + */ + bill_at: BillSchedule.BillAt; - /** - * The desired priority for applying this credit grant. The highest priority is 0 and the lowest is 100. - */ - priority?: number; - } + /** + * The amount to bill for this entry, in the smallest currency unit. + */ + value: bigint; + } - export type ServiceInterval = 'day' | 'month' | 'week' | 'year'; + export interface ProductDetails { + /** + * The ID of the v1 Product. + */ + product: string; + } - export namespace CreditGrant { - export interface Amount { - /** - * The monetary amount of the credit grant. Required if `type` is `monetary`. - */ - monetary?: V2Amount; + export namespace BillSchedule { + export interface BillAt { + /** + * The datetime at which the entry will be billed. Set when `type` is `datetime`. + */ + timestamp?: string; - /** - * The type of the credit grant amount. - */ - type: 'monetary'; - } + /** + * The type of the bill_at. + */ + type: BillAt.Type; + } - export interface ApplicabilityConfig { - /** - * The applicability scope of the credit grant. - */ - scope: ApplicabilityConfig.Scope; - } + export namespace BillAt { + export type Type = 'contract_start' | 'datetime'; + } + } + } - export type Category = 'paid' | 'promotional'; + export namespace PricingLine { + export interface EndsAt { + /** + * The timestamp when the item ends. + */ + timestamp: string; + } - export interface ExpiryConfig { - /** - * The type of the expiry configuration. - */ - type: 'end_of_service_period'; - } + export interface Pricing { + /** + * V1 price details. Present when `type` is `price`. + */ + price_details?: Pricing.PriceDetails; - export namespace ApplicabilityConfig { - export interface Scope { - /** - * The billable items to apply the credit grant to. - */ - billable_items?: Array; + /** + * The type of pricing. + */ + type: 'price'; + } - /** - * The price type that credit grants can apply to. - */ - price_type?: 'metered'; - } - } - } - } - } - } - } + export interface StartsAt { + /** + * The timestamp when the item starts. + */ + timestamp: string; + } - export namespace LicenseQuantity { - export type LicensePricingType = 'license_fee' | 'price'; + export namespace Pricing { + export interface PriceDetails { + /** + * The ID of the V1 price. + */ + price: string; } + } + } - export namespace OneTimeFee { - export interface BillSchedule { - /** - * When this entry will be billed. - */ - bill_at: BillSchedule.BillAt; - - /** - * The amount to bill for this entry, in the smallest currency unit. - */ - value: bigint; - } - - export interface ProductDetails { - /** - * The ID of the v1 Product. - */ - product: string; - } + export namespace PricingOverride { + export interface EndsAt { + /** + * The timestamp when the item ends. + */ + timestamp: string; + } - export namespace BillSchedule { - export interface BillAt { - /** - * The datetime at which the entry will be billed. Set when `type` is `datetime`. - */ - timestamp?: string; + export interface Multiplier { + /** + * Criteria determining which rates the multiplier applies to. + */ + criteria: Array; - /** - * The type of the bill_at. - */ - type: BillAt.Type; - } + /** + * The multiplier factor, represented as a decimal string. e.g. "0.8" for a 20% reduction. + */ + factor: string; + } - export namespace BillAt { - export type Type = 'contract_start' | 'datetime'; - } - } - } + export interface OverwritePrice { + /** + * The ID of the V1 price to overwrite. + */ + price: string; - export namespace PricingLine { - export interface EndsAt { - /** - * The timestamp when the item ends. - */ - timestamp: string; - } + /** + * Defines whether the tiered price should be graduated or volume-based. + */ + tiering_mode?: OverwritePrice.TieringMode; - export interface Pricing { - /** - * V1 price details. Present when `type` is `price`. - */ - price_details?: Pricing.PriceDetails; + /** + * Each element represents a pricing tier. + */ + tiers: Array; - /** - * The type of pricing. - */ - type: 'price'; - } + /** + * The per-unit amount to be charged, represented as a decimal string in minor currency units. + */ + unit_amount?: string; + } - export interface StartsAt { - /** - * The timestamp when the item starts. - */ - timestamp: string; - } + export interface StartsAt { + /** + * The timestamp when the item starts. + */ + timestamp: string; + } - export namespace Pricing { - export interface PriceDetails { - /** - * The ID of the V1 price. - */ - price: string; - } - } - } + export type Type = 'multiplier' | 'overwrite_price'; - export namespace PricingOverride { - export interface EndsAt { - /** - * The timestamp when the item ends. - */ - timestamp: string; - } + export namespace Multiplier { + export interface Criterion { + /** + * Filter by billable item IDs. + */ + billable_item_ids: Array; - export interface Multiplier { - /** - * Criteria determining which rates the multiplier applies to. - */ - criteria: Array; + /** + * Filter by billable item lookup keys. + */ + billable_item_lookup_keys: Array; - /** - * The multiplier factor, represented as a decimal string. e.g. "0.8" for a 20% reduction. - */ - factor: string; - } + /** + * Filter by billable item type. + */ + billable_item_types: Array; - export interface OverwritePrice { - /** - * The ID of the V1 price to overwrite. - */ - price: string; + /** + * Filter by metadata conditions. + */ + metadata_conditions: Array; - /** - * Defines whether the tiered price should be graduated or volume-based. - */ - tiering_mode?: OverwritePrice.TieringMode; + /** + * Filter by rate card IDs. Only applicable for `multiplier` overrides. + */ + rate_card_ids: Array; - /** - * Each element represents a pricing tier. - */ - tiers: Array; + /** + * Whether to include or exclude items matching these criteria. + */ + type: Criterion.Type; + } - /** - * The per-unit amount to be charged, represented as a decimal string in minor currency units. - */ - unit_amount?: string; - } + export namespace Criterion { + export type BillableItemType = 'licensed' | 'metered'; - export interface StartsAt { + export interface MetadataCondition { /** - * The timestamp when the item starts. + * All of these key-value conditions must match. */ - timestamp: string; + all_of: Array; } - export type Type = 'multiplier' | 'overwrite_price'; + export type Type = 'exclude' | 'include'; - export namespace Multiplier { - export interface Criterion { + export namespace MetadataCondition { + export interface AllOf { /** - * Filter by billable item IDs. + * The metadata key. */ - billable_item_ids: Array; + key: string; /** - * Filter by billable item lookup keys. + * The metadata value. */ - billable_item_lookup_keys: Array; - - /** - * Filter by billable item type. - */ - billable_item_types: Array; - - /** - * Filter by metadata conditions. - */ - metadata_conditions: Array; - - /** - * Filter by rate card IDs. Only applicable for `multiplier` overrides. - */ - rate_card_ids: Array; - - /** - * Whether to include or exclude items matching these criteria. - */ - type: Criterion.Type; - } - - export namespace Criterion { - export type BillableItemType = 'licensed' | 'metered'; - - export interface MetadataCondition { - /** - * All of these key-value conditions must match. - */ - all_of: Array; - } - - export type Type = 'exclude' | 'include'; - - export namespace MetadataCondition { - export interface AllOf { - /** - * The metadata key. - */ - key: string; - - /** - * The metadata value. - */ - value: string; - } - } + value: string; } } + } + } - export namespace OverwritePrice { - export type TieringMode = 'graduated' | 'volume'; + export namespace OverwritePrice { + export type TieringMode = 'graduated' | 'volume'; - export interface Tier { - /** - * Price for the entire tier, represented as a decimal string in minor currency units. - */ - flat_amount?: string; + export interface Tier { + /** + * Price for the entire tier, represented as a decimal string in minor currency units. + */ + flat_amount?: string; - /** - * Per-unit price for units included in this tier, represented as a decimal string in minor currency units. - */ - unit_amount?: string; + /** + * Per-unit price for units included in this tier, represented as a decimal string in minor currency units. + */ + unit_amount?: string; - /** - * Up to and including this quantity will be contained in the tier. - */ - up_to_decimal?: Decimal; + /** + * Up to and including this quantity will be contained in the tier. + */ + up_to_decimal?: Decimal; - /** - * No upper bound to this tier. - */ - up_to_inf?: 'inf'; - } - } + /** + * No upper bound to this tier. + */ + up_to_inf?: 'inf'; } + } + } - export namespace StatusDetails { - export interface Active { - /** - * The timestamp when the contract was activated. - */ - activated_at: string; - } + export namespace StatusDetails { + export interface Active { + /** + * The timestamp when the contract was activated. + */ + activated_at: string; + } - export interface Canceled { - /** - * The timestamp when the contract was canceled. - */ - canceled_at: string; - } - } + export interface Canceled { + /** + * The timestamp when the contract was canceled. + */ + canceled_at: string; } } } diff --git a/src/resources/V2/Billing/IntentActions.ts b/src/resources/V2/Billing/IntentActions.ts index f9de4c4749..a689f4d7f7 100644 --- a/src/resources/V2/Billing/IntentActions.ts +++ b/src/resources/V2/Billing/IntentActions.ts @@ -16,7 +16,7 @@ export interface IntentAction { /** * Details for an apply action. */ - apply?: V2.Billing.IntentAction.Apply; + apply?: IntentAction.Apply; /** * Time at which the object was created. @@ -26,7 +26,7 @@ export interface IntentAction { /** * Details for a deactivate action. */ - deactivate?: V2.Billing.IntentAction.Deactivate; + deactivate?: IntentAction.Deactivate; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -36,746 +36,737 @@ export interface IntentAction { /** * Details for a modify action. */ - modify?: V2.Billing.IntentAction.Modify; + modify?: IntentAction.Modify; /** * Details for a remove action. */ - remove?: V2.Billing.IntentAction.Remove; + remove?: IntentAction.Remove; /** * Details for a subscribe action. */ - subscribe?: V2.Billing.IntentAction.Subscribe; + subscribe?: IntentAction.Subscribe; /** * Type of the Billing Intent Action. */ - type: V2.Billing.IntentAction.Type; + type: IntentAction.Type; } -export namespace V2 { - export namespace Billing { - export namespace IntentAction { - export interface Apply { - /** - * Details for applying a discount. - */ - discount?: Apply.Discount; - - /** - * When the apply action takes effect. If not specified, defaults to on_reserve. - */ - effective_at?: Apply.EffectiveAt; - - /** - * Details for applying a discount rule to future invoices. - */ - invoice_discount_rule?: Apply.InvoiceDiscountRule; - - /** - * Details for applying a spend modifier rule. Only present if type is spend_modifier_rule. - */ - spend_modifier_rule?: Apply.SpendModifierRule; +export namespace IntentAction { + export interface Apply { + /** + * Details for applying a discount. + */ + discount?: Apply.Discount; + + /** + * When the apply action takes effect. If not specified, defaults to on_reserve. + */ + effective_at?: Apply.EffectiveAt; + + /** + * Details for applying a discount rule to future invoices. + */ + invoice_discount_rule?: Apply.InvoiceDiscountRule; + + /** + * Details for applying a spend modifier rule. Only present if type is spend_modifier_rule. + */ + spend_modifier_rule?: Apply.SpendModifierRule; + + /** + * Type of the apply action details. + */ + type: Apply.Type; + } - /** - * Type of the apply action details. - */ - type: Apply.Type; - } + export interface Deactivate { + /** + * Details about why the cancellation was requested by the user. + */ + cancellation_details?: Deactivate.CancellationDetails; + + /** + * Allows users to override the collect at behavior. + */ + collect_at: Deactivate.CollectAt; + + /** + * When the deactivate action takes effect. If not specified, the default behavior is on_reserve. + */ + effective_at: Deactivate.EffectiveAt; + + /** + * Details for deactivating a Pricing Plan Subscription. + */ + pricing_plan_subscription_details?: Deactivate.PricingPlanSubscriptionDetails; + + /** + * Type of the action details. + */ + type: Deactivate.Type; + } - export interface Deactivate { - /** - * Details about why the cancellation was requested by the user. - */ - cancellation_details?: Deactivate.CancellationDetails; + export interface Modify { + /** + * Allows users to override the collect at behavior. + */ + collect_at: Modify.CollectAt; + + /** + * When the modify action takes effect. If not specified, the default behavior is on_reserve. + */ + effective_at: Modify.EffectiveAt; + + /** + * Details for modifying a Pricing Plan Subscription. + */ + pricing_plan_subscription_details?: Modify.PricingPlanSubscriptionDetails; + + /** + * Type of the action details. + */ + type: Modify.Type; + } - /** - * Allows users to override the collect at behavior. - */ - collect_at: Deactivate.CollectAt; + export interface Remove { + /** + * When the remove action takes effect. If not specified, defaults to on_reserve. + */ + effective_at?: Remove.EffectiveAt; + + /** + * The ID of the discount rule to remove for future invoices. + */ + invoice_discount_rule?: string; + + /** + * The ID of the spend modifier rule removed. + */ + spend_modifier_rule?: string; + + /** + * Type of the remove action. + */ + type: Remove.Type; + } - /** - * When the deactivate action takes effect. If not specified, the default behavior is on_reserve. - */ - effective_at: Deactivate.EffectiveAt; + export interface Subscribe { + /** + * Allows users to override the collect at behavior. + */ + collect_at: Subscribe.CollectAt; + + /** + * When the subscribe action takes effect. If not specified, the default behavior is on_reserve. + */ + effective_at: Subscribe.EffectiveAt; + + /** + * Details for subscribing to a Pricing Plan. + */ + pricing_plan_subscription_details?: Subscribe.PricingPlanSubscriptionDetails; + + /** + * Type of the action details. + */ + type: Subscribe.Type; + + /** + * Details for subscribing to a V1 subscription. + */ + v1_subscription_details?: Subscribe.V1SubscriptionDetails; + } - /** - * Details for deactivating a Pricing Plan Subscription. - */ - pricing_plan_subscription_details?: Deactivate.PricingPlanSubscriptionDetails; + export type Type = 'apply' | 'deactivate' | 'modify' | 'remove' | 'subscribe'; + + export namespace Apply { + export interface Discount { + /** + * The ID of the Coupon applied. + */ + coupon?: string; + + /** + * The ID of the created Discount. + */ + discount?: string; + + /** + * The ID of the PromotionCode applied. + */ + promotion_code?: string; + + /** + * Type of the discount. + */ + type: Discount.Type; + } - /** - * Type of the action details. - */ - type: Deactivate.Type; - } + export interface EffectiveAt { + /** + * The timestamp at which the apply action takes effect. Only present if type is timestamp. Only allowed for discount actions. + */ + timestamp?: string; - export interface Modify { - /** - * Allows users to override the collect at behavior. - */ - collect_at: Modify.CollectAt; + /** + * When the apply action takes effect. + */ + type: EffectiveAt.Type; + } - /** - * When the modify action takes effect. If not specified, the default behavior is on_reserve. - */ - effective_at: Modify.EffectiveAt; + export interface InvoiceDiscountRule { + /** + * The entity that the discount rule applies to, for example, the Billing Cadence. + */ + applies_to: 'cadence'; + + /** + * The ID of the created discount rule. This is only present once the Billing Intent is committed and the discount rule is created. + */ + invoice_discount_rule?: string; + + /** + * Configuration for percentage off discount. + */ + percent_off?: InvoiceDiscountRule.PercentOff; + + /** + * Type of the discount rule. + */ + type: 'percent_off'; + } - /** - * Details for modifying a Pricing Plan Subscription. - */ - pricing_plan_subscription_details?: Modify.PricingPlanSubscriptionDetails; + export interface SpendModifierRule { + /** + * What the spend modifier applies to. + */ + applies_to: 'cadence'; + + /** + * The ID of the spend modifier. + */ + id: string; + + /** + * Details for max billing period spend modifier. Only present if type is max_billing_period_spend. + */ + max_billing_period_spend?: SpendModifierRule.MaxBillingPeriodSpend; + + /** + * Type of the spend modifier. + */ + type: 'max_billing_period_spend'; + } - /** - * Type of the action details. - */ - type: Modify.Type; - } + export type Type = + | 'discount' + | 'invoice_discount_rule' + | 'spend_modifier_rule'; - export interface Remove { - /** - * When the remove action takes effect. If not specified, defaults to on_reserve. - */ - effective_at?: Remove.EffectiveAt; + export namespace Discount { + export type Type = 'coupon' | 'promotion_code'; + } - /** - * The ID of the discount rule to remove for future invoices. - */ - invoice_discount_rule?: string; + export namespace EffectiveAt { + export type Type = + | 'current_billing_period_end' + | 'current_billing_period_start' + | 'next_billing_period_start' + | 'on_reserve' + | 'timestamp'; + } + export namespace InvoiceDiscountRule { + export interface PercentOff { /** - * The ID of the spend modifier rule removed. + * The maximum number of times this discount can be applied for this Billing Cadence. */ - spend_modifier_rule?: string; + maximum_applications: PercentOff.MaximumApplications; /** - * Type of the remove action. + * Percent that is taken off the amount. For example, a percent_off of 50.0 reduces a 100 USD amount to 50 USD. */ - type: Remove.Type; + percent_off: Decimal; } - export interface Subscribe { - /** - * Allows users to override the collect at behavior. - */ - collect_at: Subscribe.CollectAt; - - /** - * When the subscribe action takes effect. If not specified, the default behavior is on_reserve. - */ - effective_at: Subscribe.EffectiveAt; - - /** - * Details for subscribing to a Pricing Plan. - */ - pricing_plan_subscription_details?: Subscribe.PricingPlanSubscriptionDetails; + export namespace PercentOff { + export interface MaximumApplications { + /** + * The type of maximum applications configuration. + */ + type: 'indefinite'; + } + } + } + export namespace SpendModifierRule { + export interface MaxBillingPeriodSpend { /** - * Type of the action details. + * The maximum amount allowed for the billing period. */ - type: Subscribe.Type; + amount: MaxBillingPeriodSpend.Amount; /** - * Details for subscribing to a V1 subscription. + * The configuration for the overage rate for the custom pricing unit. */ - v1_subscription_details?: Subscribe.V1SubscriptionDetails; + custom_pricing_unit_overage_rate: MaxBillingPeriodSpend.CustomPricingUnitOverageRate; } - export type Type = - | 'apply' - | 'deactivate' - | 'modify' - | 'remove' - | 'subscribe'; - - export namespace Apply { - export interface Discount { - /** - * The ID of the Coupon applied. - */ - coupon?: string; - - /** - * The ID of the created Discount. - */ - discount?: string; - + export namespace MaxBillingPeriodSpend { + export interface Amount { /** - * The ID of the PromotionCode applied. + * The custom pricing unit amount. */ - promotion_code?: string; + custom_pricing_unit?: Amount.CustomPricingUnit; /** - * Type of the discount. + * The type of the amount. */ - type: Discount.Type; + type: 'custom_pricing_unit'; } - export interface EffectiveAt { - /** - * The timestamp at which the apply action takes effect. Only present if type is timestamp. Only allowed for discount actions. - */ - timestamp?: string; - - /** - * When the apply action takes effect. - */ - type: EffectiveAt.Type; - } - - export interface InvoiceDiscountRule { - /** - * The entity that the discount rule applies to, for example, the Billing Cadence. - */ - applies_to: 'cadence'; - - /** - * The ID of the created discount rule. This is only present once the Billing Intent is committed and the discount rule is created. - */ - invoice_discount_rule?: string; - - /** - * Configuration for percentage off discount. - */ - percent_off?: InvoiceDiscountRule.PercentOff; - - /** - * Type of the discount rule. - */ - type: 'percent_off'; - } - - export interface SpendModifierRule { - /** - * What the spend modifier applies to. - */ - applies_to: 'cadence'; - + export interface CustomPricingUnitOverageRate { /** - * The ID of the spend modifier. + * ID of the custom pricing unit overage rate. */ id: string; - - /** - * Details for max billing period spend modifier. Only present if type is max_billing_period_spend. - */ - max_billing_period_spend?: SpendModifierRule.MaxBillingPeriodSpend; - - /** - * Type of the spend modifier. - */ - type: 'max_billing_period_spend'; - } - - export type Type = - | 'discount' - | 'invoice_discount_rule' - | 'spend_modifier_rule'; - - export namespace Discount { - export type Type = 'coupon' | 'promotion_code'; - } - - export namespace EffectiveAt { - export type Type = - | 'current_billing_period_end' - | 'current_billing_period_start' - | 'next_billing_period_start' - | 'on_reserve' - | 'timestamp'; } - export namespace InvoiceDiscountRule { - export interface PercentOff { + export namespace Amount { + export interface CustomPricingUnit { /** - * The maximum number of times this discount can be applied for this Billing Cadence. + * The id of the custom pricing unit. */ - maximum_applications: PercentOff.MaximumApplications; + id?: string; /** - * Percent that is taken off the amount. For example, a percent_off of 50.0 reduces a 100 USD amount to 50 USD. + * The value of the custom pricing unit. */ - percent_off: Decimal; - } - - export namespace PercentOff { - export interface MaximumApplications { - /** - * The type of maximum applications configuration. - */ - type: 'indefinite'; - } + value: string; } } + } + } + } - export namespace SpendModifierRule { - export interface MaxBillingPeriodSpend { - /** - * The maximum amount allowed for the billing period. - */ - amount: MaxBillingPeriodSpend.Amount; + export namespace Deactivate { + export interface CancellationDetails { + /** + * Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. + */ + comment?: string; + + /** + * The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user. + */ + feedback?: CancellationDetails.Feedback; + } - /** - * The configuration for the overage rate for the custom pricing unit. - */ - custom_pricing_unit_overage_rate: MaxBillingPeriodSpend.CustomPricingUnitOverageRate; - } + export type CollectAt = 'next_billing_date' | 'on_effective_at'; - export namespace MaxBillingPeriodSpend { - export interface Amount { - /** - * The custom pricing unit amount. - */ - custom_pricing_unit?: Amount.CustomPricingUnit; - - /** - * The type of the amount. - */ - type: 'custom_pricing_unit'; - } - - export interface CustomPricingUnitOverageRate { - /** - * ID of the custom pricing unit overage rate. - */ - id: string; - } - - export namespace Amount { - export interface CustomPricingUnit { - /** - * The id of the custom pricing unit. - */ - id?: string; - - /** - * The value of the custom pricing unit. - */ - value: string; - } - } - } - } - } + export interface EffectiveAt { + /** + * The timestamp at which the deactivate action takes effect. Only present if type is timestamp. + */ + timestamp?: string; - export namespace Deactivate { - export interface CancellationDetails { - /** - * Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. - */ - comment?: string; + /** + * When the deactivate action takes effect. + */ + type: EffectiveAt.Type; + } - /** - * The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user. - */ - feedback?: CancellationDetails.Feedback; - } + export interface PricingPlanSubscriptionDetails { + /** + * Configurations for overriding behaviors related to the subscription. + */ + overrides?: PricingPlanSubscriptionDetails.Overrides; - export type CollectAt = 'next_billing_date' | 'on_effective_at'; + /** + * ID of the Pricing Plan Subscription to deactivate. + */ + pricing_plan_subscription: string; + } - export interface EffectiveAt { - /** - * The timestamp at which the deactivate action takes effect. Only present if type is timestamp. - */ - timestamp?: string; + export type Type = + | 'pricing_plan_subscription_details' + | 'v1_subscription_details'; + + export namespace CancellationDetails { + export type Feedback = + | 'customer_service' + | 'low_quality' + | 'missing_features' + | 'other' + | 'switched_service' + | 'too_complex' + | 'too_expensive' + | 'unused'; + } - /** - * When the deactivate action takes effect. - */ - type: EffectiveAt.Type; - } + export namespace EffectiveAt { + export type Type = + | 'current_billing_period_end' + | 'current_billing_period_start' + | 'on_reserve' + | 'timestamp'; + } + + export namespace PricingPlanSubscriptionDetails { + export interface Overrides { + /** + * Configurations for behaviors when the action takes effect during the service period. + */ + partial_period_behaviors: Array; + } - export interface PricingPlanSubscriptionDetails { + export namespace Overrides { + export interface PartialPeriodBehavior { /** - * Configurations for overriding behaviors related to the subscription. + * Overrides the behavior for license fee components when the action takes effect during the service period. */ - overrides?: PricingPlanSubscriptionDetails.Overrides; + license_fee?: PartialPeriodBehavior.LicenseFee; /** - * ID of the Pricing Plan Subscription to deactivate. + * The type of behavior to override. */ - pricing_plan_subscription: string; - } - - export type Type = - | 'pricing_plan_subscription_details' - | 'v1_subscription_details'; - - export namespace CancellationDetails { - export type Feedback = - | 'customer_service' - | 'low_quality' - | 'missing_features' - | 'other' - | 'switched_service' - | 'too_complex' - | 'too_expensive' - | 'unused'; + type: PartialPeriodBehavior.Type; } - export namespace EffectiveAt { - export type Type = - | 'current_billing_period_end' - | 'current_billing_period_start' - | 'on_reserve' - | 'timestamp'; - } - - export namespace PricingPlanSubscriptionDetails { - export interface Overrides { + export namespace PartialPeriodBehavior { + export interface LicenseFee { /** - * Configurations for behaviors when the action takes effect during the service period. + * The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user is deactivating. If not specified, defaults to none. */ - partial_period_behaviors: Array; + credit_proration_behavior: LicenseFee.CreditProrationBehavior; } - export namespace Overrides { - export interface PartialPeriodBehavior { - /** - * Overrides the behavior for license fee components when the action takes effect during the service period. - */ - license_fee?: PartialPeriodBehavior.LicenseFee; - - /** - * The type of behavior to override. - */ - type: PartialPeriodBehavior.Type; - } - - export namespace PartialPeriodBehavior { - export interface LicenseFee { - /** - * The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user is deactivating. If not specified, defaults to none. - */ - credit_proration_behavior: LicenseFee.CreditProrationBehavior; - } - - export type Type = 'license_fee' | 'recurring_credit_grant'; - - export namespace LicenseFee { - export type CreditProrationBehavior = 'none' | 'prorated'; - } - } + export type Type = 'license_fee' | 'recurring_credit_grant'; + + export namespace LicenseFee { + export type CreditProrationBehavior = 'none' | 'prorated'; } } } + } + } - export namespace Modify { - export type CollectAt = 'next_billing_date' | 'on_effective_at'; + export namespace Modify { + export type CollectAt = 'next_billing_date' | 'on_effective_at'; - export interface EffectiveAt { - /** - * The timestamp at which the modify action takes effect. Only present if type is timestamp. - */ - timestamp?: string; + export interface EffectiveAt { + /** + * The timestamp at which the modify action takes effect. Only present if type is timestamp. + */ + timestamp?: string; - /** - * When the modify action takes effect. - */ - type: EffectiveAt.Type; - } + /** + * When the modify action takes effect. + */ + type: EffectiveAt.Type; + } - export interface PricingPlanSubscriptionDetails { - /** - * New configurations for the components of the Pricing Plan. - */ - component_configurations: Array< - PricingPlanSubscriptionDetails.ComponentConfiguration - >; + export interface PricingPlanSubscriptionDetails { + /** + * New configurations for the components of the Pricing Plan. + */ + component_configurations: Array< + PricingPlanSubscriptionDetails.ComponentConfiguration + >; + + /** + * ID of the new Pricing Plan. + */ + new_pricing_plan: string; + + /** + * Version of the Pricing Plan to use. + */ + new_pricing_plan_version: string; + + /** + * Configurations for overriding behaviors related to the subscription. + */ + overrides?: PricingPlanSubscriptionDetails.Overrides; + + /** + * ID of the Pricing Plan Subscription to modify. + */ + pricing_plan_subscription: string; + } - /** - * ID of the new Pricing Plan. - */ - new_pricing_plan: string; + export type Type = + | 'pricing_plan_subscription_details' + | 'v1_subscription_details'; + export namespace EffectiveAt { + export type Type = + | 'current_billing_period_start' + | 'on_reserve' + | 'timestamp'; + } + + export namespace PricingPlanSubscriptionDetails { + export interface ComponentConfiguration { + /** + * Lookup key for the pricing plan component. + */ + lookup_key?: string; + + /** + * ID of the pricing plan component. + */ + pricing_plan_component?: string; + + /** + * Quantity of the component to be used. + */ + quantity?: number; + } + + export interface Overrides { + /** + * Configurations for behaviors when the action takes effect during the service period. + */ + partial_period_behaviors: Array; + } + + export namespace Overrides { + export interface PartialPeriodBehavior { /** - * Version of the Pricing Plan to use. + * Overrides the behavior for license fee components when the action takes effect during the service period. */ - new_pricing_plan_version: string; + license_fee?: PartialPeriodBehavior.LicenseFee; /** - * Configurations for overriding behaviors related to the subscription. + * Overrides the behavior for recurring credit grant components when the action takes effect during the service period. */ - overrides?: PricingPlanSubscriptionDetails.Overrides; + recurring_credit_grant?: PartialPeriodBehavior.RecurringCreditGrant; /** - * ID of the Pricing Plan Subscription to modify. + * The type of behavior to override. */ - pricing_plan_subscription: string; - } - - export type Type = - | 'pricing_plan_subscription_details' - | 'v1_subscription_details'; - - export namespace EffectiveAt { - export type Type = - | 'current_billing_period_start' - | 'on_reserve' - | 'timestamp'; + type: PartialPeriodBehavior.Type; } - export namespace PricingPlanSubscriptionDetails { - export interface ComponentConfiguration { + export namespace PartialPeriodBehavior { + export interface LicenseFee { /** - * Lookup key for the pricing plan component. + * The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user modifies the subscription. If not specified, defaults to prorated. */ - lookup_key?: string; + credit_proration_behavior: LicenseFee.CreditProrationBehavior; /** - * ID of the pricing plan component. + * The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user modifies the subscription. If not specified, defaults to prorated. */ - pricing_plan_component?: string; + debit_proration_behavior: LicenseFee.DebitProrationBehavior; + } + export interface RecurringCreditGrant { /** - * Quantity of the component to be used. + * Controls credit grant creation behavior during partial periods. If not specified, defaults to full_credits. */ - quantity?: number; + create_behavior: RecurringCreditGrant.CreateBehavior; } - export interface Overrides { - /** - * Configurations for behaviors when the action takes effect during the service period. - */ - partial_period_behaviors: Array; + export type Type = 'license_fee' | 'recurring_credit_grant'; + + export namespace LicenseFee { + export type CreditProrationBehavior = 'none' | 'prorated'; + + export type DebitProrationBehavior = 'none' | 'prorated'; } - export namespace Overrides { - export interface PartialPeriodBehavior { - /** - * Overrides the behavior for license fee components when the action takes effect during the service period. - */ - license_fee?: PartialPeriodBehavior.LicenseFee; - - /** - * Overrides the behavior for recurring credit grant components when the action takes effect during the service period. - */ - recurring_credit_grant?: PartialPeriodBehavior.RecurringCreditGrant; - - /** - * The type of behavior to override. - */ - type: PartialPeriodBehavior.Type; - } - - export namespace PartialPeriodBehavior { - export interface LicenseFee { - /** - * The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user modifies the subscription. If not specified, defaults to prorated. - */ - credit_proration_behavior: LicenseFee.CreditProrationBehavior; - - /** - * The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user modifies the subscription. If not specified, defaults to prorated. - */ - debit_proration_behavior: LicenseFee.DebitProrationBehavior; - } - - export interface RecurringCreditGrant { - /** - * Controls credit grant creation behavior during partial periods. If not specified, defaults to full_credits. - */ - create_behavior: RecurringCreditGrant.CreateBehavior; - } - - export type Type = 'license_fee' | 'recurring_credit_grant'; - - export namespace LicenseFee { - export type CreditProrationBehavior = 'none' | 'prorated'; - - export type DebitProrationBehavior = 'none' | 'prorated'; - } - - export namespace RecurringCreditGrant { - export type CreateBehavior = 'full_credits' | 'none'; - } - } + export namespace RecurringCreditGrant { + export type CreateBehavior = 'full_credits' | 'none'; } } } + } + } - export namespace Remove { - export interface EffectiveAt { - /** - * When the remove action takes effect. - */ - type: EffectiveAt.Type; - } + export namespace Remove { + export interface EffectiveAt { + /** + * When the remove action takes effect. + */ + type: EffectiveAt.Type; + } - export type Type = 'invoice_discount_rule' | 'spend_modifier_rule'; + export type Type = 'invoice_discount_rule' | 'spend_modifier_rule'; - export namespace EffectiveAt { - export type Type = 'current_billing_period_end' | 'on_reserve'; - } - } + export namespace EffectiveAt { + export type Type = 'current_billing_period_end' | 'on_reserve'; + } + } - export namespace Subscribe { - export type CollectAt = 'next_billing_date' | 'on_effective_at'; + export namespace Subscribe { + export type CollectAt = 'next_billing_date' | 'on_effective_at'; - export interface EffectiveAt { - /** - * The timestamp at which the subscribe action takes effect. Only present if type is timestamp. - */ - timestamp?: string; + export interface EffectiveAt { + /** + * The timestamp at which the subscribe action takes effect. Only present if type is timestamp. + */ + timestamp?: string; - /** - * When the subscribe action takes effect. - */ - type: EffectiveAt.Type; - } + /** + * When the subscribe action takes effect. + */ + type: EffectiveAt.Type; + } - export interface PricingPlanSubscriptionDetails { - /** - * Configurations for the components of the Pricing Plan. - */ - component_configurations: Array< - PricingPlanSubscriptionDetails.ComponentConfiguration - >; + export interface PricingPlanSubscriptionDetails { + /** + * Configurations for the components of the Pricing Plan. + */ + component_configurations: Array< + PricingPlanSubscriptionDetails.ComponentConfiguration + >; + + /** + * Set of [key-value pairs](https://docs.stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata?: Metadata; + + /** + * Configurations for overriding behaviors related to the subscription. + */ + overrides?: PricingPlanSubscriptionDetails.Overrides; + + /** + * ID of the Pricing Plan to subscribe to. + */ + pricing_plan: string; + + /** + * ID of the created Pricing Plan Subscription. This is only present once the Billing Intent is committed and the Pricing Plan Subscription is created. + */ + pricing_plan_subscription?: string; + + /** + * Version of the Pricing Plan to use. + */ + pricing_plan_version: string; + } - /** - * Set of [key-value pairs](https://docs.stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Metadata; + export type Type = + | 'pricing_plan_subscription_details' + | 'v1_subscription_details'; + + export interface V1SubscriptionDetails { + /** + * The subscription's description, meant to be displayable to the customer. + * Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. + */ + description?: string; + + /** + * A list of up to 20 subscription items, each with an attached price. + */ + items: Array; + + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata?: Metadata; + } - /** - * Configurations for overriding behaviors related to the subscription. - */ - overrides?: PricingPlanSubscriptionDetails.Overrides; + export namespace EffectiveAt { + export type Type = + | 'current_billing_period_start' + | 'on_reserve' + | 'timestamp'; + } - /** - * ID of the Pricing Plan to subscribe to. - */ - pricing_plan: string; + export namespace PricingPlanSubscriptionDetails { + export interface ComponentConfiguration { + /** + * Lookup key for the pricing plan component. + */ + lookup_key?: string; - /** - * ID of the created Pricing Plan Subscription. This is only present once the Billing Intent is committed and the Pricing Plan Subscription is created. - */ - pricing_plan_subscription?: string; + /** + * ID of the pricing plan component. + */ + pricing_plan_component?: string; - /** - * Version of the Pricing Plan to use. - */ - pricing_plan_version: string; - } + /** + * Quantity of the component to be used. + */ + quantity?: number; + } - export type Type = - | 'pricing_plan_subscription_details' - | 'v1_subscription_details'; + export interface Overrides { + /** + * Configurations for behaviors when the action takes effect during the service period. + */ + partial_period_behaviors: Array; + } - export interface V1SubscriptionDetails { + export namespace Overrides { + export interface PartialPeriodBehavior { /** - * The subscription's description, meant to be displayable to the customer. - * Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. + * Overrides the behavior for license fee components when the action takes effect during the service period. */ - description?: string; + license_fee?: PartialPeriodBehavior.LicenseFee; /** - * A list of up to 20 subscription items, each with an attached price. + * Overrides the behavior for recurring credit grant components when the action takes effect during the service period. */ - items: Array; + recurring_credit_grant?: PartialPeriodBehavior.RecurringCreditGrant; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * The type of behavior to override. */ - metadata?: Metadata; - } - - export namespace EffectiveAt { - export type Type = - | 'current_billing_period_start' - | 'on_reserve' - | 'timestamp'; + type: PartialPeriodBehavior.Type; } - export namespace PricingPlanSubscriptionDetails { - export interface ComponentConfiguration { + export namespace PartialPeriodBehavior { + export interface LicenseFee { /** - * Lookup key for the pricing plan component. + * The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user is subscribing. If not specified, defaults to prorated. */ - lookup_key?: string; - - /** - * ID of the pricing plan component. - */ - pricing_plan_component?: string; + debit_proration_behavior: LicenseFee.DebitProrationBehavior; + } + export interface RecurringCreditGrant { /** - * Quantity of the component to be used. + * Controls credit grant creation behavior during partial periods. If not specified, defaults to full_credits. */ - quantity?: number; + create_behavior: RecurringCreditGrant.CreateBehavior; } - export interface Overrides { - /** - * Configurations for behaviors when the action takes effect during the service period. - */ - partial_period_behaviors: Array; + export type Type = 'license_fee' | 'recurring_credit_grant'; + + export namespace LicenseFee { + export type DebitProrationBehavior = 'none' | 'prorated'; } - export namespace Overrides { - export interface PartialPeriodBehavior { - /** - * Overrides the behavior for license fee components when the action takes effect during the service period. - */ - license_fee?: PartialPeriodBehavior.LicenseFee; - - /** - * Overrides the behavior for recurring credit grant components when the action takes effect during the service period. - */ - recurring_credit_grant?: PartialPeriodBehavior.RecurringCreditGrant; - - /** - * The type of behavior to override. - */ - type: PartialPeriodBehavior.Type; - } - - export namespace PartialPeriodBehavior { - export interface LicenseFee { - /** - * The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user is subscribing. If not specified, defaults to prorated. - */ - debit_proration_behavior: LicenseFee.DebitProrationBehavior; - } - - export interface RecurringCreditGrant { - /** - * Controls credit grant creation behavior during partial periods. If not specified, defaults to full_credits. - */ - create_behavior: RecurringCreditGrant.CreateBehavior; - } - - export type Type = 'license_fee' | 'recurring_credit_grant'; - - export namespace LicenseFee { - export type DebitProrationBehavior = 'none' | 'prorated'; - } - - export namespace RecurringCreditGrant { - export type CreateBehavior = 'full_credits' | 'none'; - } - } + export namespace RecurringCreditGrant { + export type CreateBehavior = 'full_credits' | 'none'; } } + } + } - export namespace V1SubscriptionDetails { - export interface Item { - /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Metadata; + export namespace V1SubscriptionDetails { + export interface Item { + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata?: Metadata; - /** - * The ID of the price object. - */ - price: string; + /** + * The ID of the price object. + */ + price: string; - /** - * Quantity for this item. If not provided, defaults to 1. - */ - quantity?: number; - } - } + /** + * Quantity for this item. If not provided, defaults to 1. + */ + quantity?: number; } } } diff --git a/src/resources/V2/Billing/Intents.ts b/src/resources/V2/Billing/Intents.ts index 55cc75bbc5..a90da58922 100644 --- a/src/resources/V2/Billing/Intents.ts +++ b/src/resources/V2/Billing/Intents.ts @@ -150,7 +150,7 @@ export interface Intent { /** * Breakdown of the amount for this Billing Intent. */ - amount_details: V2.Billing.Intent.AmountDetails; + amount_details: Intent.AmountDetails; /** * ID of an existing Cadence to use. @@ -160,7 +160,7 @@ export interface Intent { /** * Data for creating a new Cadence. */ - cadence_data?: V2.Billing.Intent.CadenceData; + cadence_data?: Intent.CadenceData; /** * Time at which the object was created. @@ -180,346 +180,342 @@ export interface Intent { /** * Current status of the Billing Intent. */ - status: V2.Billing.Intent.Status; + status: Intent.Status; /** * Timestamps for status transitions of the Billing Intent. */ - status_transitions: V2.Billing.Intent.StatusTransitions; + status_transitions: Intent.StatusTransitions; } -export namespace V2 { - export namespace Billing { - export namespace Intent { - export interface AmountDetails { - /** - * Three-letter ISO currency code, in lowercase. Must be a supported currency. - */ - currency: string; +export namespace Intent { + export interface AmountDetails { + /** + * Three-letter ISO currency code, in lowercase. Must be a supported currency. + */ + currency: string; + + /** + * Amount of discount applied. + */ + discount: string; + + /** + * Amount of shipping charges. + */ + shipping: string; + + /** + * Subtotal amount before tax and discounts. + */ + subtotal: string; + + /** + * Amount of tax. + */ + tax: string; + + /** + * Total amount for the Billing Intent. + */ + total: string; + } - /** - * Amount of discount applied. - */ - discount: string; + export interface CadenceData { + /** + * The billing cycle configuration for this Cadence. + */ + billing_cycle: CadenceData.BillingCycle; + + /** + * Information about the payer for this Cadence. + */ + payer: CadenceData.Payer; + + /** + * Settings for creating the Cadence. + */ + settings?: CadenceData.Settings; + } - /** - * Amount of shipping charges. - */ - shipping: string; + export type Status = 'canceled' | 'committed' | 'draft' | 'reserved'; + + export interface StatusTransitions { + /** + * Time at which the Billing Intent was canceled. + */ + canceled_at?: string; + + /** + * Time at which the Billing Intent was committed. + */ + committed_at?: string; + + /** + * Time at which the Billing Intent was drafted. + */ + drafted_at?: string; + + /** + * Time at which the Billing Intent expires. + */ + expires_at: string; + + /** + * Time at which the Billing Intent was reserved. + */ + reserved_at?: string; + } - /** - * Subtotal amount before tax and discounts. - */ - subtotal: string; + export namespace CadenceData { + export interface BillingCycle { + /** + * Specific configuration for determining billing dates when type=day. + */ + day?: BillingCycle.Day; - /** - * Amount of tax. - */ - tax: string; + /** + * The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months. + */ + interval_count: number; + + /** + * Specific configuration for determining billing dates when type=month. + */ + month?: BillingCycle.Month; + + /** + * The frequency at which a cadence bills. + */ + type: BillingCycle.Type; + + /** + * Specific configuration for determining billing dates when type=week. + */ + week?: BillingCycle.Week; + + /** + * Specific configuration for determining billing dates when type=year. + */ + year?: BillingCycle.Year; + } + + export interface Payer { + /** + * The ID of the Billing Profile object which determines how a bill is paid. + */ + billing_profile?: string; + + /** + * Data for creating a new profile. + */ + billing_profile_data?: Payer.BillingProfileData; + } + export interface Settings { + /** + * Settings that configure bills generation, which includes calculating totals, tax, and presenting invoices. + */ + bill?: Settings.Bill; + + /** + * Settings that configure and manage the behavior of collecting payments. + */ + collection?: Settings.Collection; + } + + export namespace BillingCycle { + export interface Day { /** - * Total amount for the Billing Intent. + * The time at which the billing cycle ends. */ - total: string; + time: Day.Time; } - export interface CadenceData { + export interface Month { /** - * The billing cycle configuration for this Cadence. + * The day to anchor the billing on for a type="month" billing cycle from 1-31. + * If this number is greater than the number of days in the month being billed, + * this anchors to the last day of the month. */ - billing_cycle: CadenceData.BillingCycle; + day_of_month: number; /** - * Information about the payer for this Cadence. + * The month to anchor the billing on for a type="month" billing cycle from + * 1-12. Occurrences are calculated from the month anchor. */ - payer: CadenceData.Payer; + month_of_year?: number; /** - * Settings for creating the Cadence. + * The time at which the billing cycle ends. */ - settings?: CadenceData.Settings; + time: Month.Time; } - export type Status = 'canceled' | 'committed' | 'draft' | 'reserved'; + export type Type = 'day' | 'month' | 'week' | 'year'; - export interface StatusTransitions { + export interface Week { /** - * Time at which the Billing Intent was canceled. + * The day of the week to bill the type=week billing cycle on. + * Numbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601 week day numbering. */ - canceled_at?: string; + day_of_week: number; /** - * Time at which the Billing Intent was committed. + * The time at which the billing cycle ends. */ - committed_at?: string; + time: Week.Time; + } + export interface Year { /** - * Time at which the Billing Intent was drafted. + * The day to anchor the billing on for a type="month" billing cycle from 1-31. + * If this number is greater than the number of days in the month being billed, + * this anchors to the last day of the month. */ - drafted_at?: string; + day_of_month: number; /** - * Time at which the Billing Intent expires. + * The month to bill on from 1-12. If not provided, this defaults to the month the cadence was created. */ - expires_at: string; + month_of_year: number; /** - * Time at which the Billing Intent was reserved. + * The time at which the billing cycle ends. */ - reserved_at?: string; + time: Year.Time; } - export namespace CadenceData { - export interface BillingCycle { + export namespace Day { + export interface Time { /** - * Specific configuration for determining billing dates when type=day. + * The hour at which the billing cycle ends. + * This must be an integer between 0 and 23, inclusive. + * 0 represents midnight, and 23 represents 11 PM. */ - day?: BillingCycle.Day; + hour: number; /** - * The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months. + * The minute at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - interval_count: number; + minute: number; /** - * Specific configuration for determining billing dates when type=month. + * The second at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - month?: BillingCycle.Month; + second?: number; + } + } + export namespace Month { + export interface Time { /** - * The frequency at which a cadence bills. + * The hour at which the billing cycle ends. + * This must be an integer between 0 and 23, inclusive. + * 0 represents midnight, and 23 represents 11 PM. */ - type: BillingCycle.Type; + hour: number; /** - * Specific configuration for determining billing dates when type=week. + * The minute at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - week?: BillingCycle.Week; + minute: number; /** - * Specific configuration for determining billing dates when type=year. + * The second at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - year?: BillingCycle.Year; + second?: number; } + } - export interface Payer { + export namespace Week { + export interface Time { /** - * The ID of the Billing Profile object which determines how a bill is paid. + * The hour at which the billing cycle ends. + * This must be an integer between 0 and 23, inclusive. + * 0 represents midnight, and 23 represents 11 PM. */ - billing_profile?: string; + hour: number; /** - * Data for creating a new profile. + * The minute at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - billing_profile_data?: Payer.BillingProfileData; - } + minute: number; - export interface Settings { /** - * Settings that configure bills generation, which includes calculating totals, tax, and presenting invoices. + * The second at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. */ - bill?: Settings.Bill; + second?: number; + } + } + export namespace Year { + export interface Time { /** - * Settings that configure and manage the behavior of collecting payments. + * The hour at which the billing cycle ends. + * This must be an integer between 0 and 23, inclusive. + * 0 represents midnight, and 23 represents 11 PM. */ - collection?: Settings.Collection; - } - - export namespace BillingCycle { - export interface Day { - /** - * The time at which the billing cycle ends. - */ - time: Day.Time; - } - - export interface Month { - /** - * The day to anchor the billing on for a type="month" billing cycle from 1-31. - * If this number is greater than the number of days in the month being billed, - * this anchors to the last day of the month. - */ - day_of_month: number; + hour: number; - /** - * The month to anchor the billing on for a type="month" billing cycle from - * 1-12. Occurrences are calculated from the month anchor. - */ - month_of_year?: number; - - /** - * The time at which the billing cycle ends. - */ - time: Month.Time; - } - - export type Type = 'day' | 'month' | 'week' | 'year'; - - export interface Week { - /** - * The day of the week to bill the type=week billing cycle on. - * Numbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601 week day numbering. - */ - day_of_week: number; - - /** - * The time at which the billing cycle ends. - */ - time: Week.Time; - } - - export interface Year { - /** - * The day to anchor the billing on for a type="month" billing cycle from 1-31. - * If this number is greater than the number of days in the month being billed, - * this anchors to the last day of the month. - */ - day_of_month: number; - - /** - * The month to bill on from 1-12. If not provided, this defaults to the month the cadence was created. - */ - month_of_year: number; - - /** - * The time at which the billing cycle ends. - */ - time: Year.Time; - } - - export namespace Day { - export interface Time { - /** - * The hour at which the billing cycle ends. - * This must be an integer between 0 and 23, inclusive. - * 0 represents midnight, and 23 represents 11 PM. - */ - hour: number; - - /** - * The minute at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - minute: number; - - /** - * The second at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - second?: number; - } - } - - export namespace Month { - export interface Time { - /** - * The hour at which the billing cycle ends. - * This must be an integer between 0 and 23, inclusive. - * 0 represents midnight, and 23 represents 11 PM. - */ - hour: number; - - /** - * The minute at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - minute: number; - - /** - * The second at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - second?: number; - } - } - - export namespace Week { - export interface Time { - /** - * The hour at which the billing cycle ends. - * This must be an integer between 0 and 23, inclusive. - * 0 represents midnight, and 23 represents 11 PM. - */ - hour: number; - - /** - * The minute at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - minute: number; - - /** - * The second at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - second?: number; - } - } - - export namespace Year { - export interface Time { - /** - * The hour at which the billing cycle ends. - * This must be an integer between 0 and 23, inclusive. - * 0 represents midnight, and 23 represents 11 PM. - */ - hour: number; - - /** - * The minute at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - minute: number; + /** + * The minute at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. + */ + minute: number; - /** - * The second at which the billing cycle ends. - * Must be an integer between 0 and 59, inclusive. - */ - second?: number; - } - } + /** + * The second at which the billing cycle ends. + * Must be an integer between 0 and 59, inclusive. + */ + second?: number; } + } + } - export namespace Payer { - export interface BillingProfileData { - /** - * The customer to associate with the profile. - */ - customer: string; + export namespace Payer { + export interface BillingProfileData { + /** + * The customer to associate with the profile. + */ + customer: string; - /** - * The default payment method to use when billing this profile. - * If none is provided, the customer `default_payment_method` is used. - */ - default_payment_method?: string; - } - } + /** + * The default payment method to use when billing this profile. + * If none is provided, the customer `default_payment_method` is used. + */ + default_payment_method?: string; + } + } - export namespace Settings { - export interface Bill { - /** - * The ID of the referenced settings object. - */ - id: string; + export namespace Settings { + export interface Bill { + /** + * The ID of the referenced settings object. + */ + id: string; - /** - * Returns the Settings Version when the cadence is pinned to a specific version. - */ - version?: string; - } + /** + * Returns the Settings Version when the cadence is pinned to a specific version. + */ + version?: string; + } - export interface Collection { - /** - * The ID of the referenced settings object. - */ - id: string; + export interface Collection { + /** + * The ID of the referenced settings object. + */ + id: string; - /** - * Returns the Settings Version when the cadence is pinned to a specific version. - */ - version?: string; - } - } + /** + * Returns the Settings Version when the cadence is pinned to a specific version. + */ + version?: string; } } } diff --git a/src/resources/V2/Billing/LicenseFeeVersions.ts b/src/resources/V2/Billing/LicenseFeeVersions.ts index 6ab53b010a..4c3aac4fb4 100644 --- a/src/resources/V2/Billing/LicenseFeeVersions.ts +++ b/src/resources/V2/Billing/LicenseFeeVersions.ts @@ -33,17 +33,17 @@ export interface LicenseFeeVersion { * quantity within a period determines the per-unit price. In graduated tiering, the pricing changes as the quantity * grows into new tiers. Can only be set if `tiers` is set. */ - tiering_mode?: V2.Billing.LicenseFeeVersion.TieringMode; + tiering_mode?: LicenseFeeVersion.TieringMode; /** * Each element represents a pricing tier. Cannot be set if `unit_amount` is provided. */ - tiers: Array; + tiers: Array; /** * Apply a transformation to the reported usage or set quantity before computing the amount billed. */ - transform_quantity?: V2.Billing.LicenseFeeVersion.TransformQuantity; + transform_quantity?: LicenseFeeVersion.TransformQuantity; /** * The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal @@ -51,50 +51,46 @@ export interface LicenseFeeVersion { */ unit_amount?: string; } -export namespace V2 { - export namespace Billing { - export namespace LicenseFeeVersion { - export type TieringMode = 'graduated' | 'volume'; - - export interface Tier { - /** - * Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. - */ - flat_amount?: string; - - /** - * Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at - * most 12 decimal places. - */ - unit_amount?: string; - - /** - * Up to and including this quantity is contained in the tier. Only one of `up_to_decimal` and `up_to_inf` may - * be set. - */ - up_to_decimal?: Decimal; - - /** - * No upper bound to this tier. Only one of `up_to_decimal` and `up_to_inf` may be set. - */ - up_to_inf?: 'inf'; - } - - export interface TransformQuantity { - /** - * Divide usage by this number. - */ - divide_by: bigint; - - /** - * After division, round the result up or down. - */ - round: TransformQuantity.Round; - } - - export namespace TransformQuantity { - export type Round = 'down' | 'up'; - } - } +export namespace LicenseFeeVersion { + export type TieringMode = 'graduated' | 'volume'; + + export interface Tier { + /** + * Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. + */ + flat_amount?: string; + + /** + * Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at + * most 12 decimal places. + */ + unit_amount?: string; + + /** + * Up to and including this quantity is contained in the tier. Only one of `up_to_decimal` and `up_to_inf` may + * be set. + */ + up_to_decimal?: Decimal; + + /** + * No upper bound to this tier. Only one of `up_to_decimal` and `up_to_inf` may be set. + */ + up_to_inf?: 'inf'; + } + + export interface TransformQuantity { + /** + * Divide usage by this number. + */ + divide_by: bigint; + + /** + * After division, round the result up or down. + */ + round: TransformQuantity.Round; + } + + export namespace TransformQuantity { + export type Round = 'down' | 'up'; } } diff --git a/src/resources/V2/Billing/LicenseFees.ts b/src/resources/V2/Billing/LicenseFees.ts index 76e58bc2f2..c323a6a01a 100644 --- a/src/resources/V2/Billing/LicenseFees.ts +++ b/src/resources/V2/Billing/LicenseFees.ts @@ -247,29 +247,29 @@ export interface LicenseFee { /** * The service cycle configuration for this License Fee. */ - service_cycle: V2.Billing.LicenseFee.ServiceCycle; + service_cycle: LicenseFee.ServiceCycle; /** * The tax behavior for Stripe Tax — whether the license fee price includes or excludes tax. */ - tax_behavior: V2.Billing.LicenseFee.TaxBehavior; + tax_behavior: LicenseFee.TaxBehavior; /** * Defines whether the tiering price is graduated or volume-based. In volume-based tiering, the maximum * quantity within a period determines the per-unit price. In graduated tiering, the pricing changes as the quantity * grows into new tiers. Can only be set if `tiers` is set. */ - tiering_mode?: V2.Billing.LicenseFee.TieringMode; + tiering_mode?: LicenseFee.TieringMode; /** * Each element represents a pricing tier. Cannot be set if `unit_amount` is provided. */ - tiers: Array; + tiers: Array; /** * Apply a transformation to the reported usage or set quantity before computing the amount billed. */ - transform_quantity?: V2.Billing.LicenseFee.TransformQuantity; + transform_quantity?: LicenseFee.TransformQuantity; /** * The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal @@ -277,70 +277,66 @@ export interface LicenseFee { */ unit_amount?: string; } -export namespace V2 { - export namespace Billing { - export namespace LicenseFee { - export interface ServiceCycle { - /** - * The interval for assessing service. - */ - interval: ServiceCycle.Interval; +export namespace LicenseFee { + export interface ServiceCycle { + /** + * The interval for assessing service. + */ + interval: ServiceCycle.Interval; + + /** + * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` + * to specify quarterly service. + */ + interval_count: number; + } - /** - * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` - * to specify quarterly service. - */ - interval_count: number; - } + export type TaxBehavior = 'exclusive' | 'inclusive'; - export type TaxBehavior = 'exclusive' | 'inclusive'; + export type TieringMode = 'graduated' | 'volume'; - export type TieringMode = 'graduated' | 'volume'; + export interface Tier { + /** + * Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. + */ + flat_amount?: string; - export interface Tier { - /** - * Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. - */ - flat_amount?: string; + /** + * Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at + * most 12 decimal places. + */ + unit_amount?: string; - /** - * Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at - * most 12 decimal places. - */ - unit_amount?: string; + /** + * Up to and including this quantity is contained in the tier. Only one of `up_to_decimal` and `up_to_inf` may + * be set. + */ + up_to_decimal?: Decimal; - /** - * Up to and including this quantity is contained in the tier. Only one of `up_to_decimal` and `up_to_inf` may - * be set. - */ - up_to_decimal?: Decimal; - - /** - * No upper bound to this tier. Only one of `up_to_decimal` and `up_to_inf` may be set. - */ - up_to_inf?: 'inf'; - } + /** + * No upper bound to this tier. Only one of `up_to_decimal` and `up_to_inf` may be set. + */ + up_to_inf?: 'inf'; + } - export interface TransformQuantity { - /** - * Divide usage by this number. - */ - divide_by: bigint; + export interface TransformQuantity { + /** + * Divide usage by this number. + */ + divide_by: bigint; - /** - * After division, round the result up or down. - */ - round: TransformQuantity.Round; - } + /** + * After division, round the result up or down. + */ + round: TransformQuantity.Round; + } - export namespace ServiceCycle { - export type Interval = 'day' | 'month' | 'week' | 'year'; - } + export namespace ServiceCycle { + export type Interval = 'day' | 'month' | 'week' | 'year'; + } - export namespace TransformQuantity { - export type Round = 'down' | 'up'; - } - } + export namespace TransformQuantity { + export type Round = 'down' | 'up'; } } export namespace V2 { diff --git a/src/resources/V2/Billing/LicensedItems.ts b/src/resources/V2/Billing/LicensedItems.ts index db1627e9d9..a3af3cf370 100644 --- a/src/resources/V2/Billing/LicensedItems.ts +++ b/src/resources/V2/Billing/LicensedItems.ts @@ -108,7 +108,7 @@ export interface LicensedItem { /** * Stripe Tax details. */ - tax_details?: V2.Billing.LicensedItem.TaxDetails; + tax_details?: LicensedItem.TaxDetails; /** * The unit to use when displaying prices for this billable item in places like Checkout. For example, set this field @@ -117,16 +117,12 @@ export interface LicensedItem { */ unit_label?: string; } -export namespace V2 { - export namespace Billing { - export namespace LicensedItem { - export interface TaxDetails { - /** - * Product tax code (PTC). - */ - tax_code: string; - } - } +export namespace LicensedItem { + export interface TaxDetails { + /** + * Product tax code (PTC). + */ + tax_code: string; } } export namespace V2 { diff --git a/src/resources/V2/Billing/MeteredItems.ts b/src/resources/V2/Billing/MeteredItems.ts index 880cc6a31d..0c4e182eda 100644 --- a/src/resources/V2/Billing/MeteredItems.ts +++ b/src/resources/V2/Billing/MeteredItems.ts @@ -118,12 +118,12 @@ export interface MeteredItem { /** * Optional array of Meter segments to filter event dimension keys for billing. */ - meter_segment_conditions: Array; + meter_segment_conditions: Array; /** * Stripe Tax details. */ - tax_details?: V2.Billing.MeteredItem.TaxDetails; + tax_details?: MeteredItem.TaxDetails; /** * The unit to use when displaying prices for this billable item in places like Checkout. For example, set this field @@ -133,28 +133,24 @@ export interface MeteredItem { */ unit_label?: string; } -export namespace V2 { - export namespace Billing { - export namespace MeteredItem { - export interface MeterSegmentCondition { - /** - * A Meter dimension. - */ - dimension: string; +export namespace MeteredItem { + export interface MeterSegmentCondition { + /** + * A Meter dimension. + */ + dimension: string; - /** - * To count usage towards this metered item, the dimension must have this value. - */ - value: string; - } + /** + * To count usage towards this metered item, the dimension must have this value. + */ + value: string; + } - export interface TaxDetails { - /** - * Product tax code (PTC). - */ - tax_code: string; - } - } + export interface TaxDetails { + /** + * Product tax code (PTC). + */ + tax_code: string; } } export namespace V2 { diff --git a/src/resources/V2/Billing/OneTimeItems.ts b/src/resources/V2/Billing/OneTimeItems.ts index c8d6c57855..69929656be 100644 --- a/src/resources/V2/Billing/OneTimeItems.ts +++ b/src/resources/V2/Billing/OneTimeItems.ts @@ -108,7 +108,7 @@ export interface OneTimeItem { /** * Stripe Tax details. */ - tax_details?: V2.Billing.OneTimeItem.TaxDetails; + tax_details?: OneTimeItem.TaxDetails; /** * The unit to use when displaying prices for this one-time item. For example, set this field @@ -117,16 +117,12 @@ export interface OneTimeItem { */ unit_label?: string; } -export namespace V2 { - export namespace Billing { - export namespace OneTimeItem { - export interface TaxDetails { - /** - * Product tax code (PTC). - */ - tax_code: string; - } - } +export namespace OneTimeItem { + export interface TaxDetails { + /** + * Product tax code (PTC). + */ + tax_code: string; } } export namespace V2 { diff --git a/src/resources/V2/Billing/PricingPlanComponents.ts b/src/resources/V2/Billing/PricingPlanComponents.ts index 0102dca086..ea4139bb17 100644 --- a/src/resources/V2/Billing/PricingPlanComponents.ts +++ b/src/resources/V2/Billing/PricingPlanComponents.ts @@ -21,7 +21,7 @@ export interface PricingPlanComponent { /** * Details if this component is a License Fee. */ - license_fee?: V2.Billing.PricingPlanComponent.LicenseFee; + license_fee?: PricingPlanComponent.LicenseFee; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -51,53 +51,49 @@ export interface PricingPlanComponent { /** * Details if this component is a Rate Card. */ - rate_card?: V2.Billing.PricingPlanComponent.RateCard; + rate_card?: PricingPlanComponent.RateCard; /** * Details if this component is a Service Action. */ - service_action?: V2.Billing.PricingPlanComponent.ServiceAction; + service_action?: PricingPlanComponent.ServiceAction; /** * The type of the PricingPlanComponent. */ - type: V2.Billing.PricingPlanComponent.Type; + type: PricingPlanComponent.Type; } -export namespace V2 { - export namespace Billing { - export namespace PricingPlanComponent { - export interface LicenseFee { - /** - * The ID of the License Fee. - */ - id: string; - - /** - * The ID of the License Fee Version. If not specified, defaults to 'latest'. - */ - version?: string; - } - - export interface RateCard { - /** - * The ID of the Rate Card. - */ - id: string; - - /** - * The ID of the Rate Card Version. If not specified, defaults to 'latest'. - */ - version?: string; - } - - export interface ServiceAction { - /** - * The ID of the service action. - */ - id: string; - } - - export type Type = 'license_fee' | 'rate_card' | 'service_action'; - } +export namespace PricingPlanComponent { + export interface LicenseFee { + /** + * The ID of the License Fee. + */ + id: string; + + /** + * The ID of the License Fee Version. If not specified, defaults to 'latest'. + */ + version?: string; } + + export interface RateCard { + /** + * The ID of the Rate Card. + */ + id: string; + + /** + * The ID of the Rate Card Version. If not specified, defaults to 'latest'. + */ + version?: string; + } + + export interface ServiceAction { + /** + * The ID of the service action. + */ + id: string; + } + + export type Type = 'license_fee' | 'rate_card' | 'service_action'; } diff --git a/src/resources/V2/Billing/PricingPlanSubscriptions.ts b/src/resources/V2/Billing/PricingPlanSubscriptions.ts index 8618d1fc1a..0069039eaf 100644 --- a/src/resources/V2/Billing/PricingPlanSubscriptions.ts +++ b/src/resources/V2/Billing/PricingPlanSubscriptions.ts @@ -355,17 +355,17 @@ export interface PricingPlanSubscription { /** * Details about why the subscription was canceled, if applicable. Includes system-generated reason. */ - cancellation_details?: V2.Billing.PricingPlanSubscription.CancellationDetails; + cancellation_details?: PricingPlanSubscription.CancellationDetails; /** * Current collection status of this subscription. */ - collection_status: V2.Billing.PricingPlanSubscription.CollectionStatus; + collection_status: PricingPlanSubscription.CollectionStatus; /** * Timestamps for collection status transitions. */ - collection_status_transitions: V2.Billing.PricingPlanSubscription.CollectionStatusTransitions; + collection_status_transitions: PricingPlanSubscription.CollectionStatusTransitions; /** * Time at which the object was created. @@ -375,7 +375,7 @@ export interface PricingPlanSubscription { /** * Details about Discounts applied to this subscription. */ - discount_details?: Array; + discount_details?: Array; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -396,7 +396,7 @@ export interface PricingPlanSubscription { * Pricing plan component details for the subscription, populated when pricing_plan_component_details is included. */ pricing_plan_component_details?: Array< - V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail + PricingPlanSubscription.PricingPlanComponentDetail >; /** @@ -407,580 +407,572 @@ export interface PricingPlanSubscription { /** * Current servicing status of this subscription. */ - servicing_status: V2.Billing.PricingPlanSubscription.ServicingStatus; + servicing_status: PricingPlanSubscription.ServicingStatus; /** * Timestamps for servicing status transitions. */ - servicing_status_transitions: V2.Billing.PricingPlanSubscription.ServicingStatusTransitions; + servicing_status_transitions: PricingPlanSubscription.ServicingStatusTransitions; /** * The ID of the Test Clock of the associated Billing Cadence, if any. */ test_clock?: string; } -export namespace V2 { - export namespace Billing { - export namespace PricingPlanSubscription { - export interface CancellationDetails { - /** - * Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. - */ - comment?: string; +export namespace PricingPlanSubscription { + export interface CancellationDetails { + /** + * Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. + */ + comment?: string; + + /** + * The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user. + */ + feedback?: CancellationDetails.Feedback; + + /** + * System-generated reason for cancellation. + */ + reason?: 'cancellation_requested'; + } + + export type CollectionStatus = + | 'awaiting_customer_action' + | 'current' + | 'past_due' + | 'paused' + | 'unpaid'; + + export interface CollectionStatusTransitions { + /** + * When the collection status transitioned to awaiting customer action. + */ + awaiting_customer_action_at?: string; + + /** + * When the collection status transitioned to current. + */ + current_at?: string; + + /** + * When the collection status transitioned to past due. + */ + past_due_at?: string; + + /** + * When the collection status transitioned to paused. + */ + paused_at?: string; + + /** + * When the collection status transitioned to unpaid. + */ + unpaid_at?: string; + } + + export interface DiscountDetail { + /** + * The ID of the Discount. + */ + discount: string; + + /** + * The time at which the Discount ends, if applicable. + */ + end?: string; + + /** + * The ID of the PromotionCode, if applicable. + */ + promotion_code?: string; + + /** + * The source of the Discount. + */ + source: DiscountDetail.Source; + + /** + * The time at which the Discount starts. + */ + start: string; + } + + export interface PricingPlanComponentDetail { + /** + * License fee details, present when type is license_fee_details. + */ + license_fee_details?: PricingPlanComponentDetail.LicenseFeeDetails; + + /** + * The ID of the Pricing Plan Component. + */ + pricing_plan_component: string; + + /** + * Rate card details, present when type is rate_card_details. + */ + rate_card_details?: PricingPlanComponentDetail.RateCardDetails; + + /** + * Recurring credit grant details, present when type is recurring_credit_grant_details. + */ + recurring_credit_grant_details?: PricingPlanComponentDetail.RecurringCreditGrantDetails; + + /** + * The type of component details included. + */ + type: PricingPlanComponentDetail.Type; + } + + export type ServicingStatus = 'active' | 'canceled' | 'paused' | 'pending'; + + export interface ServicingStatusTransitions { + /** + * When the servicing status transitioned to activated. + */ + activated_at?: string; + + /** + * When the servicing status transitioned to canceled. + */ + canceled_at?: string; + + /** + * When the servicing status transitioned to paused. + */ + paused_at?: string; + + /** + * When the servicing is scheduled to transition to activate. + */ + will_activate_at?: string; + + /** + * When the servicing is scheduled to cancel. + */ + will_cancel_at?: string; + } + + export namespace CancellationDetails { + export type Feedback = + | 'customer_service' + | 'low_quality' + | 'missing_features' + | 'other' + | 'switched_service' + | 'too_complex' + | 'too_expensive' + | 'unused'; + } + + export namespace DiscountDetail { + export interface Source { + /** + * The ID of the Coupon. + */ + coupon?: string; + + /** + * Type of the Discount source. + */ + type: 'coupon'; + } + } + + export namespace PricingPlanComponentDetail { + export interface LicenseFeeDetails { + /** + * Three-letter ISO currency code, in lowercase. + */ + currency: string; + + /** + * A customer-facing name for the license fee. + */ + display_name: string; + + /** + * The ID of the License Fee. + */ + license_fee: string; + + /** + * The ID of the License Fee Version. + */ + license_fee_version: string; + + /** + * Quantity of the license fee on the subscription. + */ + quantity: number; + + /** + * The service cycle configuration. + */ + service_cycle: LicenseFeeDetails.ServiceCycle; + + /** + * Defines whether the tiering price is graduated or volume-based. + */ + tiering_mode?: LicenseFeeDetails.TieringMode; + + /** + * Each element represents a pricing tier. + */ + tiers: Array; + + /** + * Apply a transformation to the reported usage or set quantity before computing the amount billed. + */ + transform_quantity?: LicenseFeeDetails.TransformQuantity; + + /** + * The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal places. + */ + unit_amount?: string; + + /** + * The unit label from the licensed item, used for display purposes (for example, "seat", "environment"). + */ + unit_label?: string; + } + + export interface RateCardDetails { + /** + * Three-letter ISO currency code, in lowercase. + */ + currency: string; + + /** + * A customer-facing name for the rate card. + */ + display_name: string; + + /** + * The ID of the Rate Card. + */ + rate_card: string; + + /** + * The ID of the Rate Card Version. + */ + rate_card_version: string; + + /** + * The service cycle configuration. + */ + service_cycle: RateCardDetails.ServiceCycle; + + /** + * Whether the rates are inclusive or exclusive of tax. + */ + tax_behavior: RateCardDetails.TaxBehavior; + } + + export interface RecurringCreditGrantDetails { + /** + * Credit grant details, present when type is CREDIT_GRANT. + */ + credit_grant_details?: RecurringCreditGrantDetails.CreditGrantDetails; + + /** + * Credit grant per tenant details, present when type is CREDIT_GRANT_PER_TENANT. + */ + credit_grant_per_tenant_details?: RecurringCreditGrantDetails.CreditGrantPerTenantDetails; + + /** + * The ID of the Recurring Credit Grant. + */ + recurring_credit_grant: string; + + /** + * The service cycle configuration. + */ + service_cycle: RecurringCreditGrantDetails.ServiceCycle; + + /** + * The type of the recurring credit grant. + */ + type: RecurringCreditGrantDetails.Type; + } + + export type Type = + | 'license_fee_details' + | 'rate_card_details' + | 'recurring_credit_grant_details'; + export namespace LicenseFeeDetails { + export interface ServiceCycle { /** - * The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user. + * The interval for assessing service. */ - feedback?: CancellationDetails.Feedback; + interval: ServiceCycle.Interval; /** - * System-generated reason for cancellation. + * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` + * to specify quarterly service. */ - reason?: 'cancellation_requested'; + interval_count: number; } - export type CollectionStatus = - | 'awaiting_customer_action' - | 'current' - | 'past_due' - | 'paused' - | 'unpaid'; + export type TieringMode = 'graduated' | 'volume'; - export interface CollectionStatusTransitions { + export interface Tier { /** - * When the collection status transitioned to awaiting customer action. + * Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. */ - awaiting_customer_action_at?: string; + flat_amount?: string; /** - * When the collection status transitioned to current. + * Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at + * most 12 decimal places. */ - current_at?: string; + unit_amount?: string; /** - * When the collection status transitioned to past due. + * Up to and including this quantity is contained in the tier. Only one of `up_to_decimal` and `up_to_inf` may + * be set. */ - past_due_at?: string; + up_to_decimal?: Decimal; /** - * When the collection status transitioned to paused. + * No upper bound to this tier. Only one of `up_to_decimal` and `up_to_inf` may be set. */ - paused_at?: string; - - /** - * When the collection status transitioned to unpaid. - */ - unpaid_at?: string; + up_to_inf?: 'inf'; } - export interface DiscountDetail { + export interface TransformQuantity { /** - * The ID of the Discount. + * Divide usage by this number. */ - discount: string; + divide_by: bigint; /** - * The time at which the Discount ends, if applicable. + * After division, round the result up or down. */ - end?: string; + round: TransformQuantity.Round; + } - /** - * The ID of the PromotionCode, if applicable. - */ - promotion_code?: string; + export namespace ServiceCycle { + export type Interval = 'day' | 'month' | 'week' | 'year'; + } + export namespace TransformQuantity { + export type Round = 'down' | 'up'; + } + } + + export namespace RateCardDetails { + export interface ServiceCycle { /** - * The source of the Discount. + * The interval for assessing service. */ - source: DiscountDetail.Source; + interval: ServiceCycle.Interval; /** - * The time at which the Discount starts. + * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` + * to specify quarterly service. */ - start: string; + interval_count: number; } - export interface PricingPlanComponentDetail { - /** - * License fee details, present when type is license_fee_details. - */ - license_fee_details?: PricingPlanComponentDetail.LicenseFeeDetails; + export type TaxBehavior = 'exclusive' | 'inclusive'; - /** - * The ID of the Pricing Plan Component. - */ - pricing_plan_component: string; + export namespace ServiceCycle { + export type Interval = 'day' | 'month' | 'week' | 'year'; + } + } + export namespace RecurringCreditGrantDetails { + export interface CreditGrantDetails { /** - * Rate card details, present when type is rate_card_details. + * The amount of the credit grant. */ - rate_card_details?: PricingPlanComponentDetail.RateCardDetails; + amount: CreditGrantDetails.Amount; /** - * Recurring credit grant details, present when type is recurring_credit_grant_details. + * Defines the scope where the credit grant is applicable. */ - recurring_credit_grant_details?: PricingPlanComponentDetail.RecurringCreditGrantDetails; + applicability_config: CreditGrantDetails.ApplicabilityConfig; /** - * The type of component details included. + * The expiry configuration for the credit grant. */ - type: PricingPlanComponentDetail.Type; + expiry_config: CreditGrantDetails.ExpiryConfig; } - export type ServicingStatus = - | 'active' - | 'canceled' - | 'paused' - | 'pending'; - - export interface ServicingStatusTransitions { + export interface CreditGrantPerTenantDetails { /** - * When the servicing status transitioned to activated. + * The amount of the credit grant. */ - activated_at?: string; + amount: CreditGrantPerTenantDetails.Amount; /** - * When the servicing status transitioned to canceled. + * Defines the scope where the credit grant is applicable. */ - canceled_at?: string; + applicability_config: CreditGrantPerTenantDetails.ApplicabilityConfig; /** - * When the servicing status transitioned to paused. + * The expiry configuration for the credit grant. */ - paused_at?: string; + expiry_config: CreditGrantPerTenantDetails.ExpiryConfig; + } + export interface ServiceCycle { /** - * When the servicing is scheduled to transition to activate. + * The interval for assessing service. */ - will_activate_at?: string; + interval: ServiceCycle.Interval; /** - * When the servicing is scheduled to cancel. + * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` + * to specify quarterly service. */ - will_cancel_at?: string; - } - - export namespace CancellationDetails { - export type Feedback = - | 'customer_service' - | 'low_quality' - | 'missing_features' - | 'other' - | 'switched_service' - | 'too_complex' - | 'too_expensive' - | 'unused'; + interval_count: number; } - export namespace DiscountDetail { - export interface Source { - /** - * The ID of the Coupon. - */ - coupon?: string; - - /** - * Type of the Discount source. - */ - type: 'coupon'; - } - } - - export namespace PricingPlanComponentDetail { - export interface LicenseFeeDetails { - /** - * Three-letter ISO currency code, in lowercase. - */ - currency: string; - - /** - * A customer-facing name for the license fee. - */ - display_name: string; - - /** - * The ID of the License Fee. - */ - license_fee: string; - - /** - * The ID of the License Fee Version. - */ - license_fee_version: string; - - /** - * Quantity of the license fee on the subscription. - */ - quantity: number; - - /** - * The service cycle configuration. - */ - service_cycle: LicenseFeeDetails.ServiceCycle; - - /** - * Defines whether the tiering price is graduated or volume-based. - */ - tiering_mode?: LicenseFeeDetails.TieringMode; - - /** - * Each element represents a pricing tier. - */ - tiers: Array; + export type Type = 'credit_grant' | 'credit_grant_per_tenant'; + export namespace CreditGrantDetails { + export interface Amount { /** - * Apply a transformation to the reported usage or set quantity before computing the amount billed. + * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`. */ - transform_quantity?: LicenseFeeDetails.TransformQuantity; + custom_pricing_unit?: Amount.CustomPricingUnit; /** - * The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal places. + * The monetary amount of the credit grant. Required if `type` is `monetary`. */ - unit_amount?: string; + monetary?: V2Amount; /** - * The unit label from the licensed item, used for display purposes (for example, "seat", "environment"). + * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits. */ - unit_label?: string; + type: Amount.Type; } - export interface RateCardDetails { - /** - * Three-letter ISO currency code, in lowercase. - */ - currency: string; - + export interface ApplicabilityConfig { /** - * A customer-facing name for the rate card. + * The applicability scope of the credit grant. */ - display_name: string; - - /** - * The ID of the Rate Card. - */ - rate_card: string; - - /** - * The ID of the Rate Card Version. - */ - rate_card_version: string; - - /** - * The service cycle configuration. - */ - service_cycle: RateCardDetails.ServiceCycle; - - /** - * Whether the rates are inclusive or exclusive of tax. - */ - tax_behavior: RateCardDetails.TaxBehavior; + scope: ApplicabilityConfig.Scope; } - export interface RecurringCreditGrantDetails { - /** - * Credit grant details, present when type is CREDIT_GRANT. - */ - credit_grant_details?: RecurringCreditGrantDetails.CreditGrantDetails; - - /** - * Credit grant per tenant details, present when type is CREDIT_GRANT_PER_TENANT. - */ - credit_grant_per_tenant_details?: RecurringCreditGrantDetails.CreditGrantPerTenantDetails; - - /** - * The ID of the Recurring Credit Grant. - */ - recurring_credit_grant: string; - + export interface ExpiryConfig { /** - * The service cycle configuration. + * The type of the expiry configuration. We currently support `end_of_service_period`. */ - service_cycle: RecurringCreditGrantDetails.ServiceCycle; - - /** - * The type of the recurring credit grant. - */ - type: RecurringCreditGrantDetails.Type; + type: 'end_of_service_period'; } - export type Type = - | 'license_fee_details' - | 'rate_card_details' - | 'recurring_credit_grant_details'; - - export namespace LicenseFeeDetails { - export interface ServiceCycle { + export namespace Amount { + export interface CustomPricingUnit { /** - * The interval for assessing service. + * The Custom Pricing Unit object. */ - interval: ServiceCycle.Interval; + custom_pricing_unit_details?: CustomPricingUnit; /** - * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` - * to specify quarterly service. + * The id of the custom pricing unit. */ - interval_count: number; - } - - export type TieringMode = 'graduated' | 'volume'; + id: string; - export interface Tier { /** - * Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. + * The value of the credit grant, decimal value represented as a string. */ - flat_amount?: string; + value: Decimal; + } - /** - * Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at - * most 12 decimal places. - */ - unit_amount?: string; + export type Type = 'custom_pricing_unit' | 'monetary'; + } + export namespace ApplicabilityConfig { + export interface Scope { /** - * Up to and including this quantity is contained in the tier. Only one of `up_to_decimal` and `up_to_inf` may - * be set. + * The billable items to apply the credit grant to. */ - up_to_decimal?: Decimal; + billable_items?: Array; /** - * No upper bound to this tier. Only one of `up_to_decimal` and `up_to_inf` may be set. + * The price type that credit grants can apply to. Stripe supports the `metered` price type, which applies to metered prices and rate cards. Cannot be used in combination with `billable_items`. */ - up_to_inf?: 'inf'; + price_type?: 'metered'; } + } + } - export interface TransformQuantity { - /** - * Divide usage by this number. - */ - divide_by: bigint; - - /** - * After division, round the result up or down. - */ - round: TransformQuantity.Round; - } + export namespace CreditGrantPerTenantDetails { + export interface Amount { + /** + * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`. + */ + custom_pricing_unit?: Amount.CustomPricingUnit; - export namespace ServiceCycle { - export type Interval = 'day' | 'month' | 'week' | 'year'; - } + /** + * The monetary amount of the credit grant. Required if `type` is `monetary`. + */ + monetary?: V2Amount; - export namespace TransformQuantity { - export type Round = 'down' | 'up'; - } + /** + * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits. + */ + type: Amount.Type; } - export namespace RateCardDetails { - export interface ServiceCycle { - /** - * The interval for assessing service. - */ - interval: ServiceCycle.Interval; - - /** - * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` - * to specify quarterly service. - */ - interval_count: number; - } - - export type TaxBehavior = 'exclusive' | 'inclusive'; + export interface ApplicabilityConfig { + /** + * The applicability scope of the credit grant. + */ + scope: ApplicabilityConfig.Scope; + } - export namespace ServiceCycle { - export type Interval = 'day' | 'month' | 'week' | 'year'; - } + export interface ExpiryConfig { + /** + * The type of the expiry configuration. We currently support `end_of_service_period`. + */ + type: 'end_of_service_period'; } - export namespace RecurringCreditGrantDetails { - export interface CreditGrantDetails { + export namespace Amount { + export interface CustomPricingUnit { /** - * The amount of the credit grant. + * The Custom Pricing Unit object. */ - amount: CreditGrantDetails.Amount; + custom_pricing_unit_details?: CustomPricingUnit; /** - * Defines the scope where the credit grant is applicable. + * The id of the custom pricing unit. */ - applicability_config: CreditGrantDetails.ApplicabilityConfig; + id: string; /** - * The expiry configuration for the credit grant. + * The value of the credit grant, decimal value represented as a string. */ - expiry_config: CreditGrantDetails.ExpiryConfig; + value: Decimal; } - export interface CreditGrantPerTenantDetails { - /** - * The amount of the credit grant. - */ - amount: CreditGrantPerTenantDetails.Amount; - - /** - * Defines the scope where the credit grant is applicable. - */ - applicability_config: CreditGrantPerTenantDetails.ApplicabilityConfig; - - /** - * The expiry configuration for the credit grant. - */ - expiry_config: CreditGrantPerTenantDetails.ExpiryConfig; - } + export type Type = 'custom_pricing_unit' | 'monetary'; + } - export interface ServiceCycle { + export namespace ApplicabilityConfig { + export interface Scope { /** - * The interval for assessing service. + * The billable items to apply the credit grant to. */ - interval: ServiceCycle.Interval; + billable_items?: Array; /** - * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` - * to specify quarterly service. + * The price type that credit grants can apply to. Stripe supports the `metered` price type, which applies to metered prices and rate cards. Cannot be used in combination with `billable_items`. */ - interval_count: number; - } - - export type Type = 'credit_grant' | 'credit_grant_per_tenant'; - - export namespace CreditGrantDetails { - export interface Amount { - /** - * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`. - */ - custom_pricing_unit?: Amount.CustomPricingUnit; - - /** - * The monetary amount of the credit grant. Required if `type` is `monetary`. - */ - monetary?: V2Amount; - - /** - * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits. - */ - type: Amount.Type; - } - - export interface ApplicabilityConfig { - /** - * The applicability scope of the credit grant. - */ - scope: ApplicabilityConfig.Scope; - } - - export interface ExpiryConfig { - /** - * The type of the expiry configuration. We currently support `end_of_service_period`. - */ - type: 'end_of_service_period'; - } - - export namespace Amount { - export interface CustomPricingUnit { - /** - * The Custom Pricing Unit object. - */ - custom_pricing_unit_details?: CustomPricingUnit; - - /** - * The id of the custom pricing unit. - */ - id: string; - - /** - * The value of the credit grant, decimal value represented as a string. - */ - value: Decimal; - } - - export type Type = 'custom_pricing_unit' | 'monetary'; - } - - export namespace ApplicabilityConfig { - export interface Scope { - /** - * The billable items to apply the credit grant to. - */ - billable_items?: Array; - - /** - * The price type that credit grants can apply to. Stripe supports the `metered` price type, which applies to metered prices and rate cards. Cannot be used in combination with `billable_items`. - */ - price_type?: 'metered'; - } - } - } - - export namespace CreditGrantPerTenantDetails { - export interface Amount { - /** - * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`. - */ - custom_pricing_unit?: Amount.CustomPricingUnit; - - /** - * The monetary amount of the credit grant. Required if `type` is `monetary`. - */ - monetary?: V2Amount; - - /** - * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits. - */ - type: Amount.Type; - } - - export interface ApplicabilityConfig { - /** - * The applicability scope of the credit grant. - */ - scope: ApplicabilityConfig.Scope; - } - - export interface ExpiryConfig { - /** - * The type of the expiry configuration. We currently support `end_of_service_period`. - */ - type: 'end_of_service_period'; - } - - export namespace Amount { - export interface CustomPricingUnit { - /** - * The Custom Pricing Unit object. - */ - custom_pricing_unit_details?: CustomPricingUnit; - - /** - * The id of the custom pricing unit. - */ - id: string; - - /** - * The value of the credit grant, decimal value represented as a string. - */ - value: Decimal; - } - - export type Type = 'custom_pricing_unit' | 'monetary'; - } - - export namespace ApplicabilityConfig { - export interface Scope { - /** - * The billable items to apply the credit grant to. - */ - billable_items?: Array; - - /** - * The price type that credit grants can apply to. Stripe supports the `metered` price type, which applies to metered prices and rate cards. Cannot be used in combination with `billable_items`. - */ - price_type?: 'metered'; - } - } - } - - export namespace ServiceCycle { - export type Interval = 'day' | 'month' | 'week' | 'year'; + price_type?: 'metered'; } } } + + export namespace ServiceCycle { + export type Interval = 'day' | 'month' | 'week' | 'year'; + } } } } diff --git a/src/resources/V2/Billing/PricingPlans.ts b/src/resources/V2/Billing/PricingPlans.ts index 524758d63a..3110a3da7d 100644 --- a/src/resources/V2/Billing/PricingPlans.ts +++ b/src/resources/V2/Billing/PricingPlans.ts @@ -136,14 +136,10 @@ export interface PricingPlan { /** * The tax behavior for Stripe Tax — whether the pricing plan price includes or excludes tax. */ - tax_behavior: V2.Billing.PricingPlan.TaxBehavior; + tax_behavior: PricingPlan.TaxBehavior; } -export namespace V2 { - export namespace Billing { - export namespace PricingPlan { - export type TaxBehavior = 'exclusive' | 'inclusive'; - } - } +export namespace PricingPlan { + export type TaxBehavior = 'exclusive' | 'inclusive'; } export namespace V2 { export namespace Billing { diff --git a/src/resources/V2/Billing/Profiles.ts b/src/resources/V2/Billing/Profiles.ts index 9e52d4bcaf..4450360894 100644 --- a/src/resources/V2/Billing/Profiles.ts +++ b/src/resources/V2/Billing/Profiles.ts @@ -112,14 +112,10 @@ export interface Profile { /** * The current status of the billing profile. */ - status: V2.Billing.Profile.Status; + status: Profile.Status; } -export namespace V2 { - export namespace Billing { - export namespace Profile { - export type Status = 'active' | 'inactive'; - } - } +export namespace Profile { + export type Status = 'active' | 'inactive'; } export namespace V2 { export namespace Billing { diff --git a/src/resources/V2/Billing/RateCardRates.ts b/src/resources/V2/Billing/RateCardRates.ts index 540e74588d..af915e8c63 100644 --- a/src/resources/V2/Billing/RateCardRates.ts +++ b/src/resources/V2/Billing/RateCardRates.ts @@ -23,7 +23,7 @@ export interface RateCardRate { /** * The custom pricing unit that this rate binds to. */ - custom_pricing_unit_amount?: V2.Billing.RateCardRate.CustomPricingUnitAmount; + custom_pricing_unit_amount?: RateCardRate.CustomPricingUnitAmount; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -56,17 +56,17 @@ export interface RateCardRate { * quantity within a period determines the per-unit price. In graduated tiering, the pricing changes as the quantity * grows into new tiers. Can only be set if `tiers` is set. */ - tiering_mode?: V2.Billing.RateCardRate.TieringMode; + tiering_mode?: RateCardRate.TieringMode; /** * Each element represents a pricing tier. Cannot be set if `unit_amount` is provided. */ - tiers: Array; + tiers: Array; /** * Apply a transformation to the reported usage or set quantity before computing the amount billed. */ - transform_quantity?: V2.Billing.RateCardRate.TransformQuantity; + transform_quantity?: RateCardRate.TransformQuantity; /** * The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal @@ -74,67 +74,63 @@ export interface RateCardRate { */ unit_amount?: string; } -export namespace V2 { - export namespace Billing { - export namespace RateCardRate { - export interface CustomPricingUnitAmount { - /** - * The Custom Pricing Unit object. - */ - custom_pricing_unit_details?: CustomPricingUnit; - - /** - * The id of the custom pricing unit. - */ - id: string; - - /** - * The unit value for the custom pricing unit, as a string. - */ - value: string; - } - - export type TieringMode = 'graduated' | 'volume'; - - export interface Tier { - /** - * Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. - */ - flat_amount?: string; - - /** - * Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at - * most 12 decimal places. - */ - unit_amount?: string; - - /** - * Up to and including this quantity is contained in the tier. Only one of `up_to_decimal` and `up_to_inf` may - * be set. - */ - up_to_decimal?: Decimal; - - /** - * No upper bound to this tier. Only one of `up_to_decimal` and `up_to_inf` may be set. - */ - up_to_inf?: 'inf'; - } - - export interface TransformQuantity { - /** - * Divide usage by this number. - */ - divide_by: bigint; - - /** - * After division, round the result up or down. - */ - round: TransformQuantity.Round; - } - - export namespace TransformQuantity { - export type Round = 'down' | 'up'; - } - } +export namespace RateCardRate { + export interface CustomPricingUnitAmount { + /** + * The Custom Pricing Unit object. + */ + custom_pricing_unit_details?: CustomPricingUnit; + + /** + * The id of the custom pricing unit. + */ + id: string; + + /** + * The unit value for the custom pricing unit, as a string. + */ + value: string; + } + + export type TieringMode = 'graduated' | 'volume'; + + export interface Tier { + /** + * Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. + */ + flat_amount?: string; + + /** + * Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at + * most 12 decimal places. + */ + unit_amount?: string; + + /** + * Up to and including this quantity is contained in the tier. Only one of `up_to_decimal` and `up_to_inf` may + * be set. + */ + up_to_decimal?: Decimal; + + /** + * No upper bound to this tier. Only one of `up_to_decimal` and `up_to_inf` may be set. + */ + up_to_inf?: 'inf'; + } + + export interface TransformQuantity { + /** + * Divide usage by this number. + */ + divide_by: bigint; + + /** + * After division, round the result up or down. + */ + round: TransformQuantity.Round; + } + + export namespace TransformQuantity { + export type Round = 'down' | 'up'; } } diff --git a/src/resources/V2/Billing/RateCardSubscriptions.ts b/src/resources/V2/Billing/RateCardSubscriptions.ts index 7acccff75b..527996b057 100644 --- a/src/resources/V2/Billing/RateCardSubscriptions.ts +++ b/src/resources/V2/Billing/RateCardSubscriptions.ts @@ -101,12 +101,12 @@ export interface RateCardSubscription { /** * The payment status of a Rate Card Subscription. */ - collection_status?: V2.Billing.RateCardSubscription.CollectionStatus; + collection_status?: RateCardSubscription.CollectionStatus; /** * The collection status transitions of the Rate Card Subscription. */ - collection_status_transitions?: V2.Billing.RateCardSubscription.CollectionStatusTransitions; + collection_status_transitions?: RateCardSubscription.CollectionStatusTransitions; /** * Timestamp of when the object was created. @@ -136,88 +136,80 @@ export interface RateCardSubscription { /** * The servicing status of a Rate Card Subscription. */ - servicing_status?: V2.Billing.RateCardSubscription.ServicingStatus; + servicing_status?: RateCardSubscription.ServicingStatus; /** * The servicing status transitions of the Rate Card Subscription. */ - servicing_status_transitions?: V2.Billing.RateCardSubscription.ServicingStatusTransitions; + servicing_status_transitions?: RateCardSubscription.ServicingStatusTransitions; /** * The ID of the Test Clock, if any. */ test_clock?: string; } -export namespace V2 { - export namespace Billing { - export namespace RateCardSubscription { - export type CollectionStatus = - | 'awaiting_customer_action' - | 'current' - | 'past_due' - | 'paused' - | 'unpaid'; - - export interface CollectionStatusTransitions { - /** - * When the collection status transitioned to awaiting customer action. - */ - awaiting_customer_action_at?: string; - - /** - * When the collection status transitioned to current. - */ - current_at?: string; - - /** - * When the collection status transitioned to past due. - */ - past_due_at?: string; - - /** - * When the collection status transitioned to paused. - */ - paused_at?: string; - - /** - * When the collection status transitioned to unpaid. - */ - unpaid_at?: string; - } - - export type ServicingStatus = - | 'active' - | 'canceled' - | 'paused' - | 'pending'; - - export interface ServicingStatusTransitions { - /** - * When the servicing status transitioned to activated. - */ - activated_at?: string; - - /** - * When the servicing status transitioned to canceled. - */ - canceled_at?: string; - - /** - * When the servicing status transitioned to paused. - */ - paused_at?: string; - - /** - * When the servicing is scheduled to transition to activate. - */ - will_activate_at?: string; +export namespace RateCardSubscription { + export type CollectionStatus = + | 'awaiting_customer_action' + | 'current' + | 'past_due' + | 'paused' + | 'unpaid'; + + export interface CollectionStatusTransitions { + /** + * When the collection status transitioned to awaiting customer action. + */ + awaiting_customer_action_at?: string; + + /** + * When the collection status transitioned to current. + */ + current_at?: string; + + /** + * When the collection status transitioned to past due. + */ + past_due_at?: string; + + /** + * When the collection status transitioned to paused. + */ + paused_at?: string; + + /** + * When the collection status transitioned to unpaid. + */ + unpaid_at?: string; + } - /** - * When the servicing is scheduled to cancel. - */ - will_cancel_at?: string; - } - } + export type ServicingStatus = 'active' | 'canceled' | 'paused' | 'pending'; + + export interface ServicingStatusTransitions { + /** + * When the servicing status transitioned to activated. + */ + activated_at?: string; + + /** + * When the servicing status transitioned to canceled. + */ + canceled_at?: string; + + /** + * When the servicing status transitioned to paused. + */ + paused_at?: string; + + /** + * When the servicing is scheduled to transition to activate. + */ + will_activate_at?: string; + + /** + * When the servicing is scheduled to cancel. + */ + will_cancel_at?: string; } } export namespace V2 { diff --git a/src/resources/V2/Billing/RateCards.ts b/src/resources/V2/Billing/RateCards.ts index fd36a4776c..7056f2a0b5 100644 --- a/src/resources/V2/Billing/RateCards.ts +++ b/src/resources/V2/Billing/RateCards.ts @@ -177,35 +177,31 @@ export interface RateCard { * This is similar to but distinct from billing interval; the service interval deals with the rate at which the * customer accumulates fees, while the billing interval in Cadence deals with the rate the customer is billed. */ - service_cycle: V2.Billing.RateCard.ServiceCycle; + service_cycle: RateCard.ServiceCycle; /** * The tax behavior for Stripe Tax — whether the rate card price includes or excludes tax. */ - tax_behavior: V2.Billing.RateCard.TaxBehavior; + tax_behavior: RateCard.TaxBehavior; } -export namespace V2 { - export namespace Billing { - export namespace RateCard { - export interface ServiceCycle { - /** - * The interval for assessing service. - */ - interval: ServiceCycle.Interval; - - /** - * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` - * to specify quarterly service. - */ - interval_count: number; - } +export namespace RateCard { + export interface ServiceCycle { + /** + * The interval for assessing service. + */ + interval: ServiceCycle.Interval; + + /** + * The length of the interval for assessing service. For example, set this to 3 and `interval` to `"month"` + * to specify quarterly service. + */ + interval_count: number; + } - export type TaxBehavior = 'exclusive' | 'inclusive'; + export type TaxBehavior = 'exclusive' | 'inclusive'; - export namespace ServiceCycle { - export type Interval = 'day' | 'month' | 'week' | 'year'; - } - } + export namespace ServiceCycle { + export type Interval = 'day' | 'month' | 'week' | 'year'; } } export namespace V2 { diff --git a/src/resources/V2/Billing/ServiceActions.ts b/src/resources/V2/Billing/ServiceActions.ts index d0d6e039b9..f30470f225 100644 --- a/src/resources/V2/Billing/ServiceActions.ts +++ b/src/resources/V2/Billing/ServiceActions.ts @@ -209,12 +209,12 @@ export interface ServiceAction { /** * Details for the credit grant. Provided only if `type` is "credit_grant". */ - credit_grant?: V2.Billing.ServiceAction.CreditGrant; + credit_grant?: ServiceAction.CreditGrant; /** * Details for the credit grant per tenant. Provided only if `type` is "credit_grant_per_tenant". */ - credit_grant_per_tenant?: V2.Billing.ServiceAction.CreditGrantPerTenant; + credit_grant_per_tenant?: ServiceAction.CreditGrantPerTenant; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -229,7 +229,7 @@ export interface ServiceAction { /** * The interval for assessing service. */ - service_interval: V2.Billing.ServiceAction.ServiceInterval; + service_interval: ServiceAction.ServiceInterval; /** * The length of the interval for assessing service. @@ -239,217 +239,213 @@ export interface ServiceAction { /** * The type of the service action. */ - type: V2.Billing.ServiceAction.Type; + type: ServiceAction.Type; } -export namespace V2 { - export namespace Billing { - export namespace ServiceAction { - export interface CreditGrant { - /** - * The amount of the credit grant. - */ - amount: CreditGrant.Amount; +export namespace ServiceAction { + export interface CreditGrant { + /** + * The amount of the credit grant. + */ + amount: CreditGrant.Amount; + + /** + * Defines the scope where the credit grant is applicable. + */ + applicability_config: CreditGrant.ApplicabilityConfig; + + /** + * The category of the credit grant. + */ + category?: CreditGrant.Category; + + /** + * The expiry configuration for the credit grant. + */ + expiry_config: CreditGrant.ExpiryConfig; + + /** + * A descriptive name shown in dashboard. + */ + name: string; + + /** + * The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100. + */ + priority?: number; + } - /** - * Defines the scope where the credit grant is applicable. - */ - applicability_config: CreditGrant.ApplicabilityConfig; + export interface CreditGrantPerTenant { + /** + * The amount of the credit grant. + */ + amount: CreditGrantPerTenant.Amount; + + /** + * Defines the scope where the credit grant is applicable. + */ + applicability_config: CreditGrantPerTenant.ApplicabilityConfig; + + /** + * The category of the credit grant. + */ + category?: CreditGrantPerTenant.Category; + + /** + * The expiry configuration for the credit grant. + */ + expiry_config: CreditGrantPerTenant.ExpiryConfig; + + /** + * Customer-facing name for the credit grant. + */ + name: string; + + /** + * The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100. + */ + priority?: number; + } - /** - * The category of the credit grant. - */ - category?: CreditGrant.Category; + export type ServiceInterval = 'day' | 'month' | 'week' | 'year'; - /** - * The expiry configuration for the credit grant. - */ - expiry_config: CreditGrant.ExpiryConfig; + export type Type = 'credit_grant' | 'credit_grant_per_tenant'; - /** - * A descriptive name shown in dashboard. - */ - name: string; + export namespace CreditGrant { + export interface Amount { + /** + * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`. + */ + custom_pricing_unit?: Amount.CustomPricingUnit; - /** - * The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100. - */ - priority?: number; - } + /** + * The monetary amount of the credit grant. Required if `type` is `monetary`. + */ + monetary?: V2Amount; - export interface CreditGrantPerTenant { - /** - * The amount of the credit grant. - */ - amount: CreditGrantPerTenant.Amount; + /** + * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits. + */ + type: Amount.Type; + } + export interface ApplicabilityConfig { + /** + * The applicability scope of the credit grant. + */ + scope: ApplicabilityConfig.Scope; + } + + export type Category = 'paid' | 'promotional'; + + export interface ExpiryConfig { + /** + * The type of the expiry configuration. We currently support `end_of_service_period`. + */ + type: 'end_of_service_period'; + } + + export namespace Amount { + export interface CustomPricingUnit { /** - * Defines the scope where the credit grant is applicable. + * The Custom Pricing Unit object. */ - applicability_config: CreditGrantPerTenant.ApplicabilityConfig; + custom_pricing_unit_details?: CustomPricingUnit; /** - * The category of the credit grant. + * The id of the custom pricing unit. */ - category?: CreditGrantPerTenant.Category; + id: string; /** - * The expiry configuration for the credit grant. + * The value of the credit grant, decimal value represented as a string. */ - expiry_config: CreditGrantPerTenant.ExpiryConfig; + value: Decimal; + } + export type Type = 'custom_pricing_unit' | 'monetary'; + } + + export namespace ApplicabilityConfig { + export interface Scope { /** - * Customer-facing name for the credit grant. + * The billable items to apply the credit grant to. */ - name: string; + billable_items?: Array; /** - * The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100. + * The price type that credit grants can apply to. Stripe supports the `metered` price type, which applies to metered prices and rate cards. Cannot be used in combination with `billable_items`. */ - priority?: number; + price_type?: 'metered'; } + } + } - export type ServiceInterval = 'day' | 'month' | 'week' | 'year'; - - export type Type = 'credit_grant' | 'credit_grant_per_tenant'; - - export namespace CreditGrant { - export interface Amount { - /** - * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`. - */ - custom_pricing_unit?: Amount.CustomPricingUnit; - - /** - * The monetary amount of the credit grant. Required if `type` is `monetary`. - */ - monetary?: V2Amount; - - /** - * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits. - */ - type: Amount.Type; - } - - export interface ApplicabilityConfig { - /** - * The applicability scope of the credit grant. - */ - scope: ApplicabilityConfig.Scope; - } + export namespace CreditGrantPerTenant { + export interface Amount { + /** + * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`. + */ + custom_pricing_unit?: Amount.CustomPricingUnit; - export type Category = 'paid' | 'promotional'; + /** + * The monetary amount of the credit grant. Required if `type` is `monetary`. + */ + monetary?: V2Amount; - export interface ExpiryConfig { - /** - * The type of the expiry configuration. We currently support `end_of_service_period`. - */ - type: 'end_of_service_period'; - } + /** + * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits. + */ + type: Amount.Type; + } - export namespace Amount { - export interface CustomPricingUnit { - /** - * The Custom Pricing Unit object. - */ - custom_pricing_unit_details?: CustomPricingUnit; + export interface ApplicabilityConfig { + /** + * The applicability scope of the credit grant. + */ + scope: ApplicabilityConfig.Scope; + } - /** - * The id of the custom pricing unit. - */ - id: string; + export type Category = 'paid' | 'promotional'; - /** - * The value of the credit grant, decimal value represented as a string. - */ - value: Decimal; - } + export interface ExpiryConfig { + /** + * The type of the expiry configuration. We currently support `end_of_service_period`. + */ + type: 'end_of_service_period'; + } - export type Type = 'custom_pricing_unit' | 'monetary'; - } + export namespace Amount { + export interface CustomPricingUnit { + /** + * The Custom Pricing Unit object. + */ + custom_pricing_unit_details?: CustomPricingUnit; - export namespace ApplicabilityConfig { - export interface Scope { - /** - * The billable items to apply the credit grant to. - */ - billable_items?: Array; + /** + * The id of the custom pricing unit. + */ + id: string; - /** - * The price type that credit grants can apply to. Stripe supports the `metered` price type, which applies to metered prices and rate cards. Cannot be used in combination with `billable_items`. - */ - price_type?: 'metered'; - } - } + /** + * The value of the credit grant, decimal value represented as a string. + */ + value: Decimal; } - export namespace CreditGrantPerTenant { - export interface Amount { - /** - * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`. - */ - custom_pricing_unit?: Amount.CustomPricingUnit; - - /** - * The monetary amount of the credit grant. Required if `type` is `monetary`. - */ - monetary?: V2Amount; - - /** - * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits. - */ - type: Amount.Type; - } - - export interface ApplicabilityConfig { - /** - * The applicability scope of the credit grant. - */ - scope: ApplicabilityConfig.Scope; - } - - export type Category = 'paid' | 'promotional'; - - export interface ExpiryConfig { - /** - * The type of the expiry configuration. We currently support `end_of_service_period`. - */ - type: 'end_of_service_period'; - } - - export namespace Amount { - export interface CustomPricingUnit { - /** - * The Custom Pricing Unit object. - */ - custom_pricing_unit_details?: CustomPricingUnit; - - /** - * The id of the custom pricing unit. - */ - id: string; - - /** - * The value of the credit grant, decimal value represented as a string. - */ - value: Decimal; - } - - export type Type = 'custom_pricing_unit' | 'monetary'; - } + export type Type = 'custom_pricing_unit' | 'monetary'; + } - export namespace ApplicabilityConfig { - export interface Scope { - /** - * The billable items to apply the credit grant to. - */ - billable_items?: Array; + export namespace ApplicabilityConfig { + export interface Scope { + /** + * The billable items to apply the credit grant to. + */ + billable_items?: Array; - /** - * The price type that credit grants can apply to. Stripe supports the `metered` price type, which applies to metered prices and rate cards. Cannot be used in combination with `billable_items`. - */ - price_type?: 'metered'; - } - } + /** + * The price type that credit grants can apply to. Stripe supports the `metered` price type, which applies to metered prices and rate cards. Cannot be used in combination with `billable_items`. + */ + price_type?: 'metered'; } } } diff --git a/src/resources/V2/Commerce/ProductCatalogImports.ts b/src/resources/V2/Commerce/ProductCatalogImports.ts index b2d0202812..6fd0135fb2 100644 --- a/src/resources/V2/Commerce/ProductCatalogImports.ts +++ b/src/resources/V2/Commerce/ProductCatalogImports.ts @@ -43,10 +43,8 @@ export interface ProductCatalogImport { */ status_details?: ProductCatalogImport.StatusDetails; } -export namespace V2 { - export namespace Commerce { - export namespace ProductCatalogImport { - export type FeedType = 'inventory' | 'pricing' | 'product' | 'promotion'; +export namespace ProductCatalogImport { + export type FeedType = 'inventory' | 'pricing' | 'product' | 'promotion'; export type Status = | 'awaiting_upload' diff --git a/src/resources/V2/Core/AccountEvaluations.ts b/src/resources/V2/Core/AccountEvaluations.ts index b4d7876713..aba2592655 100644 --- a/src/resources/V2/Core/AccountEvaluations.ts +++ b/src/resources/V2/Core/AccountEvaluations.ts @@ -38,7 +38,7 @@ export interface AccountEvaluation { /** * Account data if this evaluation is for an account without an existing Stripe entity. */ - account_data?: V2.Core.AccountEvaluation.AccountData; + account_data?: AccountEvaluation.AccountData; /** * Timestamp at which the evaluation was created. @@ -55,63 +55,59 @@ export interface AccountEvaluation { */ livemode: boolean; } -export namespace V2 { - export namespace Core { - export namespace AccountEvaluation { - export interface AccountData { +export namespace AccountEvaluation { + export interface AccountData { + /** + * Default account settings. + */ + defaults?: AccountData.Defaults; + + /** + * Identity data. + */ + identity?: AccountData.Identity; + } + + export namespace AccountData { + export interface Defaults { + /** + * Account profile data. + */ + profile: Defaults.Profile; + } + + export interface Identity { + /** + * Business details for identity data. + */ + business_details: Identity.BusinessDetails; + } + + export namespace Defaults { + export interface Profile { /** - * Default account settings. + * The business URL. */ - defaults?: AccountData.Defaults; + business_url: string; /** - * Identity data. + * Doing business as (DBA) name. */ - identity?: AccountData.Identity; - } - - export namespace AccountData { - export interface Defaults { - /** - * Account profile data. - */ - profile: Defaults.Profile; - } - - export interface Identity { - /** - * Business details for identity data. - */ - business_details: Identity.BusinessDetails; - } + doing_business_as?: string; - export namespace Defaults { - export interface Profile { - /** - * The business URL. - */ - business_url: string; - - /** - * Doing business as (DBA) name. - */ - doing_business_as?: string; - - /** - * Description of the account's product or service. - */ - product_description?: string; - } - } + /** + * Description of the account's product or service. + */ + product_description?: string; + } + } - export namespace Identity { - export interface BusinessDetails { - /** - * Registered business name. - */ - registered_name?: string; - } - } + export namespace Identity { + export interface BusinessDetails { + /** + * Registered business name. + */ + registered_name?: string; } } } diff --git a/src/resources/V2/Core/AccountLinks.ts b/src/resources/V2/Core/AccountLinks.ts index 450b95bba6..5c0c5c5771 100644 --- a/src/resources/V2/Core/AccountLinks.ts +++ b/src/resources/V2/Core/AccountLinks.ts @@ -68,6 +68,16 @@ export namespace AccountLink { */ account_update?: UseCase.AccountUpdate; + /** + * Hash containing configuration options for an Account Link object that onboards a new recipient. + */ + recipient_onboarding?: UseCase.RecipientOnboarding; + + /** + * Hash containing configuration options for an Account Link that updates an existing recipient. + */ + recipient_update?: UseCase.RecipientUpdate; + /** * Open Enum. The type of Account Link the user is requesting. */ @@ -119,7 +129,55 @@ export namespace AccountLink { return_url?: string; } - export type Type = 'account_onboarding' | 'account_update'; + export interface RecipientOnboarding { + /** + * Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow. + */ + collection_options?: RecipientOnboarding.CollectionOptions; + + /** + * Open Enum. A v2/core/account can be configured to enable certain functionality. The configuration param targets the v2/core/account_link to collect information for the specified v2/core/account configuration/s. + */ + configurations: Array<'recipient'>; + + /** + * The URL the user will be redirected to if the AccountLink is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new AccountLink with the same parameters used to create the original AccountLink, then redirect the user to the new AccountLink's URL so they can continue the flow. If a new AccountLink cannot be generated or the redirect fails you should display a useful error to the user. Please make sure to implement authentication before redirecting the user in case this URL is leaked to a third party. + */ + refresh_url: string; + + /** + * The URL that the user will be redirected to upon completing the linked flow. + */ + return_url?: string; + } + + export interface RecipientUpdate { + /** + * Specifies the requirements that Stripe collects from v2/core/accounts in the Update flow. + */ + collection_options?: RecipientUpdate.CollectionOptions; + + /** + * Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s. + */ + configurations: Array<'recipient'>; + + /** + * The URL the user will be redirected to if the Account Link is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new Account Link with the same parameters used to create the original Account Link, then redirect the user to the new Account Link URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can't be generated, or if the redirect fails, you should display a useful error to the user. + */ + refresh_url: string; + + /** + * The URL that the user will be redirected to upon completing the linked flow. + */ + return_url?: string; + } + + export type Type = + | 'account_onboarding' + | 'account_update' + | 'recipient_onboarding' + | 'recipient_update'; export namespace AccountOnboarding { export interface CollectionOptions { @@ -131,25 +189,14 @@ export namespace AccountLink { /** * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. */ - account_update?: UseCase.AccountUpdate; - - /** - * Hash containing configuration options for an Account Link object that onboards a new recipient. - */ - recipient_onboarding?: UseCase.RecipientOnboarding; - - /** - * Hash containing configuration options for an Account Link that updates an existing recipient. - */ - recipient_update?: UseCase.RecipientUpdate; - - /** - * Open Enum. The type of Account Link the user is requesting. - */ - type: UseCase.Type; + future_requirements?: CollectionOptions.FutureRequirements; } - export type Configuration = 'customer' | 'merchant' | 'recipient'; + export type Configuration = + | 'customer' + | 'merchant' + | 'recipient' + | 'storer'; export namespace CollectionOptions { export type Fields = 'currently_due' | 'eventually_due'; @@ -171,158 +218,56 @@ export namespace AccountLink { future_requirements?: CollectionOptions.FutureRequirements; } - export type Configuration = 'customer' | 'merchant' | 'recipient'; + export type Configuration = + | 'customer' + | 'merchant' + | 'recipient' + | 'storer'; export namespace CollectionOptions { export type Fields = 'currently_due' | 'eventually_due'; - /** - * The URL that the user will be redirected to upon completing the linked flow. - */ - return_url?: string; - } - - export interface RecipientOnboarding { - /** - * Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow. - */ - collection_options?: RecipientOnboarding.CollectionOptions; - - /** - * Open Enum. A v2/core/account can be configured to enable certain functionality. The configuration param targets the v2/core/account_link to collect information for the specified v2/core/account configuration/s. - */ - configurations: Array<'recipient'>; - - /** - * The URL the user will be redirected to if the AccountLink is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new AccountLink with the same parameters used to create the original AccountLink, then redirect the user to the new AccountLink's URL so they can continue the flow. If a new AccountLink cannot be generated or the redirect fails you should display a useful error to the user. Please make sure to implement authentication before redirecting the user in case this URL is leaked to a third party. - */ - refresh_url: string; - - /** - * The URL that the user will be redirected to upon completing the linked flow. - */ - return_url?: string; - } - - export interface RecipientUpdate { - /** - * Specifies the requirements that Stripe collects from v2/core/accounts in the Update flow. - */ - collection_options?: RecipientUpdate.CollectionOptions; - - /** - * Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s. - */ - configurations: Array<'recipient'>; - - /** - * The URL the user will be redirected to if the Account Link is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new Account Link with the same parameters used to create the original Account Link, then redirect the user to the new Account Link URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can't be generated, or if the redirect fails, you should display a useful error to the user. - */ - refresh_url: string; - - /** - * The URL that the user will be redirected to upon completing the linked flow. - */ - return_url?: string; - } - - export type Type = - | 'account_onboarding' - | 'account_update' - | 'recipient_onboarding' - | 'recipient_update'; - - export namespace AccountOnboarding { - export interface CollectionOptions { - /** - * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify collection_options, the default value is currently_due. - */ - fields?: CollectionOptions.Fields; - - /** - * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. - */ - future_requirements?: CollectionOptions.FutureRequirements; - } - - export type Configuration = - | 'customer' - | 'merchant' - | 'recipient' - | 'storer'; - - export namespace CollectionOptions { - export type Fields = 'currently_due' | 'eventually_due'; - - export type FutureRequirements = 'include' | 'omit'; - } - } - - export namespace AccountUpdate { - export interface CollectionOptions { - /** - * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). The default value is `currently_due`. - */ - fields?: CollectionOptions.Fields; - - /** - * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. - */ - future_requirements?: CollectionOptions.FutureRequirements; - } - - export type Configuration = - | 'customer' - | 'merchant' - | 'recipient' - | 'storer'; - - export namespace CollectionOptions { - export type Fields = 'currently_due' | 'eventually_due'; - - export type FutureRequirements = 'include' | 'omit'; - } - } + export type FutureRequirements = 'include' | 'omit'; + } + } - export namespace RecipientOnboarding { - export interface CollectionOptions { - /** - * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify collection_options, the default value is currently_due. - */ - fields?: CollectionOptions.Fields; + export namespace RecipientOnboarding { + export interface CollectionOptions { + /** + * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify collection_options, the default value is currently_due. + */ + fields?: CollectionOptions.Fields; - /** - * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. - */ - future_requirements?: CollectionOptions.FutureRequirements; - } + /** + * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. + */ + future_requirements?: CollectionOptions.FutureRequirements; + } - export namespace CollectionOptions { - export type Fields = 'currently_due' | 'eventually_due'; + export namespace CollectionOptions { + export type Fields = 'currently_due' | 'eventually_due'; - export type FutureRequirements = 'include' | 'omit'; - } - } + export type FutureRequirements = 'include' | 'omit'; + } + } - export namespace RecipientUpdate { - export interface CollectionOptions { - /** - * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). The default value is `currently_due`. - */ - fields?: CollectionOptions.Fields; + export namespace RecipientUpdate { + export interface CollectionOptions { + /** + * Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). The default value is `currently_due`. + */ + fields?: CollectionOptions.Fields; - /** - * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. - */ - future_requirements?: CollectionOptions.FutureRequirements; - } + /** + * Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`. + */ + future_requirements?: CollectionOptions.FutureRequirements; + } - export namespace CollectionOptions { - export type Fields = 'currently_due' | 'eventually_due'; + export namespace CollectionOptions { + export type Fields = 'currently_due' | 'eventually_due'; - export type FutureRequirements = 'include' | 'omit'; - } - } + export type FutureRequirements = 'include' | 'omit'; } } } diff --git a/src/resources/V2/Core/AccountPersons.ts b/src/resources/V2/Core/AccountPersons.ts index 163ef45f99..a1211ae657 100644 --- a/src/resources/V2/Core/AccountPersons.ts +++ b/src/resources/V2/Core/AccountPersons.ts @@ -461,498 +461,7 @@ export namespace AccountPerson { /** * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. */ - given_name?: string; - - /** - * The purpose or type of the additional name. - */ - purpose: AdditionalName.Purpose; - - /** - * The individual's last or family name. - */ - surname?: string; - } - - export interface AdditionalTermsOfService { - /** - * Stripe terms of service agreement. - */ - account?: AdditionalTermsOfService.Account; - } - - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface DateOfBirth { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - export interface Documents { - /** - * One or more documents that demonstrate proof that this person is authorized to represent the company. - */ - company_authorization?: Documents.CompanyAuthorization; - - /** - * One or more documents showing the person's passport page with photo and personal data. - */ - passport?: Documents.Passport; - - /** - * An identifying document showing the person's name, either a passport or local ID card. - */ - primary_verification?: Documents.PrimaryVerification; - - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - secondary_verification?: Documents.SecondaryVerification; - - /** - * One or more documents showing the person's visa required for living in the country where they are residing. - */ - visa?: Documents.Visa; - } - - export interface IdNumber { - /** - * The ID number type of an individual. - */ - type: IdNumber.Type; - } - - export type LegalGender = 'female' | 'male'; - - export type PoliticalExposure = 'existing' | 'none'; - - export interface Relationship { - /** - * Whether the individual is an authorizer of the Account's identity. - */ - authorizer?: boolean; - - /** - * Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations. - */ - director?: boolean; - - /** - * Whether the individual has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; - - /** - * Whether the individual is the legal guardian of the Account's representative. - */ - legal_guardian?: boolean; - - /** - * Whether the individual is an owner of the Account's identity. - */ - owner?: boolean; - - /** - * The percentage of the Account's identity that the individual owns. - */ - percent_ownership?: Decimal; - - /** - * Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; - - /** - * The individual's title (e.g., CEO, Support Engineer). - */ - title?: string; - } - - export interface ScriptAddresses { - /** - * Kana Address. - */ - kana?: ScriptAddresses.Kana; - - /** - * Kanji Address. - */ - kanji?: ScriptAddresses.Kanji; - } - - export interface ScriptNames { - /** - * Persons name in kana script. - */ - kana?: ScriptNames.Kana; - - /** - * Persons name in kanji script. - */ - kanji?: ScriptNames.Kanji; - } - - export namespace AdditionalName { - export type Purpose = 'alias' | 'maiden'; - } - - export namespace AdditionalTermsOfService { - export interface Account { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - - export namespace Documents { - export interface CompanyAuthorization { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface Passport { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface PrimaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: PrimaryVerification.FrontBack; - - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } - - export interface SecondaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: SecondaryVerification.FrontBack; - - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } - - export interface Visa { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export namespace PrimaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - - export namespace SecondaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - } - - export namespace IdNumber { - export type Type = - | 'ae_eid' - | 'ao_nif' - | 'ar_cuil' - | 'ar_dni' - | 'at_stn' - | 'az_tin' - | 'bd_brc' - | 'bd_etin' - | 'bd_nid' - | 'be_nrn' - | 'bg_ucn' - | 'bm_pp' - | 'bn_nric' - | 'bo_ci' - | 'br_cpf' - | 'bt_cid' - | 'ca_sin' - | 'ch_oasi' - | 'cl_rut' - | 'cn_pp' - | 'co_nuip' - | 'cr_ci' - | 'cr_cpf' - | 'cr_dimex' - | 'cr_nite' - | 'cy_tic' - | 'cz_rc' - | 'de_stn' - | 'dk_cpr' - | 'do_cie' - | 'do_rcn' - | 'ec_ci' - | 'ee_ik' - | 'eg_tin' - | 'es_nif' - | 'fi_hetu' - | 'fr_nir' - | 'gb_nino' - | 'gh_pin' - | 'gr_afm' - | 'gt_nit' - | 'gy_tin' - | 'hk_id' - | 'hn_rtn' - | 'hr_oib' - | 'hu_ad' - | 'id_nik' - | 'ie_ppsn' - | 'is_kt' - | 'it_cf' - | 'jm_trn' - | 'jo_pin' - | 'jp_inc' - | 'ke_pin' - | 'ky_pp' - | 'kz_iin' - | 'li_peid' - | 'lk_nic' - | 'lt_ak' - | 'lu_nif' - | 'lv_pk' - | 'mo_bir' - | 'mt_nic' - | 'mv_tin' - | 'mx_rfc' - | 'my_nric' - | 'mz_nuit' - | 'ng_nin' - | 'nl_bsn' - | 'no_nin' - | 'nz_ird' - | 'pa_ruc' - | 'pe_dni' - | 'ph_tin' - | 'pk_cnic' - | 'pk_snic' - | 'pl_pesel' - | 'pt_nif' - | 'py_ruc' - | 'ro_cnp' - | 'sa_tin' - | 'se_pin' - | 'sg_fin' - | 'sg_nric' - | 'si_pin' - | 'sk_dic' - | 'sv_nit' - | 'th_lc' - | 'th_pin' - | 'tr_tin' - | 'us_itin' - | 'us_itin_last_4' - | 'us_ssn' - | 'us_ssn_last_4' - | 'uy_dni' - | 'vg_pp' - | 'za_id'; - } - - export namespace ScriptAddresses { - export interface Kana { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface Kanji { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - } - - export namespace ScriptNames { - export interface Kana { - /** - * The person's first or given name. - */ - given_name?: string; - - /** - * The person's last or family name. - */ - surname?: string; - } - - export interface Kanji { - /** - * The person's first or given name. - */ - given_name?: string; - - /** - * The person's last or family name. - */ - surname?: string; - } + front: string; } } } @@ -970,8 +479,11 @@ export namespace AccountPerson { | 'bd_nid' | 'be_nrn' | 'bg_ucn' + | 'bm_pp' | 'bn_nric' + | 'bo_ci' | 'br_cpf' + | 'bt_cid' | 'ca_sin' | 'ch_oasi' | 'cl_rut' @@ -989,26 +501,37 @@ export namespace AccountPerson { | 'do_rcn' | 'ec_ci' | 'ee_ik' + | 'eg_tin' | 'es_nif' | 'fi_hetu' | 'fr_nir' | 'gb_nino' + | 'gh_pin' | 'gr_afm' | 'gt_nit' + | 'gy_tin' | 'hk_id' + | 'hn_rtn' | 'hr_oib' | 'hu_ad' | 'id_nik' | 'ie_ppsn' | 'is_kt' | 'it_cf' + | 'jm_trn' + | 'jo_pin' | 'jp_inc' | 'ke_pin' + | 'ky_pp' | 'kz_iin' | 'li_peid' + | 'lk_nic' | 'lt_ak' | 'lu_nif' | 'lv_pk' + | 'mo_bir' + | 'mt_nic' + | 'mv_tin' | 'mx_rfc' | 'my_nric' | 'mz_nuit' @@ -1016,17 +539,22 @@ export namespace AccountPerson { | 'nl_bsn' | 'no_nin' | 'nz_ird' + | 'pa_ruc' | 'pe_dni' + | 'ph_tin' | 'pk_cnic' | 'pk_snic' | 'pl_pesel' | 'pt_nif' + | 'py_ruc' | 'ro_cnp' | 'sa_tin' | 'se_pin' | 'sg_fin' | 'sg_nric' + | 'si_pin' | 'sk_dic' + | 'sv_nit' | 'th_lc' | 'th_pin' | 'tr_tin' @@ -1035,6 +563,7 @@ export namespace AccountPerson { | 'us_ssn' | 'us_ssn_last_4' | 'uy_dni' + | 'vg_pp' | 'za_id'; } diff --git a/src/resources/V2/Core/Accounts.ts b/src/resources/V2/Core/Accounts.ts index 92516513bf..082007a0b3 100644 --- a/src/resources/V2/Core/Accounts.ts +++ b/src/resources/V2/Core/Accounts.ts @@ -8335,17 +8335,20 @@ export interface Account { */ requirements?: Account.Requirements; } -export namespace V2 { - export namespace Core { - export namespace Account { - export type AppliedConfiguration = - | 'card_creator' - | 'customer' - | 'merchant' - | 'recipient' - | 'storer'; +export namespace Account { + export type AppliedConfiguration = + | 'card_creator' + | 'customer' + | 'merchant' + | 'recipient' + | 'storer'; export interface Configuration { + /** + * The CardCreator Configuration allows the Account to create and issue cards to users. + */ + card_creator?: Configuration.CardCreator; + /** * The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows). */ @@ -8360,6 +8363,11 @@ export namespace V2 { * The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set. */ recipient?: Configuration.Recipient; + + /** + * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts. + */ + storer?: Configuration.Storer; } export type Dashboard = 'express' | 'full' | 'none'; @@ -8384,6 +8392,11 @@ export namespace V2 { * Default responsibilities held by either Stripe or the platform. */ responsibilities: Defaults.Responsibilities; + + /** + * The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones). + */ + timezone?: string; } export interface FutureRequirements { @@ -8443,6 +8456,18 @@ export namespace V2 { } export namespace Configuration { + export interface CardCreator { + /** + * Indicates whether the card_creator configuration is active. You can deactivate or reactivate the card_creator configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. + */ + applied: boolean; + + /** + * Capabilities that have been requested on the CardCreator Configuration. + */ + capabilities?: CardCreator.Capabilities; + } + export interface Customer { /** * Indicates whether the customer configuration is active. You can deactivate or reactivate the customer configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. @@ -8521,6 +8546,11 @@ export namespace V2 { */ sepa_debit_payments?: Merchant.SepaDebitPayments; + /** + * Settings for Smart Disputes automatic response feature. + */ + smart_disputes?: Merchant.SmartDisputes; + /** * Statement descriptor. */ @@ -8542,1584 +8572,1478 @@ export namespace V2 { * Capabilities that have been requested on the Recipient Configuration. */ capabilities?: Recipient.Capabilities; + + /** + * The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard or APIs. + */ + default_outbound_destination?: Recipient.DefaultOutboundDestination; } - export namespace Customer { - export interface AutomaticIndirectTax { - /** - * The CardCreator Configuration allows the Account to create and issue cards to users. - */ - card_creator?: Configuration.CardCreator; + export interface Storer { + /** + * Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property. + */ + applied: boolean; - /** - * The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows). - */ - exempt?: AutomaticIndirectTax.Exempt; + /** + * Capabilities that have been requested on the Storer Configuration. + */ + capabilities?: Storer.Capabilities; - /** - * A recent IP address of the customer used for tax reporting and tax location inference. - */ - ip_address?: string; + /** + * List of high-risk activities the business is involved in. + */ + high_risk_activities?: Array; - /** - * The customer account's identified tax location, derived from `location_source`. Only rendered if the `automatic_indirect_tax` feature is requested and `active`. - */ - recipient?: Configuration.Recipient; + /** + * Description of the high-risk activities the business offers. + */ + high_risk_activities_description?: string; - /** - * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts. - */ - storer?: Configuration.Storer; - } + /** + * Description of the money services offered by the business. + */ + money_services_description?: string; - export interface Billing { - /** - * The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions. - */ - default_payment_method?: string; + /** + * Indicates whether the business operates in any prohibited countries. + */ + operates_in_prohibited_countries?: boolean; - /** - * Default invoice settings for the customer account. - */ - locales?: Array; + /** + * Does the business participate in any regulated activity. + */ + participates_in_regulated_activity?: boolean; - /** - * Account profile information. - */ - profile?: Defaults.Profile; + /** + * Primary purpose of the stored funds. + */ + purpose_of_funds?: Storer.PurposeOfFunds; - /** - * Default responsibilities held by either Stripe or the platform. - */ - responsibilities: Defaults.Responsibilities; + /** + * Description of the purpose of the stored funds. + */ + purpose_of_funds_description?: string; - /** - * The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones). - */ - timezone?: string; - } + /** + * Details of the regulated activity if the business participates in one. + */ + regulated_activity?: Storer.RegulatedActivity; - export interface Capabilities { - /** - * Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. - */ - automatic_indirect_tax?: Capabilities.AutomaticIndirectTax; - } + /** + * The source of funds for the business, e.g. profits, income, venture capital, etc. + */ + source_of_funds?: Storer.SourceOfFunds; - export interface Shipping { - /** - * Customer shipping address. - */ - address?: Shipping.Address; + /** + * Description of the source of funds for the business' account. + */ + source_of_funds_description?: string; + } + export namespace CardCreator { + export interface Capabilities { /** - * Customer name. + * Can create cards for commercial issuing use cases. */ - name?: string; + commercial?: Capabilities.Commercial; /** - * Customer phone (including extension). + * Can create cards for consumer issuing use cases. */ - phone?: string; + consumer?: Capabilities.Consumer; } - export namespace AutomaticIndirectTax { - export type Exempt = 'exempt' | 'none' | 'reverse'; - - export interface Location { - /** - * The identified tax country of the customer. - */ - country?: string; - + export namespace Capabilities { + export interface Commercial { /** - * The identified tax state, county, province, or region of the customer. + * Can create commercial issuing cards with Celtic as BIN sponsor. */ - state?: string; - } - - export type LocationSource = - | 'identity_address' - | 'ip_address' - | 'payment_method' - | 'shipping_address'; - } + celtic?: Commercial.Celtic; - export namespace Configuration { - export interface CardCreator { /** - * Indicates whether the card_creator configuration is active. You can deactivate or reactivate the card_creator configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. + * Can create commercial issuing cards with Cross River Bank as BIN sponsor. */ - applied: boolean; + cross_river_bank?: Commercial.CrossRiverBank; /** - * Capabilities that have been requested on the CardCreator Configuration. + * Can create commercial issuing cards with Fifth Third as a BIN sponsor. */ - capabilities?: CardCreator.Capabilities; - } + fifth_third?: Commercial.FifthThird; - export interface Customer { /** - * The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. + * Can create commercial issuing cards with Lead as a BIN sponsor. */ - custom_fields: Array; + lead?: Commercial.Lead; /** - * Default invoice footer. + * Can create commercial issuing cards with Stripe as a BIN sponsor. */ - footer?: string; + stripe?: Commercial.Stripe; + } + export interface Consumer { /** - * Sequence number to use on the customer account's next invoice. Defaults to 1. + * Can create consumer issuing cards with Celtic as BIN sponsor. */ - next_sequence?: number; + celtic?: Consumer.Celtic; /** - * Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers. + * Can create consumer issuing cards with Cross River Bank as BIN sponsor. */ - prefix?: string; + cross_river_bank?: Consumer.CrossRiverBank; /** - * Default invoice PDF rendering options. + * Can create consumer issuing cards with Lead as BIN sponsor. */ - rendering?: Invoice.Rendering; + lead?: Consumer.Lead; } - export interface Merchant { - /** - * Indicates whether the merchant configuration is active. You can deactivate or reactivate the merchant configuration by updating this property. Deactivating the configuration by setting this value to false doesn't delete the configuration's properties. - */ - applied: boolean; - - /** - * Settings for Bacs Direct Debit payments. - */ - bacs_debit_payments?: Merchant.BacsDebitPayments; + export namespace Commercial { + export interface Celtic { + /** + * Can create commercial issuing charge cards with Celtic as BIN sponsor. + */ + charge_card?: Celtic.ChargeCard; - /** - * Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products. - */ - branding?: Merchant.Branding; + /** + * Can create commercial issuing spend cards with Celtic as BIN sponsor. + */ + spend_card?: Celtic.SpendCard; + } - /** - * Capabilities that have been requested on the Merchant Configuration. - */ - capabilities?: Merchant.Capabilities; + export interface CrossRiverBank { + /** + * Can create commercial issuing charge cards with Cross River Bank as BIN sponsor. + */ + charge_card?: CrossRiverBank.ChargeCard; - /** - * Card payments settings. - */ - card_payments?: Merchant.CardPayments; + /** + * Can create commercial issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + prepaid_card?: CrossRiverBank.PrepaidCard; - /** - * Settings specific to Konbini payments on the account. - */ - konbini_payments?: Merchant.KonbiniPayments; + /** + * Can create commercial issuing spend cards with Cross River Bank as BIN sponsor. + */ + spend_card?: CrossRiverBank.SpendCard; + } - /** - * The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide. - */ - mcc?: string; + export interface FifthThird { + /** + * Can create commercial issuing charge cards with Fifth Third Bank as BIN sponsor. + */ + charge_card?: FifthThird.ChargeCard; + } - /** - * Settings for the default text that appears on statements for language variations. - */ - script_statement_descriptor?: Merchant.ScriptStatementDescriptor; + export interface Lead { + /** + * Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN sponsor. + */ + prepaid_card?: Lead.PrepaidCard; + } - /** - * Settings for SEPA Direct Debit payments. - */ - sepa_debit_payments?: Merchant.SepaDebitPayments; + export interface Stripe { + /** + * Can create commercial issuing charge cards with Stripe as BIN sponsor. + */ + charge_card?: Stripe.ChargeCard; - /** - * Settings for Smart Disputes automatic response feature. - */ - smart_disputes?: Merchant.SmartDisputes; + /** + * Can create commercial issuing prepaid cards with Stripe as BIN sponsor. + */ + prepaid_card?: Stripe.PrepaidCard; + } - /** - * Statement descriptor. - */ - statement_descriptor?: Merchant.StatementDescriptor; + export namespace Celtic { + export interface ChargeCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: ChargeCard.Protections; - /** - * Publicly available contact information for sending support issues to. - */ - support?: Merchant.Support; - } + /** + * The status of the Capability. + */ + status: ChargeCard.Status; - export interface Recipient { - /** - * Indicates whether the recipient configuration is active. You can deactivate or reactivate the recipient configuration by updating this property. Deactivating the configuration by setting this value to false unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. - */ - applied: boolean; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Capabilities that have been requested on the Recipient Configuration. - */ - capabilities?: Recipient.Capabilities; + export interface SpendCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: SpendCard.Protections; - /** - * The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard or APIs. - */ - default_outbound_destination?: Recipient.DefaultOutboundDestination; - } + /** + * The status of the Capability. + */ + status: SpendCard.Status; - export interface Storer { - /** - * Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property. - */ - applied: boolean; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Capabilities that have been requested on the Storer Configuration. - */ - capabilities?: Storer.Capabilities; + export namespace ChargeCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * List of high-risk activities the business is involved in. - */ - high_risk_activities?: Array; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Description of the high-risk activities the business offers. - */ - high_risk_activities_description?: string; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Description of the money services offered by the business. - */ - money_services_description?: string; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Indicates whether the business operates in any prohibited countries. - */ - operates_in_prohibited_countries?: boolean; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - /** - * Does the business participate in any regulated activity. - */ - participates_in_regulated_activity?: boolean; + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - /** - * Primary purpose of the stored funds. - */ - purpose_of_funds?: Storer.PurposeOfFunds; + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } - /** - * Description of the purpose of the stored funds. - */ - purpose_of_funds_description?: string; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Details of the regulated activity if the business participates in one. - */ - regulated_activity?: Storer.RegulatedActivity; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * The source of funds for the business, e.g. profits, income, venture capital, etc. - */ - source_of_funds?: Storer.SourceOfFunds; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * Description of the source of funds for the business' account. - */ - source_of_funds_description?: string; - } + export namespace SpendCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace CardCreator { - export interface Capabilities { - /** - * Can create cards for commercial issuing use cases. - */ - commercial?: Capabilities.Commercial; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Can create cards for consumer issuing use cases. - */ - consumer?: Capabilities.Consumer; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; + + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } } - export namespace Capabilities { - export interface Commercial { + export namespace CrossRiverBank { + export interface ChargeCard { /** - * Can create commercial issuing cards with Celtic as BIN sponsor. + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). */ - celtic?: Commercial.Celtic; + protections: ChargeCard.Protections; /** - * Can create commercial issuing cards with Cross River Bank as BIN sponsor. + * The status of the Capability. */ - cross_river_bank?: Commercial.CrossRiverBank; + status: ChargeCard.Status; /** - * Can create commercial issuing cards with Fifth Third as a BIN sponsor. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - fifth_third?: Commercial.FifthThird; + status_details: Array; + } + export interface PrepaidCard { /** - * Can create commercial issuing cards with Lead as a BIN sponsor. + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). */ - lead?: Commercial.Lead; + protections: PrepaidCard.Protections; /** - * Can create commercial issuing cards with Stripe as a BIN sponsor. + * The status of the Capability. */ - stripe?: Commercial.Stripe; + status: PrepaidCard.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; } - export interface Consumer { + export interface SpendCard { /** - * Can create consumer issuing cards with Celtic as BIN sponsor. + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). */ - celtic?: Consumer.Celtic; + protections: SpendCard.Protections; /** - * Can create consumer issuing cards with Cross River Bank as BIN sponsor. + * The status of the Capability. */ - cross_river_bank?: Consumer.CrossRiverBank; + status: SpendCard.Status; /** - * Can create consumer issuing cards with Lead as BIN sponsor. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - lead?: Consumer.Lead; + status_details: Array; } - export namespace Commercial { - export interface Celtic { - /** - * Can create commercial issuing charge cards with Celtic as BIN sponsor. - */ - charge_card?: Celtic.ChargeCard; - + export namespace ChargeCard { + export interface Protections { /** - * Can create commercial issuing spend cards with Celtic as BIN sponsor. + * Protection details for PSP migration. */ - spend_card?: Celtic.SpendCard; + psp_migration: Protections.PspMigration; } - export interface CrossRiverBank { - /** - * Can create commercial issuing charge cards with Cross River Bank as BIN sponsor. - */ - charge_card?: CrossRiverBank.ChargeCard; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + export interface StatusDetail { /** - * Can create commercial issuing prepaid cards with Cross River Bank as BIN sponsor. + * Machine-readable code explaining the reason for the Capability to be in its current status. */ - prepaid_card?: CrossRiverBank.PrepaidCard; + code: StatusDetail.Code; /** - * Can create commercial issuing spend cards with Cross River Bank as BIN sponsor. + * Machine-readable code explaining how to make the Capability active. */ - spend_card?: CrossRiverBank.SpendCard; + resolution: StatusDetail.Resolution; } - export interface FifthThird { - /** - * Can create commercial issuing charge cards with Fifth Third Bank as BIN sponsor. - */ - charge_card?: FifthThird.ChargeCard; - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export interface Lead { - /** - * Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN sponsor. - */ - prepaid_card?: Lead.PrepaidCard; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export interface Stripe { - /** - * Can create commercial issuing charge cards with Stripe as BIN sponsor. - */ - charge_card?: Stripe.ChargeCard; + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + export namespace PrepaidCard { + export interface Protections { /** - * Can create commercial issuing prepaid cards with Stripe as BIN sponsor. + * Protection details for PSP migration. */ - prepaid_card?: Stripe.PrepaidCard; + psp_migration: Protections.PspMigration; } - export namespace Celtic { - export interface ChargeCard { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: ChargeCard.Protections; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The status of the Capability. - */ - status: ChargeCard.Status; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface SpendCard { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: SpendCard.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: SpendCard.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace ChargeCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace SpendCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace SpendCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace FifthThird { + export interface ChargeCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: ChargeCard.Protections; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * The status of the Capability. + */ + status: ChargeCard.Status; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace ChargeCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; } - export namespace CrossRiverBank { - export interface ChargeCard { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: ChargeCard.Protections; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The status of the Capability. - */ - status: ChargeCard.Status; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface PrepaidCard { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: PrepaidCard.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: PrepaidCard.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface SpendCard { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: SpendCard.Protections; - - /** - * The status of the Capability. - */ - status: SpendCard.Status; - - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } - - export namespace ChargeCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace Lead { + export interface PrepaidCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PrepaidCard.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: PrepaidCard.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace PrepaidCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace PrepaidCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Stripe { + export interface ChargeCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: ChargeCard.Protections; - export namespace SpendCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The status of the Capability. + */ + status: ChargeCard.Status; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export interface PrepaidCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PrepaidCard.Protections; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The status of the Capability. + */ + status: PrepaidCard.Status; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace ChargeCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; } - export namespace FifthThird { - export interface ChargeCard { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: ChargeCard.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: ChargeCard.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace ChargeCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; - - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; - - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } - - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; } + } - export namespace Lead { - export interface PrepaidCard { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: PrepaidCard.Protections; - - /** - * The status of the Capability. - */ - status: PrepaidCard.Status; - - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } - - export namespace PrepaidCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; - - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; - - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } - - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace PrepaidCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; } - export namespace Stripe { - export interface ChargeCard { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: ChargeCard.Protections; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The status of the Capability. - */ - status: ChargeCard.Status; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface PrepaidCard { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: PrepaidCard.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: PrepaidCard.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace ChargeCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; - - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; - - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } - - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + | 'disrupted' + | 'expired' + | 'inactive'; } + } - export namespace PrepaidCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace Consumer { + export interface Celtic { + /** + * Can create consumer issuing charge cards with Celtic as BIN sponsor. + */ + revolving_credit_card?: Celtic.RevolvingCreditCard; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface CrossRiverBank { + /** + * Can create consumer issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + prepaid_card?: CrossRiverBank.PrepaidCard; + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export interface Lead { + /** + * Can create consumer issuing debit cards with Lead as BIN sponsor. + */ + debit_card?: Lead.DebitCard; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * Can create consumer issuing prepaid cards with Lead as BIN sponsor. + */ + prepaid_card?: Lead.PrepaidCard; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export namespace Celtic { + export interface RevolvingCreditCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: RevolvingCreditCard.Protections; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * The status of the Capability. + */ + status: RevolvingCreditCard.Status; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; } - export namespace Consumer { - export interface Celtic { + export namespace RevolvingCreditCard { + export interface Protections { /** - * Can create consumer issuing charge cards with Celtic as BIN sponsor. + * Protection details for PSP migration. */ - revolving_credit_card?: Celtic.RevolvingCreditCard; + psp_migration: Protections.PspMigration; } - export interface CrossRiverBank { - /** - * Can create consumer issuing prepaid cards with Cross River Bank as BIN sponsor. - */ - prepaid_card?: CrossRiverBank.PrepaidCard; - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export interface Lead { + export interface StatusDetail { /** - * Can create consumer issuing debit cards with Lead as BIN sponsor. + * Machine-readable code explaining the reason for the Capability to be in its current status. */ - debit_card?: Lead.DebitCard; + code: StatusDetail.Code; /** - * Can create consumer issuing prepaid cards with Lead as BIN sponsor. + * Machine-readable code explaining how to make the Capability active. */ - prepaid_card?: Lead.PrepaidCard; + resolution: StatusDetail.Resolution; } - export namespace Celtic { - export interface RevolvingCreditCard { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: RevolvingCreditCard.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: RevolvingCreditCard.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace RevolvingCreditCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace CrossRiverBank { + export interface PrepaidCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PrepaidCard.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: PrepaidCard.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace PrepaidCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; } - export namespace CrossRiverBank { - export interface PrepaidCard { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: PrepaidCard.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: PrepaidCard.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace PrepaidCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace Lead { + export interface DebitCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: DebitCard.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: DebitCard.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface PrepaidCard { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PrepaidCard.Protections; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The status of the Capability. + */ + status: PrepaidCard.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + + export namespace DebitCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; } - export namespace Lead { - export interface DebitCard { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: DebitCard.Protections; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The status of the Capability. - */ - status: DebitCard.Status; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface PrepaidCard { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: PrepaidCard.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: PrepaidCard.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace DebitCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace PrepaidCard { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace PrepaidCard { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace Customer { + export interface AutomaticIndirectTax { + /** + * The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge". + */ + exempt?: AutomaticIndirectTax.Exempt; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * A recent IP address of the customer used for tax reporting and tax location inference. + */ + ip_address?: string; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * The customer account's identified tax location, derived from `location_source`. Only rendered if the `automatic_indirect_tax` feature is requested and `active`. + */ + location?: AutomaticIndirectTax.Location; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation. + */ + location_source?: AutomaticIndirectTax.LocationSource; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } - } - } + export interface Billing { + /** + * The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions. + */ + default_payment_method?: string; + + /** + * Default invoice settings for the customer account. + */ + invoice?: Billing.Invoice; + } + + export interface Capabilities { + /** + * Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. + */ + automatic_indirect_tax?: Capabilities.AutomaticIndirectTax; + } + + export interface Shipping { + /** + * Customer shipping address. + */ + address?: Shipping.Address; + + /** + * Customer name. + */ + name?: string; + + /** + * Customer phone (including extension). + */ + phone?: string; + } + + export namespace AutomaticIndirectTax { + export type Exempt = 'exempt' | 'none' | 'reverse'; + + export interface Location { + /** + * The identified tax country of the customer. + */ + country?: string; + + /** + * The identified tax state, county, province, or region of the customer. + */ + state?: string; } - export namespace Customer { - export interface AutomaticIndirectTax { + export type LocationSource = + | 'identity_address' + | 'ip_address' + | 'payment_method' + | 'shipping_address'; + } + + export namespace Billing { + export interface Invoice { + /** + * The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. + */ + custom_fields: Array; + + /** + * Default invoice footer. + */ + footer?: string; + + /** + * Sequence number to use on the customer account's next invoice. Defaults to 1. + */ + next_sequence?: number; + + /** + * Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers. + */ + prefix?: string; + + /** + * Default invoice PDF rendering options. + */ + rendering?: Invoice.Rendering; + } + + export namespace Invoice { + export interface CustomField { /** * The name of the custom field. This may be up to 40 characters. */ @@ -10143,13788 +10067,9120 @@ export namespace V2 { template?: string; } - export interface Capabilities { - /** - * Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. - */ - automatic_indirect_tax?: Capabilities.AutomaticIndirectTax; + export namespace Rendering { + export type AmountTaxDisplay = + | 'exclude_tax' + | 'include_inclusive_tax'; } + } + } - export interface Shipping { + export namespace Capabilities { + export interface AutomaticIndirectTax { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: AutomaticIndirectTax.Protections; + + /** + * The status of the Capability. + */ + status: AutomaticIndirectTax.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + + export namespace AutomaticIndirectTax { + export interface Protections { /** - * Customer shipping address. + * Protection details for PSP migration. */ - address?: Shipping.Address; + psp_migration: Protections.PspMigration; + } + + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + export interface StatusDetail { /** - * Customer name. + * Machine-readable code explaining the reason for the Capability to be in its current status. */ - name?: string; + code: StatusDetail.Code; /** - * Customer phone (including extension). + * Machine-readable code explaining how to make the Capability active. */ - phone?: string; + resolution: StatusDetail.Resolution; } - export namespace AutomaticIndirectTax { - export type Exempt = 'exempt' | 'none' | 'reverse'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export interface Location { /** - * The identified tax country of the customer. + * The time at which the protection was requested, as a Unix timestamp. */ - country?: string; + requested_at: bigint; /** - * The identified tax state, county, province, or region of the customer. + * The current status of the protection. */ - state?: string; + status: PspMigration.Status; } - export type LocationSource = - | 'identity_address' - | 'ip_address' - | 'payment_method' - | 'shipping_address'; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } } - export namespace Billing { - export interface Invoice { - /** - * The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. - */ - custom_fields: Array; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Default invoice footer. - */ - footer?: string; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - /** - * Sequence number to use on the customer account's next invoice. Defaults to 1. - */ - next_sequence?: number; + export namespace Shipping { + export interface Address { + /** + * City, district, suburb, town, or village. + */ + city?: string; - /** - * Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers. - */ - prefix?: string; + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - /** - * Default invoice PDF rendering options. - */ - rendering?: Invoice.Rendering; - } - - export namespace Invoice { - export interface CustomField { - /** - * The name of the custom field. This may be up to 40 characters. - */ - name: string; + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - /** - * The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values. - */ - value: string; - } + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - export interface Rendering { - /** - * Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`. - */ - amount_tax_display?: Rendering.AmountTaxDisplay; + /** + * ZIP or postal code. + */ + postal_code?: string; - /** - * ID of the invoice rendering template to use for future invoices. - */ - template?: string; - } + /** + * State, county, province, or region. + */ + state?: string; + } + } + } - export namespace Rendering { - export type AmountTaxDisplay = - | 'exclude_tax' - | 'include_inclusive_tax'; - } - } - } + export namespace Merchant { + export interface BacsDebitPayments { + /** + * Display name for Bacs Direct Debit payments. + */ + display_name?: string; - export namespace Capabilities { - export interface AutomaticIndirectTax { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: AutomaticIndirectTax.Protections; + /** + * Service User Number (SUN) for Bacs Direct Debit payments. + */ + service_user_number?: string; + } - /** - * The status of the Capability. - */ - status: AutomaticIndirectTax.Status; + export interface Branding { + /** + * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. + */ + icon?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. + */ + logo?: string; - export namespace AutomaticIndirectTax { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * A CSS hex color value representing the primary branding color for the merchant. + */ + primary_color?: string; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * A CSS hex color value representing the secondary branding color for the merchant. + */ + secondary_color?: string; + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export interface Capabilities { + /** + * Allow the merchant to process ACH debit payments. + */ + ach_debit_payments?: Capabilities.AchDebitPayments; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Allow the merchant to process ACSS debit payments. + */ + acss_debit_payments?: Capabilities.AcssDebitPayments; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + /** + * Allow the merchant to process Affirm payments. + */ + affirm_payments?: Capabilities.AffirmPayments; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * Allow the merchant to process Afterpay/Clearpay payments. + */ + afterpay_clearpay_payments?: Capabilities.AfterpayClearpayPayments; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Allow the merchant to process Alma payments. + */ + alma_payments?: Capabilities.AlmaPayments; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Allow the merchant to process Amazon Pay payments. + */ + amazon_pay_payments?: Capabilities.AmazonPayPayments; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Allow the merchant to process Australian BECS Direct Debit payments. + */ + au_becs_debit_payments?: Capabilities.AuBecsDebitPayments; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } + /** + * Allow the merchant to process BACS Direct Debit payments. + */ + bacs_debit_payments?: Capabilities.BacsDebitPayments; - export namespace Shipping { - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; + /** + * Allow the merchant to process Bancontact payments. + */ + bancontact_payments?: Capabilities.BancontactPayments; - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; + /** + * Allow the merchant to process BLIK payments. + */ + blik_payments?: Capabilities.BlikPayments; - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; + /** + * Allow the merchant to process Boleto payments. + */ + boleto_payments?: Capabilities.BoletoPayments; - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; + /** + * Allow the merchant to collect card payments. + */ + card_payments?: Capabilities.CardPayments; - /** - * ZIP or postal code. - */ - postal_code?: string; + /** + * Allow the merchant to process Cartes Bancaires payments. + */ + cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; - /** - * State, county, province, or region. - */ - state?: string; - } - } - } + /** + * Allow the merchant to process Cash App payments. + */ + cashapp_payments?: Capabilities.CashappPayments; - export namespace Merchant { - export interface BacsDebitPayments { - /** - * Display name for Bacs Direct Debit payments. - */ - display_name?: string; + /** + * Allow the merchant to process EPS payments. + */ + eps_payments?: Capabilities.EpsPayments; - /** - * Service User Number (SUN) for Bacs Direct Debit payments. - */ - service_user_number?: string; - } + /** + * Allow the merchant to process FPX payments. + */ + fpx_payments?: Capabilities.FpxPayments; - export interface Branding { - /** - * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. - */ - icon?: string; + /** + * Allow the merchant to process UK bank transfer payments. + */ + gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments; - /** - * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. - */ - logo?: string; + /** + * Allow the merchant to process GrabPay payments. + */ + grabpay_payments?: Capabilities.GrabpayPayments; - /** - * A CSS hex color value representing the primary branding color for the merchant. - */ - primary_color?: string; + /** + * Allow the merchant to process iDEAL payments. + */ + ideal_payments?: Capabilities.IdealPayments; - /** - * A CSS hex color value representing the secondary branding color for the merchant. - */ - secondary_color?: string; - } + /** + * Allow the merchant to process JCB card payments. + */ + jcb_payments?: Capabilities.JcbPayments; - export interface Capabilities { - /** - * Allow the merchant to process ACH debit payments. - */ - ach_debit_payments?: Capabilities.AchDebitPayments; + /** + * Allow the merchant to process Japanese bank transfer payments. + */ + jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments; - /** - * Allow the merchant to process ACSS debit payments. - */ - acss_debit_payments?: Capabilities.AcssDebitPayments; + /** + * Allow the merchant to process Kakao Pay payments. + */ + kakao_pay_payments?: Capabilities.KakaoPayPayments; - /** - * Allow the merchant to process Affirm payments. - */ - affirm_payments?: Capabilities.AffirmPayments; + /** + * Allow the merchant to process Klarna payments. + */ + klarna_payments?: Capabilities.KlarnaPayments; - /** - * Allow the merchant to process Afterpay/Clearpay payments. - */ - afterpay_clearpay_payments?: Capabilities.AfterpayClearpayPayments; + /** + * Allow the merchant to process Konbini convenience store payments. + */ + konbini_payments?: Capabilities.KonbiniPayments; - /** - * Allow the merchant to process Alma payments. - */ - alma_payments?: Capabilities.AlmaPayments; + /** + * Allow the merchant to process Korean card payments. + */ + kr_card_payments?: Capabilities.KrCardPayments; - /** - * Allow the merchant to process Amazon Pay payments. - */ - amazon_pay_payments?: Capabilities.AmazonPayPayments; + /** + * Allow the merchant to process Link payments. + */ + link_payments?: Capabilities.LinkPayments; - /** - * Allow the merchant to process Australian BECS Direct Debit payments. - */ - au_becs_debit_payments?: Capabilities.AuBecsDebitPayments; + /** + * Allow the merchant to process MobilePay payments. + */ + mobilepay_payments?: Capabilities.MobilepayPayments; - /** - * Allow the merchant to process BACS Direct Debit payments. - */ - bacs_debit_payments?: Capabilities.BacsDebitPayments; + /** + * Allow the merchant to process Multibanco payments. + */ + multibanco_payments?: Capabilities.MultibancoPayments; - /** - * Allow the merchant to process Bancontact payments. - */ - bancontact_payments?: Capabilities.BancontactPayments; + /** + * Allow the merchant to process Mexican bank transfer payments. + */ + mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments; - /** - * Allow the merchant to process BLIK payments. - */ - blik_payments?: Capabilities.BlikPayments; + /** + * Allow the merchant to process Naver Pay payments. + */ + naver_pay_payments?: Capabilities.NaverPayPayments; - /** - * Allow the merchant to process Boleto payments. - */ - boleto_payments?: Capabilities.BoletoPayments; + /** + * Allow the merchant to process OXXO payments. + */ + oxxo_payments?: Capabilities.OxxoPayments; - /** - * Allow the merchant to collect card payments. - */ - card_payments?: Capabilities.CardPayments; + /** + * Allow the merchant to process Przelewy24 (P24) payments. + */ + p24_payments?: Capabilities.P24Payments; - /** - * Allow the merchant to process Cartes Bancaires payments. - */ - cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; + /** + * Allow the merchant to process Pay by Bank payments. + */ + pay_by_bank_payments?: Capabilities.PayByBankPayments; - /** - * Allow the merchant to process Cash App payments. - */ - cashapp_payments?: Capabilities.CashappPayments; + /** + * Allow the merchant to process PAYCO payments. + */ + payco_payments?: Capabilities.PaycoPayments; - /** - * Allow the merchant to process EPS payments. - */ - eps_payments?: Capabilities.EpsPayments; + /** + * Allow the merchant to process PayNow payments. + */ + paynow_payments?: Capabilities.PaynowPayments; - /** - * Allow the merchant to process FPX payments. - */ - fpx_payments?: Capabilities.FpxPayments; + /** + * Allow the merchant to process PromptPay payments. + */ + promptpay_payments?: Capabilities.PromptpayPayments; - /** - * Allow the merchant to process UK bank transfer payments. - */ - gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments; + /** + * Allow the merchant to process Revolut Pay payments. + */ + revolut_pay_payments?: Capabilities.RevolutPayPayments; - /** - * Allow the merchant to process GrabPay payments. - */ - grabpay_payments?: Capabilities.GrabpayPayments; + /** + * Allow the merchant to process Samsung Pay payments. + */ + samsung_pay_payments?: Capabilities.SamsungPayPayments; - /** - * Allow the merchant to process iDEAL payments. - */ - ideal_payments?: Capabilities.IdealPayments; + /** + * Allow the merchant to process SEPA bank transfer payments. + */ + sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments; - /** - * Allow the merchant to process JCB card payments. - */ - jcb_payments?: Capabilities.JcbPayments; + /** + * Allow the merchant to process SEPA Direct Debit payments. + */ + sepa_debit_payments?: Capabilities.SepaDebitPayments; - /** - * Allow the merchant to process Japanese bank transfer payments. - */ - jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments; + /** + * Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance). + */ + stripe_balance?: Capabilities.StripeBalance; - /** - * Allow the merchant to process Kakao Pay payments. - */ - kakao_pay_payments?: Capabilities.KakaoPayPayments; + /** + * Allow the merchant to process Swish payments. + */ + swish_payments?: Capabilities.SwishPayments; - /** - * Allow the merchant to process Klarna payments. - */ - klarna_payments?: Capabilities.KlarnaPayments; + /** + * Allow the merchant to process TWINT payments. + */ + twint_payments?: Capabilities.TwintPayments; - /** - * Allow the merchant to process Konbini convenience store payments. - */ - konbini_payments?: Capabilities.KonbiniPayments; + /** + * Allow the merchant to process US bank transfer payments. + */ + us_bank_transfer_payments?: Capabilities.UsBankTransferPayments; - /** - * Allow the merchant to process Korean card payments. - */ - kr_card_payments?: Capabilities.KrCardPayments; + /** + * Allow the merchant to process Zip payments. + */ + zip_payments?: Capabilities.ZipPayments; + } - /** - * Allow the merchant to process Link payments. - */ - link_payments?: Capabilities.LinkPayments; + export interface CardPayments { + /** + * Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. + */ + decline_on?: CardPayments.DeclineOn; + } - /** - * Allow the merchant to process MobilePay payments. - */ - mobilepay_payments?: Capabilities.MobilepayPayments; + export interface KonbiniPayments { + /** + * Support for Konbini payments. + */ + support?: KonbiniPayments.Support; + } - /** - * Allow the merchant to process Multibanco payments. - */ - multibanco_payments?: Capabilities.MultibancoPayments; - - /** - * Allow the merchant to process Mexican bank transfer payments. - */ - mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments; + export interface ScriptStatementDescriptor { + /** + * The Kana variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). + */ + kana?: ScriptStatementDescriptor.Kana; - /** - * Allow the merchant to process Naver Pay payments. - */ - naver_pay_payments?: Capabilities.NaverPayPayments; + /** + * The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). + */ + kanji?: ScriptStatementDescriptor.Kanji; + } - /** - * Allow the merchant to process OXXO payments. - */ - oxxo_payments?: Capabilities.OxxoPayments; + export interface SepaDebitPayments { + /** + * Creditor ID for SEPA Direct Debit payments. + */ + creditor_id?: string; + } - /** - * Allow the merchant to process Przelewy24 (P24) payments. - */ - p24_payments?: Capabilities.P24Payments; + export interface SmartDisputes { + /** + * Settings for Smart Disputes auto_respond. + */ + auto_respond?: SmartDisputes.AutoRespond; + } - /** - * Allow the merchant to process Pay by Bank payments. - */ - pay_by_bank_payments?: Capabilities.PayByBankPayments; + export interface StatementDescriptor { + /** + * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + descriptor?: string; - /** - * Allow the merchant to process PAYCO payments. - */ - payco_payments?: Capabilities.PaycoPayments; + /** + * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + prefix?: string; + } - /** - * Allow the merchant to process PayNow payments. - */ - paynow_payments?: Capabilities.PaynowPayments; + export interface Support { + /** + * A publicly available mailing address for sending support issues to. + */ + address?: Support.Address; - /** - * Allow the merchant to process PromptPay payments. - */ - promptpay_payments?: Capabilities.PromptpayPayments; + /** + * A publicly available email address for sending support issues to. + */ + email?: string; - /** - * Allow the merchant to process Revolut Pay payments. - */ - revolut_pay_payments?: Capabilities.RevolutPayPayments; + /** + * A publicly available phone number to call with support issues. + */ + phone?: string; - /** - * Allow the merchant to process Samsung Pay payments. - */ - samsung_pay_payments?: Capabilities.SamsungPayPayments; + /** + * A publicly available website for handling support issues. + */ + url?: string; + } - /** - * Allow the merchant to process SEPA bank transfer payments. - */ - sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments; + export namespace Capabilities { + export interface AchDebitPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: AchDebitPayments.Protections; - /** - * Allow the merchant to process SEPA Direct Debit payments. - */ - sepa_debit_payments?: Capabilities.SepaDebitPayments; + /** + * The status of the Capability. + */ + status: AchDebitPayments.Status; - /** - * Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance). - */ - stripe_balance?: Capabilities.StripeBalance; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Swish payments. - */ - swish_payments?: Capabilities.SwishPayments; + export interface AcssDebitPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: AcssDebitPayments.Protections; - /** - * Allow the merchant to process TWINT payments. - */ - twint_payments?: Capabilities.TwintPayments; + /** + * The status of the Capability. + */ + status: AcssDebitPayments.Status; - /** - * Allow the merchant to process US bank transfer payments. - */ - us_bank_transfer_payments?: Capabilities.UsBankTransferPayments; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Allow the merchant to process Zip payments. - */ - zip_payments?: Capabilities.ZipPayments; - } + export interface AffirmPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: AffirmPayments.Protections; - export interface CardPayments { - /** - * Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. - */ - decline_on?: CardPayments.DeclineOn; - } + /** + * The status of the Capability. + */ + status: AffirmPayments.Status; - export interface KonbiniPayments { - /** - * Support for Konbini payments. - */ - support?: KonbiniPayments.Support; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface ScriptStatementDescriptor { - /** - * The Kana variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). - */ - kana?: ScriptStatementDescriptor.Kana; + export interface AfterpayClearpayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: AfterpayClearpayPayments.Protections; - /** - * The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). - */ - kanji?: ScriptStatementDescriptor.Kanji; - } + /** + * The status of the Capability. + */ + status: AfterpayClearpayPayments.Status; - export interface SepaDebitPayments { - /** - * Creditor ID for SEPA Direct Debit payments. - */ - creditor_id?: string; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface SmartDisputes { - /** - * Settings for Smart Disputes auto_respond. - */ - auto_respond?: SmartDisputes.AutoRespond; - } + export interface AlmaPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: AlmaPayments.Protections; - export interface StatementDescriptor { - /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - descriptor?: string; + /** + * The status of the Capability. + */ + status: AlmaPayments.Status; - /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - prefix?: string; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface Support { - /** - * A publicly available mailing address for sending support issues to. - */ - address?: Support.Address; + export interface AmazonPayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: AmazonPayPayments.Protections; - /** - * A publicly available email address for sending support issues to. - */ - email?: string; + /** + * The status of the Capability. + */ + status: AmazonPayPayments.Status; - /** - * A publicly available phone number to call with support issues. - */ - phone?: string; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * A publicly available website for handling support issues. - */ - url?: string; - } + export interface AuBecsDebitPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: AuBecsDebitPayments.Protections; - export namespace Capabilities { - export interface AchDebitPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: AchDebitPayments.Protections; + /** + * The status of the Capability. + */ + status: AuBecsDebitPayments.Status; - /** - * The status of the Capability. - */ - status: AchDebitPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface BacsDebitPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: BacsDebitPayments.Protections; - export interface AcssDebitPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: AcssDebitPayments.Protections; + /** + * The status of the Capability. + */ + status: BacsDebitPayments.Status; - /** - * The status of the Capability. - */ - status: AcssDebitPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface BancontactPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: BancontactPayments.Protections; - export interface AffirmPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: AffirmPayments.Protections; + /** + * The status of the Capability. + */ + status: BancontactPayments.Status; - /** - * The status of the Capability. - */ - status: AffirmPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface BlikPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: BlikPayments.Protections; - export interface AfterpayClearpayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: AfterpayClearpayPayments.Protections; + /** + * The status of the Capability. + */ + status: BlikPayments.Status; - /** - * The status of the Capability. - */ - status: AfterpayClearpayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface BoletoPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: BoletoPayments.Protections; - export interface AlmaPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: AlmaPayments.Protections; + /** + * The status of the Capability. + */ + status: BoletoPayments.Status; - /** - * The status of the Capability. - */ - status: AlmaPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface CardPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: CardPayments.Protections; - export interface AmazonPayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: AmazonPayPayments.Protections; + /** + * The status of the Capability. + */ + status: CardPayments.Status; - /** - * The status of the Capability. - */ - status: AmazonPayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface CartesBancairesPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: CartesBancairesPayments.Protections; - export interface AuBecsDebitPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: AuBecsDebitPayments.Protections; + /** + * The status of the Capability. + */ + status: CartesBancairesPayments.Status; - /** - * The status of the Capability. - */ - status: AuBecsDebitPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface CashappPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: CashappPayments.Protections; - export interface BacsDebitPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: BacsDebitPayments.Protections; + /** + * The status of the Capability. + */ + status: CashappPayments.Status; - /** - * The status of the Capability. - */ - status: BacsDebitPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface EpsPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: EpsPayments.Protections; - export interface BancontactPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: BancontactPayments.Protections; + /** + * The status of the Capability. + */ + status: EpsPayments.Status; - /** - * The status of the Capability. - */ - status: BancontactPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface FpxPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: FpxPayments.Protections; - export interface BlikPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: BlikPayments.Protections; + /** + * The status of the Capability. + */ + status: FpxPayments.Status; - /** - * The status of the Capability. - */ - status: BlikPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface GbBankTransferPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: GbBankTransferPayments.Protections; - export interface BoletoPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: BoletoPayments.Protections; + /** + * The status of the Capability. + */ + status: GbBankTransferPayments.Status; - /** - * The status of the Capability. - */ - status: BoletoPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface GrabpayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: GrabpayPayments.Protections; - export interface CardPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: CardPayments.Protections; - - /** - * The status of the Capability. - */ - status: CardPayments.Status; + /** + * The status of the Capability. + */ + status: GrabpayPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface CartesBancairesPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: CartesBancairesPayments.Protections; + export interface IdealPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: IdealPayments.Protections; - /** - * The status of the Capability. - */ - status: CartesBancairesPayments.Status; + /** + * The status of the Capability. + */ + status: IdealPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface CashappPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: CashappPayments.Protections; + export interface JcbPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: JcbPayments.Protections; - /** - * The status of the Capability. - */ - status: CashappPayments.Status; + /** + * The status of the Capability. + */ + status: JcbPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface EpsPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: EpsPayments.Protections; + export interface JpBankTransferPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: JpBankTransferPayments.Protections; - /** - * The status of the Capability. - */ - status: EpsPayments.Status; + /** + * The status of the Capability. + */ + status: JpBankTransferPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface FpxPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: FpxPayments.Protections; + export interface KakaoPayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: KakaoPayPayments.Protections; - /** - * The status of the Capability. - */ - status: FpxPayments.Status; + /** + * The status of the Capability. + */ + status: KakaoPayPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface GbBankTransferPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: GbBankTransferPayments.Protections; + export interface KlarnaPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: KlarnaPayments.Protections; - /** - * The status of the Capability. - */ - status: GbBankTransferPayments.Status; + /** + * The status of the Capability. + */ + status: KlarnaPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface GrabpayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: GrabpayPayments.Protections; + export interface KonbiniPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: KonbiniPayments.Protections; - /** - * The status of the Capability. - */ - status: GrabpayPayments.Status; + /** + * The status of the Capability. + */ + status: KonbiniPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface IdealPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: IdealPayments.Protections; + export interface KrCardPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: KrCardPayments.Protections; - /** - * The status of the Capability. - */ - status: IdealPayments.Status; + /** + * The status of the Capability. + */ + status: KrCardPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface JcbPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: JcbPayments.Protections; + export interface LinkPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: LinkPayments.Protections; - /** - * The status of the Capability. - */ - status: JcbPayments.Status; + /** + * The status of the Capability. + */ + status: LinkPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface JpBankTransferPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: JpBankTransferPayments.Protections; + export interface MobilepayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: MobilepayPayments.Protections; - /** - * The status of the Capability. - */ - status: JpBankTransferPayments.Status; + /** + * The status of the Capability. + */ + status: MobilepayPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface KakaoPayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: KakaoPayPayments.Protections; + export interface MultibancoPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: MultibancoPayments.Protections; - /** - * The status of the Capability. - */ - status: KakaoPayPayments.Status; + /** + * The status of the Capability. + */ + status: MultibancoPayments.Status; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export interface KlarnaPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: KlarnaPayments.Protections; + export interface MxBankTransferPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: MxBankTransferPayments.Protections; - /** - * The status of the Capability. - */ - status: KlarnaPayments.Status; - - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: MxBankTransferPayments.Status; - export interface KonbiniPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: KonbiniPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: KonbiniPayments.Status; + export interface NaverPayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: NaverPayPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: NaverPayPayments.Status; - export interface KrCardPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: KrCardPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: KrCardPayments.Status; + export interface OxxoPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: OxxoPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: OxxoPayments.Status; - export interface LinkPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: LinkPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: LinkPayments.Status; + export interface P24Payments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: P24Payments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: P24Payments.Status; - export interface MobilepayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: MobilepayPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: MobilepayPayments.Status; + export interface PayByBankPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PayByBankPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: PayByBankPayments.Status; - export interface MultibancoPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: MultibancoPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: MultibancoPayments.Status; + export interface PaycoPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PaycoPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: PaycoPayments.Status; - export interface MxBankTransferPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: MxBankTransferPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: MxBankTransferPayments.Status; + export interface PaynowPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PaynowPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: PaynowPayments.Status; - export interface NaverPayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: NaverPayPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: NaverPayPayments.Status; + export interface PromptpayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PromptpayPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: PromptpayPayments.Status; - export interface OxxoPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: OxxoPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: OxxoPayments.Status; + export interface RevolutPayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: RevolutPayPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: RevolutPayPayments.Status; - export interface P24Payments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: P24Payments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: P24Payments.Status; + export interface SamsungPayPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: SamsungPayPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: SamsungPayPayments.Status; - export interface PayByBankPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: PayByBankPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: PayByBankPayments.Status; + export interface SepaBankTransferPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: SepaBankTransferPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: SepaBankTransferPayments.Status; - export interface PaycoPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: PaycoPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: PaycoPayments.Status; + export interface SepaDebitPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: SepaDebitPayments.Protections; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The status of the Capability. + */ + status: SepaDebitPayments.Status; - export interface PaynowPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: PaynowPayments.Protections; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The status of the Capability. - */ - status: PaynowPayments.Status; + export interface StripeBalance { + /** + * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). + */ + payouts?: StripeBalance.Payouts; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface SwishPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: SwishPayments.Protections; - export interface PromptpayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: PromptpayPayments.Protections; + /** + * The status of the Capability. + */ + status: SwishPayments.Status; - /** - * The status of the Capability. - */ - status: PromptpayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface TwintPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: TwintPayments.Protections; - export interface RevolutPayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: RevolutPayPayments.Protections; + /** + * The status of the Capability. + */ + status: TwintPayments.Status; - /** - * The status of the Capability. - */ - status: RevolutPayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface UsBankTransferPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: UsBankTransferPayments.Protections; - export interface SamsungPayPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: SamsungPayPayments.Protections; + /** + * The status of the Capability. + */ + status: UsBankTransferPayments.Status; - /** - * The status of the Capability. - */ - status: SamsungPayPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface ZipPayments { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: ZipPayments.Protections; - export interface SepaBankTransferPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: SepaBankTransferPayments.Protections; + /** + * The status of the Capability. + */ + status: ZipPayments.Status; - /** - * The status of the Capability. - */ - status: SepaBankTransferPayments.Status; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace AchDebitPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export interface SepaDebitPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: SepaDebitPayments.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: SepaDebitPayments.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface StripeBalance { - /** - * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). - */ - payouts?: StripeBalance.Payouts; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; } + } - export interface SwishPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: SwishPayments.Protections; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * The status of the Capability. - */ - status: SwishPayments.Status; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace AcssDebitPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export interface TwintPayments { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: TwintPayments.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: TwintPayments.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface UsBankTransferPayments { + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + + export namespace AffirmPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } + + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: UsBankTransferPayments.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: UsBankTransferPayments.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface ZipPayments { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + + export namespace AfterpayClearpayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } + + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. */ - protections: ZipPayments.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: ZipPayments.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace AchDebitPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace AlmaPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace AcssDebitPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace AmazonPayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; } - export namespace AffirmPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace AuBecsDebitPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace AfterpayClearpayPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace BacsDebitPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace AlmaPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace BancontactPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace AmazonPayPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace BlikPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace AuBecsDebitPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace BoletoPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace BacsDebitPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace CardPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace BancontactPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace CartesBancairesPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace BlikPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace CashappPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace BoletoPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace EpsPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace CardPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace FpxPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace CartesBancairesPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace GbBankTransferPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace CashappPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace GrabpayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace EpsPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace IdealPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace FpxPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace JcbPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace GbBankTransferPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace JpBankTransferPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace GrabpayPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace KakaoPayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace IdealPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace KlarnaPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace JcbPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace KonbiniPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace JpBankTransferPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace KrCardPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace KakaoPayPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace LinkPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace KlarnaPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace MobilepayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace KonbiniPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace MultibancoPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace KrCardPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace MxBankTransferPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace LinkPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace NaverPayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace MobilepayPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace OxxoPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace MultibancoPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace P24Payments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace MxBankTransferPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace PayByBankPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace NaverPayPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace PaycoPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace OxxoPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace PaynowPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace P24Payments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace PromptpayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace PayByBankPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace RevolutPayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace PaycoPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace SamsungPayPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace PaynowPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace SepaBankTransferPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace PromptpayPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace SepaDebitPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace RevolutPayPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace StripeBalance { + export interface Payouts { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: Payouts.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: Payouts.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace Payouts { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; } - export namespace SamsungPayPayments { - export interface Protections { + export namespace Protections { + export interface PspMigration { /** - * Protection details for PSP migration. + * The time until which the protection will expire, as a Unix timestamp. */ - psp_migration: Protections.PspMigration; - } - - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + expires_at?: bigint; - export interface StatusDetail { /** - * Machine-readable code explaining the reason for the Capability to be in its current status. + * The time at which the protection was requested, as a Unix timestamp. */ - code: StatusDetail.Code; + requested_at: bigint; /** - * Machine-readable code explaining how to make the Capability active. + * The current status of the protection. */ - resolution: StatusDetail.Resolution; + status: PspMigration.Status; } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace SwishPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace SepaBankTransferPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; + + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace TwintPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace SepaDebitPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace UsBankTransferPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace StripeBalance { - export interface Payouts { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: Payouts.Protections; - - /** - * The status of the Capability. - */ - status: Payouts.Status; + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } - export namespace Payouts { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace ZipPayments { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; } - export namespace SwishPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace CardPayments { + export interface DeclineOn { + /** + * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. + */ + avs_failure?: boolean; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. + */ + cvc_failure?: boolean; + } + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export namespace KonbiniPayments { + export interface Support { + /** + * Support email address for Konbini payments. + */ + email?: string; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Support hours for Konbini payments. + */ + hours?: Support.Hours; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Support phone number for Konbini payments. + */ + phone?: string; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Support { + export interface Hours { + /** + * Support hours end time (JST time of day) for in `HH:MM` format. + */ + end_time?: string; - export namespace TwintPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * Support hours start time (JST time of day) for in `HH:MM` format. + */ + start_time?: string; + } + } + } - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace ScriptStatementDescriptor { + export interface Kana { + /** + * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + descriptor?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + prefix?: string; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface Kanji { + /** + * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + descriptor?: string; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + /** + * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + */ + prefix?: string; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; - - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export namespace SmartDisputes { + export interface AutoRespond { + /** + * The preference for automatic dispute responses. + */ + preference?: AutoRespond.Preference; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * The effective value for automatic dispute responses. + */ + value?: AutoRespond.Value; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace AutoRespond { + export type Preference = 'inherit' | 'off' | 'on'; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export type Value = 'off' | 'on'; + } + } - export namespace UsBankTransferPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + export namespace Support { + export interface Address { + /** + * City, district, suburb, town, or village. + */ + city?: string; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + /** + * ZIP or postal code. + */ + postal_code?: string; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * State, county, province, or region. + */ + state?: string; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Town or district. + */ + town?: string; + } + } + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace Recipient { + export interface Capabilities { + /** + * Capabilities that enable OutboundPayments to a bank account linked to this Account. + */ + bank_accounts?: Capabilities.BankAccounts; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Enables this Account to receive OutboundPayments to a linked debit card. + */ + cards?: Capabilities.Cards; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Enables this Account to receive OutboundPayments to a linked crypto wallet. + */ + crypto_wallets?: Capabilities.CryptoWallets; - export namespace ZipPayments { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * Capabilities that enable OutboundPayments via paper check. + */ + paper_checks?: Capabilities.PaperChecks; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). + */ + stripe_balance?: Capabilities.StripeBalance; + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export interface DefaultOutboundDestination { + /** + * The payout method ID of the default outbound destination. + */ + id: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * Closed Enum. The payout method type of the default outbound destination. + */ + type: DefaultOutboundDestination.Type; + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace Capabilities { + export interface BankAccounts { + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over real time rails. + */ + instant?: BankAccounts.Instant; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over local networks. + */ + local?: BankAccounts.Local; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over wire. + */ + wire?: BankAccounts.Wire; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface Cards { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: Cards.Protections; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The status of the Capability. + */ + status: Cards.Status; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace CardPayments { - export interface DeclineOn { - /** - * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. - */ - avs_failure?: boolean; + export interface CryptoWallets { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: CryptoWallets.Protections; - /** - * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. - */ - cvc_failure?: boolean; - } - } + /** + * The status of the Capability. + */ + status: CryptoWallets.Status; - export namespace KonbiniPayments { - export interface Support { - /** - * Support email address for Konbini payments. - */ - email?: string; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Support hours for Konbini payments. - */ - hours?: Support.Hours; - - /** - * Support phone number for Konbini payments. - */ - phone?: string; - } - - export namespace Support { - export interface Hours { - /** - * Support hours end time (JST time of day) for in `HH:MM` format. - */ - end_time?: string; - - /** - * Support hours start time (JST time of day) for in `HH:MM` format. - */ - start_time?: string; - } - } - } - - export namespace ScriptStatementDescriptor { - export interface Kana { - /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - descriptor?: string; - - /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - prefix?: string; - } - - export interface Kanji { - /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - descriptor?: string; - - /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - prefix?: string; - } - } - - export namespace SmartDisputes { - export interface AutoRespond { - /** - * The preference for automatic dispute responses. - */ - preference?: AutoRespond.Preference; - - /** - * The effective value for automatic dispute responses. - */ - value?: AutoRespond.Value; - } - - export namespace AutoRespond { - export type Preference = 'inherit' | 'off' | 'on'; - - export type Value = 'off' | 'on'; - } - } - - export namespace Support { - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; + export interface PaperChecks { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PaperChecks.Protections; - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; + /** + * The status of the Capability. + */ + status: PaperChecks.Status; - /** - * ZIP or postal code. - */ - postal_code?: string; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * State, county, province, or region. - */ - state?: string; + export interface StripeBalance { + /** + * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). + */ + payouts?: StripeBalance.Payouts; - /** - * Town or district. - */ - town?: string; - } - } + /** + * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). + */ + stripe_transfers?: StripeBalance.StripeTransfers; } - export namespace Recipient { - export interface Capabilities { + export namespace BankAccounts { + export interface Instant { /** - * Capabilities that enable OutboundPayments to a bank account linked to this Account. + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). */ - bank_accounts?: Capabilities.BankAccounts; + protections: Instant.Protections; /** - * Enables this Account to receive OutboundPayments to a linked debit card. + * The status of the Capability. */ - cards?: Capabilities.Cards; + status: Instant.Status; /** - * Enables this Account to receive OutboundPayments to a linked crypto wallet. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - crypto_wallets?: Capabilities.CryptoWallets; + status_details: Array; + } + export interface Local { /** - * Capabilities that enable OutboundPayments via paper check. + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). */ - paper_checks?: Capabilities.PaperChecks; + protections: Local.Protections; /** - * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). + * The status of the Capability. */ - stripe_balance?: Capabilities.StripeBalance; - } + status: Local.Status; - export interface DefaultOutboundDestination { /** - * The payout method ID of the default outbound destination. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - id: string; + status_details: Array; + } + export interface Wire { /** - * Closed Enum. The payout method type of the default outbound destination. + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). */ - type: DefaultOutboundDestination.Type; - } + protections: Wire.Protections; - export namespace Capabilities { - export interface BankAccounts { - /** - * Enables this Account to receive OutboundPayments to linked bank accounts over real time rails. - */ - instant?: BankAccounts.Instant; + /** + * The status of the Capability. + */ + status: Wire.Status; - /** - * Enables this Account to receive OutboundPayments to linked bank accounts over local networks. - */ - local?: BankAccounts.Local; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + export namespace Instant { + export interface Protections { /** - * Enables this Account to receive OutboundPayments to linked bank accounts over wire. + * Protection details for PSP migration. */ - wire?: BankAccounts.Wire; + psp_migration: Protections.PspMigration; } - export interface Cards { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: Cards.Protections; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + export interface StatusDetail { /** - * The status of the Capability. + * Machine-readable code explaining the reason for the Capability to be in its current status. */ - status: Cards.Status; + code: StatusDetail.Code; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * Machine-readable code explaining how to make the Capability active. */ - status_details: Array; + resolution: StatusDetail.Resolution; } - export interface CryptoWallets { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: CryptoWallets.Protections; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - /** - * The status of the Capability. - */ - status: CryptoWallets.Status; + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } } - export interface PaperChecks { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: PaperChecks.Protections; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * The status of the Capability. - */ - status: PaperChecks.Status; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + export namespace Local { + export interface Protections { /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * Protection details for PSP migration. */ - status_details: Array; + psp_migration: Protections.PspMigration; } - export interface StripeBalance { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { /** - * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). + * Machine-readable code explaining the reason for the Capability to be in its current status. */ - payouts?: StripeBalance.Payouts; + code: StatusDetail.Code; /** - * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). + * Machine-readable code explaining how to make the Capability active. */ - stripe_transfers?: StripeBalance.StripeTransfers; + resolution: StatusDetail.Resolution; } - export namespace BankAccounts { - export interface Instant { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: Instant.Protections; - - /** - * The status of the Capability. - */ - status: Instant.Status; - - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } - - export interface Local { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: Local.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: Local.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface Wire { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: Wire.Protections; - - /** - * The status of the Capability. - */ - status: Wire.Status; - - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; } + } - export namespace Instant { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace Wire { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; } - export namespace Local { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace Cards { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace Wire { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace CryptoWallets { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace Cards { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace PaperChecks { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } - - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace CryptoWallets { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; } - export namespace PaperChecks { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace StripeBalance { + export interface Payouts { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: Payouts.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: Payouts.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface StripeTransfers { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: StripeTransfers.Protections; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The status of the Capability. + */ + status: StripeTransfers.Status; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + + export namespace Payouts { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; } - export namespace StripeBalance { - export interface Payouts { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: Payouts.Protections; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The status of the Capability. - */ - status: Payouts.Status; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface StripeTransfers { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: StripeTransfers.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: StripeTransfers.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace Payouts { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace StripeTransfers { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace StripeTransfers { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; + + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace DefaultOutboundDestination { + export type Type = + | 'ae_bank_account' + | 'ag_bank_account' + | 'al_bank_account' + | 'am_bank_account' + | 'ao_bank_account' + | 'ar_bank_account' + | 'at_bank_account' + | 'au_bank_account' + | 'az_bank_account' + | 'ba_bank_account' + | 'bd_bank_account' + | 'be_bank_account' + | 'bg_bank_account' + | 'bh_bank_account' + | 'bj_bank_account' + | 'bn_bank_account' + | 'bo_bank_account' + | 'br_bank_account' + | 'bs_bank_account' + | 'bt_bank_account' + | 'bw_bank_account' + | 'card' + | 'ca_bank_account' + | 'ch_bank_account' + | 'ci_bank_account' + | 'cl_bank_account' + | 'cn_bank_account' + | 'co_bank_account' + | 'crypto_wallet' + | 'cr_bank_account' + | 'cy_bank_account' + | 'cz_bank_account' + | 'de_bank_account' + | 'dk_bank_account' + | 'do_bank_account' + | 'dz_bank_account' + | 'ec_bank_account' + | 'ee_bank_account' + | 'eg_bank_account' + | 'es_bank_account' + | 'et_bank_account' + | 'fi_bank_account' + | 'fr_bank_account' + | 'ga_bank_account' + | 'gb_bank_account' + | 'gh_bank_account' + | 'gi_bank_account' + | 'gm_bank_account' + | 'gr_bank_account' + | 'gt_bank_account' + | 'gy_bank_account' + | 'hk_bank_account' + | 'hn_bank_account' + | 'hr_bank_account' + | 'hu_bank_account' + | 'id_bank_account' + | 'ie_bank_account' + | 'il_bank_account' + | 'in_bank_account' + | 'is_bank_account' + | 'it_bank_account' + | 'jm_bank_account' + | 'jo_bank_account' + | 'jp_bank_account' + | 'ke_bank_account' + | 'kh_bank_account' + | 'kr_bank_account' + | 'kw_bank_account' + | 'kz_bank_account' + | 'la_bank_account' + | 'lc_bank_account' + | 'li_bank_account' + | 'lk_bank_account' + | 'lt_bank_account' + | 'lu_bank_account' + | 'lv_bank_account' + | 'ma_bank_account' + | 'mc_bank_account' + | 'md_bank_account' + | 'mg_bank_account' + | 'mk_bank_account' + | 'mn_bank_account' + | 'mo_bank_account' + | 'mt_bank_account' + | 'mu_bank_account' + | 'mx_bank_account' + | 'my_bank_account' + | 'mz_bank_account' + | 'na_bank_account' + | 'ne_bank_account' + | 'ng_bank_account' + | 'ni_bank_account' + | 'nl_bank_account' + | 'no_bank_account' + | 'nz_bank_account' + | 'om_bank_account' + | 'pa_bank_account' + | 'pe_bank_account' + | 'ph_bank_account' + | 'pk_bank_account' + | 'pl_bank_account' + | 'pt_bank_account' + | 'py_bank_account' + | 'qa_bank_account' + | 'ro_bank_account' + | 'rs_bank_account' + | 'rw_bank_account' + | 'sa_bank_account' + | 'se_bank_account' + | 'sg_bank_account' + | 'si_bank_account' + | 'sk_bank_account' + | 'sm_bank_account' + | 'sn_bank_account' + | 'sv_bank_account' + | 'th_bank_account' + | 'tn_bank_account' + | 'tr_bank_account' + | 'tt_bank_account' + | 'tw_bank_account' + | 'tz_bank_account' + | 'us_bank_account' + | 'uy_bank_account' + | 'uz_bank_account' + | 'vn_bank_account' + | 'za_bank_account'; + } + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace Storer { + export interface Capabilities { + /** + * Hash containing capabilities related to consumer financial accounts. + */ + consumer?: Capabilities.Consumer; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Can provision a financial address to credit/debit a FinancialAccount. + */ + financial_addresses?: Capabilities.FinancialAddresses; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Can hold storage-type funds on Stripe. + */ + holds_currencies?: Capabilities.HoldsCurrencies; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Hash containing capabilities related to InboundTransfers. + */ + inbound_transfers?: Capabilities.InboundTransfers; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } - } + /** + * Hash containing capabilities related to [OutboundPayments](https://docs.stripe.com/api/treasury/outbound_payments?api-version=preview). + */ + outbound_payments?: Capabilities.OutboundPayments; - export namespace DefaultOutboundDestination { - export type Type = - | 'ae_bank_account' - | 'ag_bank_account' - | 'al_bank_account' - | 'am_bank_account' - | 'ao_bank_account' - | 'ar_bank_account' - | 'at_bank_account' - | 'au_bank_account' - | 'az_bank_account' - | 'ba_bank_account' - | 'bd_bank_account' - | 'be_bank_account' - | 'bg_bank_account' - | 'bh_bank_account' - | 'bj_bank_account' - | 'bn_bank_account' - | 'bo_bank_account' - | 'br_bank_account' - | 'bs_bank_account' - | 'bt_bank_account' - | 'bw_bank_account' - | 'card' - | 'ca_bank_account' - | 'ch_bank_account' - | 'ci_bank_account' - | 'cl_bank_account' - | 'cn_bank_account' - | 'co_bank_account' - | 'crypto_wallet' - | 'cr_bank_account' - | 'cy_bank_account' - | 'cz_bank_account' - | 'de_bank_account' - | 'dk_bank_account' - | 'do_bank_account' - | 'dz_bank_account' - | 'ec_bank_account' - | 'ee_bank_account' - | 'eg_bank_account' - | 'es_bank_account' - | 'et_bank_account' - | 'fi_bank_account' - | 'fr_bank_account' - | 'ga_bank_account' - | 'gb_bank_account' - | 'gh_bank_account' - | 'gi_bank_account' - | 'gm_bank_account' - | 'gr_bank_account' - | 'gt_bank_account' - | 'gy_bank_account' - | 'hk_bank_account' - | 'hn_bank_account' - | 'hr_bank_account' - | 'hu_bank_account' - | 'id_bank_account' - | 'ie_bank_account' - | 'il_bank_account' - | 'in_bank_account' - | 'is_bank_account' - | 'it_bank_account' - | 'jm_bank_account' - | 'jo_bank_account' - | 'jp_bank_account' - | 'ke_bank_account' - | 'kh_bank_account' - | 'kr_bank_account' - | 'kw_bank_account' - | 'kz_bank_account' - | 'la_bank_account' - | 'lc_bank_account' - | 'li_bank_account' - | 'lk_bank_account' - | 'lt_bank_account' - | 'lu_bank_account' - | 'lv_bank_account' - | 'ma_bank_account' - | 'mc_bank_account' - | 'md_bank_account' - | 'mg_bank_account' - | 'mk_bank_account' - | 'mn_bank_account' - | 'mo_bank_account' - | 'mt_bank_account' - | 'mu_bank_account' - | 'mx_bank_account' - | 'my_bank_account' - | 'mz_bank_account' - | 'na_bank_account' - | 'ne_bank_account' - | 'ng_bank_account' - | 'ni_bank_account' - | 'nl_bank_account' - | 'no_bank_account' - | 'nz_bank_account' - | 'om_bank_account' - | 'pa_bank_account' - | 'pe_bank_account' - | 'ph_bank_account' - | 'pk_bank_account' - | 'pl_bank_account' - | 'pt_bank_account' - | 'py_bank_account' - | 'qa_bank_account' - | 'ro_bank_account' - | 'rs_bank_account' - | 'rw_bank_account' - | 'sa_bank_account' - | 'se_bank_account' - | 'sg_bank_account' - | 'si_bank_account' - | 'sk_bank_account' - | 'sm_bank_account' - | 'sn_bank_account' - | 'sv_bank_account' - | 'th_bank_account' - | 'tn_bank_account' - | 'tr_bank_account' - | 'tt_bank_account' - | 'tw_bank_account' - | 'tz_bank_account' - | 'us_bank_account' - | 'uy_bank_account' - | 'uz_bank_account' - | 'vn_bank_account' - | 'za_bank_account'; - } - } + /** + * Hash containing capabilities related to [OutboundTransfers](https://docs.stripe.com/api/treasury/outbound_transfers?api-version=preview). + */ + outbound_transfers?: Capabilities.OutboundTransfers; + } - export namespace Storer { - export interface Capabilities { - /** - * Hash containing capabilities related to consumer financial accounts. - */ - consumer?: Capabilities.Consumer; + export type HighRiskActivity = + | 'adult_entertainment' + | 'gambling' + | 'hold_client_funds' + | 'investment_services' + | 'lending_banking' + | 'marijuana_or_related_services' + | 'money_services' + | 'nicotine_tobacco_or_related_services' + | 'none' + | 'operate_foreign_exchange_virtual_currencies_brokerage_otc' + | 'pharmaceuticals' + | 'precious_metals_precious_stones_jewelry' + | 'safe_deposit_box_rentals' + | 'third_party_payment_processing' + | 'weapons_firearms_and_explosives'; + + export type PurposeOfFunds = + | 'charitable_donations' + | 'ecommerce_retail_payments' + | 'investment_purposes' + | 'other' + | 'payments_to_friends_or_family_abroad' + | 'payroll' + | 'personal_or_living_expenses' + | 'protect_wealth' + | 'purchase_goods_and_services' + | 'receive_payments_for_goods_and_services' + | 'tax_optimization' + | 'third_party_money_transmission' + | 'treasury_management'; + + export interface RegulatedActivity { + /** + * A detailed description of the regulated activities the business is licensed to conduct. + */ + description?: string; - /** - * Can provision a financial address to credit/debit a FinancialAccount. - */ - financial_addresses?: Capabilities.FinancialAddresses; + /** + * The license number or registration number assigned by the business's primary regulator. + */ + license_number?: string; - /** - * Can hold storage-type funds on Stripe. - */ - holds_currencies?: Capabilities.HoldsCurrencies; + /** + * The country of the primary regulatory authority that oversees the business's regulated activities. + */ + primary_regulatory_authority_country?: string; - /** - * Hash containing capabilities related to InboundTransfers. - */ - inbound_transfers?: Capabilities.InboundTransfers; + /** + * The name of the primary regulatory authority that oversees the business's regulated activities. + */ + primary_regulatory_authority_name?: string; + } - /** - * Hash containing capabilities related to [OutboundPayments](https://docs.stripe.com/api/treasury/outbound_payments?api-version=preview). - */ - outbound_payments?: Capabilities.OutboundPayments; + export type SourceOfFunds = + | 'business_loans' + | 'grants' + | 'inter_company_funds' + | 'investment_proceeds' + | 'legal_settlement' + | 'owners_capital' + | 'pension_retirement' + | 'sales_of_assets' + | 'sales_of_goods_and_services' + | 'tax_refund' + | 'third_party_funds' + | 'treasury_reserves'; - /** - * Hash containing capabilities related to [OutboundTransfers](https://docs.stripe.com/api/treasury/outbound_transfers?api-version=preview). - */ - outbound_transfers?: Capabilities.OutboundTransfers; - } + export namespace Capabilities { + export interface Consumer { + /** + * Can hold storage-type funds on Stripe consumer FAs in USD. + */ + holds_currencies?: Consumer.HoldsCurrencies; + } - export type HighRiskActivity = - | 'adult_entertainment' - | 'gambling' - | 'hold_client_funds' - | 'investment_services' - | 'lending_banking' - | 'marijuana_or_related_services' - | 'money_services' - | 'nicotine_tobacco_or_related_services' - | 'none' - | 'operate_foreign_exchange_virtual_currencies_brokerage_otc' - | 'pharmaceuticals' - | 'precious_metals_precious_stones_jewelry' - | 'safe_deposit_box_rentals' - | 'third_party_payment_processing' - | 'weapons_firearms_and_explosives'; + export interface FinancialAddresses { + /** + * Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount. + */ + bank_accounts?: FinancialAddresses.BankAccounts; - export type PurposeOfFunds = - | 'charitable_donations' - | 'ecommerce_retail_payments' - | 'investment_purposes' - | 'other' - | 'payments_to_friends_or_family_abroad' - | 'payroll' - | 'personal_or_living_expenses' - | 'protect_wealth' - | 'purchase_goods_and_services' - | 'receive_payments_for_goods_and_services' - | 'tax_optimization' - | 'third_party_money_transmission' - | 'treasury_management'; + /** + * Can provision a crypto wallet like financial address to credit a FinancialAccount. + */ + crypto_wallets?: FinancialAddresses.CryptoWallets; + } - export interface RegulatedActivity { - /** - * A detailed description of the regulated activities the business is licensed to conduct. - */ - description?: string; + export interface HoldsCurrencies { + /** + * Can hold storage-type funds on Stripe in EUR. + */ + eur?: HoldsCurrencies.Eur; - /** - * The license number or registration number assigned by the business's primary regulator. - */ - license_number?: string; + /** + * Can hold storage-type funds on Stripe in GBP. + */ + gbp?: HoldsCurrencies.Gbp; - /** - * The country of the primary regulatory authority that oversees the business's regulated activities. - */ - primary_regulatory_authority_country?: string; + /** + * Can hold storage-type funds on Stripe in USD. + */ + usd?: HoldsCurrencies.Usd; - /** - * The name of the primary regulatory authority that oversees the business's regulated activities. - */ - primary_regulatory_authority_name?: string; - } + /** + * Can hold storage-type funds on Stripe in USDC. + */ + usdc?: HoldsCurrencies.Usdc; + } - export type SourceOfFunds = - | 'business_loans' - | 'grants' - | 'inter_company_funds' - | 'investment_proceeds' - | 'legal_settlement' - | 'owners_capital' - | 'pension_retirement' - | 'sales_of_assets' - | 'sales_of_goods_and_services' - | 'tax_refund' - | 'third_party_funds' - | 'treasury_reserves'; + export interface InboundTransfers { + /** + * Can pull funds into a FinancialAccount from an external bank account owned by the user. + */ + bank_accounts?: InboundTransfers.BankAccounts; + } - export namespace Capabilities { - export interface Consumer { - /** - * Can hold storage-type funds on Stripe consumer FAs in USD. - */ - holds_currencies?: Consumer.HoldsCurrencies; - } + export interface OutboundPayments { + /** + * Can send funds from a FinancialAccount to a bank account owned by a different entity. + */ + bank_accounts?: OutboundPayments.BankAccounts; - export interface FinancialAddresses { - /** - * Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount. - */ - bank_accounts?: FinancialAddresses.BankAccounts; + /** + * Can send funds from a FinancialAccount to a debit card owned by a different entity. + */ + cards?: OutboundPayments.Cards; - /** - * Can provision a crypto wallet like financial address to credit a FinancialAccount. - */ - crypto_wallets?: FinancialAddresses.CryptoWallets; - } + /** + * Can send funds from a FinancialAccount to a crypto wallet owned by a different entity. + */ + crypto_wallets?: OutboundPayments.CryptoWallets; - export interface HoldsCurrencies { - /** - * Can hold storage-type funds on Stripe in EUR. - */ - eur?: HoldsCurrencies.Eur; - - /** - * Can hold storage-type funds on Stripe in GBP. - */ - gbp?: HoldsCurrencies.Gbp; + /** + * Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity. + */ + financial_accounts?: OutboundPayments.FinancialAccounts; - /** - * Can hold storage-type funds on Stripe in USD. - */ - usd?: HoldsCurrencies.Usd; + /** + * Can send funds from a FinancialAccount to someone else via paper check. + */ + paper_checks?: OutboundPayments.PaperChecks; + } - /** - * Can hold storage-type funds on Stripe in USDC. - */ - usdc?: HoldsCurrencies.Usdc; - } + export interface OutboundTransfers { + /** + * Can send funds from a FinancialAccount to a bank account belonging to the same user. + */ + bank_accounts?: OutboundTransfers.BankAccounts; - export interface InboundTransfers { - /** - * Can pull funds into a FinancialAccount from an external bank account owned by the user. - */ - bank_accounts?: InboundTransfers.BankAccounts; - } + /** + * Can send funds from a FinancialAccount to a crypto wallet belonging to the same user. + */ + crypto_wallets?: OutboundTransfers.CryptoWallets; - export interface OutboundPayments { - /** - * Can send funds from a FinancialAccount to a bank account owned by a different entity. - */ - bank_accounts?: OutboundPayments.BankAccounts; + /** + * Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user. + */ + financial_accounts?: OutboundTransfers.FinancialAccounts; + } - /** - * Can send funds from a FinancialAccount to a debit card owned by a different entity. - */ - cards?: OutboundPayments.Cards; + export namespace Consumer { + export interface HoldsCurrencies { + /** + * Can hold storage-type funds on Stripe consumer FAs in USD. + */ + usd?: HoldsCurrencies.Usd; + } + export namespace HoldsCurrencies { + export interface Usd { /** - * Can send funds from a FinancialAccount to a crypto wallet owned by a different entity. + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). */ - crypto_wallets?: OutboundPayments.CryptoWallets; + protections: Usd.Protections; /** - * Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity. + * The status of the Capability. */ - financial_accounts?: OutboundPayments.FinancialAccounts; + status: Usd.Status; /** - * Can send funds from a FinancialAccount to someone else via paper check. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - paper_checks?: OutboundPayments.PaperChecks; + status_details: Array; } - export interface OutboundTransfers { - /** - * Can send funds from a FinancialAccount to a bank account belonging to the same user. - */ - bank_accounts?: OutboundTransfers.BankAccounts; + export namespace Usd { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * Can send funds from a FinancialAccount to a crypto wallet belonging to the same user. - */ - crypto_wallets?: OutboundTransfers.CryptoWallets; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user. - */ - financial_accounts?: OutboundTransfers.FinancialAccounts; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace Consumer { - export interface HoldsCurrencies { /** - * Can hold storage-type funds on Stripe consumer FAs in USD. + * Machine-readable code explaining how to make the Capability active. */ - usd?: HoldsCurrencies.Usd; + resolution: StatusDetail.Resolution; } - export namespace HoldsCurrencies { - export interface Usd { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: Usd.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: Usd.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace Usd { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace FinancialAddresses { + export interface BankAccounts { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: BankAccounts.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: BankAccounts.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface CryptoWallets { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: CryptoWallets.Protections; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } + /** + * The status of the Capability. + */ + status: CryptoWallets.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + + export namespace BankAccounts { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; } - export namespace FinancialAddresses { - export interface BankAccounts { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: BankAccounts.Protections; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The status of the Capability. - */ - status: BankAccounts.Status; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface CryptoWallets { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: CryptoWallets.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: CryptoWallets.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace BankAccounts { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace CryptoWallets { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace CryptoWallets { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace HoldsCurrencies { + export interface Eur { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: Eur.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: Eur.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface Gbp { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: Gbp.Protections; + + /** + * The status of the Capability. + */ + status: Gbp.Status; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export interface Usd { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: Usd.Protections; + + /** + * The status of the Capability. + */ + status: Usd.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + + export interface Usdc { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: Usdc.Protections; + + /** + * The status of the Capability. + */ + status: Usdc.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + + export namespace Eur { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; } - export namespace HoldsCurrencies { - export interface Eur { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: Eur.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: Eur.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface Gbp { + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + + export namespace Gbp { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } + + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: Gbp.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: Gbp.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface Usd { + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + + export namespace Usd { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } + + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: Usd.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: Usd.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface Usdc { + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + + export namespace Usdc { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } + + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: Usdc.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: Usdc.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace Eur { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; - - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; - - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } - - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Gbp { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + export namespace InboundTransfers { + export interface BankAccounts { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: BankAccounts.Protections; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The status of the Capability. + */ + status: BankAccounts.Status; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace BankAccounts { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; } - export namespace Usd { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace OutboundPayments { + export interface BankAccounts { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: BankAccounts.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: BankAccounts.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface Cards { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: Cards.Protections; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The status of the Capability. + */ + status: Cards.Status; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace Usdc { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + export interface CryptoWallets { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: CryptoWallets.Protections; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The status of the Capability. + */ + status: CryptoWallets.Status; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface FinancialAccounts { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: FinancialAccounts.Protections; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + /** + * The status of the Capability. + */ + status: FinancialAccounts.Status; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface PaperChecks { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: PaperChecks.Protections; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * The status of the Capability. + */ + status: PaperChecks.Status; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace BankAccounts { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; } - export namespace InboundTransfers { - export interface BankAccounts { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: BankAccounts.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: BankAccounts.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace BankAccounts { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; - - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export namespace Cards { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; } - export namespace OutboundPayments { - export interface BankAccounts { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: BankAccounts.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: BankAccounts.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface Cards { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: Cards.Protections; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * The status of the Capability. - */ - status: Cards.Status; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface CryptoWallets { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: CryptoWallets.Protections; + export namespace CryptoWallets { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The status of the Capability. - */ - status: CryptoWallets.Status; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface FinancialAccounts { + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: FinancialAccounts.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: FinancialAccounts.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface PaperChecks { + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } + + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; + + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + + export namespace FinancialAccounts { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } + + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: PaperChecks.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: PaperChecks.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace BankAccounts { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace PaperChecks { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export namespace Cards { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; + } + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace OutboundTransfers { + export interface BankAccounts { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: BankAccounts.Protections; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + /** + * The status of the Capability. + */ + status: BankAccounts.Status; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export interface CryptoWallets { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: CryptoWallets.Protections; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The status of the Capability. + */ + status: CryptoWallets.Status; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - export namespace CryptoWallets { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + export interface FinancialAccounts { + /** + * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + */ + protections: FinancialAccounts.Protections; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The status of the Capability. + */ + status: FinancialAccounts.Status; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace BankAccounts { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace Protections { + export interface PspMigration { + /** + * The time until which the protection will expire, as a Unix timestamp. + */ + expires_at?: bigint; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The time at which the protection was requested, as a Unix timestamp. + */ + requested_at: bigint; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + /** + * The current status of the protection. + */ + status: PspMigration.Status; } - export namespace FinancialAccounts { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; - - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; - - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } - - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } + | 'disrupted' + | 'expired' + | 'inactive'; } + } - export namespace PaperChecks { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export namespace CryptoWallets { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; } - export namespace OutboundTransfers { - export interface BankAccounts { + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: BankAccounts.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: BankAccounts.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export interface CryptoWallets { - /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). - */ - protections: CryptoWallets.Protections; + export namespace PspMigration { + export type Status = + | 'active' + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - /** - * The status of the Capability. - */ - status: CryptoWallets.Status; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } - export interface FinancialAccounts { + export namespace FinancialAccounts { + export interface Protections { + /** + * Protection details for PSP migration. + */ + psp_migration: Protections.PspMigration; + } + + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; + + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; + + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } + + export namespace Protections { + export interface PspMigration { /** - * Protections applied to this capability, keyed by protection type (e.g. "psp_migration"). + * The time until which the protection will expire, as a Unix timestamp. */ - protections: FinancialAccounts.Protections; + expires_at?: bigint; /** - * The status of the Capability. + * The time at which the protection was requested, as a Unix timestamp. */ - status: FinancialAccounts.Status; + requested_at: bigint; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The current status of the protection. */ - status_details: Array; + status: PspMigration.Status; } - export namespace BankAccounts { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } - + export namespace PspMigration { export type Status = | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + | 'disrupted' + | 'expired' + | 'inactive'; + } + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace StatusDetail { + export type Code = + | 'determining_status' + | 'requirements_past_due' + | 'requirements_pending_verification' + | 'restricted_other' + | 'unsupported_business' + | 'unsupported_country' + | 'unsupported_entity_type'; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type Resolution = + | 'contact_stripe' + | 'no_resolution' + | 'provide_info'; + } + } + } + } + } + } - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } - - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace Defaults { + export type Locale = + | 'ar-SA' + | 'bg' + | 'bg-BG' + | 'cs' + | 'cs-CZ' + | 'da' + | 'da-DK' + | 'de' + | 'de-DE' + | 'el' + | 'el-GR' + | 'en' + | 'en-AU' + | 'en-CA' + | 'en-GB' + | 'en-IE' + | 'en-IN' + | 'en-NZ' + | 'en-SG' + | 'en-US' + | 'es' + | 'es-419' + | 'es-ES' + | 'et' + | 'et-EE' + | 'fi' + | 'fil' + | 'fil-PH' + | 'fi-FI' + | 'fr' + | 'fr-CA' + | 'fr-FR' + | 'he-IL' + | 'hr' + | 'hr-HR' + | 'hu' + | 'hu-HU' + | 'id' + | 'id-ID' + | 'it' + | 'it-IT' + | 'ja' + | 'ja-JP' + | 'ko' + | 'ko-KR' + | 'lt' + | 'lt-LT' + | 'lv' + | 'lv-LV' + | 'ms' + | 'ms-MY' + | 'mt' + | 'mt-MT' + | 'nb' + | 'nb-NO' + | 'nl' + | 'nl-NL' + | 'pl' + | 'pl-PL' + | 'pt' + | 'pt-BR' + | 'pt-PT' + | 'ro' + | 'ro-RO' + | 'ru' + | 'ru-RU' + | 'sk' + | 'sk-SK' + | 'sl' + | 'sl-SI' + | 'sv' + | 'sv-SE' + | 'th' + | 'th-TH' + | 'tr' + | 'tr-TR' + | 'vi' + | 'vi-VN' + | 'zh' + | 'zh-Hans' + | 'zh-Hant-HK' + | 'zh-Hant-TW' + | 'zh-HK' + | 'zh-TW'; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export interface Profile { + /** + * The business's publicly-available website. + */ + business_url?: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The customer-facing business name. + */ + doing_business_as?: string; - export namespace CryptoWallets { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes. + */ + product_description?: string; + } - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export interface Responsibilities { + /** + * Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products. + */ + fees_collector?: Responsibilities.FeesCollector; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * A value indicating the responsibility for losses on this account. + */ + losses_collector?: Responsibilities.LossesCollector; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * A value indicating responsibility for collecting requirements on this account. + */ + requirements_collector: Responsibilities.RequirementsCollector; + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export namespace Responsibilities { + export type FeesCollector = + | 'application' + | 'application_custom' + | 'application_express' + | 'stripe'; - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export type LossesCollector = 'application' | 'stripe'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export type RequirementsCollector = 'application' | 'stripe'; + } + } - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + export namespace FutureRequirements { + export interface Entry { + /** + * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`. + */ + awaiting_action_from: Entry.AwaitingActionFrom; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Machine-readable string describing the requirement. + */ + description: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe. + */ + errors: Array; - export namespace FinancialAccounts { - export interface Protections { - /** - * Protection details for PSP migration. - */ - psp_migration: Protections.PspMigration; - } + /** + * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information. + */ + impact: Entry.Impact; - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The soonest point when the account will be impacted by not providing the requirement. + */ + minimum_deadline: Entry.MinimumDeadline; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * A reference to the location of the requirement. + */ + reference?: Entry.Reference; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * A list of reasons why Stripe is collecting the requirement. + */ + requested_reasons: Array; + } - export namespace Protections { - export interface PspMigration { - /** - * The time until which the protection will expire, as a Unix timestamp. - */ - expires_at?: bigint; + export interface Summary { + /** + * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + */ + minimum_deadline?: Summary.MinimumDeadline; + } - /** - * The time at which the protection was requested, as a Unix timestamp. - */ - requested_at: bigint; + export namespace Entry { + export type AwaitingActionFrom = 'stripe' | 'user'; - /** - * The current status of the protection. - */ - status: PspMigration.Status; - } + export interface Error { + /** + * Machine-readable code describing the error. + */ + code: Error.Code; - export namespace PspMigration { - export type Status = - | 'active' - | 'disrupted' - | 'expired' - | 'inactive'; - } - } + /** + * Human-readable description of the error. + */ + description: string; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export interface Impact { + /** + * The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe. + */ + restricts_capabilities?: Array; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } - } - } + export interface MinimumDeadline { + /** + * The current status of the requirement's impact. + */ + status: MinimumDeadline.Status; } - export namespace Capabilities { - export interface AutomaticIndirectTax { - /** - * The status of the Capability. - */ - status: AutomaticIndirectTax.Status; + export interface Reference { + /** + * If `inquiry` is the type, the inquiry token. + */ + inquiry?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } - - export namespace AutomaticIndirectTax { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - /** - * A value indicating the responsibility for losses on this account. - */ - losses_collector?: Responsibilities.LossesCollector; - - /** - * A value indicating responsibility for collecting requirements on this account. - */ - requirements_collector: Responsibilities.RequirementsCollector; - } - - export namespace Responsibilities { - export type FeesCollector = - | 'application' - | 'application_custom' - | 'application_express' - | 'stripe'; - - export type LossesCollector = 'application' | 'stripe'; + /** + * If `resource` is the type, the resource token. + */ + resource?: string; - export type RequirementsCollector = 'application' | 'stripe'; - } + /** + * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. + * Otherwise the type is an API resource, the token for which can be found in the "resource" field. + */ + type: Reference.Type; } - export namespace FutureRequirements { - export interface Entry { - /** - * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`. - */ - awaiting_action_from: Entry.AwaitingActionFrom; - - /** - * Machine-readable string describing the requirement. - */ - description: string; - - /** - * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe. - */ - errors: Array; - - /** - * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information. - */ - impact: Entry.Impact; + export interface RequestedReason { + /** + * Machine-readable description of Stripe's reason for collecting the requirement. + */ + code: RequestedReason.Code; + } - /** - * The soonest point when the account will be impacted by not providing the requirement. - */ - minimum_deadline: Entry.MinimumDeadline; + export namespace Error { + export type Code = + | 'invalid_address_city_state_postal_code' + | 'invalid_address_highway_contract_box' + | 'invalid_address_private_mailbox' + | 'invalid_business_profile_name' + | 'invalid_business_profile_name_denylisted' + | 'invalid_company_name_denylisted' + | 'invalid_dob_age_over_maximum' + | 'invalid_dob_age_under_18' + | 'invalid_dob_age_under_minimum' + | 'invalid_product_description_length' + | 'invalid_product_description_url_match' + | 'invalid_representative_country' + | 'invalid_statement_descriptor_business_mismatch' + | 'invalid_statement_descriptor_denylisted' + | 'invalid_statement_descriptor_length' + | 'invalid_statement_descriptor_prefix_denylisted' + | 'invalid_statement_descriptor_prefix_mismatch' + | 'invalid_street_address' + | 'invalid_tax_id' + | 'invalid_tax_id_format' + | 'invalid_tos_acceptance' + | 'invalid_url_denylisted' + | 'invalid_url_format' + | 'invalid_url_website_business_information_mismatch' + | 'invalid_url_website_empty' + | 'invalid_url_website_inaccessible' + | 'invalid_url_website_inaccessible_geoblocked' + | 'invalid_url_website_inaccessible_password_protected' + | 'invalid_url_website_incomplete' + | 'invalid_url_website_incomplete_cancellation_policy' + | 'invalid_url_website_incomplete_customer_service_details' + | 'invalid_url_website_incomplete_legal_restrictions' + | 'invalid_url_website_incomplete_refund_policy' + | 'invalid_url_website_incomplete_return_policy' + | 'invalid_url_website_incomplete_terms_and_conditions' + | 'invalid_url_website_incomplete_under_construction' + | 'invalid_url_website_other' + | 'invalid_url_web_presence_detected' + | 'invalid_value_other' + | 'unresolvable_ip_address' + | 'unresolvable_postal_code' + | 'verification_directors_mismatch' + | 'verification_document_address_mismatch' + | 'verification_document_address_missing' + | 'verification_document_corrupt' + | 'verification_document_country_not_supported' + | 'verification_document_directors_mismatch' + | 'verification_document_dob_mismatch' + | 'verification_document_duplicate_type' + | 'verification_document_expired' + | 'verification_document_failed_copy' + | 'verification_document_failed_greyscale' + | 'verification_document_failed_other' + | 'verification_document_failed_test_mode' + | 'verification_document_fraudulent' + | 'verification_document_id_number_mismatch' + | 'verification_document_id_number_missing' + | 'verification_document_incomplete' + | 'verification_document_invalid' + | 'verification_document_issue_or_expiry_date_missing' + | 'verification_document_manipulated' + | 'verification_document_missing_back' + | 'verification_document_missing_front' + | 'verification_document_name_mismatch' + | 'verification_document_name_missing' + | 'verification_document_nationality_mismatch' + | 'verification_document_not_readable' + | 'verification_document_not_signed' + | 'verification_document_not_uploaded' + | 'verification_document_photo_mismatch' + | 'verification_document_too_large' + | 'verification_document_type_not_supported' + | 'verification_extraneous_directors' + | 'verification_failed_address_match' + | 'verification_failed_business_iec_number' + | 'verification_failed_document_match' + | 'verification_failed_id_number_match' + | 'verification_failed_keyed_identity' + | 'verification_failed_keyed_match' + | 'verification_failed_name_match' + | 'verification_failed_other' + | 'verification_failed_representative_authority' + | 'verification_failed_residential_address' + | 'verification_failed_tax_id_match' + | 'verification_failed_tax_id_not_issued' + | 'verification_missing_directors' + | 'verification_missing_executives' + | 'verification_missing_owners' + | 'verification_requires_additional_memorandum_of_associations' + | 'verification_requires_additional_proof_of_registration' + | 'verification_selfie_document_missing_photo' + | 'verification_selfie_face_mismatch' + | 'verification_selfie_manipulated' + | 'verification_selfie_unverified_other' + | 'verification_supportability' + | 'verification_token_stale'; + } + export namespace Impact { + export interface RestrictsCapability { /** - * A reference to the location of the requirement. + * The name of the Capability which will be restricted. */ - reference?: Entry.Reference; + capability: RestrictsCapability.Capability; /** - * A list of reasons why Stripe is collecting the requirement. + * The configuration which specifies the Capability which will be restricted. */ - requested_reasons: Array; - } + configuration: RestrictsCapability.Configuration; - export interface Summary { /** - * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. */ - minimum_deadline?: Summary.MinimumDeadline; + deadline: RestrictsCapability.Deadline; } - export namespace Entry { - export type AwaitingActionFrom = 'stripe' | 'user'; + export namespace RestrictsCapability { + export type Capability = + | 'ach_debit_payments' + | 'acss_debit_payments' + | 'affirm_payments' + | 'afterpay_clearpay_payments' + | 'alma_payments' + | 'amazon_pay_payments' + | 'automatic_indirect_tax' + | 'au_becs_debit_payments' + | 'bacs_debit_payments' + | 'bancontact_payments' + | 'bank_accounts.instant' + | 'bank_accounts.local' + | 'bank_accounts.wire' + | 'blik_payments' + | 'boleto_payments' + | 'cards' + | 'card_payments' + | 'cartes_bancaires_payments' + | 'cashapp_payments' + | 'commercial.celtic.charge_card' + | 'commercial.celtic.spend_card' + | 'commercial.cross_river_bank.charge_card' + | 'commercial.cross_river_bank.prepaid_card' + | 'commercial.cross_river_bank.spend_card' + | 'commercial.fifth_third.charge_card' + | 'commercial.lead.prepaid_card' + | 'commercial.stripe.charge_card' + | 'commercial.stripe.prepaid_card' + | 'consumer.celtic.revolving_credit_card' + | 'consumer.cross_river_bank.prepaid_card' + | 'consumer.holds_currencies.usd' + | 'consumer.lead.debit_card' + | 'consumer.lead.prepaid_card' + | 'crypto_wallets' + | 'eps_payments' + | 'financial_addresses.bank_accounts' + | 'fpx_payments' + | 'gb_bank_transfer_payments' + | 'grabpay_payments' + | 'holds_currencies.eur' + | 'holds_currencies.gbp' + | 'holds_currencies.usd' + | 'ideal_payments' + | 'inbound_transfers.financial_accounts' + | 'jcb_payments' + | 'jp_bank_transfer_payments' + | 'kakao_pay_payments' + | 'klarna_payments' + | 'konbini_payments' + | 'kr_card_payments' + | 'link_payments' + | 'mobilepay_payments' + | 'multibanco_payments' + | 'mx_bank_transfer_payments' + | 'naver_pay_payments' + | 'outbound_payments.bank_accounts' + | 'outbound_payments.cards' + | 'outbound_payments.financial_accounts' + | 'outbound_payments.paper_checks' + | 'outbound_transfers.bank_accounts' + | 'outbound_transfers.financial_accounts' + | 'oxxo_payments' + | 'p24_payments' + | 'paper_checks' + | 'payco_payments' + | 'paynow_payments' + | 'pay_by_bank_payments' + | 'promptpay_payments' + | 'revolut_pay_payments' + | 'samsung_pay_payments' + | 'sepa_bank_transfer_payments' + | 'sepa_debit_payments' + | 'stripe_balance.payouts' + | 'stripe_balance.stripe_transfers' + | 'swish_payments' + | 'twint_payments' + | 'us_bank_transfer_payments' + | 'zip_payments'; - export interface Error { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export type Configuration = + | 'card_creator' + | 'customer' + | 'merchant' + | 'recipient' + | 'storer'; + export interface Deadline { /** - * Machine-readable code explaining how to make the Capability active. + * The current status of the requirement's impact. */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export namespace Impact { - export interface RestrictsCapability { - /** - * The name of the Capability which will be restricted. - */ - capability: RestrictsCapability.Capability; - - /** - * The configuration which specifies the Capability which will be restricted. - */ - configuration: RestrictsCapability.Configuration; - - /** - * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. - */ - deadline: RestrictsCapability.Deadline; - } - - export namespace RestrictsCapability { - export type Capability = - | 'ach_debit_payments' - | 'acss_debit_payments' - | 'affirm_payments' - | 'afterpay_clearpay_payments' - | 'alma_payments' - | 'amazon_pay_payments' - | 'automatic_indirect_tax' - | 'au_becs_debit_payments' - | 'bacs_debit_payments' - | 'bancontact_payments' - | 'bank_accounts.instant' - | 'bank_accounts.local' - | 'bank_accounts.wire' - | 'blik_payments' - | 'boleto_payments' - | 'cards' - | 'card_payments' - | 'cartes_bancaires_payments' - | 'cashapp_payments' - | 'commercial.celtic.charge_card' - | 'commercial.celtic.spend_card' - | 'commercial.cross_river_bank.charge_card' - | 'commercial.cross_river_bank.prepaid_card' - | 'commercial.cross_river_bank.spend_card' - | 'commercial.fifth_third.charge_card' - | 'commercial.lead.prepaid_card' - | 'commercial.stripe.charge_card' - | 'commercial.stripe.prepaid_card' - | 'consumer.celtic.revolving_credit_card' - | 'consumer.cross_river_bank.prepaid_card' - | 'consumer.holds_currencies.usd' - | 'consumer.lead.debit_card' - | 'consumer.lead.prepaid_card' - | 'crypto_wallets' - | 'eps_payments' - | 'financial_addresses.bank_accounts' - | 'fpx_payments' - | 'gb_bank_transfer_payments' - | 'grabpay_payments' - | 'holds_currencies.eur' - | 'holds_currencies.gbp' - | 'holds_currencies.usd' - | 'ideal_payments' - | 'inbound_transfers.financial_accounts' - | 'jcb_payments' - | 'jp_bank_transfer_payments' - | 'kakao_pay_payments' - | 'klarna_payments' - | 'konbini_payments' - | 'kr_card_payments' - | 'link_payments' - | 'mobilepay_payments' - | 'multibanco_payments' - | 'mx_bank_transfer_payments' - | 'naver_pay_payments' - | 'outbound_payments.bank_accounts' - | 'outbound_payments.cards' - | 'outbound_payments.financial_accounts' - | 'outbound_payments.paper_checks' - | 'outbound_transfers.bank_accounts' - | 'outbound_transfers.financial_accounts' - | 'oxxo_payments' - | 'p24_payments' - | 'paper_checks' - | 'payco_payments' - | 'paynow_payments' - | 'pay_by_bank_payments' - | 'promptpay_payments' - | 'revolut_pay_payments' - | 'samsung_pay_payments' - | 'sepa_bank_transfer_payments' - | 'sepa_debit_payments' - | 'stripe_balance.payouts' - | 'stripe_balance.stripe_transfers' - | 'swish_payments' - | 'twint_payments' - | 'us_bank_transfer_payments' - | 'zip_payments'; - - export type Configuration = - | 'card_creator' - | 'customer' - | 'merchant' - | 'recipient' - | 'storer'; - - export interface Deadline { - /** - * The current status of the requirement's impact. - */ - status: Deadline.Status; - } - - export namespace Deadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } - } + status: Deadline.Status; } - export namespace MinimumDeadline { + export namespace Deadline { export type Status = | 'currently_due' | 'eventually_due' | 'past_due'; } - - export namespace Reference { - export type Type = 'inquiry' | 'payment_method' | 'person'; - } - - export namespace RequestedReason { - export type Code = 'routine_onboarding' | 'routine_verification'; - } } + } - export namespace Summary { - export interface MinimumDeadline { - /** - * The current strictest status of all requirements on the Account. - */ - status: MinimumDeadline.Status; + export namespace MinimumDeadline { + export type Status = 'currently_due' | 'eventually_due' | 'past_due'; + } - /** - * The soonest RFC3339 date & time UTC value a requirement can impact the Account. - */ - time?: string; - } - - export namespace MinimumDeadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } - } + export namespace Reference { + export type Type = 'inquiry' | 'payment_method' | 'person'; } - export namespace Shipping { - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } + export namespace RequestedReason { + export type Code = 'routine_onboarding' | 'routine_verification'; } } - export namespace Merchant { - export interface BacsDebitPayments { + export namespace Summary { + export interface MinimumDeadline { /** - * Display name for Bacs Direct Debit payments. + * The current strictest status of all requirements on the Account. */ - display_name?: string; + status: MinimumDeadline.Status; /** - * Service User Number (SUN) for Bacs Direct Debit payments. + * The soonest RFC3339 date & time UTC value a requirement can impact the Account. */ - service_user_number?: string; + time?: string; } - export interface Branding { - /** - * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px. - */ - icon?: string; + export namespace MinimumDeadline { + export type Status = 'currently_due' | 'eventually_due' | 'past_due'; + } + } + } - /** - * ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. - */ - logo?: string; + export namespace Identity { + export interface Attestations { + /** + * This hash is used to attest that the directors information provided to Stripe is both current and correct. + */ + directorship_declaration?: Attestations.DirectorshipDeclaration; - /** - * A CSS hex color value representing the primary branding color for the merchant. - */ - primary_color?: string; + /** + * This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct. + */ + ownership_declaration?: Attestations.OwnershipDeclaration; - /** - * A CSS hex color value representing the secondary branding color for the merchant. - */ - secondary_color?: string; - } + /** + * Attestation that all Persons with a specific Relationship value have been provided. + */ + persons_provided?: Attestations.PersonsProvided; - export interface Capabilities { - /** - * Allow the merchant to process ACH debit payments. - */ - ach_debit_payments?: Capabilities.AchDebitPayments; + /** + * This hash is used to attest that the representative is authorized to act as the representative of their legal entity. + */ + representative_declaration?: Attestations.RepresentativeDeclaration; - /** - * Allow the merchant to process ACSS debit payments. - */ - acss_debit_payments?: Capabilities.AcssDebitPayments; + /** + * Attestations of accepted terms of service agreements. + */ + terms_of_service?: Attestations.TermsOfService; + } - /** - * Allow the merchant to process Affirm payments. - */ - affirm_payments?: Capabilities.AffirmPayments; + export interface BusinessDetails { + /** + * The company's primary address. + */ + address?: BusinessDetails.Address; - /** - * Allow the merchant to process Afterpay/Clearpay payments. - */ - afterpay_clearpay_payments?: Capabilities.AfterpayClearpayPayments; + /** + * The business gross annual revenue for its preceding fiscal year. + */ + annual_revenue?: BusinessDetails.AnnualRevenue; - /** - * Allow the merchant to process Alma payments. - */ - alma_payments?: Capabilities.AlmaPayments; + /** + * A detailed description of the business's compliance and anti-money laundering controls and practices. + */ + compliance_screening_description?: string; - /** - * Allow the merchant to process Amazon Pay payments. - */ - amazon_pay_payments?: Capabilities.AmazonPayPayments; + /** + * Documents that may be submitted to satisfy various informational requests. + */ + documents?: BusinessDetails.Documents; - /** - * Allow the merchant to process Australian BECS Direct Debit payments. - */ - au_becs_debit_payments?: Capabilities.AuBecsDebitPayments; + /** + * Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors). + */ + estimated_worker_count?: number; - /** - * Allow the merchant to process BACS Direct Debit payments. - */ - bacs_debit_payments?: Capabilities.BacsDebitPayments; + /** + * The provided ID numbers of a business entity. + */ + id_numbers?: Array; - /** - * Allow the merchant to process Bancontact payments. - */ - bancontact_payments?: Capabilities.BancontactPayments; + /** + * An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India. + */ + monthly_estimated_revenue?: BusinessDetails.MonthlyEstimatedRevenue; - /** - * Allow the merchant to process BLIK payments. - */ - blik_payments?: Capabilities.BlikPayments; + /** + * The company's phone number (used for verification). + */ + phone?: string; - /** - * Allow the merchant to process Boleto payments. - */ - boleto_payments?: Capabilities.BoletoPayments; + /** + * The business legal name. + */ + registered_name?: string; - /** - * Allow the merchant to collect card payments. - */ - card_payments?: Capabilities.CardPayments; + /** + * When the business was incorporated or registered. + */ + registration_date?: BusinessDetails.RegistrationDate; - /** - * Allow the merchant to process Cartes Bancaires payments. - */ - cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; + /** + * The business registration address of the business entity in non latin script. + */ + script_addresses?: BusinessDetails.ScriptAddresses; - /** - * Allow the merchant to process Cash App payments. - */ - cashapp_payments?: Capabilities.CashappPayments; + /** + * The business legal name in non latin script. + */ + script_names?: BusinessDetails.ScriptNames; - /** - * Allow the merchant to process EPS payments. - */ - eps_payments?: Capabilities.EpsPayments; + /** + * The category identifying the legal structure of the business. + */ + structure?: BusinessDetails.Structure; + } - /** - * Allow the merchant to process FPX payments. - */ - fpx_payments?: Capabilities.FpxPayments; + export type EntityType = + | 'company' + | 'government_entity' + | 'individual' + | 'non_profit'; - /** - * Allow the merchant to process UK bank transfer payments. - */ - gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments; + export interface Individual { + /** + * The account ID which the individual belongs to. + */ + account: string; - /** - * Allow the merchant to process GrabPay payments. - */ - grabpay_payments?: Capabilities.GrabpayPayments; + /** + * Additional addresses associated with the individual. + */ + additional_addresses?: Array; - /** - * Allow the merchant to process iDEAL payments. - */ - ideal_payments?: Capabilities.IdealPayments; + /** + * Additional names (e.g. aliases) associated with the individual. + */ + additional_names?: Array; - /** - * Allow the merchant to process JCB card payments. - */ - jcb_payments?: Capabilities.JcbPayments; + /** + * Terms of service acceptances. + */ + additional_terms_of_service?: Individual.AdditionalTermsOfService; - /** - * Allow the merchant to process Japanese bank transfer payments. - */ - jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments; + /** + * The individual's residential address. + */ + address?: Individual.Address; - /** - * Allow the merchant to process Kakao Pay payments. - */ - kakao_pay_payments?: Capabilities.KakaoPayPayments; + /** + * Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + created: string; - /** - * Allow the merchant to process Klarna payments. - */ - klarna_payments?: Capabilities.KlarnaPayments; + /** + * The individual's date of birth. + */ + date_of_birth?: Individual.DateOfBirth; - /** - * Allow the merchant to process Konbini convenience store payments. - */ - konbini_payments?: Capabilities.KonbiniPayments; + /** + * Documents that may be submitted to satisfy various informational requests. + */ + documents?: Individual.Documents; - /** - * Allow the merchant to process Korean card payments. - */ - kr_card_payments?: Capabilities.KrCardPayments; + /** + * The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account. + */ + email?: string; - /** - * Allow the merchant to process Link payments. - */ - link_payments?: Capabilities.LinkPayments; + /** + * The individual's first name. + */ + given_name?: string; - /** - * Allow the merchant to process MobilePay payments. - */ - mobilepay_payments?: Capabilities.MobilepayPayments; + /** + * Unique identifier for the object. + */ + id: string; - /** - * Allow the merchant to process Multibanco payments. - */ - multibanco_payments?: Capabilities.MultibancoPayments; + /** + * The identification numbers (e.g., SSN) associated with the individual. + */ + id_numbers?: Array; - /** - * Allow the merchant to process Mexican bank transfer payments. - */ - mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments; + /** + * The individual's gender (International regulations require either "male” or "female"). + */ + legal_gender?: Individual.LegalGender; - /** - * Allow the merchant to process Naver Pay payments. - */ - naver_pay_payments?: Capabilities.NaverPayPayments; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata?: Metadata; - /** - * Allow the merchant to process OXXO payments. - */ - oxxo_payments?: Capabilities.OxxoPayments; + /** + * The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + nationalities?: Array; - /** - * Allow the merchant to process Przelewy24 (P24) payments. - */ - p24_payments?: Capabilities.P24Payments; + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: string; - /** - * Allow the merchant to process Pay by Bank payments. - */ - pay_by_bank_payments?: Capabilities.PayByBankPayments; + /** + * The individual's phone number. + */ + phone?: string; - /** - * Allow the merchant to process PAYCO payments. - */ - payco_payments?: Capabilities.PaycoPayments; + /** + * Indicates if the individual or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. + */ + political_exposure?: Individual.PoliticalExposure; - /** - * Allow the merchant to process PayNow payments. - */ - paynow_payments?: Capabilities.PaynowPayments; + /** + * The relationship that this individual has with the Account's identity. + */ + relationship?: Individual.Relationship; - /** - * Allow the merchant to process PromptPay payments. - */ - promptpay_payments?: Capabilities.PromptpayPayments; + /** + * The script addresses (e.g., non-Latin characters) associated with the individual. + */ + script_addresses?: Individual.ScriptAddresses; - /** - * Allow the merchant to process Revolut Pay payments. - */ - revolut_pay_payments?: Capabilities.RevolutPayPayments; + /** + * The script names (e.g. non-Latin characters) associated with the individual. + */ + script_names?: Individual.ScriptNames; + + /** + * The individual's last name. + */ + surname?: string; + + /** + * Time at which the object was last updated. + */ + updated: string; + } + export namespace Attestations { + export interface DirectorshipDeclaration { /** - * Allow the merchant to process Samsung Pay payments. + * The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - samsung_pay_payments?: Capabilities.SamsungPayPayments; + date?: string; /** - * Allow the merchant to process SEPA bank transfer payments. + * The IP address from which the director attestation was made. */ - sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments; + ip?: string; /** - * Allow the merchant to process SEPA Direct Debit payments. + * The user agent of the browser from which the director attestation was made. */ - sepa_debit_payments?: Capabilities.SepaDebitPayments; + user_agent?: string; + } + export interface OwnershipDeclaration { /** - * Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance). + * The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - stripe_balance?: Capabilities.StripeBalance; + date?: string; /** - * Allow the merchant to process Swish payments. + * The IP address from which the beneficial owner attestation was made. */ - swish_payments?: Capabilities.SwishPayments; + ip?: string; /** - * Allow the merchant to process TWINT payments. + * The user agent of the browser from which the beneficial owner attestation was made. */ - twint_payments?: Capabilities.TwintPayments; + user_agent?: string; + } + export interface PersonsProvided { /** - * Allow the merchant to process US bank transfer payments. + * Whether the company's directors have been provided. Set this Boolean to true after creating all the company's directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). */ - us_bank_transfer_payments?: Capabilities.UsBankTransferPayments; + directors?: boolean; /** - * Allow the merchant to process Zip payments. + * Whether the company's executives have been provided. Set this Boolean to true after creating all the company's executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). */ - zip_payments?: Capabilities.ZipPayments; - } + executives?: boolean; - export interface CardPayments { /** - * Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. + * Whether the company's owners have been provided. Set this Boolean to true after creating all the company's owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). */ - decline_on?: CardPayments.DeclineOn; - } + owners?: boolean; - export interface KonbiniPayments { /** - * Support for Konbini payments. + * Reason for why the company is exempt from providing ownership information. */ - support?: KonbiniPayments.Support; + ownership_exemption_reason?: PersonsProvided.OwnershipExemptionReason; } - export interface ScriptStatementDescriptor { + export interface RepresentativeDeclaration { /** - * The Kana variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). + * The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - kana?: ScriptStatementDescriptor.Kana; + date?: string; /** - * The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors). + * The IP address from which the representative attestation was made. */ - kanji?: ScriptStatementDescriptor.Kanji; - } + ip?: string; - export interface SepaDebitPayments { /** - * Creditor ID for SEPA Direct Debit payments. + * The user agent of the browser from which the representative attestation was made. */ - creditor_id?: string; + user_agent?: string; } - export interface StatementDescriptor { + export interface TermsOfService { /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). */ - descriptor?: string; + account?: TermsOfService.Account; /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. + * Details on the Account's acceptance of Issuing-specific terms of service. */ - prefix?: string; - } + card_creator?: TermsOfService.CardCreator; - export interface Support { /** - * A publicly available mailing address for sending support issues to. + * Details on the Account's acceptance of Consumer-privacy-disclosures-specific terms of service. */ - address?: Support.Address; + consumer_privacy_disclosures?: TermsOfService.ConsumerPrivacyDisclosures; /** - * A publicly available email address for sending support issues to. + * Details on the Account's acceptance of Consumer-storer-specific terms of service. */ - email?: string; + consumer_storer?: TermsOfService.ConsumerStorer; /** - * A publicly available phone number to call with support issues. + * Details on the Account's acceptance of Crypto-storer-specific terms of service. */ - phone?: string; + crypto_storer?: TermsOfService.CryptoStorer; /** - * A publicly available website for handling support issues. + * Details on the Account's acceptance of Treasury-specific terms of service. */ - url?: string; + storer?: TermsOfService.Storer; } - export namespace Capabilities { - export interface AchDebitPayments { - /** - * The status of the Capability. - */ - status: AchDebitPayments.Status; + export namespace PersonsProvided { + export type OwnershipExemptionReason = + | 'qualified_entity_exceeds_ownership_threshold' + | 'qualifies_as_financial_institution'; + } + export namespace TermsOfService { + export interface Account { /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - status_details: Array; - } + date?: string; - export interface AcssDebitPayments { /** - * The status of the Capability. + * The IP address from which the Account's representative accepted the terms of service. */ - status: AcssDebitPayments.Status; + ip?: string; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The user agent of the browser from which the Account's representative accepted the terms of service. */ - annual_revenue?: BusinessDetails.AnnualRevenue; + user_agent?: string; + } + export interface CardCreator { /** - * A detailed description of the business's compliance and anti-money laundering controls and practices. + * Terms of service acceptances to create cards for commercial issuing use cases. */ - compliance_screening_description?: string; + commercial?: CardCreator.Commercial; /** - * Documents that may be submitted to satisfy various informational requests. + * Terms of service acceptances to create cards for consumer issuing use cases. */ - documents?: BusinessDetails.Documents; + consumer?: CardCreator.Consumer; + } + export interface ConsumerPrivacyDisclosures { /** - * Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors). + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - estimated_worker_count?: number; + date?: string; /** - * The provided ID numbers of a business entity. + * The IP address from which the Account's representative accepted the terms of service. */ - id_numbers?: Array; + ip?: string; /** - * An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India. + * The user agent of the browser from which the Account's representative accepted the terms of service. */ - monthly_estimated_revenue?: BusinessDetails.MonthlyEstimatedRevenue; + user_agent?: string; + } + export interface ConsumerStorer { /** - * The company's phone number (used for verification). + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - phone?: string; + date?: string; /** - * The business legal name. + * The IP address from which the Account's representative accepted the terms of service. */ - registered_name?: string; + ip?: string; /** - * When the business was incorporated or registered. + * The user agent of the browser from which the Account's representative accepted the terms of service. */ - registration_date?: BusinessDetails.RegistrationDate; + user_agent?: string; + } + export interface CryptoStorer { /** - * The business registration address of the business entity in non latin script. + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - script_addresses?: BusinessDetails.ScriptAddresses; + date?: string; /** - * The business legal name in non latin script. + * The IP address from which the Account's representative accepted the terms of service. */ - script_names?: BusinessDetails.ScriptNames; + ip?: string; /** - * The category identifying the legal structure of the business. + * The user agent of the browser from which the Account's representative accepted the terms of service. */ - structure?: BusinessDetails.Structure; + user_agent?: string; } - export interface AffirmPayments { - /** - * The status of the Capability. - */ - status: AffirmPayments.Status; - + export interface Storer { /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. */ - status_details: Array; - } + date?: string; - export interface AfterpayClearpayPayments { /** - * The status of the Capability. + * The IP address from which the Account's representative accepted the terms of service. */ - status: AfterpayClearpayPayments.Status; + ip?: string; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * The user agent of the browser from which the Account's representative accepted the terms of service. */ - status_details: Array; + user_agent?: string; } - export interface AlmaPayments { - /** - * The status of the Capability. - */ - status: AlmaPayments.Status; + export namespace CardCreator { + export interface Commercial { + /** + * Terms of service acceptances for Stripe commercial card issuing. + */ + account_holder?: Commercial.AccountHolder; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor. + */ + celtic?: Commercial.Celtic; - export interface AmazonPayPayments { - /** - * The status of the Capability. - */ - status: AmazonPayPayments.Status; + /** + * Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor. + */ + cross_river_bank?: Commercial.CrossRiverBank; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for commercial issuing cards with Fifth Third as BIN sponsor. + */ + fifth_third?: Commercial.FifthThird; - export interface AuBecsDebitPayments { - /** - * The status of the Capability. - */ - status: AuBecsDebitPayments.Status; + /** + * Terms of service acceptances for Stripe commercial card Global issuing. + */ + global_account_holder?: Commercial.GlobalAccountHolder; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor. + */ + lead?: Commercial.Lead; + } - export interface BacsDebitPayments { - /** - * The status of the Capability. - */ - status: BacsDebitPayments.Status; + export interface Consumer { + /** + * Terms of service acceptances for Stripe commercial card issuing. + */ + account_holder?: Consumer.AccountHolder; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor. + */ + celtic?: Consumer.Celtic; - export interface BancontactPayments { - /** - * The status of the Capability. - */ - status: BancontactPayments.Status; + /** + * Terms of service acceptances for consumer issuing cards with Cross River Bank as BIN sponsor. + */ + cross_river_bank?: Consumer.CrossRiverBank; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for Stripe commercial card Global issuing. + */ + global_account_holder?: Consumer.GlobalAccountHolder; - export interface BlikPayments { - /** - * The status of the Capability. - */ - status: BlikPayments.Status; + /** + * Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor. + */ + lead?: Consumer.Lead; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace Commercial { + export interface AccountHolder { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface BoletoPayments { - /** - * The status of the Capability. - */ - status: BoletoPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface CardPayments { - /** - * The status of the Capability. - */ - status: CardPayments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface Celtic { + /** + * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor. + */ + apple_pay?: Celtic.ApplePay; - export interface CartesBancairesPayments { - /** - * The status of the Capability. - */ - status: CartesBancairesPayments.Status; + /** + * Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor. + */ + charge_card?: Celtic.ChargeCard; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor. + */ + spend_card?: Celtic.SpendCard; + } - export interface CashappPayments { - /** - * The status of the Capability. - */ - status: CashappPayments.Status; + export interface CrossRiverBank { + /** + * Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor. + */ + apple_pay?: CrossRiverBank.ApplePay; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor. + */ + charge_card?: CrossRiverBank.ChargeCard; - export interface EpsPayments { - /** - * The status of the Capability. - */ - status: EpsPayments.Status; + /** + * Terms of service acceptances for commercial issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + prepaid_card?: CrossRiverBank.PrepaidCard; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor. + */ + spend_card?: CrossRiverBank.SpendCard; + } - export interface FpxPayments { - /** - * The status of the Capability. - */ - status: FpxPayments.Status; + export interface FifthThird { + /** + * Bank terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor. + */ + bank_terms?: FifthThird.BankTerms; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Platform terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor. + */ + platform?: FifthThird.Platform; + } - export interface GbBankTransferPayments { - /** - * The status of the Capability. - */ - status: GbBankTransferPayments.Status; + export interface GlobalAccountHolder { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export interface GrabpayPayments { - /** - * The status of the Capability. - */ - status: GrabpayPayments.Status; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export interface IdealPayments { - /** - * The status of the Capability. - */ - status: IdealPayments.Status; + export interface Lead { + /** + * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor. + */ + apple_pay?: Lead.ApplePay; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Terms of service acceptances for commercial issuing Global prepaid cards with Lead as BIN sponsor. + */ + prepaid_card?: Lead.PrepaidCard; + } - export interface JcbPayments { - /** - * The status of the Capability. - */ - status: JcbPayments.Status; + export namespace Celtic { + export interface ApplePay { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export interface JpBankTransferPayments { - /** - * The status of the Capability. - */ - status: JpBankTransferPayments.Status; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export interface KakaoPayPayments { - /** - * The status of the Capability. - */ - status: KakaoPayPayments.Status; + export interface ChargeCard { + /** + * Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor. + */ + bank_terms?: ChargeCard.BankTerms; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor. + */ + platform?: ChargeCard.Platform; + } - export interface KlarnaPayments { - /** - * The status of the Capability. - */ - status: KlarnaPayments.Status; + export interface SpendCard { + /** + * Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. + */ + bank_terms?: SpendCard.BankTerms; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. + */ + financing_disclosures?: SpendCard.FinancingDisclosures; - export interface KonbiniPayments { - /** - * The status of the Capability. - */ - status: KonbiniPayments.Status; + /** + * Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. + */ + platform?: SpendCard.Platform; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace ChargeCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface KrCardPayments { - /** - * The status of the Capability. - */ - status: KrCardPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface LinkPayments { - /** - * The status of the Capability. - */ - status: LinkPayments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface MobilepayPayments { - /** - * The status of the Capability. - */ - status: MobilepayPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface MultibancoPayments { - /** - * The status of the Capability. - */ - status: MultibancoPayments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace SpendCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface MxBankTransferPayments { - /** - * The status of the Capability. - */ - status: MxBankTransferPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface NaverPayPayments { - /** - * The status of the Capability. - */ - status: NaverPayPayments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface FinancingDisclosures { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface OxxoPayments { - /** - * The status of the Capability. - */ - status: OxxoPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface P24Payments { - /** - * The status of the Capability. - */ - status: P24Payments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface PayByBankPayments { - /** - * The status of the Capability. - */ - status: PayByBankPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface PaycoPayments { - /** - * The status of the Capability. - */ - status: PaycoPayments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export namespace CrossRiverBank { + export interface ApplePay { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface PaynowPayments { - /** - * The status of the Capability. - */ - status: PaynowPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface PromptpayPayments { - /** - * The status of the Capability. - */ - status: PromptpayPayments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface ChargeCard { + /** + * Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor. + */ + bank_terms?: ChargeCard.BankTerms; - export interface RevolutPayPayments { - /** - * The status of the Capability. - */ - status: RevolutPayPayments.Status; + /** + * Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor. + */ + financing_disclosures?: ChargeCard.FinancingDisclosures; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor. + */ + platform?: ChargeCard.Platform; + } - export interface SamsungPayPayments { - /** - * The status of the Capability. - */ - status: SamsungPayPayments.Status; + export interface PrepaidCard { + /** + * Bank terms of service acceptance for commercial Global issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + bank_terms?: PrepaidCard.BankTerms; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Platform terms of service acceptance for commercial Global issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + platform?: PrepaidCard.Platform; + } - export interface SepaBankTransferPayments { - /** - * The status of the Capability. - */ - status: SepaBankTransferPayments.Status; + export interface SpendCard { + /** + * Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor. + */ + bank_terms?: SpendCard.BankTerms; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor. + */ + financing_disclosures?: SpendCard.FinancingDisclosures; + } - export interface SepaDebitPayments { - /** - * The status of the Capability. - */ - status: SepaDebitPayments.Status; + export namespace ChargeCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export interface StripeBalance { - /** - * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). - */ - payouts?: StripeBalance.Payouts; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface SwishPayments { - /** - * The status of the Capability. - */ - status: SwishPayments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface FinancingDisclosures { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface TwintPayments { - /** - * The status of the Capability. - */ - status: TwintPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface UsBankTransferPayments { - /** - * The status of the Capability. - */ - status: UsBankTransferPayments.Status; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface ZipPayments { - /** - * The status of the Capability. - */ - status: ZipPayments.Status; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export namespace AchDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace PrepaidCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export namespace AcssDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export namespace SpendCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export namespace AffirmPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export interface FinancingDisclosures { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export namespace AfterpayClearpayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace FifthThird { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export namespace AlmaPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } - export namespace AmazonPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace Lead { + export interface ApplePay { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export interface PrepaidCard { + /** + * Bank terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor. + */ + bank_terms?: PrepaidCard.BankTerms; - export namespace AuBecsDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * Platform terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor. + */ + platform?: PrepaidCard.Platform; + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + export namespace PrepaidCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export namespace BacsDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; + + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } + } } - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + export namespace Consumer { + export interface AccountHolder { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export namespace BancontactPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export interface Celtic { + /** + * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor. + */ + apple_pay?: Celtic.ApplePay; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * Terms of service acceptances for commercial issuing revolving credit cards with Celtic as BIN sponsor. + */ + revolving_credit_card?: Celtic.RevolvingCreditCard; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export interface CrossRiverBank { + /** + * Terms of service acceptances for consumer issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + prepaid_card?: CrossRiverBank.PrepaidCard; + } - export namespace BlikPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export interface GlobalAccountHolder { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + export interface Lead { + /** + * Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor. + */ + apple_pay?: Lead.ApplePay; - export namespace BoletoPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor. + */ + debit_card?: Lead.DebitCard; - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; + /** + * Terms of service acceptances for commercial issuing revolving credit cards with Lead as BIN sponsor. + */ + prepaid_card?: Lead.PrepaidCard; + } - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } + export namespace Celtic { + export interface ApplePay { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export namespace CardPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace CartesBancairesPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace CashappPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace EpsPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace FpxPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace GbBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace GrabpayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace IdealPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace JcbPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace JpBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace KakaoPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace KlarnaPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace KonbiniPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace KrCardPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace LinkPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace MobilepayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace MultibancoPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace MxBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace NaverPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace OxxoPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace P24Payments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace PayByBankPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace PaycoPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace PaynowPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace PromptpayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace RevolutPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace SamsungPayPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace SepaBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace SepaDebitPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace StripeBalance { - export interface Payouts { - /** - * The status of the Capability. - */ - status: Payouts.Status; - - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } - - export namespace Payouts { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } - - export namespace SwishPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace TwintPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace UsBankTransferPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace ZipPayments { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } - - export namespace CardPayments { - export interface DeclineOn { - /** - * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. - */ - avs_failure?: boolean; - - /** - * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. - */ - cvc_failure?: boolean; - } - } - - export namespace KonbiniPayments { - export interface Support { - /** - * Support email address for Konbini payments. - */ - email?: string; - - /** - * Support hours for Konbini payments. - */ - hours?: Support.Hours; - - /** - * Support phone number for Konbini payments. - */ - phone?: string; - } - - export namespace Support { - export interface Hours { - /** - * Support hours end time (JST time of day) for in `HH:MM` format. - */ - end_time?: string; - - /** - * Support hours start time (JST time of day) for in `HH:MM` format. - */ - ip?: string; - - /** - * The user agent of the browser from which the director attestation was made. - */ - user_agent?: string; - } - - export interface OwnershipDeclaration { - /** - * The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the beneficial owner attestation was made. - */ - ip?: string; - - /** - * The user agent of the browser from which the beneficial owner attestation was made. - */ - user_agent?: string; - } - - export interface PersonsProvided { - /** - * Whether the company's directors have been provided. Set this Boolean to true after creating all the company's directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - directors?: boolean; - - /** - * Whether the company's executives have been provided. Set this Boolean to true after creating all the company's executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - executives?: boolean; - - /** - * Whether the company's owners have been provided. Set this Boolean to true after creating all the company's owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - owners?: boolean; - - /** - * Reason for why the company is exempt from providing ownership information. - */ - ownership_exemption_reason?: PersonsProvided.OwnershipExemptionReason; - } - - export interface RepresentativeDeclaration { - /** - * The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the representative attestation was made. - */ - ip?: string; - - /** - * The user agent of the browser from which the representative attestation was made. - */ - user_agent?: string; - } - - export interface TermsOfService { - /** - * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). - */ - account?: TermsOfService.Account; - - /** - * Details on the Account's acceptance of Issuing-specific terms of service. - */ - card_creator?: TermsOfService.CardCreator; - - /** - * Details on the Account's acceptance of Consumer-privacy-disclosures-specific terms of service. - */ - consumer_privacy_disclosures?: TermsOfService.ConsumerPrivacyDisclosures; - - /** - * Details on the Account's acceptance of Consumer-storer-specific terms of service. - */ - consumer_storer?: TermsOfService.ConsumerStorer; - - /** - * Details on the Account's acceptance of Crypto-storer-specific terms of service. - */ - crypto_storer?: TermsOfService.CryptoStorer; - - /** - * Details on the Account's acceptance of Treasury-specific terms of service. - */ - storer?: TermsOfService.Storer; - } - - export namespace PersonsProvided { - export type OwnershipExemptionReason = - | 'qualified_entity_exceeds_ownership_threshold' - | 'qualifies_as_financial_institution'; - } - - export namespace TermsOfService { - export interface Account { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface CardCreator { - /** - * Terms of service acceptances to create cards for commercial issuing use cases. - */ - commercial?: CardCreator.Commercial; - - /** - * Terms of service acceptances to create cards for consumer issuing use cases. - */ - consumer?: CardCreator.Consumer; - } - - export interface ConsumerPrivacyDisclosures { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface ConsumerStorer { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface CryptoStorer { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Storer { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export namespace CardCreator { - export interface Commercial { - /** - * Terms of service acceptances for Stripe commercial card issuing. - */ - account_holder?: Commercial.AccountHolder; - - /** - * Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor. - */ - celtic?: Commercial.Celtic; - - /** - * Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor. - */ - cross_river_bank?: Commercial.CrossRiverBank; - - /** - * Terms of service acceptances for commercial issuing cards with Fifth Third as BIN sponsor. - */ - fifth_third?: Commercial.FifthThird; - - /** - * Terms of service acceptances for Stripe commercial card Global issuing. - */ - global_account_holder?: Commercial.GlobalAccountHolder; - - /** - * Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor. - */ - lead?: Commercial.Lead; - } - - export interface Consumer { - /** - * Terms of service acceptances for Stripe commercial card issuing. - */ - account_holder?: Consumer.AccountHolder; - - /** - * Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor. - */ - celtic?: Consumer.Celtic; - - /** - * Terms of service acceptances for consumer issuing cards with Cross River Bank as BIN sponsor. - */ - cross_river_bank?: Consumer.CrossRiverBank; - - /** - * Terms of service acceptances for Stripe commercial card Global issuing. - */ - global_account_holder?: Consumer.GlobalAccountHolder; - - /** - * Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor. - */ - lead?: Consumer.Lead; - } - - export namespace Commercial { - export interface AccountHolder { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Celtic { - /** - * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor. - */ - apple_pay?: Celtic.ApplePay; - - /** - * Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor. - */ - charge_card?: Celtic.ChargeCard; - - /** - * Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor. - */ - spend_card?: Celtic.SpendCard; - } - - export interface CrossRiverBank { - /** - * Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor. - */ - apple_pay?: CrossRiverBank.ApplePay; - - /** - * Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor. - */ - charge_card?: CrossRiverBank.ChargeCard; - - /** - * Terms of service acceptances for commercial issuing prepaid cards with Cross River Bank as BIN sponsor. - */ - prepaid_card?: CrossRiverBank.PrepaidCard; - - /** - * Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor. - */ - spend_card?: CrossRiverBank.SpendCard; - } - - export interface FifthThird { - /** - * Bank terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor. - */ - bank_terms?: FifthThird.BankTerms; - - /** - * Platform terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor. - */ - platform?: FifthThird.Platform; - } - - export interface GlobalAccountHolder { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Lead { - /** - * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor. - */ - apple_pay?: Lead.ApplePay; - - /** - * Terms of service acceptances for commercial issuing Global prepaid cards with Lead as BIN sponsor. - */ - prepaid_card?: Lead.PrepaidCard; - } - - export namespace Celtic { - export interface ApplePay { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface ChargeCard { - /** - * Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor. - */ - bank_terms?: ChargeCard.BankTerms; - - /** - * Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor. - */ - platform?: ChargeCard.Platform; - } - - export interface SpendCard { - /** - * Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. - */ - bank_terms?: SpendCard.BankTerms; - - /** - * Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. - */ - financing_disclosures?: SpendCard.FinancingDisclosures; - - /** - * Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. - */ - platform?: SpendCard.Platform; - } - - export namespace ChargeCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - - export namespace SpendCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface FinancingDisclosures { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - } - - export namespace CrossRiverBank { - export interface ApplePay { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface ChargeCard { - /** - * Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor. - */ - bank_terms?: ChargeCard.BankTerms; - - /** - * Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor. - */ - financing_disclosures?: ChargeCard.FinancingDisclosures; - - /** - * Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor. - */ - platform?: ChargeCard.Platform; - } - - export interface PrepaidCard { - /** - * Bank terms of service acceptance for commercial Global issuing prepaid cards with Cross River Bank as BIN sponsor. - */ - bank_terms?: PrepaidCard.BankTerms; - - /** - * Platform terms of service acceptance for commercial Global issuing prepaid cards with Cross River Bank as BIN sponsor. - */ - platform?: PrepaidCard.Platform; - } - - export interface SpendCard { - /** - * Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor. - */ - bank_terms?: SpendCard.BankTerms; - - /** - * Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor. - */ - financing_disclosures?: SpendCard.FinancingDisclosures; - } - - export namespace ChargeCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface FinancingDisclosures { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - - export namespace PrepaidCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - - export namespace SpendCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface FinancingDisclosures { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - } - - export namespace FifthThird { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - - export namespace Lead { - export interface ApplePay { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface PrepaidCard { - /** - * Bank terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor. - */ - bank_terms?: PrepaidCard.BankTerms; - - /** - * Platform terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor. - */ - platform?: PrepaidCard.Platform; - } - - export namespace PrepaidCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - } - } - - export namespace Consumer { - export interface AccountHolder { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Celtic { - /** - * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor. - */ - apple_pay?: Celtic.ApplePay; - - /** - * Terms of service acceptances for commercial issuing revolving credit cards with Celtic as BIN sponsor. - */ - revolving_credit_card?: Celtic.RevolvingCreditCard; - } - - export interface CrossRiverBank { - /** - * Terms of service acceptances for consumer issuing prepaid cards with Cross River Bank as BIN sponsor. - */ - prepaid_card?: CrossRiverBank.PrepaidCard; - } - - export interface GlobalAccountHolder { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Lead { - /** - * Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor. - */ - apple_pay?: Lead.ApplePay; - - /** - * Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor. - */ - debit_card?: Lead.DebitCard; - - /** - * Terms of service acceptances for commercial issuing revolving credit cards with Lead as BIN sponsor. - */ - prepaid_card?: Lead.PrepaidCard; - } - - export namespace Celtic { - export interface ApplePay { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface RevolvingCreditCard { - /** - * Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. - */ - bank_terms?: RevolvingCreditCard.BankTerms; - - /** - * Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. - */ - financing_disclosures?: RevolvingCreditCard.FinancingDisclosures; - - /** - * Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. - */ - platform?: RevolvingCreditCard.Platform; - } - - export namespace RevolvingCreditCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface FinancingDisclosures { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - } - - export namespace CrossRiverBank { - export interface PrepaidCard { - /** - * Bank terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor. - */ - bank_terms?: PrepaidCard.BankTerms; - - /** - * Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor. - */ - financing_disclosures?: PrepaidCard.FinancingDisclosures; - - /** - * Platform terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor. - */ - platform?: PrepaidCard.Platform; - } - - export namespace PrepaidCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface FinancingDisclosures { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - } - - export namespace Lead { - export interface ApplePay { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface DebitCard { - /** - * Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. - */ - bank_terms?: DebitCard.BankTerms; - - /** - * Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. - */ - financing_disclosures?: DebitCard.FinancingDisclosures; - - /** - * Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. - */ - platform?: DebitCard.Platform; - } - - export interface PrepaidCard { - /** - * Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor. - */ - bank_terms?: PrepaidCard.BankTerms; - - /** - * Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor. - */ - financing_disclosures?: PrepaidCard.FinancingDisclosures; - - /** - * Platform terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor. - */ - platform?: PrepaidCard.Platform; - } - - export namespace DebitCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface FinancingDisclosures { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - - export namespace PrepaidCard { - export interface BankTerms { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface FinancingDisclosures { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - - export interface Platform { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The URL to the service agreement the Account's representative accepted. - */ - url?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - } - } - } - } - } - - export namespace BusinessDetails { - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface AnnualRevenue { - /** - * Annual revenue amount in minor currency units (for example, '123' for 1.23 USD). - */ - amount?: V2Amount; - - /** - * The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. - */ - fiscal_year_end?: string; - } - - export interface Documents { - /** - * One or more documents that support the Bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check. - */ - bank_account_ownership_verification?: Documents.BankAccountOwnershipVerification; - - /** - * One or more documents that demonstrate proof of a company's license to operate. - */ - company_license?: Documents.CompanyLicense; - - /** - * One or more documents showing the company's Memorandum of Association. - */ - company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation; - - /** - * Certain countries only: One or more documents showing the ministerial decree legalizing the company's establishment. - */ - company_ministerial_decree?: Documents.CompanyMinisterialDecree; - - /** - * One or more documents that demonstrate proof of a company's registration with the appropriate local authorities. - */ - company_registration_verification?: Documents.CompanyRegistrationVerification; - - /** - * One or more documents that demonstrate proof of a company's tax ID. - */ - company_tax_id_verification?: Documents.CompanyTaxIdVerification; - - /** - * A document verifying the business. - */ - primary_verification?: Documents.PrimaryVerification; - - /** - * One or more documents that demonstrate proof of address. - */ - proof_of_address?: Documents.ProofOfAddress; - - /** - * One or more documents showing the company's proof of registration with the national business registry. - */ - proof_of_registration?: Documents.ProofOfRegistration; - - /** - * One or more documents that demonstrate proof of ultimate beneficial ownership. - */ - proof_of_ultimate_beneficial_ownership?: Documents.ProofOfUltimateBeneficialOwnership; - } - - export interface IdNumber { - /** - * The registrar of the ID number (Only valid for DE ID number types). - */ - registrar?: string; - - /** - * Open Enum. The ID number type of a business entity. - */ - type: IdNumber.Type; - } - - export interface MonthlyEstimatedRevenue { - /** - * Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD). - */ - amount?: V2Amount; - } - - export interface RegistrationDate { - /** - * The day of registration, between 1 and 31. - */ - day: number; - - /** - * The month of registration, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of registration. - */ - year: number; - } - - export interface ScriptAddresses { - /** - * Kana Address. - */ - kana?: ScriptAddresses.Kana; - - /** - * Kanji Address. - */ - kanji?: ScriptAddresses.Kanji; - } - - export interface ScriptNames { - /** - * Kana name. - */ - kana?: ScriptNames.Kana; - - /** - * Kanji name. - */ - kanji?: ScriptNames.Kanji; - } - - export type Structure = - | 'cooperative' - | 'free_zone_establishment' - | 'free_zone_llc' - | 'governmental_unit' - | 'government_instrumentality' - | 'incorporated_association' - | 'incorporated_non_profit' - | 'incorporated_partnership' - | 'limited_liability_partnership' - | 'llc' - | 'multi_member_llc' - | 'private_company' - | 'private_corporation' - | 'private_partnership' - | 'public_company' - | 'public_corporation' - | 'public_listed_corporation' - | 'public_partnership' - | 'registered_charity' - | 'single_member_llc' - | 'sole_establishment' - | 'sole_proprietorship' - | 'tax_exempt_government_instrumentality' - | 'trust' - | 'unincorporated_association' - | 'unincorporated_non_profit' - | 'unincorporated_partnership'; - - export namespace Documents { - export interface BankAccountOwnershipVerification { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface CompanyLicense { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface CompanyMemorandumOfAssociation { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface CompanyMinisterialDecree { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface CompanyRegistrationVerification { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface CompanyTaxIdVerification { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface PrimaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: PrimaryVerification.FrontBack; - - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } - - export interface ProofOfAddress { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface ProofOfRegistration { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * Person that is signing the document. - */ - signer?: ProofOfRegistration.Signer; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface ProofOfUltimateBeneficialOwnership { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * Person that is signing the document. - */ - signer?: ProofOfUltimateBeneficialOwnership.Signer; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export namespace PrimaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - - export namespace ProofOfRegistration { - export interface Signer { - /** - * Person signing the document. - */ - person: string; - } - } - - export namespace ProofOfUltimateBeneficialOwnership { - export interface Signer { - /** - * Person signing the document. - */ - person: string; - } - } - } - - export namespace IdNumber { - export type Type = - | 'ae_crn' - | 'ae_vat' - | 'ao_nif' - | 'ar_cuit' - | 'at_fn' - | 'at_stn' - | 'at_vat' - | 'au_abn' - | 'au_acn' - | 'au_in' - | 'az_tin' - | 'bd_etin' - | 'be_cbe' - | 'be_vat' - | 'bg_uic' - | 'bg_vat' - | 'bm_crn' - | 'bo_tin' - | 'br_cnpj' - | 'bt_tpn' - | 'ca_cn' - | 'ca_crarr' - | 'ca_gst_hst' - | 'ca_neq' - | 'ca_rid' - | 'ch_chid' - | 'ch_uid' - | 'co_nit' - | 'cr_cpj' - | 'cr_nite' - | 'cy_he' - | 'cy_tic' - | 'cy_vat' - | 'cz_ico' - | 'cz_vat' - | 'de_hrn' - | 'de_stn' - | 'de_vat' - | 'dk_cvr' - | 'dk_vat' - | 'do_rcn' - | 'ec_ruc' - | 'ee_rk' - | 'ee_vat' - | 'eg_tin' - | 'es_cif' - | 'es_vat' - | 'fi_vat' - | 'fi_yt' - | 'fr_rna' - | 'fr_siren' - | 'fr_vat' - | 'gb_crn' - | 'gb_vat' - | 'gh_tin' - | 'gi_crn' - | 'gr_afm' - | 'gr_gemi' - | 'gr_vat' - | 'gt_nit' - | 'gy_tin' - | 'hk_br' - | 'hk_cr' - | 'hn_rtn' - | 'hr_mbs' - | 'hr_oib' - | 'hr_vat' - | 'hu_cjs' - | 'hu_tin' - | 'hu_vat' - | 'ie_crn' - | 'ie_trn' - | 'ie_vat' - | 'it_rea' - | 'it_vat' - | 'jm_trn' - | 'jo_crn' - | 'jp_cn' - | 'ke_pin' - | 'ky_crn' - | 'kz_bin' - | 'li_uid' - | 'lk_tin' - | 'lt_ccrn' - | 'lt_vat' - | 'lu_nif' - | 'lu_rcs' - | 'lu_vat' - | 'lv_urn' - | 'lv_vat' - | 'mo_tin' - | 'mt_crn' - | 'mt_tin' - | 'mt_vat' - | 'mv_tin' - | 'mx_rfc' - | 'my_brn' - | 'my_coid' - | 'my_itn' - | 'my_sst' - | 'mz_nuit' - | 'ng_tin' - | 'nl_kvk' - | 'nl_rsin' - | 'nl_vat' - | 'no_orgnr' - | 'nz_bn' - | 'nz_ird' - | 'pa_ruc' - | 'pe_ruc' - | 'ph_tin' - | 'pk_ntn' - | 'pl_nip' - | 'pl_regon' - | 'pl_vat' - | 'pt_vat' - | 'py_ruc' - | 'ro_cui' - | 'ro_orc' - | 'ro_vat' - | 'sa_crn' - | 'sa_tin' - | 'se_orgnr' - | 'se_vat' - | 'sg_uen' - | 'si_msp' - | 'si_tin' - | 'si_vat' - | 'sk_dic' - | 'sk_ico' - | 'sk_vat' - | 'sl_tin' - | 'sv_nit' - | 'th_crn' - | 'th_prn' - | 'th_tin' - | 'us_ein' - | 'uy_ruc' - | 'vg_cn' - | 'za_tin'; - } - - export namespace ScriptAddresses { - export interface Kana { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface Kanji { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - } - - export namespace ScriptNames { - export interface Kana { - /** - * Registered name of the business. - */ - registered_name?: string; - } - - export interface Kanji { - /** - * Registered name of the business. - */ - registered_name?: string; - } - } - } - - export namespace Individual { - export interface AdditionalAddress { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * Purpose of additional address. - */ - purpose: 'registered'; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface AdditionalName { - /** - * The individual's full name. - */ - full_name?: string; - - /** - * The individual's first or given name. - */ - given_name?: string; - - /** - * The purpose or type of the additional name. - */ - purpose: AdditionalName.Purpose; - - /** - * The individual's last or family name. - */ - surname?: string; - } - - export interface AdditionalTermsOfService { - /** - * Stripe terms of service agreement. - */ - account?: AdditionalTermsOfService.Account; - } - - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface DateOfBirth { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - export interface Documents { - /** - * One or more documents that demonstrate proof that this person is authorized to represent the company. - */ - company_authorization?: Documents.CompanyAuthorization; - - /** - * One or more documents showing the person's passport page with photo and personal data. - */ - passport?: Documents.Passport; - - /** - * An identifying document showing the person's name, either a passport or local ID card. - */ - primary_verification?: Documents.PrimaryVerification; - - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - secondary_verification?: Documents.SecondaryVerification; - - /** - * One or more documents showing the person's visa required for living in the country where they are residing. - */ - visa?: Documents.Visa; - } - - export interface IdNumber { - /** - * The ID number type of an individual. - */ - type: IdNumber.Type; - } - - export type LegalGender = 'female' | 'male'; - - export type PoliticalExposure = 'existing' | 'none'; - - export interface Relationship { - /** - * Whether the individual is an authorizer of the Account's identity. - */ - authorizer?: boolean; - - /** - * Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations. - */ - director?: boolean; - - /** - * Whether the individual has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; - - /** - * Whether the individual is the legal guardian of the Account's representative. - */ - legal_guardian?: boolean; - - /** - * Whether the individual is an owner of the Account's identity. - */ - owner?: boolean; - - /** - * The percentage of the Account's identity that the individual owns. - */ - percent_ownership?: Decimal; - - /** - * Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; - - /** - * The individual's title (e.g., CEO, Support Engineer). - */ - title?: string; - } - - export interface ScriptAddresses { - /** - * Kana Address. - */ - kana?: ScriptAddresses.Kana; - - /** - * Kanji Address. - */ - kanji?: ScriptAddresses.Kanji; - } - - export interface ScriptNames { - /** - * Persons name in kana script. - */ - kana?: ScriptNames.Kana; - - /** - * Persons name in kanji script. - */ - kanji?: ScriptNames.Kanji; - } - - export namespace AdditionalName { - export type Purpose = 'alias' | 'maiden'; - } - - export namespace AdditionalTermsOfService { - export interface Account { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; - - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; - - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; - } - } - - export namespace Documents { - export interface CompanyAuthorization { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface Passport { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export interface PrimaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: PrimaryVerification.FrontBack; - - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } - - export interface SecondaryVerification { - /** - * The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. - */ - front_back: SecondaryVerification.FrontBack; - - /** - * The format of the verification document. Currently supports `front_back` only. - */ - type: 'front_back'; - } - - export interface Visa { - /** - * One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`. - */ - files: Array; - - /** - * The format of the document. Currently supports `files` only. - */ - type: 'files'; - } - - export namespace PrimaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - - export namespace SecondaryVerification { - export interface FrontBack { - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front: string; - } - } - } - - export namespace IdNumber { - export type Type = - | 'ae_eid' - | 'ao_nif' - | 'ar_cuil' - | 'ar_dni' - | 'at_stn' - | 'az_tin' - | 'bd_brc' - | 'bd_etin' - | 'bd_nid' - | 'be_nrn' - | 'bg_ucn' - | 'bm_pp' - | 'bn_nric' - | 'bo_ci' - | 'br_cpf' - | 'bt_cid' - | 'ca_sin' - | 'ch_oasi' - | 'cl_rut' - | 'cn_pp' - | 'co_nuip' - | 'cr_ci' - | 'cr_cpf' - | 'cr_dimex' - | 'cr_nite' - | 'cy_tic' - | 'cz_rc' - | 'de_stn' - | 'dk_cpr' - | 'do_cie' - | 'do_rcn' - | 'ec_ci' - | 'ee_ik' - | 'eg_tin' - | 'es_nif' - | 'fi_hetu' - | 'fr_nir' - | 'gb_nino' - | 'gh_pin' - | 'gr_afm' - | 'gt_nit' - | 'gy_tin' - | 'hk_id' - | 'hn_rtn' - | 'hr_oib' - | 'hu_ad' - | 'id_nik' - | 'ie_ppsn' - | 'is_kt' - | 'it_cf' - | 'jm_trn' - | 'jo_pin' - | 'jp_inc' - | 'ke_pin' - | 'ky_pp' - | 'kz_iin' - | 'li_peid' - | 'lk_nic' - | 'lt_ak' - | 'lu_nif' - | 'lv_pk' - | 'mo_bir' - | 'mt_nic' - | 'mv_tin' - | 'mx_rfc' - | 'my_nric' - | 'mz_nuit' - | 'ng_nin' - | 'nl_bsn' - | 'no_nin' - | 'nz_ird' - | 'pa_ruc' - | 'pe_dni' - | 'ph_tin' - | 'pk_cnic' - | 'pk_snic' - | 'pl_pesel' - | 'pt_nif' - | 'py_ruc' - | 'ro_cnp' - | 'sa_tin' - | 'se_pin' - | 'sg_fin' - | 'sg_nric' - | 'si_pin' - | 'sk_dic' - | 'sv_nit' - | 'th_lc' - | 'th_pin' - | 'tr_tin' - | 'us_itin' - | 'us_itin_last_4' - | 'us_ssn' - | 'us_ssn_last_4' - | 'uy_dni' - | 'vg_pp' - | 'za_id'; - } - - export namespace ScriptAddresses { - export interface Kana { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - - export interface Kanji { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - } - - export namespace ScriptNames { - export interface Kana { - /** - * The person's first or given name. - */ - given_name?: string; - - /** - * The person's last or family name. - */ - surname?: string; - } - - export interface Kanji { - /** - * The person's first or given name. - */ - given_name?: string; - - /** - * The person's last or family name. - */ - surname?: string; - } - } - } - } - - export namespace ScriptStatementDescriptor { - export interface Kana { - /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - descriptor?: string; - - /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - prefix?: string; - } - - export interface Kanji { - /** - * The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - descriptor?: string; - - /** - * Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. - */ - prefix?: string; - } - } - - export namespace Support { - export interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - - /** - * Town or district. - */ - town?: string; - } - } - } - - export namespace Recipient { - export interface Capabilities { - /** - * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). - */ - stripe_balance?: Capabilities.StripeBalance; - } - - export namespace Capabilities { - export interface StripeBalance { - /** - * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). - */ - payouts?: StripeBalance.Payouts; - - /** - * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). - */ - stripe_transfers?: StripeBalance.StripeTransfers; - } - - export namespace StripeBalance { - export interface Payouts { - /** - * The status of the Capability. - */ - status: Payouts.Status; - - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } - - export interface StripeTransfers { - /** - * The status of the Capability. - */ - status: StripeTransfers.Status; - - /** - * Additional details about the capability's status. This value is empty when `status` is `active`. - */ - status_details: Array; - } - - export namespace Payouts { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - - export namespace StripeTransfers { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - - export interface StatusDetail { - /** - * Machine-readable code explaining the reason for the Capability to be in its current status. - */ - code: StatusDetail.Code; - - /** - * Machine-readable code explaining how to make the Capability active. - */ - resolution: StatusDetail.Resolution; - } - - export namespace StatusDetail { - export type Code = - | 'determining_status' - | 'requirements_past_due' - | 'requirements_pending_verification' - | 'restricted_other' - | 'unsupported_business' - | 'unsupported_country' - | 'unsupported_entity_type'; - - export type Resolution = - | 'contact_stripe' - | 'no_resolution' - | 'provide_info'; - } - } - } - } - } - } - - export namespace Defaults { - export type Locale = - | 'ar-SA' - | 'bg' - | 'bg-BG' - | 'cs' - | 'cs-CZ' - | 'da' - | 'da-DK' - | 'de' - | 'de-DE' - | 'el' - | 'el-GR' - | 'en' - | 'en-AU' - | 'en-CA' - | 'en-GB' - | 'en-IE' - | 'en-IN' - | 'en-NZ' - | 'en-SG' - | 'en-US' - | 'es' - | 'es-419' - | 'es-ES' - | 'et' - | 'et-EE' - | 'fi' - | 'fil' - | 'fil-PH' - | 'fi-FI' - | 'fr' - | 'fr-CA' - | 'fr-FR' - | 'he-IL' - | 'hr' - | 'hr-HR' - | 'hu' - | 'hu-HU' - | 'id' - | 'id-ID' - | 'it' - | 'it-IT' - | 'ja' - | 'ja-JP' - | 'ko' - | 'ko-KR' - | 'lt' - | 'lt-LT' - | 'lv' - | 'lv-LV' - | 'ms' - | 'ms-MY' - | 'mt' - | 'mt-MT' - | 'nb' - | 'nb-NO' - | 'nl' - | 'nl-NL' - | 'pl' - | 'pl-PL' - | 'pt' - | 'pt-BR' - | 'pt-PT' - | 'ro' - | 'ro-RO' - | 'ru' - | 'ru-RU' - | 'sk' - | 'sk-SK' - | 'sl' - | 'sl-SI' - | 'sv' - | 'sv-SE' - | 'th' - | 'th-TH' - | 'tr' - | 'tr-TR' - | 'vi' - | 'vi-VN' - | 'zh' - | 'zh-Hans' - | 'zh-Hant-HK' - | 'zh-Hant-TW' - | 'zh-HK' - | 'zh-TW'; - - export interface Profile { - /** - * The business's publicly-available website. - */ - business_url?: string; - - /** - * The customer-facing business name. - */ - doing_business_as?: string; - - /** - * Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes. - */ - product_description?: string; - } - - export interface Responsibilities { - /** - * Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products. - */ - fees_collector?: Responsibilities.FeesCollector; - - /** - * A value indicating responsibility for collecting requirements on this account. - */ - losses_collector?: Responsibilities.LossesCollector; - - /** - * A value indicating responsibility for collecting requirements on this account. - */ - requirements_collector: Responsibilities.RequirementsCollector; - } - - export namespace Responsibilities { - export type FeesCollector = - | 'application' - | 'application_custom' - | 'application_express' - | 'stripe'; - - export type LossesCollector = 'application' | 'stripe'; - - export type RequirementsCollector = 'application' | 'stripe'; - } - } - - export namespace FutureRequirements { - export interface Entry { - /** - * Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`. - */ - awaiting_action_from: Entry.AwaitingActionFrom; - - /** - * Machine-readable string describing the requirement. - */ - description: string; - - /** - * Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe. - */ - errors: Array; - - /** - * A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information. - */ - impact: Entry.Impact; - - /** - * The soonest point when the account will be impacted by not providing the requirement. - */ - minimum_deadline: Entry.MinimumDeadline; - - /** - * A reference to the location of the requirement. - */ - reference?: Entry.Reference; - - /** - * A list of reasons why Stripe is collecting the requirement. - */ - requested_reasons: Array; - } - - export interface Summary { - /** - * The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. - */ - minimum_deadline?: Summary.MinimumDeadline; - } - - export namespace Entry { - export type AwaitingActionFrom = 'stripe' | 'user'; - - export interface Error { - /** - * Machine-readable code describing the error. - */ - code: Error.Code; - - /** - * Human-readable description of the error. - */ - description: string; - } - - export interface Impact { - /** - * The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe. - */ - restricts_capabilities?: Array; - } - - export interface MinimumDeadline { - /** - * The current status of the requirement's impact. - */ - status: MinimumDeadline.Status; - } - - export interface Reference { - /** - * If `inquiry` is the type, the inquiry token. - */ - inquiry?: string; - - /** - * If `resource` is the type, the resource token. - */ - resource?: string; - - /** - * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. - * Otherwise the type is an API resource, the token for which can be found in the "resource" field. - */ - type: Reference.Type; - } - - export interface RequestedReason { - /** - * Machine-readable description of Stripe's reason for collecting the requirement. - */ - code: RequestedReason.Code; - } - - export namespace Error { - export type Code = - | 'invalid_address_city_state_postal_code' - | 'invalid_address_highway_contract_box' - | 'invalid_address_private_mailbox' - | 'invalid_business_profile_name' - | 'invalid_business_profile_name_denylisted' - | 'invalid_company_name_denylisted' - | 'invalid_dob_age_over_maximum' - | 'invalid_dob_age_under_18' - | 'invalid_dob_age_under_minimum' - | 'invalid_product_description_length' - | 'invalid_product_description_url_match' - | 'invalid_representative_country' - | 'invalid_statement_descriptor_business_mismatch' - | 'invalid_statement_descriptor_denylisted' - | 'invalid_statement_descriptor_length' - | 'invalid_statement_descriptor_prefix_denylisted' - | 'invalid_statement_descriptor_prefix_mismatch' - | 'invalid_street_address' - | 'invalid_tax_id' - | 'invalid_tax_id_format' - | 'invalid_tos_acceptance' - | 'invalid_url_denylisted' - | 'invalid_url_format' - | 'invalid_url_website_business_information_mismatch' - | 'invalid_url_website_empty' - | 'invalid_url_website_inaccessible' - | 'invalid_url_website_inaccessible_geoblocked' - | 'invalid_url_website_inaccessible_password_protected' - | 'invalid_url_website_incomplete' - | 'invalid_url_website_incomplete_cancellation_policy' - | 'invalid_url_website_incomplete_customer_service_details' - | 'invalid_url_website_incomplete_legal_restrictions' - | 'invalid_url_website_incomplete_refund_policy' - | 'invalid_url_website_incomplete_return_policy' - | 'invalid_url_website_incomplete_terms_and_conditions' - | 'invalid_url_website_incomplete_under_construction' - | 'invalid_url_website_other' - | 'invalid_url_web_presence_detected' - | 'invalid_value_other' - | 'unresolvable_ip_address' - | 'unresolvable_postal_code' - | 'verification_directors_mismatch' - | 'verification_document_address_mismatch' - | 'verification_document_address_missing' - | 'verification_document_corrupt' - | 'verification_document_country_not_supported' - | 'verification_document_directors_mismatch' - | 'verification_document_dob_mismatch' - | 'verification_document_duplicate_type' - | 'verification_document_expired' - | 'verification_document_failed_copy' - | 'verification_document_failed_greyscale' - | 'verification_document_failed_other' - | 'verification_document_failed_test_mode' - | 'verification_document_fraudulent' - | 'verification_document_id_number_mismatch' - | 'verification_document_id_number_missing' - | 'verification_document_incomplete' - | 'verification_document_invalid' - | 'verification_document_issue_or_expiry_date_missing' - | 'verification_document_manipulated' - | 'verification_document_missing_back' - | 'verification_document_missing_front' - | 'verification_document_name_mismatch' - | 'verification_document_name_missing' - | 'verification_document_nationality_mismatch' - | 'verification_document_not_readable' - | 'verification_document_not_signed' - | 'verification_document_not_uploaded' - | 'verification_document_photo_mismatch' - | 'verification_document_too_large' - | 'verification_document_type_not_supported' - | 'verification_extraneous_directors' - | 'verification_failed_address_match' - | 'verification_failed_business_iec_number' - | 'verification_failed_document_match' - | 'verification_failed_id_number_match' - | 'verification_failed_keyed_identity' - | 'verification_failed_keyed_match' - | 'verification_failed_name_match' - | 'verification_failed_other' - | 'verification_failed_representative_authority' - | 'verification_failed_residential_address' - | 'verification_failed_tax_id_match' - | 'verification_failed_tax_id_not_issued' - | 'verification_missing_directors' - | 'verification_missing_executives' - | 'verification_missing_owners' - | 'verification_requires_additional_memorandum_of_associations' - | 'verification_requires_additional_proof_of_registration' - | 'verification_selfie_document_missing_photo' - | 'verification_selfie_face_mismatch' - | 'verification_selfie_manipulated' - | 'verification_selfie_unverified_other' - | 'verification_supportability' - | 'verification_token_stale'; - } - - export namespace Impact { - export interface RestrictsCapability { - /** - * The name of the Capability which will be restricted. - */ - capability: RestrictsCapability.Capability; - - /** - * The configuration which specifies the Capability which will be restricted. - */ - configuration: RestrictsCapability.Configuration; - - /** - * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. - */ - deadline: RestrictsCapability.Deadline; - } - - export namespace RestrictsCapability { - export type Capability = - | 'ach_debit_payments' - | 'acss_debit_payments' - | 'affirm_payments' - | 'afterpay_clearpay_payments' - | 'alma_payments' - | 'amazon_pay_payments' - | 'automatic_indirect_tax' - | 'au_becs_debit_payments' - | 'bacs_debit_payments' - | 'bancontact_payments' - | 'bank_accounts.local' - | 'bank_accounts.wire' - | 'blik_payments' - | 'boleto_payments' - | 'cards' - | 'card_payments' - | 'cartes_bancaires_payments' - | 'cashapp_payments' - | 'eps_payments' - | 'fpx_payments' - | 'gb_bank_transfer_payments' - | 'grabpay_payments' - | 'ideal_payments' - | 'jcb_payments' - | 'jp_bank_transfer_payments' - | 'kakao_pay_payments' - | 'klarna_payments' - | 'konbini_payments' - | 'kr_card_payments' - | 'link_payments' - | 'mobilepay_payments' - | 'multibanco_payments' - | 'mx_bank_transfer_payments' - | 'naver_pay_payments' - | 'oxxo_payments' - | 'p24_payments' - | 'payco_payments' - | 'paynow_payments' - | 'pay_by_bank_payments' - | 'promptpay_payments' - | 'revolut_pay_payments' - | 'samsung_pay_payments' - | 'sepa_bank_transfer_payments' - | 'sepa_debit_payments' - | 'stripe_balance.payouts' - | 'stripe_balance.stripe_transfers' - | 'swish_payments' - | 'twint_payments' - | 'us_bank_transfer_payments' - | 'zip_payments'; - - export type Configuration = 'customer' | 'merchant' | 'recipient'; - - export interface Deadline { - /** - * The current status of the requirement's impact. - */ - status: Deadline.Status; - } - - export interface Reference { - /** - * If `inquiry` is the type, the inquiry token. - */ - inquiry?: string; - - /** - * If `resource` is the type, the resource token. - */ - resource?: string; - - /** - * The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. - * Otherwise the type is an API resource, the token for which can be found in the "resource" field. - */ - type: Reference.Type; - } - - export interface RequestedReason { - /** - * Machine-readable description of Stripe's reason for collecting the requirement. - */ - code: RequestedReason.Code; - } - - export namespace Error { - export type Code = - | 'invalid_address_city_state_postal_code' - | 'invalid_address_highway_contract_box' - | 'invalid_address_private_mailbox' - | 'invalid_business_profile_name' - | 'invalid_business_profile_name_denylisted' - | 'invalid_company_name_denylisted' - | 'invalid_dob_age_over_maximum' - | 'invalid_dob_age_under_18' - | 'invalid_dob_age_under_minimum' - | 'invalid_product_description_length' - | 'invalid_product_description_url_match' - | 'invalid_representative_country' - | 'invalid_statement_descriptor_business_mismatch' - | 'invalid_statement_descriptor_denylisted' - | 'invalid_statement_descriptor_length' - | 'invalid_statement_descriptor_prefix_denylisted' - | 'invalid_statement_descriptor_prefix_mismatch' - | 'invalid_street_address' - | 'invalid_tax_id' - | 'invalid_tax_id_format' - | 'invalid_tos_acceptance' - | 'invalid_url_denylisted' - | 'invalid_url_format' - | 'invalid_url_website_business_information_mismatch' - | 'invalid_url_website_empty' - | 'invalid_url_website_inaccessible' - | 'invalid_url_website_inaccessible_geoblocked' - | 'invalid_url_website_inaccessible_password_protected' - | 'invalid_url_website_incomplete' - | 'invalid_url_website_incomplete_cancellation_policy' - | 'invalid_url_website_incomplete_customer_service_details' - | 'invalid_url_website_incomplete_legal_restrictions' - | 'invalid_url_website_incomplete_refund_policy' - | 'invalid_url_website_incomplete_return_policy' - | 'invalid_url_website_incomplete_terms_and_conditions' - | 'invalid_url_website_incomplete_under_construction' - | 'invalid_url_website_other' - | 'invalid_url_web_presence_detected' - | 'invalid_value_other' - | 'unresolvable_ip_address' - | 'unresolvable_postal_code' - | 'verification_directors_mismatch' - | 'verification_document_address_mismatch' - | 'verification_document_address_missing' - | 'verification_document_corrupt' - | 'verification_document_country_not_supported' - | 'verification_document_directors_mismatch' - | 'verification_document_dob_mismatch' - | 'verification_document_duplicate_type' - | 'verification_document_expired' - | 'verification_document_failed_copy' - | 'verification_document_failed_greyscale' - | 'verification_document_failed_other' - | 'verification_document_failed_test_mode' - | 'verification_document_fraudulent' - | 'verification_document_id_number_mismatch' - | 'verification_document_id_number_missing' - | 'verification_document_incomplete' - | 'verification_document_invalid' - | 'verification_document_issue_or_expiry_date_missing' - | 'verification_document_manipulated' - | 'verification_document_missing_back' - | 'verification_document_missing_front' - | 'verification_document_name_mismatch' - | 'verification_document_name_missing' - | 'verification_document_nationality_mismatch' - | 'verification_document_not_readable' - | 'verification_document_not_signed' - | 'verification_document_not_uploaded' - | 'verification_document_photo_mismatch' - | 'verification_document_too_large' - | 'verification_document_type_not_supported' - | 'verification_extraneous_directors' - | 'verification_failed_address_match' - | 'verification_failed_business_iec_number' - | 'verification_failed_document_match' - | 'verification_failed_id_number_match' - | 'verification_failed_keyed_identity' - | 'verification_failed_keyed_match' - | 'verification_failed_name_match' - | 'verification_failed_other' - | 'verification_failed_representative_authority' - | 'verification_failed_residential_address' - | 'verification_failed_tax_id_match' - | 'verification_failed_tax_id_not_issued' - | 'verification_missing_directors' - | 'verification_missing_executives' - | 'verification_missing_owners' - | 'verification_requires_additional_memorandum_of_associations' - | 'verification_requires_additional_proof_of_registration' - | 'verification_selfie_document_missing_photo' - | 'verification_selfie_face_mismatch' - | 'verification_selfie_manipulated' - | 'verification_selfie_unverified_other' - | 'verification_supportability' - | 'verification_token_stale'; - } - - export namespace Impact { - export interface RestrictsCapability { - /** - * The name of the Capability which will be restricted. - */ - capability: RestrictsCapability.Capability; - - /** - * The configuration which specifies the Capability which will be restricted. - */ - configuration: RestrictsCapability.Configuration; - - /** - * Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. - */ - deadline: RestrictsCapability.Deadline; - } - - export namespace RestrictsCapability { - export type Capability = - | 'ach_debit_payments' - | 'acss_debit_payments' - | 'affirm_payments' - | 'afterpay_clearpay_payments' - | 'alma_payments' - | 'amazon_pay_payments' - | 'automatic_indirect_tax' - | 'au_becs_debit_payments' - | 'bacs_debit_payments' - | 'bancontact_payments' - | 'bank_accounts.instant' - | 'bank_accounts.local' - | 'bank_accounts.wire' - | 'blik_payments' - | 'boleto_payments' - | 'cards' - | 'card_payments' - | 'cartes_bancaires_payments' - | 'cashapp_payments' - | 'commercial.celtic.charge_card' - | 'commercial.celtic.spend_card' - | 'commercial.cross_river_bank.charge_card' - | 'commercial.cross_river_bank.prepaid_card' - | 'commercial.cross_river_bank.spend_card' - | 'commercial.fifth_third.charge_card' - | 'commercial.lead.prepaid_card' - | 'commercial.stripe.charge_card' - | 'commercial.stripe.prepaid_card' - | 'consumer.celtic.revolving_credit_card' - | 'consumer.cross_river_bank.prepaid_card' - | 'consumer.holds_currencies.usd' - | 'consumer.lead.debit_card' - | 'consumer.lead.prepaid_card' - | 'crypto_wallets' - | 'eps_payments' - | 'financial_addresses.bank_accounts' - | 'fpx_payments' - | 'gb_bank_transfer_payments' - | 'grabpay_payments' - | 'holds_currencies.eur' - | 'holds_currencies.gbp' - | 'holds_currencies.usd' - | 'ideal_payments' - | 'inbound_transfers.financial_accounts' - | 'jcb_payments' - | 'jp_bank_transfer_payments' - | 'kakao_pay_payments' - | 'klarna_payments' - | 'konbini_payments' - | 'kr_card_payments' - | 'link_payments' - | 'mobilepay_payments' - | 'multibanco_payments' - | 'mx_bank_transfer_payments' - | 'naver_pay_payments' - | 'outbound_payments.bank_accounts' - | 'outbound_payments.cards' - | 'outbound_payments.financial_accounts' - | 'outbound_payments.paper_checks' - | 'outbound_transfers.bank_accounts' - | 'outbound_transfers.financial_accounts' - | 'oxxo_payments' - | 'p24_payments' - | 'paper_checks' - | 'payco_payments' - | 'paynow_payments' - | 'pay_by_bank_payments' - | 'promptpay_payments' - | 'revolut_pay_payments' - | 'samsung_pay_payments' - | 'sepa_bank_transfer_payments' - | 'sepa_debit_payments' - | 'stripe_balance.payouts' - | 'stripe_balance.stripe_transfers' - | 'swish_payments' - | 'twint_payments' - | 'us_bank_transfer_payments' - | 'zip_payments'; - - export type Configuration = - | 'card_creator' - | 'customer' - | 'merchant' - | 'recipient' - | 'storer'; - - export interface Deadline { - /** - * The current status of the requirement's impact. - */ - status: Deadline.Status; - } - - export namespace Deadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } - } - } - - export namespace MinimumDeadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } - - export namespace Reference { - export type Type = 'inquiry' | 'payment_method' | 'person'; - } - - export namespace RequestedReason { - export type Code = 'routine_onboarding' | 'routine_verification'; - } - } - - export namespace Summary { - export interface MinimumDeadline { - /** - * The current strictest status of all requirements on the Account. - */ - status: MinimumDeadline.Status; - - /** - * The soonest RFC3339 date & time UTC value a requirement can impact the Account. - */ - time?: string; - } - - export namespace MinimumDeadline { - export type Status = - | 'currently_due' - | 'eventually_due' - | 'past_due'; - } - } - } - - export namespace MinimumDeadline { - export type Status = 'currently_due' | 'eventually_due' | 'past_due'; - } - - export namespace Reference { - export type Type = 'inquiry' | 'payment_method' | 'person'; - } + export interface RevolvingCreditCard { + /** + * Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. + */ + bank_terms?: RevolvingCreditCard.BankTerms; - export namespace RequestedReason { - export type Code = 'routine_onboarding' | 'routine_verification'; - } - } + /** + * Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. + */ + financing_disclosures?: RevolvingCreditCard.FinancingDisclosures; - export namespace Summary { - export interface MinimumDeadline { - /** - * The current strictest status of all requirements on the Account. - */ - status: MinimumDeadline.Status; + /** + * Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor. + */ + platform?: RevolvingCreditCard.Platform; + } - /** - * The soonest RFC3339 date & time UTC value a requirement can impact the Account. - */ - time?: string; - } + export namespace RevolvingCreditCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export namespace MinimumDeadline { - export type Status = 'currently_due' | 'eventually_due' | 'past_due'; - } - } - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export namespace Identity { - export interface Attestations { - /** - * This hash is used to attest that the directors information provided to Stripe is both current and correct. - */ - directorship_declaration?: Attestations.DirectorshipDeclaration; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct. - */ - ownership_declaration?: Attestations.OwnershipDeclaration; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Attestation that all Persons with a specific Relationship value have been provided. - */ - persons_provided?: Attestations.PersonsProvided; + export interface FinancingDisclosures { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * This hash is used to attest that the representative is authorized to act as the representative of their legal entity. - */ - representative_declaration?: Attestations.RepresentativeDeclaration; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Attestations of accepted terms of service agreements. - */ - terms_of_service?: Attestations.TermsOfService; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface BusinessDetails { - /** - * The company's primary address. - */ - address?: BusinessDetails.Address; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * The business gross annual revenue for its preceding fiscal year. - */ - annual_revenue?: BusinessDetails.AnnualRevenue; + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Documents that may be submitted to satisfy various informational requests. - */ - documents?: BusinessDetails.Documents; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors). - */ - estimated_worker_count?: number; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * The provided ID numbers of a business entity. - */ - id_numbers?: Array; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } + } - /** - * An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India. - */ - monthly_estimated_revenue?: BusinessDetails.MonthlyEstimatedRevenue; + export namespace CrossRiverBank { + export interface PrepaidCard { + /** + * Bank terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + bank_terms?: PrepaidCard.BankTerms; - /** - * The company's phone number (used for verification). - */ - phone?: string; + /** + * Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + financing_disclosures?: PrepaidCard.FinancingDisclosures; - /** - * The business legal name. - */ - registered_name?: string; + /** + * Platform terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor. + */ + platform?: PrepaidCard.Platform; + } - /** - * When the business was incorporated or registered. - */ - registration_date?: BusinessDetails.RegistrationDate; + export namespace PrepaidCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * The business registration address of the business entity in non latin script. - */ - script_addresses?: BusinessDetails.ScriptAddresses; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * The business legal name in non latin script. - */ - script_names?: BusinessDetails.ScriptNames; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * The category identifying the legal structure of the business. - */ - structure?: BusinessDetails.Structure; - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export type EntityType = - | 'company' - | 'government_entity' - | 'individual' - | 'non_profit'; + export interface FinancingDisclosures { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface Individual { - /** - * The account ID which the individual belongs to. - */ - account: string; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Additional addresses associated with the individual. - */ - additional_addresses?: Array; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * Additional names (e.g. aliases) associated with the individual. - */ - additional_names?: Array; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * Terms of service acceptances. - */ - additional_terms_of_service?: Individual.AdditionalTermsOfService; + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * The individual's residential address. - */ - address?: Individual.Address; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - created: string; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * The individual's date of birth. - */ - date_of_birth?: Individual.DateOfBirth; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } + } - /** - * Documents that may be submitted to satisfy various informational requests. - */ - documents?: Individual.Documents; + export namespace Lead { + export interface ApplePay { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account. - */ - email?: string; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * The individual's first name. - */ - given_name?: string; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * Unique identifier for the object. - */ - id: string; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * The identification numbers (e.g., SSN) associated with the individual. - */ - id_numbers?: Array; + export interface DebitCard { + /** + * Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + */ + bank_terms?: DebitCard.BankTerms; - /** - * The individual's gender (International regulations require either "male” or "female"). - */ - legal_gender?: Individual.LegalGender; + /** + * Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + */ + financing_disclosures?: DebitCard.FinancingDisclosures; - /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Metadata; + /** + * Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + */ + platform?: DebitCard.Platform; + } - /** - * The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - nationalities?: Array; + export interface PrepaidCard { + /** + * Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor. + */ + bank_terms?: PrepaidCard.BankTerms; - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: string; + /** + * Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor. + */ + financing_disclosures?: PrepaidCard.FinancingDisclosures; - /** - * The individual's phone number. - */ - phone?: string; + /** + * Platform terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor. + */ + platform?: PrepaidCard.Platform; + } - /** - * Indicates if the individual or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: Individual.PoliticalExposure; + export namespace DebitCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * The relationship that this individual has with the Account's identity. - */ - relationship?: Individual.Relationship; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * The script addresses (e.g., non-Latin characters) associated with the individual. - */ - script_addresses?: Individual.ScriptAddresses; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * The script names (e.g. non-Latin characters) associated with the individual. - */ - script_names?: Individual.ScriptNames; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * The individual's last name. - */ - surname?: string; + export interface FinancingDisclosures { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Time at which the object was last updated. - */ - updated: string; - } + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - export namespace Attestations { - export interface DirectorshipDeclaration { - /** - * The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * The IP address from which the director attestation was made. - */ - ip?: string; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - /** - * The user agent of the browser from which the director attestation was made. - */ - user_agent?: string; - } + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export interface OwnershipDeclaration { - /** - * The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * The IP address from which the beneficial owner attestation was made. - */ - ip?: string; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * The user agent of the browser from which the beneficial owner attestation was made. - */ - user_agent?: string; - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } - export interface PersonsProvided { - /** - * Whether the company's directors have been provided. Set this Boolean to true after creating all the company's directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - directors?: boolean; + export namespace PrepaidCard { + export interface BankTerms { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * Whether the company's executives have been provided. Set this Boolean to true after creating all the company's executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - executives?: boolean; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * Whether the company's owners have been provided. Set this Boolean to true after creating all the company's owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson). - */ - owners?: boolean; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * Reason for why the company is exempt from providing ownership information. - */ - ownership_exemption_reason?: PersonsProvided.OwnershipExemptionReason; - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export interface RepresentativeDeclaration { - /** - * The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; + export interface FinancingDisclosures { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - /** - * The IP address from which the representative attestation was made. - */ - ip?: string; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * The user agent of the browser from which the representative attestation was made. - */ - user_agent?: string; - } + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - export interface TermsOfService { - /** - * Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). - */ - account?: TermsOfService.Account; - } + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } - export namespace PersonsProvided { - export type OwnershipExemptionReason = - | 'qualified_entity_exceeds_ownership_threshold' - | 'qualifies_as_financial_institution'; - } + export interface Platform { + /** + * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + date?: string; - export namespace TermsOfService { - export interface Account { - /** - * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - date?: string; + /** + * The IP address from which the Account's representative accepted the terms of service. + */ + ip?: string; - /** - * The IP address from which the Account's representative accepted the terms of service. - */ - ip?: string; + /** + * The URL to the service agreement the Account's representative accepted. + */ + url?: string; - /** - * The user agent of the browser from which the Account's representative accepted the terms of service. - */ - user_agent?: string; + /** + * The user agent of the browser from which the Account's representative accepted the terms of service. + */ + user_agent?: string; + } + } + } + } } } } @@ -24302,7 +19558,10 @@ export namespace V2 { | 'be_vat' | 'bg_uic' | 'bg_vat' + | 'bm_crn' + | 'bo_tin' | 'br_cnpj' + | 'bt_tpn' | 'ca_cn' | 'ca_crarr' | 'ca_gst_hst' @@ -24310,6 +19569,7 @@ export namespace V2 { | 'ca_rid' | 'ch_chid' | 'ch_uid' + | 'co_nit' | 'cr_cpj' | 'cr_nite' | 'cy_he' @@ -24323,8 +19583,10 @@ export namespace V2 { | 'dk_cvr' | 'dk_vat' | 'do_rcn' + | 'ec_ruc' | 'ee_rk' | 'ee_vat' + | 'eg_tin' | 'es_cif' | 'es_vat' | 'fi_vat' @@ -24334,13 +19596,16 @@ export namespace V2 { | 'fr_vat' | 'gb_crn' | 'gb_vat' + | 'gh_tin' | 'gi_crn' | 'gr_afm' | 'gr_gemi' | 'gr_vat' | 'gt_nit' + | 'gy_tin' | 'hk_br' | 'hk_cr' + | 'hn_rtn' | 'hr_mbs' | 'hr_oib' | 'hr_vat' @@ -24352,9 +19617,14 @@ export namespace V2 { | 'ie_vat' | 'it_rea' | 'it_vat' + | 'jm_trn' + | 'jo_crn' | 'jp_cn' + | 'ke_pin' + | 'ky_crn' | 'kz_bin' | 'li_uid' + | 'lk_tin' | 'lt_ccrn' | 'lt_vat' | 'lu_nif' @@ -24362,27 +19632,33 @@ export namespace V2 { | 'lu_vat' | 'lv_urn' | 'lv_vat' + | 'mo_tin' | 'mt_crn' | 'mt_tin' | 'mt_vat' + | 'mv_tin' | 'mx_rfc' | 'my_brn' | 'my_coid' | 'my_itn' | 'my_sst' | 'mz_nuit' + | 'ng_tin' | 'nl_kvk' | 'nl_rsin' | 'nl_vat' | 'no_orgnr' | 'nz_bn' | 'nz_ird' + | 'pa_ruc' | 'pe_ruc' + | 'ph_tin' | 'pk_ntn' | 'pl_nip' | 'pl_regon' | 'pl_vat' | 'pt_vat' + | 'py_ruc' | 'ro_cui' | 'ro_orc' | 'ro_vat' @@ -24397,10 +19673,15 @@ export namespace V2 { | 'sk_dic' | 'sk_ico' | 'sk_vat' + | 'sl_tin' + | 'sv_nit' | 'th_crn' | 'th_prn' | 'th_tin' - | 'us_ein'; + | 'us_ein' + | 'uy_ruc' + | 'vg_cn' + | 'za_tin'; } export namespace ScriptAddresses { @@ -24852,8 +20133,11 @@ export namespace V2 { | 'bd_nid' | 'be_nrn' | 'bg_ucn' + | 'bm_pp' | 'bn_nric' + | 'bo_ci' | 'br_cpf' + | 'bt_cid' | 'ca_sin' | 'ch_oasi' | 'cl_rut' @@ -24871,26 +20155,37 @@ export namespace V2 { | 'do_rcn' | 'ec_ci' | 'ee_ik' + | 'eg_tin' | 'es_nif' | 'fi_hetu' | 'fr_nir' | 'gb_nino' + | 'gh_pin' | 'gr_afm' | 'gt_nit' + | 'gy_tin' | 'hk_id' + | 'hn_rtn' | 'hr_oib' | 'hu_ad' | 'id_nik' | 'ie_ppsn' | 'is_kt' | 'it_cf' + | 'jm_trn' + | 'jo_pin' | 'jp_inc' | 'ke_pin' + | 'ky_pp' | 'kz_iin' | 'li_peid' + | 'lk_nic' | 'lt_ak' | 'lu_nif' | 'lv_pk' + | 'mo_bir' + | 'mt_nic' + | 'mv_tin' | 'mx_rfc' | 'my_nric' | 'mz_nuit' @@ -24898,17 +20193,22 @@ export namespace V2 { | 'nl_bsn' | 'no_nin' | 'nz_ird' + | 'pa_ruc' | 'pe_dni' + | 'ph_tin' | 'pk_cnic' | 'pk_snic' | 'pl_pesel' | 'pt_nif' + | 'py_ruc' | 'ro_cnp' | 'sa_tin' | 'se_pin' | 'sg_fin' | 'sg_nric' + | 'si_pin' | 'sk_dic' + | 'sv_nit' | 'th_lc' | 'th_pin' | 'tr_tin' @@ -24917,6 +20217,7 @@ export namespace V2 { | 'us_ssn' | 'us_ssn_last_4' | 'uy_dni' + | 'vg_pp' | 'za_id'; } @@ -25253,6 +20554,7 @@ export namespace V2 { | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' + | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' @@ -25261,11 +20563,31 @@ export namespace V2 { | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' + | 'commercial.celtic.charge_card' + | 'commercial.celtic.spend_card' + | 'commercial.cross_river_bank.charge_card' + | 'commercial.cross_river_bank.prepaid_card' + | 'commercial.cross_river_bank.spend_card' + | 'commercial.fifth_third.charge_card' + | 'commercial.lead.prepaid_card' + | 'commercial.stripe.charge_card' + | 'commercial.stripe.prepaid_card' + | 'consumer.celtic.revolving_credit_card' + | 'consumer.cross_river_bank.prepaid_card' + | 'consumer.holds_currencies.usd' + | 'consumer.lead.debit_card' + | 'consumer.lead.prepaid_card' + | 'crypto_wallets' | 'eps_payments' + | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' + | 'holds_currencies.eur' + | 'holds_currencies.gbp' + | 'holds_currencies.usd' | 'ideal_payments' + | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' @@ -25277,8 +20599,15 @@ export namespace V2 { | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' + | 'outbound_payments.bank_accounts' + | 'outbound_payments.cards' + | 'outbound_payments.financial_accounts' + | 'outbound_payments.paper_checks' + | 'outbound_transfers.bank_accounts' + | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' + | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' @@ -25294,7 +20623,12 @@ export namespace V2 { | 'us_bank_transfer_payments' | 'zip_payments'; - export type Configuration = 'customer' | 'merchant' | 'recipient'; + export type Configuration = + | 'card_creator' + | 'customer' + | 'merchant' + | 'recipient' + | 'storer'; export interface Deadline { /** diff --git a/src/resources/V2/Core/ApprovalRequests.ts b/src/resources/V2/Core/ApprovalRequests.ts index 0bb461a0a5..e84006a412 100644 --- a/src/resources/V2/Core/ApprovalRequests.ts +++ b/src/resources/V2/Core/ApprovalRequests.ts @@ -101,7 +101,7 @@ export interface ApprovalRequest { /** * The action that was requested. */ - action: V2.Core.ApprovalRequest.Action; + action: ApprovalRequest.Action; /** * Time this ApprovalRequest was created. @@ -131,307 +131,303 @@ export interface ApprovalRequest { /** * The requester of this ApprovalRequest. */ - requested_by: V2.Core.ApprovalRequest.RequestedBy; + requested_by: ApprovalRequest.RequestedBy; /** * The review of this ApprovalRequest if it has been reviewed. */ - review?: V2.Core.ApprovalRequest.Review; + review?: ApprovalRequest.Review; /** * The rule associated with this ApprovalRequest. */ - rule?: V2.Core.ApprovalRequest.Rule; + rule?: ApprovalRequest.Rule; /** * The status of this ApprovalRequest. */ - status: V2.Core.ApprovalRequest.Status; + status: ApprovalRequest.Status; /** * The details of the status of this ApprovalRequest. */ - status_details?: V2.Core.ApprovalRequest.StatusDetails; + status_details?: ApprovalRequest.StatusDetails; /** * The transitions of the status of this ApprovalRequest. */ - status_transitions?: V2.Core.ApprovalRequest.StatusTransitions; + status_transitions?: ApprovalRequest.StatusTransitions; } -export namespace V2 { - export namespace Core { - export namespace ApprovalRequest { - export type Action = - | 'charge.create' - | 'dispute.close' - | 'inbound_transfers.money_management.create' - | 'invoice.create' - | 'outbound_payments.money_management.create' - | 'outbound_transfers.money_management.create' - | 'payment_intent.create' - | 'payment_intent.update' - | 'payout.create' - | 'price.update' - | 'refund.create' - | 'setup_intent.create' - | 'subscription.create' - | 'subscription.update' - | 'topup.create' - | 'transfer.create'; - - export interface RequestedBy { - /** - * Stripe-defined identifier for the requester (e.g. a restricted API key token). - */ - id: string; +export namespace ApprovalRequest { + export type Action = + | 'charge.create' + | 'dispute.close' + | 'inbound_transfers.money_management.create' + | 'invoice.create' + | 'outbound_payments.money_management.create' + | 'outbound_transfers.money_management.create' + | 'payment_intent.create' + | 'payment_intent.update' + | 'payout.create' + | 'price.update' + | 'refund.create' + | 'setup_intent.create' + | 'subscription.create' + | 'subscription.update' + | 'topup.create' + | 'transfer.create'; + + export interface RequestedBy { + /** + * Stripe-defined identifier for the requester (e.g. a restricted API key token). + */ + id: string; + + /** + * Merchant-defined name for the requester. + */ + name?: string; + } - /** - * Merchant-defined name for the requester. - */ - name?: string; - } + export interface Review { + /** + * The reason provided by the reviewer. + */ + reason?: string; + + /** + * The result of the review. + */ + result: Review.Result; + + /** + * Timestamp when the review was performed. + */ + reviewed_at: string; + + /** + * The reviewer who performed the review. + */ + reviewed_by: Review.ReviewedBy; + } - export interface Review { - /** - * The reason provided by the reviewer. - */ - reason?: string; + export interface Rule { + /** + * The name of the rule. + */ + name: string; + } - /** - * The result of the review. - */ - result: Review.Result; + export type Status = + | 'approved' + | 'canceled' + | 'execution_failed' + | 'execution_started' + | 'execution_succeeded' + | 'expired' + | 'failed' + | 'pending' + | 'rejected' + | 'requires_execution' + | 'requires_review' + | 'succeeded'; + + export interface StatusDetails { + /** + * Deprecated: use requires_execution status instead. + */ + approved?: StatusDetails.Approved; + + /** + * Deprecated: use canceled status instead. + */ + canceled?: StatusDetails.Canceled; + + /** + * Deprecated: use failed status instead. + */ + execution_failed?: StatusDetails.ExecutionFailed; + + /** + * Deprecated: use requires_execution status instead. + */ + execution_started?: StatusDetails.ExecutionStarted; + + /** + * Deprecated: use succeeded status instead. + */ + execution_succeeded?: StatusDetails.ExecutionSucceeded; + + /** + * Deprecated: use expired status instead. + */ + expired?: StatusDetails.Expired; + + /** + * Details when the approval request failed. + */ + failed?: StatusDetails.Failed; + + /** + * Deprecated: use requires_review status instead. + */ + pending?: StatusDetails.Pending; + + /** + * Deprecated: use rejected status instead. + */ + rejected?: StatusDetails.Rejected; + + /** + * Details when the approval request succeeded. + */ + succeeded?: StatusDetails.Succeeded; + } - /** - * Timestamp when the review was performed. - */ - reviewed_at: string; + export interface StatusTransitions { + /** + * Timestamp when the approval request was canceled. + */ + canceled_at?: string; + + /** + * Timestamp when the approval request expired. + */ + expired_at?: string; + + /** + * Timestamp when the approval request failed. + */ + failed_at?: string; + + /** + * Timestamp when the approval request was rejected. + */ + rejected_at?: string; + + /** + * Timestamp when the approval request moved to requires_execution status. + */ + requires_execution_at?: string; + + /** + * Timestamp when the approval request succeeded. + */ + succeeded_at?: string; + } - /** - * The reviewer who performed the review. - */ - reviewed_by: Review.ReviewedBy; - } + export namespace Review { + export type Result = 'approved' | 'rejected'; - export interface Rule { - /** - * The name of the rule. - */ - name: string; - } + export interface ReviewedBy { + /** + * Stripe-defined identifier for the reviewer (e.g. a restricted API key token). + */ + id: string; - export type Status = - | 'approved' - | 'canceled' - | 'execution_failed' - | 'execution_started' - | 'execution_succeeded' - | 'expired' - | 'failed' - | 'pending' - | 'rejected' - | 'requires_execution' - | 'requires_review' - | 'succeeded'; - - export interface StatusDetails { - /** - * Deprecated: use requires_execution status instead. - */ - approved?: StatusDetails.Approved; + /** + * Merchant-defined name for the reviewer. + */ + name: string; + } + } - /** - * Deprecated: use canceled status instead. - */ - canceled?: StatusDetails.Canceled; + export namespace StatusDetails { + export interface Approved { + /** + * The reason provided when approving the request. + */ + reason?: string; + } - /** - * Deprecated: use failed status instead. - */ - execution_failed?: StatusDetails.ExecutionFailed; + export interface Canceled {} - /** - * Deprecated: use requires_execution status instead. - */ - execution_started?: StatusDetails.ExecutionStarted; + export interface ExecutionFailed { + /** + * The error code for the failed execution. + */ + code: string; - /** - * Deprecated: use succeeded status instead. - */ - execution_succeeded?: StatusDetails.ExecutionSucceeded; + /** + * The error message for the failed execution. + */ + message: string; - /** - * Deprecated: use expired status instead. - */ - expired?: StatusDetails.Expired; + /** + * The error type for the failed execution. + */ + type: string; + } - /** - * Details when the approval request failed. - */ - failed?: StatusDetails.Failed; + export interface ExecutionStarted {} - /** - * Deprecated: use requires_review status instead. - */ - pending?: StatusDetails.Pending; + export interface ExecutionSucceeded { + /** + * The result of the successful execution. + */ + result: ExecutionSucceeded.Result; + } - /** - * Deprecated: use rejected status instead. - */ - rejected?: StatusDetails.Rejected; + export interface Expired {} - /** - * Details when the approval request succeeded. - */ - succeeded?: StatusDetails.Succeeded; - } + export interface Failed { + /** + * The error code for the failed execution. + */ + error_code: string; - export interface StatusTransitions { - /** - * Timestamp when the approval request was canceled. - */ - canceled_at?: string; + /** + * The error message for the failed execution. + */ + error_message: string; - /** - * Timestamp when the approval request expired. - */ - expired_at?: string; + /** + * The error type for the failed execution. + */ + error_type: string; + } + + export interface Pending {} + + export interface Rejected { + /** + * The reason provided when rejecting the request. + */ + reason?: string; + } + + export interface Succeeded { + /** + * The result of the successful execution. + */ + result: Succeeded.Result; + } + export namespace ExecutionSucceeded { + export interface Result { /** - * Timestamp when the approval request failed. + * The unique identifier of the executed object. */ - failed_at?: string; + id: string; /** - * Timestamp when the approval request was rejected. + * The object type of the executed resource. */ - rejected_at?: string; + object: string; + } + } + export namespace Succeeded { + export interface Result { /** - * Timestamp when the approval request moved to requires_execution status. + * The unique identifier of the executed object. */ - requires_execution_at?: string; + id: string; /** - * Timestamp when the approval request succeeded. + * The object type of the executed resource. */ - succeeded_at?: string; - } - - export namespace Review { - export type Result = 'approved' | 'rejected'; - - export interface ReviewedBy { - /** - * Stripe-defined identifier for the reviewer (e.g. a restricted API key token). - */ - id: string; - - /** - * Merchant-defined name for the reviewer. - */ - name: string; - } - } - - export namespace StatusDetails { - export interface Approved { - /** - * The reason provided when approving the request. - */ - reason?: string; - } - - export interface Canceled {} - - export interface ExecutionFailed { - /** - * The error code for the failed execution. - */ - code: string; - - /** - * The error message for the failed execution. - */ - message: string; - - /** - * The error type for the failed execution. - */ - type: string; - } - - export interface ExecutionStarted {} - - export interface ExecutionSucceeded { - /** - * The result of the successful execution. - */ - result: ExecutionSucceeded.Result; - } - - export interface Expired {} - - export interface Failed { - /** - * The error code for the failed execution. - */ - error_code: string; - - /** - * The error message for the failed execution. - */ - error_message: string; - - /** - * The error type for the failed execution. - */ - error_type: string; - } - - export interface Pending {} - - export interface Rejected { - /** - * The reason provided when rejecting the request. - */ - reason?: string; - } - - export interface Succeeded { - /** - * The result of the successful execution. - */ - result: Succeeded.Result; - } - - export namespace ExecutionSucceeded { - export interface Result { - /** - * The unique identifier of the executed object. - */ - id: string; - - /** - * The object type of the executed resource. - */ - object: string; - } - } - - export namespace Succeeded { - export interface Result { - /** - * The unique identifier of the executed object. - */ - id: string; - - /** - * The object type of the executed resource. - */ - object: string; - } - } + object: string; } } } diff --git a/src/resources/V2/Core/BatchJobs.ts b/src/resources/V2/Core/BatchJobs.ts index 21bd1d2773..b84070ef2d 100644 --- a/src/resources/V2/Core/BatchJobs.ts +++ b/src/resources/V2/Core/BatchJobs.ts @@ -284,317 +284,313 @@ export interface BatchJob { /** * The current status of the `batch_job`. */ - status: V2.Core.BatchJob.Status; + status: BatchJob.Status; /** * Additional details about the current state of the `batch_job`. */ - status_details?: V2.Core.BatchJob.StatusDetails; + status_details?: BatchJob.StatusDetails; } -export namespace V2 { - export namespace Core { - export namespace BatchJob { - export type Status = - | 'batch_failed' - | 'canceled' - | 'cancelling' - | 'complete' - | 'in_progress' - | 'ready_for_upload' - | 'timeout' - | 'upload_timeout' - | 'validating' - | 'validation_failed'; - - export interface StatusDetails { - /** - * Additional details for the `BATCH_FAILED` status of the `batch_job`. - */ - batch_failed?: StatusDetails.BatchFailed; +export namespace BatchJob { + export type Status = + | 'batch_failed' + | 'canceled' + | 'cancelling' + | 'complete' + | 'in_progress' + | 'ready_for_upload' + | 'timeout' + | 'upload_timeout' + | 'validating' + | 'validation_failed'; + + export interface StatusDetails { + /** + * Additional details for the `BATCH_FAILED` status of the `batch_job`. + */ + batch_failed?: StatusDetails.BatchFailed; + + /** + * Additional details for the `CANCELED` status of the `batch_job`. + */ + canceled?: StatusDetails.Canceled; + + /** + * Additional details for the `COMPLETE` status of the `batch_job`. + */ + complete?: StatusDetails.Complete; + + /** + * Additional details for the `IN_PROGRESS` status of the `batch_job`. + */ + in_progress?: StatusDetails.InProgress; + + /** + * Additional details for the `READY_FOR_UPLOAD` status of the `batch_job`. + */ + ready_for_upload?: StatusDetails.ReadyForUpload; + + /** + * Additional details for the `TIMEOUT` status of the `batch_job`. + */ + timeout?: StatusDetails.Timeout; + + /** + * Additional details for the `VALIDATING` status of the `batch_job`. + */ + validating?: StatusDetails.Validating; + + /** + * Additional details for the `VALIDATION_FAILED` status of the `batch_job`. + */ + validation_failed?: StatusDetails.ValidationFailed; + } - /** - * Additional details for the `CANCELED` status of the `batch_job`. - */ - canceled?: StatusDetails.Canceled; + export namespace StatusDetails { + export interface BatchFailed { + /** + * Details about the `batch_job` failure. + */ + error: string; + } - /** - * Additional details for the `COMPLETE` status of the `batch_job`. - */ - complete?: StatusDetails.Complete; + export interface Canceled { + /** + * The total number of records that failed processing. + */ + failure_count: bigint; - /** - * Additional details for the `IN_PROGRESS` status of the `batch_job`. - */ - in_progress?: StatusDetails.InProgress; + /** + * The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point. + */ + output_file: Canceled.OutputFile; - /** - * Additional details for the `READY_FOR_UPLOAD` status of the `batch_job`. - */ - ready_for_upload?: StatusDetails.ReadyForUpload; + /** + * The total number of records that were successfully processed. + */ + success_count: bigint; + } + export interface Complete { + /** + * The total number of records that failed processing. + */ + failure_count: bigint; + + /** + * The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point. + */ + output_file: Complete.OutputFile; + + /** + * The total number of records that were successfully processed. + */ + success_count: bigint; + } + + export interface InProgress { + /** + * The number of records that failed processing so far. + */ + failure_count: bigint; + + /** + * The number of records that were successfully processed so far. + */ + success_count: bigint; + } + + export interface ReadyForUpload { + /** + * The upload file details. + */ + upload_url: ReadyForUpload.UploadUrl; + } + + export interface Timeout { + /** + * The total number of records that failed processing. + */ + failure_count: bigint; + + /** + * The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point. + */ + output_file: Timeout.OutputFile; + + /** + * The total number of records that were successfully processed. + */ + success_count: bigint; + } + + export interface Validating { + /** + * The number of records that were validated. Note that there is no failure counter here; + * once we have any validation failures we give up. + */ + validated_count: bigint; + } + + export interface ValidationFailed { + /** + * The total number of records that failed processing. + */ + failure_count: bigint; + + /** + * The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point. + */ + output_file: ValidationFailed.OutputFile; + + /** + * The total number of records that were successfully processed. + */ + success_count: bigint; + } + + export namespace Canceled { + export interface OutputFile { /** - * Additional details for the `TIMEOUT` status of the `batch_job`. + * The content type of the file. */ - timeout?: StatusDetails.Timeout; + content_type: string; /** - * Additional details for the `VALIDATING` status of the `batch_job`. + * A pre-signed URL that allows secure, time-limited access to download the file. */ - validating?: StatusDetails.Validating; + download_url: OutputFile.DownloadUrl; /** - * Additional details for the `VALIDATION_FAILED` status of the `batch_job`. + * The total size of the file in bytes. */ - validation_failed?: StatusDetails.ValidationFailed; + size: bigint; } - export namespace StatusDetails { - export interface BatchFailed { + export namespace OutputFile { + export interface DownloadUrl { /** - * Details about the `batch_job` failure. + * The time that the URL expires. */ - error: string; - } + expires_at?: string; - export interface Canceled { /** - * The total number of records that failed processing. + * The URL that can be used for accessing the file. */ - failure_count: bigint; + url: string; + } + } + } - /** - * The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point. - */ - output_file: Canceled.OutputFile; + export namespace Complete { + export interface OutputFile { + /** + * The content type of the file. + */ + content_type: string; - /** - * The total number of records that were successfully processed. - */ - success_count: bigint; - } + /** + * A pre-signed URL that allows secure, time-limited access to download the file. + */ + download_url: OutputFile.DownloadUrl; - export interface Complete { - /** - * The total number of records that failed processing. - */ - failure_count: bigint; + /** + * The total size of the file in bytes. + */ + size: bigint; + } + export namespace OutputFile { + export interface DownloadUrl { /** - * The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point. + * The time that the URL expires. */ - output_file: Complete.OutputFile; + expires_at?: string; /** - * The total number of records that were successfully processed. + * The URL that can be used for accessing the file. */ - success_count: bigint; + url: string; } + } + } - export interface InProgress { - /** - * The number of records that failed processing so far. - */ - failure_count: bigint; + export namespace ReadyForUpload { + export interface UploadUrl { + /** + * The time that the URL expires. + */ + expires_at?: string; - /** - * The number of records that were successfully processed so far. - */ - success_count: bigint; - } + /** + * The URL that can be used for accessing the file. + */ + url: string; + } + } - export interface ReadyForUpload { - /** - * The upload file details. - */ - upload_url: ReadyForUpload.UploadUrl; - } + export namespace Timeout { + export interface OutputFile { + /** + * The content type of the file. + */ + content_type: string; - export interface Timeout { - /** - * The total number of records that failed processing. - */ - failure_count: bigint; + /** + * A pre-signed URL that allows secure, time-limited access to download the file. + */ + download_url: OutputFile.DownloadUrl; - /** - * The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point. - */ - output_file: Timeout.OutputFile; + /** + * The total size of the file in bytes. + */ + size: bigint; + } + export namespace OutputFile { + export interface DownloadUrl { /** - * The total number of records that were successfully processed. + * The time that the URL expires. */ - success_count: bigint; - } + expires_at?: string; - export interface Validating { /** - * The number of records that were validated. Note that there is no failure counter here; - * once we have any validation failures we give up. + * The URL that can be used for accessing the file. */ - validated_count: bigint; + url: string; } + } + } - export interface ValidationFailed { - /** - * The total number of records that failed processing. - */ - failure_count: bigint; + export namespace ValidationFailed { + export interface OutputFile { + /** + * The content type of the file. + */ + content_type: string; + /** + * A pre-signed URL that allows secure, time-limited access to download the file. + */ + download_url: OutputFile.DownloadUrl; + + /** + * The total size of the file in bytes. + */ + size: bigint; + } + + export namespace OutputFile { + export interface DownloadUrl { /** - * The output file details. If the `batch_job` is canceled, this is provided only if there is already output at this point. + * The time that the URL expires. */ - output_file: ValidationFailed.OutputFile; + expires_at?: string; /** - * The total number of records that were successfully processed. + * The URL that can be used for accessing the file. */ - success_count: bigint; - } - - export namespace Canceled { - export interface OutputFile { - /** - * The content type of the file. - */ - content_type: string; - - /** - * A pre-signed URL that allows secure, time-limited access to download the file. - */ - download_url: OutputFile.DownloadUrl; - - /** - * The total size of the file in bytes. - */ - size: bigint; - } - - export namespace OutputFile { - export interface DownloadUrl { - /** - * The time that the URL expires. - */ - expires_at?: string; - - /** - * The URL that can be used for accessing the file. - */ - url: string; - } - } - } - - export namespace Complete { - export interface OutputFile { - /** - * The content type of the file. - */ - content_type: string; - - /** - * A pre-signed URL that allows secure, time-limited access to download the file. - */ - download_url: OutputFile.DownloadUrl; - - /** - * The total size of the file in bytes. - */ - size: bigint; - } - - export namespace OutputFile { - export interface DownloadUrl { - /** - * The time that the URL expires. - */ - expires_at?: string; - - /** - * The URL that can be used for accessing the file. - */ - url: string; - } - } - } - - export namespace ReadyForUpload { - export interface UploadUrl { - /** - * The time that the URL expires. - */ - expires_at?: string; - - /** - * The URL that can be used for accessing the file. - */ - url: string; - } - } - - export namespace Timeout { - export interface OutputFile { - /** - * The content type of the file. - */ - content_type: string; - - /** - * A pre-signed URL that allows secure, time-limited access to download the file. - */ - download_url: OutputFile.DownloadUrl; - - /** - * The total size of the file in bytes. - */ - size: bigint; - } - - export namespace OutputFile { - export interface DownloadUrl { - /** - * The time that the URL expires. - */ - expires_at?: string; - - /** - * The URL that can be used for accessing the file. - */ - url: string; - } - } - } - - export namespace ValidationFailed { - export interface OutputFile { - /** - * The content type of the file. - */ - content_type: string; - - /** - * A pre-signed URL that allows secure, time-limited access to download the file. - */ - download_url: OutputFile.DownloadUrl; - - /** - * The total size of the file in bytes. - */ - size: bigint; - } - - export namespace OutputFile { - export interface DownloadUrl { - /** - * The time that the URL expires. - */ - expires_at?: string; - - /** - * The URL that can be used for accessing the file. - */ - url: string; - } - } + url: string; } } } diff --git a/src/resources/V2/Core/ClaimableSandboxes.ts b/src/resources/V2/Core/ClaimableSandboxes.ts index ea4ad97532..2353a1adf1 100644 --- a/src/resources/V2/Core/ClaimableSandboxes.ts +++ b/src/resources/V2/Core/ClaimableSandboxes.ts @@ -69,7 +69,7 @@ export interface ClaimableSandbox { /** * The app channel that will be used when pre-installing your app on the claimable sandbox. */ - app_channel: V2.Core.ClaimableSandbox.AppChannel; + app_channel: ClaimableSandbox.AppChannel; /** * The timestamp the sandbox was claimed. The value will be null if the sandbox status is not `claimed`. @@ -94,125 +94,121 @@ export interface ClaimableSandbox { /** * Details about the onboarding link. */ - onboarding_link_details: V2.Core.ClaimableSandbox.OnboardingLinkDetails; + onboarding_link_details: ClaimableSandbox.OnboardingLinkDetails; /** * Details about the livemode owner account of the sandbox. * This will be null until the sandbox is claimed. */ - owner_details?: V2.Core.ClaimableSandbox.OwnerDetails; + owner_details?: ClaimableSandbox.OwnerDetails; /** * Values prefilled during the creation of the sandbox. When a user claims the sandbox, they will be able to update these values. */ - prefill: V2.Core.ClaimableSandbox.Prefill; + prefill: ClaimableSandbox.Prefill; /** * Data about the Stripe sandbox object. */ - sandbox_details: V2.Core.ClaimableSandbox.SandboxDetails; + sandbox_details: ClaimableSandbox.SandboxDetails; /** * Status of the sandbox. */ - status: V2.Core.ClaimableSandbox.Status; + status: ClaimableSandbox.Status; } -export namespace V2 { - export namespace Core { - export namespace ClaimableSandbox { - export type AppChannel = 'public' | 'testing'; - - export interface OnboardingLinkDetails { - /** - * The timestamp the onboarding link expires. - */ - expires_at: string; - - /** - * The URL the user will be redirected to if the onboarding link is expired or invalid. - * The URL specified should attempt to generate a new onboarding link, - * and re-direct the user to this new onboarding link so that they can proceed with the onboarding flow. - */ - refresh_url: string; - - /** - * URL that will redirect the user to either claim or onboard the claimable sandbox depending on its status. - */ - url: string; - } - - export interface OwnerDetails { - /** - * The ID of the livemode Stripe account that owns the sandbox. - * This field is only set when owner_details.app_install_status is `installed`. - */ - account?: string; +export namespace ClaimableSandbox { + export type AppChannel = 'public' | 'testing'; + + export interface OnboardingLinkDetails { + /** + * The timestamp the onboarding link expires. + */ + expires_at: string; + + /** + * The URL the user will be redirected to if the onboarding link is expired or invalid. + * The URL specified should attempt to generate a new onboarding link, + * and re-direct the user to this new onboarding link so that they can proceed with the onboarding flow. + */ + refresh_url: string; + + /** + * URL that will redirect the user to either claim or onboard the claimable sandbox depending on its status. + */ + url: string; + } - /** - * Indicates whether the platform app is installed on the sandbox's livemode owner account. - */ - app_install_status: OwnerDetails.AppInstallStatus; - } + export interface OwnerDetails { + /** + * The ID of the livemode Stripe account that owns the sandbox. + * This field is only set when owner_details.app_install_status is `installed`. + */ + account?: string; + + /** + * Indicates whether the platform app is installed on the sandbox's livemode owner account. + */ + app_install_status: OwnerDetails.AppInstallStatus; + } - export interface Prefill { - /** - * Country in which the account holder resides, or in which the business is legally established. - * Use two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; + export interface Prefill { + /** + * Country in which the account holder resides, or in which the business is legally established. + * Use two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country: string; + + /** + * Email that this sandbox is meant to be claimed by. Stripe will + * send an email to this email address before the sandbox expires. + */ + email: string; + + /** + * Name for the sandbox. + */ + name: string; + } - /** - * Email that this sandbox is meant to be claimed by. Stripe will - * send an email to this email address before the sandbox expires. - */ - email: string; + export interface SandboxDetails { + /** + * The sandbox's Stripe account ID. + */ + account: string; - /** - * Name for the sandbox. - */ - name: string; - } + /** + * Keys that can be used to set up an integration for this sandbox and operate on the account. This will be present only in the create response, and will be null in subsequent retrieve responses. + */ + api_keys?: SandboxDetails.ApiKeys; + } - export interface SandboxDetails { - /** - * The sandbox's Stripe account ID. - */ - account: string; + export type Status = 'claimed' | 'expired' | 'live' | 'unclaimed'; - /** - * Keys that can be used to set up an integration for this sandbox and operate on the account. This will be present only in the create response, and will be null in subsequent retrieve responses. - */ - api_keys?: SandboxDetails.ApiKeys; - } + export namespace OwnerDetails { + export type AppInstallStatus = + | 'installed' + | 'pending_install' + | 'pending_onboarding'; + } - export type Status = 'claimed' | 'expired' | 'live' | 'unclaimed'; + export namespace SandboxDetails { + export interface ApiKeys { + /** + * Used to communicate with [Stripe's MCP server](https://docs.stripe.com/mcp). + * This allows LLM agents to securely operate on a Stripe account. + */ + mcp?: string; - export namespace OwnerDetails { - export type AppInstallStatus = - | 'installed' - | 'pending_install' - | 'pending_onboarding'; - } + /** + * Publicly accessible in a web or mobile app client-side code. + */ + publishable: string; - export namespace SandboxDetails { - export interface ApiKeys { - /** - * Used to communicate with [Stripe's MCP server](https://docs.stripe.com/mcp). - * This allows LLM agents to securely operate on a Stripe account. - */ - mcp?: string; - - /** - * Publicly accessible in a web or mobile app client-side code. - */ - publishable: string; - - /** - * Should be stored securely in server-side code (such as an environment variable). - */ - secret: string; - } - } + /** + * Should be stored securely in server-side code (such as an environment variable). + */ + secret: string; } } } diff --git a/src/resources/V2/Core/ConnectionSessions.ts b/src/resources/V2/Core/ConnectionSessions.ts index 8a792eff45..222c3a72d9 100644 --- a/src/resources/V2/Core/ConnectionSessions.ts +++ b/src/resources/V2/Core/ConnectionSessions.ts @@ -63,7 +63,7 @@ export interface ConnectionSession { /** * The Connection created by the ConnectionSession. */ - connection?: V2.Core.ConnectionSession.Connection; + connection?: ConnectionSession.Connection; /** * Time at which the ConnectionSession was created. @@ -80,21 +80,17 @@ export interface ConnectionSession { */ requested_access?: Array<'payout_methods'>; } -export namespace V2 { - export namespace Core { - export namespace ConnectionSession { - export interface Connection { - /** - * The access granted to the Account by the Connection. - */ - granted_access?: Array<'payout_methods'>; +export namespace ConnectionSession { + export interface Connection { + /** + * The access granted to the Account by the Connection. + */ + granted_access?: Array<'payout_methods'>; - /** - * The type of the Connection. - */ - type: 'link'; - } - } + /** + * The type of the Connection. + */ + type: 'link'; } } export namespace V2 { diff --git a/src/resources/V2/Core/Events.ts b/src/resources/V2/Core/Events.ts index 0ff07e2288..2ea0fcf8e7 100644 --- a/src/resources/V2/Core/Events.ts +++ b/src/resources/V2/Core/Events.ts @@ -133,77 +133,75 @@ export namespace Event { type: 'request'; } - export namespace Reason { - export interface Request { - /** - * The client details that made the request. - */ - client?: Request.Client; + export namespace Reason { + export interface Request { + /** + * The client details that made the request. + */ + client?: Request.Client; + + /** + * ID of the API request that caused the event. + */ + id: string; + + /** + * The idempotency key transmitted during the request. + */ + idempotency_key: string; + } + + export namespace Request { + export interface Client { + /** + * API key that triggered the event. + */ + api_key?: Client.ApiKey; + + /** + * Dashboard user that triggered the event. + */ + dashboard_user?: Client.DashboardUser; + + /** + * Stripe action that triggered the event. + */ + stripe_action?: Client.StripeAction; + + /** + * The type of the client. + */ + type: Client.Type; + } + export namespace Client { + export interface ApiKey { /** - * ID of the API request that caused the event. + * The ID of the API key. */ id: string; + } + export interface DashboardUser { /** - * The idempotency key transmitted during the request. + * The email of the dashboard user. */ - idempotency_key: string; - } + email: string; - export namespace Request { - export interface Client { - /** - * API key that triggered the event. - */ - api_key?: Client.ApiKey; - - /** - * Dashboard user that triggered the event. - */ - dashboard_user?: Client.DashboardUser; + /** + * The IP address of the user. + */ + ip_address: string; - /** - * Stripe action that triggered the event. - */ - stripe_action?: Client.StripeAction; + /** + * The machine identifier of the user. + */ + machine_identifier: string; + } - /** - * The type of the client. - */ - type: Client.Type; - } + export interface StripeAction {} - export namespace Client { - export interface ApiKey { - /** - * The ID of the API key. - */ - id: string; - } - - export interface DashboardUser { - /** - * The email of the dashboard user. - */ - email: string; - - /** - * The IP address of the user. - */ - ip_address: string; - - /** - * The machine identifier of the user. - */ - machine_identifier: string; - } - - export interface StripeAction {} - - export type Type = 'api_key' | 'dashboard_user' | 'stripe_action'; - } - } + export type Type = 'api_key' | 'dashboard_user' | 'stripe_action'; } } } diff --git a/src/resources/V2/Core/FeeBatches.ts b/src/resources/V2/Core/FeeBatches.ts index 3e1a3f728d..dbd80839f9 100644 --- a/src/resources/V2/Core/FeeBatches.ts +++ b/src/resources/V2/Core/FeeBatches.ts @@ -45,22 +45,22 @@ export interface FeeBatch { /** * Adjustments applied to this batch. */ - adjustments?: V2.Core.FeeBatch.Adjustments; + adjustments?: FeeBatch.Adjustments; /** * The total fee amount billed in this batch. */ - amount: V2.Core.FeeBatch.Amount; + amount: FeeBatch.Amount; /** * The entity that collected this batch. */ - collected_by: V2.Core.FeeBatch.CollectedBy; + collected_by: FeeBatch.CollectedBy; /** * The money movement records associated with collecting this batch. */ - collection_records: Array; + collection_records: Array; /** * Timestamp of when this batch was created. @@ -75,182 +75,178 @@ export interface FeeBatch { /** * The current state of this batch. */ - status: V2.Core.FeeBatch.Status; + status: FeeBatch.Status; /** * Timestamps for each status transition. */ - status_transitions: V2.Core.FeeBatch.StatusTransitions; + status_transitions: FeeBatch.StatusTransitions; /** * The tax amount included in this batch. */ - tax?: V2.Core.FeeBatch.Tax; + tax?: FeeBatch.Tax; } -export namespace V2 { - export namespace Core { - export namespace FeeBatch { - export interface Adjustments { - /** - * The amount of tax adjusted for this batch. - */ - tax_adjustment?: Adjustments.TaxAdjustment; - } +export namespace FeeBatch { + export interface Adjustments { + /** + * The amount of tax adjusted for this batch. + */ + tax_adjustment?: Adjustments.TaxAdjustment; + } - export interface Amount { - /** - * A lowercase alpha3 currency code like "usd" - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - currency: string; + export interface Amount { + /** + * A lowercase alpha3 currency code like "usd" + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + currency: string; + + /** + * In major units like "1.23" for 1.23 USD + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + value: string; + } - /** - * In major units like "1.23" for 1.23 USD - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - value: string; - } + export interface CollectedBy { + /** + * The type of entity that collected this batch. + */ + type: CollectedBy.Type; + } - export interface CollectedBy { - /** - * The type of entity that collected this batch. - */ - type: CollectedBy.Type; - } + export interface CollectionRecord { + /** + * The fee amount collected via this record. + */ + amount: CollectionRecord.Amount; + + /** + * The ID of the associated v1 balance transaction. + */ + balance_transaction?: string; + + /** + * The ID of the associated credit transaction. + */ + credit_transaction?: string; + + /** + * The ID of the associated v2 money management transaction. + */ + money_management_transaction?: string; + + /** + * The ID of the associated accounts-receivable invoice. + */ + payable_invoice?: string; + + /** + * The tax amount collected via this record. + */ + tax?: CollectionRecord.Tax; + + /** + * The type of money movement object. + */ + type: CollectionRecord.Type; + } - export interface CollectionRecord { - /** - * The fee amount collected via this record. - */ - amount: CollectionRecord.Amount; + export type Status = 'billed' | 'pending'; - /** - * The ID of the associated v1 balance transaction. - */ - balance_transaction?: string; + export interface StatusTransitions { + /** + * Timestamp of when the batch transitioned to BILLED, if applicable. + */ + billed_at?: string; + } - /** - * The ID of the associated credit transaction. - */ - credit_transaction?: string; + export interface Tax { + /** + * The tax amount included in this batch. + */ + amount: Tax.Amount; + } - /** - * The ID of the associated v2 money management transaction. - */ - money_management_transaction?: string; + export namespace Adjustments { + export interface TaxAdjustment { + /** + * A lowercase alpha3 currency code like "usd" + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + currency: string; - /** - * The ID of the associated accounts-receivable invoice. - */ - payable_invoice?: string; + /** + * In major units like "1.23" for 1.23 USD + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + value: string; + } + } - /** - * The tax amount collected via this record. - */ - tax?: CollectionRecord.Tax; + export namespace CollectedBy { + export type Type = 'application' | 'network' | 'stripe'; + } - /** - * The type of money movement object. - */ - type: CollectionRecord.Type; - } + export namespace CollectionRecord { + export interface Amount { + /** + * A lowercase alpha3 currency code like "usd" + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + currency: string; + + /** + * In major units like "1.23" for 1.23 USD + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + value: string; + } - export type Status = 'billed' | 'pending'; + export interface Tax { + /** + * The tax amount collected via this record. + */ + amount: Tax.Amount; + } - export interface StatusTransitions { + export type Type = + | 'balance_transaction' + | 'credit_transaction' + | 'money_management_transaction' + | 'payable_invoice'; + + export namespace Tax { + export interface Amount { /** - * Timestamp of when the batch transitioned to BILLED, if applicable. + * A lowercase alpha3 currency code like "usd" + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. */ - billed_at?: string; - } + currency: string; - export interface Tax { /** - * The tax amount included in this batch. + * In major units like "1.23" for 1.23 USD + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. */ - amount: Tax.Amount; - } - - export namespace Adjustments { - export interface TaxAdjustment { - /** - * A lowercase alpha3 currency code like "usd" - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - currency: string; - - /** - * In major units like "1.23" for 1.23 USD - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - value: string; - } - } - - export namespace CollectedBy { - export type Type = 'application' | 'network' | 'stripe'; + value: string; } + } + } - export namespace CollectionRecord { - export interface Amount { - /** - * A lowercase alpha3 currency code like "usd" - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - currency: string; - - /** - * In major units like "1.23" for 1.23 USD - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - value: string; - } - - export interface Tax { - /** - * The tax amount collected via this record. - */ - amount: Tax.Amount; - } - - export type Type = - | 'balance_transaction' - | 'credit_transaction' - | 'money_management_transaction' - | 'payable_invoice'; - - export namespace Tax { - export interface Amount { - /** - * A lowercase alpha3 currency code like "usd" - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - currency: string; - - /** - * In major units like "1.23" for 1.23 USD - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - value: string; - } - } - } + export namespace Tax { + export interface Amount { + /** + * A lowercase alpha3 currency code like "usd" + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + currency: string; - export namespace Tax { - export interface Amount { - /** - * A lowercase alpha3 currency code like "usd" - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - currency: string; - - /** - * In major units like "1.23" for 1.23 USD - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - value: string; - } - } + /** + * In major units like "1.23" for 1.23 USD + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + value: string; } } } diff --git a/src/resources/V2/Core/FeeEntries.ts b/src/resources/V2/Core/FeeEntries.ts index f7286198b5..4b318fbde8 100644 --- a/src/resources/V2/Core/FeeEntries.ts +++ b/src/resources/V2/Core/FeeEntries.ts @@ -45,12 +45,12 @@ export interface FeeEntry { /** * The fee amount. */ - amount: V2.Core.FeeEntry.Amount; + amount: FeeEntry.Amount; /** * The entity that assessed this fee. */ - charged_by: V2.Core.FeeEntry.ChargedBy; + charged_by: FeeEntry.ChargedBy; /** * Timestamp of when this fee entry was created. @@ -65,7 +65,7 @@ export interface FeeEntry { /** * The usage event that caused this fee to be assessed. */ - incurred_by: V2.Core.FeeEntry.IncurredBy; + incurred_by: FeeEntry.IncurredBy; /** * Has the value `true` if the object exists in live mode, or `false` if in test mode. @@ -75,136 +75,132 @@ export interface FeeEntry { /** * The reason this fee entry was created. */ - reason: V2.Core.FeeEntry.Reason; + reason: FeeEntry.Reason; /** * The tax portion of the fee, if applicable. */ - tax?: V2.Core.FeeEntry.Tax; + tax?: FeeEntry.Tax; /** * The category of this fee. */ - type: V2.Core.FeeEntry.Type; + type: FeeEntry.Type; } -export namespace V2 { - export namespace Core { - export namespace FeeEntry { - export interface Amount { - /** - * A lowercase alpha3 currency code like "usd" - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - currency: string; - - /** - * In major units like "1.23" for 1.23 USD - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - value: string; - } - - export interface ChargedBy { - /** - * Details for a fee charged by a Connect application. - */ - application?: ChargedBy.Application; - - /** - * Details for a fee charged by the payment network. - */ - network?: ChargedBy.Network; - - /** - * Details for a fee charged by Stripe. - */ - stripe?: ChargedBy.Stripe; - - /** - * The type of entity that charged this fee. - */ - type: ChargedBy.Type; - } - - export interface IncurredBy { - /** - * The account that incurred the usage (may differ from the billing account). - */ - account?: string; - - /** - * Public API object id, e.g. ch_xxx. - */ - id: string; - - /** - * Timestamp of when the usage event occurred. - */ - occurred_at?: string; - - /** - * Public API object type: "charge", "payment", "refund", "dispute", "payout", etc. - */ - type: string; - } - - export type Reason = - | 'other' - | 'processing_fee' - | 'refund' - | 'refund_failure' - | 'reprice' - | 'tier_true_up'; - - export interface Tax { - /** - * The tax amount calculated for this fee. - */ - amount: Tax.Amount; - } - - export type Type = 'application_fee' | 'passthrough_fee' | 'stripe_fee'; - - export namespace ChargedBy { - export interface Application { - /** - * Human-readable product name, e.g. "Card payments - Stripe fee". - */ - feature_name?: string; - } - - export interface Network { - /** - * Human-readable product name, e.g. "Card payments - Stripe fee". - */ - feature_name?: string; - } - - export interface Stripe { - /** - * Human-readable product name, e.g. "Card payments - Stripe fee". - */ - feature_name?: string; - } - - export type Type = 'application' | 'network' | 'stripe'; - } - - export namespace Tax { - export interface Amount { - /** - * A lowercase alpha3 currency code like "usd" - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - currency: string; - - /** - * In major units like "1.23" for 1.23 USD - * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. - */ - value: string; - } - } +export namespace FeeEntry { + export interface Amount { + /** + * A lowercase alpha3 currency code like "usd" + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + currency: string; + + /** + * In major units like "1.23" for 1.23 USD + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + value: string; + } + + export interface ChargedBy { + /** + * Details for a fee charged by a Connect application. + */ + application?: ChargedBy.Application; + + /** + * Details for a fee charged by the payment network. + */ + network?: ChargedBy.Network; + + /** + * Details for a fee charged by Stripe. + */ + stripe?: ChargedBy.Stripe; + + /** + * The type of entity that charged this fee. + */ + type: ChargedBy.Type; + } + + export interface IncurredBy { + /** + * The account that incurred the usage (may differ from the billing account). + */ + account?: string; + + /** + * Public API object id, e.g. ch_xxx. + */ + id: string; + + /** + * Timestamp of when the usage event occurred. + */ + occurred_at?: string; + + /** + * Public API object type: "charge", "payment", "refund", "dispute", "payout", etc. + */ + type: string; + } + + export type Reason = + | 'other' + | 'processing_fee' + | 'refund' + | 'refund_failure' + | 'reprice' + | 'tier_true_up'; + + export interface Tax { + /** + * The tax amount calculated for this fee. + */ + amount: Tax.Amount; + } + + export type Type = 'application_fee' | 'passthrough_fee' | 'stripe_fee'; + + export namespace ChargedBy { + export interface Application { + /** + * Human-readable product name, e.g. "Card payments - Stripe fee". + */ + feature_name?: string; + } + + export interface Network { + /** + * Human-readable product name, e.g. "Card payments - Stripe fee". + */ + feature_name?: string; + } + + export interface Stripe { + /** + * Human-readable product name, e.g. "Card payments - Stripe fee". + */ + feature_name?: string; + } + + export type Type = 'application' | 'network' | 'stripe'; + } + + export namespace Tax { + export interface Amount { + /** + * A lowercase alpha3 currency code like "usd" + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + currency: string; + + /** + * In major units like "1.23" for 1.23 USD + * For the taxonomy label choice, see SECURE_FRAMEWORKS-2849. + */ + value: string; } } } diff --git a/src/resources/V2/Core/Vault/GbBankAccounts.ts b/src/resources/V2/Core/Vault/GbBankAccounts.ts index b32df03947..784fd7b69f 100644 --- a/src/resources/V2/Core/Vault/GbBankAccounts.ts +++ b/src/resources/V2/Core/Vault/GbBankAccounts.ts @@ -121,7 +121,7 @@ export interface GbBankAccount { /** * The alternative reference for this payout method, if it's a projected payout method. */ - alternative_reference?: V2.Core.Vault.GbBankAccount.AlternativeReference; + alternative_reference?: GbBankAccount.AlternativeReference; /** * Whether this bank account object was archived. Bank account objects can be archived through @@ -133,7 +133,7 @@ export interface GbBankAccount { /** * Closed Enum. The type of the bank account (checking or savings). */ - bank_account_type: V2.Core.Vault.GbBankAccount.BankAccountType; + bank_account_type: GbBankAccount.BankAccountType; /** * The name of the bank. @@ -144,7 +144,7 @@ export interface GbBankAccount { * Information around the status of Confirmation of Payee matching done on this bank account. * Confirmation of Payee is a name matching service that must be done before making OutboundPayments in the UK. */ - confirmation_of_payee: V2.Core.Vault.GbBankAccount.ConfirmationOfPayee; + confirmation_of_payee: GbBankAccount.ConfirmationOfPayee; /** * Creation time. @@ -171,114 +171,108 @@ export interface GbBankAccount { */ supported_currencies: Array; } -export namespace V2 { - export namespace Core { - export namespace Vault { - export namespace GbBankAccount { - export interface AlternativeReference { - /** - * The ID of the alternative resource being referenced. - */ - id: string; +export namespace GbBankAccount { + export interface AlternativeReference { + /** + * The ID of the alternative resource being referenced. + */ + id: string; + + /** + * The type of the alternative reference (e.g., external_account for V1 external accounts). + */ + type: AlternativeReference.Type; + } - /** - * The type of the alternative reference (e.g., external_account for V1 external accounts). - */ - type: AlternativeReference.Type; - } + export type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza'; - export type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza'; + export interface ConfirmationOfPayee { + /** + * The result of the Confirmation of Payee check, once the check has been initiated. Closed enum. + */ + result: ConfirmationOfPayee.Result; - export interface ConfirmationOfPayee { - /** - * The result of the Confirmation of Payee check, once the check has been initiated. Closed enum. - */ - result: ConfirmationOfPayee.Result; + /** + * The current state of Confirmation of Payee on this bank account. Closed enum. + */ + status: ConfirmationOfPayee.Status; + } - /** - * The current state of Confirmation of Payee on this bank account. Closed enum. - */ - status: ConfirmationOfPayee.Status; - } + export namespace AlternativeReference { + export type Type = 'external_account' | 'payment_method'; + } - export namespace AlternativeReference { - export type Type = 'external_account' | 'payment_method'; - } + export namespace ConfirmationOfPayee { + export interface Result { + /** + * When the CoP result was created. + */ + created: string; + + /** + * Whether or not the information of the bank account matches what you have provided. Closed enum. + */ + match_result: Result.MatchResult; + + /** + * The fields that CoP service matched against. Only has value if MATCH or PARTIAL_MATCH, empty otherwise. + */ + matched: Result.Matched; + + /** + * Human-readable message describing the match result. + */ + message: string; + + /** + * The fields that are matched against what the network has on file. + */ + provided: Result.Provided; + } - export namespace ConfirmationOfPayee { - export interface Result { - /** - * When the CoP result was created. - */ - created: string; - - /** - * Whether or not the information of the bank account matches what you have provided. Closed enum. - */ - match_result: Result.MatchResult; - - /** - * The fields that CoP service matched against. Only has value if MATCH or PARTIAL_MATCH, empty otherwise. - */ - matched: Result.Matched; - - /** - * Human-readable message describing the match result. - */ - message: string; - - /** - * The fields that are matched against what the network has on file. - */ - provided: Result.Provided; - } - - export type Status = - | 'awaiting_acknowledgement' - | 'confirmed' - | 'uninitiated'; - - export namespace Result { - export type MatchResult = - | 'match' - | 'mismatch' - | 'partial_match' - | 'unavailable'; - - export interface Matched { - /** - * The business type given by the bank for this account, in case of a MATCH or PARTIAL_MATCH. - * Closed enum. - */ - business_type?: Matched.BusinessType; - - /** - * The name given by the bank for this account, in case of a MATCH or PARTIAL_MATCH. - */ - name?: string; - } - - export interface Provided { - /** - * The provided or Legal Entity business type to match against the CoP service. Closed enum. - */ - business_type: Provided.BusinessType; - - /** - * The provided or Legal Entity name to match against the CoP service. - */ - name: string; - } - - export namespace Matched { - export type BusinessType = 'business' | 'personal'; - } - - export namespace Provided { - export type BusinessType = 'business' | 'personal'; - } - } - } + export type Status = + | 'awaiting_acknowledgement' + | 'confirmed' + | 'uninitiated'; + + export namespace Result { + export type MatchResult = + | 'match' + | 'mismatch' + | 'partial_match' + | 'unavailable'; + + export interface Matched { + /** + * The business type given by the bank for this account, in case of a MATCH or PARTIAL_MATCH. + * Closed enum. + */ + business_type?: Matched.BusinessType; + + /** + * The name given by the bank for this account, in case of a MATCH or PARTIAL_MATCH. + */ + name?: string; + } + + export interface Provided { + /** + * The provided or Legal Entity business type to match against the CoP service. Closed enum. + */ + business_type: Provided.BusinessType; + + /** + * The provided or Legal Entity name to match against the CoP service. + */ + name: string; + } + + export namespace Matched { + export type BusinessType = 'business' | 'personal'; + } + + export namespace Provided { + export type BusinessType = 'business' | 'personal'; } } } diff --git a/src/resources/V2/Core/Vault/UsBankAccounts.ts b/src/resources/V2/Core/Vault/UsBankAccounts.ts index adb5b1e118..9ee5886e96 100644 --- a/src/resources/V2/Core/Vault/UsBankAccounts.ts +++ b/src/resources/V2/Core/Vault/UsBankAccounts.ts @@ -139,7 +139,7 @@ export interface UsBankAccount { /** * The alternative reference for this payout method, if it's a projected payout method. */ - alternative_reference?: V2.Core.Vault.UsBankAccount.AlternativeReference; + alternative_reference?: UsBankAccount.AlternativeReference; /** * Whether this USBankAccount object was archived. @@ -149,7 +149,7 @@ export interface UsBankAccount { /** * Closed Enum. The type of bank account (checking or savings). */ - bank_account_type: V2.Core.Vault.UsBankAccount.BankAccountType; + bank_account_type: UsBankAccount.BankAccountType; /** * The name of the bank this bank account belongs to. This field is populated automatically by Stripe based on the routing number. @@ -194,71 +194,65 @@ export interface UsBankAccount { /** * The bank account verification details. */ - verification: V2.Core.Vault.UsBankAccount.Verification; + verification: UsBankAccount.Verification; } -export namespace V2 { - export namespace Core { - export namespace Vault { - export namespace UsBankAccount { - export interface AlternativeReference { - /** - * The ID of the alternative resource being referenced. - */ - id: string; - - /** - * The type of the alternative reference (e.g., external_account for V1 external accounts). - */ - type: AlternativeReference.Type; - } +export namespace UsBankAccount { + export interface AlternativeReference { + /** + * The ID of the alternative resource being referenced. + */ + id: string; + + /** + * The type of the alternative reference (e.g., external_account for V1 external accounts). + */ + type: AlternativeReference.Type; + } - export type BankAccountType = 'checking' | 'savings'; + export type BankAccountType = 'checking' | 'savings'; - export interface Verification { - /** - * The microdeposit verification details if the status is awaiting verification. - */ - microdeposit_verification_details?: Verification.MicrodepositVerificationDetails; - - /** - * The bank account verification status. - */ - status: Verification.Status; - } - - export namespace AlternativeReference { - export type Type = 'external_account' | 'payment_method'; - } - - export namespace Verification { - export interface MicrodepositVerificationDetails { - /** - * Time when microdeposits will expire and have to be re-sent. - */ - expires: string; - - /** - * Microdeposit type can be amounts or descriptor_type. - */ - microdeposit_type: MicrodepositVerificationDetails.MicrodepositType; - - /** - * Time when microdeposits were sent. - */ - sent: string; - } - - export type Status = - | 'awaiting_verification' - | 'unverified' - | 'verification_failed' - | 'verified'; - - export namespace MicrodepositVerificationDetails { - export type MicrodepositType = 'amounts' | 'descriptor_code'; - } - } - } + export interface Verification { + /** + * The microdeposit verification details if the status is awaiting verification. + */ + microdeposit_verification_details?: Verification.MicrodepositVerificationDetails; + + /** + * The bank account verification status. + */ + status: Verification.Status; + } + + export namespace AlternativeReference { + export type Type = 'external_account' | 'payment_method'; + } + + export namespace Verification { + export interface MicrodepositVerificationDetails { + /** + * Time when microdeposits will expire and have to be re-sent. + */ + expires: string; + + /** + * Microdeposit type can be amounts or descriptor_type. + */ + microdeposit_type: MicrodepositVerificationDetails.MicrodepositType; + + /** + * Time when microdeposits were sent. + */ + sent: string; + } + + export type Status = + | 'awaiting_verification' + | 'unverified' + | 'verification_failed' + | 'verified'; + + export namespace MicrodepositVerificationDetails { + export type MicrodepositType = 'amounts' | 'descriptor_code'; } } } diff --git a/src/resources/V2/Data/Analytics/MetricQueryResults.ts b/src/resources/V2/Data/Analytics/MetricQueryResults.ts index e887788ab3..9a024bf891 100644 --- a/src/resources/V2/Data/Analytics/MetricQueryResults.ts +++ b/src/resources/V2/Data/Analytics/MetricQueryResults.ts @@ -20,7 +20,7 @@ export interface MetricQueryResult { /** * An array of timeseries data rows. */ - data: Array; + data: Array; /** * Whether this query was run in live mode. @@ -42,58 +42,52 @@ export interface MetricQueryResult { */ refreshed_at: string; } -export namespace V2 { - export namespace Data { - export namespace Analytics { - export namespace MetricQueryResult { - export interface Data { - /** - * A hash of dimension type to dimension instance, if group_by was specified. - */ - dimensions: { - [key: string]: string; - }; +export namespace MetricQueryResult { + export interface Data { + /** + * A hash of dimension type to dimension instance, if group_by was specified. + */ + dimensions: { + [key: string]: string; + }; - /** - * A unique identifier for this row. - */ - id: string; + /** + * A unique identifier for this row. + */ + id: string; - /** - * Array of metric values returned from this query. - */ - results: Array; + /** + * Array of metric values returned from this query. + */ + results: Array; - /** - * Timestamp denoting the start of this time bucket. - */ - timestamp: string; - } + /** + * Timestamp denoting the start of this time bucket. + */ + timestamp: string; + } - export namespace Data { - export interface Result { - /** - * If this is a monetary metric, the currency it is returned in. Otherwise null. - */ - currency?: string; + export namespace Data { + export interface Result { + /** + * If this is a monetary metric, the currency it is returned in. Otherwise null. + */ + currency?: string; - /** - * The ID of this metric. - */ - metric: string; + /** + * The ID of this metric. + */ + metric: string; - /** - * The common name of this metric. - */ - name: string; + /** + * The common name of this metric. + */ + name: string; - /** - * The numeric value of this metric. - */ - value: bigint; - } - } - } + /** + * The numeric value of this metric. + */ + value: bigint; } } } diff --git a/src/resources/V2/Data/Reporting/QueryRuns.ts b/src/resources/V2/Data/Reporting/QueryRuns.ts index a8aba72607..6ab4074916 100644 --- a/src/resources/V2/Data/Reporting/QueryRuns.ts +++ b/src/resources/V2/Data/Reporting/QueryRuns.ts @@ -85,12 +85,12 @@ export interface QueryRun { /** * Details how to retrieve the results of a successfully completed `QueryRun`. */ - result?: V2.Data.Reporting.QueryRun.Result; + result?: QueryRun.Result; /** * The options specified for customizing the output of the `QueryRun`. */ - result_options?: V2.Data.Reporting.QueryRun.ResultOptions; + result_options?: QueryRun.ResultOptions; /** * The SQL that was executed. @@ -100,122 +100,116 @@ export interface QueryRun { /** * The current status of the `QueryRun`. */ - status: V2.Data.Reporting.QueryRun.Status; + status: QueryRun.Status; /** * Additional details about the current state of the `QueryRun`. Populated when the `QueryRun` * is in the `failed` state, providing more information about why the query failed. */ status_details: { - [key: string]: V2.Data.Reporting.QueryRun.StatusDetails; + [key: string]: QueryRun.StatusDetails; }; } -export namespace V2 { - export namespace Data { - export namespace Reporting { - export namespace QueryRun { - export interface Result { - /** - * Contains metadata about the file produced by the `ReportRun` or `QueryRun`, including - * its content type, size, and a URL to download its contents. - */ - file?: Result.File; - - /** - * The type of the `ReportRun` or `QueryRun` result. - */ - type: 'file'; - } - - export interface ResultOptions { - /** - * If set, the generated results file will be compressed into a ZIP folder. - * This is useful for reducing file size and download time for large results. - */ - compress_file?: boolean; - } - - export type Status = 'failed' | 'running' | 'succeeded'; - - export interface StatusDetails { - /** - * Error code categorizing the reason the `QueryRun` failed. - */ - error_code?: StatusDetails.ErrorCode; - - /** - * Error message with additional details about the failure. - */ - error_message?: string; - } +export namespace QueryRun { + export interface Result { + /** + * Contains metadata about the file produced by the `ReportRun` or `QueryRun`, including + * its content type, size, and a URL to download its contents. + */ + file?: Result.File; + + /** + * The type of the `ReportRun` or `QueryRun` result. + */ + type: 'file'; + } - export namespace Result { - export interface File { - /** - * The content type of the file. - */ - content_type: File.ContentType; + export interface ResultOptions { + /** + * If set, the generated results file will be compressed into a ZIP folder. + * This is useful for reducing file size and download time for large results. + */ + compress_file?: boolean; + } - /** - * A pre-signed URL that allows secure, time-limited access to download the file. - */ - download_url: File.DownloadUrl; + export type Status = 'failed' | 'running' | 'succeeded'; - /** - * The columns of the schema. - */ - schema: Array; + export interface StatusDetails { + /** + * Error code categorizing the reason the `QueryRun` failed. + */ + error_code?: StatusDetails.ErrorCode; - /** - * The total size of the file in bytes. - */ - size: bigint; - } + /** + * Error message with additional details about the failure. + */ + error_message?: string; + } - export namespace File { - export type ContentType = 'csv' | 'zip'; + export namespace Result { + export interface File { + /** + * The content type of the file. + */ + content_type: File.ContentType; + + /** + * A pre-signed URL that allows secure, time-limited access to download the file. + */ + download_url: File.DownloadUrl; + + /** + * The columns of the schema. + */ + schema: Array; + + /** + * The total size of the file in bytes. + */ + size: bigint; + } - export interface DownloadUrl { - /** - * The time that the URL expires. - */ - expires_at?: string; + export namespace File { + export type ContentType = 'csv' | 'zip'; - /** - * The URL that can be used for accessing the file. - */ - url: string; - } + export interface DownloadUrl { + /** + * The time that the URL expires. + */ + expires_at?: string; - export interface Schema { - /** - * The name of the column. - */ - name: string; + /** + * The URL that can be used for accessing the file. + */ + url: string; + } - /** - * The type of the column. - */ - type: Schema.Type; - } + export interface Schema { + /** + * The name of the column. + */ + name: string; - export namespace Schema { - export type Type = - | 'boolean' - | 'double' - | 'bigint' - | 'varchar' - | 'timestamp'; - } - } - } + /** + * The type of the column. + */ + type: Schema.Type; + } - export namespace StatusDetails { - export type ErrorCode = 'file_size_above_limit' | 'internal_error'; - } + export namespace Schema { + export type Type = + | 'boolean' + | 'double' + | 'bigint' + | 'varchar' + | 'timestamp'; } } } + + export namespace StatusDetails { + export type ErrorCode = 'file_size_above_limit' | 'internal_error'; + } } export namespace V2 { export namespace Data { diff --git a/src/resources/V2/Extend/WorkflowRuns.ts b/src/resources/V2/Extend/WorkflowRuns.ts index c7ad21a4be..8a33700b25 100644 --- a/src/resources/V2/Extend/WorkflowRuns.ts +++ b/src/resources/V2/Extend/WorkflowRuns.ts @@ -61,130 +61,126 @@ export interface WorkflowRun { /** * The current Workflow Run execution status. */ - status: V2.Extend.WorkflowRun.Status; + status: WorkflowRun.Status; /** * Details about the Workflow Run's status transitions. */ - status_details?: V2.Extend.WorkflowRun.StatusDetails; + status_details?: WorkflowRun.StatusDetails; /** * Summary information about the Workflow Run's status transitions. */ - status_transitions: V2.Extend.WorkflowRun.StatusTransitions; + status_transitions: WorkflowRun.StatusTransitions; /** * A record of the trigger that launched this Workflow Run. */ - trigger: V2.Extend.WorkflowRun.Trigger; + trigger: WorkflowRun.Trigger; /** * The Workflow this Run belongs to. */ workflow: string; } -export namespace V2 { - export namespace Extend { - export namespace WorkflowRun { - export type Status = 'failed' | 'started' | 'succeeded'; +export namespace WorkflowRun { + export type Status = 'failed' | 'started' | 'succeeded'; + + export interface StatusDetails { + /** + * Details about the Workflow Run's transition into the FAILED state. + */ + failed?: StatusDetails.Failed; + + /** + * Details about the Workflow Run's transition in to the STARTED state. + */ + started?: StatusDetails.Started; + + /** + * Details about the Workflow Run's transition into the SUCCEEDED state. + */ + succeeded?: StatusDetails.Succeeded; + } - export interface StatusDetails { - /** - * Details about the Workflow Run's transition into the FAILED state. - */ - failed?: StatusDetails.Failed; - - /** - * Details about the Workflow Run's transition in to the STARTED state. - */ - started?: StatusDetails.Started; - - /** - * Details about the Workflow Run's transition into the SUCCEEDED state. - */ - succeeded?: StatusDetails.Succeeded; - } + export interface StatusTransitions { + /** + * When the Workflow Run failed. + */ + failed_at?: string; + + /** + * When the Workflow Run was started. + */ + started_at?: string; + + /** + * When the Workflow Run succeeded. + */ + succeeded_at?: string; + } - export interface StatusTransitions { - /** - * When the Workflow Run failed. - */ - failed_at?: string; - - /** - * When the Workflow Run was started. - */ - started_at?: string; - - /** - * When the Workflow Run succeeded. - */ - succeeded_at?: string; - } + export interface Trigger { + /** + * The Workflow Run was launched when Stripe emitted a certain event. + */ + event_trigger?: Trigger.EventTrigger; + + /** + * The Workflow Run was launched through a direct call, using either the Dashboard or the Stripe API. + */ + manual?: Trigger.Manual; + + /** + * Which type of trigger this is. + */ + type: Trigger.Type; + } - export interface Trigger { - /** - * The Workflow Run was launched when Stripe emitted a certain event. - */ - event_trigger?: Trigger.EventTrigger; - - /** - * The Workflow Run was launched through a direct call, using either the Dashboard or the Stripe API. - */ - manual?: Trigger.Manual; - - /** - * Which type of trigger this is. - */ - type: Trigger.Type; - } + export namespace StatusDetails { + export interface Failed { + /** + * Optional details about the failure result. + */ + error_message?: string; + } - export namespace StatusDetails { - export interface Failed { - /** - * Optional details about the failure result. - */ - error_message?: string; - } + export interface Started {} - export interface Started {} + export interface Succeeded {} + } - export interface Succeeded {} - } + export namespace Trigger { + export interface EventTrigger { + /** + * The account that generated the triggering event. + */ + context: string; - export namespace Trigger { - export interface EventTrigger { - /** - * The account that generated the triggering event. - */ - context: string; - - /** - * The Stripe event that triggered this Run. - */ - id: string; - - /** - * The Stripe event type triggered this Run. - */ - type: string; - } - - export interface Manual { - /** - * The input parameters used when launching the Run. - */ - input_parameters: Manual.InputParameters; - } - - export type Type = 'event_trigger' | 'manual'; - - export namespace Manual { - export type InputParameters = { - [key: string]: unknown; - }; - } - } + /** + * The Stripe event that triggered this Run. + */ + id: string; + + /** + * The Stripe event type triggered this Run. + */ + type: string; + } + + export interface Manual { + /** + * The input parameters used when launching the Run. + */ + input_parameters: Manual.InputParameters; + } + + export type Type = 'event_trigger' | 'manual'; + + export namespace Manual { + export type InputParameters = { + [key: string]: unknown; + }; } } } diff --git a/src/resources/V2/Extend/Workflows.ts b/src/resources/V2/Extend/Workflows.ts index 76fcd745cd..2fe177caf8 100644 --- a/src/resources/V2/Extend/Workflows.ts +++ b/src/resources/V2/Extend/Workflows.ts @@ -72,7 +72,7 @@ export interface Workflow { /** * Whether this Workflow is active, inactive, or in some other state. Only active Workflows may be invoked. */ - status: V2.Extend.Workflow.Status; + status: Workflow.Status; /** * Workflow title. @@ -82,48 +82,44 @@ export interface Workflow { /** * Under what conditions will this Workflow launch. */ - triggers: Array; + triggers: Array; } -export namespace V2 { - export namespace Extend { - export namespace Workflow { - export type Status = 'active' | 'archived' | 'draft' | 'inactive'; +export namespace Workflow { + export type Status = 'active' | 'archived' | 'draft' | 'inactive'; + + export interface Trigger { + /** + * The Workflow can be launched when Stripe emits a certain event. + */ + event_trigger?: Trigger.EventTrigger; + + /** + * The Workflow can be launched through a direct call, using either the Dashboard or the Stripe API. + */ + manual?: Trigger.Manual; + + /** + * Which type of trigger this is. + */ + type: Trigger.Type; + } - export interface Trigger { - /** - * The Workflow can be launched when Stripe emits a certain event. - */ - event_trigger?: Trigger.EventTrigger; - - /** - * The Workflow can be launched through a direct call, using either the Dashboard or the Stripe API. - */ - manual?: Trigger.Manual; - - /** - * Which type of trigger this is. - */ - type: Trigger.Type; - } - - export namespace Trigger { - export interface EventTrigger { - /** - * Specifies which accounts' events will trigger this Workflow. - */ - events_from: Array; - - /** - * The Stripe event type that will trigger this Workflow. - */ - type: string; - } - - export interface Manual {} - - export type Type = 'event_trigger' | 'manual'; - } + export namespace Trigger { + export interface EventTrigger { + /** + * Specifies which accounts' events will trigger this Workflow. + */ + events_from: Array; + + /** + * The Stripe event type that will trigger this Workflow. + */ + type: string; } + + export interface Manual {} + + export type Type = 'event_trigger' | 'manual'; } } export namespace V2 { diff --git a/src/resources/V2/Iam/ActivityLogs.ts b/src/resources/V2/Iam/ActivityLogs.ts index 276daf9a38..90572385f3 100644 --- a/src/resources/V2/Iam/ActivityLogs.ts +++ b/src/resources/V2/Iam/ActivityLogs.ts @@ -45,7 +45,7 @@ export interface ActivityLog { /** * The actor that performed the action. */ - actor: V2.Iam.ActivityLog.Actor; + actor: ActivityLog.Actor; /** * The account on which the action was performed. @@ -60,7 +60,7 @@ export interface ActivityLog { /** * Action-specific details of the activity log entry. */ - details: V2.Iam.ActivityLog.Details; + details: ActivityLog.Details; /** * Whether the action was performed in live mode. @@ -70,181 +70,177 @@ export interface ActivityLog { /** * The type of action that was performed. */ - type: V2.Iam.ActivityLog.Type; + type: ActivityLog.Type; } -export namespace V2 { - export namespace Iam { - export namespace ActivityLog { - export interface Actor { - /** - * Set when the actor is an API key. - */ - api_key?: Actor.ApiKey; - - /** - * The type of actor. - */ - type: Actor.Type; - - /** - * Set when the actor is a user. - */ - user?: Actor.User; - } +export namespace ActivityLog { + export interface Actor { + /** + * Set when the actor is an API key. + */ + api_key?: Actor.ApiKey; + + /** + * The type of actor. + */ + type: Actor.Type; + + /** + * Set when the actor is a user. + */ + user?: Actor.User; + } - export interface Details { - /** - * Details of an API key action. - */ - api_key?: Details.ApiKey; + export interface Details { + /** + * Details of an API key action. + */ + api_key?: Details.ApiKey; + + /** + * The action group type of the activity log entry. + */ + type: Details.Type; + + /** + * Details of a user invite action. + */ + user_invite?: Details.UserInvite; + + /** + * Details of a user role change action. + */ + user_roles?: Details.UserRoles; + } - /** - * The action group type of the activity log entry. - */ - type: Details.Type; + export type Type = + | 'api_key_created' + | 'api_key_deleted' + | 'api_key_updated' + | 'api_key_viewed' + | 'user_invite_accepted' + | 'user_invite_created' + | 'user_invite_deleted' + | 'user_roles_deleted' + | 'user_roles_updated'; + + export namespace Actor { + export interface ApiKey { + /** + * Unique identifier of the API key. + */ + id: string; + } - /** - * Details of a user invite action. - */ - user_invite?: Details.UserInvite; + export type Type = 'api_key' | 'user'; - /** - * Details of a user role change action. - */ - user_roles?: Details.UserRoles; - } + export interface User { + /** + * Email address of the user. + */ + email: string; + } + } - export type Type = - | 'api_key_created' - | 'api_key_deleted' - | 'api_key_updated' - | 'api_key_viewed' - | 'user_invite_accepted' - | 'user_invite_created' - | 'user_invite_deleted' - | 'user_roles_deleted' - | 'user_roles_updated'; + export namespace Details { + export interface ApiKey { + /** + * Timestamp when the API key was created. + */ + created: string; - export namespace Actor { - export interface ApiKey { - /** - * Unique identifier of the API key. - */ - id: string; - } + /** + * Timestamp when the API key expires. + */ + expires_at?: string; - export type Type = 'api_key' | 'user'; + /** + * Unique identifier of the API key. + */ + id: string; - export interface User { - /** - * Email address of the user. - */ - email: string; - } - } + /** + * List of IP addresses allowed to use this API key. + */ + ip_allowlist: Array; - export namespace Details { - export interface ApiKey { - /** - * Timestamp when the API key was created. - */ - created: string; + /** + * Information about the entity managing this API key. + */ + managed_by?: ApiKey.ManagedBy; - /** - * Timestamp when the API key expires. - */ - expires_at?: string; + /** + * Name of the API key. + */ + name?: string; - /** - * Unique identifier of the API key. - */ - id: string; + /** + * Unique identifier of the new API key, set when this key was rotated. + */ + new_key?: string; - /** - * List of IP addresses allowed to use this API key. - */ - ip_allowlist: Array; + /** + * Note or description for the API key. + */ + note?: string; - /** - * Information about the entity managing this API key. - */ - managed_by?: ApiKey.ManagedBy; + /** + * Type of the API key. + */ + type: ApiKey.Type; + } - /** - * Name of the API key. - */ - name?: string; + export type Type = 'api_key' | 'user_invite' | 'user_roles'; - /** - * Unique identifier of the new API key, set when this key was rotated. - */ - new_key?: string; + export interface UserInvite { + /** + * Email address of the invited user. + */ + invited_user_email: string; - /** - * Note or description for the API key. - */ - note?: string; + /** + * Roles assigned to the invited user. + */ + roles: Array; + } - /** - * Type of the API key. - */ - type: ApiKey.Type; - } + export interface UserRoles { + /** + * Roles the user has after the change. + */ + new_roles: Array; - export type Type = 'api_key' | 'user_invite' | 'user_roles'; + /** + * Roles the user had before the change. + */ + old_roles: Array; - export interface UserInvite { - /** - * Email address of the invited user. - */ - invited_user_email: string; + /** + * Email address of the user whose roles were changed. + */ + user_email: string; + } - /** - * Roles assigned to the invited user. - */ - roles: Array; - } + export namespace ApiKey { + export interface ManagedBy { + /** + * An application. + */ + application?: ManagedBy.Application; - export interface UserRoles { - /** - * Roles the user has after the change. - */ - new_roles: Array; + /** + * The type of entity. + */ + type: 'application'; + } - /** - * Roles the user had before the change. - */ - old_roles: Array; + export type Type = 'publishable_key' | 'secret_key'; + export namespace ManagedBy { + export interface Application { /** - * Email address of the user whose roles were changed. + * Identifier of the application. */ - user_email: string; - } - - export namespace ApiKey { - export interface ManagedBy { - /** - * An application. - */ - application?: ManagedBy.Application; - - /** - * The type of entity. - */ - type: 'application'; - } - - export type Type = 'publishable_key' | 'secret_key'; - - export namespace ManagedBy { - export interface Application { - /** - * Identifier of the application. - */ - id: string; - } - } + id: string; } } } diff --git a/src/resources/V2/Iam/ApiKeys.ts b/src/resources/V2/Iam/ApiKeys.ts index b9bda17cf0..eb158463f2 100644 --- a/src/resources/V2/Iam/ApiKeys.ts +++ b/src/resources/V2/Iam/ApiKeys.ts @@ -129,7 +129,7 @@ export interface ApiKey { /** * Account that manages this API key (for keys managed by platforms). */ - managed_by?: V2.Iam.ApiKey.ManagedBy; + managed_by?: ApiKey.ManagedBy; /** * Name of the API key. @@ -144,93 +144,89 @@ export interface ApiKey { /** * Token set for a publishable key. */ - publishable_key?: V2.Iam.ApiKey.PublishableKey; + publishable_key?: ApiKey.PublishableKey; /** * Token set for a secret key. */ - secret_key?: V2.Iam.ApiKey.SecretKey; + secret_key?: ApiKey.SecretKey; /** * Current status of the API key (e.g., active, expired). */ - status: V2.Iam.ApiKey.Status; + status: ApiKey.Status; /** * Type of the API key. */ - type: V2.Iam.ApiKey.Type; + type: ApiKey.Type; } -export namespace V2 { - export namespace Iam { - export namespace ApiKey { - export interface ManagedBy { - /** - * An application. - */ - application?: ManagedBy.Application; - - /** - * The type of entity. - */ - type: 'application'; - } - - export interface PublishableKey { - /** - * The plaintext token for the API key. - */ - token: string; - } - - export interface SecretKey { - /** - * The encrypted secret for the API key. Only included when a key is first created. - */ - encrypted_secret?: SecretKey.EncryptedSecret; +export namespace ApiKey { + export interface ManagedBy { + /** + * An application. + */ + application?: ManagedBy.Application; + + /** + * The type of entity. + */ + type: 'application'; + } - /** - * Redacted version of the secret token for display purposes. - */ - secret_token_redacted?: string; + export interface PublishableKey { + /** + * The plaintext token for the API key. + */ + token: string; + } - /** - * The plaintext token for the API key. Only included for testmode keys. - */ - token?: string; - } + export interface SecretKey { + /** + * The encrypted secret for the API key. Only included when a key is first created. + */ + encrypted_secret?: SecretKey.EncryptedSecret; + + /** + * Redacted version of the secret token for display purposes. + */ + secret_token_redacted?: string; + + /** + * The plaintext token for the API key. Only included for testmode keys. + */ + token?: string; + } - export type Status = 'active' | 'expired'; + export type Status = 'active' | 'expired'; - export type Type = 'publishable_key' | 'secret_key'; + export type Type = 'publishable_key' | 'secret_key'; - export namespace ManagedBy { - export interface Application { - /** - * Identifier of the application. - */ - id: string; - } - } + export namespace ManagedBy { + export interface Application { + /** + * Identifier of the application. + */ + id: string; + } + } - export namespace SecretKey { - export interface EncryptedSecret { - /** - * The encrypted secret data in base64 format. - */ - ciphertext: string; + export namespace SecretKey { + export interface EncryptedSecret { + /** + * The encrypted secret data in base64 format. + */ + ciphertext: string; - /** - * The format of the encrypted secret (e.g., jwe_compact). - */ - format: string; + /** + * The format of the encrypted secret (e.g., jwe_compact). + */ + format: string; - /** - * The caller's identifier of the public key provided. - */ - recipient_key_id?: string; - } - } + /** + * The caller's identifier of the public key provided. + */ + recipient_key_id?: string; } } } diff --git a/src/resources/V2/MoneyManagement/Adjustments.ts b/src/resources/V2/MoneyManagement/Adjustments.ts index efee1d8a26..aa6e8d1d85 100644 --- a/src/resources/V2/MoneyManagement/Adjustments.ts +++ b/src/resources/V2/MoneyManagement/Adjustments.ts @@ -52,7 +52,7 @@ export interface Adjustment { /** * If applicable, contains information about the original flow linked to this Adjustment. */ - adjusted_flow?: V2.MoneyManagement.Adjustment.AdjustedFlow; + adjusted_flow?: Adjustment.AdjustedFlow; /** * The amount of the Adjustment. @@ -89,58 +89,54 @@ export interface Adjustment { */ reference?: string; } -export namespace V2 { - export namespace MoneyManagement { - export namespace Adjustment { - export interface AdjustedFlow { - /** - * If applicable, the ID of the Adjustment linked to this Adjustment. - */ - adjustment?: string; - - /** - * If applicable, the ID of the InboundTransfer linked to this Adjustment. - */ - inbound_transfer?: string; - - /** - * If applicable, the ID of the OutboundPayment linked to this Adjustment. - */ - outbound_payment?: string; - - /** - * If applicable, the ID of the OutboundTransfer linked to this Adjustment. - */ - outbound_transfer?: string; - - /** - * If applicable, the ID of the ReceivedCredit linked to this Adjustment. - */ - received_credit?: string; - - /** - * If applicable, the ID of the ReceivedDebit linked to this Adjustment. - */ - received_debit?: string; - - /** - * Closed Enum. If applicable, the type of flow linked to this Adjustment. The field matching this value will contain the ID of the flow. - */ - type: AdjustedFlow.Type; - } +export namespace Adjustment { + export interface AdjustedFlow { + /** + * If applicable, the ID of the Adjustment linked to this Adjustment. + */ + adjustment?: string; + + /** + * If applicable, the ID of the InboundTransfer linked to this Adjustment. + */ + inbound_transfer?: string; + + /** + * If applicable, the ID of the OutboundPayment linked to this Adjustment. + */ + outbound_payment?: string; + + /** + * If applicable, the ID of the OutboundTransfer linked to this Adjustment. + */ + outbound_transfer?: string; + + /** + * If applicable, the ID of the ReceivedCredit linked to this Adjustment. + */ + received_credit?: string; + + /** + * If applicable, the ID of the ReceivedDebit linked to this Adjustment. + */ + received_debit?: string; + + /** + * Closed Enum. If applicable, the type of flow linked to this Adjustment. The field matching this value will contain the ID of the flow. + */ + type: AdjustedFlow.Type; + } - export namespace AdjustedFlow { - export type Type = - | 'adjustment' - | 'balance_exchange' - | 'inbound_payment' - | 'inbound_transfer' - | 'outbound_payment' - | 'outbound_transfer' - | 'received_credit' - | 'received_debit'; - } - } + export namespace AdjustedFlow { + export type Type = + | 'adjustment' + | 'balance_exchange' + | 'inbound_payment' + | 'inbound_transfer' + | 'outbound_payment' + | 'outbound_transfer' + | 'received_credit' + | 'received_debit'; } } export namespace V2 { diff --git a/src/resources/V2/MoneyManagement/CurrencyConversions.ts b/src/resources/V2/MoneyManagement/CurrencyConversions.ts index c653f20c8e..3e4680ac6e 100644 --- a/src/resources/V2/MoneyManagement/CurrencyConversions.ts +++ b/src/resources/V2/MoneyManagement/CurrencyConversions.ts @@ -83,7 +83,7 @@ export interface CurrencyConversion { /** * The from block containing what was debited. */ - from: V2.MoneyManagement.CurrencyConversion.From; + from: CurrencyConversion.From; /** * If the CurrencyConversion was performed in livemode or not. @@ -93,25 +93,21 @@ export interface CurrencyConversion { /** * The to block containing what was credited. */ - to: V2.MoneyManagement.CurrencyConversion.To; + to: CurrencyConversion.To; } -export namespace V2 { - export namespace MoneyManagement { - export namespace CurrencyConversion { - export interface From { - /** - * Amount object. - */ - amount: V2Amount; - } +export namespace CurrencyConversion { + export interface From { + /** + * Amount object. + */ + amount: V2Amount; + } - export interface To { - /** - * Amount object. - */ - amount: V2Amount; - } - } + export interface To { + /** + * Amount object. + */ + amount: V2Amount; } } export namespace V2 { diff --git a/src/resources/V2/MoneyManagement/DebitDisputes.ts b/src/resources/V2/MoneyManagement/DebitDisputes.ts index c41e5a67a7..69241baf0f 100644 --- a/src/resources/V2/MoneyManagement/DebitDisputes.ts +++ b/src/resources/V2/MoneyManagement/DebitDisputes.ts @@ -71,7 +71,7 @@ export interface DebitDispute { /** * Details about the bank transfer dispute. Present if `type` field value is `bank_transfer`. */ - bank_transfer?: V2.MoneyManagement.DebitDispute.BankTransfer; + bank_transfer?: DebitDispute.BankTransfer; /** * Time at which the DebitDispute was created. @@ -97,79 +97,75 @@ export interface DebitDispute { /** * The status of the DebitDispute. */ - status: V2.MoneyManagement.DebitDispute.Status; + status: DebitDispute.Status; /** * Detailed information about the status of the DebitDispute. */ - status_details?: V2.MoneyManagement.DebitDispute.StatusDetails; + status_details?: DebitDispute.StatusDetails; /** * The time at which the DebitDispute transitioned to a particular status. */ - status_transitions?: V2.MoneyManagement.DebitDispute.StatusTransitions; + status_transitions?: DebitDispute.StatusTransitions; /** * The type of the DebitDispute. */ type: 'bank_transfer'; } -export namespace V2 { - export namespace MoneyManagement { - export namespace DebitDispute { - export interface BankTransfer { - /** - * The bank network the dispute was originated on. - */ - network: 'ach'; - - /** - * The reason for the dispute. - */ - reason?: BankTransfer.Reason; - - /** - * The statement descriptor set by the originator of the debit. - */ - statement_descriptor?: string; - } - - export type Status = 'failed' | 'submitted' | 'succeeded'; +export namespace DebitDispute { + export interface BankTransfer { + /** + * The bank network the dispute was originated on. + */ + network: 'ach'; + + /** + * The reason for the dispute. + */ + reason?: BankTransfer.Reason; + + /** + * The statement descriptor set by the originator of the debit. + */ + statement_descriptor?: string; + } - export interface StatusDetails { - /** - * Information that elaborates on the `failed` status of a DebitDispute. - * It is only present when the DebitDispute status is `failed`. - */ - failed: StatusDetails.Failed; - } + export type Status = 'failed' | 'submitted' | 'succeeded'; - export interface StatusTransitions { - /** - * The time when the DebitDispute was marked as `failed`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2026-04-23T13:22:18.123Z`. - */ - failed_at?: string; + export interface StatusDetails { + /** + * Information that elaborates on the `failed` status of a DebitDispute. + * It is only present when the DebitDispute status is `failed`. + */ + failed: StatusDetails.Failed; + } - /** - * The time when the DebitDispute was marked as `succeeded`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2026-04-23T13:22:18.123Z`. - */ - succeeded_at?: string; - } + export interface StatusTransitions { + /** + * The time when the DebitDispute was marked as `failed`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2026-04-23T13:22:18.123Z`. + */ + failed_at?: string; + + /** + * The time when the DebitDispute was marked as `succeeded`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2026-04-23T13:22:18.123Z`. + */ + succeeded_at?: string; + } - export namespace BankTransfer { - export type Reason = 'incorrect_amount_or_date' | 'unauthorized'; - } + export namespace BankTransfer { + export type Reason = 'incorrect_amount_or_date' | 'unauthorized'; + } - export namespace StatusDetails { - export interface Failed { - /** - * The reason for the failure of the DebitDispute. - */ - reason: 'unknown'; - } - } + export namespace StatusDetails { + export interface Failed { + /** + * The reason for the failure of the DebitDispute. + */ + reason: 'unknown'; } } } diff --git a/src/resources/V2/MoneyManagement/FinancialAccountStatements.ts b/src/resources/V2/MoneyManagement/FinancialAccountStatements.ts index bd957792b6..dba703bef3 100644 --- a/src/resources/V2/MoneyManagement/FinancialAccountStatements.ts +++ b/src/resources/V2/MoneyManagement/FinancialAccountStatements.ts @@ -29,7 +29,7 @@ export interface FinancialAccountStatement { * Currency-specific files and file metadata. Null by default, populated by specifying include=files_by_currency in the Retrieve endpoint. */ files_by_currency?: { - [key: string]: V2.MoneyManagement.FinancialAccountStatement.FilesByCurrency; + [key: string]: FinancialAccountStatement.FilesByCurrency; }; /** @@ -45,7 +45,7 @@ export interface FinancialAccountStatement { /** * The time period covered by this statement. */ - period: V2.MoneyManagement.FinancialAccountStatement.Period; + period: FinancialAccountStatement.Period; /** * The ID of the statement that replaced this one. Only present on statements that have been restated. @@ -68,57 +68,53 @@ export interface FinancialAccountStatement { * The status of the statement. A statement is "active" by default. * When a statement is replaced by a restatement, its status becomes "restated". */ - status: V2.MoneyManagement.FinancialAccountStatement.Status; + status: FinancialAccountStatement.Status; } -export namespace V2 { - export namespace MoneyManagement { - export namespace FinancialAccountStatement { - export interface FilesByCurrency { - /** - * The MIME type of the file. - */ - content_type: string; - - /** - * The download URL and expiration. - */ - download_url: FilesByCurrency.DownloadUrl; - - /** - * The size of the file in bytes. - */ - size: bigint; - } - - export interface Period { - /** - * The end of the statement period (inclusive), as a UTC-aligned ISO 8601 date - * (e.g., "2026-05-31"). For example, a May 2026 statement has end_date "2026-05-31", - * meaning all transactions up to and including May 31st UTC are included. - */ - end_date: string; - - /** - * The start of the statement period (inclusive), as a UTC-aligned ISO 8601 date (e.g., "2026-05-01"). - */ - start_date: string; - } - - export type Status = 'active' | 'restated'; - - export namespace FilesByCurrency { - export interface DownloadUrl { - /** - * The time at which the URL expires, in ISO 8601 format (UTC). - */ - expires_at: string; - - /** - * The URL to download the file. - */ - url: string; - } - } +export namespace FinancialAccountStatement { + export interface FilesByCurrency { + /** + * The MIME type of the file. + */ + content_type: string; + + /** + * The download URL and expiration. + */ + download_url: FilesByCurrency.DownloadUrl; + + /** + * The size of the file in bytes. + */ + size: bigint; + } + + export interface Period { + /** + * The end of the statement period (inclusive), as a UTC-aligned ISO 8601 date + * (e.g., "2026-05-31"). For example, a May 2026 statement has end_date "2026-05-31", + * meaning all transactions up to and including May 31st UTC are included. + */ + end_date: string; + + /** + * The start of the statement period (inclusive), as a UTC-aligned ISO 8601 date (e.g., "2026-05-01"). + */ + start_date: string; + } + + export type Status = 'active' | 'restated'; + + export namespace FilesByCurrency { + export interface DownloadUrl { + /** + * The time at which the URL expires, in ISO 8601 format (UTC). + */ + expires_at: string; + + /** + * The URL to download the file. + */ + url: string; } } } diff --git a/src/resources/V2/MoneyManagement/FinancialAccounts.ts b/src/resources/V2/MoneyManagement/FinancialAccounts.ts index 57bd26a7de..2b1b797c81 100644 --- a/src/resources/V2/MoneyManagement/FinancialAccounts.ts +++ b/src/resources/V2/MoneyManagement/FinancialAccounts.ts @@ -107,12 +107,12 @@ export interface FinancialAccount { /** * If this is a `accrued_fees` FinancialAccount, this hash include details specific to `accrued_fees` FinancialAccount. */ - accrued_fees?: V2.MoneyManagement.FinancialAccount.AccruedFees; + accrued_fees?: FinancialAccount.AccruedFees; /** * Multi-currency balance of this FinancialAccount, split by availability state. Each balance is represented as a hash where the key is the three-letter ISO currency code, in lowercase, and the value is the amount for that currency. */ - balance: V2.MoneyManagement.FinancialAccount.Balance; + balance: FinancialAccount.Balance; /** * Open Enum. Two-letter country code that represents the country where the LegalEntity associated with the FinancialAccount is based in. @@ -138,7 +138,7 @@ export interface FinancialAccount { * If this is a managed FinancialAccount, `managed_by` indicates the product that created and manages this FinancialAccount. For managed FinancialAccounts, * creation of money management resources can only be orchestrated by the managing product. */ - managed_by?: V2.MoneyManagement.FinancialAccount.ManagedBy; + managed_by?: FinancialAccount.ManagedBy; /** * Metadata associated with the FinancialAccount. @@ -148,55 +148,180 @@ export interface FinancialAccount { /** * If this is a `multiprocessor_settlement` FinancialAccount, this hash includes details specific to `multiprocessor_settlement` FinancialAccounts. */ - multiprocessor_settlement?: V2.MoneyManagement.FinancialAccount.MultiprocessorSettlement; + multiprocessor_settlement?: FinancialAccount.MultiprocessorSettlement; /** * If this is a `other` FinancialAccount, this hash indicates what the actual type is. Upgrade your API version to see it reflected in `type`. */ - other?: V2.MoneyManagement.FinancialAccount.Other; + other?: FinancialAccount.Other; /** * If this is a `payments` FinancialAccount, this hash include details specific to `payments` FinancialAccount. */ - payments?: V2.MoneyManagement.FinancialAccount.Payments; + payments?: FinancialAccount.Payments; /** * Closed Enum. An enum representing the status of the FinancialAccount. This indicates whether or not the FinancialAccount can be used for any money movement flows. */ - status: V2.MoneyManagement.FinancialAccount.Status; + status: FinancialAccount.Status; /** * Additional details related to the status of the FinancialAccount. */ - status_details?: V2.MoneyManagement.FinancialAccount.StatusDetails; + status_details?: FinancialAccount.StatusDetails; /** * If this is a `storage` FinancialAccount, this hash includes details specific to `storage` FinancialAccounts. */ - storage?: V2.MoneyManagement.FinancialAccount.Storage; + storage?: FinancialAccount.Storage; /** * Type of the FinancialAccount. An additional hash is included on the FinancialAccount with a name matching this value. * It contains additional information specific to the FinancialAccount type. */ - type: V2.MoneyManagement.FinancialAccount.Type; + type: FinancialAccount.Type; } -export namespace V2 { - export namespace MoneyManagement { - export namespace FinancialAccount { - export interface AccruedFees { - /** - * The currencies enabled for fee accrual on this FinancialAccount. - */ - currencies: Array; +export namespace FinancialAccount { + export interface AccruedFees { + /** + * The currencies enabled for fee accrual on this FinancialAccount. + */ + currencies: Array; + + /** + * Direction of fee accrual for this FinancialAccount. + */ + direction: AccruedFees.Direction; + } - /** - * Direction of fee accrual for this FinancialAccount. - */ - direction: AccruedFees.Direction; - } + export interface Balance { + /** + * Balance that can be used for money movement. + */ + available: { + [key: string]: V2Amount; + }; + + /** + * Balance of inbound funds that will later transition to the `available` balance. + */ + inbound_pending: { + [key: string]: V2Amount; + }; + + /** + * Balance of funds that are being used for a pending outbound money movement. + */ + outbound_pending: { + [key: string]: V2Amount; + }; + } + + export interface ManagedBy { + /** + * Enum describing the Stripe product that is managing this FinancialAccount. + */ + type: 'multiprocessor_settlement'; + } - export interface Balance { + export interface MultiprocessorSettlement { + /** + * Settlement currencies enabled for this FinancialAccount. + */ + settlement_currencies: Array; + } + + export interface Other { + /** + * The type of the FinancialAccount, represented as a string. Upgrade your API version to see the type reflected in `financial_account.type`. + */ + type: string; + } + + export interface Payments { + /** + * The balance of the `payments` FinancialAccount is a mix of payment processing and stored value funds, and this field + * describes the breakdown between the two. The sum will match the balance of the FinancialAccount. + */ + balance_by_funds_type?: Payments.BalanceByFundsType; + + /** + * The currency that non-settlement currency payments will be converted to. + */ + default_currency: string; + + /** + * Settlement currencies enabled for this FinancialAccount. Payments in other currencies will be automatically converted to `default_currency`. + */ + settlement_currencies: Array; + + /** + * Describes the available balance when it was projected. + */ + starting_balance?: Payments.StartingBalance; + } + + export type Status = 'closed' | 'open' | 'pending'; + + export interface StatusDetails { + /** + * Details related to the closed state of the FinancialAccount. + */ + closed?: StatusDetails.Closed; + } + + export interface Storage { + /** + * The usage type for funds in this FinancialAccount. Can be used to specify that the funds are for Consumer activity. + */ + funds_usage_type?: Storage.FundsUsageType; + + /** + * The currencies that this FinancialAccount can hold. + */ + holds_currencies: Array; + } + + export type Type = + | 'accrued_fees' + | 'multiprocessor_settlement' + | 'other' + | 'payments' + | 'storage'; + + export namespace AccruedFees { + export type Direction = 'payable' | 'receivable'; + } + + export namespace Payments { + export interface BalanceByFundsType { + /** + * Payment processing funds are those that are received for goods or services and may only be used for payouts to self. These funds may be converted to stored value funds. + */ + payment_processing: BalanceByFundsType.PaymentProcessing; + + /** + * Stored value funds may be used for either payouts to self or payments to others. + */ + stored_value: BalanceByFundsType.StoredValue; + } + + export interface StartingBalance { + /** + * When the balance was projected. + */ + at: string; + + /** + * The available balance at the time when the balance was projected. + */ + available: { + [key: string]: V2Amount; + }; + } + + export namespace BalanceByFundsType { + export interface PaymentProcessing { /** * Balance that can be used for money movement. */ @@ -219,196 +344,64 @@ export namespace V2 { }; } - export interface ManagedBy { + export interface StoredValue { /** - * Enum describing the Stripe product that is managing this FinancialAccount. - */ - type: 'multiprocessor_settlement'; - } - - export interface MultiprocessorSettlement { - /** - * Settlement currencies enabled for this FinancialAccount. - */ - settlement_currencies: Array; - } - - export interface Other { - /** - * The type of the FinancialAccount, represented as a string. Upgrade your API version to see the type reflected in `financial_account.type`. - */ - type: string; - } - - export interface Payments { - /** - * The balance of the `payments` FinancialAccount is a mix of payment processing and stored value funds, and this field - * describes the breakdown between the two. The sum will match the balance of the FinancialAccount. - */ - balance_by_funds_type?: Payments.BalanceByFundsType; - - /** - * The currency that non-settlement currency payments will be converted to. + * Balance that can be used for money movement. */ - default_currency: string; + available: { + [key: string]: V2Amount; + }; /** - * Settlement currencies enabled for this FinancialAccount. Payments in other currencies will be automatically converted to `default_currency`. + * Balance of inbound funds that will later transition to the `available` balance. */ - settlement_currencies: Array; + inbound_pending: { + [key: string]: V2Amount; + }; /** - * Describes the available balance when it was projected. + * Balance of funds that are being used for a pending outbound money movement. */ - starting_balance?: Payments.StartingBalance; + outbound_pending: { + [key: string]: V2Amount; + }; } + } + } - export type Status = 'closed' | 'open' | 'pending'; + export namespace StatusDetails { + export interface Closed { + /** + * The forwarding settings for the closed FinancialAccount. + */ + forwarding_settings?: Closed.ForwardingSettings; - export interface StatusDetails { - /** - * Details related to the closed state of the FinancialAccount. - */ - closed?: StatusDetails.Closed; - } + /** + * The reason the FinancialAccount was closed. + */ + reason: Closed.Reason; + } - export interface Storage { + export namespace Closed { + export interface ForwardingSettings { /** - * The usage type for funds in this FinancialAccount. Can be used to specify that the funds are for Consumer activity. + * The address to send forwarded payments to. */ - funds_usage_type?: Storage.FundsUsageType; + payment_method?: string; /** - * The currencies that this FinancialAccount can hold. + * The address to send forwarded payouts to. */ - holds_currencies: Array; - } - - export type Type = - | 'accrued_fees' - | 'multiprocessor_settlement' - | 'other' - | 'payments' - | 'storage'; - - export namespace AccruedFees { - export type Direction = 'payable' | 'receivable'; - } - - export namespace Payments { - export interface BalanceByFundsType { - /** - * Payment processing funds are those that are received for goods or services and may only be used for payouts to self. These funds may be converted to stored value funds. - */ - payment_processing: BalanceByFundsType.PaymentProcessing; - - /** - * Stored value funds may be used for either payouts to self or payments to others. - */ - stored_value: BalanceByFundsType.StoredValue; - } - - export interface StartingBalance { - /** - * When the balance was projected. - */ - at: string; - - /** - * The available balance at the time when the balance was projected. - */ - available: { - [key: string]: V2Amount; - }; - } - - export namespace BalanceByFundsType { - export interface PaymentProcessing { - /** - * Balance that can be used for money movement. - */ - available: { - [key: string]: V2Amount; - }; - - /** - * Balance of inbound funds that will later transition to the `available` balance. - */ - inbound_pending: { - [key: string]: V2Amount; - }; - - /** - * Balance of funds that are being used for a pending outbound money movement. - */ - outbound_pending: { - [key: string]: V2Amount; - }; - } - - export interface StoredValue { - /** - * Balance that can be used for money movement. - */ - available: { - [key: string]: V2Amount; - }; - - /** - * Balance of inbound funds that will later transition to the `available` balance. - */ - inbound_pending: { - [key: string]: V2Amount; - }; - - /** - * Balance of funds that are being used for a pending outbound money movement. - */ - outbound_pending: { - [key: string]: V2Amount; - }; - } - } - } - - export namespace StatusDetails { - export interface Closed { - /** - * The forwarding settings for the closed FinancialAccount. - */ - forwarding_settings?: Closed.ForwardingSettings; - - /** - * The reason the FinancialAccount was closed. - */ - reason: Closed.Reason; - } - - export namespace Closed { - export interface ForwardingSettings { - /** - * The address to send forwarded payments to. - */ - payment_method?: string; - - /** - * The address to send forwarded payouts to. - */ - payout_method?: string; - } - - export type Reason = - | 'account_closed' - | 'closed_by_platform' - | 'other'; - } + payout_method?: string; } - export namespace Storage { - export type FundsUsageType = 'business' | 'consumer'; - } + export type Reason = 'account_closed' | 'closed_by_platform' | 'other'; } } + + export namespace Storage { + export type FundsUsageType = 'business' | 'consumer'; + } } export namespace V2 { export namespace MoneyManagement { diff --git a/src/resources/V2/MoneyManagement/FinancialAddresses.ts b/src/resources/V2/MoneyManagement/FinancialAddresses.ts index 1472226aaf..87453aee22 100644 --- a/src/resources/V2/MoneyManagement/FinancialAddresses.ts +++ b/src/resources/V2/MoneyManagement/FinancialAddresses.ts @@ -75,7 +75,7 @@ export interface FinancialAddress { * It contains all necessary banking details with which to perform money movements with the FinancialAddress. * This field is only available for FinancialAddresses with an active status. */ - credentials?: V2.MoneyManagement.FinancialAddress.Credentials; + credentials?: FinancialAddress.Credentials; /** * Open Enum. The currency the FinancialAddress supports. @@ -100,228 +100,224 @@ export interface FinancialAddress { /** * Closed Enum. An enum representing the status of the FinancialAddress. This indicates whether or not the FinancialAddress can be used for any money movement flows. */ - status: V2.MoneyManagement.FinancialAddress.Status; + status: FinancialAddress.Status; } -export namespace V2 { - export namespace MoneyManagement { - export namespace FinancialAddress { - export interface Credentials { - /** - * The credentials of the Canadian Bank Account for the FinancialAddress. This contains unique banking details such as the account number, institution number, etc. of a Canadian bank account. - */ - ca_bank_account?: Credentials.CaBankAccount; +export namespace FinancialAddress { + export interface Credentials { + /** + * The credentials of the Canadian Bank Account for the FinancialAddress. This contains unique banking details such as the account number, institution number, etc. of a Canadian bank account. + */ + ca_bank_account?: Credentials.CaBankAccount; + + /** + * The credentials of the crypto wallet for the Financial Address. This contains unique details such as the blockchain network, wallet address, and memo of a crypto wallet. + */ + crypto_wallet?: Credentials.CryptoWallet; + + /** + * The credentials of the UK Bank Account for the FinancialAddress. This contains unique banking details such as the sort code, account number, etc. of a UK bank account. + */ + gb_bank_account?: Credentials.GbBankAccount; + + /** + * The credentials of the Mexican Bank Account for the FinancialAddress. This contains unique banking details such as the CLABE and account holder name of a Mexican bank account. + */ + mx_bank_account?: Credentials.MxBankAccount; + + /** + * The credentials of the SEPA Bank Account for the FinancialAddress. This contains unique banking details such as the IBAN, BIC, etc. of a SEPA bank account. + */ + sepa_bank_account?: Credentials.SepaBankAccount; + + /** + * Open Enum. The type of Credentials that are provisioned for the FinancialAddress. + */ + type: Credentials.Type; + + /** + * The credentials of the US Bank Account for the FinancialAddress. This contains unique banking details such as the routing number, account number, etc. of a US bank account. + */ + us_bank_account?: Credentials.UsBankAccount; + } - /** - * The credentials of the crypto wallet for the Financial Address. This contains unique details such as the blockchain network, wallet address, and memo of a crypto wallet. - */ - crypto_wallet?: Credentials.CryptoWallet; + export type Status = 'active' | 'archived' | 'failed' | 'pending'; - /** - * The credentials of the UK Bank Account for the FinancialAddress. This contains unique banking details such as the sort code, account number, etc. of a UK bank account. - */ - gb_bank_account?: Credentials.GbBankAccount; + export namespace Credentials { + export interface CaBankAccount { + /** + * The account holder name to be used during bank transfers. + */ + account_holder_name: string; - /** - * The credentials of the Mexican Bank Account for the FinancialAddress. This contains unique banking details such as the CLABE and account holder name of a Mexican bank account. - */ - mx_bank_account?: Credentials.MxBankAccount; + /** + * The account number of the Canadian Bank Account. + */ + account_number?: string; - /** - * The credentials of the SEPA Bank Account for the FinancialAddress. This contains unique banking details such as the IBAN, BIC, etc. of a SEPA bank account. - */ - sepa_bank_account?: Credentials.SepaBankAccount; + /** + * The name of the Bank. + */ + bank_name: string; - /** - * Open Enum. The type of Credentials that are provisioned for the FinancialAddress. - */ - type: Credentials.Type; + /** + * The institution number of the Canadian Bank Account. + */ + institution_number: string; - /** - * The credentials of the US Bank Account for the FinancialAddress. This contains unique banking details such as the routing number, account number, etc. of a US bank account. - */ - us_bank_account?: Credentials.UsBankAccount; - } + /** + * The last four digits of the Canadian Bank Account number. This will always be returned. + * To view the full account number when retrieving or listing FinancialAddresses, use the `include` request parameter. + */ + last4: string; - export type Status = 'active' | 'archived' | 'failed' | 'pending'; - - export namespace Credentials { - export interface CaBankAccount { - /** - * The account holder name to be used during bank transfers. - */ - account_holder_name: string; - - /** - * The account number of the Canadian Bank Account. - */ - account_number?: string; - - /** - * The name of the Bank. - */ - bank_name: string; - - /** - * The institution number of the Canadian Bank Account. - */ - institution_number: string; - - /** - * The last four digits of the Canadian Bank Account number. This will always be returned. - * To view the full account number when retrieving or listing FinancialAddresses, use the `include` request parameter. - */ - last4: string; - - /** - * The transit number of the Canadian Bank Account. - */ - transit_number: string; - } - - export interface CryptoWallet { - /** - * The blockchain address of the crypto wallet. - */ - address: string; - - /** - * Required if the network supports memos (e.g. Stellar). - */ - memo?: string; - - /** - * The blockchain network of the crypto wallet. - */ - network: CryptoWallet.Network; - } - - export interface GbBankAccount { - /** - * The account holder name to be used during bank transference. - */ - account_holder_name: string; - - /** - * The account number of the UK Bank Account. - */ - account_number?: string; - - /** - * The last four digits of the UK Bank Account number. This will always be returned. - * To view the full account number when retrieving or listing FinancialAddresses, use the `include` request parameter. - */ - last4: string; - - /** - * The sort code of the UK Bank Account. - */ - sort_code: string; - } - - export interface MxBankAccount { - /** - * The account holder name to be used during bank transfers. - */ - account_holder_name: string; - - /** - * The CLABE (Clave Bancaria Estandarizada) of the Mexican Bank Account. - */ - clabe: string; - } - - export interface SepaBankAccount { - /** - * The account holder name to be used during bank transfers. - */ - account_holder_name: string; - - /** - * The name of the Bank. - */ - bank_name: string; - - /** - * The BIC of the SEPA Bank Account. - */ - bic: string; - - /** - * The originating country of the SEPA Bank account. - */ - country: string; - - /** - * The IBAN of the SEPA Bank Account. - */ - iban: string; - - /** - * The last four digits of the SEPA Bank Account number. This will always be returned. - * To view the full account number when retrieving or listing FinancialAddresses, use the `include` request parameter. - */ - last4: string; - } - - export type Type = - | 'ca_bank_account' - | 'crypto_wallet' - | 'gb_bank_account' - | 'mx_bank_account' - | 'sepa_bank_account' - | 'us_bank_account'; - - export interface UsBankAccount { - /** - * The address of the account holder. - */ - account_holder_address?: JapanAddress; - - /** - * The name of the account holder. - */ - account_holder_name?: string; - - /** - * The account number of the US Bank Account. - */ - account_number?: string; - - /** - * The name of the Bank. - */ - bank_name?: string; - - /** - * The last four digits of the US Bank Account number. This will always be returned. - * To view the full account number when retrieving or listing FinancialAddresses, use the `include` request parameter. - */ - last4: string; - - /** - * The routing number of the US Bank Account. - */ - routing_number: string; - - /** - * The swift code of the bank or financial institution. - */ - swift_code?: string; - } - - export namespace CryptoWallet { - export type Network = - | 'arbitrum' - | 'avalanche_c_chain' - | 'base' - | 'ethereum' - | 'optimism' - | 'polygon' - | 'solana' - | 'stellar' - | 'tempo'; - } - } + /** + * The transit number of the Canadian Bank Account. + */ + transit_number: string; + } + + export interface CryptoWallet { + /** + * The blockchain address of the crypto wallet. + */ + address: string; + + /** + * Required if the network supports memos (e.g. Stellar). + */ + memo?: string; + + /** + * The blockchain network of the crypto wallet. + */ + network: CryptoWallet.Network; + } + + export interface GbBankAccount { + /** + * The account holder name to be used during bank transference. + */ + account_holder_name: string; + + /** + * The account number of the UK Bank Account. + */ + account_number?: string; + + /** + * The last four digits of the UK Bank Account number. This will always be returned. + * To view the full account number when retrieving or listing FinancialAddresses, use the `include` request parameter. + */ + last4: string; + + /** + * The sort code of the UK Bank Account. + */ + sort_code: string; + } + + export interface MxBankAccount { + /** + * The account holder name to be used during bank transfers. + */ + account_holder_name: string; + + /** + * The CLABE (Clave Bancaria Estandarizada) of the Mexican Bank Account. + */ + clabe: string; + } + + export interface SepaBankAccount { + /** + * The account holder name to be used during bank transfers. + */ + account_holder_name: string; + + /** + * The name of the Bank. + */ + bank_name: string; + + /** + * The BIC of the SEPA Bank Account. + */ + bic: string; + + /** + * The originating country of the SEPA Bank account. + */ + country: string; + + /** + * The IBAN of the SEPA Bank Account. + */ + iban: string; + + /** + * The last four digits of the SEPA Bank Account number. This will always be returned. + * To view the full account number when retrieving or listing FinancialAddresses, use the `include` request parameter. + */ + last4: string; + } + + export type Type = + | 'ca_bank_account' + | 'crypto_wallet' + | 'gb_bank_account' + | 'mx_bank_account' + | 'sepa_bank_account' + | 'us_bank_account'; + + export interface UsBankAccount { + /** + * The address of the account holder. + */ + account_holder_address?: JapanAddress; + + /** + * The name of the account holder. + */ + account_holder_name?: string; + + /** + * The account number of the US Bank Account. + */ + account_number?: string; + + /** + * The name of the Bank. + */ + bank_name?: string; + + /** + * The last four digits of the US Bank Account number. This will always be returned. + * To view the full account number when retrieving or listing FinancialAddresses, use the `include` request parameter. + */ + last4: string; + + /** + * The routing number of the US Bank Account. + */ + routing_number: string; + + /** + * The swift code of the bank or financial institution. + */ + swift_code?: string; + } + + export namespace CryptoWallet { + export type Network = + | 'arbitrum' + | 'avalanche_c_chain' + | 'base' + | 'ethereum' + | 'optimism' + | 'polygon' + | 'solana' + | 'stellar' + | 'tempo'; } } } diff --git a/src/resources/V2/MoneyManagement/InboundTransfers.ts b/src/resources/V2/MoneyManagement/InboundTransfers.ts index 0f40cb1f08..a17676591f 100644 --- a/src/resources/V2/MoneyManagement/InboundTransfers.ts +++ b/src/resources/V2/MoneyManagement/InboundTransfers.ts @@ -82,7 +82,7 @@ export interface InboundTransfer { /** * A nested object containing information about the origin of the InboundTransfer. */ - from: V2.MoneyManagement.InboundTransfer.From; + from: InboundTransfer.From; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -97,154 +97,150 @@ export interface InboundTransfer { /** * A nested object containing information about the destination of the InboundTransfer. */ - to: V2.MoneyManagement.InboundTransfer.To; + to: InboundTransfer.To; /** * A list of history objects, representing changes in the state of the InboundTransfer. */ - transfer_history: Array; + transfer_history: Array; } -export namespace V2 { - export namespace MoneyManagement { - export namespace InboundTransfer { - export interface From { - /** - * The amount in specified currency that was debited from the Payment Method. - */ - debited: V2Amount; - - /** - * The Payment Method object used to create the InboundTransfer. - */ - payment_method: From.PaymentMethod; - } +export namespace InboundTransfer { + export interface From { + /** + * The amount in specified currency that was debited from the Payment Method. + */ + debited: V2Amount; + + /** + * The Payment Method object used to create the InboundTransfer. + */ + payment_method: From.PaymentMethod; + } - export interface To { - /** - * The amount by which the FinancialAccount balance is credited. - */ - credited: V2Amount; + export interface To { + /** + * The amount by which the FinancialAccount balance is credited. + */ + credited: V2Amount; - /** - * The FinancialAccount that funds will land in. - */ - financial_account: string; - } + /** + * The FinancialAccount that funds will land in. + */ + financial_account: string; + } - export interface TransferHistory { - /** - * The history entry for a failed InboundTransfer. - */ - bank_debit_failed?: TransferHistory.BankDebitFailed; + export interface TransferHistory { + /** + * The history entry for a failed InboundTransfer. + */ + bank_debit_failed?: TransferHistory.BankDebitFailed; + + /** + * The history entry for a processing InboundTransfer. + */ + bank_debit_processing?: TransferHistory.BankDebitProcessing; + + /** + * The history entry for a queued InboundTransfer. + */ + bank_debit_queued?: TransferHistory.BankDebitQueued; + + /** + * The history entry for a returned InboundTransfer. + */ + bank_debit_returned?: TransferHistory.BankDebitReturned; + + /** + * The history entry for a succeeded InboundTransfer. + */ + bank_debit_succeeded?: TransferHistory.BankDebitSucceeded; + + /** + * Creation time of the HistoryEntry in RFC 3339 format and UTC. + */ + created: string; + + /** + * Effective at time of the HistoryEntry in RFC 3339 format and UTC. + */ + effective_at: string; + + /** + * A unique ID for the HistoryEntry. + */ + id: string; + + /** + * Open Enum. The Level of the HistoryEntry. + */ + level: TransferHistory.Level; + + /** + * Open Enum. The type of the HistoryEntry. + */ + type: TransferHistory.Type; + } - /** - * The history entry for a processing InboundTransfer. - */ - bank_debit_processing?: TransferHistory.BankDebitProcessing; + export namespace From { + export interface PaymentMethod { + /** + * The type of object this destination represents. For a us bank account, we expect us_bank_account. + */ + type: string; - /** - * The history entry for a queued InboundTransfer. - */ - bank_debit_queued?: TransferHistory.BankDebitQueued; + /** + * The destination US bank account identifier. eg "usba_***". + */ + us_bank_account?: string; + } + } - /** - * The history entry for a returned InboundTransfer. - */ - bank_debit_returned?: TransferHistory.BankDebitReturned; + export namespace TransferHistory { + export interface BankDebitFailed { + /** + * Open Enum. The return reason for the failed InboundTransfer. + */ + failure_reason: BankDebitFailed.FailureReason; + } - /** - * The history entry for a succeeded InboundTransfer. - */ - bank_debit_succeeded?: TransferHistory.BankDebitSucceeded; + export interface BankDebitProcessing {} - /** - * Creation time of the HistoryEntry in RFC 3339 format and UTC. - */ - created: string; + export interface BankDebitQueued {} - /** - * Effective at time of the HistoryEntry in RFC 3339 format and UTC. - */ - effective_at: string; + export interface BankDebitReturned { + /** + * Open Enum. The return reason for the returned InboundTransfer. + */ + return_reason: BankDebitReturned.ReturnReason; + } - /** - * A unique ID for the HistoryEntry. - */ - id: string; + export interface BankDebitSucceeded {} - /** - * Open Enum. The Level of the HistoryEntry. - */ - level: TransferHistory.Level; + export type Level = 'canonical' | 'debug'; - /** - * Open Enum. The type of the HistoryEntry. - */ - type: TransferHistory.Type; - } + export type Type = + | 'bank_debit_failed' + | 'bank_debit_processing' + | 'bank_debit_queued' + | 'bank_debit_returned' + | 'bank_debit_succeeded'; - export namespace From { - export interface PaymentMethod { - /** - * The type of object this destination represents. For a us bank account, we expect us_bank_account. - */ - type: string; - - /** - * The destination US bank account identifier. eg "usba_***". - */ - us_bank_account?: string; - } - } + export namespace BankDebitFailed { + export type FailureReason = + | 'bank_account_closed' + | 'bank_account_not_found' + | 'bank_debit_could_not_be_processed' + | 'bank_debit_not_authorized' + | 'insufficient_funds'; + } - export namespace TransferHistory { - export interface BankDebitFailed { - /** - * Open Enum. The return reason for the failed InboundTransfer. - */ - failure_reason: BankDebitFailed.FailureReason; - } - - export interface BankDebitProcessing {} - - export interface BankDebitQueued {} - - export interface BankDebitReturned { - /** - * Open Enum. The return reason for the returned InboundTransfer. - */ - return_reason: BankDebitReturned.ReturnReason; - } - - export interface BankDebitSucceeded {} - - export type Level = 'canonical' | 'debug'; - - export type Type = - | 'bank_debit_failed' - | 'bank_debit_processing' - | 'bank_debit_queued' - | 'bank_debit_returned' - | 'bank_debit_succeeded'; - - export namespace BankDebitFailed { - export type FailureReason = - | 'bank_account_closed' - | 'bank_account_not_found' - | 'bank_debit_could_not_be_processed' - | 'bank_debit_not_authorized' - | 'insufficient_funds'; - } - - export namespace BankDebitReturned { - export type ReturnReason = - | 'bank_account_closed' - | 'bank_account_not_found' - | 'bank_debit_could_not_be_processed' - | 'bank_debit_not_authorized' - | 'insufficient_funds'; - } - } + export namespace BankDebitReturned { + export type ReturnReason = + | 'bank_account_closed' + | 'bank_account_not_found' + | 'bank_debit_could_not_be_processed' + | 'bank_debit_not_authorized' + | 'insufficient_funds'; } } } diff --git a/src/resources/V2/MoneyManagement/OutboundPaymentQuotes.ts b/src/resources/V2/MoneyManagement/OutboundPaymentQuotes.ts index 070a8601e1..3828bbe1c7 100644 --- a/src/resources/V2/MoneyManagement/OutboundPaymentQuotes.ts +++ b/src/resources/V2/MoneyManagement/OutboundPaymentQuotes.ts @@ -61,22 +61,22 @@ export interface OutboundPaymentQuote { /** * Delivery options to be used to send the OutboundPayment. */ - delivery_options?: V2.MoneyManagement.OutboundPaymentQuote.DeliveryOptions; + delivery_options?: OutboundPaymentQuote.DeliveryOptions; /** * The estimated fees for the OutboundPaymentQuote. */ - estimated_fees: Array; + estimated_fees: Array; /** * Details about the sender of an OutboundPaymentQuote. */ - from: V2.MoneyManagement.OutboundPaymentQuote.From; + from: OutboundPaymentQuote.From; /** * The underlying FXQuote details for the OutboundPaymentQuote. */ - fx_quote: V2.MoneyManagement.OutboundPaymentQuote.FxQuote; + fx_quote: OutboundPaymentQuote.FxQuote; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -86,122 +86,118 @@ export interface OutboundPaymentQuote { /** * Details about the recipient of an OutboundPaymentQuote. */ - to: V2.MoneyManagement.OutboundPaymentQuote.To; + to: OutboundPaymentQuote.To; } -export namespace V2 { - export namespace MoneyManagement { - export namespace OutboundPaymentQuote { - export interface DeliveryOptions { - /** - * Open Enum. Method for bank account. - */ - bank_account?: DeliveryOptions.BankAccount; - - /** - * Open Enum. Speed of the payout. - */ - speed?: DeliveryOptions.Speed; - } - - export interface EstimatedFee { - /** - * The fee amount for corresponding fee type. - */ - amount: V2Amount; - - /** - * The fee type. - */ - type: EstimatedFee.Type; - } - - export interface From { - /** - * The monetary amount debited from the sender, only set on responses. - */ - debited: V2Amount; - - /** - * The FinancialAccount that funds were pulled from. - */ - financial_account: string; - } - - export interface FxQuote { - /** - * The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes or none. - */ - lock_duration: FxQuote.LockDuration; - - /** - * Time at which the rate lock will expire, measured in seconds since the Unix epoch. Null when rate locking is not supported. - */ - lock_expires_at?: string; +export namespace OutboundPaymentQuote { + export interface DeliveryOptions { + /** + * Open Enum. Method for bank account. + */ + bank_account?: DeliveryOptions.BankAccount; + + /** + * Open Enum. Speed of the payout. + */ + speed?: DeliveryOptions.Speed; + } - /** - * Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active, expired or none. - */ - lock_status: FxQuote.LockStatus; + export interface EstimatedFee { + /** + * The fee amount for corresponding fee type. + */ + amount: V2Amount; - /** - * Key pair: from currency Value: exchange rate going from_currency -> to_currency. - */ - rates: { - [key: string]: FxQuote.Rates; - }; + /** + * The fee type. + */ + type: EstimatedFee.Type; + } - /** - * The currency that the transaction is exchanging to. - */ - to_currency: string; - } + export interface From { + /** + * The monetary amount debited from the sender, only set on responses. + */ + debited: V2Amount; - export interface To { - /** - * The monetary amount being credited to the destination. - */ - credited: V2Amount; + /** + * The FinancialAccount that funds were pulled from. + */ + financial_account: string; + } - /** - * The payout method which the OutboundPayment uses to send payout. - */ - payout_method: string; + export interface FxQuote { + /** + * The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes or none. + */ + lock_duration: FxQuote.LockDuration; + + /** + * Time at which the rate lock will expire, measured in seconds since the Unix epoch. Null when rate locking is not supported. + */ + lock_expires_at?: string; + + /** + * Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active, expired or none. + */ + lock_status: FxQuote.LockStatus; + + /** + * Key pair: from currency Value: exchange rate going from_currency -> to_currency. + */ + rates: { + [key: string]: FxQuote.Rates; + }; + + /** + * The currency that the transaction is exchanging to. + */ + to_currency: string; + } - /** - * To which account the OutboundPayment is sent. - */ - recipient: string; - } + export interface To { + /** + * The monetary amount being credited to the destination. + */ + credited: V2Amount; + + /** + * The payout method which the OutboundPayment uses to send payout. + */ + payout_method: string; + + /** + * To which account the OutboundPayment is sent. + */ + recipient: string; + } - export namespace DeliveryOptions { - export type BankAccount = 'automatic' | 'local' | 'wire'; + export namespace DeliveryOptions { + export type BankAccount = 'automatic' | 'local' | 'wire'; - export type Speed = 'instant' | 'next_business_day' | 'standard'; - } + export type Speed = 'instant' | 'next_business_day' | 'standard'; + } - export namespace EstimatedFee { - export type Type = - | 'cross_border_payout_fee' - | 'foreign_exchange_fee' - | 'instant_payout_fee' - | 'next_day_payout_fee' - | 'real_time_payout_fee' - | 'standard_payout_fee' - | 'wire_payout_fee'; - } + export namespace EstimatedFee { + export type Type = + | 'cross_border_payout_fee' + | 'foreign_exchange_fee' + | 'instant_payout_fee' + | 'next_day_payout_fee' + | 'real_time_payout_fee' + | 'standard_payout_fee' + | 'wire_payout_fee'; + } - export namespace FxQuote { - export type LockDuration = 'five_minutes' | 'none'; + export namespace FxQuote { + export type LockDuration = 'five_minutes' | 'none'; - export type LockStatus = 'active' | 'expired' | 'none'; + export type LockStatus = 'active' | 'expired' | 'none'; - export interface Rates { - /** - * The exchange rate going from_currency -> to_currency. - */ - exchange_rate: string; - } - } + export interface Rates { + /** + * The exchange rate going from_currency -> to_currency. + */ + exchange_rate: string; } } } diff --git a/src/resources/V2/MoneyManagement/OutboundPayments.ts b/src/resources/V2/MoneyManagement/OutboundPayments.ts index da6187e674..06c1d2fa4a 100644 --- a/src/resources/V2/MoneyManagement/OutboundPayments.ts +++ b/src/resources/V2/MoneyManagement/OutboundPayments.ts @@ -104,7 +104,7 @@ export interface OutboundPayment { /** * Delivery options to be used to send the OutboundPayment. */ - delivery_options?: V2.MoneyManagement.OutboundPayment.DeliveryOptions; + delivery_options?: OutboundPayment.DeliveryOptions; /** * An arbitrary string attached to the OutboundPayment. Often useful for displaying to users. @@ -120,7 +120,7 @@ export interface OutboundPayment { /** * The FinancialAccount that funds were pulled from. */ - from: V2.MoneyManagement.OutboundPayment.From; + from: OutboundPayment.From; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -150,7 +150,7 @@ export interface OutboundPayment { /** * Details about the OutboundPayment notification settings for recipient. */ - recipient_notification: V2.MoneyManagement.OutboundPayment.RecipientNotification; + recipient_notification: OutboundPayment.RecipientNotification; /** * The recipient verification id for this OutboundPayment. Only required for countries with regulatory mandates to verify recipient names before OutboundPayment creation. @@ -168,313 +168,309 @@ export interface OutboundPayment { * The status changes to `posted` once the OutboundPayment has been "confirmed" and funds have left the account, or to `failed` or `canceled`. * If an OutboundPayment fails to arrive at its payout method, its status will change to `returned`. */ - status: V2.MoneyManagement.OutboundPayment.Status; + status: OutboundPayment.Status; /** * Status details for an OutboundPayment in a `failed` or `returned` state. */ - status_details?: V2.MoneyManagement.OutboundPayment.StatusDetails; + status_details?: OutboundPayment.StatusDetails; /** * Hash containing timestamps of when the object transitioned to a particular status. */ - status_transitions?: V2.MoneyManagement.OutboundPayment.StatusTransitions; + status_transitions?: OutboundPayment.StatusTransitions; /** * To which payout method the OutboundPayment was sent. */ - to: V2.MoneyManagement.OutboundPayment.To; + to: OutboundPayment.To; /** * A unique identifier that can be used to track this OutboundPayment with recipient bank. Banks might call this a "reference number" or something similar. */ - trace_id: V2.MoneyManagement.OutboundPayment.TraceId; + trace_id: OutboundPayment.TraceId; /** * Information to track this OutboundPayment with the recipient bank. */ - tracking_details?: V2.MoneyManagement.OutboundPayment.TrackingDetails; + tracking_details?: OutboundPayment.TrackingDetails; } -export namespace V2 { - export namespace MoneyManagement { - export namespace OutboundPayment { - export interface DeliveryOptions { - /** - * Open Enum. Method for bank account. - */ - bank_account?: DeliveryOptions.BankAccount; - - /** - * Delivery options for paper check. - */ - paper_check?: DeliveryOptions.PaperCheck; - - /** - * Open Enum. Speed of the payout. - */ - speed?: DeliveryOptions.Speed; - } - - export interface From { - /** - * The monetary amount debited from the sender, only set on responses. - */ - debited: V2Amount; - - /** - * The FinancialAccount that funds were pulled from. - */ - financial_account: string; - } +export namespace OutboundPayment { + export interface DeliveryOptions { + /** + * Open Enum. Method for bank account. + */ + bank_account?: DeliveryOptions.BankAccount; + + /** + * Delivery options for paper check. + */ + paper_check?: DeliveryOptions.PaperCheck; + + /** + * Open Enum. Speed of the payout. + */ + speed?: DeliveryOptions.Speed; + } - export interface RecipientNotification { - /** - * Closed Enum. Configuration option to enable or disable notifications to recipients. - * Do not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set. - */ - setting: RecipientNotification.Setting; - } + export interface From { + /** + * The monetary amount debited from the sender, only set on responses. + */ + debited: V2Amount; - export type Status = - | 'canceled' - | 'failed' - | 'posted' - | 'processing' - | 'returned'; + /** + * The FinancialAccount that funds were pulled from. + */ + financial_account: string; + } - export interface StatusDetails { - /** - * The `failed` status reason. - */ - failed?: StatusDetails.Failed; + export interface RecipientNotification { + /** + * Closed Enum. Configuration option to enable or disable notifications to recipients. + * Do not send notifications when setting is NONE. Default to account setting when setting is CONFIGURED or not set. + */ + setting: RecipientNotification.Setting; + } - /** - * The `returned` status reason. - */ - returned?: StatusDetails.Returned; - } + export type Status = + | 'canceled' + | 'failed' + | 'posted' + | 'processing' + | 'returned'; + + export interface StatusDetails { + /** + * The `failed` status reason. + */ + failed?: StatusDetails.Failed; + + /** + * The `returned` status reason. + */ + returned?: StatusDetails.Returned; + } - export interface StatusTransitions { - /** - * Timestamp describing when an OutboundPayment changed status to `canceled`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - canceled_at?: string; + export interface StatusTransitions { + /** + * Timestamp describing when an OutboundPayment changed status to `canceled`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + canceled_at?: string; + + /** + * Timestamp describing when an OutboundPayment changed status to `failed`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + failed_at?: string; + + /** + * Timestamp describing when an OutboundPayment changed status to `posted`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + posted_at?: string; + + /** + * Timestamp describing when an OutboundPayment changed status to `returned`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + returned_at?: string; + } - /** - * Timestamp describing when an OutboundPayment changed status to `failed`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - failed_at?: string; + export interface To { + /** + * The monetary amount being credited to the destination. + */ + credited: V2Amount; + + /** + * The payout method which the OutboundPayment uses to send payout. + */ + payout_method: string; + + /** + * To which account the OutboundPayment is sent. + */ + recipient: string; + } - /** - * Timestamp describing when an OutboundPayment changed status to `posted`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - posted_at?: string; + export interface TraceId { + /** + * Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to + * `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. + * Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` + * even after the payment or transfer is posted. + */ + status: TraceId.Status; + + /** + * The trace ID value if `trace_id.status` is `supported`, otherwise empty. + */ + value?: string; + } - /** - * Timestamp describing when an OutboundPayment changed status to `returned`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - returned_at?: string; - } + export interface TrackingDetails { + /** + * Paper check tracking details. + */ + paper_check?: TrackingDetails.PaperCheck; + } - export interface To { - /** - * The monetary amount being credited to the destination. - */ - credited: V2Amount; + export namespace DeliveryOptions { + export type BankAccount = 'automatic' | 'local' | 'wire'; - /** - * The payout method which the OutboundPayment uses to send payout. - */ - payout_method: string; + export interface PaperCheck { + /** + * Memo printed on the memo field of the check. + */ + memo: string; - /** - * To which account the OutboundPayment is sent. - */ - recipient: string; - } + /** + * Open Enum. Shipping speed of the paper check. + */ + shipping_speed: PaperCheck.ShippingSpeed; - export interface TraceId { - /** - * Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to - * `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. - * Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` - * even after the payment or transfer is posted. - */ - status: TraceId.Status; + /** + * Signature for the paper check. + */ + signature: string; + } - /** - * The trace ID value if `trace_id.status` is `supported`, otherwise empty. - */ - value?: string; - } + export type Speed = 'instant' | 'next_business_day' | 'standard'; - export interface TrackingDetails { - /** - * Paper check tracking details. - */ - paper_check?: TrackingDetails.PaperCheck; - } + export namespace PaperCheck { + export type ShippingSpeed = 'priority' | 'standard'; + } + } - export namespace DeliveryOptions { - export type BankAccount = 'automatic' | 'local' | 'wire'; + export namespace RecipientNotification { + export type Setting = 'configured' | 'none'; + } - export interface PaperCheck { - /** - * Memo printed on the memo field of the check. - */ - memo: string; + export namespace StatusDetails { + export interface Failed { + /** + * Open Enum. The `failed` status reason. + */ + reason: Failed.Reason; + } - /** - * Open Enum. Shipping speed of the paper check. - */ - shipping_speed: PaperCheck.ShippingSpeed; + export interface Returned { + /** + * Open Enum. The `returned` status reason. + */ + reason: Returned.Reason; + } - /** - * Signature for the paper check. - */ - signature: string; - } + export namespace Failed { + export type Reason = + | 'paper_check_attachment_too_large' + | 'paper_check_expired' + | 'paper_check_undeliverable' + | 'payout_method_amount_limit_exceeded' + | 'payout_method_declined' + | 'payout_method_does_not_exist' + | 'payout_method_expired' + | 'payout_method_unsupported' + | 'payout_method_usage_frequency_limit_exceeded' + | 'unknown_failure'; + } - export type Speed = 'instant' | 'next_business_day' | 'standard'; + export namespace Returned { + export type Reason = + | 'payout_method_canceled_by_customer' + | 'payout_method_closed' + | 'payout_method_currency_unsupported' + | 'payout_method_does_not_exist' + | 'payout_method_holder_address_incorrect' + | 'payout_method_holder_details_incorrect' + | 'payout_method_holder_name_incorrect' + | 'payout_method_invalid_account_number' + | 'payout_method_restricted' + | 'recalled' + | 'unknown_failure'; + } + } - export namespace PaperCheck { - export type ShippingSpeed = 'priority' | 'standard'; - } - } + export namespace TraceId { + export type Status = 'pending' | 'supported' | 'unsupported'; + } - export namespace RecipientNotification { - export type Setting = 'configured' | 'none'; - } + export namespace TrackingDetails { + export interface PaperCheck { + /** + * Open Enum. Carrier of the paper check. + */ + carrier: PaperCheck.Carrier; - export namespace StatusDetails { - export interface Failed { - /** - * Open Enum. The `failed` status reason. - */ - reason: Failed.Reason; - } + /** + * Check number. + */ + check_number: string; - export interface Returned { - /** - * Open Enum. The `returned` status reason. - */ - reason: Returned.Reason; - } + /** + * Postal code of the latest tracking update. + */ + current_postal_code: string; - export namespace Failed { - export type Reason = - | 'paper_check_attachment_too_large' - | 'paper_check_expired' - | 'paper_check_undeliverable' - | 'payout_method_amount_limit_exceeded' - | 'payout_method_declined' - | 'payout_method_does_not_exist' - | 'payout_method_expired' - | 'payout_method_unsupported' - | 'payout_method_usage_frequency_limit_exceeded' - | 'unknown_failure'; - } + /** + * Mailing address of the paper check. + */ + mailing_address: PaperCheck.MailingAddress; - export namespace Returned { - export type Reason = - | 'payout_method_canceled_by_customer' - | 'payout_method_closed' - | 'payout_method_currency_unsupported' - | 'payout_method_does_not_exist' - | 'payout_method_holder_address_incorrect' - | 'payout_method_holder_details_incorrect' - | 'payout_method_holder_name_incorrect' - | 'payout_method_invalid_account_number' - | 'payout_method_restricted' - | 'recalled' - | 'unknown_failure'; - } - } + /** + * Tracking number for the check. + */ + tracking_number: string; - export namespace TraceId { - export type Status = 'pending' | 'supported' | 'unsupported'; - } + /** + * Open Enum. Tracking status of the paper check. + */ + tracking_status: PaperCheck.TrackingStatus; - export namespace TrackingDetails { - export interface PaperCheck { - /** - * Open Enum. Carrier of the paper check. - */ - carrier: PaperCheck.Carrier; + /** + * When the tracking details were last updated. + */ + updated_at: string; + } - /** - * Check number. - */ - check_number: string; + export namespace PaperCheck { + export type Carrier = 'fedex' | 'usps'; - /** - * Postal code of the latest tracking update. - */ - current_postal_code: string; + export interface MailingAddress { + /** + * City, district, suburb, town, or village. + */ + city?: string; - /** - * Mailing address of the paper check. - */ - mailing_address: PaperCheck.MailingAddress; + /** + * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + */ + country?: string; - /** - * Tracking number for the check. - */ - tracking_number: string; + /** + * Address line 1 (e.g., street, PO Box, or company name). + */ + line1?: string; - /** - * Open Enum. Tracking status of the paper check. - */ - tracking_status: PaperCheck.TrackingStatus; + /** + * Address line 2 (e.g., apartment, suite, unit, or building). + */ + line2?: string; - /** - * When the tracking details were last updated. - */ - updated_at: string; - } + /** + * ZIP or postal code. + */ + postal_code?: string; - export namespace PaperCheck { - export type Carrier = 'fedex' | 'usps'; - - export interface MailingAddress { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - export type TrackingStatus = 'delivered' | 'in_transit' | 'mailed'; - } + /** + * State, county, province, or region. + */ + state?: string; } + + export type TrackingStatus = 'delivered' | 'in_transit' | 'mailed'; } } } diff --git a/src/resources/V2/MoneyManagement/OutboundSetupIntents.ts b/src/resources/V2/MoneyManagement/OutboundSetupIntents.ts index a2b6a8b2ef..1d9c46ee9a 100644 --- a/src/resources/V2/MoneyManagement/OutboundSetupIntents.ts +++ b/src/resources/V2/MoneyManagement/OutboundSetupIntents.ts @@ -116,7 +116,7 @@ export interface OutboundSetupIntent { /** * Specifies which actions needs to be taken next to continue setup of the credential. */ - next_action?: V2.MoneyManagement.OutboundSetupIntent.NextAction; + next_action?: OutboundSetupIntent.NextAction; /** * Use the PayoutMethods API to list and interact with PayoutMethod objects. @@ -126,56 +126,52 @@ export interface OutboundSetupIntent { /** * Closed Enum. Status of the outbound setup intent. */ - status: V2.MoneyManagement.OutboundSetupIntent.Status; + status: OutboundSetupIntent.Status; /** * The intended money movement flow this payout method should be set up for, specified in params. */ - usage_intent: V2.MoneyManagement.OutboundSetupIntent.UsageIntent; + usage_intent: OutboundSetupIntent.UsageIntent; } -export namespace V2 { - export namespace MoneyManagement { - export namespace OutboundSetupIntent { - export interface NextAction { - /** - * Confirmation of Payee details. - */ - confirmation_of_payee?: NextAction.ConfirmationOfPayee; - - /** - * The type of next action. - */ - type: 'confirmation_of_payee'; - } +export namespace OutboundSetupIntent { + export interface NextAction { + /** + * Confirmation of Payee details. + */ + confirmation_of_payee?: NextAction.ConfirmationOfPayee; + + /** + * The type of next action. + */ + type: 'confirmation_of_payee'; + } - export type Status = - | 'canceled' - | 'requires_action' - | 'requires_payout_method' - | 'succeeded'; + export type Status = + | 'canceled' + | 'requires_action' + | 'requires_payout_method' + | 'succeeded'; - export type UsageIntent = 'payment' | 'transfer'; + export type UsageIntent = 'payment' | 'transfer'; - export namespace NextAction { - export interface ConfirmationOfPayee { - /** - * The type of the credential. - */ - object: string; + export namespace NextAction { + export interface ConfirmationOfPayee { + /** + * The type of the credential. + */ + object: string; - /** - * The Confirmation of Payee status. - */ - status: ConfirmationOfPayee.Status; - } + /** + * The Confirmation of Payee status. + */ + status: ConfirmationOfPayee.Status; + } - export namespace ConfirmationOfPayee { - export type Status = - | 'awaiting_acknowledgement' - | 'confirmed' - | 'uninitiated'; - } - } + export namespace ConfirmationOfPayee { + export type Status = + | 'awaiting_acknowledgement' + | 'confirmed' + | 'uninitiated'; } } } diff --git a/src/resources/V2/MoneyManagement/OutboundTransfers.ts b/src/resources/V2/MoneyManagement/OutboundTransfers.ts index 3250923c50..2e6e156ec3 100644 --- a/src/resources/V2/MoneyManagement/OutboundTransfers.ts +++ b/src/resources/V2/MoneyManagement/OutboundTransfers.ts @@ -104,7 +104,7 @@ export interface OutboundTransfer { /** * Delivery options to be used to send the OutboundTransfer. */ - delivery_options?: V2.MoneyManagement.OutboundTransfer.DeliveryOptions; + delivery_options?: OutboundTransfer.DeliveryOptions; /** * An arbitrary string attached to the OutboundTransfer. Often useful for displaying to users. @@ -120,7 +120,7 @@ export interface OutboundTransfer { /** * The FinancialAccount that funds were pulled from. */ - from: V2.MoneyManagement.OutboundTransfer.From; + from: OutboundTransfer.From; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -153,173 +153,169 @@ export interface OutboundTransfer { * The status changes to `posted` once the OutboundTransfer has been "confirmed" and funds have left the account, or to `failed` or `canceled`. * If an OutboundTransfer fails to arrive at its payout method, its status will change to `returned`. */ - status: V2.MoneyManagement.OutboundTransfer.Status; + status: OutboundTransfer.Status; /** * Status details for an OutboundTransfer in a `failed` or `returned` state. */ - status_details?: V2.MoneyManagement.OutboundTransfer.StatusDetails; + status_details?: OutboundTransfer.StatusDetails; /** * Hash containing timestamps of when the object transitioned to a particular status. */ - status_transitions?: V2.MoneyManagement.OutboundTransfer.StatusTransitions; + status_transitions?: OutboundTransfer.StatusTransitions; /** * To which payout method the OutboundTransfer was sent. */ - to: V2.MoneyManagement.OutboundTransfer.To; + to: OutboundTransfer.To; /** * A unique identifier that can be used to track this OutboundTransfer with recipient bank. Banks might call this a "reference number" or something similar. */ - trace_id: V2.MoneyManagement.OutboundTransfer.TraceId; + trace_id: OutboundTransfer.TraceId; } -export namespace V2 { - export namespace MoneyManagement { - export namespace OutboundTransfer { - export interface DeliveryOptions { - /** - * Open Enum. Method for bank account. - */ - bank_account?: DeliveryOptions.BankAccount; - } - - export interface From { - /** - * The monetary amount debited from the sender, only set on responses. - */ - debited: V2Amount; - - /** - * The FinancialAccount that funds were pulled from. - */ - financial_account: string; - } - - export type Status = - | 'canceled' - | 'failed' - | 'posted' - | 'processing' - | 'returned'; - - export interface StatusDetails { - /** - * The `failed` status reason. - */ - failed?: StatusDetails.Failed; +export namespace OutboundTransfer { + export interface DeliveryOptions { + /** + * Open Enum. Method for bank account. + */ + bank_account?: DeliveryOptions.BankAccount; + } - /** - * The `returned` status reason. - */ - returned?: StatusDetails.Returned; - } + export interface From { + /** + * The monetary amount debited from the sender, only set on responses. + */ + debited: V2Amount; - export interface StatusTransitions { - /** - * Timestamp describing when an OutboundTransfer changed status to `canceled`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - canceled_at?: string; + /** + * The FinancialAccount that funds were pulled from. + */ + financial_account: string; + } - /** - * Timestamp describing when an OutboundTransfer changed status to `failed`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - failed_at?: string; + export type Status = + | 'canceled' + | 'failed' + | 'posted' + | 'processing' + | 'returned'; + + export interface StatusDetails { + /** + * The `failed` status reason. + */ + failed?: StatusDetails.Failed; + + /** + * The `returned` status reason. + */ + returned?: StatusDetails.Returned; + } - /** - * Timestamp describing when an OutboundTransfer changed status to `posted`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - posted_at?: string; + export interface StatusTransitions { + /** + * Timestamp describing when an OutboundTransfer changed status to `canceled`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + canceled_at?: string; + + /** + * Timestamp describing when an OutboundTransfer changed status to `failed`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + failed_at?: string; + + /** + * Timestamp describing when an OutboundTransfer changed status to `posted`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + posted_at?: string; + + /** + * Timestamp describing when an OutboundTransfer changed status to `returned`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + returned_at?: string; + } - /** - * Timestamp describing when an OutboundTransfer changed status to `returned`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - returned_at?: string; - } + export interface To { + /** + * The monetary amount being credited to the destination. + */ + credited: V2Amount; - export interface To { - /** - * The monetary amount being credited to the destination. - */ - credited: V2Amount; + /** + * The payout method which the OutboundTransfer uses to send payout. + */ + payout_method: string; + } - /** - * The payout method which the OutboundTransfer uses to send payout. - */ - payout_method: string; - } + export interface TraceId { + /** + * Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to + * `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. + * Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` + * even after the payment or transfer is posted. + */ + status: TraceId.Status; + + /** + * The trace ID value if `trace_id.status` is `supported`, otherwise empty. + */ + value?: string; + } - export interface TraceId { - /** - * Possible values are `pending`, `supported`, and `unsupported`. Initially set to `pending`, it changes to - * `supported` when the recipient bank provides a trace ID, or `unsupported` if the recipient bank doesn't support it. - * Note that this status may not align with the OutboundPayment or OutboundTransfer status and can remain `pending` - * even after the payment or transfer is posted. - */ - status: TraceId.Status; + export namespace DeliveryOptions { + export type BankAccount = 'automatic' | 'local' | 'wire'; + } - /** - * The trace ID value if `trace_id.status` is `supported`, otherwise empty. - */ - value?: string; - } + export namespace StatusDetails { + export interface Failed { + /** + * Open Enum. The `failed` status reason. + */ + reason: Failed.Reason; + } - export namespace DeliveryOptions { - export type BankAccount = 'automatic' | 'local' | 'wire'; - } + export interface Returned { + /** + * Open Enum. The `returned` status reason. + */ + reason: Returned.Reason; + } - export namespace StatusDetails { - export interface Failed { - /** - * Open Enum. The `failed` status reason. - */ - reason: Failed.Reason; - } - - export interface Returned { - /** - * Open Enum. The `returned` status reason. - */ - reason: Returned.Reason; - } - - export namespace Failed { - export type Reason = - | 'payout_method_amount_limit_exceeded' - | 'payout_method_declined' - | 'payout_method_does_not_exist' - | 'payout_method_expired' - | 'payout_method_unsupported' - | 'payout_method_usage_frequency_limit_exceeded' - | 'unknown_failure'; - } - - export namespace Returned { - export type Reason = - | 'payout_method_canceled_by_customer' - | 'payout_method_closed' - | 'payout_method_currency_unsupported' - | 'payout_method_does_not_exist' - | 'payout_method_holder_address_incorrect' - | 'payout_method_holder_details_incorrect' - | 'payout_method_holder_name_incorrect' - | 'payout_method_invalid_account_number' - | 'payout_method_restricted' - | 'recalled' - | 'unknown_failure'; - } - } + export namespace Failed { + export type Reason = + | 'payout_method_amount_limit_exceeded' + | 'payout_method_declined' + | 'payout_method_does_not_exist' + | 'payout_method_expired' + | 'payout_method_unsupported' + | 'payout_method_usage_frequency_limit_exceeded' + | 'unknown_failure'; + } - export namespace TraceId { - export type Status = 'pending' | 'supported' | 'unsupported'; - } + export namespace Returned { + export type Reason = + | 'payout_method_canceled_by_customer' + | 'payout_method_closed' + | 'payout_method_currency_unsupported' + | 'payout_method_does_not_exist' + | 'payout_method_holder_address_incorrect' + | 'payout_method_holder_details_incorrect' + | 'payout_method_holder_name_incorrect' + | 'payout_method_invalid_account_number' + | 'payout_method_restricted' + | 'recalled' + | 'unknown_failure'; } } + + export namespace TraceId { + export type Status = 'pending' | 'supported' | 'unsupported'; + } } export namespace V2 { export namespace MoneyManagement { diff --git a/src/resources/V2/MoneyManagement/PayoutMethods.ts b/src/resources/V2/MoneyManagement/PayoutMethods.ts index 104a0164f9..90e0ae5279 100644 --- a/src/resources/V2/MoneyManagement/PayoutMethods.ts +++ b/src/resources/V2/MoneyManagement/PayoutMethods.ts @@ -90,24 +90,22 @@ export interface PayoutMethod { /** * The alternative reference for this payout method, if it's a projected payout method. */ - alternative_reference?: V2.MoneyManagement.PayoutMethod.AlternativeReference; + alternative_reference?: PayoutMethod.AlternativeReference; /** * A set of available payout speeds for this payout method. */ - available_payout_speeds: Array< - V2.MoneyManagement.PayoutMethod.AvailablePayoutSpeed - >; + available_payout_speeds: Array; /** * The PayoutMethodBankAccount object details. */ - bank_account?: V2.MoneyManagement.PayoutMethod.BankAccount; + bank_account?: PayoutMethod.BankAccount; /** * The PayoutMethodCard object details. */ - card?: V2.MoneyManagement.PayoutMethod.Card; + card?: PayoutMethod.Card; /** * Created timestamp. @@ -117,7 +115,7 @@ export interface PayoutMethod { /** * The PayoutMethodCryptoWallet object details. */ - crypto_wallet?: V2.MoneyManagement.PayoutMethod.CryptoWallet; + crypto_wallet?: PayoutMethod.CryptoWallet; /** * ID of the underlying active OutboundSetupIntent object, if any. @@ -138,189 +136,185 @@ export interface PayoutMethod { /** * Closed Enum. The type of payout method. */ - type: V2.MoneyManagement.PayoutMethod.Type; + type: PayoutMethod.Type; /** * Indicates whether the payout method has met the necessary requirements for outbound money movement. */ - usage_status: V2.MoneyManagement.PayoutMethod.UsageStatus; + usage_status: PayoutMethod.UsageStatus; } -export namespace V2 { - export namespace MoneyManagement { - export namespace PayoutMethod { - export interface AlternativeReference { - /** - * The ID of the alternative resource being referenced. - */ - id: string; - - /** - * The type of the alternative reference (e.g., external_account for V1 external accounts). - */ - type: AlternativeReference.Type; - } - - export type AvailablePayoutSpeed = 'instant' | 'standard'; - - export interface BankAccount { - /** - * Whether this PayoutMethodBankAccount object was archived. PayoutMethodBankAccount objects can be archived through - * the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodBankAccount objects - * cannot be used as payout methods and will not appear in the payout method list. - */ - archived: boolean; - - /** - * The type of bank account (checking or savings). - */ - bank_account_type: BankAccount.BankAccountType; - - /** - * The name of the bank this bank account is in. This field is populated automatically by Stripe. - */ - bank_name: string; - - /** - * The branch number of the bank account, if present. - */ - branch_number?: string; - - /** - * The country code of the bank account. - */ - country: string; - - /** - * List of enabled flows for this bank account (wire or local). - */ - enabled_delivery_options: Array; - - /** - * The ID of the Financial Connections Account used to create the bank account. - */ - financial_connections_account?: string; - - /** - * The last 4 digits of the account number. - */ - last4: string; - - /** - * The routing number of the bank account, if present. - */ - routing_number?: string; - - /** - * The list of currencies supported by this bank account. - */ - supported_currencies: Array; - - /** - * The swift code of the bank or financial institution. - */ - swift_code?: string; - } - - export interface Card { - /** - * Whether the PayoutMethodCard object was archived. PayoutMethodCard objects can be archived through - * the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodCard objects - * cannot be used as payout methods and will not appear in the payout method list. - */ - archived: boolean; - - /** - * The month the card expires. - */ - exp_month: string; - - /** - * The year the card expires. - */ - exp_year: string; - - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two - * recipients who've signed up with you are using the same card number, for example. - */ - fingerprint: string; - - /** - * The last 4 digits of the card number. - */ - last4: string; - - /** - * The list of currencies supported by this bank account. - */ - supported_currencies: Array; - } - - export interface CryptoWallet { - /** - * Destination wallet address. - */ - address: string; +export namespace PayoutMethod { + export interface AlternativeReference { + /** + * The ID of the alternative resource being referenced. + */ + id: string; + + /** + * The type of the alternative reference (e.g., external_account for V1 external accounts). + */ + type: AlternativeReference.Type; + } - /** - * Whether the crypto wallet was archived. Crypto wallets can be archived through the /archive API, - * and they will not be automatically archived by Stripe. Archived crypto wallets cannot be used as - * payout method and will not appear in the payout method list. - */ - archived: boolean; + export type AvailablePayoutSpeed = 'instant' | 'standard'; + + export interface BankAccount { + /** + * Whether this PayoutMethodBankAccount object was archived. PayoutMethodBankAccount objects can be archived through + * the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodBankAccount objects + * cannot be used as payout methods and will not appear in the payout method list. + */ + archived: boolean; + + /** + * The type of bank account (checking or savings). + */ + bank_account_type: BankAccount.BankAccountType; + + /** + * The name of the bank this bank account is in. This field is populated automatically by Stripe. + */ + bank_name: string; + + /** + * The branch number of the bank account, if present. + */ + branch_number?: string; + + /** + * The country code of the bank account. + */ + country: string; + + /** + * List of enabled flows for this bank account (wire or local). + */ + enabled_delivery_options: Array; + + /** + * The ID of the Financial Connections Account used to create the bank account. + */ + financial_connections_account?: string; + + /** + * The last 4 digits of the account number. + */ + last4: string; + + /** + * The routing number of the bank account, if present. + */ + routing_number?: string; + + /** + * The list of currencies supported by this bank account. + */ + supported_currencies: Array; + + /** + * The swift code of the bank or financial institution. + */ + swift_code?: string; + } - /** - * Optional field, required if network supports memos (only "stellar" currently). - */ - memo?: string; + export interface Card { + /** + * Whether the PayoutMethodCard object was archived. PayoutMethodCard objects can be archived through + * the /archive API, and they will not be automatically archived by Stripe. Archived PayoutMethodCard objects + * cannot be used as payout methods and will not appear in the payout method list. + */ + archived: boolean; + + /** + * The month the card expires. + */ + exp_month: string; + + /** + * The year the card expires. + */ + exp_year: string; + + /** + * Uniquely identifies this particular card number. You can use this attribute to check whether two + * recipients who've signed up with you are using the same card number, for example. + */ + fingerprint: string; + + /** + * The last 4 digits of the card number. + */ + last4: string; + + /** + * The list of currencies supported by this bank account. + */ + supported_currencies: Array; + } - /** - * Which rail is being used to make an outbound money movement to this wallet. - */ - network: CryptoWallet.Network; - } + export interface CryptoWallet { + /** + * Destination wallet address. + */ + address: string; + + /** + * Whether the crypto wallet was archived. Crypto wallets can be archived through the /archive API, + * and they will not be automatically archived by Stripe. Archived crypto wallets cannot be used as + * payout method and will not appear in the payout method list. + */ + archived: boolean; + + /** + * Optional field, required if network supports memos (only "stellar" currently). + */ + memo?: string; + + /** + * Which rail is being used to make an outbound money movement to this wallet. + */ + network: CryptoWallet.Network; + } - export type Type = 'bank_account' | 'card' | 'crypto_wallet'; + export type Type = 'bank_account' | 'card' | 'crypto_wallet'; - export interface UsageStatus { - /** - * Payments status - used when sending OutboundPayments (sending funds to recipients). - */ - payments: UsageStatus.Payments; + export interface UsageStatus { + /** + * Payments status - used when sending OutboundPayments (sending funds to recipients). + */ + payments: UsageStatus.Payments; - /** - * Transfers status - used when making an OutboundTransfer (sending funds to yourself). - */ - transfers: UsageStatus.Transfers; - } + /** + * Transfers status - used when making an OutboundTransfer (sending funds to yourself). + */ + transfers: UsageStatus.Transfers; + } - export namespace AlternativeReference { - export type Type = 'external_account' | 'payment_method'; - } + export namespace AlternativeReference { + export type Type = 'external_account' | 'payment_method'; + } - export namespace BankAccount { - export type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza'; - } + export namespace BankAccount { + export type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza'; + } - export namespace CryptoWallet { - export type Network = - | 'arbitrum' - | 'avalanche_c_chain' - | 'base' - | 'ethereum' - | 'optimism' - | 'polygon' - | 'solana' - | 'stellar' - | 'tempo'; - } + export namespace CryptoWallet { + export type Network = + | 'arbitrum' + | 'avalanche_c_chain' + | 'base' + | 'ethereum' + | 'optimism' + | 'polygon' + | 'solana' + | 'stellar' + | 'tempo'; + } - export namespace UsageStatus { - export type Payments = 'eligible' | 'invalid' | 'requires_action'; + export namespace UsageStatus { + export type Payments = 'eligible' | 'invalid' | 'requires_action'; - export type Transfers = 'eligible' | 'invalid' | 'requires_action'; - } - } + export type Transfers = 'eligible' | 'invalid' | 'requires_action'; } } export namespace V2 { diff --git a/src/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.ts b/src/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.ts index 3b6255da04..5f198c24e1 100644 --- a/src/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.ts +++ b/src/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.ts @@ -31,7 +31,7 @@ export interface PayoutMethodsBankAccountSpec { * The list of specs by country. */ countries: { - [key: string]: V2.MoneyManagement.PayoutMethodsBankAccountSpec.Countries; + [key: string]: PayoutMethodsBankAccountSpec.Countries; }; /** @@ -39,72 +39,68 @@ export interface PayoutMethodsBankAccountSpec { */ livemode: boolean; } -export namespace V2 { - export namespace MoneyManagement { - export namespace PayoutMethodsBankAccountSpec { - export interface Countries { - /** - * The list of fields for a country, along with associated information. - */ - fields: Array; - } +export namespace PayoutMethodsBankAccountSpec { + export interface Countries { + /** + * The list of fields for a country, along with associated information. + */ + fields: Array; + } - export namespace Countries { - export interface Field { - /** - * The currencies supported by the corresponding credentials for bank accounts in the specified country. - */ - currencies?: Array; + export namespace Countries { + export interface Field { + /** + * The currencies supported by the corresponding credentials for bank accounts in the specified country. + */ + currencies?: Array; - /** - * The local name of the field. - */ - local_name: string; + /** + * The local name of the field. + */ + local_name: string; - /** - * The human readable local name of the field. - */ - local_name_human: Field.LocalNameHuman; + /** + * The human readable local name of the field. + */ + local_name_human: Field.LocalNameHuman; - /** - * The maximum length of the field. - */ - max_length: number; + /** + * The maximum length of the field. + */ + max_length: number; - /** - * THe minimum length of the field. - */ - min_length: number; + /** + * THe minimum length of the field. + */ + min_length: number; - /** - * The placeholder value of the field. - */ - placeholder: string; + /** + * The placeholder value of the field. + */ + placeholder: string; - /** - * The stripe name of the field. - */ - stripe_name: string; + /** + * The stripe name of the field. + */ + stripe_name: string; - /** - * The validation regex of the field. - */ - validation_regex: string; - } + /** + * The validation regex of the field. + */ + validation_regex: string; + } - export namespace Field { - export interface LocalNameHuman { - /** - * The default content of the localizable string. - */ - content: string; + export namespace Field { + export interface LocalNameHuman { + /** + * The default content of the localizable string. + */ + content: string; - /** - * A unique key representing the instance of this localizable string. - */ - localization_key: string; - } - } + /** + * A unique key representing the instance of this localizable string. + */ + localization_key: string; } } } diff --git a/src/resources/V2/MoneyManagement/ReceivedCredits.ts b/src/resources/V2/MoneyManagement/ReceivedCredits.ts index 68133ee9e5..4a38c3f339 100644 --- a/src/resources/V2/MoneyManagement/ReceivedCredits.ts +++ b/src/resources/V2/MoneyManagement/ReceivedCredits.ts @@ -57,17 +57,17 @@ export interface ReceivedCredit { /** * This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit. Present if `type` field value is `balance_transfer`. */ - balance_transfer?: V2.MoneyManagement.ReceivedCredit.BalanceTransfer; + balance_transfer?: ReceivedCredit.BalanceTransfer; /** * This object stores details about the originating banking transaction that resulted in the ReceivedCredit. Present if `type` field value is `bank_transfer`. */ - bank_transfer?: V2.MoneyManagement.ReceivedCredit.BankTransfer; + bank_transfer?: ReceivedCredit.BankTransfer; /** * This object stores details about the originating issuing card spend that resulted in the ReceivedCredit. Present if `type` field value is `card_spend`. */ - card_spend?: V2.MoneyManagement.ReceivedCredit.CardSpend; + card_spend?: ReceivedCredit.CardSpend; /** * Time at which the ReceivedCredit was created. @@ -78,7 +78,7 @@ export interface ReceivedCredit { /** * This object stores details about the originating crypto transaction that resulted in the ReceivedCredit. Present if `type` field value is `crypto_wallet_transfer`. */ - crypto_wallet_transfer?: V2.MoneyManagement.ReceivedCredit.CryptoWalletTransfer; + crypto_wallet_transfer?: ReceivedCredit.CryptoWalletTransfer; /** * Freeform string set by originator of the ReceivedCredit. @@ -108,463 +108,459 @@ export interface ReceivedCredit { /** * Open Enum. The status of the ReceivedCredit. */ - status: V2.MoneyManagement.ReceivedCredit.Status; + status: ReceivedCredit.Status; /** * This hash contains detailed information that elaborates on the specific status of the ReceivedCredit. e.g the reason behind a failure if the status is marked as `failed`. */ - status_details?: V2.MoneyManagement.ReceivedCredit.StatusDetails; + status_details?: ReceivedCredit.StatusDetails; /** * Hash containing timestamps of when the object transitioned to a particular status. */ - status_transitions?: V2.MoneyManagement.ReceivedCredit.StatusTransitions; + status_transitions?: ReceivedCredit.StatusTransitions; /** * This object stores details about the stripe balance pay refund that resulted in the ReceivedCredit. Present if `type` field value is `stripe_balance_payment`. */ - stripe_balance_payment?: V2.MoneyManagement.ReceivedCredit.StripeBalancePayment; + stripe_balance_payment?: ReceivedCredit.StripeBalancePayment; /** * Open Enum. The type of flow that caused the ReceivedCredit. */ - type: V2.MoneyManagement.ReceivedCredit.Type; + type: ReceivedCredit.Type; } -export namespace V2 { - export namespace MoneyManagement { - export namespace ReceivedCredit { - export interface BalanceTransfer { - /** - * The ID of the account that owns the source object originated the ReceivedCredit. - */ - from_account?: string; - - /** - * The ID of the outbound payment object that originated the ReceivedCredit. - */ - outbound_payment?: string; - - /** - * The ID of the outbound transfer object that originated the ReceivedCredit. - */ - outbound_transfer?: string; - - /** - * The ID of the payout object that originated the ReceivedCredit. - */ - payout_v1?: string; - - /** - * The ID of the v1 transfer object that originated the ReceivedCredit. - */ - transfer?: string; - - /** - * Open Enum. The type of Stripe Money Movement that originated the ReceivedCredit. - */ - type: BalanceTransfer.Type; - } +export namespace ReceivedCredit { + export interface BalanceTransfer { + /** + * The ID of the account that owns the source object originated the ReceivedCredit. + */ + from_account?: string; + + /** + * The ID of the outbound payment object that originated the ReceivedCredit. + */ + outbound_payment?: string; + + /** + * The ID of the outbound transfer object that originated the ReceivedCredit. + */ + outbound_transfer?: string; + + /** + * The ID of the payout object that originated the ReceivedCredit. + */ + payout_v1?: string; + + /** + * The ID of the v1 transfer object that originated the ReceivedCredit. + */ + transfer?: string; + + /** + * Open Enum. The type of Stripe Money Movement that originated the ReceivedCredit. + */ + type: BalanceTransfer.Type; + } - export interface BankTransfer { - /** - * Hash containing the transaction bank details. Present if `origin_type` field value is `ca_bank_account`. - */ - ca_bank_account?: BankTransfer.CaBankAccount; - - /** - * Hash containing the transaction bank details. Present if `origin_type` field value is `eu_bank_account`. - */ - eu_bank_account?: BankTransfer.EuBankAccount; - - /** - * Financial Address on which funds for ReceivedCredit were received. - */ - financial_address: string; - - /** - * Hash containing the transaction bank details. Present if `origin_type` field value is `gb_bank_account`. - */ - gb_bank_account?: BankTransfer.GbBankAccount; - - /** - * Hash containing the transaction bank details. Present if `origin_type` field value is `mx_bank_account`. - */ - mx_bank_account?: BankTransfer.MxBankAccount; - - /** - * Open Enum. Indicates the origin of source from which external funds originated from. - */ - origin_type: BankTransfer.OriginType; - - /** - * Hash containing the transaction bank details. Present if `origin_type` field value is `sepa_bank_account`. - */ - sepa_bank_account?: BankTransfer.SepaBankAccount; - - /** - * Freeform string set by originator of the external ReceivedCredit. - */ - statement_descriptor?: string; - - /** - * Hash containing the transaction bank details. Present if `origin_type` field value is `us_bank_account`. - */ - us_bank_account?: BankTransfer.UsBankAccount; - } + export interface BankTransfer { + /** + * Hash containing the transaction bank details. Present if `origin_type` field value is `ca_bank_account`. + */ + ca_bank_account?: BankTransfer.CaBankAccount; + + /** + * Hash containing the transaction bank details. Present if `origin_type` field value is `eu_bank_account`. + */ + eu_bank_account?: BankTransfer.EuBankAccount; + + /** + * Financial Address on which funds for ReceivedCredit were received. + */ + financial_address: string; + + /** + * Hash containing the transaction bank details. Present if `origin_type` field value is `gb_bank_account`. + */ + gb_bank_account?: BankTransfer.GbBankAccount; + + /** + * Hash containing the transaction bank details. Present if `origin_type` field value is `mx_bank_account`. + */ + mx_bank_account?: BankTransfer.MxBankAccount; + + /** + * Open Enum. Indicates the origin of source from which external funds originated from. + */ + origin_type: BankTransfer.OriginType; + + /** + * Hash containing the transaction bank details. Present if `origin_type` field value is `sepa_bank_account`. + */ + sepa_bank_account?: BankTransfer.SepaBankAccount; + + /** + * Freeform string set by originator of the external ReceivedCredit. + */ + statement_descriptor?: string; + + /** + * Hash containing the transaction bank details. Present if `origin_type` field value is `us_bank_account`. + */ + us_bank_account?: BankTransfer.UsBankAccount; + } - export interface CardSpend { - /** - * The reference to the issuing card object. - */ - card_v1_id: string; - - /** - * Hash containing information about the Dispute that triggered this credit. - */ - dispute?: CardSpend.Dispute; - - /** - * Hash containing information about the Refund that triggered this credit. - */ - refund?: CardSpend.Refund; - } + export interface CardSpend { + /** + * The reference to the issuing card object. + */ + card_v1_id: string; + + /** + * Hash containing information about the Dispute that triggered this credit. + */ + dispute?: CardSpend.Dispute; + + /** + * Hash containing information about the Refund that triggered this credit. + */ + refund?: CardSpend.Refund; + } - export interface CryptoWalletTransfer { - /** - * Hash containing the transaction crypto wallet details. - */ - crypto_wallet: CryptoWalletTransfer.CryptoWallet; - - /** - * Financial Address on which funds for ReceivedCredit were received. - */ - financial_address: string; - - /** - * Open Enum. Indicates the origin of source from which external funds originated from. - */ - origin_type: CryptoWalletTransfer.OriginType; - - /** - * Freeform string set by originator of the external ReceivedCredit. - */ - statement_descriptor?: string; - } + export interface CryptoWalletTransfer { + /** + * Hash containing the transaction crypto wallet details. + */ + crypto_wallet: CryptoWalletTransfer.CryptoWallet; + + /** + * Financial Address on which funds for ReceivedCredit were received. + */ + financial_address: string; + + /** + * Open Enum. Indicates the origin of source from which external funds originated from. + */ + origin_type: CryptoWalletTransfer.OriginType; + + /** + * Freeform string set by originator of the external ReceivedCredit. + */ + statement_descriptor?: string; + } - export type Status = 'failed' | 'pending' | 'returned' | 'succeeded'; + export type Status = 'failed' | 'pending' | 'returned' | 'succeeded'; - export interface StatusDetails { - /** - * Hash that provides additional information regarding the reason behind a `failed` ReceivedCredit status. It is only present when the ReceivedCredit status is `failed`. - */ - failed?: StatusDetails.Failed; + export interface StatusDetails { + /** + * Hash that provides additional information regarding the reason behind a `failed` ReceivedCredit status. It is only present when the ReceivedCredit status is `failed`. + */ + failed?: StatusDetails.Failed; - /** - * Hash that provides additional information regarding the reason behind a `returned` ReceivedCredit status. It is only present when the ReceivedCredit status is `returned`. - */ - returned?: StatusDetails.Returned; - } + /** + * Hash that provides additional information regarding the reason behind a `returned` ReceivedCredit status. It is only present when the ReceivedCredit status is `returned`. + */ + returned?: StatusDetails.Returned; + } - export interface StatusTransitions { - /** - * Timestamp describing when the ReceivedCredit was marked as `failed`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - failed_at?: string; - - /** - * Timestamp describing when the ReceivedCredit changed status to `returned`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - returned_at?: string; - - /** - * Timestamp describing when the ReceivedCredit was marked as `succeeded`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - succeeded_at?: string; - } + export interface StatusTransitions { + /** + * Timestamp describing when the ReceivedCredit was marked as `failed`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + failed_at?: string; + + /** + * Timestamp describing when the ReceivedCredit changed status to `returned`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + returned_at?: string; + + /** + * Timestamp describing when the ReceivedCredit was marked as `succeeded`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + succeeded_at?: string; + } - export interface StripeBalancePayment { - /** - * ID of the debit agreement associated with this payment. - */ - debit_agreement?: string; + export interface StripeBalancePayment { + /** + * ID of the debit agreement associated with this payment. + */ + debit_agreement?: string; - /** - * Statement descriptor for the Stripe Balance Payment. - */ - statement_descriptor?: string; - } + /** + * Statement descriptor for the Stripe Balance Payment. + */ + statement_descriptor?: string; + } - export type Type = - | 'balance_transfer' - | 'bank_transfer' - | 'card_spend' - | 'crypto_wallet_transfer' - | 'external_credit' - | 'stripe_balance_payment'; - - export namespace BalanceTransfer { - export type Type = - | 'outbound_payment' - | 'outbound_transfer' - | 'transfer' - | 'payout_v1'; - } + export type Type = + | 'balance_transfer' + | 'bank_transfer' + | 'card_spend' + | 'crypto_wallet_transfer' + | 'external_credit' + | 'stripe_balance_payment'; + + export namespace BalanceTransfer { + export type Type = + | 'outbound_payment' + | 'outbound_transfer' + | 'transfer' + | 'payout_v1'; + } - export namespace BankTransfer { - export interface CaBankAccount { - /** - * The account holder name of the bank account the transfer was received from. - */ - account_holder_name?: string; - - /** - * The bank name the transfer was received from. - */ - bank_name?: string; - - /** - * The last 4 digits of the account number that originated the transfer. - * Depending on the bank, this may instead be the last 4 digits of the return account number. - */ - last4?: string; - - /** - * Open Enum. The money transmission network used to send funds for this ReceivedCredit. - */ - network: 'acss'; - } - - export interface EuBankAccount { - /** - * The account holder name of the bank account the transfer was received from. - */ - account_holder_name?: string; - - /** - * The bank name the transfer was received from. - */ - bank_name?: string; - - /** - * The bic of the account that originated the transfer. - */ - bic?: string; - - /** - * The last 4 digits of the account number that originated the transfer. - */ - last4?: string; - - /** - * Open Enum. The money transmission network used to send funds for this ReceivedCredit. - */ - network: 'sepa'; - } - - export interface GbBankAccount { - /** - * The bank name the transfer was received from. - */ - account_holder_name?: string; - - /** - * The bank name the transfer was received from. - */ - bank_name?: string; - - /** - * The last 4 digits of the account number that originated the transfer. - */ - last4?: string; - - /** - * Open Enum. The money transmission network used to send funds for this ReceivedCredit. - */ - network: GbBankAccount.Network; - - /** - * The sort code of the account that originated the transfer. - */ - sort_code?: string; - } - - export interface MxBankAccount { - /** - * The account holder name of the bank account the transfer was received from. - */ - account_holder_name?: string; - - /** - * The bank name the transfer was received from. - */ - bank_name?: string; - - /** - * The last 4 digits of the account number that originated the transfer. - */ - last4?: string; - - /** - * Open Enum. The money transmission network used to send funds for this ReceivedCredit. - */ - network: 'spei'; - } - - export type OriginType = - | 'ca_bank_account' - | 'crypto_wallet' - | 'eu_bank_account' - | 'gb_bank_account' - | 'mx_bank_account' - | 'sepa_bank_account' - | 'us_bank_account'; - - export interface SepaBankAccount { - /** - * The account holder name of the bank account the transfer was received from. - */ - account_holder_name?: string; - - /** - * The bank name the transfer was received from. - */ - bank_name?: string; - - /** - * The BIC of the SEPA account. - */ - bic?: string; - - /** - * The origination country of the bank transfer. - */ - country?: string; - - /** - * The IBAN that originated the transfer. - */ - iban?: string; - - /** - * The money transmission network used to send funds for this ReceivedCredit. - */ - network: 'sepa_credit_transfer'; - } - - export interface UsBankAccount { - /** - * The bank name the transfer was received from. - */ - bank_name?: string; - - /** - * The last 4 digits of the account number that originated the transfer. - */ - last4?: string; - - /** - * Open Enum. The money transmission network used to send funds for this ReceivedCredit. - */ - network: UsBankAccount.Network; - - /** - * The routing number of the account that originated the transfer. - */ - routing_number?: string; - } - - export namespace GbBankAccount { - export type Network = 'chaps' | 'fps'; - } - - export namespace UsBankAccount { - export type Network = 'ach' | 'rtp' | 'us_domestic_wire'; - } - } + export namespace BankTransfer { + export interface CaBankAccount { + /** + * The account holder name of the bank account the transfer was received from. + */ + account_holder_name?: string; - export namespace CardSpend { - export interface Dispute { - /** - * The reference to the v1 issuing dispute ID. - */ - issuing_dispute_v1: string; - } - - export interface Refund { - /** - * The reference to the v1 issuing transaction ID. - */ - issuing_transaction_v1: string; - } - } + /** + * The bank name the transfer was received from. + */ + bank_name?: string; - export namespace CryptoWalletTransfer { - export interface CryptoWallet { - /** - * The address of the wallet the crypto was received from. - */ - address: string; - - /** - * A memo also for identifying the recipient for memo-based blockchains (e.g., Stellar),. - */ - memo: string; - - /** - * The network the crypto was received from. - */ - network: CryptoWallet.Network; - } - - export type OriginType = - | 'ca_bank_account' - | 'crypto_wallet' - | 'eu_bank_account' - | 'gb_bank_account' - | 'mx_bank_account' - | 'sepa_bank_account' - | 'us_bank_account'; - - export namespace CryptoWallet { - export type Network = - | 'arbitrum' - | 'avalanche_c_chain' - | 'base' - | 'ethereum' - | 'optimism' - | 'polygon' - | 'solana' - | 'stellar' - | 'tempo'; - } - } + /** + * The last 4 digits of the account number that originated the transfer. + * Depending on the bank, this may instead be the last 4 digits of the return account number. + */ + last4?: string; - export namespace StatusDetails { - export interface Failed { - /** - * Open Enum. The `failed` status reason. - */ - reason: Failed.Reason; - } - - export interface Returned { - /** - * Open Enum. The `returned` status reason. - */ - reason: 'originator_initiated_reversal'; - } - - export namespace Failed { - export type Reason = - | 'capability_inactive' - | 'currency_unsupported_on_financial_address' - | 'financial_address_inactive' - | 'stripe_rejected'; - } - } + /** + * Open Enum. The money transmission network used to send funds for this ReceivedCredit. + */ + network: 'acss'; + } + + export interface EuBankAccount { + /** + * The account holder name of the bank account the transfer was received from. + */ + account_holder_name?: string; + + /** + * The bank name the transfer was received from. + */ + bank_name?: string; + + /** + * The bic of the account that originated the transfer. + */ + bic?: string; + + /** + * The last 4 digits of the account number that originated the transfer. + */ + last4?: string; + + /** + * Open Enum. The money transmission network used to send funds for this ReceivedCredit. + */ + network: 'sepa'; + } + + export interface GbBankAccount { + /** + * The bank name the transfer was received from. + */ + account_holder_name?: string; + + /** + * The bank name the transfer was received from. + */ + bank_name?: string; + + /** + * The last 4 digits of the account number that originated the transfer. + */ + last4?: string; + + /** + * Open Enum. The money transmission network used to send funds for this ReceivedCredit. + */ + network: GbBankAccount.Network; + + /** + * The sort code of the account that originated the transfer. + */ + sort_code?: string; + } + + export interface MxBankAccount { + /** + * The account holder name of the bank account the transfer was received from. + */ + account_holder_name?: string; + + /** + * The bank name the transfer was received from. + */ + bank_name?: string; + + /** + * The last 4 digits of the account number that originated the transfer. + */ + last4?: string; + + /** + * Open Enum. The money transmission network used to send funds for this ReceivedCredit. + */ + network: 'spei'; + } + + export type OriginType = + | 'ca_bank_account' + | 'crypto_wallet' + | 'eu_bank_account' + | 'gb_bank_account' + | 'mx_bank_account' + | 'sepa_bank_account' + | 'us_bank_account'; + + export interface SepaBankAccount { + /** + * The account holder name of the bank account the transfer was received from. + */ + account_holder_name?: string; + + /** + * The bank name the transfer was received from. + */ + bank_name?: string; + + /** + * The BIC of the SEPA account. + */ + bic?: string; + + /** + * The origination country of the bank transfer. + */ + country?: string; + + /** + * The IBAN that originated the transfer. + */ + iban?: string; + + /** + * The money transmission network used to send funds for this ReceivedCredit. + */ + network: 'sepa_credit_transfer'; + } + + export interface UsBankAccount { + /** + * The bank name the transfer was received from. + */ + bank_name?: string; + + /** + * The last 4 digits of the account number that originated the transfer. + */ + last4?: string; + + /** + * Open Enum. The money transmission network used to send funds for this ReceivedCredit. + */ + network: UsBankAccount.Network; + + /** + * The routing number of the account that originated the transfer. + */ + routing_number?: string; + } + + export namespace GbBankAccount { + export type Network = 'chaps' | 'fps'; + } + + export namespace UsBankAccount { + export type Network = 'ach' | 'rtp' | 'us_domestic_wire'; + } + } + + export namespace CardSpend { + export interface Dispute { + /** + * The reference to the v1 issuing dispute ID. + */ + issuing_dispute_v1: string; + } + + export interface Refund { + /** + * The reference to the v1 issuing transaction ID. + */ + issuing_transaction_v1: string; + } + } + + export namespace CryptoWalletTransfer { + export interface CryptoWallet { + /** + * The address of the wallet the crypto was received from. + */ + address: string; + + /** + * A memo also for identifying the recipient for memo-based blockchains (e.g., Stellar),. + */ + memo: string; + + /** + * The network the crypto was received from. + */ + network: CryptoWallet.Network; + } + + export type OriginType = + | 'ca_bank_account' + | 'crypto_wallet' + | 'eu_bank_account' + | 'gb_bank_account' + | 'mx_bank_account' + | 'sepa_bank_account' + | 'us_bank_account'; + + export namespace CryptoWallet { + export type Network = + | 'arbitrum' + | 'avalanche_c_chain' + | 'base' + | 'ethereum' + | 'optimism' + | 'polygon' + | 'solana' + | 'stellar' + | 'tempo'; + } + } + + export namespace StatusDetails { + export interface Failed { + /** + * Open Enum. The `failed` status reason. + */ + reason: Failed.Reason; + } + + export interface Returned { + /** + * Open Enum. The `returned` status reason. + */ + reason: 'originator_initiated_reversal'; + } + + export namespace Failed { + export type Reason = + | 'capability_inactive' + | 'currency_unsupported_on_financial_address' + | 'financial_address_inactive' + | 'stripe_rejected'; } } } diff --git a/src/resources/V2/MoneyManagement/ReceivedDebits.ts b/src/resources/V2/MoneyManagement/ReceivedDebits.ts index c35822e598..905e590b67 100644 --- a/src/resources/V2/MoneyManagement/ReceivedDebits.ts +++ b/src/resources/V2/MoneyManagement/ReceivedDebits.ts @@ -57,17 +57,17 @@ export interface ReceivedDebit { /** * This object stores details about the balance transfer object that resulted in the ReceivedDebit. */ - balance_transfer?: V2.MoneyManagement.ReceivedDebit.BalanceTransfer; + balance_transfer?: ReceivedDebit.BalanceTransfer; /** * This object stores details about the originating banking transaction that resulted in the ReceivedDebit. Present if `type` field value is `bank_transfer`. */ - bank_transfer?: V2.MoneyManagement.ReceivedDebit.BankTransfer; + bank_transfer?: ReceivedDebit.BankTransfer; /** * This object stores details about the issuing transactions that resulted in the ReceivedDebit. Present if `type` field value is `card_spend`. */ - card_spend?: V2.MoneyManagement.ReceivedDebit.CardSpend; + card_spend?: ReceivedDebit.CardSpend; /** * The time at which the ReceivedDebit was created. @@ -83,7 +83,7 @@ export interface ReceivedDebit { /** * The dispute details. */ - dispute_details?: V2.MoneyManagement.ReceivedDebit.DisputeDetails; + dispute_details?: ReceivedDebit.DisputeDetails; /** * The amount and currency of the original/external debit request. @@ -108,213 +108,209 @@ export interface ReceivedDebit { /** * Open Enum. The status of the ReceivedDebit. */ - status: V2.MoneyManagement.ReceivedDebit.Status; + status: ReceivedDebit.Status; /** * Detailed information about the status of the ReceivedDebit. */ - status_details?: V2.MoneyManagement.ReceivedDebit.StatusDetails; + status_details?: ReceivedDebit.StatusDetails; /** * The time at which the ReceivedDebit transitioned to a particular status. */ - status_transitions?: V2.MoneyManagement.ReceivedDebit.StatusTransitions; + status_transitions?: ReceivedDebit.StatusTransitions; /** * This object stores details about the Stripe Balance Payment that resulted in the ReceivedDebit. */ - stripe_balance_payment?: V2.MoneyManagement.ReceivedDebit.StripeBalancePayment; + stripe_balance_payment?: ReceivedDebit.StripeBalancePayment; /** * Open Enum. The type of the ReceivedDebit. */ - type: V2.MoneyManagement.ReceivedDebit.Type; + type: ReceivedDebit.Type; } -export namespace V2 { - export namespace MoneyManagement { - export namespace ReceivedDebit { - export interface BalanceTransfer { - /** - * The ID of the topup object that originated the ReceivedDebit. - */ - topup?: string; - - /** - * Open Enum. The type of balance transfer that originated the ReceivedDebit. - */ - type: 'topup'; - } +export namespace ReceivedDebit { + export interface BalanceTransfer { + /** + * The ID of the topup object that originated the ReceivedDebit. + */ + topup?: string; + + /** + * Open Enum. The type of balance transfer that originated the ReceivedDebit. + */ + type: 'topup'; + } - export interface BankTransfer { - /** - * The Financial Address that was debited. - */ - financial_address: string; - - /** - * Open Enum. Indicates the origin type through which this debit was initiated. - */ - origin_type: 'us_bank_account'; - - /** - * Open Enum. The type of the payment method used to originate the debit. - */ - payment_method_type: 'us_bank_account'; - - /** - * The statement descriptor set by the originator of the debit. - */ - statement_descriptor?: string; - - /** - * The payment method used to originate the debit. - */ - us_bank_account: BankTransfer.UsBankAccount; - } + export interface BankTransfer { + /** + * The Financial Address that was debited. + */ + financial_address: string; + + /** + * Open Enum. Indicates the origin type through which this debit was initiated. + */ + origin_type: 'us_bank_account'; + + /** + * Open Enum. The type of the payment method used to originate the debit. + */ + payment_method_type: 'us_bank_account'; + + /** + * The statement descriptor set by the originator of the debit. + */ + statement_descriptor?: string; + + /** + * The payment method used to originate the debit. + */ + us_bank_account: BankTransfer.UsBankAccount; + } - export interface CardSpend { - /** - * The Issuing Authorization for this card_spend. Contains the reference id and the amount. - */ - authorization?: CardSpend.Authorization; - - /** - * The list of card spend transactions. These contain the transaction reference ID and the amount. - */ - card_transactions: Array; - - /** - * The reference to the card object that resulted in the debit. - */ - card_v1_id: string; - } + export interface CardSpend { + /** + * The Issuing Authorization for this card_spend. Contains the reference id and the amount. + */ + authorization?: CardSpend.Authorization; + + /** + * The list of card spend transactions. These contain the transaction reference ID and the amount. + */ + card_transactions: Array; + + /** + * The reference to the card object that resulted in the debit. + */ + card_v1_id: string; + } - export interface DisputeDetails { - /** - * The ID of the debit dispute, if one has been created. - */ - debit_dispute?: string; + export interface DisputeDetails { + /** + * The ID of the debit dispute, if one has been created. + */ + debit_dispute?: string; - /** - * The time at which the dispute window closes. - */ - dispute_window_closes_at?: string; - } + /** + * The time at which the dispute window closes. + */ + dispute_window_closes_at?: string; + } - export type Status = - | 'canceled' - | 'failed' - | 'pending' - | 'returned' - | 'succeeded'; - - export interface StatusDetails { - /** - * Information that elaborates on the `failed` status of a ReceivedDebit. - * It is only present when the ReceivedDebit status is `failed`. - */ - failed: StatusDetails.Failed; - } + export type Status = + | 'canceled' + | 'failed' + | 'pending' + | 'returned' + | 'succeeded'; + + export interface StatusDetails { + /** + * Information that elaborates on the `failed` status of a ReceivedDebit. + * It is only present when the ReceivedDebit status is `failed`. + */ + failed: StatusDetails.Failed; + } - export interface StatusTransitions { - /** - * The time when the ReceivedDebit was marked as `canceled`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. - */ - canceled_at?: string; - - /** - * The time when the ReceivedDebit was marked as `failed`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. - */ - failed_at?: string; - - /** - * The time when the ReceivedDebit was marked as `succeeded`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. - */ - succeeded_at?: string; - } + export interface StatusTransitions { + /** + * The time when the ReceivedDebit was marked as `canceled`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + */ + canceled_at?: string; + + /** + * The time when the ReceivedDebit was marked as `failed`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + */ + failed_at?: string; + + /** + * The time when the ReceivedDebit was marked as `succeeded`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`. + */ + succeeded_at?: string; + } - export interface StripeBalancePayment { - /** - * ID of the debit agreement associated with this payment. - */ - debit_agreement?: string; + export interface StripeBalancePayment { + /** + * ID of the debit agreement associated with this payment. + */ + debit_agreement?: string; - /** - * Statement descriptor for the Stripe Balance Payment. - */ - statement_descriptor?: string; - } + /** + * Statement descriptor for the Stripe Balance Payment. + */ + statement_descriptor?: string; + } - export type Type = - | 'balance_transfer' - | 'bank_transfer' - | 'card_spend' - | 'external_debit' - | 'stripe_balance_payment'; - - export namespace BankTransfer { - export interface UsBankAccount { - /** - * The name of the bank the debit originated from. - */ - bank_name?: string; - - /** - * Open Enum. The bank network the debit was originated on. - */ - network: 'ach'; - - /** - * The routing number of the bank that originated the debit. - */ - routing_number?: string; - } - } + export type Type = + | 'balance_transfer' + | 'bank_transfer' + | 'card_spend' + | 'external_debit' + | 'stripe_balance_payment'; - export namespace CardSpend { - export interface Authorization { - /** - * Amount associated with this issuing authorization. - */ - amount: V2Amount; - - /** - * The reference to the v1 issuing authorization ID. - */ - issuing_authorization_v1: string; - } - - export interface CardTransaction { - /** - * Amount associated with this issuing transaction. - */ - amount: V2Amount; - - /** - * The reference to the v1 issuing transaction ID. - */ - issuing_transaction_v1: string; - } - } + export namespace BankTransfer { + export interface UsBankAccount { + /** + * The name of the bank the debit originated from. + */ + bank_name?: string; - export namespace StatusDetails { - export interface Failed { - /** - * Open Enum. The reason for the failure of the ReceivedDebit. - */ - reason: Failed.Reason; - } - - export namespace Failed { - export type Reason = - | 'financial_address_inactive' - | 'insufficient_funds' - | 'stripe_rejected'; - } - } + /** + * Open Enum. The bank network the debit was originated on. + */ + network: 'ach'; + + /** + * The routing number of the bank that originated the debit. + */ + routing_number?: string; + } + } + + export namespace CardSpend { + export interface Authorization { + /** + * Amount associated with this issuing authorization. + */ + amount: V2Amount; + + /** + * The reference to the v1 issuing authorization ID. + */ + issuing_authorization_v1: string; + } + + export interface CardTransaction { + /** + * Amount associated with this issuing transaction. + */ + amount: V2Amount; + + /** + * The reference to the v1 issuing transaction ID. + */ + issuing_transaction_v1: string; + } + } + + export namespace StatusDetails { + export interface Failed { + /** + * Open Enum. The reason for the failure of the ReceivedDebit. + */ + reason: Failed.Reason; + } + + export namespace Failed { + export type Reason = + | 'financial_address_inactive' + | 'insufficient_funds' + | 'stripe_rejected'; } } } diff --git a/src/resources/V2/MoneyManagement/RecipientVerifications.ts b/src/resources/V2/MoneyManagement/RecipientVerifications.ts index 52e84cd17b..7cf1399cdb 100644 --- a/src/resources/V2/MoneyManagement/RecipientVerifications.ts +++ b/src/resources/V2/MoneyManagement/RecipientVerifications.ts @@ -87,70 +87,66 @@ export interface RecipientVerification { /** * Closed Enum. Match level of the RecipientVerification: `match`, `close_match`, `no_match`, `unavailable`. */ - match_result: V2.MoneyManagement.RecipientVerification.MatchResult; + match_result: RecipientVerification.MatchResult; /** * Details for the match result. */ - match_result_details: V2.MoneyManagement.RecipientVerification.MatchResultDetails; + match_result_details: RecipientVerification.MatchResultDetails; /** * Closed Enum. Current status of the RecipientVerification: `verified`, `consumed`, `expired`, `awaiting_acknowledgement`, `acknowledged`. */ - status: V2.MoneyManagement.RecipientVerification.Status; + status: RecipientVerification.Status; /** * Hash containing timestamps of when the object transitioned to a particular status. */ - status_transitions?: V2.MoneyManagement.RecipientVerification.StatusTransitions; + status_transitions?: RecipientVerification.StatusTransitions; } -export namespace V2 { - export namespace MoneyManagement { - export namespace RecipientVerification { - export type MatchResult = - | 'close_match' - | 'match' - | 'no_match' - | 'unavailable'; - - export interface MatchResultDetails { - /** - * The account name associated with the bank account as provided by the VoP provider, only present if there is a match or close match. - */ - matched_name?: string; - - /** - * A message describing the match result. - */ - message: string; - - /** - * The name associated with the provided recipient. - */ - provided_name: string; - } - - export type Status = - | 'acknowledged' - | 'awaiting_acknowledgement' - | 'consumed' - | 'expired' - | 'verified'; - - export interface StatusTransitions { - /** - * Timestamp describing when a RecipientVerification changed status to `acknowledged`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - acknowledged_at?: string; - - /** - * Timestamp describing when a RecipientVerification changed status to `consumed`. - * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. - */ - consumed_at?: string; - } - } +export namespace RecipientVerification { + export type MatchResult = + | 'close_match' + | 'match' + | 'no_match' + | 'unavailable'; + + export interface MatchResultDetails { + /** + * The account name associated with the bank account as provided by the VoP provider, only present if there is a match or close match. + */ + matched_name?: string; + + /** + * A message describing the match result. + */ + message: string; + + /** + * The name associated with the provided recipient. + */ + provided_name: string; + } + + export type Status = + | 'acknowledged' + | 'awaiting_acknowledgement' + | 'consumed' + | 'expired' + | 'verified'; + + export interface StatusTransitions { + /** + * Timestamp describing when a RecipientVerification changed status to `acknowledged`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + acknowledged_at?: string; + + /** + * Timestamp describing when a RecipientVerification changed status to `consumed`. + * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + */ + consumed_at?: string; } } export namespace V2 { diff --git a/src/resources/V2/MoneyManagement/TransactionEntries.ts b/src/resources/V2/MoneyManagement/TransactionEntries.ts index 0e1e186b2b..f4b6bffc0c 100644 --- a/src/resources/V2/MoneyManagement/TransactionEntries.ts +++ b/src/resources/V2/MoneyManagement/TransactionEntries.ts @@ -52,7 +52,7 @@ export interface TransactionEntry { /** * The delta to the FinancialAccount's balance. */ - balance_impact: V2.MoneyManagement.TransactionEntry.BalanceImpact; + balance_impact: TransactionEntry.BalanceImpact; /** * Time at which the object was created. @@ -77,291 +77,287 @@ export interface TransactionEntry { /** * Details copied from the transaction that this TransactionEntry belongs to. */ - transaction_details: V2.MoneyManagement.TransactionEntry.TransactionDetails; + transaction_details: TransactionEntry.TransactionDetails; /** * The v1 Treasury transaction entry associated with this transaction entry. */ treasury_transaction_entry?: string; } -export namespace V2 { - export namespace MoneyManagement { - export namespace TransactionEntry { - export interface BalanceImpact { - /** - * Impact to the available balance. - */ - available: V2Amount; - - /** - * Impact to the inbound_pending balance. - */ - inbound_pending: V2Amount; - - /** - * Impact to the outbound_pending balance. - */ - outbound_pending: V2Amount; - } +export namespace TransactionEntry { + export interface BalanceImpact { + /** + * Impact to the available balance. + */ + available: V2Amount; + + /** + * Impact to the inbound_pending balance. + */ + inbound_pending: V2Amount; + + /** + * Impact to the outbound_pending balance. + */ + outbound_pending: V2Amount; + } - export interface TransactionDetails { - /** - * Closed Enum for now, and will be turned into an Open Enum soon. A descriptive category used to classify the Transaction. - */ - category: TransactionDetails.Category; - - /** - * Indicates the FinancialAccount affected by this Transaction. - */ - financial_account: string; - - /** - * Details about the Flow object that created the Transaction. - */ - flow?: TransactionDetails.Flow; - } + export interface TransactionDetails { + /** + * Closed Enum for now, and will be turned into an Open Enum soon. A descriptive category used to classify the Transaction. + */ + category: TransactionDetails.Category; + + /** + * Indicates the FinancialAccount affected by this Transaction. + */ + financial_account: string; + + /** + * Details about the Flow object that created the Transaction. + */ + flow?: TransactionDetails.Flow; + } - export namespace TransactionDetails { - export type Category = - | 'adjustment' - | 'advance' - | 'anticipation_repayment' - | 'balance_transfer' - | 'climate_order_purchase' - | 'climate_order_refund' - | 'connect_collection_transfer' - | 'connect_reserved_funds' - | 'contribution' - | 'currency_conversion' - | 'debit_dispute' - | 'dispute' - | 'dispute_reversal' - | 'financing_paydown' - | 'financing_paydown_reversal' - | 'inbound_payment' - | 'inbound_payment_failure' - | 'inbound_transfer' - | 'inbound_transfer_reversal' - | 'india_mdr_processing_fee' - | 'issuing_dispute' - | 'issuing_dispute_fraud_liability_debit' - | 'issuing_dispute_provisional_credit' - | 'issuing_dispute_provisional_credit_reversal' - | 'minimum_balance_hold' - | 'network_cost' - | 'obligation' - | 'outbound_payment' - | 'outbound_payment_reversal' - | 'outbound_transfer' - | 'outbound_transfer_reversal' - | 'partial_capture_reversal' - | 'payment_method_passthrough_fee' - | 'payment_network_reserved_funds' - | 'platform_earning' - | 'platform_earning_refund' - | 'platform_fee' - | 'received_credit' - | 'received_credit_reversal' - | 'received_debit' - | 'received_debit_reversal' - | 'refund' - | 'refund_failure' - | 'risk_reserved_funds' - | 'stripe_balance_payment_debit' - | 'stripe_balance_payment_debit_reversal' - | 'stripe_fee' - | 'stripe_fee_tax' - | 'tax_fund' - | 'tax_withholding' - | 'transfer_reversal' - | 'unreconciled_customer_funds'; - - export interface Flow { - /** - * If applicable, the ID of the Adjustment that created this Transaction. - */ - adjustment?: string; - - /** - * If applicable, the ID of the Application Fee that created this Transaction. - */ - application_fee?: string; - - /** - * If applicable, the ID of the Application Fee Refund that created this Transaction. - */ - application_fee_refund?: string; - - /** - * If applicable, the ID of the Charge that created this Transaction. - */ - charge?: string; - - /** - * In the future, this will be the ID of the currency conversion that created this Transaction. For now, this field is always null. - */ - currency_conversion?: string; - - /** - * If applicable, the ID of the DebitDispute that created this Transaction. - */ - debit_dispute?: string; - - /** - * If applicable, the ID of the Dispute that created this Transaction. - */ - dispute?: string; - - /** - * If applicable, the ID of the FeeTransaction that created this Transaction. - */ - fee_transaction?: string; - - /** - * If applicable, the ID of the InboundTransfer that created this Transaction. - */ - inbound_transfer?: string; - - /** - * If applicable, the ID of the OutboundPayment that created this Transaction. - */ - outbound_payment?: string; - - /** - * If applicable, the ID of the OutboundTransfer that created this Transaction. - */ - outbound_transfer?: string; - - /** - * If applicable, the ID of the Payout that created this Transaction. - */ - payout?: string; - - /** - * If applicable, the ID of the ReceivedCredit that created this Transaction. - */ - received_credit?: string; - - /** - * If applicable, the ID of the ReceivedDebit that created this Transaction. - */ - received_debit?: string; - - /** - * If applicable, the ID of the Refund that created this Transaction. - */ - refund?: string; - - /** - * If applicable, the ID of the Reserve Hold that created this Transaction. - */ - reserve_hold?: string; - - /** - * If applicable, the ID of the Reserve Release that created this Transaction. - */ - reserve_release?: string; - - /** - * If applicable, the ID of the TaxFund that created this Transaction. - */ - tax_fund?: string; - - /** - * If applicable, the ID of the Topup that created this Transaction. - */ - topup?: string; - - /** - * If applicable, the ID of the Transfer that created this Transaction. - */ - transfer?: string; - - /** - * If applicable, the ID of the Transfer Reversal that created this Transaction. - */ - transfer_reversal?: string; - - /** - * If applicable, the ID of the Treasury CreditReversal that created this Transaction. - */ - treasury_credit_reversal?: string; - - /** - * If applicable, the ID of the Treasury DebitReversal that created this Transaction. - */ - treasury_debit_reversal?: string; - - /** - * If applicable, the ID of the Treasury InboundTransfer that created this Transaction. - */ - treasury_inbound_transfer?: string; - - /** - * If applicable, the ID of the Treasury IssuingAuthorization that created this Transaction. - */ - treasury_issuing_authorization?: string; - - /** - * If applicable, the ID of the Treasury OutboundPayment that created this Transaction. - */ - treasury_outbound_payment?: string; - - /** - * If applicable, the ID of the Treasury OutboundTransfer that created this Transaction. - */ - treasury_outbound_transfer?: string; - - /** - * If applicable, the ID of the Treasury ReceivedCredit that created this Transaction. - */ - treasury_received_credit?: string; - - /** - * If applicable, the ID of the Treasury ReceivedDebit that created this Transaction. - */ - treasury_received_debit?: string; - - /** - * Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. - */ - type: Flow.Type; - } - - export namespace Flow { - export type Type = - | 'adjustment' - | 'application_fee' - | 'application_fee_refund' - | 'charge' - | 'currency_conversion' - | 'debit_dispute' - | 'dispute' - | 'fee_transaction' - | 'inbound_transfer' - | 'outbound_payment' - | 'outbound_transfer' - | 'payout' - | 'received_credit' - | 'received_debit' - | 'refund' - | 'reserve_hold' - | 'reserve_release' - | 'tax_fund' - | 'topup' - | 'transfer' - | 'transfer_reversal' - | 'treasury_credit_reversal' - | 'treasury_debit_reversal' - | 'treasury_inbound_transfer' - | 'treasury_issuing_authorization' - | 'treasury_other' - | 'treasury_outbound_payment' - | 'treasury_outbound_transfer' - | 'treasury_received_credit' - | 'treasury_received_debit'; - } - } + export namespace TransactionDetails { + export type Category = + | 'adjustment' + | 'advance' + | 'anticipation_repayment' + | 'balance_transfer' + | 'climate_order_purchase' + | 'climate_order_refund' + | 'connect_collection_transfer' + | 'connect_reserved_funds' + | 'contribution' + | 'currency_conversion' + | 'debit_dispute' + | 'dispute' + | 'dispute_reversal' + | 'financing_paydown' + | 'financing_paydown_reversal' + | 'inbound_payment' + | 'inbound_payment_failure' + | 'inbound_transfer' + | 'inbound_transfer_reversal' + | 'india_mdr_processing_fee' + | 'issuing_dispute' + | 'issuing_dispute_fraud_liability_debit' + | 'issuing_dispute_provisional_credit' + | 'issuing_dispute_provisional_credit_reversal' + | 'minimum_balance_hold' + | 'network_cost' + | 'obligation' + | 'outbound_payment' + | 'outbound_payment_reversal' + | 'outbound_transfer' + | 'outbound_transfer_reversal' + | 'partial_capture_reversal' + | 'payment_method_passthrough_fee' + | 'payment_network_reserved_funds' + | 'platform_earning' + | 'platform_earning_refund' + | 'platform_fee' + | 'received_credit' + | 'received_credit_reversal' + | 'received_debit' + | 'received_debit_reversal' + | 'refund' + | 'refund_failure' + | 'risk_reserved_funds' + | 'stripe_balance_payment_debit' + | 'stripe_balance_payment_debit_reversal' + | 'stripe_fee' + | 'stripe_fee_tax' + | 'tax_fund' + | 'tax_withholding' + | 'transfer_reversal' + | 'unreconciled_customer_funds'; + + export interface Flow { + /** + * If applicable, the ID of the Adjustment that created this Transaction. + */ + adjustment?: string; + + /** + * If applicable, the ID of the Application Fee that created this Transaction. + */ + application_fee?: string; + + /** + * If applicable, the ID of the Application Fee Refund that created this Transaction. + */ + application_fee_refund?: string; + + /** + * If applicable, the ID of the Charge that created this Transaction. + */ + charge?: string; + + /** + * In the future, this will be the ID of the currency conversion that created this Transaction. For now, this field is always null. + */ + currency_conversion?: string; + + /** + * If applicable, the ID of the DebitDispute that created this Transaction. + */ + debit_dispute?: string; + + /** + * If applicable, the ID of the Dispute that created this Transaction. + */ + dispute?: string; + + /** + * If applicable, the ID of the FeeTransaction that created this Transaction. + */ + fee_transaction?: string; + + /** + * If applicable, the ID of the InboundTransfer that created this Transaction. + */ + inbound_transfer?: string; + + /** + * If applicable, the ID of the OutboundPayment that created this Transaction. + */ + outbound_payment?: string; + + /** + * If applicable, the ID of the OutboundTransfer that created this Transaction. + */ + outbound_transfer?: string; + + /** + * If applicable, the ID of the Payout that created this Transaction. + */ + payout?: string; + + /** + * If applicable, the ID of the ReceivedCredit that created this Transaction. + */ + received_credit?: string; + + /** + * If applicable, the ID of the ReceivedDebit that created this Transaction. + */ + received_debit?: string; + + /** + * If applicable, the ID of the Refund that created this Transaction. + */ + refund?: string; + + /** + * If applicable, the ID of the Reserve Hold that created this Transaction. + */ + reserve_hold?: string; + + /** + * If applicable, the ID of the Reserve Release that created this Transaction. + */ + reserve_release?: string; + + /** + * If applicable, the ID of the TaxFund that created this Transaction. + */ + tax_fund?: string; + + /** + * If applicable, the ID of the Topup that created this Transaction. + */ + topup?: string; + + /** + * If applicable, the ID of the Transfer that created this Transaction. + */ + transfer?: string; + + /** + * If applicable, the ID of the Transfer Reversal that created this Transaction. + */ + transfer_reversal?: string; + + /** + * If applicable, the ID of the Treasury CreditReversal that created this Transaction. + */ + treasury_credit_reversal?: string; + + /** + * If applicable, the ID of the Treasury DebitReversal that created this Transaction. + */ + treasury_debit_reversal?: string; + + /** + * If applicable, the ID of the Treasury InboundTransfer that created this Transaction. + */ + treasury_inbound_transfer?: string; + + /** + * If applicable, the ID of the Treasury IssuingAuthorization that created this Transaction. + */ + treasury_issuing_authorization?: string; + + /** + * If applicable, the ID of the Treasury OutboundPayment that created this Transaction. + */ + treasury_outbound_payment?: string; + + /** + * If applicable, the ID of the Treasury OutboundTransfer that created this Transaction. + */ + treasury_outbound_transfer?: string; + + /** + * If applicable, the ID of the Treasury ReceivedCredit that created this Transaction. + */ + treasury_received_credit?: string; + + /** + * If applicable, the ID of the Treasury ReceivedDebit that created this Transaction. + */ + treasury_received_debit?: string; + + /** + * Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. + */ + type: Flow.Type; + } + + export namespace Flow { + export type Type = + | 'adjustment' + | 'application_fee' + | 'application_fee_refund' + | 'charge' + | 'currency_conversion' + | 'debit_dispute' + | 'dispute' + | 'fee_transaction' + | 'inbound_transfer' + | 'outbound_payment' + | 'outbound_transfer' + | 'payout' + | 'received_credit' + | 'received_debit' + | 'refund' + | 'reserve_hold' + | 'reserve_release' + | 'tax_fund' + | 'topup' + | 'transfer' + | 'transfer_reversal' + | 'treasury_credit_reversal' + | 'treasury_debit_reversal' + | 'treasury_inbound_transfer' + | 'treasury_issuing_authorization' + | 'treasury_other' + | 'treasury_outbound_payment' + | 'treasury_outbound_transfer' + | 'treasury_received_credit' + | 'treasury_received_debit'; } } } diff --git a/src/resources/V2/MoneyManagement/Transactions.ts b/src/resources/V2/MoneyManagement/Transactions.ts index e04cfb0bc4..22218b7845 100644 --- a/src/resources/V2/MoneyManagement/Transactions.ts +++ b/src/resources/V2/MoneyManagement/Transactions.ts @@ -58,17 +58,17 @@ export interface Transaction { * The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its * TransactionEntries that have `effective_at`s in the past. */ - balance_impact: V2.MoneyManagement.Transaction.BalanceImpact; + balance_impact: Transaction.BalanceImpact; /** * Open Enum. A descriptive category used to classify the Transaction. */ - category: V2.MoneyManagement.Transaction.Category; + category: Transaction.Category; /** * Counterparty to this Transaction. */ - counterparty?: V2.MoneyManagement.Transaction.Counterparty; + counterparty?: Transaction.Counterparty; /** * Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -89,7 +89,7 @@ export interface Transaction { /** * Details about the Flow object that created the Transaction. */ - flow?: V2.MoneyManagement.Transaction.Flow; + flow?: Transaction.Flow; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -103,299 +103,295 @@ export interface Transaction { * A Transaction is `void` if there is no balance impact. * `posted` and `void` are terminal states, and no additional entries will be added to the Transaction. */ - status: V2.MoneyManagement.Transaction.Status; + status: Transaction.Status; /** * Timestamps for when the Transaction transitioned to a particular status. */ - status_transitions: V2.MoneyManagement.Transaction.StatusTransitions; + status_transitions: Transaction.StatusTransitions; /** * The v1 Treasury transaction associated with this transaction. */ treasury_transaction?: string; } -export namespace V2 { - export namespace MoneyManagement { - export namespace Transaction { - export interface BalanceImpact { - /** - * Impact to the available balance. - */ - available: V2Amount; - - /** - * Impact to the inbound_pending balance. - */ - inbound_pending: V2Amount; - - /** - * Impact to the outbound_pending balance. - */ - outbound_pending: V2Amount; - } +export namespace Transaction { + export interface BalanceImpact { + /** + * Impact to the available balance. + */ + available: V2Amount; + + /** + * Impact to the inbound_pending balance. + */ + inbound_pending: V2Amount; + + /** + * Impact to the outbound_pending balance. + */ + outbound_pending: V2Amount; + } - export type Category = - | 'adjustment' - | 'advance' - | 'anticipation_repayment' - | 'balance_transfer' - | 'climate_order_purchase' - | 'climate_order_refund' - | 'connect_collection_transfer' - | 'connect_reserved_funds' - | 'contribution' - | 'currency_conversion' - | 'debit_dispute' - | 'dispute' - | 'dispute_reversal' - | 'financing_paydown' - | 'financing_paydown_reversal' - | 'inbound_payment' - | 'inbound_payment_failure' - | 'inbound_transfer' - | 'inbound_transfer_reversal' - | 'india_mdr_processing_fee' - | 'issuing_dispute' - | 'issuing_dispute_fraud_liability_debit' - | 'issuing_dispute_provisional_credit' - | 'issuing_dispute_provisional_credit_reversal' - | 'minimum_balance_hold' - | 'network_cost' - | 'obligation' - | 'outbound_payment' - | 'outbound_payment_reversal' - | 'outbound_transfer' - | 'outbound_transfer_reversal' - | 'partial_capture_reversal' - | 'payment_method_passthrough_fee' - | 'payment_network_reserved_funds' - | 'platform_earning' - | 'platform_earning_refund' - | 'platform_fee' - | 'received_credit' - | 'received_credit_reversal' - | 'received_debit' - | 'received_debit_reversal' - | 'refund' - | 'refund_failure' - | 'risk_reserved_funds' - | 'stripe_balance_payment_debit' - | 'stripe_balance_payment_debit_reversal' - | 'stripe_fee' - | 'stripe_fee_tax' - | 'tax_fund' - | 'tax_withholding' - | 'transfer_reversal' - | 'unreconciled_customer_funds'; - - export interface Counterparty { - /** - * Name of the counterparty. - */ - name?: string; - } + export type Category = + | 'adjustment' + | 'advance' + | 'anticipation_repayment' + | 'balance_transfer' + | 'climate_order_purchase' + | 'climate_order_refund' + | 'connect_collection_transfer' + | 'connect_reserved_funds' + | 'contribution' + | 'currency_conversion' + | 'debit_dispute' + | 'dispute' + | 'dispute_reversal' + | 'financing_paydown' + | 'financing_paydown_reversal' + | 'inbound_payment' + | 'inbound_payment_failure' + | 'inbound_transfer' + | 'inbound_transfer_reversal' + | 'india_mdr_processing_fee' + | 'issuing_dispute' + | 'issuing_dispute_fraud_liability_debit' + | 'issuing_dispute_provisional_credit' + | 'issuing_dispute_provisional_credit_reversal' + | 'minimum_balance_hold' + | 'network_cost' + | 'obligation' + | 'outbound_payment' + | 'outbound_payment_reversal' + | 'outbound_transfer' + | 'outbound_transfer_reversal' + | 'partial_capture_reversal' + | 'payment_method_passthrough_fee' + | 'payment_network_reserved_funds' + | 'platform_earning' + | 'platform_earning_refund' + | 'platform_fee' + | 'received_credit' + | 'received_credit_reversal' + | 'received_debit' + | 'received_debit_reversal' + | 'refund' + | 'refund_failure' + | 'risk_reserved_funds' + | 'stripe_balance_payment_debit' + | 'stripe_balance_payment_debit_reversal' + | 'stripe_fee' + | 'stripe_fee_tax' + | 'tax_fund' + | 'tax_withholding' + | 'transfer_reversal' + | 'unreconciled_customer_funds'; + + export interface Counterparty { + /** + * Name of the counterparty. + */ + name?: string; + } - export interface Flow { - /** - * If applicable, the ID of the Adjustment that created this Transaction. - */ - adjustment?: string; - - /** - * If applicable, the ID of the Application Fee that created this Transaction. - */ - application_fee?: string; - - /** - * If applicable, the ID of the Application Fee Refund that created this Transaction. - */ - application_fee_refund?: string; - - /** - * If applicable, the ID of the Charge that created this Transaction. - */ - charge?: string; - - /** - * In the future, this will be the ID of the currency conversion that created this Transaction. For now, this field is always null. - */ - currency_conversion?: string; - - /** - * If applicable, the ID of the DebitDispute that created this Transaction. - */ - debit_dispute?: string; - - /** - * If applicable, the ID of the Dispute that created this Transaction. - */ - dispute?: string; - - /** - * If applicable, the ID of the FeeTransaction that created this Transaction. - */ - fee_transaction?: string; - - /** - * If applicable, the ID of the InboundTransfer that created this Transaction. - */ - inbound_transfer?: string; - - /** - * If applicable, the ID of the OutboundPayment that created this Transaction. - */ - outbound_payment?: string; - - /** - * If applicable, the ID of the OutboundTransfer that created this Transaction. - */ - outbound_transfer?: string; - - /** - * If applicable, the ID of the Payout that created this Transaction. - */ - payout?: string; - - /** - * If applicable, the ID of the ReceivedCredit that created this Transaction. - */ - received_credit?: string; - - /** - * If applicable, the ID of the ReceivedDebit that created this Transaction. - */ - received_debit?: string; - - /** - * If applicable, the ID of the Refund that created this Transaction. - */ - refund?: string; - - /** - * If applicable, the ID of the Reserve Hold that created this Transaction. - */ - reserve_hold?: string; - - /** - * If applicable, the ID of the Reserve Release that created this Transaction. - */ - reserve_release?: string; - - /** - * If applicable, the ID of the TaxFund that created this Transaction. - */ - tax_fund?: string; - - /** - * If applicable, the ID of the Topup that created this Transaction. - */ - topup?: string; - - /** - * If applicable, the ID of the Transfer that created this Transaction. - */ - transfer?: string; - - /** - * If applicable, the ID of the Transfer Reversal that created this Transaction. - */ - transfer_reversal?: string; - - /** - * If applicable, the ID of the Treasury CreditReversal that created this Transaction. - */ - treasury_credit_reversal?: string; - - /** - * If applicable, the ID of the Treasury DebitReversal that created this Transaction. - */ - treasury_debit_reversal?: string; - - /** - * If applicable, the ID of the Treasury InboundTransfer that created this Transaction. - */ - treasury_inbound_transfer?: string; - - /** - * If applicable, the ID of the Treasury IssuingAuthorization that created this Transaction. - */ - treasury_issuing_authorization?: string; - - /** - * If applicable, the ID of the Treasury OutboundPayment that created this Transaction. - */ - treasury_outbound_payment?: string; - - /** - * If applicable, the ID of the Treasury OutboundTransfer that created this Transaction. - */ - treasury_outbound_transfer?: string; - - /** - * If applicable, the ID of the Treasury ReceivedCredit that created this Transaction. - */ - treasury_received_credit?: string; - - /** - * If applicable, the ID of the Treasury ReceivedDebit that created this Transaction. - */ - treasury_received_debit?: string; - - /** - * Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. - */ - type: Flow.Type; - } + export interface Flow { + /** + * If applicable, the ID of the Adjustment that created this Transaction. + */ + adjustment?: string; + + /** + * If applicable, the ID of the Application Fee that created this Transaction. + */ + application_fee?: string; + + /** + * If applicable, the ID of the Application Fee Refund that created this Transaction. + */ + application_fee_refund?: string; + + /** + * If applicable, the ID of the Charge that created this Transaction. + */ + charge?: string; + + /** + * In the future, this will be the ID of the currency conversion that created this Transaction. For now, this field is always null. + */ + currency_conversion?: string; + + /** + * If applicable, the ID of the DebitDispute that created this Transaction. + */ + debit_dispute?: string; + + /** + * If applicable, the ID of the Dispute that created this Transaction. + */ + dispute?: string; + + /** + * If applicable, the ID of the FeeTransaction that created this Transaction. + */ + fee_transaction?: string; + + /** + * If applicable, the ID of the InboundTransfer that created this Transaction. + */ + inbound_transfer?: string; + + /** + * If applicable, the ID of the OutboundPayment that created this Transaction. + */ + outbound_payment?: string; + + /** + * If applicable, the ID of the OutboundTransfer that created this Transaction. + */ + outbound_transfer?: string; + + /** + * If applicable, the ID of the Payout that created this Transaction. + */ + payout?: string; + + /** + * If applicable, the ID of the ReceivedCredit that created this Transaction. + */ + received_credit?: string; + + /** + * If applicable, the ID of the ReceivedDebit that created this Transaction. + */ + received_debit?: string; + + /** + * If applicable, the ID of the Refund that created this Transaction. + */ + refund?: string; + + /** + * If applicable, the ID of the Reserve Hold that created this Transaction. + */ + reserve_hold?: string; + + /** + * If applicable, the ID of the Reserve Release that created this Transaction. + */ + reserve_release?: string; + + /** + * If applicable, the ID of the TaxFund that created this Transaction. + */ + tax_fund?: string; + + /** + * If applicable, the ID of the Topup that created this Transaction. + */ + topup?: string; + + /** + * If applicable, the ID of the Transfer that created this Transaction. + */ + transfer?: string; + + /** + * If applicable, the ID of the Transfer Reversal that created this Transaction. + */ + transfer_reversal?: string; + + /** + * If applicable, the ID of the Treasury CreditReversal that created this Transaction. + */ + treasury_credit_reversal?: string; + + /** + * If applicable, the ID of the Treasury DebitReversal that created this Transaction. + */ + treasury_debit_reversal?: string; + + /** + * If applicable, the ID of the Treasury InboundTransfer that created this Transaction. + */ + treasury_inbound_transfer?: string; + + /** + * If applicable, the ID of the Treasury IssuingAuthorization that created this Transaction. + */ + treasury_issuing_authorization?: string; + + /** + * If applicable, the ID of the Treasury OutboundPayment that created this Transaction. + */ + treasury_outbound_payment?: string; + + /** + * If applicable, the ID of the Treasury OutboundTransfer that created this Transaction. + */ + treasury_outbound_transfer?: string; + + /** + * If applicable, the ID of the Treasury ReceivedCredit that created this Transaction. + */ + treasury_received_credit?: string; + + /** + * If applicable, the ID of the Treasury ReceivedDebit that created this Transaction. + */ + treasury_received_debit?: string; + + /** + * Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow. + */ + type: Flow.Type; + } - export type Status = 'pending' | 'posted' | 'void'; + export type Status = 'pending' | 'posted' | 'void'; - export interface StatusTransitions { - /** - * The time at which the Transaction became posted. Only present if status == posted. - */ - posted_at?: string; + export interface StatusTransitions { + /** + * The time at which the Transaction became posted. Only present if status == posted. + */ + posted_at?: string; - /** - * The time at which the Transaction became void. Only present if status == void. - */ - void_at?: string; - } + /** + * The time at which the Transaction became void. Only present if status == void. + */ + void_at?: string; + } - export namespace Flow { - export type Type = - | 'adjustment' - | 'application_fee' - | 'application_fee_refund' - | 'charge' - | 'currency_conversion' - | 'debit_dispute' - | 'dispute' - | 'fee_transaction' - | 'inbound_transfer' - | 'outbound_payment' - | 'outbound_transfer' - | 'payout' - | 'received_credit' - | 'received_debit' - | 'refund' - | 'reserve_hold' - | 'reserve_release' - | 'tax_fund' - | 'topup' - | 'transfer' - | 'transfer_reversal' - | 'treasury_credit_reversal' - | 'treasury_debit_reversal' - | 'treasury_inbound_transfer' - | 'treasury_issuing_authorization' - | 'treasury_other' - | 'treasury_outbound_payment' - | 'treasury_outbound_transfer' - | 'treasury_received_credit' - | 'treasury_received_debit'; - } - } + export namespace Flow { + export type Type = + | 'adjustment' + | 'application_fee' + | 'application_fee_refund' + | 'charge' + | 'currency_conversion' + | 'debit_dispute' + | 'dispute' + | 'fee_transaction' + | 'inbound_transfer' + | 'outbound_payment' + | 'outbound_transfer' + | 'payout' + | 'received_credit' + | 'received_debit' + | 'refund' + | 'reserve_hold' + | 'reserve_release' + | 'tax_fund' + | 'topup' + | 'transfer' + | 'transfer_reversal' + | 'treasury_credit_reversal' + | 'treasury_debit_reversal' + | 'treasury_inbound_transfer' + | 'treasury_issuing_authorization' + | 'treasury_other' + | 'treasury_outbound_payment' + | 'treasury_outbound_transfer' + | 'treasury_received_credit' + | 'treasury_received_debit'; } } export namespace V2 { diff --git a/src/resources/V2/Network/BusinessProfiles.ts b/src/resources/V2/Network/BusinessProfiles.ts index ce5dbebbca..710ba63ff9 100644 --- a/src/resources/V2/Network/BusinessProfiles.ts +++ b/src/resources/V2/Network/BusinessProfiles.ts @@ -48,7 +48,7 @@ export interface BusinessProfile { /** * Branding data for the business. */ - branding?: V2.Network.BusinessProfile.Branding; + branding?: BusinessProfile.Branding; /** * The description of the business. @@ -75,46 +75,42 @@ export interface BusinessProfile { */ username: string; } -export namespace V2 { - export namespace Network { - export namespace BusinessProfile { - export interface Branding { - /** - * URL of the icon for the business. The image will be square and at least 128px x 128px. - */ - icon?: Branding.Icon; +export namespace BusinessProfile { + export interface Branding { + /** + * URL of the icon for the business. The image will be square and at least 128px x 128px. + */ + icon?: Branding.Icon; - /** - * URL of the logo for the business. The image will be at least 128px x 128px. - */ - logo?: Branding.Logo; + /** + * URL of the logo for the business. The image will be at least 128px x 128px. + */ + logo?: Branding.Logo; - /** - * A CSS hex color value representing the primary branding color for this business. - */ - primary_color?: string; + /** + * A CSS hex color value representing the primary branding color for this business. + */ + primary_color?: string; - /** - * A CSS hex color value representing the secondary branding color for this business. - */ - secondary_color?: string; - } + /** + * A CSS hex color value representing the secondary branding color for this business. + */ + secondary_color?: string; + } - export namespace Branding { - export interface Icon { - /** - * The URL of the image in its original size. - */ - original: string; - } + export namespace Branding { + export interface Icon { + /** + * The URL of the image in its original size. + */ + original: string; + } - export interface Logo { - /** - * The URL of the image in its original size. - */ - original: string; - } - } + export interface Logo { + /** + * The URL of the image in its original size. + */ + original: string; } } } diff --git a/src/resources/V2/OrchestratedCommerce/Agreements.ts b/src/resources/V2/OrchestratedCommerce/Agreements.ts index 38c6a197d7..ce09433bac 100644 --- a/src/resources/V2/OrchestratedCommerce/Agreements.ts +++ b/src/resources/V2/OrchestratedCommerce/Agreements.ts @@ -102,7 +102,7 @@ export interface Agreement { /** * The party that initiated the agreement. */ - initiated_by: V2.OrchestratedCommerce.Agreement.InitiatedBy; + initiated_by: Agreement.InitiatedBy; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -112,78 +112,74 @@ export interface Agreement { /** * Details about the orchestrator. */ - orchestrator_details: V2.OrchestratedCommerce.Agreement.OrchestratorDetails; + orchestrator_details: Agreement.OrchestratorDetails; /** * Details about the seller. */ - seller_details: V2.OrchestratedCommerce.Agreement.SellerDetails; + seller_details: Agreement.SellerDetails; /** * The current status of the agreement. */ - status: V2.OrchestratedCommerce.Agreement.Status; + status: Agreement.Status; /** * Timestamps of key status transitions for the agreement. */ - status_transitions: V2.OrchestratedCommerce.Agreement.StatusTransitions; + status_transitions: Agreement.StatusTransitions; /** * The party that terminated the agreement, if applicable. */ - terminated_by?: V2.OrchestratedCommerce.Agreement.TerminatedBy; + terminated_by?: Agreement.TerminatedBy; } -export namespace V2 { - export namespace OrchestratedCommerce { - export namespace Agreement { - export type InitiatedBy = 'orchestrator' | 'seller'; - - export interface OrchestratorDetails { - /** - * The name of the orchestrator. This can be the name of the agent or the name of the business. - */ - name: string; - - /** - * The Network ID of the orchestrator. - */ - network_business_profile: string; - } - - export interface SellerDetails { - /** - * The Network ID of the seller. - */ - network_business_profile: string; - } +export namespace Agreement { + export type InitiatedBy = 'orchestrator' | 'seller'; + + export interface OrchestratorDetails { + /** + * The name of the orchestrator. This can be the name of the agent or the name of the business. + */ + name: string; + + /** + * The Network ID of the orchestrator. + */ + network_business_profile: string; + } - export type Status = - | 'confirmed' - | 'initiated' - | 'partially_confirmed' - | 'terminated'; - - export interface StatusTransitions { - /** - * The time at which the orchestrator confirmed the agreement. - */ - orchestrator_confirmed_at?: string; - - /** - * The time at which the seller confirmed the agreement. - */ - seller_confirmed_at?: string; - - /** - * The time at which the agreement was terminated. - */ - terminated_at?: string; - } + export interface SellerDetails { + /** + * The Network ID of the seller. + */ + network_business_profile: string; + } - export type TerminatedBy = 'orchestrator' | 'seller'; - } + export type Status = + | 'confirmed' + | 'initiated' + | 'partially_confirmed' + | 'terminated'; + + export interface StatusTransitions { + /** + * The time at which the orchestrator confirmed the agreement. + */ + orchestrator_confirmed_at?: string; + + /** + * The time at which the seller confirmed the agreement. + */ + seller_confirmed_at?: string; + + /** + * The time at which the agreement was terminated. + */ + terminated_at?: string; } + + export type TerminatedBy = 'orchestrator' | 'seller'; } export namespace V2 { export namespace OrchestratedCommerce { diff --git a/src/resources/V2/Payments/OffSessionPayments.ts b/src/resources/V2/Payments/OffSessionPayments.ts index 7ee5304fdc..198d9eb119 100644 --- a/src/resources/V2/Payments/OffSessionPayments.ts +++ b/src/resources/V2/Payments/OffSessionPayments.ts @@ -132,7 +132,7 @@ export interface OffSessionPayment { /** * Provides industry-specific information about the amount. */ - amount_details?: V2.Payments.OffSessionPayment.AmountDetails; + amount_details?: OffSessionPayment.AmountDetails; /** * The “presentment amount” to be collected from the customer. @@ -147,12 +147,12 @@ export interface OffSessionPayment { /** * The frequency of the underlying payment. */ - cadence: V2.Payments.OffSessionPayment.Cadence; + cadence: OffSessionPayment.Cadence; /** * Details about the capture configuration for the OffSessionPayment. */ - capture?: V2.Payments.OffSessionPayment.Capture; + capture?: OffSessionPayment.Capture; /** * Creation time of the OffSessionPayment. Represented as a RFC 3339 date & time UTC @@ -173,7 +173,7 @@ export interface OffSessionPayment { /** * The reason why the OffSessionPayment failed. */ - failure_reason?: V2.Payments.OffSessionPayment.FailureReason; + failure_reason?: OffSessionPayment.FailureReason; /** * The payment error encountered in the previous attempt to authorize the payment. @@ -206,7 +206,7 @@ export interface OffSessionPayment { /** * Provides industry-specific information about the payment. */ - payment_details?: V2.Payments.OffSessionPayment.PaymentDetails; + payment_details?: OffSessionPayment.PaymentDetails; /** * ID of the payment method used in this OffSessionPayment. @@ -221,12 +221,12 @@ export interface OffSessionPayment { /** * Details about the payments orchestration configuration. */ - payments_orchestration: V2.Payments.OffSessionPayment.PaymentsOrchestration; + payments_orchestration: OffSessionPayment.PaymentsOrchestration; /** * Details about the OffSessionPayment retries. */ - retry_details: V2.Payments.OffSessionPayment.RetryDetails; + retry_details: OffSessionPayment.RetryDetails; /** * Text that appears on the customer's statement as the statement descriptor for a @@ -247,7 +247,7 @@ export interface OffSessionPayment { * Status of this OffSessionPayment, one of `pending`, `pending_retry`, `processing`, * `failed`, `canceled`, `requires_capture`, or `succeeded`. */ - status: V2.Payments.OffSessionPayment.Status; + status: OffSessionPayment.Status; /** * Test clock that can be used to advance the retry attempts in a sandbox. @@ -257,233 +257,225 @@ export interface OffSessionPayment { /** * The data that automatically creates a Transfer after the payment finalizes. Learn more about the use case for [connected accounts](https://docs.stripe.com/payments/connected-accounts). */ - transfer_data?: V2.Payments.OffSessionPayment.TransferData; + transfer_data?: OffSessionPayment.TransferData; } -export namespace V2 { - export namespace Payments { - export namespace OffSessionPayment { - export interface AmountDetails { - /** - * The amount the total transaction was discounted for. - */ - discount_amount?: number; - - /** - * Contains information about the error that occurred when validating the current amount details. - * This field populates when the amount details has a validation error that wasn't enforced because the [enforce_arithmetic_validation](https://docs.corp.stripe.com/api/payment_intents/create#create_payment_intent-amount_details-enforce_arithmetic_validation) parameter was set to `false`. - */ - error?: AmountDetails.Error; - - /** - * A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items. - */ - line_items: Array; - - /** - * Contains information about the shipping portion of the amount. - */ - shipping?: AmountDetails.Shipping; - - /** - * Contains information about the tax portion of the amount. - */ - tax?: AmountDetails.Tax; - } - - export type Cadence = 'recurring' | 'unscheduled'; - - export interface Capture { - /** - * The timestamp when this payment is no longer eligible to be captured. - */ - capture_before?: string; - - /** - * The method to use to capture the payment. - */ - capture_method: Capture.CaptureMethod; - } - - export type FailureReason = - | 'authorization_expired' - | 'exceeded_retry_window' - | 'no_valid_payment_method' - | 'rejected_by_partner' - | 'retries_exhausted'; - - export interface PaymentDetails { - /** - * A unique value to identify the customer. This field is applicable only for card payments. For card payments, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. - */ - customer_reference?: string; - - /** - * A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. - * For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. - */ - order_reference?: string; - } +export namespace OffSessionPayment { + export interface AmountDetails { + /** + * The amount the total transaction was discounted for. + */ + discount_amount?: number; + + /** + * Contains information about the error that occurred when validating the current amount details. + * This field populates when the amount details has a validation error that wasn't enforced because the [enforce_arithmetic_validation](https://docs.corp.stripe.com/api/payment_intents/create#create_payment_intent-amount_details-enforce_arithmetic_validation) parameter was set to `false`. + */ + error?: AmountDetails.Error; + + /** + * A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items. + */ + line_items: Array; + + /** + * Contains information about the shipping portion of the amount. + */ + shipping?: AmountDetails.Shipping; + + /** + * Contains information about the tax portion of the amount. + */ + tax?: AmountDetails.Tax; + } - export interface PaymentsOrchestration { - /** - * True when you want to enable payments orchestration for this off-session payment. False otherwise. - */ - enabled: boolean; - } + export type Cadence = 'recurring' | 'unscheduled'; - export interface RetryDetails { - /** - * Number of authorization attempts so far. - */ - attempts: number; + export interface Capture { + /** + * The timestamp when this payment is no longer eligible to be captured. + */ + capture_before?: string; - /** - * The pre-configured retry policy to use for the payment. - */ - retry_policy?: string; - - /** - * Indicates the strategy for how you want Stripe to retry the payment. - */ - retry_strategy: RetryDetails.RetryStrategy; + /** + * The method to use to capture the payment. + */ + capture_method: Capture.CaptureMethod; + } - /** - * The timestamp when this payment is no longer eligible to be retried. When this timestamp is reached, the payment will be marked as failed. - */ - retry_until?: string; - } + export type FailureReason = + | 'authorization_expired' + | 'exceeded_retry_window' + | 'no_valid_payment_method' + | 'rejected_by_partner' + | 'retries_exhausted'; + + export interface PaymentDetails { + /** + * A unique value to identify the customer. This field is applicable only for card payments. For card payments, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. + */ + customer_reference?: string; + + /** + * A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + * For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. + */ + order_reference?: string; + } - export type Status = - | 'canceled' - | 'failed' - | 'paused' - | 'pending' - | 'pending_retry' - | 'processing' - | 'requires_capture' - | 'succeeded'; + export interface PaymentsOrchestration { + /** + * True when you want to enable payments orchestration for this off-session payment. False otherwise. + */ + enabled: boolean; + } - export interface TransferData { - /** - * The amount transferred to the destination account. This transfer will occur - * automatically after the payment succeeds. If no amount is specified, by default - * the entire payment amount is transferred to the destination account. The amount - * must be less than or equal to the - * [amount_requested](https://docs.stripe.com/api/v2/off-session-payments/object?api-version=2025-05-28.preview#v2_off_session_payment_object-amount_requested), - * and must be a positive integer representing how much to transfer in the smallest - * currency unit (e.g., 100 cents to charge $1.00). - */ - amount?: number; + export interface RetryDetails { + /** + * Number of authorization attempts so far. + */ + attempts: number; + + /** + * The pre-configured retry policy to use for the payment. + */ + retry_policy?: string; + + /** + * Indicates the strategy for how you want Stripe to retry the payment. + */ + retry_strategy: RetryDetails.RetryStrategy; + + /** + * The timestamp when this payment is no longer eligible to be retried. When this timestamp is reached, the payment will be marked as failed. + */ + retry_until?: string; + } - /** - * The account (if any) that the payment is attributed to for tax reporting, and - * where funds from the payment are transferred to after payment success. - */ - destination: string; - } + export type Status = + | 'canceled' + | 'failed' + | 'paused' + | 'pending' + | 'pending_retry' + | 'processing' + | 'requires_capture' + | 'succeeded'; + + export interface TransferData { + /** + * The amount transferred to the destination account. This transfer will occur + * automatically after the payment succeeds. If no amount is specified, by default + * the entire payment amount is transferred to the destination account. The amount + * must be less than or equal to the + * [amount_requested](https://docs.stripe.com/api/v2/off-session-payments/object?api-version=2025-05-28.preview#v2_off_session_payment_object-amount_requested), + * and must be a positive integer representing how much to transfer in the smallest + * currency unit (e.g., 100 cents to charge $1.00). + */ + amount?: number; + + /** + * The account (if any) that the payment is attributed to for tax reporting, and + * where funds from the payment are transferred to after payment success. + */ + destination: string; + } - export namespace AmountDetails { - export interface Error { - /** - * The code of the error that occurred when validating the current amount details. - */ - code?: Error.Code; + export namespace AmountDetails { + export interface Error { + /** + * The code of the error that occurred when validating the current amount details. + */ + code?: Error.Code; - /** - * A message providing more details about the error. - */ - message?: string; - } + /** + * A message providing more details about the error. + */ + message?: string; + } - export interface LineItem { - /** - * The amount an item was discounted for. Positive integer. - */ - discount_amount?: number; + export interface LineItem { + /** + * The amount an item was discounted for. Positive integer. + */ + discount_amount?: number; - /** - * Unique identifier of the product. At most 12 characters long. - */ - product_code?: string; + /** + * Unique identifier of the product. At most 12 characters long. + */ + product_code?: string; - /** - * Name of the product. At most 100 characters long. - */ - product_name: string; + /** + * Name of the product. At most 100 characters long. + */ + product_name: string; - /** - * Number of items of the product. Positive integer. - */ - quantity: number; + /** + * Number of items of the product. Positive integer. + */ + quantity: number; - /** - * Contains information about the tax on the item. - */ - tax?: LineItem.Tax; + /** + * Contains information about the tax on the item. + */ + tax?: LineItem.Tax; - /** - * Cost of the product. Non-negative integer. - */ - unit_cost: number; + /** + * Cost of the product. Non-negative integer. + */ + unit_cost: number; - /** - * Unit of measure for the product. At most 12 characters long. - */ - unit_of_measure?: string; - } + /** + * Unit of measure for the product. At most 12 characters long. + */ + unit_of_measure?: string; + } - export interface Shipping { - /** - * Portion of the amount that is for shipping. - */ - amount?: number; + export interface Shipping { + /** + * Portion of the amount that is for shipping. + */ + amount?: number; - /** - * The postal code that represents the shipping source. - */ - from_postal_code?: string; + /** + * The postal code that represents the shipping source. + */ + from_postal_code?: string; - /** - * The postal code that represents the shipping destination. - */ - to_postal_code?: string; - } + /** + * The postal code that represents the shipping destination. + */ + to_postal_code?: string; + } - export interface Tax { - /** - * Total portion of the amount that is for tax. - */ - total_tax_amount?: number; - } + export interface Tax { + /** + * Total portion of the amount that is for tax. + */ + total_tax_amount?: number; + } - export namespace Error { - export type Code = - | 'amount_details_amount_mismatch' - | 'amount_details_amount_greater_than_tax_shipping_discount'; - } + export namespace Error { + export type Code = + | 'amount_details_amount_mismatch' + | 'amount_details_amount_greater_than_tax_shipping_discount'; + } - export namespace LineItem { - export interface Tax { - /** - * Total portion of the amount that is for tax. - */ - total_tax_amount?: number; - } - } + export namespace LineItem { + export interface Tax { + /** + * Total portion of the amount that is for tax. + */ + total_tax_amount?: number; } + } + } - export namespace Capture { - export type CaptureMethod = 'automatic' | 'manual'; - } + export namespace Capture { + export type CaptureMethod = 'automatic' | 'manual'; + } - export namespace RetryDetails { - export type RetryStrategy = - | 'heuristic' - | 'none' - | 'scheduled' - | 'smart'; - } - } + export namespace RetryDetails { + export type RetryStrategy = 'heuristic' | 'none' | 'scheduled' | 'smart'; } } export namespace V2 { diff --git a/src/resources/V2/Payments/SettlementAllocationIntentSplits.ts b/src/resources/V2/Payments/SettlementAllocationIntentSplits.ts index 1071c5446d..36fe6fbdd6 100644 --- a/src/resources/V2/Payments/SettlementAllocationIntentSplits.ts +++ b/src/resources/V2/Payments/SettlementAllocationIntentSplits.ts @@ -32,7 +32,7 @@ export interface SettlementAllocationIntentSplit { /** * Details about the Flow object that settled the split. */ - flow?: V2.Payments.SettlementAllocationIntentSplit.Flow; + flow?: SettlementAllocationIntentSplit.Flow; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -52,48 +52,44 @@ export interface SettlementAllocationIntentSplit { /** * The status of the SettlementAllocationIntentSplit. */ - status: V2.Payments.SettlementAllocationIntentSplit.Status; + status: SettlementAllocationIntentSplit.Status; /** * The type of the SettlementAllocationIntentSplit. */ - type: V2.Payments.SettlementAllocationIntentSplit.Type; + type: SettlementAllocationIntentSplit.Type; } -export namespace V2 { - export namespace Payments { - export namespace SettlementAllocationIntentSplit { - export interface Flow { - /** - * If applicable, the ID of the OutboundPayment that created this transaction. - */ - outbound_payment?: string; - - /** - * If applicable, the ID of the OutboundTransfer that created this transaction. - */ - outbound_transfer?: string; - - /** - * If applicable, the ID of the ReceivedCredit that created this transaction. - */ - received_credit?: string; - - /** - * Type of the flow linked to the transaction which settled the SettlementAllocationIntentSplit. The field matching this value will contain the ID of the flow. - */ - type: Flow.Type; - } - - export type Status = 'canceled' | 'pending' | 'settled'; - - export type Type = 'credit' | 'debit'; - - export namespace Flow { - export type Type = - | 'outbound_payment' - | 'outbound_transfer' - | 'received_credit'; - } - } +export namespace SettlementAllocationIntentSplit { + export interface Flow { + /** + * If applicable, the ID of the OutboundPayment that created this transaction. + */ + outbound_payment?: string; + + /** + * If applicable, the ID of the OutboundTransfer that created this transaction. + */ + outbound_transfer?: string; + + /** + * If applicable, the ID of the ReceivedCredit that created this transaction. + */ + received_credit?: string; + + /** + * Type of the flow linked to the transaction which settled the SettlementAllocationIntentSplit. The field matching this value will contain the ID of the flow. + */ + type: Flow.Type; + } + + export type Status = 'canceled' | 'pending' | 'settled'; + + export type Type = 'credit' | 'debit'; + + export namespace Flow { + export type Type = + | 'outbound_payment' + | 'outbound_transfer' + | 'received_credit'; } } diff --git a/src/resources/V2/Payments/SettlementAllocationIntents.ts b/src/resources/V2/Payments/SettlementAllocationIntents.ts index fe7137cd74..3739caf92a 100644 --- a/src/resources/V2/Payments/SettlementAllocationIntents.ts +++ b/src/resources/V2/Payments/SettlementAllocationIntents.ts @@ -163,49 +163,45 @@ export interface SettlementAllocationIntent { /** * SettlementAllocationIntent status. */ - status: V2.Payments.SettlementAllocationIntent.Status; + status: SettlementAllocationIntent.Status; /** * Status details for a SettlementAllocationIntent in `errored` state. */ - status_details?: V2.Payments.SettlementAllocationIntent.StatusDetails; + status_details?: SettlementAllocationIntent.StatusDetails; } -export namespace V2 { - export namespace Payments { - export namespace SettlementAllocationIntent { - export type Status = - | 'canceled' - | 'errored' - | 'matched' - | 'pending' - | 'settled' - | 'submitted'; +export namespace SettlementAllocationIntent { + export type Status = + | 'canceled' + | 'errored' + | 'matched' + | 'pending' + | 'settled' + | 'submitted'; - export interface StatusDetails { - /** - * Hash that provides additional information regarding the reason behind a `errored` SettlementAllocationIntent status. It is only present when the SettlementAllocationIntent status is `errored`. - */ - errored?: StatusDetails.Errored; - } + export interface StatusDetails { + /** + * Hash that provides additional information regarding the reason behind a `errored` SettlementAllocationIntent status. It is only present when the SettlementAllocationIntent status is `errored`. + */ + errored?: StatusDetails.Errored; + } - export namespace StatusDetails { - export interface Errored { - /** - * Stripe doc link to debug the issue. - */ - doc_url?: string; + export namespace StatusDetails { + export interface Errored { + /** + * Stripe doc link to debug the issue. + */ + doc_url?: string; - /** - * User Message detailing the reason code and possible resolution . - */ - message: string; + /** + * User Message detailing the reason code and possible resolution . + */ + message: string; - /** - * Open Enum. The `errored` status reason. - */ - reason_code: 'amount_mismatch'; - } - } + /** + * Open Enum. The `errored` status reason. + */ + reason_code: 'amount_mismatch'; } } } diff --git a/src/resources/V2/Reporting/ReportRuns.ts b/src/resources/V2/Reporting/ReportRuns.ts index 6486ccb480..416f36c710 100644 --- a/src/resources/V2/Reporting/ReportRuns.ts +++ b/src/resources/V2/Reporting/ReportRuns.ts @@ -99,139 +99,135 @@ export interface ReportRun { /** * The parameters used to customize the generation of the report. */ - report_parameters: V2.Reporting.ReportRun.ReportParameters; + report_parameters: ReportRun.ReportParameters; /** * Details how to retrieve the results of a successfully completed `ReportRun`. */ - result?: V2.Reporting.ReportRun.Result; + result?: ReportRun.Result; /** * The options specified for customizing the output file of the `ReportRun`. */ - result_options?: V2.Reporting.ReportRun.ResultOptions; + result_options?: ReportRun.ResultOptions; /** * The current status of the `ReportRun`. */ - status: V2.Reporting.ReportRun.Status; + status: ReportRun.Status; /** * Additional details about the current state of the `ReportRun`. The field is currently only populated when a `ReportRun` * is in the `failed` state, providing more information about why the report failed to generate successfully. */ status_details: { - [key: string]: V2.Reporting.ReportRun.StatusDetails; + [key: string]: ReportRun.StatusDetails; }; } -export namespace V2 { - export namespace Reporting { - export namespace ReportRun { - export type ReportParameters = { - [key: string]: unknown; - }; +export namespace ReportRun { + export type ReportParameters = { + [key: string]: unknown; + }; - export interface Result { - /** - * Contains metadata about the file produced by the `ReportRun` or `QueryRun`, including - * its content type, size, and a URL to download its contents. - */ - file?: Result.File; + export interface Result { + /** + * Contains metadata about the file produced by the `ReportRun` or `QueryRun`, including + * its content type, size, and a URL to download its contents. + */ + file?: Result.File; + + /** + * The type of the `ReportRun` or `QueryRun` result. + */ + type: 'file'; + } + + export interface ResultOptions { + /** + * If set, the generated results file will be compressed into a ZIP folder. + * This is useful for reducing file size and download time for large results. + */ + compress_file?: boolean; + } + + export type Status = 'failed' | 'running' | 'succeeded'; + + export interface StatusDetails { + /** + * Error code categorizing the reason the `ReportRun` failed. + */ + error_code?: StatusDetails.ErrorCode; + + /** + * Error message with additional details about the failure. + */ + error_message?: string; + } + export namespace Result { + export interface File { + /** + * The content type of the file. + */ + content_type: File.ContentType; + + /** + * A pre-signed URL that allows secure, time-limited access to download the file. + */ + download_url: File.DownloadUrl; + + /** + * The columns of the schema. + */ + schema: Array; + + /** + * The total size of the file in bytes. + */ + size: bigint; + } + + export namespace File { + export type ContentType = 'csv' | 'zip'; + + export interface DownloadUrl { /** - * The type of the `ReportRun` or `QueryRun` result. + * The time that the URL expires. */ - type: 'file'; - } + expires_at?: string; - export interface ResultOptions { /** - * If set, the generated results file will be compressed into a ZIP folder. - * This is useful for reducing file size and download time for large results. + * The URL that can be used for accessing the file. */ - compress_file?: boolean; + url: string; } - export type Status = 'failed' | 'running' | 'succeeded'; - - export interface StatusDetails { + export interface Schema { /** - * Error code categorizing the reason the `ReportRun` failed. + * The name of the column. */ - error_code?: StatusDetails.ErrorCode; + name: string; /** - * Error message with additional details about the failure. + * The type of the column. */ - error_message?: string; + type: Schema.Type; } - export namespace Result { - export interface File { - /** - * The content type of the file. - */ - content_type: File.ContentType; - - /** - * A pre-signed URL that allows secure, time-limited access to download the file. - */ - download_url: File.DownloadUrl; - - /** - * The columns of the schema. - */ - schema: Array; - - /** - * The total size of the file in bytes. - */ - size: bigint; - } - - export namespace File { - export type ContentType = 'csv' | 'zip'; - - export interface DownloadUrl { - /** - * The time that the URL expires. - */ - expires_at?: string; - - /** - * The URL that can be used for accessing the file. - */ - url: string; - } - - export interface Schema { - /** - * The name of the column. - */ - name: string; - - /** - * The type of the column. - */ - type: Schema.Type; - } - - export namespace Schema { - export type Type = - | 'boolean' - | 'double' - | 'bigint' - | 'varchar' - | 'timestamp'; - } - } - } - - export namespace StatusDetails { - export type ErrorCode = 'file_size_above_limit' | 'internal_error'; + export namespace Schema { + export type Type = + | 'boolean' + | 'double' + | 'bigint' + | 'varchar' + | 'timestamp'; } } } + + export namespace StatusDetails { + export type ErrorCode = 'file_size_above_limit' | 'internal_error'; + } } export namespace V2 { export namespace Reporting { diff --git a/src/resources/V2/Reporting/Reports.ts b/src/resources/V2/Reporting/Reports.ts index e9a5a5b1df..c898537ca4 100644 --- a/src/resources/V2/Reporting/Reports.ts +++ b/src/resources/V2/Reporting/Reports.ts @@ -48,86 +48,82 @@ export interface Report { * name, description, whether it is required, and any validations performed. */ parameters: { - [key: string]: V2.Reporting.Report.Parameters; + [key: string]: Report.Parameters; }; } -export namespace V2 { - export namespace Reporting { - export namespace Report { - export interface Parameters { - /** - * For array parameters, provides details about the array elements. - */ - array_details?: Parameters.ArrayDetails; +export namespace Report { + export interface Parameters { + /** + * For array parameters, provides details about the array elements. + */ + array_details?: Parameters.ArrayDetails; + + /** + * Explains the purpose and usage of the parameter. + */ + description: string; + + /** + * For enum parameters, provides the list of allowed values. + */ + enum_details?: Parameters.EnumDetails; + + /** + * Indicates whether the parameter must be provided. + */ + required: boolean; + + /** + * For timestamp parameters, specifies the allowed date range. + */ + timestamp_details?: Parameters.TimestampDetails; + + /** + * The data type of the parameter. + */ + type: Parameters.Type; + } - /** - * Explains the purpose and usage of the parameter. - */ - description: string; + export namespace Parameters { + export interface ArrayDetails { + /** + * Data type of the elements in the array. + */ + element_type: 'enum'; + + /** + * Details about enum elements in the array. + */ + enum_details?: ArrayDetails.EnumDetails; + } - /** - * For enum parameters, provides the list of allowed values. - */ - enum_details?: Parameters.EnumDetails; + export interface EnumDetails { + /** + * Allowed values of the enum. + */ + allowed_values: Array; + } - /** - * Indicates whether the parameter must be provided. - */ - required: boolean; + export interface TimestampDetails { + /** + * Maximum permitted timestamp which can be requested. + */ + max: string; - /** - * For timestamp parameters, specifies the allowed date range. - */ - timestamp_details?: Parameters.TimestampDetails; + /** + * Minimum permitted timestamp which can be requested. + */ + min: string; + } + + export type Type = 'array' | 'enum' | 'string' | 'timestamp'; + export namespace ArrayDetails { + export interface EnumDetails { /** - * The data type of the parameter. + * Allowed values of the enum. */ - type: Parameters.Type; - } - - export namespace Parameters { - export interface ArrayDetails { - /** - * Data type of the elements in the array. - */ - element_type: 'enum'; - - /** - * Details about enum elements in the array. - */ - enum_details?: ArrayDetails.EnumDetails; - } - - export interface EnumDetails { - /** - * Allowed values of the enum. - */ - allowed_values: Array; - } - - export interface TimestampDetails { - /** - * Maximum permitted timestamp which can be requested. - */ - max: string; - - /** - * Minimum permitted timestamp which can be requested. - */ - min: string; - } - - export type Type = 'array' | 'enum' | 'string' | 'timestamp'; - - export namespace ArrayDetails { - export interface EnumDetails { - /** - * Allowed values of the enum. - */ - allowed_values: Array; - } - } + allowed_values: Array; } } } diff --git a/src/resources/V2/Signals/AccountSignals.ts b/src/resources/V2/Signals/AccountSignals.ts index 15905604f2..8f4b5c0506 100644 --- a/src/resources/V2/Signals/AccountSignals.ts +++ b/src/resources/V2/Signals/AccountSignals.ts @@ -88,7 +88,7 @@ export interface AccountSignal { /** * The account or customer this signal is associated with. */ - account_details?: V2.Signals.AccountSignal.AccountDetails; + account_details?: AccountSignal.AccountDetails; /** * Timestamp at which the signal was created. @@ -98,7 +98,7 @@ export interface AccountSignal { /** * Data for the fraudulent merchant signal. Present only when type is fraudulent_merchant. */ - fraudulent_merchant?: V2.Signals.AccountSignal.FraudulentMerchant; + fraudulent_merchant?: AccountSignal.FraudulentMerchant; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -108,166 +108,162 @@ export interface AccountSignal { /** * Data for the merchant delinquency signal. Present only when type is merchant_delinquency. */ - merchant_delinquency?: V2.Signals.AccountSignal.MerchantDelinquency; + merchant_delinquency?: AccountSignal.MerchantDelinquency; /** * The type of signal. */ - type: V2.Signals.AccountSignal.Type; + type: AccountSignal.Type; } -export namespace V2 { - export namespace Signals { - export namespace AccountSignal { - export interface AccountDetails { - /** - * The v2 account ID of the account. - */ - account?: string; +export namespace AccountSignal { + export interface AccountDetails { + /** + * The v2 account ID of the account. + */ + account?: string; + + /** + * The v1 customer ID of the account, for users not yet migrated to v2/accounts. + */ + customer?: string; + } - /** - * The v1 customer ID of the account, for users not yet migrated to v2/accounts. - */ - customer?: string; - } + export interface FraudulentMerchant { + /** + * Array of objects representing individual factors that contributed to the calculated probability. Absent when risk level is not_assessed or unknown, + * or when the user is not on a product tier that includes indicators. + */ + indicators: Array; + + /** + * The probability of the merchant being fraudulent. Can be between 0.00 and 100.00. Absent when risk level is not_assessed or unknown, + * or when the user is not on a product tier that includes numeric scores. + */ + probability?: Decimal; + + /** + * Categorical assessment of the fraudulent merchant risk based on probability. + */ + risk_level: FraudulentMerchant.RiskLevel; + } - export interface FraudulentMerchant { - /** - * Array of objects representing individual factors that contributed to the calculated probability. Absent when risk level is not_assessed or unknown, - * or when the user is not on a product tier that includes indicators. - */ - indicators: Array; + export interface MerchantDelinquency { + /** + * Array of objects representing individual factors that contributed to the calculated probability of delinquency. Absent when risk level is not_assessed or unknown, + * or when the user is not on a product tier that includes indicators. + */ + indicators: Array; + + /** + * The probability of delinquency. Can be between 0.00 and 100.00. Absent when risk level is not_assessed or unknown, + * or when the user is not on a product tier that includes numeric scores. + */ + probability?: Decimal; + + /** + * Categorical assessment of the delinquency risk based on probability. + */ + risk_level: MerchantDelinquency.RiskLevel; + } - /** - * The probability of the merchant being fraudulent. Can be between 0.00 and 100.00. Absent when risk level is not_assessed or unknown, - * or when the user is not on a product tier that includes numeric scores. - */ - probability?: Decimal; + export type Type = 'fraudulent_merchant' | 'merchant_delinquency'; - /** - * Categorical assessment of the fraudulent merchant risk based on probability. - */ - risk_level: FraudulentMerchant.RiskLevel; - } + export namespace FraudulentMerchant { + export interface Indicator { + /** + * A brief explanation of how this indicator contributed to the fraudulent merchant probability. + */ + explanation: string; - export interface MerchantDelinquency { - /** - * Array of objects representing individual factors that contributed to the calculated probability of delinquency. Absent when risk level is not_assessed or unknown, - * or when the user is not on a product tier that includes indicators. - */ - indicators: Array; + /** + * The effect this indicator had on the overall risk level. + */ + impact: Indicator.Impact; - /** - * The probability of delinquency. Can be between 0.00 and 100.00. Absent when risk level is not_assessed or unknown, - * or when the user is not on a product tier that includes numeric scores. - */ - probability?: Decimal; + /** + * The name of the specific indicator used in the risk assessment. + */ + indicator: Indicator.Indicator; + } - /** - * Categorical assessment of the delinquency risk based on probability. - */ - risk_level: MerchantDelinquency.RiskLevel; - } + export type RiskLevel = + | 'elevated' + | 'highest' + | 'low' + | 'normal' + | 'not_assessed' + | 'unknown'; + + export namespace Indicator { + export type Impact = + | 'decrease' + | 'neutral' + | 'slight_increase' + | 'strong_increase'; + + export type Indicator = + | 'bank_account' + | 'business_information_and_account_activity' + | 'disputes' + | 'failures' + | 'geolocation' + | 'other' + | 'other_related_accounts' + | 'other_transaction_activity' + | 'owner_email'; + } + } - export type Type = 'fraudulent_merchant' | 'merchant_delinquency'; + export namespace MerchantDelinquency { + export interface Indicator { + /** + * A brief explanation of how this indicator contributed to the delinquency probability. + */ + explanation: string; - export namespace FraudulentMerchant { - export interface Indicator { - /** - * A brief explanation of how this indicator contributed to the fraudulent merchant probability. - */ - explanation: string; - - /** - * The effect this indicator had on the overall risk level. - */ - impact: Indicator.Impact; - - /** - * The name of the specific indicator used in the risk assessment. - */ - indicator: Indicator.Indicator; - } - - export type RiskLevel = - | 'elevated' - | 'highest' - | 'low' - | 'normal' - | 'not_assessed' - | 'unknown'; - - export namespace Indicator { - export type Impact = - | 'decrease' - | 'neutral' - | 'slight_increase' - | 'strong_increase'; - - export type Indicator = - | 'bank_account' - | 'business_information_and_account_activity' - | 'disputes' - | 'failures' - | 'geolocation' - | 'other' - | 'other_related_accounts' - | 'other_transaction_activity' - | 'owner_email'; - } - } + /** + * The effect this indicator had on the overall risk level. + */ + impact: Indicator.Impact; - export namespace MerchantDelinquency { - export interface Indicator { - /** - * A brief explanation of how this indicator contributed to the delinquency probability. - */ - explanation: string; - - /** - * The effect this indicator had on the overall risk level. - */ - impact: Indicator.Impact; - - /** - * The name of the specific indicator used in the risk assessment. - */ - indicator: Indicator.Indicator; - } - - export type RiskLevel = - | 'elevated' - | 'highest' - | 'low' - | 'normal' - | 'not_assessed' - | 'unknown'; - - export namespace Indicator { - export type Impact = - | 'decrease' - | 'neutral' - | 'slight_increase' - | 'strong_increase'; - - export type Indicator = - | 'account_balance' - | 'aov' - | 'charge_concentration' - | 'disputes' - | 'dispute_window' - | 'exposure' - | 'firmographic' - | 'lifetime_metrics' - | 'other' - | 'payment_processing' - | 'payment_volume' - | 'payouts' - | 'refunds' - | 'related_accounts' - | 'tenure' - | 'transfers'; - } - } + /** + * The name of the specific indicator used in the risk assessment. + */ + indicator: Indicator.Indicator; + } + + export type RiskLevel = + | 'elevated' + | 'highest' + | 'low' + | 'normal' + | 'not_assessed' + | 'unknown'; + + export namespace Indicator { + export type Impact = + | 'decrease' + | 'neutral' + | 'slight_increase' + | 'strong_increase'; + + export type Indicator = + | 'account_balance' + | 'aov' + | 'charge_concentration' + | 'disputes' + | 'dispute_window' + | 'exposure' + | 'firmographic' + | 'lifetime_metrics' + | 'other' + | 'payment_processing' + | 'payment_volume' + | 'payouts' + | 'refunds' + | 'related_accounts' + | 'tenure' + | 'transfers'; } } } diff --git a/src/resources/V2/Tax/ManualRules.ts b/src/resources/V2/Tax/ManualRules.ts index acacb1b545..8b40814d03 100644 --- a/src/resources/V2/Tax/ManualRules.ts +++ b/src/resources/V2/Tax/ManualRules.ts @@ -250,111 +250,107 @@ export interface ManualRule { /** * Location where the rule applies. */ - location?: V2.Tax.ManualRule.Location; + location?: ManualRule.Location; /** * Products associated with the rule. */ - products: Array; + products: Array; /** * Tax rates to be applied. */ - scheduled_tax_rates: Array; + scheduled_tax_rates: Array; /** * The status of the ManualRule object. */ - status: V2.Tax.ManualRule.Status; + status: ManualRule.Status; } -export namespace V2 { - export namespace Tax { - export namespace ManualRule { - export interface Location { - /** - * Country ISO-3166. - */ - country: string; - - /** - * State ISO-3166. - */ - state?: string; - } - - export interface Product { - /** - * The licensed item identifier. - */ - licensed_item?: string; - - /** - * The metered item identifier. - */ - metered_item?: string; - - /** - * The tax code for the product. - */ - tax_code?: string; +export namespace ManualRule { + export interface Location { + /** + * Country ISO-3166. + */ + country: string; + + /** + * State ISO-3166. + */ + state?: string; + } - /** - * The type of the product. - */ - type: Product.Type; - } + export interface Product { + /** + * The licensed item identifier. + */ + licensed_item?: string; + + /** + * The metered item identifier. + */ + metered_item?: string; + + /** + * The tax code for the product. + */ + tax_code?: string; + + /** + * The type of the product. + */ + type: Product.Type; + } - export interface ScheduledTaxRate { - /** - * The tax rates to be applied. - */ - rates: Array; + export interface ScheduledTaxRate { + /** + * The tax rates to be applied. + */ + rates: Array; - /** - * The start time for the tax rate. - */ - starts_at?: string; - } + /** + * The start time for the tax rate. + */ + starts_at?: string; + } - export type Status = 'active' | 'inactive'; + export type Status = 'active' | 'inactive'; - export namespace Product { - export type Type = 'licensed_item' | 'metered_item' | 'tax_code'; - } + export namespace Product { + export type Type = 'licensed_item' | 'metered_item' | 'tax_code'; + } - export namespace ScheduledTaxRate { - export interface Rate { - /** - * Country of the tax rate. - */ - country?: string; + export namespace ScheduledTaxRate { + export interface Rate { + /** + * Country of the tax rate. + */ + country?: string; - /** - * Description of the tax rate. - */ - description?: string; + /** + * Description of the tax rate. + */ + description?: string; - /** - * Display name of the tax rate as it will be shown on the invoice. - */ - display_name: string; + /** + * Display name of the tax rate as it will be shown on the invoice. + */ + display_name: string; - /** - * Jurisdiction of the tax rate should apply as it will be shown on the invoice. - */ - jurisdiction?: string; + /** + * Jurisdiction of the tax rate should apply as it will be shown on the invoice. + */ + jurisdiction?: string; - /** - * Percentage of the tax rate. Must be positive and maximum of 4 decimal points. - */ - percentage: Decimal; + /** + * Percentage of the tax rate. Must be positive and maximum of 4 decimal points. + */ + percentage: Decimal; - /** - * State of the tax rate. - */ - state?: string; - } - } + /** + * State of the tax rate. + */ + state?: string; } } } diff --git a/src/stripe.cjs.node.ts b/src/stripe.cjs.node.ts index ff7c24c011..80ef87f085 100644 --- a/src/stripe.cjs.node.ts +++ b/src/stripe.cjs.node.ts @@ -50,654 +50,1053 @@ interface StripeConstructor extends Stripe_ {} declare namespace StripeConstructor { export type Stripe = import('./stripe.core.js').Stripe; // StripeInterfaceCJSExports: The beginning of the section generated from our OpenAPI spec - export type Account = Stripe.Account; - export type DeletedAccount = Stripe.DeletedAccount; - export type AccountCreateParams = Stripe.AccountCreateParams; - export type AccountRetrieveParams = Stripe.AccountRetrieveParams; - export type AccountUpdateParams = Stripe.AccountUpdateParams; - export type AccountListParams = Stripe.AccountListParams; - export type AccountDeleteParams = Stripe.AccountDeleteParams; - export type AccountCreateExternalAccountParams = Stripe.AccountCreateExternalAccountParams; - export type AccountCreateLoginLinkParams = Stripe.AccountCreateLoginLinkParams; - export type AccountCreatePersonParams = Stripe.AccountCreatePersonParams; - export type AccountDeleteExternalAccountParams = Stripe.AccountDeleteExternalAccountParams; - export type AccountDeletePersonParams = Stripe.AccountDeletePersonParams; - export type AccountListCapabilitiesParams = Stripe.AccountListCapabilitiesParams; - export type AccountListExternalAccountsParams = Stripe.AccountListExternalAccountsParams; - export type AccountListPersonsParams = Stripe.AccountListPersonsParams; - export type AccountRejectParams = Stripe.AccountRejectParams; - export type AccountRetrieveCurrentParams = Stripe.AccountRetrieveCurrentParams; - export type AccountRetrieveCapabilityParams = Stripe.AccountRetrieveCapabilityParams; - export type AccountRetrieveExternalAccountParams = Stripe.AccountRetrieveExternalAccountParams; - export type AccountRetrievePersonParams = Stripe.AccountRetrievePersonParams; - export type AccountRetrieveSignalsParams = Stripe.AccountRetrieveSignalsParams; - export type AccountSerializeBatchCreateParams = Stripe.AccountSerializeBatchCreateParams; - export type AccountSerializeBatchDeleteParams = Stripe.AccountSerializeBatchDeleteParams; - export type AccountSerializeBatchUpdateParams = Stripe.AccountSerializeBatchUpdateParams; - export type AccountUpdateCapabilityParams = Stripe.AccountUpdateCapabilityParams; - export type AccountUpdateExternalAccountParams = Stripe.AccountUpdateExternalAccountParams; - export type AccountUpdatePersonParams = Stripe.AccountUpdatePersonParams; - export type AccountResource = Stripe.AccountResource; - export type AccountLink = Stripe.AccountLink; - export type AccountLinkCreateParams = Stripe.AccountLinkCreateParams; - export type AccountLinkResource = Stripe.AccountLinkResource; - export type AccountNotice = Stripe.AccountNotice; - export type AccountNoticeRetrieveParams = Stripe.AccountNoticeRetrieveParams; - export type AccountNoticeUpdateParams = Stripe.AccountNoticeUpdateParams; - export type AccountNoticeListParams = Stripe.AccountNoticeListParams; - export type AccountNoticeResource = Stripe.AccountNoticeResource; - export type AccountSession = Stripe.AccountSession; - export type AccountSessionCreateParams = Stripe.AccountSessionCreateParams; - export type AccountSessionResource = Stripe.AccountSessionResource; - export type ApplePayDomain = Stripe.ApplePayDomain; - export type DeletedApplePayDomain = Stripe.DeletedApplePayDomain; - export type ApplePayDomainCreateParams = Stripe.ApplePayDomainCreateParams; - export type ApplePayDomainRetrieveParams = Stripe.ApplePayDomainRetrieveParams; - export type ApplePayDomainListParams = Stripe.ApplePayDomainListParams; - export type ApplePayDomainDeleteParams = Stripe.ApplePayDomainDeleteParams; - export type ApplePayDomainResource = Stripe.ApplePayDomainResource; - export type ApplicationFee = Stripe.ApplicationFee; - export type ApplicationFeeRetrieveParams = Stripe.ApplicationFeeRetrieveParams; - export type ApplicationFeeListParams = Stripe.ApplicationFeeListParams; - export type ApplicationFeeCreateRefundParams = Stripe.ApplicationFeeCreateRefundParams; - export type ApplicationFeeListRefundsParams = Stripe.ApplicationFeeListRefundsParams; - export type ApplicationFeeRetrieveRefundParams = Stripe.ApplicationFeeRetrieveRefundParams; - export type ApplicationFeeUpdateRefundParams = Stripe.ApplicationFeeUpdateRefundParams; - export type ApplicationFeeResource = Stripe.ApplicationFeeResource; - export type Balance = Stripe.Balance; - export type BalanceRetrieveParams = Stripe.BalanceRetrieveParams; - export type BalanceResource = Stripe.BalanceResource; - export type BalanceSettings = Stripe.BalanceSettings; - export type BalanceSettingsRetrieveParams = Stripe.BalanceSettingsRetrieveParams; - export type BalanceSettingsUpdateParams = Stripe.BalanceSettingsUpdateParams; - export type BalanceSettingResource = Stripe.BalanceSettingResource; - export type BalanceTransaction = Stripe.BalanceTransaction; - export type BalanceTransactionRetrieveParams = Stripe.BalanceTransactionRetrieveParams; - export type BalanceTransactionListParams = Stripe.BalanceTransactionListParams; - export type BalanceTransactionResource = Stripe.BalanceTransactionResource; - export type BalanceTransfer = Stripe.BalanceTransfer; - export type BalanceTransferCreateParams = Stripe.BalanceTransferCreateParams; - export type BalanceTransferResource = Stripe.BalanceTransferResource; - export type Charge = Stripe.Charge; - export type ChargeCreateParams = Stripe.ChargeCreateParams; - export type ChargeRetrieveParams = Stripe.ChargeRetrieveParams; - export type ChargeUpdateParams = Stripe.ChargeUpdateParams; - export type ChargeListParams = Stripe.ChargeListParams; - export type ChargeCaptureParams = Stripe.ChargeCaptureParams; - export type ChargeSearchParams = Stripe.ChargeSearchParams; - export type ChargeResource = Stripe.ChargeResource; - export type ConfirmationToken = Stripe.ConfirmationToken; - export type ConfirmationTokenRetrieveParams = Stripe.ConfirmationTokenRetrieveParams; - export type ConfirmationTokenResource = Stripe.ConfirmationTokenResource; - export type CountrySpec = Stripe.CountrySpec; - export type CountrySpecRetrieveParams = Stripe.CountrySpecRetrieveParams; - export type CountrySpecListParams = Stripe.CountrySpecListParams; - export type CountrySpecResource = Stripe.CountrySpecResource; - export type Coupon = Stripe.Coupon; - export type DeletedCoupon = Stripe.DeletedCoupon; - export type CouponCreateParams = Stripe.CouponCreateParams; - export type CouponRetrieveParams = Stripe.CouponRetrieveParams; - export type CouponUpdateParams = Stripe.CouponUpdateParams; - export type CouponListParams = Stripe.CouponListParams; - export type CouponDeleteParams = Stripe.CouponDeleteParams; - export type CouponSerializeBatchCreateParams = Stripe.CouponSerializeBatchCreateParams; - export type CouponSerializeBatchDeleteParams = Stripe.CouponSerializeBatchDeleteParams; - export type CouponSerializeBatchUpdateParams = Stripe.CouponSerializeBatchUpdateParams; - export type CouponResource = Stripe.CouponResource; - export type CreditNote = Stripe.CreditNote; - export type CreditNoteCreateParams = Stripe.CreditNoteCreateParams; - export type CreditNoteRetrieveParams = Stripe.CreditNoteRetrieveParams; - export type CreditNoteUpdateParams = Stripe.CreditNoteUpdateParams; - export type CreditNoteListParams = Stripe.CreditNoteListParams; - export type CreditNoteListLineItemsParams = Stripe.CreditNoteListLineItemsParams; - export type CreditNoteListPreviewLineItemsParams = Stripe.CreditNoteListPreviewLineItemsParams; - export type CreditNotePreviewParams = Stripe.CreditNotePreviewParams; - export type CreditNoteSerializeBatchCreateParams = Stripe.CreditNoteSerializeBatchCreateParams; - export type CreditNoteVoidCreditNoteParams = Stripe.CreditNoteVoidCreditNoteParams; - export type CreditNoteResource = Stripe.CreditNoteResource; - export type Customer = Stripe.Customer; - export type DeletedCustomer = Stripe.DeletedCustomer; - export type CustomerCreateParams = Stripe.CustomerCreateParams; - export type CustomerRetrieveParams = Stripe.CustomerRetrieveParams; - export type CustomerUpdateParams = Stripe.CustomerUpdateParams; - export type CustomerListParams = Stripe.CustomerListParams; - export type CustomerDeleteParams = Stripe.CustomerDeleteParams; - export type CustomerCreateBalanceTransactionParams = Stripe.CustomerCreateBalanceTransactionParams; - export type CustomerCreateFundingInstructionsParams = Stripe.CustomerCreateFundingInstructionsParams; - export type CustomerCreateSourceParams = Stripe.CustomerCreateSourceParams; - export type CustomerCreateTaxIdParams = Stripe.CustomerCreateTaxIdParams; - export type CustomerDeleteDiscountParams = Stripe.CustomerDeleteDiscountParams; - export type CustomerDeleteSourceParams = Stripe.CustomerDeleteSourceParams; - export type CustomerDeleteTaxIdParams = Stripe.CustomerDeleteTaxIdParams; - export type CustomerListBalanceTransactionsParams = Stripe.CustomerListBalanceTransactionsParams; - export type CustomerListCashBalanceTransactionsParams = Stripe.CustomerListCashBalanceTransactionsParams; - export type CustomerListPaymentMethodsParams = Stripe.CustomerListPaymentMethodsParams; - export type CustomerListSourcesParams = Stripe.CustomerListSourcesParams; - export type CustomerListTaxIdsParams = Stripe.CustomerListTaxIdsParams; - export type CustomerRetrieveBalanceTransactionParams = Stripe.CustomerRetrieveBalanceTransactionParams; - export type CustomerRetrieveCashBalanceParams = Stripe.CustomerRetrieveCashBalanceParams; - export type CustomerRetrieveCashBalanceTransactionParams = Stripe.CustomerRetrieveCashBalanceTransactionParams; - export type CustomerRetrievePaymentMethodParams = Stripe.CustomerRetrievePaymentMethodParams; - export type CustomerRetrieveSourceParams = Stripe.CustomerRetrieveSourceParams; - export type CustomerRetrieveTaxIdParams = Stripe.CustomerRetrieveTaxIdParams; - export type CustomerSearchParams = Stripe.CustomerSearchParams; - export type CustomerSerializeBatchCreateParams = Stripe.CustomerSerializeBatchCreateParams; - export type CustomerSerializeBatchCreateBalanceTransactionParams = Stripe.CustomerSerializeBatchCreateBalanceTransactionParams; - export type CustomerSerializeBatchCreateForCustomerTaxIdParams = Stripe.CustomerSerializeBatchCreateForCustomerTaxIdParams; - export type CustomerSerializeBatchCreateFundingInstructionsFundingInstructionsParams = Stripe.CustomerSerializeBatchCreateFundingInstructionsFundingInstructionsParams; - export type CustomerSerializeBatchCreateSourceParams = Stripe.CustomerSerializeBatchCreateSourceParams; - export type CustomerSerializeBatchDeleteParams = Stripe.CustomerSerializeBatchDeleteParams; - export type CustomerSerializeBatchDeleteDiscountParams = Stripe.CustomerSerializeBatchDeleteDiscountParams; - export type CustomerSerializeBatchDeleteSourceParams = Stripe.CustomerSerializeBatchDeleteSourceParams; - export type CustomerSerializeBatchDeleteTaxIdParams = Stripe.CustomerSerializeBatchDeleteTaxIdParams; - export type CustomerSerializeBatchUpdateParams = Stripe.CustomerSerializeBatchUpdateParams; - export type CustomerSerializeBatchUpdateBalanceTransactionParams = Stripe.CustomerSerializeBatchUpdateBalanceTransactionParams; - export type CustomerSerializeBatchUpdateCashBalanceParams = Stripe.CustomerSerializeBatchUpdateCashBalanceParams; - export type CustomerSerializeBatchUpdateSourceParams = Stripe.CustomerSerializeBatchUpdateSourceParams; - export type CustomerSerializeBatchVerifySourceParams = Stripe.CustomerSerializeBatchVerifySourceParams; - export type CustomerUpdateBalanceTransactionParams = Stripe.CustomerUpdateBalanceTransactionParams; - export type CustomerUpdateCashBalanceParams = Stripe.CustomerUpdateCashBalanceParams; - export type CustomerUpdateSourceParams = Stripe.CustomerUpdateSourceParams; - export type CustomerVerifySourceParams = Stripe.CustomerVerifySourceParams; - export type CustomerResource = Stripe.CustomerResource; - export type CustomerSession = Stripe.CustomerSession; - export type CustomerSessionCreateParams = Stripe.CustomerSessionCreateParams; - export type CustomerSessionSerializeBatchCreateParams = Stripe.CustomerSessionSerializeBatchCreateParams; - export type CustomerSessionResource = Stripe.CustomerSessionResource; - export type Dispute = Stripe.Dispute; - export type DisputeRetrieveParams = Stripe.DisputeRetrieveParams; - export type DisputeUpdateParams = Stripe.DisputeUpdateParams; - export type DisputeListParams = Stripe.DisputeListParams; - export type DisputeCloseParams = Stripe.DisputeCloseParams; - export type DisputeSerializeBatchCloseParams = Stripe.DisputeSerializeBatchCloseParams; - export type DisputeResource = Stripe.DisputeResource; - export type EphemeralKey = Stripe.EphemeralKey; - export type EphemeralKeyCreateParams = Stripe.EphemeralKeyCreateParams; - export type EphemeralKeyDeleteParams = Stripe.EphemeralKeyDeleteParams; - export type EphemeralKeyResource = Stripe.EphemeralKeyResource; - export type Event = Stripe.Event; - export type EventBase = Stripe.EventBase; - export type EventRetrieveParams = Stripe.EventRetrieveParams; - export type EventListParams = Stripe.EventListParams; - export type EventResource = Stripe.EventResource; - export type ExchangeRate = Stripe.ExchangeRate; - export type ExchangeRateRetrieveParams = Stripe.ExchangeRateRetrieveParams; - export type ExchangeRateListParams = Stripe.ExchangeRateListParams; - export type ExchangeRateResource = Stripe.ExchangeRateResource; - export type ExternalAccount = Stripe.ExternalAccount; - export type DeletedExternalAccount = Stripe.DeletedExternalAccount; - export type ExternalAccountCreateParams = Stripe.ExternalAccountCreateParams; - export type ExternalAccountRetrieveParams = Stripe.ExternalAccountRetrieveParams; - export type ExternalAccountUpdateParams = Stripe.ExternalAccountUpdateParams; - export type ExternalAccountListParams = Stripe.ExternalAccountListParams; - export type ExternalAccountDeleteParams = Stripe.ExternalAccountDeleteParams; - export type ExternalAccountResource = Stripe.ExternalAccountResource; - export type File = Stripe.File; - export type FileCreateParams = Stripe.FileCreateParams; - export type FileRetrieveParams = Stripe.FileRetrieveParams; - export type FileListParams = Stripe.FileListParams; - export type FileResource = Stripe.FileResource; - export type FileLink = Stripe.FileLink; - export type FileLinkCreateParams = Stripe.FileLinkCreateParams; - export type FileLinkRetrieveParams = Stripe.FileLinkRetrieveParams; - export type FileLinkUpdateParams = Stripe.FileLinkUpdateParams; - export type FileLinkListParams = Stripe.FileLinkListParams; - export type FileLinkResource = Stripe.FileLinkResource; - export type FrMealVouchersOnboarding = Stripe.FrMealVouchersOnboarding; - export type FrMealVouchersOnboardingCreateParams = Stripe.FrMealVouchersOnboardingCreateParams; - export type FrMealVouchersOnboardingRetrieveParams = Stripe.FrMealVouchersOnboardingRetrieveParams; - export type FrMealVouchersOnboardingUpdateParams = Stripe.FrMealVouchersOnboardingUpdateParams; - export type FrMealVouchersOnboardingListParams = Stripe.FrMealVouchersOnboardingListParams; - export type FrMealVouchersOnboardingResource = Stripe.FrMealVouchersOnboardingResource; - export type FxQuote = Stripe.FxQuote; - export type FxQuoteCreateParams = Stripe.FxQuoteCreateParams; - export type FxQuoteRetrieveParams = Stripe.FxQuoteRetrieveParams; - export type FxQuoteListParams = Stripe.FxQuoteListParams; - export type FxQuoteResource = Stripe.FxQuoteResource; - export type GiftCard = Stripe.GiftCard; - export type GiftCardCreateParams = Stripe.GiftCardCreateParams; - export type GiftCardRetrieveParams = Stripe.GiftCardRetrieveParams; - export type GiftCardActivateParams = Stripe.GiftCardActivateParams; - export type GiftCardCashoutParams = Stripe.GiftCardCashoutParams; - export type GiftCardCheckBalanceParams = Stripe.GiftCardCheckBalanceParams; - export type GiftCardReloadParams = Stripe.GiftCardReloadParams; - export type GiftCardVoidOperationParams = Stripe.GiftCardVoidOperationParams; - export type GiftCardResource = Stripe.GiftCardResource; - export type GiftCardOperation = Stripe.GiftCardOperation; - export type GiftCardOperationRetrieveParams = Stripe.GiftCardOperationRetrieveParams; - export type GiftCardOperationResource = Stripe.GiftCardOperationResource; - export type Invoice = Stripe.Invoice; - export type DeletedInvoice = Stripe.DeletedInvoice; - export type InvoiceCreateParams = Stripe.InvoiceCreateParams; - export type InvoiceRetrieveParams = Stripe.InvoiceRetrieveParams; - export type InvoiceUpdateParams = Stripe.InvoiceUpdateParams; - export type InvoiceListParams = Stripe.InvoiceListParams; - export type InvoiceDeleteParams = Stripe.InvoiceDeleteParams; - export type InvoiceAddLinesParams = Stripe.InvoiceAddLinesParams; - export type InvoiceAttachPaymentParams = Stripe.InvoiceAttachPaymentParams; - export type InvoiceCreatePreviewParams = Stripe.InvoiceCreatePreviewParams; - export type InvoiceDetachPaymentParams = Stripe.InvoiceDetachPaymentParams; - export type InvoiceFinalizeInvoiceParams = Stripe.InvoiceFinalizeInvoiceParams; - export type InvoiceListLineItemsParams = Stripe.InvoiceListLineItemsParams; - export type InvoiceMarkUncollectibleParams = Stripe.InvoiceMarkUncollectibleParams; - export type InvoicePayParams = Stripe.InvoicePayParams; - export type InvoiceRemoveLinesParams = Stripe.InvoiceRemoveLinesParams; - export type InvoiceSearchParams = Stripe.InvoiceSearchParams; - export type InvoiceSendInvoiceParams = Stripe.InvoiceSendInvoiceParams; - export type InvoiceSerializeBatchAddLinesParams = Stripe.InvoiceSerializeBatchAddLinesParams; - export type InvoiceSerializeBatchCreateParams = Stripe.InvoiceSerializeBatchCreateParams; - export type InvoiceSerializeBatchCreatePreviewParams = Stripe.InvoiceSerializeBatchCreatePreviewParams; - export type InvoiceSerializeBatchDeleteParams = Stripe.InvoiceSerializeBatchDeleteParams; - export type InvoiceSerializeBatchFinalizeInvoiceParams = Stripe.InvoiceSerializeBatchFinalizeInvoiceParams; - export type InvoiceSerializeBatchMarkUncollectibleParams = Stripe.InvoiceSerializeBatchMarkUncollectibleParams; - export type InvoiceSerializeBatchPayParams = Stripe.InvoiceSerializeBatchPayParams; - export type InvoiceSerializeBatchRemoveLinesParams = Stripe.InvoiceSerializeBatchRemoveLinesParams; - export type InvoiceSerializeBatchSendInvoiceParams = Stripe.InvoiceSerializeBatchSendInvoiceParams; - export type InvoiceSerializeBatchUpdateParams = Stripe.InvoiceSerializeBatchUpdateParams; - export type InvoiceSerializeBatchUpdateLineItemParams = Stripe.InvoiceSerializeBatchUpdateLineItemParams; - export type InvoiceSerializeBatchUpdateLinesParams = Stripe.InvoiceSerializeBatchUpdateLinesParams; - export type InvoiceSerializeBatchVoidInvoiceParams = Stripe.InvoiceSerializeBatchVoidInvoiceParams; - export type InvoiceUpdateLinesParams = Stripe.InvoiceUpdateLinesParams; - export type InvoiceUpdateLineItemParams = Stripe.InvoiceUpdateLineItemParams; - export type InvoiceVoidInvoiceParams = Stripe.InvoiceVoidInvoiceParams; - export type InvoiceResource = Stripe.InvoiceResource; - export type InvoiceItem = Stripe.InvoiceItem; - export type DeletedInvoiceItem = Stripe.DeletedInvoiceItem; - export type InvoiceItemCreateParams = Stripe.InvoiceItemCreateParams; - export type InvoiceItemRetrieveParams = Stripe.InvoiceItemRetrieveParams; - export type InvoiceItemUpdateParams = Stripe.InvoiceItemUpdateParams; - export type InvoiceItemListParams = Stripe.InvoiceItemListParams; - export type InvoiceItemDeleteParams = Stripe.InvoiceItemDeleteParams; - export type InvoiceItemSerializeBatchCreateParams = Stripe.InvoiceItemSerializeBatchCreateParams; - export type InvoiceItemSerializeBatchDeleteParams = Stripe.InvoiceItemSerializeBatchDeleteParams; - export type InvoiceItemSerializeBatchUpdateParams = Stripe.InvoiceItemSerializeBatchUpdateParams; - export type InvoiceItemResource = Stripe.InvoiceItemResource; - export type InvoicePayment = Stripe.InvoicePayment; - export type InvoicePaymentRetrieveParams = Stripe.InvoicePaymentRetrieveParams; - export type InvoicePaymentListParams = Stripe.InvoicePaymentListParams; - export type InvoicePaymentResource = Stripe.InvoicePaymentResource; - export type InvoiceRenderingTemplate = Stripe.InvoiceRenderingTemplate; - export type InvoiceRenderingTemplateRetrieveParams = Stripe.InvoiceRenderingTemplateRetrieveParams; - export type InvoiceRenderingTemplateListParams = Stripe.InvoiceRenderingTemplateListParams; - export type InvoiceRenderingTemplateArchiveParams = Stripe.InvoiceRenderingTemplateArchiveParams; - export type InvoiceRenderingTemplateSerializeBatchArchiveParams = Stripe.InvoiceRenderingTemplateSerializeBatchArchiveParams; - export type InvoiceRenderingTemplateSerializeBatchUnarchiveParams = Stripe.InvoiceRenderingTemplateSerializeBatchUnarchiveParams; - export type InvoiceRenderingTemplateUnarchiveParams = Stripe.InvoiceRenderingTemplateUnarchiveParams; - export type InvoiceRenderingTemplateResource = Stripe.InvoiceRenderingTemplateResource; - export type Mandate = Stripe.Mandate; - export type MandateRetrieveParams = Stripe.MandateRetrieveParams; - export type MandateListParams = Stripe.MandateListParams; - export type MandateResource = Stripe.MandateResource; - export type Margin = Stripe.Margin; - export type MarginCreateParams = Stripe.MarginCreateParams; - export type MarginRetrieveParams = Stripe.MarginRetrieveParams; - export type MarginUpdateParams = Stripe.MarginUpdateParams; - export type MarginListParams = Stripe.MarginListParams; - export type MarginResource = Stripe.MarginResource; - export type Order = Stripe.Order; - export type OrderCreateParams = Stripe.OrderCreateParams; - export type OrderRetrieveParams = Stripe.OrderRetrieveParams; - export type OrderUpdateParams = Stripe.OrderUpdateParams; - export type OrderListParams = Stripe.OrderListParams; - export type OrderSubmitParams = Stripe.OrderSubmitParams; - export type OrderResource = Stripe.OrderResource; - export type PaymentAttemptRecord = Stripe.PaymentAttemptRecord; - export type PaymentAttemptRecordRetrieveParams = Stripe.PaymentAttemptRecordRetrieveParams; - export type PaymentAttemptRecordListParams = Stripe.PaymentAttemptRecordListParams; - export type PaymentAttemptRecordReportAuthenticatedParams = Stripe.PaymentAttemptRecordReportAuthenticatedParams; - export type PaymentAttemptRecordReportAuthorizedParams = Stripe.PaymentAttemptRecordReportAuthorizedParams; - export type PaymentAttemptRecordReportCanceledParams = Stripe.PaymentAttemptRecordReportCanceledParams; - export type PaymentAttemptRecordReportFailedParams = Stripe.PaymentAttemptRecordReportFailedParams; - export type PaymentAttemptRecordReportGuaranteedParams = Stripe.PaymentAttemptRecordReportGuaranteedParams; - export type PaymentAttemptRecordReportInformationalParams = Stripe.PaymentAttemptRecordReportInformationalParams; - export type PaymentAttemptRecordReportRefundParams = Stripe.PaymentAttemptRecordReportRefundParams; - export type PaymentAttemptRecordResource = Stripe.PaymentAttemptRecordResource; - export type PaymentIntent = Stripe.PaymentIntent; - export type PaymentIntentCreateParams = Stripe.PaymentIntentCreateParams; - export type PaymentIntentRetrieveParams = Stripe.PaymentIntentRetrieveParams; - export type PaymentIntentUpdateParams = Stripe.PaymentIntentUpdateParams; - export type PaymentIntentListParams = Stripe.PaymentIntentListParams; - export type PaymentIntentApplyCustomerBalanceParams = Stripe.PaymentIntentApplyCustomerBalanceParams; - export type PaymentIntentCancelParams = Stripe.PaymentIntentCancelParams; - export type PaymentIntentCaptureParams = Stripe.PaymentIntentCaptureParams; - export type PaymentIntentConfirmParams = Stripe.PaymentIntentConfirmParams; - export type PaymentIntentDecrementAuthorizationParams = Stripe.PaymentIntentDecrementAuthorizationParams; - export type PaymentIntentIncrementAuthorizationParams = Stripe.PaymentIntentIncrementAuthorizationParams; - export type PaymentIntentListAmountDetailsLineItemsParams = Stripe.PaymentIntentListAmountDetailsLineItemsParams; - export type PaymentIntentReauthorizeParams = Stripe.PaymentIntentReauthorizeParams; - export type PaymentIntentSearchParams = Stripe.PaymentIntentSearchParams; - export type PaymentIntentTriggerActionParams = Stripe.PaymentIntentTriggerActionParams; - export type PaymentIntentUpdateCryptoRefundAddressParams = Stripe.PaymentIntentUpdateCryptoRefundAddressParams; - export type PaymentIntentVerifyMicrodepositsParams = Stripe.PaymentIntentVerifyMicrodepositsParams; - export type PaymentIntentResource = Stripe.PaymentIntentResource; - export type PaymentLink = Stripe.PaymentLink; - export type PaymentLinkCreateParams = Stripe.PaymentLinkCreateParams; - export type PaymentLinkRetrieveParams = Stripe.PaymentLinkRetrieveParams; - export type PaymentLinkUpdateParams = Stripe.PaymentLinkUpdateParams; - export type PaymentLinkListParams = Stripe.PaymentLinkListParams; - export type PaymentLinkListLineItemsParams = Stripe.PaymentLinkListLineItemsParams; - export type PaymentLinkResource = Stripe.PaymentLinkResource; - export type PaymentLocation = Stripe.PaymentLocation; - export type DeletedPaymentLocation = Stripe.DeletedPaymentLocation; - export type PaymentLocationCreateParams = Stripe.PaymentLocationCreateParams; - export type PaymentLocationRetrieveParams = Stripe.PaymentLocationRetrieveParams; - export type PaymentLocationUpdateParams = Stripe.PaymentLocationUpdateParams; - export type PaymentLocationListParams = Stripe.PaymentLocationListParams; - export type PaymentLocationDeleteParams = Stripe.PaymentLocationDeleteParams; - export type PaymentLocationResource = Stripe.PaymentLocationResource; - export type PaymentLocationCapability = Stripe.PaymentLocationCapability; - export type PaymentLocationCapabilityRetrieveParams = Stripe.PaymentLocationCapabilityRetrieveParams; - export type PaymentLocationCapabilityUpdateParams = Stripe.PaymentLocationCapabilityUpdateParams; - export type PaymentLocationCapabilityListParams = Stripe.PaymentLocationCapabilityListParams; - export type PaymentLocationCapabilityResource = Stripe.PaymentLocationCapabilityResource; - export type PaymentMethod = Stripe.PaymentMethod; - export type PaymentMethodCreateParams = Stripe.PaymentMethodCreateParams; - export type PaymentMethodRetrieveParams = Stripe.PaymentMethodRetrieveParams; - export type PaymentMethodUpdateParams = Stripe.PaymentMethodUpdateParams; - export type PaymentMethodListParams = Stripe.PaymentMethodListParams; - export type PaymentMethodAttachParams = Stripe.PaymentMethodAttachParams; - export type PaymentMethodCheckBalanceParams = Stripe.PaymentMethodCheckBalanceParams; - export type PaymentMethodDetachParams = Stripe.PaymentMethodDetachParams; - export type PaymentMethodSerializeBatchAttachParams = Stripe.PaymentMethodSerializeBatchAttachParams; - export type PaymentMethodResource = Stripe.PaymentMethodResource; - export type PaymentMethodConfiguration = Stripe.PaymentMethodConfiguration; - export type PaymentMethodConfigurationCreateParams = Stripe.PaymentMethodConfigurationCreateParams; - export type PaymentMethodConfigurationRetrieveParams = Stripe.PaymentMethodConfigurationRetrieveParams; - export type PaymentMethodConfigurationUpdateParams = Stripe.PaymentMethodConfigurationUpdateParams; - export type PaymentMethodConfigurationListParams = Stripe.PaymentMethodConfigurationListParams; - export type PaymentMethodConfigurationResource = Stripe.PaymentMethodConfigurationResource; - export type PaymentMethodDomain = Stripe.PaymentMethodDomain; - export type PaymentMethodDomainCreateParams = Stripe.PaymentMethodDomainCreateParams; - export type PaymentMethodDomainRetrieveParams = Stripe.PaymentMethodDomainRetrieveParams; - export type PaymentMethodDomainUpdateParams = Stripe.PaymentMethodDomainUpdateParams; - export type PaymentMethodDomainListParams = Stripe.PaymentMethodDomainListParams; - export type PaymentMethodDomainValidateParams = Stripe.PaymentMethodDomainValidateParams; - export type PaymentMethodDomainResource = Stripe.PaymentMethodDomainResource; - export type PaymentRecord = Stripe.PaymentRecord; - export type PaymentRecordRetrieveParams = Stripe.PaymentRecordRetrieveParams; - export type PaymentRecordReportPaymentParams = Stripe.PaymentRecordReportPaymentParams; - export type PaymentRecordReportPaymentAttemptParams = Stripe.PaymentRecordReportPaymentAttemptParams; - export type PaymentRecordReportPaymentAttemptCanceledParams = Stripe.PaymentRecordReportPaymentAttemptCanceledParams; - export type PaymentRecordReportPaymentAttemptFailedParams = Stripe.PaymentRecordReportPaymentAttemptFailedParams; - export type PaymentRecordReportPaymentAttemptGuaranteedParams = Stripe.PaymentRecordReportPaymentAttemptGuaranteedParams; - export type PaymentRecordReportPaymentAttemptInformationalParams = Stripe.PaymentRecordReportPaymentAttemptInformationalParams; - export type PaymentRecordReportRefundParams = Stripe.PaymentRecordReportRefundParams; - export type PaymentRecordResource = Stripe.PaymentRecordResource; - export type Payout = Stripe.Payout; - export type PayoutCreateParams = Stripe.PayoutCreateParams; - export type PayoutRetrieveParams = Stripe.PayoutRetrieveParams; - export type PayoutUpdateParams = Stripe.PayoutUpdateParams; - export type PayoutListParams = Stripe.PayoutListParams; - export type PayoutCancelParams = Stripe.PayoutCancelParams; - export type PayoutReverseParams = Stripe.PayoutReverseParams; - export type PayoutResource = Stripe.PayoutResource; - export type Plan = Stripe.Plan; - export type DeletedPlan = Stripe.DeletedPlan; - export type PlanCreateParams = Stripe.PlanCreateParams; - export type PlanRetrieveParams = Stripe.PlanRetrieveParams; - export type PlanUpdateParams = Stripe.PlanUpdateParams; - export type PlanListParams = Stripe.PlanListParams; - export type PlanDeleteParams = Stripe.PlanDeleteParams; - export type PlanResource = Stripe.PlanResource; - export type Price = Stripe.Price; - export type DeletedPrice = Stripe.DeletedPrice; - export type PriceCreateParams = Stripe.PriceCreateParams; - export type PriceRetrieveParams = Stripe.PriceRetrieveParams; - export type PriceUpdateParams = Stripe.PriceUpdateParams; - export type PriceListParams = Stripe.PriceListParams; - export type PriceSearchParams = Stripe.PriceSearchParams; - export type PriceSerializeBatchCreateParams = Stripe.PriceSerializeBatchCreateParams; - export type PriceSerializeBatchUpdateParams = Stripe.PriceSerializeBatchUpdateParams; - export type PriceResource = Stripe.PriceResource; - export type Product = Stripe.Product; - export type DeletedProduct = Stripe.DeletedProduct; - export type ProductCreateParams = Stripe.ProductCreateParams; - export type ProductRetrieveParams = Stripe.ProductRetrieveParams; - export type ProductUpdateParams = Stripe.ProductUpdateParams; - export type ProductListParams = Stripe.ProductListParams; - export type ProductDeleteParams = Stripe.ProductDeleteParams; - export type ProductCreateFeatureParams = Stripe.ProductCreateFeatureParams; - export type ProductDeleteFeatureParams = Stripe.ProductDeleteFeatureParams; - export type ProductListFeaturesParams = Stripe.ProductListFeaturesParams; - export type ProductRetrieveFeatureParams = Stripe.ProductRetrieveFeatureParams; - export type ProductSearchParams = Stripe.ProductSearchParams; - export type ProductSerializeBatchCreateParams = Stripe.ProductSerializeBatchCreateParams; - export type ProductSerializeBatchCreateFeatureParams = Stripe.ProductSerializeBatchCreateFeatureParams; - export type ProductSerializeBatchDeleteParams = Stripe.ProductSerializeBatchDeleteParams; - export type ProductSerializeBatchDeleteFeatureParams = Stripe.ProductSerializeBatchDeleteFeatureParams; - export type ProductSerializeBatchUpdateParams = Stripe.ProductSerializeBatchUpdateParams; - export type ProductResource = Stripe.ProductResource; - export type PromotionCode = Stripe.PromotionCode; - export type PromotionCodeCreateParams = Stripe.PromotionCodeCreateParams; - export type PromotionCodeRetrieveParams = Stripe.PromotionCodeRetrieveParams; - export type PromotionCodeUpdateParams = Stripe.PromotionCodeUpdateParams; - export type PromotionCodeListParams = Stripe.PromotionCodeListParams; - export type PromotionCodeSerializeBatchCreateParams = Stripe.PromotionCodeSerializeBatchCreateParams; - export type PromotionCodeSerializeBatchUpdateParams = Stripe.PromotionCodeSerializeBatchUpdateParams; - export type PromotionCodeResource = Stripe.PromotionCodeResource; - export type Quote = Stripe.Quote; - export type QuoteCreateParams = Stripe.QuoteCreateParams; - export type QuoteRetrieveParams = Stripe.QuoteRetrieveParams; - export type QuoteUpdateParams = Stripe.QuoteUpdateParams; - export type QuoteListParams = Stripe.QuoteListParams; - export type QuoteAcceptParams = Stripe.QuoteAcceptParams; - export type QuoteCancelParams = Stripe.QuoteCancelParams; - export type QuoteFinalizeQuoteParams = Stripe.QuoteFinalizeQuoteParams; - export type QuoteListPreviewInvoiceLinesParams = Stripe.QuoteListPreviewInvoiceLinesParams; - export type QuoteListComputedUpfrontLineItemsParams = Stripe.QuoteListComputedUpfrontLineItemsParams; - export type QuoteListLineItemsParams = Stripe.QuoteListLineItemsParams; - export type QuoteListLinesParams = Stripe.QuoteListLinesParams; - export type QuoteListPreviewInvoicesParams = Stripe.QuoteListPreviewInvoicesParams; - export type QuoteListPreviewSubscriptionSchedulesParams = Stripe.QuoteListPreviewSubscriptionSchedulesParams; - export type QuoteMarkDraftParams = Stripe.QuoteMarkDraftParams; - export type QuoteMarkStaleParams = Stripe.QuoteMarkStaleParams; - export type QuotePdfParams = Stripe.QuotePdfParams; - export type QuoteReestimateParams = Stripe.QuoteReestimateParams; - export type QuoteResource = Stripe.QuoteResource; - export type Refund = Stripe.Refund; - export type RefundCreateParams = Stripe.RefundCreateParams; - export type RefundRetrieveParams = Stripe.RefundRetrieveParams; - export type RefundUpdateParams = Stripe.RefundUpdateParams; - export type RefundListParams = Stripe.RefundListParams; - export type RefundCancelParams = Stripe.RefundCancelParams; - export type RefundSerializeBatchCancelParams = Stripe.RefundSerializeBatchCancelParams; - export type RefundSerializeBatchCreateParams = Stripe.RefundSerializeBatchCreateParams; - export type RefundResource = Stripe.RefundResource; - export type Review = Stripe.Review; - export type ReviewRetrieveParams = Stripe.ReviewRetrieveParams; - export type ReviewListParams = Stripe.ReviewListParams; - export type ReviewApproveParams = Stripe.ReviewApproveParams; - export type ReviewResource = Stripe.ReviewResource; - export type SetupAttempt = Stripe.SetupAttempt; - export type SetupAttemptListParams = Stripe.SetupAttemptListParams; - export type SetupAttemptResource = Stripe.SetupAttemptResource; - export type SetupIntent = Stripe.SetupIntent; - export type SetupIntentCreateParams = Stripe.SetupIntentCreateParams; - export type SetupIntentRetrieveParams = Stripe.SetupIntentRetrieveParams; - export type SetupIntentUpdateParams = Stripe.SetupIntentUpdateParams; - export type SetupIntentListParams = Stripe.SetupIntentListParams; - export type SetupIntentCancelParams = Stripe.SetupIntentCancelParams; - export type SetupIntentConfirmParams = Stripe.SetupIntentConfirmParams; - export type SetupIntentVerifyMicrodepositsParams = Stripe.SetupIntentVerifyMicrodepositsParams; - export type SetupIntentResource = Stripe.SetupIntentResource; - export type ShippingRate = Stripe.ShippingRate; - export type ShippingRateCreateParams = Stripe.ShippingRateCreateParams; - export type ShippingRateRetrieveParams = Stripe.ShippingRateRetrieveParams; - export type ShippingRateUpdateParams = Stripe.ShippingRateUpdateParams; - export type ShippingRateListParams = Stripe.ShippingRateListParams; - export type ShippingRateResource = Stripe.ShippingRateResource; - export type Source = Stripe.Source; - export type SourceCreateParams = Stripe.SourceCreateParams; - export type SourceRetrieveParams = Stripe.SourceRetrieveParams; - export type SourceUpdateParams = Stripe.SourceUpdateParams; - export type SourceListSourceTransactionsParams = Stripe.SourceListSourceTransactionsParams; - export type SourceVerifyParams = Stripe.SourceVerifyParams; - export type SourceResource = Stripe.SourceResource; - export type Subscription = Stripe.Subscription; - export type SubscriptionCreateParams = Stripe.SubscriptionCreateParams; - export type SubscriptionRetrieveParams = Stripe.SubscriptionRetrieveParams; - export type SubscriptionUpdateParams = Stripe.SubscriptionUpdateParams; - export type SubscriptionListParams = Stripe.SubscriptionListParams; - export type SubscriptionAttachCadenceParams = Stripe.SubscriptionAttachCadenceParams; - export type SubscriptionCancelParams = Stripe.SubscriptionCancelParams; - export type SubscriptionDeleteDiscountParams = Stripe.SubscriptionDeleteDiscountParams; - export type SubscriptionMigrateParams = Stripe.SubscriptionMigrateParams; - export type SubscriptionPauseParams = Stripe.SubscriptionPauseParams; - export type SubscriptionResumeParams = Stripe.SubscriptionResumeParams; - export type SubscriptionSearchParams = Stripe.SubscriptionSearchParams; - export type SubscriptionSerializeBatchCancelParams = Stripe.SubscriptionSerializeBatchCancelParams; - export type SubscriptionSerializeBatchCreateParams = Stripe.SubscriptionSerializeBatchCreateParams; - export type SubscriptionSerializeBatchMigrateParams = Stripe.SubscriptionSerializeBatchMigrateParams; - export type SubscriptionSerializeBatchPauseParams = Stripe.SubscriptionSerializeBatchPauseParams; - export type SubscriptionSerializeBatchResumeParams = Stripe.SubscriptionSerializeBatchResumeParams; - export type SubscriptionSerializeBatchUpdateParams = Stripe.SubscriptionSerializeBatchUpdateParams; - export type SubscriptionResource = Stripe.SubscriptionResource; - export type SubscriptionItem = Stripe.SubscriptionItem; - export type DeletedSubscriptionItem = Stripe.DeletedSubscriptionItem; - export type SubscriptionItemCreateParams = Stripe.SubscriptionItemCreateParams; - export type SubscriptionItemRetrieveParams = Stripe.SubscriptionItemRetrieveParams; - export type SubscriptionItemUpdateParams = Stripe.SubscriptionItemUpdateParams; - export type SubscriptionItemListParams = Stripe.SubscriptionItemListParams; - export type SubscriptionItemDeleteParams = Stripe.SubscriptionItemDeleteParams; - export type SubscriptionItemSerializeBatchCreateParams = Stripe.SubscriptionItemSerializeBatchCreateParams; - export type SubscriptionItemSerializeBatchDeleteParams = Stripe.SubscriptionItemSerializeBatchDeleteParams; - export type SubscriptionItemSerializeBatchUpdateParams = Stripe.SubscriptionItemSerializeBatchUpdateParams; - export type SubscriptionItemResource = Stripe.SubscriptionItemResource; - export type SubscriptionSchedule = Stripe.SubscriptionSchedule; - export type SubscriptionScheduleCreateParams = Stripe.SubscriptionScheduleCreateParams; - export type SubscriptionScheduleRetrieveParams = Stripe.SubscriptionScheduleRetrieveParams; - export type SubscriptionScheduleUpdateParams = Stripe.SubscriptionScheduleUpdateParams; - export type SubscriptionScheduleListParams = Stripe.SubscriptionScheduleListParams; - export type SubscriptionScheduleAmendParams = Stripe.SubscriptionScheduleAmendParams; - export type SubscriptionScheduleCancelParams = Stripe.SubscriptionScheduleCancelParams; - export type SubscriptionScheduleReleaseParams = Stripe.SubscriptionScheduleReleaseParams; - export type SubscriptionScheduleSerializeBatchCancelParams = Stripe.SubscriptionScheduleSerializeBatchCancelParams; - export type SubscriptionScheduleSerializeBatchCreateParams = Stripe.SubscriptionScheduleSerializeBatchCreateParams; - export type SubscriptionScheduleSerializeBatchReleaseParams = Stripe.SubscriptionScheduleSerializeBatchReleaseParams; - export type SubscriptionScheduleSerializeBatchUpdateParams = Stripe.SubscriptionScheduleSerializeBatchUpdateParams; - export type SubscriptionScheduleResource = Stripe.SubscriptionScheduleResource; - export type TaxCode = Stripe.TaxCode; - export type TaxCodeRetrieveParams = Stripe.TaxCodeRetrieveParams; - export type TaxCodeListParams = Stripe.TaxCodeListParams; - export type TaxCodeResource = Stripe.TaxCodeResource; - export type TaxFund = Stripe.TaxFund; - export type TaxFundRetrieveParams = Stripe.TaxFundRetrieveParams; - export type TaxFundListParams = Stripe.TaxFundListParams; - export type TaxFundResource = Stripe.TaxFundResource; - export type TaxId = Stripe.TaxId; - export type DeletedTaxId = Stripe.DeletedTaxId; - export type TaxIdCreateParams = Stripe.TaxIdCreateParams; - export type TaxIdRetrieveParams = Stripe.TaxIdRetrieveParams; - export type TaxIdListParams = Stripe.TaxIdListParams; - export type TaxIdDeleteParams = Stripe.TaxIdDeleteParams; - export type TaxIdSerializeBatchCreateParams = Stripe.TaxIdSerializeBatchCreateParams; - export type TaxIdResource = Stripe.TaxIdResource; - export type TaxRate = Stripe.TaxRate; - export type TaxRateCreateParams = Stripe.TaxRateCreateParams; - export type TaxRateRetrieveParams = Stripe.TaxRateRetrieveParams; - export type TaxRateUpdateParams = Stripe.TaxRateUpdateParams; - export type TaxRateListParams = Stripe.TaxRateListParams; - export type TaxRateSerializeBatchCreateParams = Stripe.TaxRateSerializeBatchCreateParams; - export type TaxRateSerializeBatchUpdateParams = Stripe.TaxRateSerializeBatchUpdateParams; - export type TaxRateResource = Stripe.TaxRateResource; - export type Token = Stripe.Token; - export type TokenCreateParams = Stripe.TokenCreateParams; - export type TokenRetrieveParams = Stripe.TokenRetrieveParams; - export type TokenResource = Stripe.TokenResource; - export type Topup = Stripe.Topup; - export type TopupCreateParams = Stripe.TopupCreateParams; - export type TopupRetrieveParams = Stripe.TopupRetrieveParams; - export type TopupUpdateParams = Stripe.TopupUpdateParams; - export type TopupListParams = Stripe.TopupListParams; - export type TopupCancelParams = Stripe.TopupCancelParams; - export type TopupResource = Stripe.TopupResource; - export type Transfer = Stripe.Transfer; - export type TransferCreateParams = Stripe.TransferCreateParams; - export type TransferRetrieveParams = Stripe.TransferRetrieveParams; - export type TransferUpdateParams = Stripe.TransferUpdateParams; - export type TransferListParams = Stripe.TransferListParams; - export type TransferCreateReversalParams = Stripe.TransferCreateReversalParams; - export type TransferListReversalsParams = Stripe.TransferListReversalsParams; - export type TransferRetrieveReversalParams = Stripe.TransferRetrieveReversalParams; - export type TransferUpdateReversalParams = Stripe.TransferUpdateReversalParams; - export type TransferResource = Stripe.TransferResource; - export type WebhookEndpoint = Stripe.WebhookEndpoint; - export type DeletedWebhookEndpoint = Stripe.DeletedWebhookEndpoint; - export type WebhookEndpointCreateParams = Stripe.WebhookEndpointCreateParams; - export type WebhookEndpointRetrieveParams = Stripe.WebhookEndpointRetrieveParams; - export type WebhookEndpointUpdateParams = Stripe.WebhookEndpointUpdateParams; - export type WebhookEndpointListParams = Stripe.WebhookEndpointListParams; - export type WebhookEndpointDeleteParams = Stripe.WebhookEndpointDeleteParams; - export type WebhookEndpointResource = Stripe.WebhookEndpointResource; - export type Application = Stripe.Application; - export type DeletedApplication = Stripe.DeletedApplication; - export type BalanceTransactionSource = Stripe.BalanceTransactionSource; - export type BankAccount = Stripe.BankAccount; - export type DeletedBankAccount = Stripe.DeletedBankAccount; - export type Card = Stripe.Card; - export type DeletedCard = Stripe.DeletedCard; - export type ConnectCollectionTransfer = Stripe.ConnectCollectionTransfer; - export type Discount = Stripe.Discount; - export type DeletedDiscount = Stripe.DeletedDiscount; - export type FundingInstructions = Stripe.FundingInstructions; - export type LineItem = Stripe.LineItem; - export type PaymentMethodBalance = Stripe.PaymentMethodBalance; - export type Profile = Stripe.Profile; - export type QuoteLine = Stripe.QuoteLine; - export type ReserveTransaction = Stripe.ReserveTransaction; - export type RiskSignals = Stripe.RiskSignals; - export type SourceMandateNotification = Stripe.SourceMandateNotification; - export type SourceTransaction = Stripe.SourceTransaction; - export type TaxDeductedAtSource = Stripe.TaxDeductedAtSource; - export type TransitBalance = Stripe.TransitBalance; - export type AccountSignals = Stripe.AccountSignals; - export type Capability = Stripe.Capability; - export type LoginLink = Stripe.LoginLink; - export type Person = Stripe.Person; - export type DeletedPerson = Stripe.DeletedPerson; - export type FeeRefund = Stripe.FeeRefund; - export type CreditNoteLineItem = Stripe.CreditNoteLineItem; - export type CustomerBalanceTransaction = Stripe.CustomerBalanceTransaction; - export type CashBalance = Stripe.CashBalance; - export type CustomerCashBalanceTransaction = Stripe.CustomerCashBalanceTransaction; - export type CustomerSource = Stripe.CustomerSource; - export type DeletedCustomerSource = Stripe.DeletedCustomerSource; - export type InvoiceLineItem = Stripe.InvoiceLineItem; - export type PaymentIntentAmountDetailsLineItem = Stripe.PaymentIntentAmountDetailsLineItem; - export type ProductFeature = Stripe.ProductFeature; - export type DeletedProductFeature = Stripe.DeletedProductFeature; - export type QuotePreviewInvoice = Stripe.QuotePreviewInvoice; - export type QuotePreviewSubscriptionSchedule = Stripe.QuotePreviewSubscriptionSchedule; - export type TransferReversal = Stripe.TransferReversal; + export type Account = Stripe_.Account; + export type DeletedAccount = Stripe_.DeletedAccount; + export type AccountCreateParams = Stripe_.AccountCreateParams; + export type AccountRetrieveParams = Stripe_.AccountRetrieveParams; + export type AccountUpdateParams = Stripe_.AccountUpdateParams; + export type AccountListParams = Stripe_.AccountListParams; + export type AccountDeleteParams = Stripe_.AccountDeleteParams; + export type AccountCreateExternalAccountParams = Stripe_.AccountCreateExternalAccountParams; + export type AccountCreateLoginLinkParams = Stripe_.AccountCreateLoginLinkParams; + export type AccountCreatePersonParams = Stripe_.AccountCreatePersonParams; + export type AccountDeleteExternalAccountParams = Stripe_.AccountDeleteExternalAccountParams; + export type AccountDeletePersonParams = Stripe_.AccountDeletePersonParams; + export type AccountListCapabilitiesParams = Stripe_.AccountListCapabilitiesParams; + export type AccountListExternalAccountsParams = Stripe_.AccountListExternalAccountsParams; + export type AccountListPersonsParams = Stripe_.AccountListPersonsParams; + export type AccountRejectParams = Stripe_.AccountRejectParams; + export type AccountRetrieveCurrentParams = Stripe_.AccountRetrieveCurrentParams; + export type AccountRetrieveCapabilityParams = Stripe_.AccountRetrieveCapabilityParams; + export type AccountRetrieveExternalAccountParams = Stripe_.AccountRetrieveExternalAccountParams; + export type AccountRetrievePersonParams = Stripe_.AccountRetrievePersonParams; + export type AccountRetrieveSignalsParams = Stripe_.AccountRetrieveSignalsParams; + export type AccountSerializeBatchCreateParams = Stripe_.AccountSerializeBatchCreateParams; + export type AccountSerializeBatchDeleteParams = Stripe_.AccountSerializeBatchDeleteParams; + export type AccountSerializeBatchUpdateParams = Stripe_.AccountSerializeBatchUpdateParams; + export type AccountUpdateCapabilityParams = Stripe_.AccountUpdateCapabilityParams; + export type AccountUpdateExternalAccountParams = Stripe_.AccountUpdateExternalAccountParams; + export type AccountUpdatePersonParams = Stripe_.AccountUpdatePersonParams; + export type AccountResource = Stripe_.AccountResource; + export type AccountLink = Stripe_.AccountLink; + export type AccountLinkCreateParams = Stripe_.AccountLinkCreateParams; + export type AccountLinkResource = Stripe_.AccountLinkResource; + export type AccountNotice = Stripe_.AccountNotice; + export type AccountNoticeRetrieveParams = Stripe_.AccountNoticeRetrieveParams; + export type AccountNoticeUpdateParams = Stripe_.AccountNoticeUpdateParams; + export type AccountNoticeListParams = Stripe_.AccountNoticeListParams; + export type AccountNoticeResource = Stripe_.AccountNoticeResource; + export type AccountSession = Stripe_.AccountSession; + export type AccountSessionCreateParams = Stripe_.AccountSessionCreateParams; + export type AccountSessionResource = Stripe_.AccountSessionResource; + export type ApplePayDomain = Stripe_.ApplePayDomain; + export type DeletedApplePayDomain = Stripe_.DeletedApplePayDomain; + export type ApplePayDomainCreateParams = Stripe_.ApplePayDomainCreateParams; + export type ApplePayDomainRetrieveParams = Stripe_.ApplePayDomainRetrieveParams; + export type ApplePayDomainListParams = Stripe_.ApplePayDomainListParams; + export type ApplePayDomainDeleteParams = Stripe_.ApplePayDomainDeleteParams; + export type ApplePayDomainResource = Stripe_.ApplePayDomainResource; + export type ApplicationFee = Stripe_.ApplicationFee; + export type ApplicationFeeRetrieveParams = Stripe_.ApplicationFeeRetrieveParams; + export type ApplicationFeeListParams = Stripe_.ApplicationFeeListParams; + export type ApplicationFeeCreateRefundParams = Stripe_.ApplicationFeeCreateRefundParams; + export type ApplicationFeeListRefundsParams = Stripe_.ApplicationFeeListRefundsParams; + export type ApplicationFeeRetrieveRefundParams = Stripe_.ApplicationFeeRetrieveRefundParams; + export type ApplicationFeeUpdateRefundParams = Stripe_.ApplicationFeeUpdateRefundParams; + export type ApplicationFeeResource = Stripe_.ApplicationFeeResource; + export type Balance = Stripe_.Balance; + export type BalanceRetrieveParams = Stripe_.BalanceRetrieveParams; + export type BalanceResource = Stripe_.BalanceResource; + export type BalanceSettings = Stripe_.BalanceSettings; + export type BalanceSettingsRetrieveParams = Stripe_.BalanceSettingsRetrieveParams; + export type BalanceSettingsUpdateParams = Stripe_.BalanceSettingsUpdateParams; + export type BalanceSettingResource = Stripe_.BalanceSettingResource; + export type BalanceTransaction = Stripe_.BalanceTransaction; + export type BalanceTransactionRetrieveParams = Stripe_.BalanceTransactionRetrieveParams; + export type BalanceTransactionListParams = Stripe_.BalanceTransactionListParams; + export type BalanceTransactionResource = Stripe_.BalanceTransactionResource; + export type BalanceTransfer = Stripe_.BalanceTransfer; + export type BalanceTransferCreateParams = Stripe_.BalanceTransferCreateParams; + export type BalanceTransferResource = Stripe_.BalanceTransferResource; + export type Charge = Stripe_.Charge; + export type ChargeCreateParams = Stripe_.ChargeCreateParams; + export type ChargeRetrieveParams = Stripe_.ChargeRetrieveParams; + export type ChargeUpdateParams = Stripe_.ChargeUpdateParams; + export type ChargeListParams = Stripe_.ChargeListParams; + export type ChargeCaptureParams = Stripe_.ChargeCaptureParams; + export type ChargeSearchParams = Stripe_.ChargeSearchParams; + export type ChargeResource = Stripe_.ChargeResource; + export type ConfirmationToken = Stripe_.ConfirmationToken; + export type ConfirmationTokenRetrieveParams = Stripe_.ConfirmationTokenRetrieveParams; + export type ConfirmationTokenResource = Stripe_.ConfirmationTokenResource; + export type CountrySpec = Stripe_.CountrySpec; + export type CountrySpecRetrieveParams = Stripe_.CountrySpecRetrieveParams; + export type CountrySpecListParams = Stripe_.CountrySpecListParams; + export type CountrySpecResource = Stripe_.CountrySpecResource; + export type Coupon = Stripe_.Coupon; + export type DeletedCoupon = Stripe_.DeletedCoupon; + export type CouponCreateParams = Stripe_.CouponCreateParams; + export type CouponRetrieveParams = Stripe_.CouponRetrieveParams; + export type CouponUpdateParams = Stripe_.CouponUpdateParams; + export type CouponListParams = Stripe_.CouponListParams; + export type CouponDeleteParams = Stripe_.CouponDeleteParams; + export type CouponSerializeBatchCreateParams = Stripe_.CouponSerializeBatchCreateParams; + export type CouponSerializeBatchDeleteParams = Stripe_.CouponSerializeBatchDeleteParams; + export type CouponSerializeBatchUpdateParams = Stripe_.CouponSerializeBatchUpdateParams; + export type CouponResource = Stripe_.CouponResource; + export type CreditNote = Stripe_.CreditNote; + export type CreditNoteCreateParams = Stripe_.CreditNoteCreateParams; + export type CreditNoteRetrieveParams = Stripe_.CreditNoteRetrieveParams; + export type CreditNoteUpdateParams = Stripe_.CreditNoteUpdateParams; + export type CreditNoteListParams = Stripe_.CreditNoteListParams; + export type CreditNoteListLineItemsParams = Stripe_.CreditNoteListLineItemsParams; + export type CreditNoteListPreviewLineItemsParams = Stripe_.CreditNoteListPreviewLineItemsParams; + export type CreditNotePreviewParams = Stripe_.CreditNotePreviewParams; + export type CreditNoteSerializeBatchCreateParams = Stripe_.CreditNoteSerializeBatchCreateParams; + export type CreditNoteVoidCreditNoteParams = Stripe_.CreditNoteVoidCreditNoteParams; + export type CreditNoteResource = Stripe_.CreditNoteResource; + export type Customer = Stripe_.Customer; + export type DeletedCustomer = Stripe_.DeletedCustomer; + export type CustomerCreateParams = Stripe_.CustomerCreateParams; + export type CustomerRetrieveParams = Stripe_.CustomerRetrieveParams; + export type CustomerUpdateParams = Stripe_.CustomerUpdateParams; + export type CustomerListParams = Stripe_.CustomerListParams; + export type CustomerDeleteParams = Stripe_.CustomerDeleteParams; + export type CustomerCreateBalanceTransactionParams = Stripe_.CustomerCreateBalanceTransactionParams; + export type CustomerCreateFundingInstructionsParams = Stripe_.CustomerCreateFundingInstructionsParams; + export type CustomerCreateSourceParams = Stripe_.CustomerCreateSourceParams; + export type CustomerCreateTaxIdParams = Stripe_.CustomerCreateTaxIdParams; + export type CustomerDeleteDiscountParams = Stripe_.CustomerDeleteDiscountParams; + export type CustomerDeleteSourceParams = Stripe_.CustomerDeleteSourceParams; + export type CustomerDeleteTaxIdParams = Stripe_.CustomerDeleteTaxIdParams; + export type CustomerListBalanceTransactionsParams = Stripe_.CustomerListBalanceTransactionsParams; + export type CustomerListCashBalanceTransactionsParams = Stripe_.CustomerListCashBalanceTransactionsParams; + export type CustomerListPaymentMethodsParams = Stripe_.CustomerListPaymentMethodsParams; + export type CustomerListSourcesParams = Stripe_.CustomerListSourcesParams; + export type CustomerListTaxIdsParams = Stripe_.CustomerListTaxIdsParams; + export type CustomerRetrieveBalanceTransactionParams = Stripe_.CustomerRetrieveBalanceTransactionParams; + export type CustomerRetrieveCashBalanceParams = Stripe_.CustomerRetrieveCashBalanceParams; + export type CustomerRetrieveCashBalanceTransactionParams = Stripe_.CustomerRetrieveCashBalanceTransactionParams; + export type CustomerRetrievePaymentMethodParams = Stripe_.CustomerRetrievePaymentMethodParams; + export type CustomerRetrieveSourceParams = Stripe_.CustomerRetrieveSourceParams; + export type CustomerRetrieveTaxIdParams = Stripe_.CustomerRetrieveTaxIdParams; + export type CustomerSearchParams = Stripe_.CustomerSearchParams; + export type CustomerSerializeBatchCreateParams = Stripe_.CustomerSerializeBatchCreateParams; + export type CustomerSerializeBatchCreateBalanceTransactionParams = Stripe_.CustomerSerializeBatchCreateBalanceTransactionParams; + export type CustomerSerializeBatchCreateForCustomerTaxIdParams = Stripe_.CustomerSerializeBatchCreateForCustomerTaxIdParams; + export type CustomerSerializeBatchCreateFundingInstructionsFundingInstructionsParams = Stripe_.CustomerSerializeBatchCreateFundingInstructionsFundingInstructionsParams; + export type CustomerSerializeBatchCreateSourceParams = Stripe_.CustomerSerializeBatchCreateSourceParams; + export type CustomerSerializeBatchDeleteParams = Stripe_.CustomerSerializeBatchDeleteParams; + export type CustomerSerializeBatchDeleteDiscountParams = Stripe_.CustomerSerializeBatchDeleteDiscountParams; + export type CustomerSerializeBatchDeleteSourceParams = Stripe_.CustomerSerializeBatchDeleteSourceParams; + export type CustomerSerializeBatchDeleteTaxIdParams = Stripe_.CustomerSerializeBatchDeleteTaxIdParams; + export type CustomerSerializeBatchUpdateParams = Stripe_.CustomerSerializeBatchUpdateParams; + export type CustomerSerializeBatchUpdateBalanceTransactionParams = Stripe_.CustomerSerializeBatchUpdateBalanceTransactionParams; + export type CustomerSerializeBatchUpdateCashBalanceParams = Stripe_.CustomerSerializeBatchUpdateCashBalanceParams; + export type CustomerSerializeBatchUpdateSourceParams = Stripe_.CustomerSerializeBatchUpdateSourceParams; + export type CustomerSerializeBatchVerifySourceParams = Stripe_.CustomerSerializeBatchVerifySourceParams; + export type CustomerUpdateBalanceTransactionParams = Stripe_.CustomerUpdateBalanceTransactionParams; + export type CustomerUpdateCashBalanceParams = Stripe_.CustomerUpdateCashBalanceParams; + export type CustomerUpdateSourceParams = Stripe_.CustomerUpdateSourceParams; + export type CustomerVerifySourceParams = Stripe_.CustomerVerifySourceParams; + export type CustomerResource = Stripe_.CustomerResource; + export type CustomerSession = Stripe_.CustomerSession; + export type CustomerSessionCreateParams = Stripe_.CustomerSessionCreateParams; + export type CustomerSessionSerializeBatchCreateParams = Stripe_.CustomerSessionSerializeBatchCreateParams; + export type CustomerSessionResource = Stripe_.CustomerSessionResource; + export type Dispute = Stripe_.Dispute; + export type DisputeRetrieveParams = Stripe_.DisputeRetrieveParams; + export type DisputeUpdateParams = Stripe_.DisputeUpdateParams; + export type DisputeListParams = Stripe_.DisputeListParams; + export type DisputeCloseParams = Stripe_.DisputeCloseParams; + export type DisputeSerializeBatchCloseParams = Stripe_.DisputeSerializeBatchCloseParams; + export type DisputeResource = Stripe_.DisputeResource; + export type EphemeralKey = Stripe_.EphemeralKey; + export type EphemeralKeyCreateParams = Stripe_.EphemeralKeyCreateParams; + export type EphemeralKeyDeleteParams = Stripe_.EphemeralKeyDeleteParams; + export type EphemeralKeyResource = Stripe_.EphemeralKeyResource; + export type Event = Stripe_.Event; + export type EventBase = Stripe_.EventBase; + export type EventRetrieveParams = Stripe_.EventRetrieveParams; + export type EventListParams = Stripe_.EventListParams; + export type EventResource = Stripe_.EventResource; + export type ExchangeRate = Stripe_.ExchangeRate; + export type ExchangeRateRetrieveParams = Stripe_.ExchangeRateRetrieveParams; + export type ExchangeRateListParams = Stripe_.ExchangeRateListParams; + export type ExchangeRateResource = Stripe_.ExchangeRateResource; + export type ExternalAccount = Stripe_.ExternalAccount; + export type DeletedExternalAccount = Stripe_.DeletedExternalAccount; + export type ExternalAccountCreateParams = Stripe_.ExternalAccountCreateParams; + export type ExternalAccountRetrieveParams = Stripe_.ExternalAccountRetrieveParams; + export type ExternalAccountUpdateParams = Stripe_.ExternalAccountUpdateParams; + export type ExternalAccountListParams = Stripe_.ExternalAccountListParams; + export type ExternalAccountDeleteParams = Stripe_.ExternalAccountDeleteParams; + export type ExternalAccountResource = Stripe_.ExternalAccountResource; + export type File = Stripe_.File; + export type FileCreateParams = Stripe_.FileCreateParams; + export type FileRetrieveParams = Stripe_.FileRetrieveParams; + export type FileListParams = Stripe_.FileListParams; + export type FileResource = Stripe_.FileResource; + export type FileLink = Stripe_.FileLink; + export type FileLinkCreateParams = Stripe_.FileLinkCreateParams; + export type FileLinkRetrieveParams = Stripe_.FileLinkRetrieveParams; + export type FileLinkUpdateParams = Stripe_.FileLinkUpdateParams; + export type FileLinkListParams = Stripe_.FileLinkListParams; + export type FileLinkResource = Stripe_.FileLinkResource; + export type FrMealVouchersOnboarding = Stripe_.FrMealVouchersOnboarding; + export type FrMealVouchersOnboardingCreateParams = Stripe_.FrMealVouchersOnboardingCreateParams; + export type FrMealVouchersOnboardingRetrieveParams = Stripe_.FrMealVouchersOnboardingRetrieveParams; + export type FrMealVouchersOnboardingUpdateParams = Stripe_.FrMealVouchersOnboardingUpdateParams; + export type FrMealVouchersOnboardingListParams = Stripe_.FrMealVouchersOnboardingListParams; + export type FrMealVouchersOnboardingResource = Stripe_.FrMealVouchersOnboardingResource; + export type FxQuote = Stripe_.FxQuote; + export type FxQuoteCreateParams = Stripe_.FxQuoteCreateParams; + export type FxQuoteRetrieveParams = Stripe_.FxQuoteRetrieveParams; + export type FxQuoteListParams = Stripe_.FxQuoteListParams; + export type FxQuoteResource = Stripe_.FxQuoteResource; + export type GiftCard = Stripe_.GiftCard; + export type GiftCardCreateParams = Stripe_.GiftCardCreateParams; + export type GiftCardRetrieveParams = Stripe_.GiftCardRetrieveParams; + export type GiftCardActivateParams = Stripe_.GiftCardActivateParams; + export type GiftCardCashoutParams = Stripe_.GiftCardCashoutParams; + export type GiftCardCheckBalanceParams = Stripe_.GiftCardCheckBalanceParams; + export type GiftCardReloadParams = Stripe_.GiftCardReloadParams; + export type GiftCardVoidOperationParams = Stripe_.GiftCardVoidOperationParams; + export type GiftCardResource = Stripe_.GiftCardResource; + export type GiftCardOperation = Stripe_.GiftCardOperation; + export type GiftCardOperationRetrieveParams = Stripe_.GiftCardOperationRetrieveParams; + export type GiftCardOperationResource = Stripe_.GiftCardOperationResource; + export type Invoice = Stripe_.Invoice; + export type DeletedInvoice = Stripe_.DeletedInvoice; + export type InvoiceCreateParams = Stripe_.InvoiceCreateParams; + export type InvoiceRetrieveParams = Stripe_.InvoiceRetrieveParams; + export type InvoiceUpdateParams = Stripe_.InvoiceUpdateParams; + export type InvoiceListParams = Stripe_.InvoiceListParams; + export type InvoiceDeleteParams = Stripe_.InvoiceDeleteParams; + export type InvoiceAddLinesParams = Stripe_.InvoiceAddLinesParams; + export type InvoiceAttachPaymentParams = Stripe_.InvoiceAttachPaymentParams; + export type InvoiceCreatePreviewParams = Stripe_.InvoiceCreatePreviewParams; + export type InvoiceDetachPaymentParams = Stripe_.InvoiceDetachPaymentParams; + export type InvoiceFinalizeInvoiceParams = Stripe_.InvoiceFinalizeInvoiceParams; + export type InvoiceListLineItemsParams = Stripe_.InvoiceListLineItemsParams; + export type InvoiceMarkUncollectibleParams = Stripe_.InvoiceMarkUncollectibleParams; + export type InvoicePayParams = Stripe_.InvoicePayParams; + export type InvoiceRemoveLinesParams = Stripe_.InvoiceRemoveLinesParams; + export type InvoiceSearchParams = Stripe_.InvoiceSearchParams; + export type InvoiceSendInvoiceParams = Stripe_.InvoiceSendInvoiceParams; + export type InvoiceSerializeBatchAddLinesParams = Stripe_.InvoiceSerializeBatchAddLinesParams; + export type InvoiceSerializeBatchCreateParams = Stripe_.InvoiceSerializeBatchCreateParams; + export type InvoiceSerializeBatchCreatePreviewParams = Stripe_.InvoiceSerializeBatchCreatePreviewParams; + export type InvoiceSerializeBatchDeleteParams = Stripe_.InvoiceSerializeBatchDeleteParams; + export type InvoiceSerializeBatchFinalizeInvoiceParams = Stripe_.InvoiceSerializeBatchFinalizeInvoiceParams; + export type InvoiceSerializeBatchMarkUncollectibleParams = Stripe_.InvoiceSerializeBatchMarkUncollectibleParams; + export type InvoiceSerializeBatchPayParams = Stripe_.InvoiceSerializeBatchPayParams; + export type InvoiceSerializeBatchRemoveLinesParams = Stripe_.InvoiceSerializeBatchRemoveLinesParams; + export type InvoiceSerializeBatchSendInvoiceParams = Stripe_.InvoiceSerializeBatchSendInvoiceParams; + export type InvoiceSerializeBatchUpdateParams = Stripe_.InvoiceSerializeBatchUpdateParams; + export type InvoiceSerializeBatchUpdateLineItemParams = Stripe_.InvoiceSerializeBatchUpdateLineItemParams; + export type InvoiceSerializeBatchUpdateLinesParams = Stripe_.InvoiceSerializeBatchUpdateLinesParams; + export type InvoiceSerializeBatchVoidInvoiceParams = Stripe_.InvoiceSerializeBatchVoidInvoiceParams; + export type InvoiceUpdateLinesParams = Stripe_.InvoiceUpdateLinesParams; + export type InvoiceUpdateLineItemParams = Stripe_.InvoiceUpdateLineItemParams; + export type InvoiceVoidInvoiceParams = Stripe_.InvoiceVoidInvoiceParams; + export type InvoiceResource = Stripe_.InvoiceResource; + export type InvoiceItem = Stripe_.InvoiceItem; + export type DeletedInvoiceItem = Stripe_.DeletedInvoiceItem; + export type InvoiceItemCreateParams = Stripe_.InvoiceItemCreateParams; + export type InvoiceItemRetrieveParams = Stripe_.InvoiceItemRetrieveParams; + export type InvoiceItemUpdateParams = Stripe_.InvoiceItemUpdateParams; + export type InvoiceItemListParams = Stripe_.InvoiceItemListParams; + export type InvoiceItemDeleteParams = Stripe_.InvoiceItemDeleteParams; + export type InvoiceItemSerializeBatchCreateParams = Stripe_.InvoiceItemSerializeBatchCreateParams; + export type InvoiceItemSerializeBatchDeleteParams = Stripe_.InvoiceItemSerializeBatchDeleteParams; + export type InvoiceItemSerializeBatchUpdateParams = Stripe_.InvoiceItemSerializeBatchUpdateParams; + export type InvoiceItemResource = Stripe_.InvoiceItemResource; + export type InvoicePayment = Stripe_.InvoicePayment; + export type InvoicePaymentRetrieveParams = Stripe_.InvoicePaymentRetrieveParams; + export type InvoicePaymentListParams = Stripe_.InvoicePaymentListParams; + export type InvoicePaymentResource = Stripe_.InvoicePaymentResource; + export type InvoiceRenderingTemplate = Stripe_.InvoiceRenderingTemplate; + export type InvoiceRenderingTemplateRetrieveParams = Stripe_.InvoiceRenderingTemplateRetrieveParams; + export type InvoiceRenderingTemplateListParams = Stripe_.InvoiceRenderingTemplateListParams; + export type InvoiceRenderingTemplateArchiveParams = Stripe_.InvoiceRenderingTemplateArchiveParams; + export type InvoiceRenderingTemplateSerializeBatchArchiveParams = Stripe_.InvoiceRenderingTemplateSerializeBatchArchiveParams; + export type InvoiceRenderingTemplateSerializeBatchUnarchiveParams = Stripe_.InvoiceRenderingTemplateSerializeBatchUnarchiveParams; + export type InvoiceRenderingTemplateUnarchiveParams = Stripe_.InvoiceRenderingTemplateUnarchiveParams; + export type InvoiceRenderingTemplateResource = Stripe_.InvoiceRenderingTemplateResource; + export type Mandate = Stripe_.Mandate; + export type MandateRetrieveParams = Stripe_.MandateRetrieveParams; + export type MandateListParams = Stripe_.MandateListParams; + export type MandateResource = Stripe_.MandateResource; + export type Margin = Stripe_.Margin; + export type MarginCreateParams = Stripe_.MarginCreateParams; + export type MarginRetrieveParams = Stripe_.MarginRetrieveParams; + export type MarginUpdateParams = Stripe_.MarginUpdateParams; + export type MarginListParams = Stripe_.MarginListParams; + export type MarginResource = Stripe_.MarginResource; + export type Order = Stripe_.Order; + export type OrderCreateParams = Stripe_.OrderCreateParams; + export type OrderRetrieveParams = Stripe_.OrderRetrieveParams; + export type OrderUpdateParams = Stripe_.OrderUpdateParams; + export type OrderListParams = Stripe_.OrderListParams; + export type OrderSubmitParams = Stripe_.OrderSubmitParams; + export type OrderResource = Stripe_.OrderResource; + export type PaymentAttemptRecord = Stripe_.PaymentAttemptRecord; + export type PaymentAttemptRecordRetrieveParams = Stripe_.PaymentAttemptRecordRetrieveParams; + export type PaymentAttemptRecordListParams = Stripe_.PaymentAttemptRecordListParams; + export type PaymentAttemptRecordReportAuthenticatedParams = Stripe_.PaymentAttemptRecordReportAuthenticatedParams; + export type PaymentAttemptRecordReportAuthorizedParams = Stripe_.PaymentAttemptRecordReportAuthorizedParams; + export type PaymentAttemptRecordReportCanceledParams = Stripe_.PaymentAttemptRecordReportCanceledParams; + export type PaymentAttemptRecordReportFailedParams = Stripe_.PaymentAttemptRecordReportFailedParams; + export type PaymentAttemptRecordReportGuaranteedParams = Stripe_.PaymentAttemptRecordReportGuaranteedParams; + export type PaymentAttemptRecordReportInformationalParams = Stripe_.PaymentAttemptRecordReportInformationalParams; + export type PaymentAttemptRecordReportRefundParams = Stripe_.PaymentAttemptRecordReportRefundParams; + export type PaymentAttemptRecordResource = Stripe_.PaymentAttemptRecordResource; + export type PaymentIntent = Stripe_.PaymentIntent; + export type PaymentIntentCreateParams = Stripe_.PaymentIntentCreateParams; + export type PaymentIntentRetrieveParams = Stripe_.PaymentIntentRetrieveParams; + export type PaymentIntentUpdateParams = Stripe_.PaymentIntentUpdateParams; + export type PaymentIntentListParams = Stripe_.PaymentIntentListParams; + export type PaymentIntentApplyCustomerBalanceParams = Stripe_.PaymentIntentApplyCustomerBalanceParams; + export type PaymentIntentCancelParams = Stripe_.PaymentIntentCancelParams; + export type PaymentIntentCaptureParams = Stripe_.PaymentIntentCaptureParams; + export type PaymentIntentConfirmParams = Stripe_.PaymentIntentConfirmParams; + export type PaymentIntentDecrementAuthorizationParams = Stripe_.PaymentIntentDecrementAuthorizationParams; + export type PaymentIntentIncrementAuthorizationParams = Stripe_.PaymentIntentIncrementAuthorizationParams; + export type PaymentIntentListAmountDetailsLineItemsParams = Stripe_.PaymentIntentListAmountDetailsLineItemsParams; + export type PaymentIntentReauthorizeParams = Stripe_.PaymentIntentReauthorizeParams; + export type PaymentIntentSearchParams = Stripe_.PaymentIntentSearchParams; + export type PaymentIntentTriggerActionParams = Stripe_.PaymentIntentTriggerActionParams; + export type PaymentIntentUpdateCryptoRefundAddressParams = Stripe_.PaymentIntentUpdateCryptoRefundAddressParams; + export type PaymentIntentVerifyMicrodepositsParams = Stripe_.PaymentIntentVerifyMicrodepositsParams; + export type PaymentIntentResource = Stripe_.PaymentIntentResource; + export type PaymentLink = Stripe_.PaymentLink; + export type PaymentLinkCreateParams = Stripe_.PaymentLinkCreateParams; + export type PaymentLinkRetrieveParams = Stripe_.PaymentLinkRetrieveParams; + export type PaymentLinkUpdateParams = Stripe_.PaymentLinkUpdateParams; + export type PaymentLinkListParams = Stripe_.PaymentLinkListParams; + export type PaymentLinkListLineItemsParams = Stripe_.PaymentLinkListLineItemsParams; + export type PaymentLinkResource = Stripe_.PaymentLinkResource; + export type PaymentLocation = Stripe_.PaymentLocation; + export type DeletedPaymentLocation = Stripe_.DeletedPaymentLocation; + export type PaymentLocationCreateParams = Stripe_.PaymentLocationCreateParams; + export type PaymentLocationRetrieveParams = Stripe_.PaymentLocationRetrieveParams; + export type PaymentLocationUpdateParams = Stripe_.PaymentLocationUpdateParams; + export type PaymentLocationListParams = Stripe_.PaymentLocationListParams; + export type PaymentLocationDeleteParams = Stripe_.PaymentLocationDeleteParams; + export type PaymentLocationResource = Stripe_.PaymentLocationResource; + export type PaymentLocationCapability = Stripe_.PaymentLocationCapability; + export type PaymentLocationCapabilityRetrieveParams = Stripe_.PaymentLocationCapabilityRetrieveParams; + export type PaymentLocationCapabilityUpdateParams = Stripe_.PaymentLocationCapabilityUpdateParams; + export type PaymentLocationCapabilityListParams = Stripe_.PaymentLocationCapabilityListParams; + export type PaymentLocationCapabilityResource = Stripe_.PaymentLocationCapabilityResource; + export type PaymentMethod = Stripe_.PaymentMethod; + export type PaymentMethodCreateParams = Stripe_.PaymentMethodCreateParams; + export type PaymentMethodRetrieveParams = Stripe_.PaymentMethodRetrieveParams; + export type PaymentMethodUpdateParams = Stripe_.PaymentMethodUpdateParams; + export type PaymentMethodListParams = Stripe_.PaymentMethodListParams; + export type PaymentMethodAttachParams = Stripe_.PaymentMethodAttachParams; + export type PaymentMethodCheckBalanceParams = Stripe_.PaymentMethodCheckBalanceParams; + export type PaymentMethodDetachParams = Stripe_.PaymentMethodDetachParams; + export type PaymentMethodSerializeBatchAttachParams = Stripe_.PaymentMethodSerializeBatchAttachParams; + export type PaymentMethodResource = Stripe_.PaymentMethodResource; + export type PaymentMethodConfiguration = Stripe_.PaymentMethodConfiguration; + export type PaymentMethodConfigurationCreateParams = Stripe_.PaymentMethodConfigurationCreateParams; + export type PaymentMethodConfigurationRetrieveParams = Stripe_.PaymentMethodConfigurationRetrieveParams; + export type PaymentMethodConfigurationUpdateParams = Stripe_.PaymentMethodConfigurationUpdateParams; + export type PaymentMethodConfigurationListParams = Stripe_.PaymentMethodConfigurationListParams; + export type PaymentMethodConfigurationResource = Stripe_.PaymentMethodConfigurationResource; + export type PaymentMethodDomain = Stripe_.PaymentMethodDomain; + export type PaymentMethodDomainCreateParams = Stripe_.PaymentMethodDomainCreateParams; + export type PaymentMethodDomainRetrieveParams = Stripe_.PaymentMethodDomainRetrieveParams; + export type PaymentMethodDomainUpdateParams = Stripe_.PaymentMethodDomainUpdateParams; + export type PaymentMethodDomainListParams = Stripe_.PaymentMethodDomainListParams; + export type PaymentMethodDomainValidateParams = Stripe_.PaymentMethodDomainValidateParams; + export type PaymentMethodDomainResource = Stripe_.PaymentMethodDomainResource; + export type PaymentRecord = Stripe_.PaymentRecord; + export type PaymentRecordRetrieveParams = Stripe_.PaymentRecordRetrieveParams; + export type PaymentRecordReportPaymentParams = Stripe_.PaymentRecordReportPaymentParams; + export type PaymentRecordReportPaymentAttemptParams = Stripe_.PaymentRecordReportPaymentAttemptParams; + export type PaymentRecordReportPaymentAttemptCanceledParams = Stripe_.PaymentRecordReportPaymentAttemptCanceledParams; + export type PaymentRecordReportPaymentAttemptFailedParams = Stripe_.PaymentRecordReportPaymentAttemptFailedParams; + export type PaymentRecordReportPaymentAttemptGuaranteedParams = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams; + export type PaymentRecordReportPaymentAttemptInformationalParams = Stripe_.PaymentRecordReportPaymentAttemptInformationalParams; + export type PaymentRecordReportRefundParams = Stripe_.PaymentRecordReportRefundParams; + export type PaymentRecordResource = Stripe_.PaymentRecordResource; + export type Payout = Stripe_.Payout; + export type PayoutCreateParams = Stripe_.PayoutCreateParams; + export type PayoutRetrieveParams = Stripe_.PayoutRetrieveParams; + export type PayoutUpdateParams = Stripe_.PayoutUpdateParams; + export type PayoutListParams = Stripe_.PayoutListParams; + export type PayoutCancelParams = Stripe_.PayoutCancelParams; + export type PayoutReverseParams = Stripe_.PayoutReverseParams; + export type PayoutResource = Stripe_.PayoutResource; + export type Plan = Stripe_.Plan; + export type DeletedPlan = Stripe_.DeletedPlan; + export type PlanCreateParams = Stripe_.PlanCreateParams; + export type PlanRetrieveParams = Stripe_.PlanRetrieveParams; + export type PlanUpdateParams = Stripe_.PlanUpdateParams; + export type PlanListParams = Stripe_.PlanListParams; + export type PlanDeleteParams = Stripe_.PlanDeleteParams; + export type PlanResource = Stripe_.PlanResource; + export type Price = Stripe_.Price; + export type DeletedPrice = Stripe_.DeletedPrice; + export type PriceCreateParams = Stripe_.PriceCreateParams; + export type PriceRetrieveParams = Stripe_.PriceRetrieveParams; + export type PriceUpdateParams = Stripe_.PriceUpdateParams; + export type PriceListParams = Stripe_.PriceListParams; + export type PriceSearchParams = Stripe_.PriceSearchParams; + export type PriceSerializeBatchCreateParams = Stripe_.PriceSerializeBatchCreateParams; + export type PriceSerializeBatchUpdateParams = Stripe_.PriceSerializeBatchUpdateParams; + export type PriceResource = Stripe_.PriceResource; + export type Product = Stripe_.Product; + export type DeletedProduct = Stripe_.DeletedProduct; + export type ProductCreateParams = Stripe_.ProductCreateParams; + export type ProductRetrieveParams = Stripe_.ProductRetrieveParams; + export type ProductUpdateParams = Stripe_.ProductUpdateParams; + export type ProductListParams = Stripe_.ProductListParams; + export type ProductDeleteParams = Stripe_.ProductDeleteParams; + export type ProductCreateFeatureParams = Stripe_.ProductCreateFeatureParams; + export type ProductDeleteFeatureParams = Stripe_.ProductDeleteFeatureParams; + export type ProductListFeaturesParams = Stripe_.ProductListFeaturesParams; + export type ProductRetrieveFeatureParams = Stripe_.ProductRetrieveFeatureParams; + export type ProductSearchParams = Stripe_.ProductSearchParams; + export type ProductSerializeBatchCreateParams = Stripe_.ProductSerializeBatchCreateParams; + export type ProductSerializeBatchCreateFeatureParams = Stripe_.ProductSerializeBatchCreateFeatureParams; + export type ProductSerializeBatchDeleteParams = Stripe_.ProductSerializeBatchDeleteParams; + export type ProductSerializeBatchDeleteFeatureParams = Stripe_.ProductSerializeBatchDeleteFeatureParams; + export type ProductSerializeBatchUpdateParams = Stripe_.ProductSerializeBatchUpdateParams; + export type ProductResource = Stripe_.ProductResource; + export type PromotionCode = Stripe_.PromotionCode; + export type PromotionCodeCreateParams = Stripe_.PromotionCodeCreateParams; + export type PromotionCodeRetrieveParams = Stripe_.PromotionCodeRetrieveParams; + export type PromotionCodeUpdateParams = Stripe_.PromotionCodeUpdateParams; + export type PromotionCodeListParams = Stripe_.PromotionCodeListParams; + export type PromotionCodeSerializeBatchCreateParams = Stripe_.PromotionCodeSerializeBatchCreateParams; + export type PromotionCodeSerializeBatchUpdateParams = Stripe_.PromotionCodeSerializeBatchUpdateParams; + export type PromotionCodeResource = Stripe_.PromotionCodeResource; + export type Quote = Stripe_.Quote; + export type QuoteCreateParams = Stripe_.QuoteCreateParams; + export type QuoteRetrieveParams = Stripe_.QuoteRetrieveParams; + export type QuoteUpdateParams = Stripe_.QuoteUpdateParams; + export type QuoteListParams = Stripe_.QuoteListParams; + export type QuoteAcceptParams = Stripe_.QuoteAcceptParams; + export type QuoteCancelParams = Stripe_.QuoteCancelParams; + export type QuoteFinalizeQuoteParams = Stripe_.QuoteFinalizeQuoteParams; + export type QuoteListPreviewInvoiceLinesParams = Stripe_.QuoteListPreviewInvoiceLinesParams; + export type QuoteListComputedUpfrontLineItemsParams = Stripe_.QuoteListComputedUpfrontLineItemsParams; + export type QuoteListLineItemsParams = Stripe_.QuoteListLineItemsParams; + export type QuoteListLinesParams = Stripe_.QuoteListLinesParams; + export type QuoteListPreviewInvoicesParams = Stripe_.QuoteListPreviewInvoicesParams; + export type QuoteListPreviewSubscriptionSchedulesParams = Stripe_.QuoteListPreviewSubscriptionSchedulesParams; + export type QuoteMarkDraftParams = Stripe_.QuoteMarkDraftParams; + export type QuoteMarkStaleParams = Stripe_.QuoteMarkStaleParams; + export type QuotePdfParams = Stripe_.QuotePdfParams; + export type QuoteReestimateParams = Stripe_.QuoteReestimateParams; + export type QuoteResource = Stripe_.QuoteResource; + export type Refund = Stripe_.Refund; + export type RefundCreateParams = Stripe_.RefundCreateParams; + export type RefundRetrieveParams = Stripe_.RefundRetrieveParams; + export type RefundUpdateParams = Stripe_.RefundUpdateParams; + export type RefundListParams = Stripe_.RefundListParams; + export type RefundCancelParams = Stripe_.RefundCancelParams; + export type RefundSerializeBatchCancelParams = Stripe_.RefundSerializeBatchCancelParams; + export type RefundSerializeBatchCreateParams = Stripe_.RefundSerializeBatchCreateParams; + export type RefundResource = Stripe_.RefundResource; + export type Review = Stripe_.Review; + export type ReviewRetrieveParams = Stripe_.ReviewRetrieveParams; + export type ReviewListParams = Stripe_.ReviewListParams; + export type ReviewApproveParams = Stripe_.ReviewApproveParams; + export type ReviewResource = Stripe_.ReviewResource; + export type SetupAttempt = Stripe_.SetupAttempt; + export type SetupAttemptListParams = Stripe_.SetupAttemptListParams; + export type SetupAttemptResource = Stripe_.SetupAttemptResource; + export type SetupIntent = Stripe_.SetupIntent; + export type SetupIntentCreateParams = Stripe_.SetupIntentCreateParams; + export type SetupIntentRetrieveParams = Stripe_.SetupIntentRetrieveParams; + export type SetupIntentUpdateParams = Stripe_.SetupIntentUpdateParams; + export type SetupIntentListParams = Stripe_.SetupIntentListParams; + export type SetupIntentCancelParams = Stripe_.SetupIntentCancelParams; + export type SetupIntentConfirmParams = Stripe_.SetupIntentConfirmParams; + export type SetupIntentVerifyMicrodepositsParams = Stripe_.SetupIntentVerifyMicrodepositsParams; + export type SetupIntentResource = Stripe_.SetupIntentResource; + export type ShippingRate = Stripe_.ShippingRate; + export type ShippingRateCreateParams = Stripe_.ShippingRateCreateParams; + export type ShippingRateRetrieveParams = Stripe_.ShippingRateRetrieveParams; + export type ShippingRateUpdateParams = Stripe_.ShippingRateUpdateParams; + export type ShippingRateListParams = Stripe_.ShippingRateListParams; + export type ShippingRateResource = Stripe_.ShippingRateResource; + export type Source = Stripe_.Source; + export type SourceCreateParams = Stripe_.SourceCreateParams; + export type SourceRetrieveParams = Stripe_.SourceRetrieveParams; + export type SourceUpdateParams = Stripe_.SourceUpdateParams; + export type SourceListSourceTransactionsParams = Stripe_.SourceListSourceTransactionsParams; + export type SourceVerifyParams = Stripe_.SourceVerifyParams; + export type SourceResource = Stripe_.SourceResource; + export type Subscription = Stripe_.Subscription; + export type SubscriptionCreateParams = Stripe_.SubscriptionCreateParams; + export type SubscriptionRetrieveParams = Stripe_.SubscriptionRetrieveParams; + export type SubscriptionUpdateParams = Stripe_.SubscriptionUpdateParams; + export type SubscriptionListParams = Stripe_.SubscriptionListParams; + export type SubscriptionAttachCadenceParams = Stripe_.SubscriptionAttachCadenceParams; + export type SubscriptionCancelParams = Stripe_.SubscriptionCancelParams; + export type SubscriptionDeleteDiscountParams = Stripe_.SubscriptionDeleteDiscountParams; + export type SubscriptionMigrateParams = Stripe_.SubscriptionMigrateParams; + export type SubscriptionPauseParams = Stripe_.SubscriptionPauseParams; + export type SubscriptionResumeParams = Stripe_.SubscriptionResumeParams; + export type SubscriptionSearchParams = Stripe_.SubscriptionSearchParams; + export type SubscriptionSerializeBatchCancelParams = Stripe_.SubscriptionSerializeBatchCancelParams; + export type SubscriptionSerializeBatchCreateParams = Stripe_.SubscriptionSerializeBatchCreateParams; + export type SubscriptionSerializeBatchMigrateParams = Stripe_.SubscriptionSerializeBatchMigrateParams; + export type SubscriptionSerializeBatchPauseParams = Stripe_.SubscriptionSerializeBatchPauseParams; + export type SubscriptionSerializeBatchResumeParams = Stripe_.SubscriptionSerializeBatchResumeParams; + export type SubscriptionSerializeBatchUpdateParams = Stripe_.SubscriptionSerializeBatchUpdateParams; + export type SubscriptionResource = Stripe_.SubscriptionResource; + export type SubscriptionItem = Stripe_.SubscriptionItem; + export type DeletedSubscriptionItem = Stripe_.DeletedSubscriptionItem; + export type SubscriptionItemCreateParams = Stripe_.SubscriptionItemCreateParams; + export type SubscriptionItemRetrieveParams = Stripe_.SubscriptionItemRetrieveParams; + export type SubscriptionItemUpdateParams = Stripe_.SubscriptionItemUpdateParams; + export type SubscriptionItemListParams = Stripe_.SubscriptionItemListParams; + export type SubscriptionItemDeleteParams = Stripe_.SubscriptionItemDeleteParams; + export type SubscriptionItemSerializeBatchCreateParams = Stripe_.SubscriptionItemSerializeBatchCreateParams; + export type SubscriptionItemSerializeBatchDeleteParams = Stripe_.SubscriptionItemSerializeBatchDeleteParams; + export type SubscriptionItemSerializeBatchUpdateParams = Stripe_.SubscriptionItemSerializeBatchUpdateParams; + export type SubscriptionItemResource = Stripe_.SubscriptionItemResource; + export type SubscriptionSchedule = Stripe_.SubscriptionSchedule; + export type SubscriptionScheduleCreateParams = Stripe_.SubscriptionScheduleCreateParams; + export type SubscriptionScheduleRetrieveParams = Stripe_.SubscriptionScheduleRetrieveParams; + export type SubscriptionScheduleUpdateParams = Stripe_.SubscriptionScheduleUpdateParams; + export type SubscriptionScheduleListParams = Stripe_.SubscriptionScheduleListParams; + export type SubscriptionScheduleAmendParams = Stripe_.SubscriptionScheduleAmendParams; + export type SubscriptionScheduleCancelParams = Stripe_.SubscriptionScheduleCancelParams; + export type SubscriptionScheduleReleaseParams = Stripe_.SubscriptionScheduleReleaseParams; + export type SubscriptionScheduleSerializeBatchCancelParams = Stripe_.SubscriptionScheduleSerializeBatchCancelParams; + export type SubscriptionScheduleSerializeBatchCreateParams = Stripe_.SubscriptionScheduleSerializeBatchCreateParams; + export type SubscriptionScheduleSerializeBatchReleaseParams = Stripe_.SubscriptionScheduleSerializeBatchReleaseParams; + export type SubscriptionScheduleSerializeBatchUpdateParams = Stripe_.SubscriptionScheduleSerializeBatchUpdateParams; + export type SubscriptionScheduleResource = Stripe_.SubscriptionScheduleResource; + export type TaxCode = Stripe_.TaxCode; + export type TaxCodeRetrieveParams = Stripe_.TaxCodeRetrieveParams; + export type TaxCodeListParams = Stripe_.TaxCodeListParams; + export type TaxCodeResource = Stripe_.TaxCodeResource; + export type TaxFund = Stripe_.TaxFund; + export type TaxFundRetrieveParams = Stripe_.TaxFundRetrieveParams; + export type TaxFundListParams = Stripe_.TaxFundListParams; + export type TaxFundResource = Stripe_.TaxFundResource; + export type TaxId = Stripe_.TaxId; + export type DeletedTaxId = Stripe_.DeletedTaxId; + export type TaxIdCreateParams = Stripe_.TaxIdCreateParams; + export type TaxIdRetrieveParams = Stripe_.TaxIdRetrieveParams; + export type TaxIdListParams = Stripe_.TaxIdListParams; + export type TaxIdDeleteParams = Stripe_.TaxIdDeleteParams; + export type TaxIdSerializeBatchCreateParams = Stripe_.TaxIdSerializeBatchCreateParams; + export type TaxIdResource = Stripe_.TaxIdResource; + export type TaxRate = Stripe_.TaxRate; + export type TaxRateCreateParams = Stripe_.TaxRateCreateParams; + export type TaxRateRetrieveParams = Stripe_.TaxRateRetrieveParams; + export type TaxRateUpdateParams = Stripe_.TaxRateUpdateParams; + export type TaxRateListParams = Stripe_.TaxRateListParams; + export type TaxRateSerializeBatchCreateParams = Stripe_.TaxRateSerializeBatchCreateParams; + export type TaxRateSerializeBatchUpdateParams = Stripe_.TaxRateSerializeBatchUpdateParams; + export type TaxRateResource = Stripe_.TaxRateResource; + export type Token = Stripe_.Token; + export type TokenCreateParams = Stripe_.TokenCreateParams; + export type TokenRetrieveParams = Stripe_.TokenRetrieveParams; + export type TokenResource = Stripe_.TokenResource; + export type Topup = Stripe_.Topup; + export type TopupCreateParams = Stripe_.TopupCreateParams; + export type TopupRetrieveParams = Stripe_.TopupRetrieveParams; + export type TopupUpdateParams = Stripe_.TopupUpdateParams; + export type TopupListParams = Stripe_.TopupListParams; + export type TopupCancelParams = Stripe_.TopupCancelParams; + export type TopupResource = Stripe_.TopupResource; + export type Transfer = Stripe_.Transfer; + export type TransferCreateParams = Stripe_.TransferCreateParams; + export type TransferRetrieveParams = Stripe_.TransferRetrieveParams; + export type TransferUpdateParams = Stripe_.TransferUpdateParams; + export type TransferListParams = Stripe_.TransferListParams; + export type TransferCreateReversalParams = Stripe_.TransferCreateReversalParams; + export type TransferListReversalsParams = Stripe_.TransferListReversalsParams; + export type TransferRetrieveReversalParams = Stripe_.TransferRetrieveReversalParams; + export type TransferUpdateReversalParams = Stripe_.TransferUpdateReversalParams; + export type TransferResource = Stripe_.TransferResource; + export type WebhookEndpoint = Stripe_.WebhookEndpoint; + export type DeletedWebhookEndpoint = Stripe_.DeletedWebhookEndpoint; + export type WebhookEndpointCreateParams = Stripe_.WebhookEndpointCreateParams; + export type WebhookEndpointRetrieveParams = Stripe_.WebhookEndpointRetrieveParams; + export type WebhookEndpointUpdateParams = Stripe_.WebhookEndpointUpdateParams; + export type WebhookEndpointListParams = Stripe_.WebhookEndpointListParams; + export type WebhookEndpointDeleteParams = Stripe_.WebhookEndpointDeleteParams; + export type WebhookEndpointResource = Stripe_.WebhookEndpointResource; + export type Application = Stripe_.Application; + export type DeletedApplication = Stripe_.DeletedApplication; + export type BalanceTransactionSource = Stripe_.BalanceTransactionSource; + export type BankAccount = Stripe_.BankAccount; + export type DeletedBankAccount = Stripe_.DeletedBankAccount; + export type Card = Stripe_.Card; + export type DeletedCard = Stripe_.DeletedCard; + export type ConnectCollectionTransfer = Stripe_.ConnectCollectionTransfer; + export type Discount = Stripe_.Discount; + export type DeletedDiscount = Stripe_.DeletedDiscount; + export type FundingInstructions = Stripe_.FundingInstructions; + export type LineItem = Stripe_.LineItem; + export type PaymentMethodBalance = Stripe_.PaymentMethodBalance; + export type Profile = Stripe_.Profile; + export type QuoteLine = Stripe_.QuoteLine; + export type ReserveTransaction = Stripe_.ReserveTransaction; + export type RiskSignals = Stripe_.RiskSignals; + export type SourceMandateNotification = Stripe_.SourceMandateNotification; + export type SourceTransaction = Stripe_.SourceTransaction; + export type TaxDeductedAtSource = Stripe_.TaxDeductedAtSource; + export type TransitBalance = Stripe_.TransitBalance; + export type AccountSignals = Stripe_.AccountSignals; + export type Capability = Stripe_.Capability; + export type LoginLink = Stripe_.LoginLink; + export type Person = Stripe_.Person; + export type DeletedPerson = Stripe_.DeletedPerson; + export type FeeRefund = Stripe_.FeeRefund; + export type CreditNoteLineItem = Stripe_.CreditNoteLineItem; + export type CustomerBalanceTransaction = Stripe_.CustomerBalanceTransaction; + export type CashBalance = Stripe_.CashBalance; + export type CustomerCashBalanceTransaction = Stripe_.CustomerCashBalanceTransaction; + export type CustomerSource = Stripe_.CustomerSource; + export type DeletedCustomerSource = Stripe_.DeletedCustomerSource; + export type InvoiceLineItem = Stripe_.InvoiceLineItem; + export type PaymentIntentAmountDetailsLineItem = Stripe_.PaymentIntentAmountDetailsLineItem; + export type ProductFeature = Stripe_.ProductFeature; + export type DeletedProductFeature = Stripe_.DeletedProductFeature; + export type QuotePreviewInvoice = Stripe_.QuotePreviewInvoice; + export type QuotePreviewSubscriptionSchedule = Stripe_.QuotePreviewSubscriptionSchedule; + export type TransferReversal = Stripe_.TransferReversal; export namespace AccountCreateParams { - export type BusinessProfile = Stripe.AccountCreateParams.BusinessProfile; - export type BusinessType = Stripe.AccountCreateParams.BusinessType; - export type Capabilities = Stripe.AccountCreateParams.Capabilities; - export type Company = Stripe.AccountCreateParams.Company; - export type Controller = Stripe.AccountCreateParams.Controller; - export type Documents = Stripe.AccountCreateParams.Documents; - export type ExternalAccount = Stripe.AccountCreateParams.ExternalAccount; - export type Groups = Stripe.AccountCreateParams.Groups; - export type Individual = Stripe.AccountCreateParams.Individual; - export type RiskControls = Stripe.AccountCreateParams.RiskControls; - export type Settings = Stripe.AccountCreateParams.Settings; - export type TosAcceptance = Stripe.AccountCreateParams.TosAcceptance; - export type Type = Stripe.AccountCreateParams.Type; + export type BusinessProfile = Stripe_.AccountCreateParams.BusinessProfile; + export type BusinessType = Stripe_.AccountCreateParams.BusinessType; + export type Capabilities = Stripe_.AccountCreateParams.Capabilities; + export type Company = Stripe_.AccountCreateParams.Company; + export type Controller = Stripe_.AccountCreateParams.Controller; + export type Documents = Stripe_.AccountCreateParams.Documents; + export type ExternalAccount = Stripe_.AccountCreateParams.ExternalAccount; + export type Groups = Stripe_.AccountCreateParams.Groups; + export type Individual = Stripe_.AccountCreateParams.Individual; + export type RiskControls = Stripe_.AccountCreateParams.RiskControls; + export type Settings = Stripe_.AccountCreateParams.Settings; + export type TosAcceptance = Stripe_.AccountCreateParams.TosAcceptance; + export type Type = Stripe_.AccountCreateParams.Type; + export namespace BusinessProfile { + export type AnnualRevenue = Stripe_.AccountCreateParams.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe_.AccountCreateParams.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe_.AccountCreateParams.BusinessProfile.MonthlyEstimatedRevenue; + } + export namespace Capabilities { + export type AcssDebitPayments = Stripe_.AccountCreateParams.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe_.AccountCreateParams.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe_.AccountCreateParams.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe_.AccountCreateParams.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe_.AccountCreateParams.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe_.AccountCreateParams.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe_.AccountCreateParams.Capabilities.AuBecsDebitPayments; + export type AutomaticIndirectTax = Stripe_.AccountCreateParams.Capabilities.AutomaticIndirectTax; + export type BacsDebitPayments = Stripe_.AccountCreateParams.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe_.AccountCreateParams.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe_.AccountCreateParams.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe_.AccountCreateParams.Capabilities.BilliePayments; + export type BizumPayments = Stripe_.AccountCreateParams.Capabilities.BizumPayments; + export type BlikPayments = Stripe_.AccountCreateParams.Capabilities.BlikPayments; + export type BoletoPayments = Stripe_.AccountCreateParams.Capabilities.BoletoPayments; + export type CardIssuing = Stripe_.AccountCreateParams.Capabilities.CardIssuing; + export type CardPayments = Stripe_.AccountCreateParams.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe_.AccountCreateParams.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe_.AccountCreateParams.Capabilities.CashappPayments; + export type CryptoPayments = Stripe_.AccountCreateParams.Capabilities.CryptoPayments; + export type EpsPayments = Stripe_.AccountCreateParams.Capabilities.EpsPayments; + export type FpxPayments = Stripe_.AccountCreateParams.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe_.AccountCreateParams.Capabilities.GiropayPayments; + export type GopayPayments = Stripe_.AccountCreateParams.Capabilities.GopayPayments; + export type GrabpayPayments = Stripe_.AccountCreateParams.Capabilities.GrabpayPayments; + export type IdBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.IdBankTransferPayments; + export type IdBankTransferPaymentsBca = Stripe_.AccountCreateParams.Capabilities.IdBankTransferPaymentsBca; + export type IdealPayments = Stripe_.AccountCreateParams.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe_.AccountCreateParams.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe_.AccountCreateParams.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe_.AccountCreateParams.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe_.AccountCreateParams.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe_.AccountCreateParams.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe_.AccountCreateParams.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe_.AccountCreateParams.Capabilities.LegacyPayments; + export type LinkPayments = Stripe_.AccountCreateParams.Capabilities.LinkPayments; + export type MbWayPayments = Stripe_.AccountCreateParams.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe_.AccountCreateParams.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe_.AccountCreateParams.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe_.AccountCreateParams.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe_.AccountCreateParams.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe_.AccountCreateParams.Capabilities.OxxoPayments; + export type P24Payments = Stripe_.AccountCreateParams.Capabilities.P24Payments; + export type PayByBankPayments = Stripe_.AccountCreateParams.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe_.AccountCreateParams.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe_.AccountCreateParams.Capabilities.PaynowPayments; + export type PaypalPayments = Stripe_.AccountCreateParams.Capabilities.PaypalPayments; + export type PaypayPayments = Stripe_.AccountCreateParams.Capabilities.PaypayPayments; + export type PaytoPayments = Stripe_.AccountCreateParams.Capabilities.PaytoPayments; + export type PixPayments = Stripe_.AccountCreateParams.Capabilities.PixPayments; + export type PromptpayPayments = Stripe_.AccountCreateParams.Capabilities.PromptpayPayments; + export type QrisPayments = Stripe_.AccountCreateParams.Capabilities.QrisPayments; + export type RechnungPayments = Stripe_.AccountCreateParams.Capabilities.RechnungPayments; + export type RevolutPayPayments = Stripe_.AccountCreateParams.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe_.AccountCreateParams.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe_.AccountCreateParams.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe_.AccountCreateParams.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe_.AccountCreateParams.Capabilities.SepaDebitPayments; + export type ShopeepayPayments = Stripe_.AccountCreateParams.Capabilities.ShopeepayPayments; + export type SofortPayments = Stripe_.AccountCreateParams.Capabilities.SofortPayments; + export type StripeBalancePayments = Stripe_.AccountCreateParams.Capabilities.StripeBalancePayments; + export type SunbitPayments = Stripe_.AccountCreateParams.Capabilities.SunbitPayments; + export type SwishPayments = Stripe_.AccountCreateParams.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe_.AccountCreateParams.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe_.AccountCreateParams.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe_.AccountCreateParams.Capabilities.Transfers; + export type Treasury = Stripe_.AccountCreateParams.Capabilities.Treasury; + export type TreasuryEvolve = Stripe_.AccountCreateParams.Capabilities.TreasuryEvolve; + export type TreasuryFifthThird = Stripe_.AccountCreateParams.Capabilities.TreasuryFifthThird; + export type TreasuryGoldmanSachs = Stripe_.AccountCreateParams.Capabilities.TreasuryGoldmanSachs; + export type TwintPayments = Stripe_.AccountCreateParams.Capabilities.TwintPayments; + export type UpiPayments = Stripe_.AccountCreateParams.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe_.AccountCreateParams.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe_.AccountCreateParams.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe_.AccountCreateParams.Capabilities.ZipPayments; + export namespace CardPayments { + export type Protections = Stripe_.AccountCreateParams.Capabilities.CardPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.AccountCreateParams.Capabilities.CardPayments.Protections.PspMigration; + } + } + } + export namespace Company { + export type DirectorshipDeclaration = Stripe_.AccountCreateParams.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.AccountCreateParams.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe_.AccountCreateParams.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe_.AccountCreateParams.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe_.AccountCreateParams.Company.RepresentativeDeclaration; + export type Structure = Stripe_.AccountCreateParams.Company.Structure; + export type Verification = Stripe_.AccountCreateParams.Company.Verification; + export namespace Verification { + export type Document = Stripe_.AccountCreateParams.Company.Verification.Document; + } + } + export namespace Controller { + export type Application = Stripe_.AccountCreateParams.Controller.Application; + export type Dashboard = Stripe_.AccountCreateParams.Controller.Dashboard; + export type Fees = Stripe_.AccountCreateParams.Controller.Fees; + export type Losses = Stripe_.AccountCreateParams.Controller.Losses; + export type RequirementCollection = Stripe_.AccountCreateParams.Controller.RequirementCollection; + export type StripeDashboard = Stripe_.AccountCreateParams.Controller.StripeDashboard; + export namespace Dashboard { + export type Type = Stripe_.AccountCreateParams.Controller.Dashboard.Type; + } + export namespace Fees { + export type Payer = Stripe_.AccountCreateParams.Controller.Fees.Payer; + } + export namespace Losses { + export type Payments = Stripe_.AccountCreateParams.Controller.Losses.Payments; + } + export namespace StripeDashboard { + export type Type = Stripe_.AccountCreateParams.Controller.StripeDashboard.Type; + } + } + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe_.AccountCreateParams.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe_.AccountCreateParams.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe_.AccountCreateParams.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe_.AccountCreateParams.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe_.AccountCreateParams.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe_.AccountCreateParams.Documents.CompanyTaxIdVerification; + export type ProofOfAddress = Stripe_.AccountCreateParams.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe_.AccountCreateParams.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe_.AccountCreateParams.Documents.ProofOfUltimateBeneficialOwnership; + export namespace ProofOfRegistration { + export type Signer = Stripe_.AccountCreateParams.Documents.ProofOfRegistration.Signer; + } + export namespace ProofOfUltimateBeneficialOwnership { + export type Signer = Stripe_.AccountCreateParams.Documents.ProofOfUltimateBeneficialOwnership.Signer; + } + } + export namespace Individual { + export type Dob = Stripe_.AccountCreateParams.Individual.Dob; + export type PoliticalExposure = Stripe_.AccountCreateParams.Individual.PoliticalExposure; + export type Relationship = Stripe_.AccountCreateParams.Individual.Relationship; + export type SelfReportedIncome = Stripe_.AccountCreateParams.Individual.SelfReportedIncome; + export type SelfReportedMonthlyHousingPayment = Stripe_.AccountCreateParams.Individual.SelfReportedMonthlyHousingPayment; + export type Verification = Stripe_.AccountCreateParams.Individual.Verification; + export namespace Verification { + export type AdditionalDocument = Stripe_.AccountCreateParams.Individual.Verification.AdditionalDocument; + export type Document = Stripe_.AccountCreateParams.Individual.Verification.Document; + } + } + export namespace RiskControls { + export type Charges = Stripe_.AccountCreateParams.RiskControls.Charges; + export type Payouts = Stripe_.AccountCreateParams.RiskControls.Payouts; + } + export namespace Settings { + export type BacsDebitPayments = Stripe_.AccountCreateParams.Settings.BacsDebitPayments; + export type BankBcaOnboarding = Stripe_.AccountCreateParams.Settings.BankBcaOnboarding; + export type Branding = Stripe_.AccountCreateParams.Settings.Branding; + export type Capital = Stripe_.AccountCreateParams.Settings.Capital; + export type CardIssuing = Stripe_.AccountCreateParams.Settings.CardIssuing; + export type CardPayments = Stripe_.AccountCreateParams.Settings.CardPayments; + export type Invoices = Stripe_.AccountCreateParams.Settings.Invoices; + export type Payments = Stripe_.AccountCreateParams.Settings.Payments; + export type Payouts = Stripe_.AccountCreateParams.Settings.Payouts; + export type PaypayPayments = Stripe_.AccountCreateParams.Settings.PaypayPayments; + export type SmartDisputes = Stripe_.AccountCreateParams.Settings.SmartDisputes; + export type TaxForms = Stripe_.AccountCreateParams.Settings.TaxForms; + export type Treasury = Stripe_.AccountCreateParams.Settings.Treasury; + export namespace CardIssuing { + export type TosAcceptance = Stripe_.AccountCreateParams.Settings.CardIssuing.TosAcceptance; + } + export namespace CardPayments { + export type DeclineOn = Stripe_.AccountCreateParams.Settings.CardPayments.DeclineOn; + } + export namespace Invoices { + export type HostedPaymentMethodSave = Stripe_.AccountCreateParams.Settings.Invoices.HostedPaymentMethodSave; + } + export namespace Payouts { + export type Schedule = Stripe_.AccountCreateParams.Settings.Payouts.Schedule; + export namespace Schedule { + export type Interval = Stripe_.AccountCreateParams.Settings.Payouts.Schedule.Interval; + export type WeeklyAnchor = Stripe_.AccountCreateParams.Settings.Payouts.Schedule.WeeklyAnchor; + export type WeeklyPayoutDay = Stripe_.AccountCreateParams.Settings.Payouts.Schedule.WeeklyPayoutDay; + } + } + export namespace PaypayPayments { + export type GoodsType = Stripe_.AccountCreateParams.Settings.PaypayPayments.GoodsType; + export type Site = Stripe_.AccountCreateParams.Settings.PaypayPayments.Site; + export namespace Site { + export type Accessible = Stripe_.AccountCreateParams.Settings.PaypayPayments.Site.Accessible; + export type InDevelopment = Stripe_.AccountCreateParams.Settings.PaypayPayments.Site.InDevelopment; + export type Restricted = Stripe_.AccountCreateParams.Settings.PaypayPayments.Site.Restricted; + export type Type = Stripe_.AccountCreateParams.Settings.PaypayPayments.Site.Type; + } + } + export namespace SmartDisputes { + export type AutoRespond = Stripe_.AccountCreateParams.Settings.SmartDisputes.AutoRespond; + export namespace AutoRespond { + export type Preference = Stripe_.AccountCreateParams.Settings.SmartDisputes.AutoRespond.Preference; + } + } + export namespace Treasury { + export type TosAcceptance = Stripe_.AccountCreateParams.Settings.Treasury.TosAcceptance; + } + } } export namespace AccountUpdateParams { - export type BusinessProfile = Stripe.AccountUpdateParams.BusinessProfile; - export type BusinessType = Stripe.AccountUpdateParams.BusinessType; - export type Capabilities = Stripe.AccountUpdateParams.Capabilities; - export type Company = Stripe.AccountUpdateParams.Company; - export type Documents = Stripe.AccountUpdateParams.Documents; - export type BankAccount = Stripe.AccountUpdateParams.BankAccount; - export type Card = Stripe.AccountUpdateParams.Card; - export type CardToken = Stripe.AccountUpdateParams.CardToken; - export type Groups = Stripe.AccountUpdateParams.Groups; - export type Individual = Stripe.AccountUpdateParams.Individual; - export type RiskControls = Stripe.AccountUpdateParams.RiskControls; - export type Settings = Stripe.AccountUpdateParams.Settings; - export type TosAcceptance = Stripe.AccountUpdateParams.TosAcceptance; + export type BusinessProfile = Stripe_.AccountUpdateParams.BusinessProfile; + export type BusinessType = Stripe_.AccountUpdateParams.BusinessType; + export type Capabilities = Stripe_.AccountUpdateParams.Capabilities; + export type Company = Stripe_.AccountUpdateParams.Company; + export type Documents = Stripe_.AccountUpdateParams.Documents; + export type BankAccount = Stripe_.AccountUpdateParams.BankAccount; + export type Card = Stripe_.AccountUpdateParams.Card; + export type CardToken = Stripe_.AccountUpdateParams.CardToken; + export type Groups = Stripe_.AccountUpdateParams.Groups; + export type Individual = Stripe_.AccountUpdateParams.Individual; + export type RiskControls = Stripe_.AccountUpdateParams.RiskControls; + export type Settings = Stripe_.AccountUpdateParams.Settings; + export type TosAcceptance = Stripe_.AccountUpdateParams.TosAcceptance; + export namespace BankAccount { + export type AccountHolderType = Stripe_.AccountUpdateParams.BankAccount.AccountHolderType; + } + export namespace BusinessProfile { + export type AnnualRevenue = Stripe_.AccountUpdateParams.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe_.AccountUpdateParams.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe_.AccountUpdateParams.BusinessProfile.MonthlyEstimatedRevenue; + } + export namespace Capabilities { + export type AcssDebitPayments = Stripe_.AccountUpdateParams.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe_.AccountUpdateParams.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe_.AccountUpdateParams.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe_.AccountUpdateParams.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe_.AccountUpdateParams.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe_.AccountUpdateParams.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe_.AccountUpdateParams.Capabilities.AuBecsDebitPayments; + export type AutomaticIndirectTax = Stripe_.AccountUpdateParams.Capabilities.AutomaticIndirectTax; + export type BacsDebitPayments = Stripe_.AccountUpdateParams.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe_.AccountUpdateParams.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe_.AccountUpdateParams.Capabilities.BilliePayments; + export type BizumPayments = Stripe_.AccountUpdateParams.Capabilities.BizumPayments; + export type BlikPayments = Stripe_.AccountUpdateParams.Capabilities.BlikPayments; + export type BoletoPayments = Stripe_.AccountUpdateParams.Capabilities.BoletoPayments; + export type CardIssuing = Stripe_.AccountUpdateParams.Capabilities.CardIssuing; + export type CardPayments = Stripe_.AccountUpdateParams.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe_.AccountUpdateParams.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe_.AccountUpdateParams.Capabilities.CashappPayments; + export type CryptoPayments = Stripe_.AccountUpdateParams.Capabilities.CryptoPayments; + export type EpsPayments = Stripe_.AccountUpdateParams.Capabilities.EpsPayments; + export type FpxPayments = Stripe_.AccountUpdateParams.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe_.AccountUpdateParams.Capabilities.GiropayPayments; + export type GopayPayments = Stripe_.AccountUpdateParams.Capabilities.GopayPayments; + export type GrabpayPayments = Stripe_.AccountUpdateParams.Capabilities.GrabpayPayments; + export type IdBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.IdBankTransferPayments; + export type IdBankTransferPaymentsBca = Stripe_.AccountUpdateParams.Capabilities.IdBankTransferPaymentsBca; + export type IdealPayments = Stripe_.AccountUpdateParams.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe_.AccountUpdateParams.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe_.AccountUpdateParams.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe_.AccountUpdateParams.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe_.AccountUpdateParams.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe_.AccountUpdateParams.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe_.AccountUpdateParams.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe_.AccountUpdateParams.Capabilities.LegacyPayments; + export type LinkPayments = Stripe_.AccountUpdateParams.Capabilities.LinkPayments; + export type MbWayPayments = Stripe_.AccountUpdateParams.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe_.AccountUpdateParams.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe_.AccountUpdateParams.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe_.AccountUpdateParams.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe_.AccountUpdateParams.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe_.AccountUpdateParams.Capabilities.OxxoPayments; + export type P24Payments = Stripe_.AccountUpdateParams.Capabilities.P24Payments; + export type PayByBankPayments = Stripe_.AccountUpdateParams.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe_.AccountUpdateParams.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe_.AccountUpdateParams.Capabilities.PaynowPayments; + export type PaypalPayments = Stripe_.AccountUpdateParams.Capabilities.PaypalPayments; + export type PaypayPayments = Stripe_.AccountUpdateParams.Capabilities.PaypayPayments; + export type PaytoPayments = Stripe_.AccountUpdateParams.Capabilities.PaytoPayments; + export type PixPayments = Stripe_.AccountUpdateParams.Capabilities.PixPayments; + export type PromptpayPayments = Stripe_.AccountUpdateParams.Capabilities.PromptpayPayments; + export type QrisPayments = Stripe_.AccountUpdateParams.Capabilities.QrisPayments; + export type RechnungPayments = Stripe_.AccountUpdateParams.Capabilities.RechnungPayments; + export type RevolutPayPayments = Stripe_.AccountUpdateParams.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe_.AccountUpdateParams.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe_.AccountUpdateParams.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe_.AccountUpdateParams.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe_.AccountUpdateParams.Capabilities.SepaDebitPayments; + export type ShopeepayPayments = Stripe_.AccountUpdateParams.Capabilities.ShopeepayPayments; + export type SofortPayments = Stripe_.AccountUpdateParams.Capabilities.SofortPayments; + export type StripeBalancePayments = Stripe_.AccountUpdateParams.Capabilities.StripeBalancePayments; + export type SunbitPayments = Stripe_.AccountUpdateParams.Capabilities.SunbitPayments; + export type SwishPayments = Stripe_.AccountUpdateParams.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe_.AccountUpdateParams.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe_.AccountUpdateParams.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe_.AccountUpdateParams.Capabilities.Transfers; + export type Treasury = Stripe_.AccountUpdateParams.Capabilities.Treasury; + export type TreasuryEvolve = Stripe_.AccountUpdateParams.Capabilities.TreasuryEvolve; + export type TreasuryFifthThird = Stripe_.AccountUpdateParams.Capabilities.TreasuryFifthThird; + export type TreasuryGoldmanSachs = Stripe_.AccountUpdateParams.Capabilities.TreasuryGoldmanSachs; + export type TwintPayments = Stripe_.AccountUpdateParams.Capabilities.TwintPayments; + export type UpiPayments = Stripe_.AccountUpdateParams.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe_.AccountUpdateParams.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe_.AccountUpdateParams.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe_.AccountUpdateParams.Capabilities.ZipPayments; + export namespace CardPayments { + export type Protections = Stripe_.AccountUpdateParams.Capabilities.CardPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.AccountUpdateParams.Capabilities.CardPayments.Protections.PspMigration; + } + } + } + export namespace Company { + export type DirectorshipDeclaration = Stripe_.AccountUpdateParams.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.AccountUpdateParams.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe_.AccountUpdateParams.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe_.AccountUpdateParams.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe_.AccountUpdateParams.Company.RepresentativeDeclaration; + export type Structure = Stripe_.AccountUpdateParams.Company.Structure; + export type Verification = Stripe_.AccountUpdateParams.Company.Verification; + export namespace Verification { + export type Document = Stripe_.AccountUpdateParams.Company.Verification.Document; + } + } + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe_.AccountUpdateParams.Documents.BankAccountOwnershipVerification; + export type CompanyLicense = Stripe_.AccountUpdateParams.Documents.CompanyLicense; + export type CompanyMemorandumOfAssociation = Stripe_.AccountUpdateParams.Documents.CompanyMemorandumOfAssociation; + export type CompanyMinisterialDecree = Stripe_.AccountUpdateParams.Documents.CompanyMinisterialDecree; + export type CompanyRegistrationVerification = Stripe_.AccountUpdateParams.Documents.CompanyRegistrationVerification; + export type CompanyTaxIdVerification = Stripe_.AccountUpdateParams.Documents.CompanyTaxIdVerification; + export type ProofOfAddress = Stripe_.AccountUpdateParams.Documents.ProofOfAddress; + export type ProofOfRegistration = Stripe_.AccountUpdateParams.Documents.ProofOfRegistration; + export type ProofOfUltimateBeneficialOwnership = Stripe_.AccountUpdateParams.Documents.ProofOfUltimateBeneficialOwnership; + export namespace ProofOfRegistration { + export type Signer = Stripe_.AccountUpdateParams.Documents.ProofOfRegistration.Signer; + } + export namespace ProofOfUltimateBeneficialOwnership { + export type Signer = Stripe_.AccountUpdateParams.Documents.ProofOfUltimateBeneficialOwnership.Signer; + } + } + export namespace Individual { + export type Dob = Stripe_.AccountUpdateParams.Individual.Dob; + export type PoliticalExposure = Stripe_.AccountUpdateParams.Individual.PoliticalExposure; + export type Relationship = Stripe_.AccountUpdateParams.Individual.Relationship; + export type SelfReportedIncome = Stripe_.AccountUpdateParams.Individual.SelfReportedIncome; + export type SelfReportedMonthlyHousingPayment = Stripe_.AccountUpdateParams.Individual.SelfReportedMonthlyHousingPayment; + export type Verification = Stripe_.AccountUpdateParams.Individual.Verification; + export namespace Verification { + export type AdditionalDocument = Stripe_.AccountUpdateParams.Individual.Verification.AdditionalDocument; + export type Document = Stripe_.AccountUpdateParams.Individual.Verification.Document; + } + } + export namespace RiskControls { + export type Charges = Stripe_.AccountUpdateParams.RiskControls.Charges; + export type Payouts = Stripe_.AccountUpdateParams.RiskControls.Payouts; + } + export namespace Settings { + export type BacsDebitPayments = Stripe_.AccountUpdateParams.Settings.BacsDebitPayments; + export type BankBcaOnboarding = Stripe_.AccountUpdateParams.Settings.BankBcaOnboarding; + export type Branding = Stripe_.AccountUpdateParams.Settings.Branding; + export type Capital = Stripe_.AccountUpdateParams.Settings.Capital; + export type CardIssuing = Stripe_.AccountUpdateParams.Settings.CardIssuing; + export type CardPayments = Stripe_.AccountUpdateParams.Settings.CardPayments; + export type Invoices = Stripe_.AccountUpdateParams.Settings.Invoices; + export type Payments = Stripe_.AccountUpdateParams.Settings.Payments; + export type Payouts = Stripe_.AccountUpdateParams.Settings.Payouts; + export type PaypayPayments = Stripe_.AccountUpdateParams.Settings.PaypayPayments; + export type SmartDisputes = Stripe_.AccountUpdateParams.Settings.SmartDisputes; + export type TaxForms = Stripe_.AccountUpdateParams.Settings.TaxForms; + export type Treasury = Stripe_.AccountUpdateParams.Settings.Treasury; + export namespace CardIssuing { + export type TosAcceptance = Stripe_.AccountUpdateParams.Settings.CardIssuing.TosAcceptance; + } + export namespace CardPayments { + export type DeclineOn = Stripe_.AccountUpdateParams.Settings.CardPayments.DeclineOn; + } + export namespace Invoices { + export type HostedPaymentMethodSave = Stripe_.AccountUpdateParams.Settings.Invoices.HostedPaymentMethodSave; + } + export namespace Payouts { + export type Schedule = Stripe_.AccountUpdateParams.Settings.Payouts.Schedule; + export namespace Schedule { + export type Interval = Stripe_.AccountUpdateParams.Settings.Payouts.Schedule.Interval; + export type WeeklyAnchor = Stripe_.AccountUpdateParams.Settings.Payouts.Schedule.WeeklyAnchor; + export type WeeklyPayoutDay = Stripe_.AccountUpdateParams.Settings.Payouts.Schedule.WeeklyPayoutDay; + } + } + export namespace PaypayPayments { + export type GoodsType = Stripe_.AccountUpdateParams.Settings.PaypayPayments.GoodsType; + export type Site = Stripe_.AccountUpdateParams.Settings.PaypayPayments.Site; + export namespace Site { + export type Accessible = Stripe_.AccountUpdateParams.Settings.PaypayPayments.Site.Accessible; + export type InDevelopment = Stripe_.AccountUpdateParams.Settings.PaypayPayments.Site.InDevelopment; + export type Restricted = Stripe_.AccountUpdateParams.Settings.PaypayPayments.Site.Restricted; + export type Type = Stripe_.AccountUpdateParams.Settings.PaypayPayments.Site.Type; + } + } + export namespace SmartDisputes { + export type AutoRespond = Stripe_.AccountUpdateParams.Settings.SmartDisputes.AutoRespond; + export namespace AutoRespond { + export type Preference = Stripe_.AccountUpdateParams.Settings.SmartDisputes.AutoRespond.Preference; + } + } + export namespace Treasury { + export type TosAcceptance = Stripe_.AccountUpdateParams.Settings.Treasury.TosAcceptance; + } + } } export namespace AccountCreateExternalAccountParams { export type Card = Stripe_.AccountCreateExternalAccountParams.Card; @@ -708,15 +1107,37 @@ declare namespace StripeConstructor { } } export namespace AccountCreatePersonParams { - export type AdditionalTosAcceptances = Stripe.AccountCreatePersonParams.AdditionalTosAcceptances; - export type Dob = Stripe.AccountCreatePersonParams.Dob; - export type Documents = Stripe.AccountCreatePersonParams.Documents; - export type PoliticalExposure = Stripe.AccountCreatePersonParams.PoliticalExposure; - export type Relationship = Stripe.AccountCreatePersonParams.Relationship; - export type SelfReportedIncome = Stripe.AccountCreatePersonParams.SelfReportedIncome; - export type SelfReportedMonthlyHousingPayment = Stripe.AccountCreatePersonParams.SelfReportedMonthlyHousingPayment; - export type UsCfpbData = Stripe.AccountCreatePersonParams.UsCfpbData; - export type Verification = Stripe.AccountCreatePersonParams.Verification; + export type AdditionalTosAcceptances = Stripe_.AccountCreatePersonParams.AdditionalTosAcceptances; + export type Dob = Stripe_.AccountCreatePersonParams.Dob; + export type Documents = Stripe_.AccountCreatePersonParams.Documents; + export type PoliticalExposure = Stripe_.AccountCreatePersonParams.PoliticalExposure; + export type Relationship = Stripe_.AccountCreatePersonParams.Relationship; + export type SelfReportedIncome = Stripe_.AccountCreatePersonParams.SelfReportedIncome; + export type SelfReportedMonthlyHousingPayment = Stripe_.AccountCreatePersonParams.SelfReportedMonthlyHousingPayment; + export type UsCfpbData = Stripe_.AccountCreatePersonParams.UsCfpbData; + export type Verification = Stripe_.AccountCreatePersonParams.Verification; + export namespace AdditionalTosAcceptances { + export type Account = Stripe_.AccountCreatePersonParams.AdditionalTosAcceptances.Account; + } + export namespace Documents { + export type CompanyAuthorization = Stripe_.AccountCreatePersonParams.Documents.CompanyAuthorization; + export type Passport = Stripe_.AccountCreatePersonParams.Documents.Passport; + export type Visa = Stripe_.AccountCreatePersonParams.Documents.Visa; + } + export namespace UsCfpbData { + export type EthnicityDetails = Stripe_.AccountCreatePersonParams.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe_.AccountCreatePersonParams.UsCfpbData.RaceDetails; + export namespace EthnicityDetails { + export type Ethnicity = Stripe_.AccountCreatePersonParams.UsCfpbData.EthnicityDetails.Ethnicity; + } + export namespace RaceDetails { + export type Race = Stripe_.AccountCreatePersonParams.UsCfpbData.RaceDetails.Race; + } + } + export namespace Verification { + export type AdditionalDocument = Stripe_.AccountCreatePersonParams.Verification.AdditionalDocument; + export type Document = Stripe_.AccountCreatePersonParams.Verification.Document; + } } export namespace AccountListExternalAccountsParams { export type Object = Stripe_.AccountListExternalAccountsParams.Object; @@ -733,15 +1154,244 @@ declare namespace StripeConstructor { } } export namespace AccountUpdatePersonParams { - export type AdditionalTosAcceptances = Stripe.AccountUpdatePersonParams.AdditionalTosAcceptances; - export type Dob = Stripe.AccountUpdatePersonParams.Dob; - export type Documents = Stripe.AccountUpdatePersonParams.Documents; - export type PoliticalExposure = Stripe.AccountUpdatePersonParams.PoliticalExposure; - export type Relationship = Stripe.AccountUpdatePersonParams.Relationship; - export type SelfReportedIncome = Stripe.AccountUpdatePersonParams.SelfReportedIncome; - export type SelfReportedMonthlyHousingPayment = Stripe.AccountUpdatePersonParams.SelfReportedMonthlyHousingPayment; - export type UsCfpbData = Stripe.AccountUpdatePersonParams.UsCfpbData; - export type Verification = Stripe.AccountUpdatePersonParams.Verification; + export type AdditionalTosAcceptances = Stripe_.AccountUpdatePersonParams.AdditionalTosAcceptances; + export type Dob = Stripe_.AccountUpdatePersonParams.Dob; + export type Documents = Stripe_.AccountUpdatePersonParams.Documents; + export type PoliticalExposure = Stripe_.AccountUpdatePersonParams.PoliticalExposure; + export type Relationship = Stripe_.AccountUpdatePersonParams.Relationship; + export type SelfReportedIncome = Stripe_.AccountUpdatePersonParams.SelfReportedIncome; + export type SelfReportedMonthlyHousingPayment = Stripe_.AccountUpdatePersonParams.SelfReportedMonthlyHousingPayment; + export type UsCfpbData = Stripe_.AccountUpdatePersonParams.UsCfpbData; + export type Verification = Stripe_.AccountUpdatePersonParams.Verification; + export namespace AdditionalTosAcceptances { + export type Account = Stripe_.AccountUpdatePersonParams.AdditionalTosAcceptances.Account; + } + export namespace Documents { + export type CompanyAuthorization = Stripe_.AccountUpdatePersonParams.Documents.CompanyAuthorization; + export type Passport = Stripe_.AccountUpdatePersonParams.Documents.Passport; + export type Visa = Stripe_.AccountUpdatePersonParams.Documents.Visa; + } + export namespace UsCfpbData { + export type EthnicityDetails = Stripe_.AccountUpdatePersonParams.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe_.AccountUpdatePersonParams.UsCfpbData.RaceDetails; + export namespace EthnicityDetails { + export type Ethnicity = Stripe_.AccountUpdatePersonParams.UsCfpbData.EthnicityDetails.Ethnicity; + } + export namespace RaceDetails { + export type Race = Stripe_.AccountUpdatePersonParams.UsCfpbData.RaceDetails.Race; + } + } + export namespace Verification { + export type AdditionalDocument = Stripe_.AccountUpdatePersonParams.Verification.AdditionalDocument; + export type Document = Stripe_.AccountUpdatePersonParams.Verification.Document; + } + } + export namespace Account { + export type BusinessProfile = Stripe_.Account.BusinessProfile; + export type BusinessType = Stripe_.Account.BusinessType; + export type Capabilities = Stripe_.Account.Capabilities; + export type Company = Stripe_.Account.Company; + export type Controller = Stripe_.Account.Controller; + export type FutureRequirements = Stripe_.Account.FutureRequirements; + export type Groups = Stripe_.Account.Groups; + export type Requirements = Stripe_.Account.Requirements; + export type RiskControls = Stripe_.Account.RiskControls; + export type Settings = Stripe_.Account.Settings; + export type TosAcceptance = Stripe_.Account.TosAcceptance; + export type Type = Stripe_.Account.Type; + export namespace BusinessProfile { + export type AnnualRevenue = Stripe_.Account.BusinessProfile.AnnualRevenue; + export type MinorityOwnedBusinessDesignation = Stripe_.Account.BusinessProfile.MinorityOwnedBusinessDesignation; + export type MonthlyEstimatedRevenue = Stripe_.Account.BusinessProfile.MonthlyEstimatedRevenue; + } + export namespace Capabilities { + export type AcssDebitPayments = Stripe_.Account.Capabilities.AcssDebitPayments; + export type AffirmPayments = Stripe_.Account.Capabilities.AffirmPayments; + export type AfterpayClearpayPayments = Stripe_.Account.Capabilities.AfterpayClearpayPayments; + export type AlmaPayments = Stripe_.Account.Capabilities.AlmaPayments; + export type AmazonPayPayments = Stripe_.Account.Capabilities.AmazonPayPayments; + export type AppDistribution = Stripe_.Account.Capabilities.AppDistribution; + export type AuBecsDebitPayments = Stripe_.Account.Capabilities.AuBecsDebitPayments; + export type AutomaticIndirectTax = Stripe_.Account.Capabilities.AutomaticIndirectTax; + export type BacsDebitPayments = Stripe_.Account.Capabilities.BacsDebitPayments; + export type BancontactPayments = Stripe_.Account.Capabilities.BancontactPayments; + export type BankTransferPayments = Stripe_.Account.Capabilities.BankTransferPayments; + export type BilliePayments = Stripe_.Account.Capabilities.BilliePayments; + export type BizumPayments = Stripe_.Account.Capabilities.BizumPayments; + export type BlikPayments = Stripe_.Account.Capabilities.BlikPayments; + export type BoletoPayments = Stripe_.Account.Capabilities.BoletoPayments; + export type CardIssuing = Stripe_.Account.Capabilities.CardIssuing; + export type CardPayments = Stripe_.Account.Capabilities.CardPayments; + export type CartesBancairesPayments = Stripe_.Account.Capabilities.CartesBancairesPayments; + export type CashappPayments = Stripe_.Account.Capabilities.CashappPayments; + export type CryptoPayments = Stripe_.Account.Capabilities.CryptoPayments; + export type EpsPayments = Stripe_.Account.Capabilities.EpsPayments; + export type FpxPayments = Stripe_.Account.Capabilities.FpxPayments; + export type GbBankTransferPayments = Stripe_.Account.Capabilities.GbBankTransferPayments; + export type GiropayPayments = Stripe_.Account.Capabilities.GiropayPayments; + export type GopayPayments = Stripe_.Account.Capabilities.GopayPayments; + export type GrabpayPayments = Stripe_.Account.Capabilities.GrabpayPayments; + export type IdBankTransferPayments = Stripe_.Account.Capabilities.IdBankTransferPayments; + export type IdBankTransferPaymentsBca = Stripe_.Account.Capabilities.IdBankTransferPaymentsBca; + export type IdealPayments = Stripe_.Account.Capabilities.IdealPayments; + export type IndiaInternationalPayments = Stripe_.Account.Capabilities.IndiaInternationalPayments; + export type JcbPayments = Stripe_.Account.Capabilities.JcbPayments; + export type JpBankTransferPayments = Stripe_.Account.Capabilities.JpBankTransferPayments; + export type KakaoPayPayments = Stripe_.Account.Capabilities.KakaoPayPayments; + export type KlarnaPayments = Stripe_.Account.Capabilities.KlarnaPayments; + export type KonbiniPayments = Stripe_.Account.Capabilities.KonbiniPayments; + export type KrCardPayments = Stripe_.Account.Capabilities.KrCardPayments; + export type LegacyPayments = Stripe_.Account.Capabilities.LegacyPayments; + export type LinkPayments = Stripe_.Account.Capabilities.LinkPayments; + export type MbWayPayments = Stripe_.Account.Capabilities.MbWayPayments; + export type MobilepayPayments = Stripe_.Account.Capabilities.MobilepayPayments; + export type MultibancoPayments = Stripe_.Account.Capabilities.MultibancoPayments; + export type MxBankTransferPayments = Stripe_.Account.Capabilities.MxBankTransferPayments; + export type NaverPayPayments = Stripe_.Account.Capabilities.NaverPayPayments; + export type NzBankAccountBecsDebitPayments = Stripe_.Account.Capabilities.NzBankAccountBecsDebitPayments; + export type OxxoPayments = Stripe_.Account.Capabilities.OxxoPayments; + export type P24Payments = Stripe_.Account.Capabilities.P24Payments; + export type PayByBankPayments = Stripe_.Account.Capabilities.PayByBankPayments; + export type PaycoPayments = Stripe_.Account.Capabilities.PaycoPayments; + export type PaynowPayments = Stripe_.Account.Capabilities.PaynowPayments; + export type PaypalPayments = Stripe_.Account.Capabilities.PaypalPayments; + export type PaypayPayments = Stripe_.Account.Capabilities.PaypayPayments; + export type PaytoPayments = Stripe_.Account.Capabilities.PaytoPayments; + export type PixPayments = Stripe_.Account.Capabilities.PixPayments; + export type PromptpayPayments = Stripe_.Account.Capabilities.PromptpayPayments; + export type QrisPayments = Stripe_.Account.Capabilities.QrisPayments; + export type RechnungPayments = Stripe_.Account.Capabilities.RechnungPayments; + export type RevolutPayPayments = Stripe_.Account.Capabilities.RevolutPayPayments; + export type SamsungPayPayments = Stripe_.Account.Capabilities.SamsungPayPayments; + export type SatispayPayments = Stripe_.Account.Capabilities.SatispayPayments; + export type ScalapayPayments = Stripe_.Account.Capabilities.ScalapayPayments; + export type SepaBankTransferPayments = Stripe_.Account.Capabilities.SepaBankTransferPayments; + export type SepaDebitPayments = Stripe_.Account.Capabilities.SepaDebitPayments; + export type ShopeepayPayments = Stripe_.Account.Capabilities.ShopeepayPayments; + export type SofortPayments = Stripe_.Account.Capabilities.SofortPayments; + export type StripeBalancePayments = Stripe_.Account.Capabilities.StripeBalancePayments; + export type SunbitPayments = Stripe_.Account.Capabilities.SunbitPayments; + export type SwishPayments = Stripe_.Account.Capabilities.SwishPayments; + export type TaxReportingUs1099K = Stripe_.Account.Capabilities.TaxReportingUs1099K; + export type TaxReportingUs1099Misc = Stripe_.Account.Capabilities.TaxReportingUs1099Misc; + export type Transfers = Stripe_.Account.Capabilities.Transfers; + export type Treasury = Stripe_.Account.Capabilities.Treasury; + export type TreasuryEvolve = Stripe_.Account.Capabilities.TreasuryEvolve; + export type TreasuryFifthThird = Stripe_.Account.Capabilities.TreasuryFifthThird; + export type TreasuryGoldmanSachs = Stripe_.Account.Capabilities.TreasuryGoldmanSachs; + export type TwintPayments = Stripe_.Account.Capabilities.TwintPayments; + export type UpiPayments = Stripe_.Account.Capabilities.UpiPayments; + export type UsBankAccountAchPayments = Stripe_.Account.Capabilities.UsBankAccountAchPayments; + export type UsBankTransferPayments = Stripe_.Account.Capabilities.UsBankTransferPayments; + export type ZipPayments = Stripe_.Account.Capabilities.ZipPayments; + } + export namespace Company { + export type AddressKana = Stripe_.Account.Company.AddressKana; + export type AddressKanji = Stripe_.Account.Company.AddressKanji; + export type DirectorshipDeclaration = Stripe_.Account.Company.DirectorshipDeclaration; + export type OwnershipDeclaration = Stripe_.Account.Company.OwnershipDeclaration; + export type OwnershipExemptionReason = Stripe_.Account.Company.OwnershipExemptionReason; + export type RegistrationDate = Stripe_.Account.Company.RegistrationDate; + export type RepresentativeDeclaration = Stripe_.Account.Company.RepresentativeDeclaration; + export type Structure = Stripe_.Account.Company.Structure; + export type Verification = Stripe_.Account.Company.Verification; + export namespace Verification { + export type Document = Stripe_.Account.Company.Verification.Document; + } + } + export namespace Controller { + export type Application = Stripe_.Account.Controller.Application; + export type Dashboard = Stripe_.Account.Controller.Dashboard; + export type Fees = Stripe_.Account.Controller.Fees; + export type Losses = Stripe_.Account.Controller.Losses; + export type RequirementCollection = Stripe_.Account.Controller.RequirementCollection; + export type StripeDashboard = Stripe_.Account.Controller.StripeDashboard; + export type Type = Stripe_.Account.Controller.Type; + export namespace Dashboard { + export type Type = Stripe_.Account.Controller.Dashboard.Type; + } + export namespace Fees { + export type Payer = Stripe_.Account.Controller.Fees.Payer; + } + export namespace Losses { + export type Payments = Stripe_.Account.Controller.Losses.Payments; + } + export namespace StripeDashboard { + export type Type = Stripe_.Account.Controller.StripeDashboard.Type; + } + } + export namespace FutureRequirements { + export type Alternative = Stripe_.Account.FutureRequirements.Alternative; + export type DisabledReason = Stripe_.Account.FutureRequirements.DisabledReason; + export type Error = Stripe_.Account.FutureRequirements.Error; + export namespace Error { + export type Code = Stripe_.Account.FutureRequirements.Error.Code; + } + } + export namespace Requirements { + export type Alternative = Stripe_.Account.Requirements.Alternative; + export type DisabledReason = Stripe_.Account.Requirements.DisabledReason; + export type Error = Stripe_.Account.Requirements.Error; + export namespace Error { + export type Code = Stripe_.Account.Requirements.Error.Code; + } + } + export namespace RiskControls { + export type Charges = Stripe_.Account.RiskControls.Charges; + export type Payouts = Stripe_.Account.RiskControls.Payouts; + export type RejectedReason = Stripe_.Account.RiskControls.RejectedReason; + } + export namespace Settings { + export type BacsDebitPayments = Stripe_.Account.Settings.BacsDebitPayments; + export type BankBcaOnboarding = Stripe_.Account.Settings.BankBcaOnboarding; + export type Branding = Stripe_.Account.Settings.Branding; + export type CardIssuing = Stripe_.Account.Settings.CardIssuing; + export type CardPayments = Stripe_.Account.Settings.CardPayments; + export type Dashboard = Stripe_.Account.Settings.Dashboard; + export type Invoices = Stripe_.Account.Settings.Invoices; + export type Payments = Stripe_.Account.Settings.Payments; + export type Payouts = Stripe_.Account.Settings.Payouts; + export type PaypayPayments = Stripe_.Account.Settings.PaypayPayments; + export type SepaDebitPayments = Stripe_.Account.Settings.SepaDebitPayments; + export type SmartDisputes = Stripe_.Account.Settings.SmartDisputes; + export type TaxForms = Stripe_.Account.Settings.TaxForms; + export type Treasury = Stripe_.Account.Settings.Treasury; + export namespace CardIssuing { + export type TosAcceptance = Stripe_.Account.Settings.CardIssuing.TosAcceptance; + } + export namespace CardPayments { + export type DeclineOn = Stripe_.Account.Settings.CardPayments.DeclineOn; + } + export namespace Invoices { + export type HostedPaymentMethodSave = Stripe_.Account.Settings.Invoices.HostedPaymentMethodSave; + } + export namespace Payouts { + export type Schedule = Stripe_.Account.Settings.Payouts.Schedule; + export namespace Schedule { + export type WeeklyPayoutDay = Stripe_.Account.Settings.Payouts.Schedule.WeeklyPayoutDay; + } + } + export namespace PaypayPayments { + export type GoodsType = Stripe_.Account.Settings.PaypayPayments.GoodsType; + export type Site = Stripe_.Account.Settings.PaypayPayments.Site; + export namespace Site { + export type Accessible = Stripe_.Account.Settings.PaypayPayments.Site.Accessible; + export type InDevelopment = Stripe_.Account.Settings.PaypayPayments.Site.InDevelopment; + export type Restricted = Stripe_.Account.Settings.PaypayPayments.Site.Restricted; + export type Type = Stripe_.Account.Settings.PaypayPayments.Site.Type; + } + } + export namespace SmartDisputes { + export type AutoRespond = Stripe_.Account.Settings.SmartDisputes.AutoRespond; + export namespace AutoRespond { + export type Preference = Stripe_.Account.Settings.SmartDisputes.AutoRespond.Preference; + export type Value = Stripe_.Account.Settings.SmartDisputes.AutoRespond.Value; + } + } + export namespace Treasury { + export type TosAcceptance = Stripe_.Account.Settings.Treasury.TosAcceptance; + } + } } export namespace AccountLinkCreateParams { export type Type = Stripe_.AccountLinkCreateParams.Type; @@ -753,17 +1403,31 @@ declare namespace StripeConstructor { } } export namespace AccountNoticeUpdateParams { - export type Email = Stripe.AccountNoticeUpdateParams.Email; + export type Email = Stripe_.AccountNoticeUpdateParams.Email; + } + export namespace AccountNotice { + export type Email = Stripe_.AccountNotice.Email; + export type LinkedObjects = Stripe_.AccountNotice.LinkedObjects; + export type Reason = Stripe_.AccountNotice.Reason; } export namespace AccountSessionCreateParams { export type Components = Stripe_.AccountSessionCreateParams.Components; export namespace Components { export type AccountManagement = Stripe_.AccountSessionCreateParams.Components.AccountManagement; export type AccountOnboarding = Stripe_.AccountSessionCreateParams.Components.AccountOnboarding; + export type AgenticCommerceSettings = Stripe_.AccountSessionCreateParams.Components.AgenticCommerceSettings; + export type AppInstall = Stripe_.AccountSessionCreateParams.Components.AppInstall; + export type AppViewport = Stripe_.AccountSessionCreateParams.Components.AppViewport; export type BalanceReport = Stripe_.AccountSessionCreateParams.Components.BalanceReport; export type Balances = Stripe_.AccountSessionCreateParams.Components.Balances; + export type CapitalFinancing = Stripe_.AccountSessionCreateParams.Components.CapitalFinancing; + export type CapitalFinancingApplication = Stripe_.AccountSessionCreateParams.Components.CapitalFinancingApplication; + export type CapitalFinancingPromotion = Stripe_.AccountSessionCreateParams.Components.CapitalFinancingPromotion; + export type CapitalOverview = Stripe_.AccountSessionCreateParams.Components.CapitalOverview; + export type CheckScanning = Stripe_.AccountSessionCreateParams.Components.CheckScanning; export type DisputesList = Stripe_.AccountSessionCreateParams.Components.DisputesList; export type Documents = Stripe_.AccountSessionCreateParams.Components.Documents; + export type ExportTaxTransactions = Stripe_.AccountSessionCreateParams.Components.ExportTaxTransactions; export type FinancialAccount = Stripe_.AccountSessionCreateParams.Components.FinancialAccount; export type FinancialAccountTransactions = Stripe_.AccountSessionCreateParams.Components.FinancialAccountTransactions; export type InstantPayoutsPromotion = Stripe_.AccountSessionCreateParams.Components.InstantPayoutsPromotion; @@ -772,31 +1436,65 @@ declare namespace StripeConstructor { export type NotificationBanner = Stripe_.AccountSessionCreateParams.Components.NotificationBanner; export type PaymentDetails = Stripe_.AccountSessionCreateParams.Components.PaymentDetails; export type PaymentDisputes = Stripe_.AccountSessionCreateParams.Components.PaymentDisputes; + export type PaymentMethodSettings = Stripe_.AccountSessionCreateParams.Components.PaymentMethodSettings; export type Payments = Stripe_.AccountSessionCreateParams.Components.Payments; export type PayoutDetails = Stripe_.AccountSessionCreateParams.Components.PayoutDetails; export type PayoutReconciliationReport = Stripe_.AccountSessionCreateParams.Components.PayoutReconciliationReport; export type Payouts = Stripe_.AccountSessionCreateParams.Components.Payouts; export type PayoutsList = Stripe_.AccountSessionCreateParams.Components.PayoutsList; + export type ProductTaxCodeSelector = Stripe_.AccountSessionCreateParams.Components.ProductTaxCodeSelector; + export type Recipients = Stripe_.AccountSessionCreateParams.Components.Recipients; + export type ReportingChart = Stripe_.AccountSessionCreateParams.Components.ReportingChart; export type TaxRegistrations = Stripe_.AccountSessionCreateParams.Components.TaxRegistrations; export type TaxSettings = Stripe_.AccountSessionCreateParams.Components.TaxSettings; + export type TaxThresholdMonitoring = Stripe_.AccountSessionCreateParams.Components.TaxThresholdMonitoring; + export type TerminalHardwareOrders = Stripe_.AccountSessionCreateParams.Components.TerminalHardwareOrders; + export type TerminalHardwareShop = Stripe_.AccountSessionCreateParams.Components.TerminalHardwareShop; export namespace AccountManagement { export type Features = Stripe_.AccountSessionCreateParams.Components.AccountManagement.Features; } export namespace AccountOnboarding { export type Features = Stripe_.AccountSessionCreateParams.Components.AccountOnboarding.Features; } + export namespace AgenticCommerceSettings { + export type Features = Stripe_.AccountSessionCreateParams.Components.AgenticCommerceSettings.Features; + } + export namespace AppInstall { + export type Features = Stripe_.AccountSessionCreateParams.Components.AppInstall.Features; + } + export namespace AppViewport { + export type Features = Stripe_.AccountSessionCreateParams.Components.AppViewport.Features; + } export namespace BalanceReport { export type Features = Stripe_.AccountSessionCreateParams.Components.BalanceReport.Features; } export namespace Balances { export type Features = Stripe_.AccountSessionCreateParams.Components.Balances.Features; } + export namespace CapitalFinancing { + export type Features = Stripe_.AccountSessionCreateParams.Components.CapitalFinancing.Features; + } + export namespace CapitalFinancingApplication { + export type Features = Stripe_.AccountSessionCreateParams.Components.CapitalFinancingApplication.Features; + } + export namespace CapitalFinancingPromotion { + export type Features = Stripe_.AccountSessionCreateParams.Components.CapitalFinancingPromotion.Features; + } + export namespace CapitalOverview { + export type Features = Stripe_.AccountSessionCreateParams.Components.CapitalOverview.Features; + } + export namespace CheckScanning { + export type Features = Stripe_.AccountSessionCreateParams.Components.CheckScanning.Features; + } export namespace DisputesList { export type Features = Stripe_.AccountSessionCreateParams.Components.DisputesList.Features; } export namespace Documents { export type Features = Stripe_.AccountSessionCreateParams.Components.Documents.Features; } + export namespace ExportTaxTransactions { + export type Features = Stripe_.AccountSessionCreateParams.Components.ExportTaxTransactions.Features; + } export namespace FinancialAccount { export type Features = Stripe_.AccountSessionCreateParams.Components.FinancialAccount.Features; } @@ -821,6 +1519,9 @@ declare namespace StripeConstructor { export namespace PaymentDisputes { export type Features = Stripe_.AccountSessionCreateParams.Components.PaymentDisputes.Features; } + export namespace PaymentMethodSettings { + export type Features = Stripe_.AccountSessionCreateParams.Components.PaymentMethodSettings.Features; + } export namespace Payments { export type Features = Stripe_.AccountSessionCreateParams.Components.Payments.Features; } @@ -836,12 +1537,30 @@ declare namespace StripeConstructor { export namespace PayoutsList { export type Features = Stripe_.AccountSessionCreateParams.Components.PayoutsList.Features; } + export namespace ProductTaxCodeSelector { + export type Features = Stripe_.AccountSessionCreateParams.Components.ProductTaxCodeSelector.Features; + } + export namespace Recipients { + export type Features = Stripe_.AccountSessionCreateParams.Components.Recipients.Features; + } + export namespace ReportingChart { + export type Features = Stripe_.AccountSessionCreateParams.Components.ReportingChart.Features; + } export namespace TaxRegistrations { export type Features = Stripe_.AccountSessionCreateParams.Components.TaxRegistrations.Features; } export namespace TaxSettings { export type Features = Stripe_.AccountSessionCreateParams.Components.TaxSettings.Features; } + export namespace TaxThresholdMonitoring { + export type Features = Stripe_.AccountSessionCreateParams.Components.TaxThresholdMonitoring.Features; + } + export namespace TerminalHardwareOrders { + export type Features = Stripe_.AccountSessionCreateParams.Components.TerminalHardwareOrders.Features; + } + export namespace TerminalHardwareShop { + export type Features = Stripe_.AccountSessionCreateParams.Components.TerminalHardwareShop.Features; + } } } export namespace AccountSession { @@ -849,15 +1568,24 @@ declare namespace StripeConstructor { export namespace Components { export type AccountManagement = Stripe_.AccountSession.Components.AccountManagement; export type AccountOnboarding = Stripe_.AccountSession.Components.AccountOnboarding; + export type AgenticCommerceSettings = Stripe_.AccountSession.Components.AgenticCommerceSettings; export type BalanceReport = Stripe_.AccountSession.Components.BalanceReport; export type Balances = Stripe_.AccountSession.Components.Balances; + export type Bills = Stripe_.AccountSession.Components.Bills; + export type CapitalFinancing = Stripe_.AccountSession.Components.CapitalFinancing; + export type CapitalFinancingApplication = Stripe_.AccountSession.Components.CapitalFinancingApplication; + export type CapitalFinancingPromotion = Stripe_.AccountSession.Components.CapitalFinancingPromotion; + export type CheckScanning = Stripe_.AccountSession.Components.CheckScanning; export type DisputesList = Stripe_.AccountSession.Components.DisputesList; export type Documents = Stripe_.AccountSession.Components.Documents; export type FinancialAccount = Stripe_.AccountSession.Components.FinancialAccount; + export type FinancialAccountRewards = Stripe_.AccountSession.Components.FinancialAccountRewards; export type FinancialAccountTransactions = Stripe_.AccountSession.Components.FinancialAccountTransactions; export type InstantPayoutsPromotion = Stripe_.AccountSession.Components.InstantPayoutsPromotion; export type IssuingCard = Stripe_.AccountSession.Components.IssuingCard; export type IssuingCardsList = Stripe_.AccountSession.Components.IssuingCardsList; + export type NestingDemo = Stripe_.AccountSession.Components.NestingDemo; + export type NetworkCostPassthroughReport = Stripe_.AccountSession.Components.NetworkCostPassthroughReport; export type NotificationBanner = Stripe_.AccountSession.Components.NotificationBanner; export type PaymentDetails = Stripe_.AccountSession.Components.PaymentDetails; export type PaymentDisputes = Stripe_.AccountSession.Components.PaymentDisputes; @@ -868,18 +1596,38 @@ declare namespace StripeConstructor { export type PayoutsList = Stripe_.AccountSession.Components.PayoutsList; export type TaxRegistrations = Stripe_.AccountSession.Components.TaxRegistrations; export type TaxSettings = Stripe_.AccountSession.Components.TaxSettings; + export type TerminalHardwareOrders = Stripe_.AccountSession.Components.TerminalHardwareOrders; + export type TerminalHardwareShop = Stripe_.AccountSession.Components.TerminalHardwareShop; export namespace AccountManagement { export type Features = Stripe_.AccountSession.Components.AccountManagement.Features; } export namespace AccountOnboarding { export type Features = Stripe_.AccountSession.Components.AccountOnboarding.Features; } + export namespace AgenticCommerceSettings { + export type Features = Stripe_.AccountSession.Components.AgenticCommerceSettings.Features; + } export namespace BalanceReport { export type Features = Stripe_.AccountSession.Components.BalanceReport.Features; } export namespace Balances { export type Features = Stripe_.AccountSession.Components.Balances.Features; } + export namespace Bills { + export type Features = Stripe_.AccountSession.Components.Bills.Features; + } + export namespace CapitalFinancing { + export type Features = Stripe_.AccountSession.Components.CapitalFinancing.Features; + } + export namespace CapitalFinancingApplication { + export type Features = Stripe_.AccountSession.Components.CapitalFinancingApplication.Features; + } + export namespace CapitalFinancingPromotion { + export type Features = Stripe_.AccountSession.Components.CapitalFinancingPromotion.Features; + } + export namespace CheckScanning { + export type Features = Stripe_.AccountSession.Components.CheckScanning.Features; + } export namespace DisputesList { export type Features = Stripe_.AccountSession.Components.DisputesList.Features; } @@ -889,6 +1637,9 @@ declare namespace StripeConstructor { export namespace FinancialAccount { export type Features = Stripe_.AccountSession.Components.FinancialAccount.Features; } + export namespace FinancialAccountRewards { + export type Features = Stripe_.AccountSession.Components.FinancialAccountRewards.Features; + } export namespace FinancialAccountTransactions { export type Features = Stripe_.AccountSession.Components.FinancialAccountTransactions.Features; } @@ -901,6 +1652,12 @@ declare namespace StripeConstructor { export namespace IssuingCardsList { export type Features = Stripe_.AccountSession.Components.IssuingCardsList.Features; } + export namespace NestingDemo { + export type Features = Stripe_.AccountSession.Components.NestingDemo.Features; + } + export namespace NetworkCostPassthroughReport { + export type Features = Stripe_.AccountSession.Components.NetworkCostPassthroughReport.Features; + } export namespace NotificationBanner { export type Features = Stripe_.AccountSession.Components.NotificationBanner.Features; } @@ -931,10 +1688,18 @@ declare namespace StripeConstructor { export namespace TaxSettings { export type Features = Stripe_.AccountSession.Components.TaxSettings.Features; } + export namespace TerminalHardwareOrders { + export type Features = Stripe_.AccountSession.Components.TerminalHardwareOrders.Features; + } + export namespace TerminalHardwareShop { + export type Features = Stripe_.AccountSession.Components.TerminalHardwareShop.Features; + } } } export namespace ApplicationFee { export type FeeSource = Stripe_.ApplicationFee.FeeSource; + export type FundingSource = Stripe_.ApplicationFee.FundingSource; + export type SettlementType = Stripe_.ApplicationFee.SettlementType; export namespace FeeSource { export type Type = Stripe_.ApplicationFee.FeeSource.Type; } @@ -946,6 +1711,8 @@ declare namespace StripeConstructor { export type Issuing = Stripe_.Balance.Issuing; export type Pending = Stripe_.Balance.Pending; export type RefundAndDisputePrefunding = Stripe_.Balance.RefundAndDisputePrefunding; + export type RiskReserved = Stripe_.Balance.RiskReserved; + export type TransitBalancesTotal = Stripe_.Balance.TransitBalancesTotal; export namespace Available { export type SourceTypes = Stripe_.Balance.Available.SourceTypes; } @@ -978,11 +1745,32 @@ declare namespace StripeConstructor { export type SourceTypes = Stripe_.Balance.RefundAndDisputePrefunding.Pending.SourceTypes; } } + export namespace RiskReserved { + export type Available = Stripe_.Balance.RiskReserved.Available; + export type Pending = Stripe_.Balance.RiskReserved.Pending; + export namespace Available { + export type SourceTypes = Stripe_.Balance.RiskReserved.Available.SourceTypes; + } + export namespace Pending { + export type SourceTypes = Stripe_.Balance.RiskReserved.Pending.SourceTypes; + } + } + export namespace TransitBalancesTotal { + export type Available = Stripe_.Balance.TransitBalancesTotal.Available; + export type Pending = Stripe_.Balance.TransitBalancesTotal.Pending; + export namespace Available { + export type SourceTypes = Stripe_.Balance.TransitBalancesTotal.Available.SourceTypes; + } + export namespace Pending { + export type SourceTypes = Stripe_.Balance.TransitBalancesTotal.Pending.SourceTypes; + } + } } export namespace BalanceSettingsUpdateParams { export type Payments = Stripe_.BalanceSettingsUpdateParams.Payments; export namespace Payments { export type Payouts = Stripe_.BalanceSettingsUpdateParams.Payments.Payouts; + export type SettlementCurrencies = Stripe_.BalanceSettingsUpdateParams.Payments.SettlementCurrencies; export type SettlementTiming = Stripe_.BalanceSettingsUpdateParams.Payments.SettlementTiming; export namespace Payouts { export type AutomaticTransferRulesByCurrency = Stripe_.BalanceSettingsUpdateParams.Payments.Payouts.AutomaticTransferRulesByCurrency; @@ -1004,6 +1792,7 @@ declare namespace StripeConstructor { export type Payments = Stripe_.BalanceSettings.Payments; export namespace Payments { export type Payouts = Stripe_.BalanceSettings.Payments.Payouts; + export type SettlementCurrencies = Stripe_.BalanceSettings.Payments.SettlementCurrencies; export type SettlementTiming = Stripe_.BalanceSettings.Payments.SettlementTiming; export namespace Payouts { export type AutomaticTransferRulesByCurrency = Stripe_.BalanceSettings.Payments.Payouts.AutomaticTransferRulesByCurrency; @@ -1028,9 +1817,28 @@ declare namespace StripeConstructor { export type Type = Stripe_.BalanceTransaction.Type; } export namespace BalanceTransferCreateParams { - export type Currency = Stripe.BalanceTransferCreateParams.Currency; - export type DestinationBalance = Stripe.BalanceTransferCreateParams.DestinationBalance; - export type SourceBalance = Stripe.BalanceTransferCreateParams.SourceBalance; + export type Currency = Stripe_.BalanceTransferCreateParams.Currency; + export type DestinationBalance = Stripe_.BalanceTransferCreateParams.DestinationBalance; + export type SourceBalance = Stripe_.BalanceTransferCreateParams.SourceBalance; + export namespace DestinationBalance { + export type Type = Stripe_.BalanceTransferCreateParams.DestinationBalance.Type; + } + export namespace SourceBalance { + export type AllocatedFunds = Stripe_.BalanceTransferCreateParams.SourceBalance.AllocatedFunds; + export type Type = Stripe_.BalanceTransferCreateParams.SourceBalance.Type; + } + } + export namespace BalanceTransfer { + export type DestinationBalance = Stripe_.BalanceTransfer.DestinationBalance; + export type SourceBalance = Stripe_.BalanceTransfer.SourceBalance; + export namespace DestinationBalance { + export type Issuing = Stripe_.BalanceTransfer.DestinationBalance.Issuing; + export type Payments = Stripe_.BalanceTransfer.DestinationBalance.Payments; + } + export namespace SourceBalance { + export type Issuing = Stripe_.BalanceTransfer.SourceBalance.Issuing; + export type Payments = Stripe_.BalanceTransfer.SourceBalance.Payments; + } } export namespace ChargeCreateParams { export type Destination = Stripe_.ChargeCreateParams.Destination; @@ -1039,109 +1847,957 @@ declare namespace StripeConstructor { export type TransferData = Stripe_.ChargeCreateParams.TransferData; } export namespace ChargeUpdateParams { - export type FraudDetails = Stripe.ChargeUpdateParams.FraudDetails; - export type PaymentDetails = Stripe.ChargeUpdateParams.PaymentDetails; - export type Shipping = Stripe.ChargeUpdateParams.Shipping; - } - export namespace ChargeCaptureParams { - export type PaymentDetails = Stripe.ChargeCaptureParams.PaymentDetails; - export type TransferData = Stripe.ChargeCaptureParams.TransferData; - } - export namespace CouponCreateParams { - export type AppliesTo = Stripe.CouponCreateParams.AppliesTo; - export type CurrencyOptions = Stripe.CouponCreateParams.CurrencyOptions; - export type Duration = Stripe.CouponCreateParams.Duration; - export type Script = Stripe.CouponCreateParams.Script; - export type ServicePeriod = Stripe.CouponCreateParams.ServicePeriod; - } - export namespace CouponUpdateParams { - export type CurrencyOptions = Stripe_.CouponUpdateParams.CurrencyOptions; - } - export namespace Coupon { - export type AppliesTo = Stripe_.Coupon.AppliesTo; - export type CurrencyOptions = Stripe_.Coupon.CurrencyOptions; - export type Duration = Stripe_.Coupon.Duration; - } - export namespace CreditNoteCreateParams { - export type EmailType = Stripe_.CreditNoteCreateParams.EmailType; - export type Line = Stripe_.CreditNoteCreateParams.Line; - export type Reason = Stripe_.CreditNoteCreateParams.Reason; - export type Refund = Stripe_.CreditNoteCreateParams.Refund; - export type ShippingCost = Stripe_.CreditNoteCreateParams.ShippingCost; - export namespace Line { - export type TaxAmount = Stripe_.CreditNoteCreateParams.Line.TaxAmount; - export type Type = Stripe_.CreditNoteCreateParams.Line.Type; - } - export namespace Refund { - export type PaymentRecordRefund = Stripe_.CreditNoteCreateParams.Refund.PaymentRecordRefund; - export type Type = Stripe_.CreditNoteCreateParams.Refund.Type; - } - } - export namespace CreditNoteListPreviewLineItemsParams { - export type EmailType = Stripe_.CreditNoteListPreviewLineItemsParams.EmailType; - export type Line = Stripe_.CreditNoteListPreviewLineItemsParams.Line; - export type Reason = Stripe_.CreditNoteListPreviewLineItemsParams.Reason; - export type Refund = Stripe_.CreditNoteListPreviewLineItemsParams.Refund; - export type ShippingCost = Stripe_.CreditNoteListPreviewLineItemsParams.ShippingCost; - export namespace Line { - export type TaxAmount = Stripe_.CreditNoteListPreviewLineItemsParams.Line.TaxAmount; - export type Type = Stripe_.CreditNoteListPreviewLineItemsParams.Line.Type; - } - export namespace Refund { - export type PaymentRecordRefund = Stripe_.CreditNoteListPreviewLineItemsParams.Refund.PaymentRecordRefund; - export type Type = Stripe_.CreditNoteListPreviewLineItemsParams.Refund.Type; + export type FraudDetails = Stripe_.ChargeUpdateParams.FraudDetails; + export type PaymentDetails = Stripe_.ChargeUpdateParams.PaymentDetails; + export type Shipping = Stripe_.ChargeUpdateParams.Shipping; + export namespace FraudDetails { + export type UserReport = Stripe_.ChargeUpdateParams.FraudDetails.UserReport; + } + export namespace PaymentDetails { + export type CarRental = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental; + export type CarRentalDatum = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum; + export type EventDetails = Stripe_.ChargeUpdateParams.PaymentDetails.EventDetails; + export type FleetDatum = Stripe_.ChargeUpdateParams.PaymentDetails.FleetDatum; + export type Flight = Stripe_.ChargeUpdateParams.PaymentDetails.Flight; + export type FlightDatum = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum; + export type Lodging = Stripe_.ChargeUpdateParams.PaymentDetails.Lodging; + export type LodgingDatum = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum; + export type Subscription = Stripe_.ChargeUpdateParams.PaymentDetails.Subscription; + export namespace CarRental { + export type Affiliate = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.Affiliate; + export type Delivery = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.Delivery; + export type Distance = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.Distance; + export type Driver = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.Driver; + export type ExtraCharge = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.ExtraCharge; + export type RateInterval = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.RateInterval; + export namespace Delivery { + export type Mode = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.Delivery.Mode; + export type Recipient = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.Delivery.Recipient; + } + export namespace Distance { + export type Unit = Stripe_.ChargeUpdateParams.PaymentDetails.CarRental.Distance.Unit; + } + } + export namespace CarRentalDatum { + export type Affiliate = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Affiliate; + export type Distance = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Distance; + export type Driver = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Driver; + export type DropOff = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.DropOff; + export type Insurance = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Insurance; + export type Pickup = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Pickup; + export type Total = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Total; + export type Vehicle = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Vehicle; + export namespace Distance { + export type Unit = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Distance.Unit; + } + export namespace Driver { + export type DateOfBirth = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Driver.DateOfBirth; + } + export namespace DropOff { + export type Address = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.DropOff.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Insurance.InsuranceType; + } + export namespace Pickup { + export type Address = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Pickup.Address; + } + export namespace Total { + export type Discounts = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Total.Discounts; + export type ExtraCharge = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge; + export type RateUnit = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Total.RateUnit; + export type Tax = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Total.Tax.Tax; + } + } + export namespace Vehicle { + export type Type = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Vehicle.Type; + export type VehicleClass = Stripe_.ChargeUpdateParams.PaymentDetails.CarRentalDatum.Vehicle.VehicleClass; + } + } + export namespace EventDetails { + export type Affiliate = Stripe_.ChargeUpdateParams.PaymentDetails.EventDetails.Affiliate; + export type Delivery = Stripe_.ChargeUpdateParams.PaymentDetails.EventDetails.Delivery; + export namespace Delivery { + export type Mode = Stripe_.ChargeUpdateParams.PaymentDetails.EventDetails.Delivery.Mode; + export type Recipient = Stripe_.ChargeUpdateParams.PaymentDetails.EventDetails.Delivery.Recipient; + } + } + export namespace FleetDatum { + export type PrimaryFuelFields = Stripe_.ChargeUpdateParams.PaymentDetails.FleetDatum.PrimaryFuelFields; + export type Station = Stripe_.ChargeUpdateParams.PaymentDetails.FleetDatum.Station; + export type Vat = Stripe_.ChargeUpdateParams.PaymentDetails.FleetDatum.Vat; + export namespace PrimaryFuelFields { + export type Brand = Stripe_.ChargeUpdateParams.PaymentDetails.FleetDatum.PrimaryFuelFields.Brand; + } + export namespace Vat { + export type IobIndicator = Stripe_.ChargeUpdateParams.PaymentDetails.FleetDatum.Vat.IobIndicator; + } + } + export namespace Flight { + export type Affiliate = Stripe_.ChargeUpdateParams.PaymentDetails.Flight.Affiliate; + export type Delivery = Stripe_.ChargeUpdateParams.PaymentDetails.Flight.Delivery; + export type Passenger = Stripe_.ChargeUpdateParams.PaymentDetails.Flight.Passenger; + export type Segment = Stripe_.ChargeUpdateParams.PaymentDetails.Flight.Segment; + export namespace Delivery { + export type Mode = Stripe_.ChargeUpdateParams.PaymentDetails.Flight.Delivery.Mode; + export type Recipient = Stripe_.ChargeUpdateParams.PaymentDetails.Flight.Delivery.Recipient; + } + export namespace Segment { + export type ServiceClass = Stripe_.ChargeUpdateParams.PaymentDetails.Flight.Segment.ServiceClass; + } + } + export namespace FlightDatum { + export type Affiliate = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Affiliate; + export type Insurance = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Insurance; + export type Passenger = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Passenger; + export type Segment = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Segment; + export type Total = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Total; + export type TransactionType = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.TransactionType; + export namespace Insurance { + export type InsuranceType = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Insurance.InsuranceType; + } + export namespace Segment { + export type Arrival = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Segment.Arrival; + export type Departure = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Segment.Departure; + export type ServiceClass = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Segment.ServiceClass; + } + export namespace Total { + export type CreditReason = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Total.CreditReason; + export type Discounts = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Total.Discounts; + export type ExtraCharge = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Total.ExtraCharge; + export type Tax = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.ChargeUpdateParams.PaymentDetails.FlightDatum.Total.Tax.Tax; + } + } + } + export namespace Lodging { + export type Affiliate = Stripe_.ChargeUpdateParams.PaymentDetails.Lodging.Affiliate; + export type Category = Stripe_.ChargeUpdateParams.PaymentDetails.Lodging.Category; + export type Delivery = Stripe_.ChargeUpdateParams.PaymentDetails.Lodging.Delivery; + export type ExtraCharge = Stripe_.ChargeUpdateParams.PaymentDetails.Lodging.ExtraCharge; + export type Passenger = Stripe_.ChargeUpdateParams.PaymentDetails.Lodging.Passenger; + export namespace Delivery { + export type Mode = Stripe_.ChargeUpdateParams.PaymentDetails.Lodging.Delivery.Mode; + export type Recipient = Stripe_.ChargeUpdateParams.PaymentDetails.Lodging.Delivery.Recipient; + } + } + export namespace LodgingDatum { + export type Accommodation = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Accommodation; + export type Affiliate = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Affiliate; + export type Guest = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Guest; + export type Host = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Host; + export type Insurance = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Insurance; + export type Total = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Total; + export namespace Accommodation { + export type AccommodationType = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Accommodation.AccommodationType; + } + export namespace Host { + export type Address = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Host.Address; + export type HostType = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Host.HostType; + } + export namespace Insurance { + export type InsuranceType = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Insurance.InsuranceType; + } + export namespace Total { + export type Discounts = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Total.Discounts; + export type ExtraCharge = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Total.ExtraCharge; + export type Tax = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.ChargeUpdateParams.PaymentDetails.LodgingDatum.Total.Tax.Tax; + } + } + } + export namespace Subscription { + export type Affiliate = Stripe_.ChargeUpdateParams.PaymentDetails.Subscription.Affiliate; + export type BillingInterval = Stripe_.ChargeUpdateParams.PaymentDetails.Subscription.BillingInterval; + export namespace BillingInterval { + export type Interval = Stripe_.ChargeUpdateParams.PaymentDetails.Subscription.BillingInterval.Interval; + } + } } } - export namespace CreditNotePreviewParams { - export type EmailType = Stripe_.CreditNotePreviewParams.EmailType; - export type Line = Stripe_.CreditNotePreviewParams.Line; - export type Reason = Stripe_.CreditNotePreviewParams.Reason; - export type Refund = Stripe_.CreditNotePreviewParams.Refund; - export type ShippingCost = Stripe_.CreditNotePreviewParams.ShippingCost; - export namespace Line { - export type TaxAmount = Stripe_.CreditNotePreviewParams.Line.TaxAmount; - export type Type = Stripe_.CreditNotePreviewParams.Line.Type; - } - export namespace Refund { - export type PaymentRecordRefund = Stripe_.CreditNotePreviewParams.Refund.PaymentRecordRefund; - export type Type = Stripe_.CreditNotePreviewParams.Refund.Type; + export namespace ChargeCaptureParams { + export type PaymentDetails = Stripe_.ChargeCaptureParams.PaymentDetails; + export type TransferData = Stripe_.ChargeCaptureParams.TransferData; + export namespace PaymentDetails { + export type CarRental = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental; + export type CarRentalDatum = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum; + export type EventDetails = Stripe_.ChargeCaptureParams.PaymentDetails.EventDetails; + export type FleetDatum = Stripe_.ChargeCaptureParams.PaymentDetails.FleetDatum; + export type Flight = Stripe_.ChargeCaptureParams.PaymentDetails.Flight; + export type FlightDatum = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum; + export type Lodging = Stripe_.ChargeCaptureParams.PaymentDetails.Lodging; + export type LodgingDatum = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum; + export type Subscription = Stripe_.ChargeCaptureParams.PaymentDetails.Subscription; + export namespace CarRental { + export type Affiliate = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.Affiliate; + export type Delivery = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.Delivery; + export type Distance = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.Distance; + export type Driver = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.Driver; + export type ExtraCharge = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.ExtraCharge; + export type RateInterval = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.RateInterval; + export namespace Delivery { + export type Mode = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.Delivery.Mode; + export type Recipient = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.Delivery.Recipient; + } + export namespace Distance { + export type Unit = Stripe_.ChargeCaptureParams.PaymentDetails.CarRental.Distance.Unit; + } + } + export namespace CarRentalDatum { + export type Affiliate = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Affiliate; + export type Distance = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Distance; + export type Driver = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Driver; + export type DropOff = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.DropOff; + export type Insurance = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Insurance; + export type Pickup = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Pickup; + export type Total = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Total; + export type Vehicle = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Vehicle; + export namespace Distance { + export type Unit = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Distance.Unit; + } + export namespace Driver { + export type DateOfBirth = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Driver.DateOfBirth; + } + export namespace DropOff { + export type Address = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.DropOff.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Insurance.InsuranceType; + } + export namespace Pickup { + export type Address = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Pickup.Address; + } + export namespace Total { + export type Discounts = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Total.Discounts; + export type ExtraCharge = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge; + export type RateUnit = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Total.RateUnit; + export type Tax = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Total.Tax.Tax; + } + } + export namespace Vehicle { + export type Type = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Vehicle.Type; + export type VehicleClass = Stripe_.ChargeCaptureParams.PaymentDetails.CarRentalDatum.Vehicle.VehicleClass; + } + } + export namespace EventDetails { + export type Affiliate = Stripe_.ChargeCaptureParams.PaymentDetails.EventDetails.Affiliate; + export type Delivery = Stripe_.ChargeCaptureParams.PaymentDetails.EventDetails.Delivery; + export namespace Delivery { + export type Mode = Stripe_.ChargeCaptureParams.PaymentDetails.EventDetails.Delivery.Mode; + export type Recipient = Stripe_.ChargeCaptureParams.PaymentDetails.EventDetails.Delivery.Recipient; + } + } + export namespace FleetDatum { + export type PrimaryFuelFields = Stripe_.ChargeCaptureParams.PaymentDetails.FleetDatum.PrimaryFuelFields; + export type Station = Stripe_.ChargeCaptureParams.PaymentDetails.FleetDatum.Station; + export type Vat = Stripe_.ChargeCaptureParams.PaymentDetails.FleetDatum.Vat; + export namespace PrimaryFuelFields { + export type Brand = Stripe_.ChargeCaptureParams.PaymentDetails.FleetDatum.PrimaryFuelFields.Brand; + } + export namespace Vat { + export type IobIndicator = Stripe_.ChargeCaptureParams.PaymentDetails.FleetDatum.Vat.IobIndicator; + } + } + export namespace Flight { + export type Affiliate = Stripe_.ChargeCaptureParams.PaymentDetails.Flight.Affiliate; + export type Delivery = Stripe_.ChargeCaptureParams.PaymentDetails.Flight.Delivery; + export type Passenger = Stripe_.ChargeCaptureParams.PaymentDetails.Flight.Passenger; + export type Segment = Stripe_.ChargeCaptureParams.PaymentDetails.Flight.Segment; + export namespace Delivery { + export type Mode = Stripe_.ChargeCaptureParams.PaymentDetails.Flight.Delivery.Mode; + export type Recipient = Stripe_.ChargeCaptureParams.PaymentDetails.Flight.Delivery.Recipient; + } + export namespace Segment { + export type ServiceClass = Stripe_.ChargeCaptureParams.PaymentDetails.Flight.Segment.ServiceClass; + } + } + export namespace FlightDatum { + export type Affiliate = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Affiliate; + export type Insurance = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Insurance; + export type Passenger = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Passenger; + export type Segment = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Segment; + export type Total = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Total; + export type TransactionType = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.TransactionType; + export namespace Insurance { + export type InsuranceType = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Insurance.InsuranceType; + } + export namespace Segment { + export type Arrival = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Segment.Arrival; + export type Departure = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Segment.Departure; + export type ServiceClass = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Segment.ServiceClass; + } + export namespace Total { + export type CreditReason = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Total.CreditReason; + export type Discounts = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Total.Discounts; + export type ExtraCharge = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Total.ExtraCharge; + export type Tax = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.ChargeCaptureParams.PaymentDetails.FlightDatum.Total.Tax.Tax; + } + } + } + export namespace Lodging { + export type Affiliate = Stripe_.ChargeCaptureParams.PaymentDetails.Lodging.Affiliate; + export type Category = Stripe_.ChargeCaptureParams.PaymentDetails.Lodging.Category; + export type Delivery = Stripe_.ChargeCaptureParams.PaymentDetails.Lodging.Delivery; + export type ExtraCharge = Stripe_.ChargeCaptureParams.PaymentDetails.Lodging.ExtraCharge; + export type Passenger = Stripe_.ChargeCaptureParams.PaymentDetails.Lodging.Passenger; + export namespace Delivery { + export type Mode = Stripe_.ChargeCaptureParams.PaymentDetails.Lodging.Delivery.Mode; + export type Recipient = Stripe_.ChargeCaptureParams.PaymentDetails.Lodging.Delivery.Recipient; + } + } + export namespace LodgingDatum { + export type Accommodation = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Accommodation; + export type Affiliate = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Affiliate; + export type Guest = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Guest; + export type Host = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Host; + export type Insurance = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Insurance; + export type Total = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Total; + export namespace Accommodation { + export type AccommodationType = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Accommodation.AccommodationType; + } + export namespace Host { + export type Address = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Host.Address; + export type HostType = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Host.HostType; + } + export namespace Insurance { + export type InsuranceType = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Insurance.InsuranceType; + } + export namespace Total { + export type Discounts = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Total.Discounts; + export type ExtraCharge = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Total.ExtraCharge; + export type Tax = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.ChargeCaptureParams.PaymentDetails.LodgingDatum.Total.Tax.Tax; + } + } + } + export namespace Subscription { + export type Affiliate = Stripe_.ChargeCaptureParams.PaymentDetails.Subscription.Affiliate; + export type BillingInterval = Stripe_.ChargeCaptureParams.PaymentDetails.Subscription.BillingInterval; + export namespace BillingInterval { + export type Interval = Stripe_.ChargeCaptureParams.PaymentDetails.Subscription.BillingInterval.Interval; + } + } } } - export namespace CreditNote { - export type DiscountAmount = Stripe_.CreditNote.DiscountAmount; - export type PretaxCreditAmount = Stripe_.CreditNote.PretaxCreditAmount; - export type Reason = Stripe_.CreditNote.Reason; - export type Refund = Stripe_.CreditNote.Refund; - export type ShippingCost = Stripe_.CreditNote.ShippingCost; - export type Status = Stripe_.CreditNote.Status; - export type TotalTax = Stripe_.CreditNote.TotalTax; - export type Type = Stripe_.CreditNote.Type; - export namespace PretaxCreditAmount { - export type Type = Stripe_.CreditNote.PretaxCreditAmount.Type; + export namespace Charge { + export type BillingDetails = Stripe_.Charge.BillingDetails; + export type FraudDetails = Stripe_.Charge.FraudDetails; + export type Level3 = Stripe_.Charge.Level3; + export type Outcome = Stripe_.Charge.Outcome; + export type PaymentMethodDetails = Stripe_.Charge.PaymentMethodDetails; + export type PresentmentDetails = Stripe_.Charge.PresentmentDetails; + export type RadarOptions = Stripe_.Charge.RadarOptions; + export type Shipping = Stripe_.Charge.Shipping; + export type Status = Stripe_.Charge.Status; + export type TransferData = Stripe_.Charge.TransferData; + export namespace Level3 { + export type LineItem = Stripe_.Charge.Level3.LineItem; + } + export namespace Outcome { + export type AdviceCode = Stripe_.Charge.Outcome.AdviceCode; + export type Rule = Stripe_.Charge.Outcome.Rule; } - export namespace Refund { - export type PaymentRecordRefund = Stripe_.CreditNote.Refund.PaymentRecordRefund; - export type Type = Stripe_.CreditNote.Refund.Type; - } - export namespace ShippingCost { - export type Tax = Stripe_.CreditNote.ShippingCost.Tax; - export namespace Tax { - export type TaxabilityReason = Stripe_.CreditNote.ShippingCost.Tax.TaxabilityReason; + export namespace PaymentMethodDetails { + export type AchCreditTransfer = Stripe_.Charge.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe_.Charge.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe_.Charge.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe_.Charge.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe_.Charge.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe_.Charge.PaymentMethodDetails.Alipay; + export type Alma = Stripe_.Charge.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe_.Charge.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.Charge.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.Charge.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe_.Charge.PaymentMethodDetails.Bancontact; + export type Billie = Stripe_.Charge.PaymentMethodDetails.Billie; + export type Bizum = Stripe_.Charge.PaymentMethodDetails.Bizum; + export type Blik = Stripe_.Charge.PaymentMethodDetails.Blik; + export type Boleto = Stripe_.Charge.PaymentMethodDetails.Boleto; + export type Card = Stripe_.Charge.PaymentMethodDetails.Card; + export type CardPresent = Stripe_.Charge.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe_.Charge.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe_.Charge.PaymentMethodDetails.Crypto; + export type CustomerBalance = Stripe_.Charge.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe_.Charge.PaymentMethodDetails.Eps; + export type Fpx = Stripe_.Charge.PaymentMethodDetails.Fpx; + export type GiftCard = Stripe_.Charge.PaymentMethodDetails.GiftCard; + export type Giropay = Stripe_.Charge.PaymentMethodDetails.Giropay; + export type Gopay = Stripe_.Charge.PaymentMethodDetails.Gopay; + export type Grabpay = Stripe_.Charge.PaymentMethodDetails.Grabpay; + export type IdBankTransfer = Stripe_.Charge.PaymentMethodDetails.IdBankTransfer; + export type Ideal = Stripe_.Charge.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe_.Charge.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe_.Charge.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.Charge.PaymentMethodDetails.Klarna; + export type Konbini = Stripe_.Charge.PaymentMethodDetails.Konbini; + export type KrCard = Stripe_.Charge.PaymentMethodDetails.KrCard; + export type Link = Stripe_.Charge.PaymentMethodDetails.Link; + export type MbWay = Stripe_.Charge.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe_.Charge.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe_.Charge.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe_.Charge.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.Charge.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe_.Charge.PaymentMethodDetails.Oxxo; + export type P24 = Stripe_.Charge.PaymentMethodDetails.P24; + export type PayByBank = Stripe_.Charge.PaymentMethodDetails.PayByBank; + export type Payco = Stripe_.Charge.PaymentMethodDetails.Payco; + export type Paynow = Stripe_.Charge.PaymentMethodDetails.Paynow; + export type Paypal = Stripe_.Charge.PaymentMethodDetails.Paypal; + export type Paypay = Stripe_.Charge.PaymentMethodDetails.Paypay; + export type Payto = Stripe_.Charge.PaymentMethodDetails.Payto; + export type Pix = Stripe_.Charge.PaymentMethodDetails.Pix; + export type Promptpay = Stripe_.Charge.PaymentMethodDetails.Promptpay; + export type Qris = Stripe_.Charge.PaymentMethodDetails.Qris; + export type Rechnung = Stripe_.Charge.PaymentMethodDetails.Rechnung; + export type RevolutPay = Stripe_.Charge.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe_.Charge.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe_.Charge.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe_.Charge.PaymentMethodDetails.Scalapay; + export type SepaCreditTransfer = Stripe_.Charge.PaymentMethodDetails.SepaCreditTransfer; + export type SepaDebit = Stripe_.Charge.PaymentMethodDetails.SepaDebit; + export type Shopeepay = Stripe_.Charge.PaymentMethodDetails.Shopeepay; + export type Sofort = Stripe_.Charge.PaymentMethodDetails.Sofort; + export type StripeAccount = Stripe_.Charge.PaymentMethodDetails.StripeAccount; + export type StripeBalance = Stripe_.Charge.PaymentMethodDetails.StripeBalance; + export type Sunbit = Stripe_.Charge.PaymentMethodDetails.Sunbit; + export type Swish = Stripe_.Charge.PaymentMethodDetails.Swish; + export type Tamara = Stripe_.Charge.PaymentMethodDetails.Tamara; + export type Twint = Stripe_.Charge.PaymentMethodDetails.Twint; + export type Upi = Stripe_.Charge.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.Charge.PaymentMethodDetails.UsBankAccount; + export type Wechat = Stripe_.Charge.PaymentMethodDetails.Wechat; + export type WechatPay = Stripe_.Charge.PaymentMethodDetails.WechatPay; + export type Zip = Stripe_.Charge.PaymentMethodDetails.Zip; + export namespace AchDebit { + export type AccountHolderType = Stripe_.Charge.PaymentMethodDetails.AchDebit.AccountHolderType; } - } - export namespace TotalTax { - export type TaxBehavior = Stripe_.CreditNote.TotalTax.TaxBehavior; - export type TaxRateDetails = Stripe_.CreditNote.TotalTax.TaxRateDetails; - export type TaxabilityReason = Stripe_.CreditNote.TotalTax.TaxabilityReason; - } - } - export namespace CustomerCreateParams { - export type CashBalance = Stripe_.CustomerCreateParams.CashBalance; - export type InvoiceSettings = Stripe_.CustomerCreateParams.InvoiceSettings; - export type Shipping = Stripe_.CustomerCreateParams.Shipping; - export type Tax = Stripe_.CustomerCreateParams.Tax; - export type TaxExempt = Stripe_.CustomerCreateParams.TaxExempt; - export type TaxIdDatum = Stripe_.CustomerCreateParams.TaxIdDatum; + export namespace Alma { + export type Installments = Stripe_.Charge.PaymentMethodDetails.Alma.Installments; + } + export namespace AmazonPay { + export type Funding = Stripe_.Charge.PaymentMethodDetails.AmazonPay.Funding; + export namespace Funding { + export type Card = Stripe_.Charge.PaymentMethodDetails.AmazonPay.Funding.Card; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.Charge.PaymentMethodDetails.Bancontact.PreferredLanguage; + } + export namespace Card { + export type AccountFunding = Stripe_.Charge.PaymentMethodDetails.Card.AccountFunding; + export type Benefits = Stripe_.Charge.PaymentMethodDetails.Card.Benefits; + export type Checks = Stripe_.Charge.PaymentMethodDetails.Card.Checks; + export type DecrementalAuthorization = Stripe_.Charge.PaymentMethodDetails.Card.DecrementalAuthorization; + export type ExtendedAuthorization = Stripe_.Charge.PaymentMethodDetails.Card.ExtendedAuthorization; + export type IncrementalAuthorization = Stripe_.Charge.PaymentMethodDetails.Card.IncrementalAuthorization; + export type Installments = Stripe_.Charge.PaymentMethodDetails.Card.Installments; + export type Multicapture = Stripe_.Charge.PaymentMethodDetails.Card.Multicapture; + export type NetworkToken = Stripe_.Charge.PaymentMethodDetails.Card.NetworkToken; + export type Overcapture = Stripe_.Charge.PaymentMethodDetails.Card.Overcapture; + export type PartialAuthorization = Stripe_.Charge.PaymentMethodDetails.Card.PartialAuthorization; + export type Reauthorization = Stripe_.Charge.PaymentMethodDetails.Card.Reauthorization; + export type RegulatedStatus = Stripe_.Charge.PaymentMethodDetails.Card.RegulatedStatus; + export type ThreeDSecure = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe_.Charge.PaymentMethodDetails.Card.Wallet; + export namespace AccountFunding { + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.AccountFunding.Status; + } + export namespace Benefits { + export type FrMealVoucher = Stripe_.Charge.PaymentMethodDetails.Card.Benefits.FrMealVoucher; + } + export namespace DecrementalAuthorization { + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.DecrementalAuthorization.Status; + } + export namespace ExtendedAuthorization { + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.ExtendedAuthorization.Status; + } + export namespace IncrementalAuthorization { + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.IncrementalAuthorization.Status; + } + export namespace Installments { + export type Plan = Stripe_.Charge.PaymentMethodDetails.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe_.Charge.PaymentMethodDetails.Card.Installments.Plan.Type; + } + } + export namespace Multicapture { + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.Multicapture.Status; + } + export namespace Overcapture { + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.Overcapture.Status; + } + export namespace PartialAuthorization { + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.PartialAuthorization.Status; + } + export namespace Reauthorization { + export type Status = Stripe_.Charge.PaymentMethodDetails.Card.Reauthorization.Status; + } + export namespace ThreeDSecure { + export type AuthenticationFlow = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; + export type Result = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe_.Charge.PaymentMethodDetails.Card.ThreeDSecure.Version; + } + export namespace Wallet { + export type AmexExpressCheckout = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.GooglePay; + export type Link = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.Link; + export type Masterpass = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.Masterpass; + export type SamsungPay = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.SamsungPay; + export type Type = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.Type; + export type VisaCheckout = Stripe_.Charge.PaymentMethodDetails.Card.Wallet.VisaCheckout; + } + } + export namespace CardPresent { + export type Multicapture = Stripe_.Charge.PaymentMethodDetails.CardPresent.Multicapture; + export type Offline = Stripe_.Charge.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.Charge.PaymentMethodDetails.CardPresent.ReadMethod; + export type Reauthorization = Stripe_.Charge.PaymentMethodDetails.CardPresent.Reauthorization; + export type Receipt = Stripe_.Charge.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.Charge.PaymentMethodDetails.CardPresent.Wallet; + export namespace Multicapture { + export type Status = Stripe_.Charge.PaymentMethodDetails.CardPresent.Multicapture.Status; + } + export namespace Reauthorization { + export type Status = Stripe_.Charge.PaymentMethodDetails.CardPresent.Reauthorization.Status; + } + export namespace Receipt { + export type AccountType = Stripe_.Charge.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe_.Charge.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + export namespace Crypto { + export type Network = Stripe_.Charge.PaymentMethodDetails.Crypto.Network; + export type TokenCurrency = Stripe_.Charge.PaymentMethodDetails.Crypto.TokenCurrency; + } + export namespace Eps { + export type Bank = Stripe_.Charge.PaymentMethodDetails.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.Charge.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe_.Charge.PaymentMethodDetails.Fpx.Bank; + } + export namespace GiftCard { + export type Balance = Stripe_.Charge.PaymentMethodDetails.GiftCard.Balance; + export type Brand = Stripe_.Charge.PaymentMethodDetails.GiftCard.Brand; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.Charge.PaymentMethodDetails.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.Charge.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe_.Charge.PaymentMethodDetails.Ideal.Bic; + } + export namespace InteracPresent { + export type ReadMethod = Stripe_.Charge.PaymentMethodDetails.InteracPresent.ReadMethod; + export type Receipt = Stripe_.Charge.PaymentMethodDetails.InteracPresent.Receipt; + export namespace Receipt { + export type AccountType = Stripe_.Charge.PaymentMethodDetails.InteracPresent.Receipt.AccountType; + } + } + export namespace Klarna { + export type PayerDetails = Stripe_.Charge.PaymentMethodDetails.Klarna.PayerDetails; + export namespace PayerDetails { + export type Address = Stripe_.Charge.PaymentMethodDetails.Klarna.PayerDetails.Address; + } + } + export namespace Konbini { + export type Store = Stripe_.Charge.PaymentMethodDetails.Konbini.Store; + export namespace Store { + export type Chain = Stripe_.Charge.PaymentMethodDetails.Konbini.Store.Chain; + } + } + export namespace KrCard { + export type Brand = Stripe_.Charge.PaymentMethodDetails.KrCard.Brand; + } + export namespace Mobilepay { + export type Card = Stripe_.Charge.PaymentMethodDetails.Mobilepay.Card; + } + export namespace P24 { + export type Bank = Stripe_.Charge.PaymentMethodDetails.P24.Bank; + } + export namespace Paypal { + export type SellerProtection = Stripe_.Charge.PaymentMethodDetails.Paypal.SellerProtection; + export namespace SellerProtection { + export type DisputeCategory = Stripe_.Charge.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; + export type Status = Stripe_.Charge.PaymentMethodDetails.Paypal.SellerProtection.Status; + } + } + export namespace RevolutPay { + export type Funding = Stripe_.Charge.PaymentMethodDetails.RevolutPay.Funding; + export namespace Funding { + export type Card = Stripe_.Charge.PaymentMethodDetails.RevolutPay.Funding.Card; + } + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.Charge.PaymentMethodDetails.Sofort.PreferredLanguage; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.Charge.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.Charge.PaymentMethodDetails.UsBankAccount.AccountType; + } + } + } + export namespace ConfirmationToken { + export type MandateData = Stripe_.ConfirmationToken.MandateData; + export type PaymentMethodOptions = Stripe_.ConfirmationToken.PaymentMethodOptions; + export type PaymentMethodPreview = Stripe_.ConfirmationToken.PaymentMethodPreview; + export type SetupFutureUsage = Stripe_.ConfirmationToken.SetupFutureUsage; + export type Shipping = Stripe_.ConfirmationToken.Shipping; + export namespace MandateData { + export type CustomerAcceptance = Stripe_.ConfirmationToken.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Online = Stripe_.ConfirmationToken.MandateData.CustomerAcceptance.Online; + } + } + export namespace PaymentMethodOptions { + export type Card = Stripe_.ConfirmationToken.PaymentMethodOptions.Card; + export namespace Card { + export type Installments = Stripe_.ConfirmationToken.PaymentMethodOptions.Card.Installments; + export namespace Installments { + export type Plan = Stripe_.ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe_.ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + } + } + export namespace PaymentMethodPreview { + export type AcssDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.AcssDebit; + export type Affirm = Stripe_.ConfirmationToken.PaymentMethodPreview.Affirm; + export type AfterpayClearpay = Stripe_.ConfirmationToken.PaymentMethodPreview.AfterpayClearpay; + export type Alipay = Stripe_.ConfirmationToken.PaymentMethodPreview.Alipay; + export type AllowRedisplay = Stripe_.ConfirmationToken.PaymentMethodPreview.AllowRedisplay; + export type Alma = Stripe_.ConfirmationToken.PaymentMethodPreview.Alma; + export type AmazonPay = Stripe_.ConfirmationToken.PaymentMethodPreview.AmazonPay; + export type AuBecsDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.AuBecsDebit; + export type BacsDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.BacsDebit; + export type Bancontact = Stripe_.ConfirmationToken.PaymentMethodPreview.Bancontact; + export type Billie = Stripe_.ConfirmationToken.PaymentMethodPreview.Billie; + export type BillingDetails = Stripe_.ConfirmationToken.PaymentMethodPreview.BillingDetails; + export type Bizum = Stripe_.ConfirmationToken.PaymentMethodPreview.Bizum; + export type Blik = Stripe_.ConfirmationToken.PaymentMethodPreview.Blik; + export type Boleto = Stripe_.ConfirmationToken.PaymentMethodPreview.Boleto; + export type Card = Stripe_.ConfirmationToken.PaymentMethodPreview.Card; + export type CardPresent = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent; + export type Cashapp = Stripe_.ConfirmationToken.PaymentMethodPreview.Cashapp; + export type Crypto = Stripe_.ConfirmationToken.PaymentMethodPreview.Crypto; + export type CustomerBalance = Stripe_.ConfirmationToken.PaymentMethodPreview.CustomerBalance; + export type Eps = Stripe_.ConfirmationToken.PaymentMethodPreview.Eps; + export type Fpx = Stripe_.ConfirmationToken.PaymentMethodPreview.Fpx; + export type GiftCard = Stripe_.ConfirmationToken.PaymentMethodPreview.GiftCard; + export type Giropay = Stripe_.ConfirmationToken.PaymentMethodPreview.Giropay; + export type Gopay = Stripe_.ConfirmationToken.PaymentMethodPreview.Gopay; + export type Grabpay = Stripe_.ConfirmationToken.PaymentMethodPreview.Grabpay; + export type IdBankTransfer = Stripe_.ConfirmationToken.PaymentMethodPreview.IdBankTransfer; + export type Ideal = Stripe_.ConfirmationToken.PaymentMethodPreview.Ideal; + export type InteracPresent = Stripe_.ConfirmationToken.PaymentMethodPreview.InteracPresent; + export type KakaoPay = Stripe_.ConfirmationToken.PaymentMethodPreview.KakaoPay; + export type Klarna = Stripe_.ConfirmationToken.PaymentMethodPreview.Klarna; + export type Konbini = Stripe_.ConfirmationToken.PaymentMethodPreview.Konbini; + export type KrCard = Stripe_.ConfirmationToken.PaymentMethodPreview.KrCard; + export type Link = Stripe_.ConfirmationToken.PaymentMethodPreview.Link; + export type MbWay = Stripe_.ConfirmationToken.PaymentMethodPreview.MbWay; + export type Mobilepay = Stripe_.ConfirmationToken.PaymentMethodPreview.Mobilepay; + export type Multibanco = Stripe_.ConfirmationToken.PaymentMethodPreview.Multibanco; + export type NaverPay = Stripe_.ConfirmationToken.PaymentMethodPreview.NaverPay; + export type NzBankAccount = Stripe_.ConfirmationToken.PaymentMethodPreview.NzBankAccount; + export type Oxxo = Stripe_.ConfirmationToken.PaymentMethodPreview.Oxxo; + export type P24 = Stripe_.ConfirmationToken.PaymentMethodPreview.P24; + export type PayByBank = Stripe_.ConfirmationToken.PaymentMethodPreview.PayByBank; + export type Payco = Stripe_.ConfirmationToken.PaymentMethodPreview.Payco; + export type Paynow = Stripe_.ConfirmationToken.PaymentMethodPreview.Paynow; + export type Paypal = Stripe_.ConfirmationToken.PaymentMethodPreview.Paypal; + export type Paypay = Stripe_.ConfirmationToken.PaymentMethodPreview.Paypay; + export type Payto = Stripe_.ConfirmationToken.PaymentMethodPreview.Payto; + export type Pix = Stripe_.ConfirmationToken.PaymentMethodPreview.Pix; + export type Promptpay = Stripe_.ConfirmationToken.PaymentMethodPreview.Promptpay; + export type Qris = Stripe_.ConfirmationToken.PaymentMethodPreview.Qris; + export type Rechnung = Stripe_.ConfirmationToken.PaymentMethodPreview.Rechnung; + export type RevolutPay = Stripe_.ConfirmationToken.PaymentMethodPreview.RevolutPay; + export type SamsungPay = Stripe_.ConfirmationToken.PaymentMethodPreview.SamsungPay; + export type Satispay = Stripe_.ConfirmationToken.PaymentMethodPreview.Satispay; + export type Scalapay = Stripe_.ConfirmationToken.PaymentMethodPreview.Scalapay; + export type SepaDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.SepaDebit; + export type Shopeepay = Stripe_.ConfirmationToken.PaymentMethodPreview.Shopeepay; + export type Sofort = Stripe_.ConfirmationToken.PaymentMethodPreview.Sofort; + export type StripeBalance = Stripe_.ConfirmationToken.PaymentMethodPreview.StripeBalance; + export type Sunbit = Stripe_.ConfirmationToken.PaymentMethodPreview.Sunbit; + export type Swish = Stripe_.ConfirmationToken.PaymentMethodPreview.Swish; + export type Tamara = Stripe_.ConfirmationToken.PaymentMethodPreview.Tamara; + export type Twint = Stripe_.ConfirmationToken.PaymentMethodPreview.Twint; + export type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.Type; + export type Upi = Stripe_.ConfirmationToken.PaymentMethodPreview.Upi; + export type UsBankAccount = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount; + export type WechatPay = Stripe_.ConfirmationToken.PaymentMethodPreview.WechatPay; + export type Zip = Stripe_.ConfirmationToken.PaymentMethodPreview.Zip; + export namespace Card { + export type Benefits = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Benefits; + export type Checks = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Checks; + export type GeneratedFrom = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom; + export type Networks = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Networks; + export type RegulatedStatus = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.RegulatedStatus; + export type ThreeDSecureUsage = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.ThreeDSecureUsage; + export type Wallet = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet; + export namespace GeneratedFrom { + export type PaymentMethodDetails = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails; + export namespace PaymentMethodDetails { + export type CardPresent = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; + export namespace CardPresent { + export type Multicapture = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Multicapture; + export type Offline = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; + export type Reauthorization = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Reauthorization; + export type Receipt = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; + export namespace Multicapture { + export type Status = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Multicapture.Status; + } + export namespace Reauthorization { + export type Status = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Reauthorization.Status; + } + export namespace Receipt { + export type AccountType = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + } + } + export namespace Wallet { + export type AmexExpressCheckout = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.GooglePay; + export type Link = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Link; + export type Masterpass = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Masterpass; + export type SamsungPay = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.SamsungPay; + export type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.Type; + export type VisaCheckout = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.Wallet.VisaCheckout; + } + } + export namespace CardPresent { + export type Networks = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.Networks; + export type Offline = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.Offline; + export type ReadMethod = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.ReadMethod; + export type Wallet = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.Wallet; + export namespace Wallet { + export type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent.Wallet.Type; + } + } + export namespace Eps { + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.ConfirmationToken.PaymentMethodPreview.Fpx.AccountHolderType; + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.Fpx.Bank; + } + export namespace GiftCard { + export type Brand = Stripe_.ConfirmationToken.PaymentMethodPreview.GiftCard.Brand; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.Ideal.Bank; + export type Bic = Stripe_.ConfirmationToken.PaymentMethodPreview.Ideal.Bic; + } + export namespace InteracPresent { + export type Networks = Stripe_.ConfirmationToken.PaymentMethodPreview.InteracPresent.Networks; + export type ReadMethod = Stripe_.ConfirmationToken.PaymentMethodPreview.InteracPresent.ReadMethod; + } + export namespace Klarna { + export type Dob = Stripe_.ConfirmationToken.PaymentMethodPreview.Klarna.Dob; + } + export namespace KrCard { + export type Brand = Stripe_.ConfirmationToken.PaymentMethodPreview.KrCard.Brand; + } + export namespace NaverPay { + export type Funding = Stripe_.ConfirmationToken.PaymentMethodPreview.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.ConfirmationToken.PaymentMethodPreview.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.ConfirmationToken.PaymentMethodPreview.Rechnung.Dob; + } + export namespace SepaDebit { + export type GeneratedFrom = Stripe_.ConfirmationToken.PaymentMethodPreview.SepaDebit.GeneratedFrom; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.AccountType; + export type Networks = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networks; + export type StatusDetails = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails; + export namespace Networks { + export type Supported = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networks.Supported; + } + export namespace StatusDetails { + export type Blocked = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked; + export namespace Blocked { + export type NetworkCode = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked.NetworkCode; + export type Reason = Stripe_.ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked.Reason; + } + } + } + } + } + export namespace CountrySpec { + export type VerificationFields = Stripe_.CountrySpec.VerificationFields; + export namespace VerificationFields { + export type Company = Stripe_.CountrySpec.VerificationFields.Company; + export type Individual = Stripe_.CountrySpec.VerificationFields.Individual; + } + } + export namespace CouponCreateParams { + export type AppliesTo = Stripe_.CouponCreateParams.AppliesTo; + export type CurrencyOptions = Stripe_.CouponCreateParams.CurrencyOptions; + export type Duration = Stripe_.CouponCreateParams.Duration; + export type Script = Stripe_.CouponCreateParams.Script; + export type ServicePeriod = Stripe_.CouponCreateParams.ServicePeriod; + export namespace Script { + export type Configuration = Stripe_.CouponCreateParams.Script.Configuration; + } + export namespace ServicePeriod { + export type Interval = Stripe_.CouponCreateParams.ServicePeriod.Interval; + export type Iterations = Stripe_.CouponCreateParams.ServicePeriod.Iterations; + export namespace Iterations { + export type Type = Stripe_.CouponCreateParams.ServicePeriod.Iterations.Type; + } + } + } + export namespace CouponUpdateParams { + export type CurrencyOptions = Stripe_.CouponUpdateParams.CurrencyOptions; + } + export namespace Coupon { + export type AppliesTo = Stripe_.Coupon.AppliesTo; + export type CurrencyOptions = Stripe_.Coupon.CurrencyOptions; + export type Duration = Stripe_.Coupon.Duration; + export type Script = Stripe_.Coupon.Script; + export type ServicePeriod = Stripe_.Coupon.ServicePeriod; + export type Type = Stripe_.Coupon.Type; + export namespace Script { + export type Configuration = Stripe_.Coupon.Script.Configuration; + } + export namespace ServicePeriod { + export type Iterations = Stripe_.Coupon.ServicePeriod.Iterations; + export namespace Iterations { + export type Type = Stripe_.Coupon.ServicePeriod.Iterations.Type; + } + } + } + export namespace CreditNoteCreateParams { + export type EmailType = Stripe_.CreditNoteCreateParams.EmailType; + export type Line = Stripe_.CreditNoteCreateParams.Line; + export type Reason = Stripe_.CreditNoteCreateParams.Reason; + export type Refund = Stripe_.CreditNoteCreateParams.Refund; + export type ShippingCost = Stripe_.CreditNoteCreateParams.ShippingCost; + export namespace Line { + export type TaxAmount = Stripe_.CreditNoteCreateParams.Line.TaxAmount; + export type Type = Stripe_.CreditNoteCreateParams.Line.Type; + } + export namespace Refund { + export type PaymentRecordRefund = Stripe_.CreditNoteCreateParams.Refund.PaymentRecordRefund; + export type Type = Stripe_.CreditNoteCreateParams.Refund.Type; + } + } + export namespace CreditNoteListPreviewLineItemsParams { + export type EmailType = Stripe_.CreditNoteListPreviewLineItemsParams.EmailType; + export type Line = Stripe_.CreditNoteListPreviewLineItemsParams.Line; + export type Reason = Stripe_.CreditNoteListPreviewLineItemsParams.Reason; + export type Refund = Stripe_.CreditNoteListPreviewLineItemsParams.Refund; + export type ShippingCost = Stripe_.CreditNoteListPreviewLineItemsParams.ShippingCost; + export namespace Line { + export type TaxAmount = Stripe_.CreditNoteListPreviewLineItemsParams.Line.TaxAmount; + export type Type = Stripe_.CreditNoteListPreviewLineItemsParams.Line.Type; + } + export namespace Refund { + export type PaymentRecordRefund = Stripe_.CreditNoteListPreviewLineItemsParams.Refund.PaymentRecordRefund; + export type Type = Stripe_.CreditNoteListPreviewLineItemsParams.Refund.Type; + } + } + export namespace CreditNotePreviewParams { + export type EmailType = Stripe_.CreditNotePreviewParams.EmailType; + export type Line = Stripe_.CreditNotePreviewParams.Line; + export type Reason = Stripe_.CreditNotePreviewParams.Reason; + export type Refund = Stripe_.CreditNotePreviewParams.Refund; + export type ShippingCost = Stripe_.CreditNotePreviewParams.ShippingCost; + export namespace Line { + export type TaxAmount = Stripe_.CreditNotePreviewParams.Line.TaxAmount; + export type Type = Stripe_.CreditNotePreviewParams.Line.Type; + } + export namespace Refund { + export type PaymentRecordRefund = Stripe_.CreditNotePreviewParams.Refund.PaymentRecordRefund; + export type Type = Stripe_.CreditNotePreviewParams.Refund.Type; + } + } + export namespace CreditNote { + export type DiscountAmount = Stripe_.CreditNote.DiscountAmount; + export type PretaxCreditAmount = Stripe_.CreditNote.PretaxCreditAmount; + export type Reason = Stripe_.CreditNote.Reason; + export type Refund = Stripe_.CreditNote.Refund; + export type ShippingCost = Stripe_.CreditNote.ShippingCost; + export type Status = Stripe_.CreditNote.Status; + export type TotalTax = Stripe_.CreditNote.TotalTax; + export type Type = Stripe_.CreditNote.Type; + export namespace PretaxCreditAmount { + export type Type = Stripe_.CreditNote.PretaxCreditAmount.Type; + } + export namespace Refund { + export type PaymentRecordRefund = Stripe_.CreditNote.Refund.PaymentRecordRefund; + export type Type = Stripe_.CreditNote.Refund.Type; + } + export namespace ShippingCost { + export type Tax = Stripe_.CreditNote.ShippingCost.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.CreditNote.ShippingCost.Tax.TaxabilityReason; + } + } + export namespace TotalTax { + export type TaxBehavior = Stripe_.CreditNote.TotalTax.TaxBehavior; + export type TaxRateDetails = Stripe_.CreditNote.TotalTax.TaxRateDetails; + export type TaxabilityReason = Stripe_.CreditNote.TotalTax.TaxabilityReason; + } + } + export namespace CustomerCreateParams { + export type CashBalance = Stripe_.CustomerCreateParams.CashBalance; + export type InvoiceSettings = Stripe_.CustomerCreateParams.InvoiceSettings; + export type Shipping = Stripe_.CustomerCreateParams.Shipping; + export type Tax = Stripe_.CustomerCreateParams.Tax; + export type TaxExempt = Stripe_.CustomerCreateParams.TaxExempt; + export type TaxIdDatum = Stripe_.CustomerCreateParams.TaxIdDatum; export namespace CashBalance { export type Settings = Stripe_.CustomerCreateParams.CashBalance.Settings; export namespace Settings { @@ -1236,6 +2892,7 @@ declare namespace StripeConstructor { export type MobilePaymentElement = Stripe_.CustomerSessionCreateParams.Components.MobilePaymentElement; export type PaymentElement = Stripe_.CustomerSessionCreateParams.Components.PaymentElement; export type PricingTable = Stripe_.CustomerSessionCreateParams.Components.PricingTable; + export type TaxIdElement = Stripe_.CustomerSessionCreateParams.Components.TaxIdElement; export namespace CustomerSheet { export type Features = Stripe_.CustomerSessionCreateParams.Components.CustomerSheet.Features; export namespace Features { @@ -1263,6 +2920,13 @@ declare namespace StripeConstructor { export type PaymentMethodSaveUsage = Stripe_.CustomerSessionCreateParams.Components.PaymentElement.Features.PaymentMethodSaveUsage; } } + export namespace TaxIdElement { + export type Features = Stripe_.CustomerSessionCreateParams.Components.TaxIdElement.Features; + export namespace Features { + export type TaxIdRedisplay = Stripe_.CustomerSessionCreateParams.Components.TaxIdElement.Features.TaxIdRedisplay; + export type TaxIdSave = Stripe_.CustomerSessionCreateParams.Components.TaxIdElement.Features.TaxIdSave; + } + } } } export namespace CustomerSession { @@ -1273,6 +2937,7 @@ declare namespace StripeConstructor { export type MobilePaymentElement = Stripe_.CustomerSession.Components.MobilePaymentElement; export type PaymentElement = Stripe_.CustomerSession.Components.PaymentElement; export type PricingTable = Stripe_.CustomerSession.Components.PricingTable; + export type TaxIdElement = Stripe_.CustomerSession.Components.TaxIdElement; export namespace CustomerSheet { export type Features = Stripe_.CustomerSession.Components.CustomerSheet.Features; export namespace Features { @@ -1300,24 +2965,123 @@ declare namespace StripeConstructor { export type PaymentMethodSaveUsage = Stripe_.CustomerSession.Components.PaymentElement.Features.PaymentMethodSaveUsage; } } + export namespace TaxIdElement { + export type Features = Stripe_.CustomerSession.Components.TaxIdElement.Features; + export namespace Features { + export type TaxIdRedisplay = Stripe_.CustomerSession.Components.TaxIdElement.Features.TaxIdRedisplay; + export type TaxIdSave = Stripe_.CustomerSession.Components.TaxIdElement.Features.TaxIdSave; + } + } } } export namespace DisputeUpdateParams { - export type Evidence = Stripe.DisputeUpdateParams.Evidence; - export type IntendedSubmissionMethod = Stripe.DisputeUpdateParams.IntendedSubmissionMethod; + export type Evidence = Stripe_.DisputeUpdateParams.Evidence; + export type IntendedSubmissionMethod = Stripe_.DisputeUpdateParams.IntendedSubmissionMethod; + export namespace Evidence { + export type EnhancedEvidence = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence; + export namespace EnhancedEvidence { + export type VisaCompellingEvidence3 = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3; + export type VisaCompliance = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompliance; + export namespace VisaCompellingEvidence3 { + export type DisputedTransaction = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction; + export type PriorUndisputedTransaction = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.PriorUndisputedTransaction; + export namespace DisputedTransaction { + export type MerchandiseOrServices = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction.MerchandiseOrServices; + } + } + } + } + } + export namespace Dispute { + export type EnhancedEligibilityType = Stripe_.Dispute.EnhancedEligibilityType; + export type Evidence = Stripe_.Dispute.Evidence; + export type EvidenceDetails = Stripe_.Dispute.EvidenceDetails; + export type IntendedSubmissionMethod = Stripe_.Dispute.IntendedSubmissionMethod; + export type PaymentMethodDetails = Stripe_.Dispute.PaymentMethodDetails; + export type SmartDisputes = Stripe_.Dispute.SmartDisputes; + export type Status = Stripe_.Dispute.Status; + export namespace Evidence { + export type EnhancedEvidence = Stripe_.Dispute.Evidence.EnhancedEvidence; + export namespace EnhancedEvidence { + export type VisaCompellingEvidence3 = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3; + export type VisaCompliance = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompliance; + export namespace VisaCompellingEvidence3 { + export type DisputedTransaction = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction; + export type PriorUndisputedTransaction = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.PriorUndisputedTransaction; + export namespace DisputedTransaction { + export type MerchandiseOrServices = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3.DisputedTransaction.MerchandiseOrServices; + } + } + } + } + export namespace EvidenceDetails { + export type EnhancedEligibility = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility; + export type SubmissionMethod = Stripe_.Dispute.EvidenceDetails.SubmissionMethod; + export namespace EnhancedEligibility { + export type VisaCompellingEvidence3 = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3; + export type VisaCompliance = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance; + export namespace VisaCompellingEvidence3 { + export type RequiredAction = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.RequiredAction; + export type Status = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.Status; + } + export namespace VisaCompliance { + export type Status = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance.Status; + } + } + } + export namespace PaymentMethodDetails { + export type AmazonPay = Stripe_.Dispute.PaymentMethodDetails.AmazonPay; + export type Card = Stripe_.Dispute.PaymentMethodDetails.Card; + export type Klarna = Stripe_.Dispute.PaymentMethodDetails.Klarna; + export type Paypal = Stripe_.Dispute.PaymentMethodDetails.Paypal; + export type Type = Stripe_.Dispute.PaymentMethodDetails.Type; + export namespace AmazonPay { + export type DisputeType = Stripe_.Dispute.PaymentMethodDetails.AmazonPay.DisputeType; + } + export namespace Card { + export type CaseType = Stripe_.Dispute.PaymentMethodDetails.Card.CaseType; + } + } + export namespace SmartDisputes { + export type Status = Stripe_.Dispute.SmartDisputes.Status; + } + } + export namespace Event { + export type Data = Stripe_.Event.Data; + export type Reason = Stripe_.Event.Reason; + export type Request = Stripe_.Event.Request; + export type Type = Stripe_.Event.Type; + export namespace Data { + export type Object = Stripe_.Event.Data.Object; + export type PreviousAttributes = Stripe_.Event.Data.PreviousAttributes; + } + export namespace Reason { + export type AutomationAction = Stripe_.Event.Reason.AutomationAction; + export type Request = Stripe_.Event.Reason.Request; + export type Type = Stripe_.Event.Reason.Type; + export namespace AutomationAction { + export type StripeSendWebhookCustomEvent = Stripe_.Event.Reason.AutomationAction.StripeSendWebhookCustomEvent; + } + } } export namespace ExternalAccountCreateParams { - export type Card = Stripe.ExternalAccountCreateParams.Card; - export type BankAccount = Stripe.ExternalAccountCreateParams.BankAccount; - export type CardToken = Stripe.ExternalAccountCreateParams.CardToken; + export type Card = Stripe_.ExternalAccountCreateParams.Card; + export type BankAccount = Stripe_.ExternalAccountCreateParams.BankAccount; + export type CardToken = Stripe_.ExternalAccountCreateParams.CardToken; + export namespace BankAccount { + export type AccountHolderType = Stripe_.ExternalAccountCreateParams.BankAccount.AccountHolderType; + } } export namespace ExternalAccountUpdateParams { - export type AccountHolderType = Stripe.ExternalAccountUpdateParams.AccountHolderType; - export type AccountType = Stripe.ExternalAccountUpdateParams.AccountType; - export type Documents = Stripe.ExternalAccountUpdateParams.Documents; - } + export type AccountHolderType = Stripe_.ExternalAccountUpdateParams.AccountHolderType; + export type AccountType = Stripe_.ExternalAccountUpdateParams.AccountType; + export type Documents = Stripe_.ExternalAccountUpdateParams.Documents; + export namespace Documents { + export type BankAccountOwnershipVerification = Stripe_.ExternalAccountUpdateParams.Documents.BankAccountOwnershipVerification; + } + } export namespace ExternalAccountListParams { - export type Object = Stripe.ExternalAccountListParams.Object; + export type Object = Stripe_.ExternalAccountListParams.Object; } export namespace FileCreateParams { export type Purpose = Stripe_.FileCreateParams.Purpose; @@ -1329,43 +3093,374 @@ declare namespace StripeConstructor { export namespace File { export type Purpose = Stripe_.File.Purpose; } + export namespace FrMealVouchersOnboarding { + export type Providers = Stripe_.FrMealVouchersOnboarding.Providers; + export namespace Providers { + export type Conecs = Stripe_.FrMealVouchersOnboarding.Providers.Conecs; + export namespace Conecs { + export type Issuers = Stripe_.FrMealVouchersOnboarding.Providers.Conecs.Issuers; + export type Requirements = Stripe_.FrMealVouchersOnboarding.Providers.Conecs.Requirements; + export type Status = Stripe_.FrMealVouchersOnboarding.Providers.Conecs.Status; + export namespace Issuers { + export type Available = Stripe_.FrMealVouchersOnboarding.Providers.Conecs.Issuers.Available; + } + export namespace Requirements { + export type Error = Stripe_.FrMealVouchersOnboarding.Providers.Conecs.Requirements.Error; + export type PastDue = Stripe_.FrMealVouchersOnboarding.Providers.Conecs.Requirements.PastDue; + export namespace Error { + export type Code = Stripe_.FrMealVouchersOnboarding.Providers.Conecs.Requirements.Error.Code; + export type Requirement = Stripe_.FrMealVouchersOnboarding.Providers.Conecs.Requirements.Error.Requirement; + } + } + } + } + } export namespace FxQuoteCreateParams { - export type LockDuration = Stripe.FxQuoteCreateParams.LockDuration; - export type Usage = Stripe.FxQuoteCreateParams.Usage; + export type LockDuration = Stripe_.FxQuoteCreateParams.LockDuration; + export type Usage = Stripe_.FxQuoteCreateParams.Usage; + export namespace Usage { + export type Payment = Stripe_.FxQuoteCreateParams.Usage.Payment; + export type Transfer = Stripe_.FxQuoteCreateParams.Usage.Transfer; + export type Type = Stripe_.FxQuoteCreateParams.Usage.Type; + } + } + export namespace FxQuote { + export type LockDuration = Stripe_.FxQuote.LockDuration; + export type LockStatus = Stripe_.FxQuote.LockStatus; + export type Rates = Stripe_.FxQuote.Rates; + export type Usage = Stripe_.FxQuote.Usage; + export namespace Rates { + export type RateDetails = Stripe_.FxQuote.Rates.RateDetails; + } + export namespace Usage { + export type Payment = Stripe_.FxQuote.Usage.Payment; + export type Transfer = Stripe_.FxQuote.Usage.Transfer; + export type Type = Stripe_.FxQuote.Usage.Type; + } } export namespace GiftCardCreateParams { - export type Brand = Stripe.GiftCardCreateParams.Brand; + export type Brand = Stripe_.GiftCardCreateParams.Brand; } export namespace GiftCardActivateParams { - export type Balance = Stripe.GiftCardActivateParams.Balance; + export type Balance = Stripe_.GiftCardActivateParams.Balance; + } + export namespace GiftCard { + export type Brand = Stripe_.GiftCard.Brand; + } + export namespace GiftCardOperation { + export type Activation = Stripe_.GiftCardOperation.Activation; + export type ActivationVoid = Stripe_.GiftCardOperation.ActivationVoid; + export type BalanceCheck = Stripe_.GiftCardOperation.BalanceCheck; + export type Cashout = Stripe_.GiftCardOperation.Cashout; + export type CashoutVoid = Stripe_.GiftCardOperation.CashoutVoid; + export type Deactivation = Stripe_.GiftCardOperation.Deactivation; + export type FailureCode = Stripe_.GiftCardOperation.FailureCode; + export type Reload = Stripe_.GiftCardOperation.Reload; + export type ReloadVoid = Stripe_.GiftCardOperation.ReloadVoid; + export type Status = Stripe_.GiftCardOperation.Status; + export type Type = Stripe_.GiftCardOperation.Type; + export namespace Activation { + export type Balance = Stripe_.GiftCardOperation.Activation.Balance; + } + export namespace BalanceCheck { + export type Balance = Stripe_.GiftCardOperation.BalanceCheck.Balance; + } + export namespace Cashout { + export type Balance = Stripe_.GiftCardOperation.Cashout.Balance; + export type PreviousBalance = Stripe_.GiftCardOperation.Cashout.PreviousBalance; + } + export namespace CashoutVoid { + export type Balance = Stripe_.GiftCardOperation.CashoutVoid.Balance; + } + export namespace Reload { + export type Balance = Stripe_.GiftCardOperation.Reload.Balance; + export type PreviousBalance = Stripe_.GiftCardOperation.Reload.PreviousBalance; + } + export namespace ReloadVoid { + export type Balance = Stripe_.GiftCardOperation.ReloadVoid.Balance; + } } export namespace InvoiceCreateParams { - export type AmountsDue = Stripe.InvoiceCreateParams.AmountsDue; - export type AutomaticTax = Stripe.InvoiceCreateParams.AutomaticTax; - export type CollectionMethod = Stripe.InvoiceCreateParams.CollectionMethod; - export type CustomField = Stripe.InvoiceCreateParams.CustomField; - export type Discount = Stripe.InvoiceCreateParams.Discount; - export type FromInvoice = Stripe.InvoiceCreateParams.FromInvoice; - export type Issuer = Stripe.InvoiceCreateParams.Issuer; - export type PaymentSettings = Stripe.InvoiceCreateParams.PaymentSettings; - export type PendingInvoiceItemsBehavior = Stripe.InvoiceCreateParams.PendingInvoiceItemsBehavior; - export type Rendering = Stripe.InvoiceCreateParams.Rendering; - export type ShippingCost = Stripe.InvoiceCreateParams.ShippingCost; - export type ShippingDetails = Stripe.InvoiceCreateParams.ShippingDetails; - export type TransferData = Stripe.InvoiceCreateParams.TransferData; + export type AmountsDue = Stripe_.InvoiceCreateParams.AmountsDue; + export type AutomaticTax = Stripe_.InvoiceCreateParams.AutomaticTax; + export type CollectionMethod = Stripe_.InvoiceCreateParams.CollectionMethod; + export type CustomField = Stripe_.InvoiceCreateParams.CustomField; + export type Discount = Stripe_.InvoiceCreateParams.Discount; + export type FromInvoice = Stripe_.InvoiceCreateParams.FromInvoice; + export type Issuer = Stripe_.InvoiceCreateParams.Issuer; + export type PaymentSettings = Stripe_.InvoiceCreateParams.PaymentSettings; + export type PendingInvoiceItemsBehavior = Stripe_.InvoiceCreateParams.PendingInvoiceItemsBehavior; + export type Rendering = Stripe_.InvoiceCreateParams.Rendering; + export type ShippingCost = Stripe_.InvoiceCreateParams.ShippingCost; + export type ShippingDetails = Stripe_.InvoiceCreateParams.ShippingDetails; + export type TransferData = Stripe_.InvoiceCreateParams.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.InvoiceCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.InvoiceCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreateParams.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreateParams.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace Issuer { + export type Type = Stripe_.InvoiceCreateParams.Issuer.Type; + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodType; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Bizum = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Blik; + export type Card = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CheckScan = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CheckScan; + export type CustomerBalance = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type IdBankTransfer = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.IdBankTransfer; + export type Konbini = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Installments = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace Installments { + export type Plan = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + } + } + export namespace Payto { + export type MandateOptions = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type Purpose = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + } + export namespace Upi { + export type MandateOptions = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + export namespace WechatPay { + export type Client = Stripe_.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.WechatPay.Client; + } + } + } + export namespace Rendering { + export type AmountTaxDisplay = Stripe_.InvoiceCreateParams.Rendering.AmountTaxDisplay; + export type Pdf = Stripe_.InvoiceCreateParams.Rendering.Pdf; + export namespace Pdf { + export type PageSize = Stripe_.InvoiceCreateParams.Rendering.Pdf.PageSize; + } + } + export namespace ShippingCost { + export type ShippingRateData = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData; + export namespace ShippingRateData { + export type DeliveryEstimate = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe_.InvoiceCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + } } export namespace InvoiceUpdateParams { - export type AmountsDue = Stripe.InvoiceUpdateParams.AmountsDue; - export type AutomaticTax = Stripe.InvoiceUpdateParams.AutomaticTax; - export type CollectionMethod = Stripe.InvoiceUpdateParams.CollectionMethod; - export type CustomField = Stripe.InvoiceUpdateParams.CustomField; - export type Discount = Stripe.InvoiceUpdateParams.Discount; - export type Issuer = Stripe.InvoiceUpdateParams.Issuer; - export type PaymentSettings = Stripe.InvoiceUpdateParams.PaymentSettings; - export type Rendering = Stripe.InvoiceUpdateParams.Rendering; - export type ShippingCost = Stripe.InvoiceUpdateParams.ShippingCost; - export type ShippingDetails = Stripe.InvoiceUpdateParams.ShippingDetails; - export type TransferData = Stripe.InvoiceUpdateParams.TransferData; + export type AmountsDue = Stripe_.InvoiceUpdateParams.AmountsDue; + export type AutomaticTax = Stripe_.InvoiceUpdateParams.AutomaticTax; + export type CollectionMethod = Stripe_.InvoiceUpdateParams.CollectionMethod; + export type CustomField = Stripe_.InvoiceUpdateParams.CustomField; + export type Discount = Stripe_.InvoiceUpdateParams.Discount; + export type Issuer = Stripe_.InvoiceUpdateParams.Issuer; + export type PaymentSettings = Stripe_.InvoiceUpdateParams.PaymentSettings; + export type Rendering = Stripe_.InvoiceUpdateParams.Rendering; + export type ShippingCost = Stripe_.InvoiceUpdateParams.ShippingCost; + export type ShippingDetails = Stripe_.InvoiceUpdateParams.ShippingDetails; + export type TransferData = Stripe_.InvoiceUpdateParams.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.InvoiceUpdateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.InvoiceUpdateParams.AutomaticTax.Liability.Type; + } + } + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceUpdateParams.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceUpdateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceUpdateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceUpdateParams.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace Issuer { + export type Type = Stripe_.InvoiceUpdateParams.Issuer.Type; + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodType; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Bizum = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Blik; + export type Card = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CheckScan = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CheckScan; + export type CustomerBalance = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type IdBankTransfer = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.IdBankTransfer; + export type Konbini = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Installments = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace Installments { + export type Plan = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + } + } + export namespace Payto { + export type MandateOptions = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type Purpose = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + } + export namespace Upi { + export type MandateOptions = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + export namespace WechatPay { + export type Client = Stripe_.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.WechatPay.Client; + } + } + } + export namespace Rendering { + export type AmountTaxDisplay = Stripe_.InvoiceUpdateParams.Rendering.AmountTaxDisplay; + export type Pdf = Stripe_.InvoiceUpdateParams.Rendering.Pdf; + export namespace Pdf { + export type PageSize = Stripe_.InvoiceUpdateParams.Rendering.Pdf.PageSize; + } + } + export namespace ShippingCost { + export type ShippingRateData = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData; + export namespace ShippingRateData { + export type DeliveryEstimate = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe_.InvoiceUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + } } export namespace InvoiceListParams { export type CollectionMethod = Stripe_.InvoiceListParams.CollectionMethod; @@ -1379,9 +3474,22 @@ declare namespace StripeConstructor { export type PriceData = Stripe_.InvoiceAddLinesParams.Line.PriceData; export type Pricing = Stripe_.InvoiceAddLinesParams.Line.Pricing; export type TaxAmount = Stripe_.InvoiceAddLinesParams.Line.TaxAmount; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceAddLinesParams.Line.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceAddLinesParams.Line.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceAddLinesParams.Line.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceAddLinesParams.Line.Discount.DiscountEnd.Duration.Interval; + } + } + } export namespace PriceData { export type ProductData = Stripe_.InvoiceAddLinesParams.Line.PriceData.ProductData; export type TaxBehavior = Stripe_.InvoiceAddLinesParams.Line.PriceData.TaxBehavior; + export namespace ProductData { + export type TaxDetails = Stripe_.InvoiceAddLinesParams.Line.PriceData.ProductData.TaxDetails; + } } export namespace TaxAmount { export type TaxRateData = Stripe_.InvoiceAddLinesParams.Line.TaxAmount.TaxRateData; @@ -1394,7 +3502,7 @@ declare namespace StripeConstructor { } } export namespace InvoiceAttachPaymentParams { - export type PaymentRecordData = Stripe.InvoiceAttachPaymentParams.PaymentRecordData; + export type PaymentRecordData = Stripe_.InvoiceAttachPaymentParams.PaymentRecordData; } export namespace InvoiceCreatePreviewParams { export type AutomaticTax = Stripe_.InvoiceCreatePreviewParams.AutomaticTax; @@ -1420,11 +3528,40 @@ declare namespace StripeConstructor { export type Type = Stripe_.InvoiceCreatePreviewParams.CustomerDetails.TaxId.Type; } } + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.Discount.DiscountEnd; + export type Settings = Stripe_.InvoiceCreatePreviewParams.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreatePreviewParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.InvoiceCreatePreviewParams.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.InvoiceCreatePreviewParams.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.InvoiceCreatePreviewParams.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.InvoiceCreatePreviewParams.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } export namespace InvoiceItem { export type Discount = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.Discount; export type Period = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.Period; export type PriceData = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.PriceData; export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.TaxBehavior; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.Discount.DiscountEnd.Duration.Interval; + } + } + } export namespace PriceData { export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.InvoiceItem.PriceData.TaxBehavior; } @@ -1433,10 +3570,149 @@ declare namespace StripeConstructor { export type Type = Stripe_.InvoiceCreatePreviewParams.Issuer.Type; } export namespace ScheduleDetails { + export type Amendment = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment; + export type BillingBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingBehavior; export type BillingMode = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode; + export type BillingSchedule = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingSchedule; + export type DefaultSettings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.DefaultSettings; export type EndBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.EndBehavior; export type Phase = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase; + export type Prebilling = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Prebilling; export type ProrationBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.ProrationBehavior; + export namespace Amendment { + export type AmendmentEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd; + export type AmendmentStart = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentStart; + export type BillingCycleAnchor = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.BillingCycleAnchor; + export type BillingSchedulesAction = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.BillingSchedulesAction; + export type DiscountAction = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction; + export type EffectiveAt = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.EffectiveAt; + export type ItemAction = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction; + export type MetadataAction = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.MetadataAction; + export type ProrationBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ProrationBehavior; + export type SetPauseCollection = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.SetPauseCollection; + export type SetScheduleEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.SetScheduleEnd; + export type TrialSettings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.TrialSettings; + export namespace AmendmentEnd { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.DiscountEnd; + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.Duration.Interval; + } + } + export namespace AmendmentStart { + export type AmendmentEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentStart.AmendmentEnd; + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentStart.DiscountEnd; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentStart.Type; + } + export namespace BillingSchedulesAction { + export type AppliesTo = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.BillingSchedulesAction.AppliesTo; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.BillingSchedulesAction.Type; + } + export namespace DiscountAction { + export type Add = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Add; + export type Remove = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Remove; + export type Set = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Set; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Type; + export namespace Add { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Add.DiscountEnd; + export type Settings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Add.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Add.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Add.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Add.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Add.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Set { + export type Settings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Set.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Set.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Set.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Set.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Set.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + } + export namespace ItemAction { + export type Add = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add; + export type Remove = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Remove; + export type Set = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Type; + export namespace Add { + export type Discount = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount; + export type Trial = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.DiscountEnd; + export type Settings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Add.Trial.Type; + } + } + export namespace Set { + export type Discount = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount; + export type Trial = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.DiscountEnd; + export type Settings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Trial.Type; + } + } + } + export namespace MetadataAction { + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.MetadataAction.Type; + } + export namespace SetPauseCollection { + export type Set = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.SetPauseCollection.Set; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.SetPauseCollection.Type; + export namespace Set { + export type Behavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.SetPauseCollection.Set.Behavior; + } + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.TrialSettings.EndBehavior.ProrateUpFront; + } + } + } export namespace BillingMode { export type Flexible = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Flexible; export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Type; @@ -1444,6 +3720,20 @@ declare namespace StripeConstructor { export type ProrationDiscounts = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingMode.Flexible.ProrationDiscounts; } } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace DefaultSettings { + export type PhaseEffectiveAt = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.DefaultSettings.PhaseEffectiveAt; + } export namespace Phase { export type AddInvoiceItem = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem; export type AutomaticTax = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax; @@ -1452,14 +3742,28 @@ declare namespace StripeConstructor { export type CollectionMethod = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.CollectionMethod; export type Discount = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount; export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Duration; + export type EffectiveAt = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.EffectiveAt; export type InvoiceSettings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.InvoiceSettings; export type Item = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item; + export type PauseCollection = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.PauseCollection; export type ProrationBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.ProrationBehavior; export type TransferData = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.TransferData; + export type TrialContinuation = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.TrialContinuation; + export type TrialSettings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.TrialSettings; export namespace AddInvoiceItem { export type Discount = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount; export type Period = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period; export type PriceData = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount.DiscountEnd.Duration.Interval; + } + } + } export namespace Period { export type End = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.End; export type Start = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Period.Start; @@ -1480,6 +3784,25 @@ declare namespace StripeConstructor { export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AutomaticTax.Liability.Type; } } + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.DiscountEnd; + export type Settings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } export namespace Duration { export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Duration.Interval; } @@ -1493,6 +3816,26 @@ declare namespace StripeConstructor { export type BillingThresholds = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.BillingThresholds; export type Discount = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount; export type PriceData = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData; + export type Trial = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.DiscountEnd; + export type Settings = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } export namespace PriceData { export type Recurring = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.Recurring; export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.TaxBehavior; @@ -1500,6 +3843,29 @@ declare namespace StripeConstructor { export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.PriceData.Recurring.Interval; } } + export namespace Trial { + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.Item.Trial.Type; + } + } + export namespace PauseCollection { + export type Behavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.PauseCollection.Behavior; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Phase.TrialSettings.EndBehavior.ProrateUpFront; + } + } + } + export namespace Prebilling { + export type BillUntil = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Prebilling.BillUntil; + export namespace BillUntil { + export type AmendmentEnd = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Prebilling.BillUntil.AmendmentEnd; + export type Duration = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Prebilling.BillUntil.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Prebilling.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.ScheduleDetails.Prebilling.BillUntil.Duration.Interval; + } } } } @@ -1509,6 +3875,7 @@ declare namespace StripeConstructor { export type BillingSchedule = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingSchedule; export type CancelAt = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.CancelAt; export type Item = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item; + export type Prebilling = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Prebilling; export type ProrationBehavior = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.ProrationBehavior; export namespace BillingMode { export type Flexible = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.BillingMode.Flexible; @@ -1530,8 +3897,28 @@ declare namespace StripeConstructor { } export namespace Item { export type BillingThresholds = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.BillingThresholds; + export type CurrentTrial = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.CurrentTrial; export type Discount = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount; export type PriceData = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.DiscountEnd; + export type Settings = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } export namespace PriceData { export type Recurring = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.Recurring; export type TaxBehavior = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Item.PriceData.TaxBehavior; @@ -1556,9 +3943,22 @@ declare namespace StripeConstructor { export type PriceData = Stripe_.InvoiceUpdateLinesParams.Line.PriceData; export type Pricing = Stripe_.InvoiceUpdateLinesParams.Line.Pricing; export type TaxAmount = Stripe_.InvoiceUpdateLinesParams.Line.TaxAmount; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceUpdateLinesParams.Line.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceUpdateLinesParams.Line.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceUpdateLinesParams.Line.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceUpdateLinesParams.Line.Discount.DiscountEnd.Duration.Interval; + } + } + } export namespace PriceData { export type ProductData = Stripe_.InvoiceUpdateLinesParams.Line.PriceData.ProductData; export type TaxBehavior = Stripe_.InvoiceUpdateLinesParams.Line.PriceData.TaxBehavior; + export namespace ProductData { + export type TaxDetails = Stripe_.InvoiceUpdateLinesParams.Line.PriceData.ProductData.TaxDetails; + } } export namespace TaxAmount { export type TaxRateData = Stripe_.InvoiceUpdateLinesParams.Line.TaxAmount.TaxRateData; @@ -1576,9 +3976,22 @@ declare namespace StripeConstructor { export type PriceData = Stripe_.InvoiceUpdateLineItemParams.PriceData; export type Pricing = Stripe_.InvoiceUpdateLineItemParams.Pricing; export type TaxAmount = Stripe_.InvoiceUpdateLineItemParams.TaxAmount; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceUpdateLineItemParams.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceUpdateLineItemParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceUpdateLineItemParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceUpdateLineItemParams.Discount.DiscountEnd.Duration.Interval; + } + } + } export namespace PriceData { export type ProductData = Stripe_.InvoiceUpdateLineItemParams.PriceData.ProductData; export type TaxBehavior = Stripe_.InvoiceUpdateLineItemParams.PriceData.TaxBehavior; + export namespace ProductData { + export type TaxDetails = Stripe_.InvoiceUpdateLineItemParams.PriceData.ProductData.TaxDetails; + } } export namespace TaxAmount { export type TaxRateData = Stripe_.InvoiceUpdateLineItemParams.TaxAmount.TaxRateData; @@ -1590,6 +4003,7 @@ declare namespace StripeConstructor { } } export namespace Invoice { + export type AmountsDue = Stripe_.Invoice.AmountsDue; export type AutomaticTax = Stripe_.Invoice.AutomaticTax; export type BillingReason = Stripe_.Invoice.BillingReason; export type CollectionMethod = Stripe_.Invoice.CollectionMethod; @@ -1610,8 +4024,12 @@ declare namespace StripeConstructor { export type StatusTransitions = Stripe_.Invoice.StatusTransitions; export type ThresholdReason = Stripe_.Invoice.ThresholdReason; export type TotalDiscountAmount = Stripe_.Invoice.TotalDiscountAmount; + export type TotalMarginAmount = Stripe_.Invoice.TotalMarginAmount; export type TotalPretaxCreditAmount = Stripe_.Invoice.TotalPretaxCreditAmount; export type TotalTax = Stripe_.Invoice.TotalTax; + export namespace AmountsDue { + export type Status = Stripe_.Invoice.AmountsDue.Status; + } export namespace AutomaticTax { export type DisabledReason = Stripe_.Invoice.AutomaticTax.DisabledReason; export type Liability = Stripe_.Invoice.AutomaticTax.Liability; @@ -1631,9 +4049,17 @@ declare namespace StripeConstructor { export type Type = Stripe_.Invoice.LastFinalizationError.Type; } export namespace Parent { + export type BillingCadenceDetails = Stripe_.Invoice.Parent.BillingCadenceDetails; export type QuoteDetails = Stripe_.Invoice.Parent.QuoteDetails; + export type ScheduleDetails = Stripe_.Invoice.Parent.ScheduleDetails; export type SubscriptionDetails = Stripe_.Invoice.Parent.SubscriptionDetails; export type Type = Stripe_.Invoice.Parent.Type; + export namespace SubscriptionDetails { + export type PauseCollection = Stripe_.Invoice.Parent.SubscriptionDetails.PauseCollection; + export namespace PauseCollection { + export type Behavior = Stripe_.Invoice.Parent.SubscriptionDetails.PauseCollection.Behavior; + } + } } export namespace PaymentSettings { export type PaymentMethodOptions = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions; @@ -1641,14 +4067,19 @@ declare namespace StripeConstructor { export namespace PaymentMethodOptions { export type AcssDebit = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit; export type Bancontact = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Bizum = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Blik; export type Card = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Card; + export type CheckScan = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.CheckScan; export type CustomerBalance = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type IdBankTransfer = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.IdBankTransfer; export type Konbini = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Konbini; export type Payto = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Payto; export type Pix = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Pix; export type SepaDebit = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.SepaDebit; export type Upi = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.Upi; export type UsBankAccount = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.WechatPay; export namespace AcssDebit { export type MandateOptions = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; export type VerificationMethod = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; @@ -1700,6 +4131,9 @@ declare namespace StripeConstructor { } } } + export namespace WechatPay { + export type Client = Stripe_.Invoice.PaymentSettings.PaymentMethodOptions.WechatPay.Client; + } } } export namespace Rendering { @@ -1732,6 +4166,16 @@ declare namespace StripeConstructor { export type PriceData = Stripe_.InvoiceItemCreateParams.PriceData; export type Pricing = Stripe_.InvoiceItemCreateParams.Pricing; export type TaxBehavior = Stripe_.InvoiceItemCreateParams.TaxBehavior; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceItemCreateParams.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceItemCreateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceItemCreateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceItemCreateParams.Discount.DiscountEnd.Duration.Interval; + } + } + } export namespace PriceData { export type TaxBehavior = Stripe_.InvoiceItemCreateParams.PriceData.TaxBehavior; } @@ -1742,20 +4186,39 @@ declare namespace StripeConstructor { export type PriceData = Stripe_.InvoiceItemUpdateParams.PriceData; export type Pricing = Stripe_.InvoiceItemUpdateParams.Pricing; export type TaxBehavior = Stripe_.InvoiceItemUpdateParams.TaxBehavior; + export namespace Discount { + export type DiscountEnd = Stripe_.InvoiceItemUpdateParams.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.InvoiceItemUpdateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.InvoiceItemUpdateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.InvoiceItemUpdateParams.Discount.DiscountEnd.Duration.Interval; + } + } + } export namespace PriceData { export type TaxBehavior = Stripe_.InvoiceItemUpdateParams.PriceData.TaxBehavior; } } export namespace InvoiceItem { + export type FrozenField = Stripe_.InvoiceItem.FrozenField; export type Parent = Stripe_.InvoiceItem.Parent; export type Period = Stripe_.InvoiceItem.Period; export type Pricing = Stripe_.InvoiceItem.Pricing; export type ProrationDetails = Stripe_.InvoiceItem.ProrationDetails; export namespace Parent { + export type PricingPlanSubscriptionDetails = Stripe_.InvoiceItem.Parent.PricingPlanSubscriptionDetails; + export type RateCardSubscriptionDetails = Stripe_.InvoiceItem.Parent.RateCardSubscriptionDetails; + export type ScheduleDetails = Stripe_.InvoiceItem.Parent.ScheduleDetails; export type SubscriptionDetails = Stripe_.InvoiceItem.Parent.SubscriptionDetails; + export type Type = Stripe_.InvoiceItem.Parent.Type; } export namespace Pricing { + export type LicenseFeeDetails = Stripe_.InvoiceItem.Pricing.LicenseFeeDetails; export type PriceDetails = Stripe_.InvoiceItem.Pricing.PriceDetails; + export type RateCardCustomPricingUnitOverageRateDetails = Stripe_.InvoiceItem.Pricing.RateCardCustomPricingUnitOverageRateDetails; + export type RateCardRateDetails = Stripe_.InvoiceItem.Pricing.RateCardRateDetails; + export type Type = Stripe_.InvoiceItem.Pricing.Type; } export namespace ProrationDetails { export type CreditedItems = Stripe_.InvoiceItem.ProrationDetails.CreditedItems; @@ -1786,6 +4249,9 @@ declare namespace StripeConstructor { export namespace InvoiceRenderingTemplate { export type Status = Stripe_.InvoiceRenderingTemplate.Status; } + export namespace MandateListParams { + export type Status = Stripe_.MandateListParams.Status; + } export namespace Mandate { export type CustomerAcceptance = Stripe_.Mandate.CustomerAcceptance; export type MultiUse = Stripe_.Mandate.MultiUse; @@ -1803,6 +4269,7 @@ declare namespace StripeConstructor { export type AmazonPay = Stripe_.Mandate.PaymentMethodDetails.AmazonPay; export type AuBecsDebit = Stripe_.Mandate.PaymentMethodDetails.AuBecsDebit; export type BacsDebit = Stripe_.Mandate.PaymentMethodDetails.BacsDebit; + export type Blik = Stripe_.Mandate.PaymentMethodDetails.Blik; export type Card = Stripe_.Mandate.PaymentMethodDetails.Card; export type Cashapp = Stripe_.Mandate.PaymentMethodDetails.Cashapp; export type KakaoPay = Stripe_.Mandate.PaymentMethodDetails.KakaoPay; @@ -1828,6 +4295,9 @@ declare namespace StripeConstructor { export type NetworkStatus = Stripe_.Mandate.PaymentMethodDetails.BacsDebit.NetworkStatus; export type RevocationReason = Stripe_.Mandate.PaymentMethodDetails.BacsDebit.RevocationReason; } + export namespace Blik { + export type Type = Stripe_.Mandate.PaymentMethodDetails.Blik.Type; + } export namespace Payto { export type AmountType = Stripe_.Mandate.PaymentMethodDetails.Payto.AmountType; export type PaymentSchedule = Stripe_.Mandate.PaymentMethodDetails.Payto.PaymentSchedule; @@ -1843,26 +4313,692 @@ declare namespace StripeConstructor { } } } - export namespace PaymentAttemptRecord { - export type Amount = Stripe_.PaymentAttemptRecord.Amount; - export type AmountAuthorized = Stripe_.PaymentAttemptRecord.AmountAuthorized; - export type AmountCanceled = Stripe_.PaymentAttemptRecord.AmountCanceled; - export type AmountFailed = Stripe_.PaymentAttemptRecord.AmountFailed; - export type AmountGuaranteed = Stripe_.PaymentAttemptRecord.AmountGuaranteed; - export type AmountRefunded = Stripe_.PaymentAttemptRecord.AmountRefunded; - export type AmountRequested = Stripe_.PaymentAttemptRecord.AmountRequested; - export type CustomerDetails = Stripe_.PaymentAttemptRecord.CustomerDetails; - export type CustomerPresence = Stripe_.PaymentAttemptRecord.CustomerPresence; - export type PaymentMethodDetails = Stripe_.PaymentAttemptRecord.PaymentMethodDetails; - export type ProcessorDetails = Stripe_.PaymentAttemptRecord.ProcessorDetails; - export type ReportedBy = Stripe_.PaymentAttemptRecord.ReportedBy; - export type ShippingDetails = Stripe_.PaymentAttemptRecord.ShippingDetails; - export namespace PaymentMethodDetails { - export type AchCreditTransfer = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AchCreditTransfer; - export type AchDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AchDebit; - export type AcssDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AcssDebit; - export type Affirm = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Affirm; - export type AfterpayClearpay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AfterpayClearpay; + export namespace OrderCreateParams { + export type LineItem = Stripe_.OrderCreateParams.LineItem; + export type AutomaticTax = Stripe_.OrderCreateParams.AutomaticTax; + export type BillingDetails = Stripe_.OrderCreateParams.BillingDetails; + export type Discount = Stripe_.OrderCreateParams.Discount; + export type Payment = Stripe_.OrderCreateParams.Payment; + export type ShippingCost = Stripe_.OrderCreateParams.ShippingCost; + export type ShippingDetails = Stripe_.OrderCreateParams.ShippingDetails; + export type TaxDetails = Stripe_.OrderCreateParams.TaxDetails; + export namespace LineItem { + export type Discount = Stripe_.OrderCreateParams.LineItem.Discount; + export type PriceData = Stripe_.OrderCreateParams.LineItem.PriceData; + export type ProductData = Stripe_.OrderCreateParams.LineItem.ProductData; + export namespace PriceData { + export type TaxBehavior = Stripe_.OrderCreateParams.LineItem.PriceData.TaxBehavior; + } + export namespace ProductData { + export type Identifiers = Stripe_.OrderCreateParams.LineItem.ProductData.Identifiers; + export type PackageDimensions = Stripe_.OrderCreateParams.LineItem.ProductData.PackageDimensions; + } + } + export namespace Payment { + export type Settings = Stripe_.OrderCreateParams.Payment.Settings; + export namespace Settings { + export type PaymentMethodOptions = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodType; + export type TransferData = Stripe_.OrderCreateParams.Payment.Settings.TransferData; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.AcssDebit; + export type AfterpayClearpay = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Alipay; + export type Bancontact = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance; + export type Ideal = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Ideal; + export type Klarna = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna; + export type Link = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Link; + export type Oxxo = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.P24; + export type Paypal = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Paypal; + export type SepaDebit = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Sofort; + export type WechatPay = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace AfterpayClearpay { + export type CaptureMethod = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.AfterpayClearpay.CaptureMethod; + } + export namespace Alipay { + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Card { + export type CaptureMethod = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Card.CaptureMethod; + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Card.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace Ideal { + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace Klarna { + export type OnDemand = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.Subscription; + export type SupplementaryPurchaseData = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData; + export namespace OnDemand { + export type PurchaseInterval = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + export namespace SupplementaryPurchaseData { + export type BusReservationDetail = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail; + export type EventReservationDetail = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail; + export type FerryReservationDetail = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail; + export type Insurance = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance; + export type MarketplaceSeller = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller; + export type RoundTripReservationDetail = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail; + export type TrainReservationDetail = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail; + export type Voucher = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher; + export namespace BusReservationDetail { + export type Arrival = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival; + export type Departure = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure; + export type Insurance = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance; + export type Passenger = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Passenger; + export type TicketClass = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance.InsuranceType; + } + } + export namespace EventReservationDetail { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Address; + export type EventType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.EventType; + export type Insurance = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance; + export namespace Insurance { + export type InsuranceType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.InsuranceType; + } + } + export namespace FerryReservationDetail { + export type Arrival = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival; + export type Departure = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure; + export type Insurance = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance; + export type Passenger = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger; + export type TicketClass = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance.InsuranceType; + } + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance.InsuranceType; + } + export namespace MarketplaceSeller { + export type MarketplaceSellerAddress = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.MarketplaceSellerAddress; + export type ProductCategory = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.ProductCategory; + export type SellerRating = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.SellerRating; + } + export namespace RoundTripReservationDetail { + export type Arrival = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival; + export type Departure = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure; + export type Insurance = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance; + export type Passenger = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Passenger; + export type TicketClass = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance.InsuranceType; + } + } + export namespace TrainReservationDetail { + export type Arrival = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival; + export type Departure = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure; + export type Insurance = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance; + export type Passenger = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Passenger; + export type TicketClass = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance.InsuranceType; + } + } + export namespace Voucher { + export type VoucherType = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.VoucherType; + } + } + } + export namespace Link { + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace Paypal { + export type LineItem = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem; + export type PreferredLocale = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Paypal.SetupFutureUsage; + export namespace LineItem { + export type Category = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Category; + export type Tax = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax; + export namespace Tax { + export type Behavior = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior; + } + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace WechatPay { + export type Client = Stripe_.OrderCreateParams.Payment.Settings.PaymentMethodOptions.WechatPay.Client; + } + } + } + } + export namespace ShippingCost { + export type ShippingRateData = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData; + export namespace ShippingRateData { + export type DeliveryEstimate = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe_.OrderCreateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + } + export namespace TaxDetails { + export type TaxExempt = Stripe_.OrderCreateParams.TaxDetails.TaxExempt; + export type TaxId = Stripe_.OrderCreateParams.TaxDetails.TaxId; + export namespace TaxId { + export type Type = Stripe_.OrderCreateParams.TaxDetails.TaxId.Type; + } + } + } + export namespace OrderUpdateParams { + export type AutomaticTax = Stripe_.OrderUpdateParams.AutomaticTax; + export type BillingDetails = Stripe_.OrderUpdateParams.BillingDetails; + export type Discount = Stripe_.OrderUpdateParams.Discount; + export type LineItem = Stripe_.OrderUpdateParams.LineItem; + export type Payment = Stripe_.OrderUpdateParams.Payment; + export type ShippingCost = Stripe_.OrderUpdateParams.ShippingCost; + export type ShippingDetails = Stripe_.OrderUpdateParams.ShippingDetails; + export type TaxDetails = Stripe_.OrderUpdateParams.TaxDetails; + export namespace LineItem { + export type Discount = Stripe_.OrderUpdateParams.LineItem.Discount; + export type PriceData = Stripe_.OrderUpdateParams.LineItem.PriceData; + export type ProductData = Stripe_.OrderUpdateParams.LineItem.ProductData; + export namespace PriceData { + export type TaxBehavior = Stripe_.OrderUpdateParams.LineItem.PriceData.TaxBehavior; + } + export namespace ProductData { + export type Identifiers = Stripe_.OrderUpdateParams.LineItem.ProductData.Identifiers; + export type PackageDimensions = Stripe_.OrderUpdateParams.LineItem.ProductData.PackageDimensions; + } + } + export namespace Payment { + export type Settings = Stripe_.OrderUpdateParams.Payment.Settings; + export namespace Settings { + export type PaymentMethodOptions = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodType; + export type TransferData = Stripe_.OrderUpdateParams.Payment.Settings.TransferData; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AcssDebit; + export type AfterpayClearpay = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Alipay; + export type Bancontact = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance; + export type Ideal = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Ideal; + export type Klarna = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna; + export type Link = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Link; + export type Oxxo = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.P24; + export type Paypal = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal; + export type SepaDebit = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Sofort; + export type WechatPay = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace AfterpayClearpay { + export type CaptureMethod = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AfterpayClearpay.CaptureMethod; + } + export namespace Alipay { + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Card { + export type CaptureMethod = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Card.CaptureMethod; + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Card.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace Ideal { + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace Klarna { + export type OnDemand = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.Subscription; + export type SupplementaryPurchaseData = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData; + export namespace OnDemand { + export type PurchaseInterval = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + export namespace SupplementaryPurchaseData { + export type BusReservationDetail = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail; + export type EventReservationDetail = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail; + export type FerryReservationDetail = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail; + export type Insurance = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance; + export type MarketplaceSeller = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller; + export type RoundTripReservationDetail = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail; + export type TrainReservationDetail = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail; + export type Voucher = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher; + export namespace BusReservationDetail { + export type Arrival = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival; + export type Departure = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure; + export type Insurance = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance; + export type Passenger = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Passenger; + export type TicketClass = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance.InsuranceType; + } + } + export namespace EventReservationDetail { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Address; + export type EventType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.EventType; + export type Insurance = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance; + export namespace Insurance { + export type InsuranceType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.InsuranceType; + } + } + export namespace FerryReservationDetail { + export type Arrival = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival; + export type Departure = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure; + export type Insurance = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance; + export type Passenger = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger; + export type TicketClass = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance.InsuranceType; + } + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance.InsuranceType; + } + export namespace MarketplaceSeller { + export type MarketplaceSellerAddress = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.MarketplaceSellerAddress; + export type ProductCategory = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.ProductCategory; + export type SellerRating = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.SellerRating; + } + export namespace RoundTripReservationDetail { + export type Arrival = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival; + export type Departure = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure; + export type Insurance = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance; + export type Passenger = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Passenger; + export type TicketClass = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance.InsuranceType; + } + } + export namespace TrainReservationDetail { + export type Arrival = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival; + export type Departure = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure; + export type Insurance = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance; + export type Passenger = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Passenger; + export type TicketClass = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance.InsuranceType; + } + } + export namespace Voucher { + export type VoucherType = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.VoucherType; + } + } + } + export namespace Link { + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace Paypal { + export type LineItem = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem; + export type PreferredLocale = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.SetupFutureUsage; + export namespace LineItem { + export type Category = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Category; + export type Tax = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax; + export namespace Tax { + export type Behavior = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior; + } + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace WechatPay { + export type Client = Stripe_.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.WechatPay.Client; + } + } + } + } + export namespace ShippingCost { + export type ShippingRateData = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData; + export namespace ShippingRateData { + export type DeliveryEstimate = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe_.OrderUpdateParams.ShippingCost.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + } + export namespace TaxDetails { + export type TaxExempt = Stripe_.OrderUpdateParams.TaxDetails.TaxExempt; + export type TaxId = Stripe_.OrderUpdateParams.TaxDetails.TaxId; + export namespace TaxId { + export type Type = Stripe_.OrderUpdateParams.TaxDetails.TaxId.Type; + } + } + } + export namespace Order { + export type AutomaticTax = Stripe_.Order.AutomaticTax; + export type BillingDetails = Stripe_.Order.BillingDetails; + export type Payment = Stripe_.Order.Payment; + export type ShippingCost = Stripe_.Order.ShippingCost; + export type ShippingDetails = Stripe_.Order.ShippingDetails; + export type Status = Stripe_.Order.Status; + export type TaxDetails = Stripe_.Order.TaxDetails; + export type TotalDetails = Stripe_.Order.TotalDetails; + export namespace AutomaticTax { + export type Status = Stripe_.Order.AutomaticTax.Status; + } + export namespace Payment { + export type Settings = Stripe_.Order.Payment.Settings; + export type Status = Stripe_.Order.Payment.Status; + export namespace Settings { + export type AutomaticPaymentMethods = Stripe_.Order.Payment.Settings.AutomaticPaymentMethods; + export type PaymentMethodOptions = Stripe_.Order.Payment.Settings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.Order.Payment.Settings.PaymentMethodType; + export type TransferData = Stripe_.Order.Payment.Settings.TransferData; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.Order.Payment.Settings.PaymentMethodOptions.AcssDebit; + export type AfterpayClearpay = Stripe_.Order.Payment.Settings.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Alipay; + export type Bancontact = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.Order.Payment.Settings.PaymentMethodOptions.CustomerBalance; + export type Ideal = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Ideal; + export type Klarna = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Klarna; + export type Link = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Link; + export type Oxxo = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.Order.Payment.Settings.PaymentMethodOptions.P24; + export type Paypal = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Paypal; + export type SepaDebit = Stripe_.Order.Payment.Settings.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Sofort; + export type WechatPay = Stripe_.Order.Payment.Settings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.Order.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.Order.Payment.Settings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe_.Order.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.Order.Payment.Settings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace AfterpayClearpay { + export type CaptureMethod = Stripe_.Order.Payment.Settings.PaymentMethodOptions.AfterpayClearpay.CaptureMethod; + } + export namespace Alipay { + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Card { + export type CaptureMethod = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Card.CaptureMethod; + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Card.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.Order.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.Order.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.Order.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.Order.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe_.Order.Payment.Settings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace Ideal { + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace Klarna { + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Klarna.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace Paypal { + export type LineItem = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Paypal.LineItem; + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Paypal.SetupFutureUsage; + export namespace LineItem { + export type Category = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Category; + export type Tax = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax; + export namespace Tax { + export type Behavior = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior; + } + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.Order.Payment.Settings.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.Order.Payment.Settings.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace WechatPay { + export type Client = Stripe_.Order.Payment.Settings.PaymentMethodOptions.WechatPay.Client; + } + } + } + } + export namespace ShippingCost { + export type Tax = Stripe_.Order.ShippingCost.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.Order.ShippingCost.Tax.TaxabilityReason; + } + } + export namespace TaxDetails { + export type TaxExempt = Stripe_.Order.TaxDetails.TaxExempt; + export type TaxId = Stripe_.Order.TaxDetails.TaxId; + export namespace TaxId { + export type Type = Stripe_.Order.TaxDetails.TaxId.Type; + } + } + export namespace TotalDetails { + export type Breakdown = Stripe_.Order.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe_.Order.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Order.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.Order.TotalDetails.Breakdown.Tax.TaxabilityReason; + } + } + } + } + export namespace PaymentAttemptRecordReportAuthorizedParams { + export type ProcessorDetails = Stripe_.PaymentAttemptRecordReportAuthorizedParams.ProcessorDetails; + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentAttemptRecordReportAuthorizedParams.ProcessorDetails.Custom; + } + } + export namespace PaymentAttemptRecordReportFailedParams { + export type FailureCode = Stripe_.PaymentAttemptRecordReportFailedParams.FailureCode; + export type ProcessorDetails = Stripe_.PaymentAttemptRecordReportFailedParams.ProcessorDetails; + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentAttemptRecordReportFailedParams.ProcessorDetails.Custom; + } + } + export namespace PaymentAttemptRecordReportGuaranteedParams { + export type PaymentMethodDetails = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails; + export type ProcessorDetails = Stripe_.PaymentAttemptRecordReportGuaranteedParams.ProcessorDetails; + export namespace PaymentMethodDetails { + export type Card = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card; + export namespace Card { + export type Checks = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.Checks; + export namespace Checks { + export type AddressLine1Check = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.Checks.CvcCheck; + } + } + } + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentAttemptRecordReportGuaranteedParams.ProcessorDetails.Custom; + } + } + export namespace PaymentAttemptRecordReportInformationalParams { + export type CustomerDetails = Stripe_.PaymentAttemptRecordReportInformationalParams.CustomerDetails; + export type ShippingDetails = Stripe_.PaymentAttemptRecordReportInformationalParams.ShippingDetails; + } + export namespace PaymentAttemptRecordReportRefundParams { + export type Outcome = Stripe_.PaymentAttemptRecordReportRefundParams.Outcome; + export type ProcessorDetails = Stripe_.PaymentAttemptRecordReportRefundParams.ProcessorDetails; + export type Amount = Stripe_.PaymentAttemptRecordReportRefundParams.Amount; + export type Failed = Stripe_.PaymentAttemptRecordReportRefundParams.Failed; + export type Refunded = Stripe_.PaymentAttemptRecordReportRefundParams.Refunded; + export namespace Failed { + export type FailureReason = Stripe_.PaymentAttemptRecordReportRefundParams.Failed.FailureReason; + } + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentAttemptRecordReportRefundParams.ProcessorDetails.Custom; + } + } + export namespace PaymentAttemptRecord { + export type Amount = Stripe_.PaymentAttemptRecord.Amount; + export type AmountAuthorized = Stripe_.PaymentAttemptRecord.AmountAuthorized; + export type AmountCanceled = Stripe_.PaymentAttemptRecord.AmountCanceled; + export type AmountFailed = Stripe_.PaymentAttemptRecord.AmountFailed; + export type AmountGuaranteed = Stripe_.PaymentAttemptRecord.AmountGuaranteed; + export type AmountRefunded = Stripe_.PaymentAttemptRecord.AmountRefunded; + export type AmountRequested = Stripe_.PaymentAttemptRecord.AmountRequested; + export type CustomerDetails = Stripe_.PaymentAttemptRecord.CustomerDetails; + export type CustomerPresence = Stripe_.PaymentAttemptRecord.CustomerPresence; + export type PaymentMethodDetails = Stripe_.PaymentAttemptRecord.PaymentMethodDetails; + export type ProcessorDetails = Stripe_.PaymentAttemptRecord.ProcessorDetails; + export type ReportedBy = Stripe_.PaymentAttemptRecord.ReportedBy; + export type ShippingDetails = Stripe_.PaymentAttemptRecord.ShippingDetails; + export namespace PaymentMethodDetails { + export type AchCreditTransfer = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AfterpayClearpay; export type Alipay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Alipay; export type Alma = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Alma; export type AmazonPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.AmazonPay; @@ -1882,8 +5018,11 @@ declare namespace StripeConstructor { export type CustomerBalance = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CustomerBalance; export type Eps = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Eps; export type Fpx = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Fpx; + export type GiftCard = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.GiftCard; export type Giropay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Giropay; + export type Gopay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Gopay; export type Grabpay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Grabpay; + export type IdBankTransfer = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.IdBankTransfer; export type Ideal = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Ideal; export type InteracPresent = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.InteracPresent; export type KakaoPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.KakaoPay; @@ -1902,19 +5041,25 @@ declare namespace StripeConstructor { export type Payco = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Payco; export type Paynow = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Paynow; export type Paypal = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Paypal; + export type Paypay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Paypay; export type Payto = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Payto; export type Pix = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Pix; export type Promptpay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Promptpay; + export type Qris = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Qris; + export type Rechnung = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Rechnung; export type RevolutPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay; export type SamsungPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SamsungPay; export type Satispay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Satispay; export type Scalapay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Scalapay; export type SepaCreditTransfer = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SepaCreditTransfer; export type SepaDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SepaDebit; + export type Shopeepay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Shopeepay; export type Sofort = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Sofort; export type StripeAccount = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.StripeAccount; + export type StripeBalance = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.StripeBalance; export type Sunbit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Sunbit; export type Swish = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Swish; + export type Tamara = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Tamara; export type Twint = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Twint; export type Upi = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Upi; export type UsBankAccount = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.UsBankAccount; @@ -1971,10 +5116,18 @@ declare namespace StripeConstructor { } } export namespace CardPresent { + export type Multicapture = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Multicapture; export type Offline = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Offline; export type ReadMethod = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.ReadMethod; + export type Reauthorization = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Reauthorization; export type Receipt = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt; export type Wallet = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Wallet; + export namespace Multicapture { + export type Status = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Multicapture.Status; + } + export namespace Reauthorization { + export type Status = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Reauthorization.Status; + } export namespace Receipt { export type AccountType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType; } @@ -1993,6 +5146,13 @@ declare namespace StripeConstructor { export type AccountHolderType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Fpx.AccountHolderType; export type Bank = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Fpx.Bank; } + export namespace GiftCard { + export type Balance = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.GiftCard.Balance; + export type Brand = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.GiftCard.Brand; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.IdBankTransfer.Bank; + } export namespace Ideal { export type Bank = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Ideal.Bank; export type Bic = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Ideal.Bic; @@ -2048,1481 +5208,9238 @@ declare namespace StripeConstructor { } export namespace ProcessorDetails { export type Custom = Stripe_.PaymentAttemptRecord.ProcessorDetails.Custom; + export type FiservValuelink = Stripe_.PaymentAttemptRecord.ProcessorDetails.FiservValuelink; + export type Givex = Stripe_.PaymentAttemptRecord.ProcessorDetails.Givex; + export type Svs = Stripe_.PaymentAttemptRecord.ProcessorDetails.Svs; + export type Type = Stripe_.PaymentAttemptRecord.ProcessorDetails.Type; } } - export namespace MandateListParams { - export type Status = Stripe.MandateListParams.Status; - } - export namespace OrderCreateParams { - export type LineItem = Stripe.OrderCreateParams.LineItem; - export type AutomaticTax = Stripe.OrderCreateParams.AutomaticTax; - export type BillingDetails = Stripe.OrderCreateParams.BillingDetails; - export type Discount = Stripe.OrderCreateParams.Discount; - export type Payment = Stripe.OrderCreateParams.Payment; - export type ShippingCost = Stripe.OrderCreateParams.ShippingCost; - export type ShippingDetails = Stripe.OrderCreateParams.ShippingDetails; - export type TaxDetails = Stripe.OrderCreateParams.TaxDetails; - } - export namespace OrderUpdateParams { - export type AutomaticTax = Stripe.OrderUpdateParams.AutomaticTax; - export type BillingDetails = Stripe.OrderUpdateParams.BillingDetails; - export type Discount = Stripe.OrderUpdateParams.Discount; - export type LineItem = Stripe.OrderUpdateParams.LineItem; - export type Payment = Stripe.OrderUpdateParams.Payment; - export type ShippingCost = Stripe.OrderUpdateParams.ShippingCost; - export type ShippingDetails = Stripe.OrderUpdateParams.ShippingDetails; - export type TaxDetails = Stripe.OrderUpdateParams.TaxDetails; - } - export namespace PaymentAttemptRecordReportAuthorizedParams { - export type ProcessorDetails = Stripe.PaymentAttemptRecordReportAuthorizedParams.ProcessorDetails; - } - export namespace PaymentAttemptRecordReportFailedParams { - export type FailureCode = Stripe.PaymentAttemptRecordReportFailedParams.FailureCode; - export type ProcessorDetails = Stripe.PaymentAttemptRecordReportFailedParams.ProcessorDetails; - } - export namespace PaymentAttemptRecordReportGuaranteedParams { - export type PaymentMethodDetails = Stripe.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails; - export type ProcessorDetails = Stripe.PaymentAttemptRecordReportGuaranteedParams.ProcessorDetails; - } - export namespace PaymentAttemptRecordReportInformationalParams { - export type CustomerDetails = Stripe.PaymentAttemptRecordReportInformationalParams.CustomerDetails; - export type ShippingDetails = Stripe.PaymentAttemptRecordReportInformationalParams.ShippingDetails; - } - export namespace PaymentAttemptRecordReportRefundParams { - export type Outcome = Stripe.PaymentAttemptRecordReportRefundParams.Outcome; - export type ProcessorDetails = Stripe.PaymentAttemptRecordReportRefundParams.ProcessorDetails; - export type Amount = Stripe.PaymentAttemptRecordReportRefundParams.Amount; - export type Failed = Stripe.PaymentAttemptRecordReportRefundParams.Failed; - export type Refunded = Stripe.PaymentAttemptRecordReportRefundParams.Refunded; - } export namespace PaymentIntentCreateParams { - export type AllocatedFunds = Stripe.PaymentIntentCreateParams.AllocatedFunds; - export type AllowedPaymentMethodType = Stripe.PaymentIntentCreateParams.AllowedPaymentMethodType; - export type AmountDetails = Stripe.PaymentIntentCreateParams.AmountDetails; - export type AutomaticPaymentMethods = Stripe.PaymentIntentCreateParams.AutomaticPaymentMethods; - export type CaptureMethod = Stripe.PaymentIntentCreateParams.CaptureMethod; - export type ConfirmationMethod = Stripe.PaymentIntentCreateParams.ConfirmationMethod; - export type ExcludedPaymentMethodType = Stripe.PaymentIntentCreateParams.ExcludedPaymentMethodType; - export type Hooks = Stripe.PaymentIntentCreateParams.Hooks; - export type MandateData = Stripe.PaymentIntentCreateParams.MandateData; - export type OffSession = Stripe.PaymentIntentCreateParams.OffSession; - export type PaymentDetails = Stripe.PaymentIntentCreateParams.PaymentDetails; - export type PaymentMethodData = Stripe.PaymentIntentCreateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.PaymentIntentCreateParams.PaymentMethodOptions; - export type PaymentsOrchestration = Stripe.PaymentIntentCreateParams.PaymentsOrchestration; - export type RadarOptions = Stripe.PaymentIntentCreateParams.RadarOptions; - export type SecretKeyConfirmation = Stripe.PaymentIntentCreateParams.SecretKeyConfirmation; - export type SetupFutureUsage = Stripe.PaymentIntentCreateParams.SetupFutureUsage; - export type Shipping = Stripe.PaymentIntentCreateParams.Shipping; - export type TransferData = Stripe.PaymentIntentCreateParams.TransferData; - } - export namespace PaymentIntentUpdateParams { - export type AllocatedFunds = Stripe.PaymentIntentUpdateParams.AllocatedFunds; - export type AllowedPaymentMethodType = Stripe.PaymentIntentUpdateParams.AllowedPaymentMethodType; - export type AmountDetails = Stripe.PaymentIntentUpdateParams.AmountDetails; - export type CaptureMethod = Stripe.PaymentIntentUpdateParams.CaptureMethod; - export type ExcludedPaymentMethodType = Stripe.PaymentIntentUpdateParams.ExcludedPaymentMethodType; - export type Hooks = Stripe.PaymentIntentUpdateParams.Hooks; - export type MandateData = Stripe.PaymentIntentUpdateParams.MandateData; - export type PaymentDetails = Stripe.PaymentIntentUpdateParams.PaymentDetails; - export type PaymentMethodData = Stripe.PaymentIntentUpdateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.PaymentIntentUpdateParams.PaymentMethodOptions; - export type SetupFutureUsage = Stripe.PaymentIntentUpdateParams.SetupFutureUsage; - export type Shipping = Stripe.PaymentIntentUpdateParams.Shipping; - export type TransferData = Stripe.PaymentIntentUpdateParams.TransferData; - } - export namespace PaymentIntentCancelParams { - export type CancellationReason = Stripe_.PaymentIntentCancelParams.CancellationReason; - } - export namespace PaymentIntentCaptureParams { - export type AmountDetails = Stripe_.PaymentIntentCaptureParams.AmountDetails; - export type Hooks = Stripe_.PaymentIntentCaptureParams.Hooks; - export type PaymentDetails = Stripe_.PaymentIntentCaptureParams.PaymentDetails; - export type TransferData = Stripe_.PaymentIntentCaptureParams.TransferData; + export type AllocatedFunds = Stripe_.PaymentIntentCreateParams.AllocatedFunds; + export type AllowedPaymentMethodType = Stripe_.PaymentIntentCreateParams.AllowedPaymentMethodType; + export type AmountDetails = Stripe_.PaymentIntentCreateParams.AmountDetails; + export type AutomaticPaymentMethods = Stripe_.PaymentIntentCreateParams.AutomaticPaymentMethods; + export type CaptureMethod = Stripe_.PaymentIntentCreateParams.CaptureMethod; + export type ConfirmationMethod = Stripe_.PaymentIntentCreateParams.ConfirmationMethod; + export type ExcludedPaymentMethodType = Stripe_.PaymentIntentCreateParams.ExcludedPaymentMethodType; + export type Hooks = Stripe_.PaymentIntentCreateParams.Hooks; + export type MandateData = Stripe_.PaymentIntentCreateParams.MandateData; + export type OffSession = Stripe_.PaymentIntentCreateParams.OffSession; + export type PaymentDetails = Stripe_.PaymentIntentCreateParams.PaymentDetails; + export type PaymentMethodData = Stripe_.PaymentIntentCreateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions; + export type PaymentsOrchestration = Stripe_.PaymentIntentCreateParams.PaymentsOrchestration; + export type RadarOptions = Stripe_.PaymentIntentCreateParams.RadarOptions; + export type SecretKeyConfirmation = Stripe_.PaymentIntentCreateParams.SecretKeyConfirmation; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.SetupFutureUsage; + export type Shipping = Stripe_.PaymentIntentCreateParams.Shipping; + export type TransferData = Stripe_.PaymentIntentCreateParams.TransferData; export namespace AmountDetails { - export type LineItem = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem; - export type Shipping = Stripe_.PaymentIntentCaptureParams.AmountDetails.Shipping; - export type Tax = Stripe_.PaymentIntentCaptureParams.AmountDetails.Tax; + export type LineItem = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentCreateParams.AmountDetails.Shipping; + export type Surcharge = Stripe_.PaymentIntentCreateParams.AmountDetails.Surcharge; + export type Tax = Stripe_.PaymentIntentCreateParams.AmountDetails.Tax; export namespace LineItem { - export type PaymentMethodOptions = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions; - export type Tax = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.Tax; + export type PaymentMethodOptions = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.Tax; export namespace PaymentMethodOptions { - export type Card = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Card; - export type CardPresent = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; - export type Klarna = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; - export type Paypal = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export type Card = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Card { + export type FleetData = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData; + export namespace FleetData { + export type ProductType = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ProductType; + export type ServiceType = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ServiceType; + } + } export namespace Paypal { - export type Category = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + export type Category = Stripe_.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; } } } - } - export namespace Hooks { - export type Inputs = Stripe_.PaymentIntentCaptureParams.Hooks.Inputs; - export namespace Inputs { - export type Tax = Stripe_.PaymentIntentCaptureParams.Hooks.Inputs.Tax; - } - } - } - export namespace PaymentIntentConfirmParams { - export type AllocatedFunds = Stripe.PaymentIntentConfirmParams.AllocatedFunds; - export type AllowedPaymentMethodType = Stripe.PaymentIntentConfirmParams.AllowedPaymentMethodType; - export type AmountDetails = Stripe.PaymentIntentConfirmParams.AmountDetails; - export type CaptureMethod = Stripe.PaymentIntentConfirmParams.CaptureMethod; - export type ExcludedPaymentMethodType = Stripe.PaymentIntentConfirmParams.ExcludedPaymentMethodType; - export type Hooks = Stripe.PaymentIntentConfirmParams.Hooks; - export type MandateData = Stripe.PaymentIntentConfirmParams.MandateData; - export type OffSession = Stripe.PaymentIntentConfirmParams.OffSession; - export type PaymentDetails = Stripe.PaymentIntentConfirmParams.PaymentDetails; - export type PaymentMethodData = Stripe.PaymentIntentConfirmParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.PaymentIntentConfirmParams.PaymentMethodOptions; - export type RadarOptions = Stripe.PaymentIntentConfirmParams.RadarOptions; - export type SetupFutureUsage = Stripe.PaymentIntentConfirmParams.SetupFutureUsage; - export type Shipping = Stripe.PaymentIntentConfirmParams.Shipping; - } - export namespace PaymentIntentDecrementAuthorizationParams { - export type AmountDetails = Stripe.PaymentIntentDecrementAuthorizationParams.AmountDetails; - export type Hooks = Stripe.PaymentIntentDecrementAuthorizationParams.Hooks; - export type PaymentDetails = Stripe.PaymentIntentDecrementAuthorizationParams.PaymentDetails; - export type TransferData = Stripe.PaymentIntentDecrementAuthorizationParams.TransferData; - } - export namespace PaymentIntentIncrementAuthorizationParams { - export type AmountDetails = Stripe.PaymentIntentIncrementAuthorizationParams.AmountDetails; - export type Hooks = Stripe.PaymentIntentIncrementAuthorizationParams.Hooks; - export type PaymentDetails = Stripe.PaymentIntentIncrementAuthorizationParams.PaymentDetails; - export type PaymentMethodOptions = Stripe.PaymentIntentIncrementAuthorizationParams.PaymentMethodOptions; - export type TransferData = Stripe.PaymentIntentIncrementAuthorizationParams.TransferData; - } - export namespace PaymentIntentTriggerActionParams { - export type Type = Stripe.PaymentIntentTriggerActionParams.Type; - export type ScanQrCode = Stripe.PaymentIntentTriggerActionParams.ScanQrCode; - } - export namespace PaymentIntentUpdateCryptoRefundAddressParams { - export type Network = Stripe.PaymentIntentUpdateCryptoRefundAddressParams.Network; - } - export namespace PaymentLinkCreateParams { - export type LineItem = Stripe.PaymentLinkCreateParams.LineItem; - export type AfterCompletion = Stripe.PaymentLinkCreateParams.AfterCompletion; - export type AutomaticSurcharge = Stripe.PaymentLinkCreateParams.AutomaticSurcharge; - export type AutomaticTax = Stripe.PaymentLinkCreateParams.AutomaticTax; - export type BillingAddressCollection = Stripe.PaymentLinkCreateParams.BillingAddressCollection; - export type ConsentCollection = Stripe.PaymentLinkCreateParams.ConsentCollection; - export type CustomField = Stripe.PaymentLinkCreateParams.CustomField; - export type CustomText = Stripe.PaymentLinkCreateParams.CustomText; - export type CustomerCreation = Stripe.PaymentLinkCreateParams.CustomerCreation; - export type InvoiceCreation = Stripe.PaymentLinkCreateParams.InvoiceCreation; - export type ManagedPayments = Stripe.PaymentLinkCreateParams.ManagedPayments; - export type NameCollection = Stripe.PaymentLinkCreateParams.NameCollection; - export type OptionalItem = Stripe.PaymentLinkCreateParams.OptionalItem; - export type PaymentIntentData = Stripe.PaymentLinkCreateParams.PaymentIntentData; - export type PaymentMethodCollection = Stripe.PaymentLinkCreateParams.PaymentMethodCollection; - export type PaymentMethodOptions = Stripe.PaymentLinkCreateParams.PaymentMethodOptions; - export type PaymentMethodType = Stripe.PaymentLinkCreateParams.PaymentMethodType; - export type PhoneNumberCollection = Stripe.PaymentLinkCreateParams.PhoneNumberCollection; - export type Restrictions = Stripe.PaymentLinkCreateParams.Restrictions; - export type ShippingAddressCollection = Stripe.PaymentLinkCreateParams.ShippingAddressCollection; - export type ShippingOption = Stripe.PaymentLinkCreateParams.ShippingOption; - export type SubmitType = Stripe.PaymentLinkCreateParams.SubmitType; - export type SubscriptionData = Stripe.PaymentLinkCreateParams.SubscriptionData; - export type TaxIdCollection = Stripe.PaymentLinkCreateParams.TaxIdCollection; - export type TransferData = Stripe.PaymentLinkCreateParams.TransferData; - } - export namespace PaymentLinkUpdateParams { - export type AfterCompletion = Stripe_.PaymentLinkUpdateParams.AfterCompletion; - export type AutomaticTax = Stripe_.PaymentLinkUpdateParams.AutomaticTax; - export type BillingAddressCollection = Stripe_.PaymentLinkUpdateParams.BillingAddressCollection; - export type CustomField = Stripe_.PaymentLinkUpdateParams.CustomField; - export type CustomText = Stripe_.PaymentLinkUpdateParams.CustomText; - export type CustomerCreation = Stripe_.PaymentLinkUpdateParams.CustomerCreation; - export type InvoiceCreation = Stripe_.PaymentLinkUpdateParams.InvoiceCreation; - export type LineItem = Stripe_.PaymentLinkUpdateParams.LineItem; - export type NameCollection = Stripe_.PaymentLinkUpdateParams.NameCollection; - export type OptionalItem = Stripe_.PaymentLinkUpdateParams.OptionalItem; - export type PaymentIntentData = Stripe_.PaymentLinkUpdateParams.PaymentIntentData; - export type PaymentMethodCollection = Stripe_.PaymentLinkUpdateParams.PaymentMethodCollection; - export type PaymentMethodOptions = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions; - export type PaymentMethodType = Stripe_.PaymentLinkUpdateParams.PaymentMethodType; - export type PhoneNumberCollection = Stripe_.PaymentLinkUpdateParams.PhoneNumberCollection; - export type Restrictions = Stripe_.PaymentLinkUpdateParams.Restrictions; - export type ShippingAddressCollection = Stripe_.PaymentLinkUpdateParams.ShippingAddressCollection; - export type SubmitType = Stripe_.PaymentLinkUpdateParams.SubmitType; - export type SubscriptionData = Stripe_.PaymentLinkUpdateParams.SubscriptionData; - export type TaxIdCollection = Stripe_.PaymentLinkUpdateParams.TaxIdCollection; - export namespace AfterCompletion { - export type HostedConfirmation = Stripe_.PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation; - export type Redirect = Stripe_.PaymentLinkUpdateParams.AfterCompletion.Redirect; - export type Type = Stripe_.PaymentLinkUpdateParams.AfterCompletion.Type; - } - export namespace AutomaticTax { - export type Liability = Stripe_.PaymentLinkUpdateParams.AutomaticTax.Liability; - export namespace Liability { - export type Type = Stripe_.PaymentLinkUpdateParams.AutomaticTax.Liability.Type; - } - } - export namespace CustomField { - export type Dropdown = Stripe_.PaymentLinkUpdateParams.CustomField.Dropdown; - export type Label = Stripe_.PaymentLinkUpdateParams.CustomField.Label; - export type Numeric = Stripe_.PaymentLinkUpdateParams.CustomField.Numeric; - export type Text = Stripe_.PaymentLinkUpdateParams.CustomField.Text; - export type Type = Stripe_.PaymentLinkUpdateParams.CustomField.Type; - export namespace Dropdown { - export type Option = Stripe_.PaymentLinkUpdateParams.CustomField.Dropdown.Option; + export namespace Surcharge { + export type EnforceValidation = Stripe_.PaymentIntentCreateParams.AmountDetails.Surcharge.EnforceValidation; } } - export namespace CustomText { - export type AfterSubmit = Stripe_.PaymentLinkUpdateParams.CustomText.AfterSubmit; - export type ShippingAddress = Stripe_.PaymentLinkUpdateParams.CustomText.ShippingAddress; - export type Submit = Stripe_.PaymentLinkUpdateParams.CustomText.Submit; - export type TermsOfServiceAcceptance = Stripe_.PaymentLinkUpdateParams.CustomText.TermsOfServiceAcceptance; + export namespace AutomaticPaymentMethods { + export type AllowRedirects = Stripe_.PaymentIntentCreateParams.AutomaticPaymentMethods.AllowRedirects; } - export namespace InvoiceCreation { - export type InvoiceData = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData; - export namespace InvoiceData { - export type CustomField = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField; - export type Issuer = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer; - export type RenderingOptions = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions; - export namespace Issuer { - export type Type = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer.Type; + export namespace Hooks { + export type Inputs = Stripe_.PaymentIntentCreateParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe_.PaymentIntentCreateParams.Hooks.Inputs.Tax; + } + } + export namespace MandateData { + export type CustomerAcceptance = Stripe_.PaymentIntentCreateParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Offline = Stripe_.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe_.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe_.PaymentIntentCreateParams.MandateData.CustomerAcceptance.Type; + } + } + export namespace PaymentDetails { + export type Benefit = Stripe_.PaymentIntentCreateParams.PaymentDetails.Benefit; + export type CarRental = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental; + export type CarRentalDatum = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum; + export type EventDetails = Stripe_.PaymentIntentCreateParams.PaymentDetails.EventDetails; + export type FleetDatum = Stripe_.PaymentIntentCreateParams.PaymentDetails.FleetDatum; + export type Flight = Stripe_.PaymentIntentCreateParams.PaymentDetails.Flight; + export type FlightDatum = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum; + export type Lodging = Stripe_.PaymentIntentCreateParams.PaymentDetails.Lodging; + export type LodgingDatum = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum; + export type MoneyServices = Stripe_.PaymentIntentCreateParams.PaymentDetails.MoneyServices; + export type Subscription = Stripe_.PaymentIntentCreateParams.PaymentDetails.Subscription; + export namespace Benefit { + export type FrMealVoucher = Stripe_.PaymentIntentCreateParams.PaymentDetails.Benefit.FrMealVoucher; + export namespace FrMealVoucher { + export type Enabled = Stripe_.PaymentIntentCreateParams.PaymentDetails.Benefit.FrMealVoucher.Enabled; + } + } + export namespace CarRental { + export type Affiliate = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.Affiliate; + export type Delivery = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.Delivery; + export type Distance = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.Distance; + export type Driver = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.Driver; + export type ExtraCharge = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.ExtraCharge; + export type RateInterval = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.RateInterval; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.Delivery.Recipient; + } + export namespace Distance { + export type Unit = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRental.Distance.Unit; + } + } + export namespace CarRentalDatum { + export type Affiliate = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Affiliate; + export type Distance = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Distance; + export type Driver = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Driver; + export type DropOff = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.DropOff; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Insurance; + export type Pickup = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Pickup; + export type Total = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Total; + export type Vehicle = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Vehicle; + export namespace Distance { + export type Unit = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Distance.Unit; + } + export namespace Driver { + export type DateOfBirth = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Driver.DateOfBirth; + } + export namespace DropOff { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.DropOff.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Insurance.InsuranceType; + } + export namespace Pickup { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Pickup.Address; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge; + export type RateUnit = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Total.RateUnit; + export type Tax = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Total.Tax.Tax; + } } - export namespace RenderingOptions { - export type AmountTaxDisplay = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + export namespace Vehicle { + export type Type = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Vehicle.Type; + export type VehicleClass = Stripe_.PaymentIntentCreateParams.PaymentDetails.CarRentalDatum.Vehicle.VehicleClass; + } + } + export namespace EventDetails { + export type Affiliate = Stripe_.PaymentIntentCreateParams.PaymentDetails.EventDetails.Affiliate; + export type Delivery = Stripe_.PaymentIntentCreateParams.PaymentDetails.EventDetails.Delivery; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentCreateParams.PaymentDetails.EventDetails.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentCreateParams.PaymentDetails.EventDetails.Delivery.Recipient; + } + } + export namespace FleetDatum { + export type PrimaryFuelFields = Stripe_.PaymentIntentCreateParams.PaymentDetails.FleetDatum.PrimaryFuelFields; + export type Station = Stripe_.PaymentIntentCreateParams.PaymentDetails.FleetDatum.Station; + export type Vat = Stripe_.PaymentIntentCreateParams.PaymentDetails.FleetDatum.Vat; + export namespace PrimaryFuelFields { + export type Brand = Stripe_.PaymentIntentCreateParams.PaymentDetails.FleetDatum.PrimaryFuelFields.Brand; + } + export namespace Vat { + export type IobIndicator = Stripe_.PaymentIntentCreateParams.PaymentDetails.FleetDatum.Vat.IobIndicator; + } + } + export namespace Flight { + export type Affiliate = Stripe_.PaymentIntentCreateParams.PaymentDetails.Flight.Affiliate; + export type Delivery = Stripe_.PaymentIntentCreateParams.PaymentDetails.Flight.Delivery; + export type Passenger = Stripe_.PaymentIntentCreateParams.PaymentDetails.Flight.Passenger; + export type Segment = Stripe_.PaymentIntentCreateParams.PaymentDetails.Flight.Segment; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentCreateParams.PaymentDetails.Flight.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentCreateParams.PaymentDetails.Flight.Delivery.Recipient; + } + export namespace Segment { + export type ServiceClass = Stripe_.PaymentIntentCreateParams.PaymentDetails.Flight.Segment.ServiceClass; + } + } + export namespace FlightDatum { + export type Affiliate = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Affiliate; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Insurance; + export type Passenger = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Passenger; + export type Segment = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Segment; + export type Total = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Total; + export type TransactionType = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.TransactionType; + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Insurance.InsuranceType; + } + export namespace Segment { + export type Arrival = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Segment.Arrival; + export type Departure = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Segment.Departure; + export type ServiceClass = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Segment.ServiceClass; + } + export namespace Total { + export type CreditReason = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Total.CreditReason; + export type Discounts = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentCreateParams.PaymentDetails.FlightDatum.Total.Tax.Tax; + } } } - } - export namespace LineItem { - export type AdjustableQuantity = Stripe_.PaymentLinkUpdateParams.LineItem.AdjustableQuantity; - } - export namespace NameCollection { - export type Business = Stripe_.PaymentLinkUpdateParams.NameCollection.Business; - export type Individual = Stripe_.PaymentLinkUpdateParams.NameCollection.Individual; - } - export namespace OptionalItem { - export type AdjustableQuantity = Stripe_.PaymentLinkUpdateParams.OptionalItem.AdjustableQuantity; - } - export namespace PaymentMethodOptions { - export type Card = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card; - export namespace Card { - export type Restrictions = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions; - export namespace Restrictions { - export type BrandsBlocked = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + export namespace Lodging { + export type Affiliate = Stripe_.PaymentIntentCreateParams.PaymentDetails.Lodging.Affiliate; + export type Category = Stripe_.PaymentIntentCreateParams.PaymentDetails.Lodging.Category; + export type Delivery = Stripe_.PaymentIntentCreateParams.PaymentDetails.Lodging.Delivery; + export type ExtraCharge = Stripe_.PaymentIntentCreateParams.PaymentDetails.Lodging.ExtraCharge; + export type Passenger = Stripe_.PaymentIntentCreateParams.PaymentDetails.Lodging.Passenger; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentCreateParams.PaymentDetails.Lodging.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentCreateParams.PaymentDetails.Lodging.Delivery.Recipient; + } + } + export namespace LodgingDatum { + export type Accommodation = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Accommodation; + export type Affiliate = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Affiliate; + export type Guest = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Guest; + export type Host = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Host; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Insurance; + export type Total = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Total; + export namespace Accommodation { + export type AccommodationType = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Accommodation.AccommodationType; + } + export namespace Host { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Host.Address; + export type HostType = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Host.HostType; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Insurance.InsuranceType; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentCreateParams.PaymentDetails.LodgingDatum.Total.Tax.Tax; + } } } - } - export namespace Restrictions { - export type CompletedSessions = Stripe_.PaymentLinkUpdateParams.Restrictions.CompletedSessions; - } - export namespace ShippingAddressCollection { - export type AllowedCountry = Stripe_.PaymentLinkUpdateParams.ShippingAddressCollection.AllowedCountry; - } - export namespace SubscriptionData { - export type InvoiceSettings = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings; - export type TrialSettings = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings; - export namespace InvoiceSettings { - export type Issuer = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer; - export namespace Issuer { - export type Type = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentCreateParams.PaymentDetails.MoneyServices.AccountFunding; + export type BeneficiaryDetails = Stripe_.PaymentIntentCreateParams.PaymentDetails.MoneyServices.BeneficiaryDetails; + export type TransactionType = Stripe_.PaymentIntentCreateParams.PaymentDetails.MoneyServices.TransactionType; + export namespace AccountFunding { + export type SenderDetails = Stripe_.PaymentIntentCreateParams.PaymentDetails.MoneyServices.AccountFunding.SenderDetails; + export namespace SenderDetails { + export type DateOfBirth = Stripe_.PaymentIntentCreateParams.PaymentDetails.MoneyServices.AccountFunding.SenderDetails.DateOfBirth; + } } + export namespace BeneficiaryDetails { + export type DateOfBirth = Stripe_.PaymentIntentCreateParams.PaymentDetails.MoneyServices.BeneficiaryDetails.DateOfBirth; + } + } + export namespace Subscription { + export type Affiliate = Stripe_.PaymentIntentCreateParams.PaymentDetails.Subscription.Affiliate; + export type BillingInterval = Stripe_.PaymentIntentCreateParams.PaymentDetails.Subscription.BillingInterval; + export namespace BillingInterval { + export type Interval = Stripe_.PaymentIntentCreateParams.PaymentDetails.Subscription.BillingInterval.Interval; + } + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.PaymentIntentCreateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Fpx; + export type GiftCard = Stripe_.PaymentIntentCreateParams.PaymentMethodData.GiftCard; + export type Giropay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Giropay; + export type Gopay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Gopay; + export type Grabpay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Grabpay; + export type IdBankTransfer = Stripe_.PaymentIntentCreateParams.PaymentMethodData.IdBankTransfer; + export type Ideal = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.PaymentIntentCreateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.PaymentIntentCreateParams.PaymentMethodData.KrCard; + export type Link = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Link; + export type MbWay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentCreateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.PaymentIntentCreateParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Paypal; + export type Paypay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Paypay; + export type Payto = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Payto; + export type Pix = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Promptpay; + export type Qris = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Qris; + export type RadarOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodData.RadarOptions; + export type Rechnung = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Rechnung; + export type RevolutPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.SepaDebit; + export type Shopeepay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Shopeepay; + export type Sofort = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sofort; + export type StripeBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodData.StripeBalance; + export type Sunbit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Swish; + export type Tamara = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Tamara; + export type Twint = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Twint; + export type Type = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Type; + export type Upi = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Eps.Bank; } - export namespace TrialSettings { - export type EndBehavior = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior; - export namespace EndBehavior { - export type MissingPaymentMethod = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; - } + export namespace Fpx { + export type AccountHolderType = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Fpx.Bank; } - } - export namespace TaxIdCollection { - export type Required = Stripe_.PaymentLinkUpdateParams.TaxIdCollection.Required; - } - } - export namespace PaymentLink { - export type AfterCompletion = Stripe_.PaymentLink.AfterCompletion; - export type AutomaticTax = Stripe_.PaymentLink.AutomaticTax; - export type BillingAddressCollection = Stripe_.PaymentLink.BillingAddressCollection; - export type ConsentCollection = Stripe_.PaymentLink.ConsentCollection; - export type CustomField = Stripe_.PaymentLink.CustomField; - export type CustomText = Stripe_.PaymentLink.CustomText; - export type CustomerCreation = Stripe_.PaymentLink.CustomerCreation; - export type InvoiceCreation = Stripe_.PaymentLink.InvoiceCreation; - export type ManagedPayments = Stripe_.PaymentLink.ManagedPayments; - export type NameCollection = Stripe_.PaymentLink.NameCollection; - export type OptionalItem = Stripe_.PaymentLink.OptionalItem; - export type PaymentIntentData = Stripe_.PaymentLink.PaymentIntentData; - export type PaymentMethodCollection = Stripe_.PaymentLink.PaymentMethodCollection; - export type PaymentMethodOptions = Stripe_.PaymentLink.PaymentMethodOptions; - export type PaymentMethodType = Stripe_.PaymentLink.PaymentMethodType; - export type PhoneNumberCollection = Stripe_.PaymentLink.PhoneNumberCollection; - export type Restrictions = Stripe_.PaymentLink.Restrictions; - export type ShippingAddressCollection = Stripe_.PaymentLink.ShippingAddressCollection; - export type ShippingOption = Stripe_.PaymentLink.ShippingOption; - export type SubmitType = Stripe_.PaymentLink.SubmitType; - export type SubscriptionData = Stripe_.PaymentLink.SubscriptionData; - export type TaxIdCollection = Stripe_.PaymentLink.TaxIdCollection; - export type TransferData = Stripe_.PaymentLink.TransferData; - export namespace AfterCompletion { - export type HostedConfirmation = Stripe_.PaymentLink.AfterCompletion.HostedConfirmation; - export type Redirect = Stripe_.PaymentLink.AfterCompletion.Redirect; - export type Type = Stripe_.PaymentLink.AfterCompletion.Type; - } - export namespace AutomaticTax { - export type Liability = Stripe_.PaymentLink.AutomaticTax.Liability; - export namespace Liability { - export type Type = Stripe_.PaymentLink.AutomaticTax.Liability.Type; + export namespace IdBankTransfer { + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.IdBankTransfer.Bank; } - } - export namespace ConsentCollection { - export type PaymentMethodReuseAgreement = Stripe_.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement; - export type Promotions = Stripe_.PaymentLink.ConsentCollection.Promotions; - export type TermsOfService = Stripe_.PaymentLink.ConsentCollection.TermsOfService; - export namespace PaymentMethodReuseAgreement { - export type Position = Stripe_.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement.Position; + export namespace Ideal { + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Ideal.Bank; } - } - export namespace CustomField { - export type Dropdown = Stripe_.PaymentLink.CustomField.Dropdown; - export type Label = Stripe_.PaymentLink.CustomField.Label; - export type Numeric = Stripe_.PaymentLink.CustomField.Numeric; - export type Text = Stripe_.PaymentLink.CustomField.Text; - export type Type = Stripe_.PaymentLink.CustomField.Type; - export namespace Dropdown { - export type Option = Stripe_.PaymentLink.CustomField.Dropdown.Option; + export namespace Klarna { + export type Dob = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Klarna.Dob; } - } - export namespace CustomText { - export type AfterSubmit = Stripe_.PaymentLink.CustomText.AfterSubmit; - export type ShippingAddress = Stripe_.PaymentLink.CustomText.ShippingAddress; - export type Submit = Stripe_.PaymentLink.CustomText.Submit; - export type TermsOfServiceAcceptance = Stripe_.PaymentLink.CustomText.TermsOfServiceAcceptance; - } - export namespace InvoiceCreation { - export type InvoiceData = Stripe_.PaymentLink.InvoiceCreation.InvoiceData; - export namespace InvoiceData { - export type CustomField = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.CustomField; - export type Issuer = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.Issuer; - export type RenderingOptions = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.RenderingOptions; - export namespace Issuer { - export type Type = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.Issuer.Type; + export namespace NaverPay { + export type Funding = Stripe_.PaymentIntentCreateParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.PaymentIntentCreateParams.PaymentMethodData.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Rechnung.Dob; + } + export namespace Sofort { + export type Country = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Upi.MandateOptions.AmountType; } } - } - export namespace NameCollection { - export type Business = Stripe_.PaymentLink.NameCollection.Business; - export type Individual = Stripe_.PaymentLink.NameCollection.Individual; - } - export namespace OptionalItem { - export type AdjustableQuantity = Stripe_.PaymentLink.OptionalItem.AdjustableQuantity; - } - export namespace PaymentIntentData { - export type CaptureMethod = Stripe_.PaymentLink.PaymentIntentData.CaptureMethod; - export type SetupFutureUsage = Stripe_.PaymentLink.PaymentIntentData.SetupFutureUsage; + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentIntentCreateParams.PaymentMethodData.UsBankAccount.AccountType; + } } export namespace PaymentMethodOptions { - export type Card = Stripe_.PaymentLink.PaymentMethodOptions.Card; - export namespace Card { - export type Restrictions = Stripe_.PaymentLink.PaymentMethodOptions.Card.Restrictions; - export namespace Restrictions { - export type BrandsBlocked = Stripe_.PaymentLink.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + export type AcssDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Fpx; + export type GiftCard = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.GiftCard; + export type Giropay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Giropay; + export type Gopay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Gopay; + export type Grabpay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Grabpay; + export type IdBankTransfer = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.IdBankTransfer; + export type Ideal = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Link; + export type MbWay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal; + export type Paypay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypay; + export type Payto = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Promptpay; + export type Qris = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Qris; + export type Rechnung = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Rechnung; + export type RevolutPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit; + export type Shopeepay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Shopeepay; + export type Sofort = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort; + export type StripeBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.StripeBalance; + export type Swish = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Zip; + export namespace AcssDebit { + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; } } - } - export namespace Restrictions { - export type CompletedSessions = Stripe_.PaymentLink.Restrictions.CompletedSessions; - } - export namespace ShippingAddressCollection { - export type AllowedCountry = Stripe_.PaymentLink.ShippingAddressCollection.AllowedCountry; - } - export namespace SubscriptionData { - export type InvoiceSettings = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings; - export type TrialSettings = Stripe_.PaymentLink.SubscriptionData.TrialSettings; - export namespace InvoiceSettings { - export type Issuer = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings.Issuer; - export namespace Issuer { - export type Type = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings.Issuer.Type; - } + export namespace Alipay { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Alipay.SetupFutureUsage; } - export namespace TrialSettings { - export type EndBehavior = Stripe_.PaymentLink.SubscriptionData.TrialSettings.EndBehavior; - export namespace EndBehavior { - export type MissingPaymentMethod = Stripe_.PaymentLink.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; - } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; } - } - export namespace TaxIdCollection { - export type Required = Stripe_.PaymentLink.TaxIdCollection.Required; - } - } - export namespace PaymentLocationCreateParams { - export type BusinessRegistration = Stripe.PaymentLocationCreateParams.BusinessRegistration; - } + export namespace AuBecsDebit { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type CaptureBy = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.CaptureBy; + export type CaptureDelay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.CaptureDelay; + export type CaptureMethod = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.CaptureMethod; + export type Installments = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.Network; + export type PaymentDetails = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.PaymentDetails; + export type RequestDecrementalAuthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestDecrementalAuthorization; + export type RequestExtendedAuthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestPartialAuthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestPartialAuthorization; + export type RequestReauthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestReauthorization; + export type RequestThreeDSecure = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type StatementDetails = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.StatementDetails; + export type ThreeDSecure = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace Installments { + export type Plan = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace PaymentDetails { + export type MoneyServices = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices; + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices.AccountFunding; + export namespace AccountFunding { + export type DigitalAssetCategory = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices.AccountFunding.DigitalAssetCategory; + } + } + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace CardPresent { + export type CaptureBy = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.CaptureBy; + export type CaptureDelay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.CaptureDelay; + export type CaptureMethod = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type PaymentDetails = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.PaymentDetails; + export type RequestMulticapture = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.RequestMulticapture; + export type RequestReauthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.RequestReauthorization; + export type Routing = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing; + export namespace PaymentDetails { + export type MoneyServices = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices; + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices.AccountFunding; + export namespace AccountFunding { + export type DigitalAssetCategory = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices.AccountFunding.DigitalAssetCategory; + } + } + } + export namespace Routing { + export type RequestedPriority = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace Crypto { + export type DepositOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Crypto.DepositOptions; + export type Mode = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Crypto.Mode; + export type TransactionVerificationOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Crypto.TransactionVerificationOptions; + export namespace DepositOptions { + export type Network = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Crypto.DepositOptions.Network; + } + export namespace TransactionVerificationOptions { + export type Network = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Crypto.TransactionVerificationOptions.Network; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace GiftCard { + export type RequestPartialAuthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.GiftCard.RequestPartialAuthorization; + } + export namespace Gopay { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Gopay.SetupFutureUsage; + } + export namespace Ideal { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type OnDemand = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription; + export type SupplementaryPurchaseData = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData; + export namespace OnDemand { + export type PurchaseInterval = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + export namespace SupplementaryPurchaseData { + export type BusReservationDetail = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail; + export type EventReservationDetail = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail; + export type FerryReservationDetail = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance; + export type MarketplaceSeller = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller; + export type RoundTripReservationDetail = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail; + export type TrainReservationDetail = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail; + export type Voucher = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher; + export namespace BusReservationDetail { + export type Arrival = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance.InsuranceType; + } + } + export namespace EventReservationDetail { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Address; + export type EventType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.EventType; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance; + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.InsuranceType; + } + } + export namespace FerryReservationDetail { + export type Arrival = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance.InsuranceType; + } + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance.InsuranceType; + } + export namespace MarketplaceSeller { + export type MarketplaceSellerAddress = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.MarketplaceSellerAddress; + export type ProductCategory = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.ProductCategory; + export type SellerRating = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.SellerRating; + } + export namespace RoundTripReservationDetail { + export type Arrival = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance.InsuranceType; + } + } + export namespace TrainReservationDetail { + export type Arrival = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance.InsuranceType; + } + } + export namespace Voucher { + export type VoucherType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.VoucherType; + } + } + } + export namespace KrCard { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace NzBankAccount { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + } + export namespace Paypal { + export type LineItem = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.LineItem; + export type PreferredLocale = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + export namespace LineItem { + export type Category = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.LineItem.Category; + export type Tax = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.LineItem.Tax; + export namespace Tax { + export type Behavior = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior; + } + } + } + export namespace Payto { + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace StripeBalance { + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.StripeBalance.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.StripeBalance.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + export namespace Networks { + export type Requested = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + export namespace WechatPay { + export type Client = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.WechatPay.Client; + } + } + export namespace TransferData { + export type PaymentData = Stripe_.PaymentIntentCreateParams.TransferData.PaymentData; + } + } + export namespace PaymentIntentUpdateParams { + export type AllocatedFunds = Stripe_.PaymentIntentUpdateParams.AllocatedFunds; + export type AllowedPaymentMethodType = Stripe_.PaymentIntentUpdateParams.AllowedPaymentMethodType; + export type AmountDetails = Stripe_.PaymentIntentUpdateParams.AmountDetails; + export type CaptureMethod = Stripe_.PaymentIntentUpdateParams.CaptureMethod; + export type ExcludedPaymentMethodType = Stripe_.PaymentIntentUpdateParams.ExcludedPaymentMethodType; + export type Hooks = Stripe_.PaymentIntentUpdateParams.Hooks; + export type MandateData = Stripe_.PaymentIntentUpdateParams.MandateData; + export type PaymentDetails = Stripe_.PaymentIntentUpdateParams.PaymentDetails; + export type PaymentMethodData = Stripe_.PaymentIntentUpdateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.SetupFutureUsage; + export type Shipping = Stripe_.PaymentIntentUpdateParams.Shipping; + export type TransferData = Stripe_.PaymentIntentUpdateParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentUpdateParams.AmountDetails.Shipping; + export type Surcharge = Stripe_.PaymentIntentUpdateParams.AmountDetails.Surcharge; + export type Tax = Stripe_.PaymentIntentUpdateParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Card { + export type FleetData = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData; + export namespace FleetData { + export type ProductType = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ProductType; + export type ServiceType = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ServiceType; + } + } + export namespace Paypal { + export type Category = Stripe_.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + export namespace Surcharge { + export type EnforceValidation = Stripe_.PaymentIntentUpdateParams.AmountDetails.Surcharge.EnforceValidation; + } + } + export namespace Hooks { + export type Inputs = Stripe_.PaymentIntentUpdateParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe_.PaymentIntentUpdateParams.Hooks.Inputs.Tax; + } + } + export namespace MandateData { + export type CustomerAcceptance = Stripe_.PaymentIntentUpdateParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Online = Stripe_.PaymentIntentUpdateParams.MandateData.CustomerAcceptance.Online; + } + } + export namespace PaymentDetails { + export type Benefit = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Benefit; + export type CarRental = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental; + export type CarRentalDatum = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum; + export type EventDetails = Stripe_.PaymentIntentUpdateParams.PaymentDetails.EventDetails; + export type FleetDatum = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FleetDatum; + export type Flight = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Flight; + export type FlightDatum = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum; + export type Lodging = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Lodging; + export type LodgingDatum = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum; + export type MoneyServices = Stripe_.PaymentIntentUpdateParams.PaymentDetails.MoneyServices; + export type Subscription = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Subscription; + export namespace Benefit { + export type FrMealVoucher = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Benefit.FrMealVoucher; + export namespace FrMealVoucher { + export type Enabled = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Benefit.FrMealVoucher.Enabled; + } + } + export namespace CarRental { + export type Affiliate = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.Affiliate; + export type Delivery = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.Delivery; + export type Distance = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.Distance; + export type Driver = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.Driver; + export type ExtraCharge = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.ExtraCharge; + export type RateInterval = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.RateInterval; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.Delivery.Recipient; + } + export namespace Distance { + export type Unit = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRental.Distance.Unit; + } + } + export namespace CarRentalDatum { + export type Affiliate = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Affiliate; + export type Distance = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Distance; + export type Driver = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Driver; + export type DropOff = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.DropOff; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Insurance; + export type Pickup = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Pickup; + export type Total = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Total; + export type Vehicle = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Vehicle; + export namespace Distance { + export type Unit = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Distance.Unit; + } + export namespace Driver { + export type DateOfBirth = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Driver.DateOfBirth; + } + export namespace DropOff { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.DropOff.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Insurance.InsuranceType; + } + export namespace Pickup { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Pickup.Address; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge; + export type RateUnit = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Total.RateUnit; + export type Tax = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Total.Tax.Tax; + } + } + export namespace Vehicle { + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Vehicle.Type; + export type VehicleClass = Stripe_.PaymentIntentUpdateParams.PaymentDetails.CarRentalDatum.Vehicle.VehicleClass; + } + } + export namespace EventDetails { + export type Affiliate = Stripe_.PaymentIntentUpdateParams.PaymentDetails.EventDetails.Affiliate; + export type Delivery = Stripe_.PaymentIntentUpdateParams.PaymentDetails.EventDetails.Delivery; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentUpdateParams.PaymentDetails.EventDetails.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentUpdateParams.PaymentDetails.EventDetails.Delivery.Recipient; + } + } + export namespace FleetDatum { + export type PrimaryFuelFields = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FleetDatum.PrimaryFuelFields; + export type Station = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FleetDatum.Station; + export type Vat = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FleetDatum.Vat; + export namespace PrimaryFuelFields { + export type Brand = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FleetDatum.PrimaryFuelFields.Brand; + } + export namespace Vat { + export type IobIndicator = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FleetDatum.Vat.IobIndicator; + } + } + export namespace Flight { + export type Affiliate = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Flight.Affiliate; + export type Delivery = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery; + export type Passenger = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Flight.Passenger; + export type Segment = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Flight.Segment; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient; + } + export namespace Segment { + export type ServiceClass = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Flight.Segment.ServiceClass; + } + } + export namespace FlightDatum { + export type Affiliate = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Affiliate; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Insurance; + export type Passenger = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Passenger; + export type Segment = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Segment; + export type Total = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Total; + export type TransactionType = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.TransactionType; + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Insurance.InsuranceType; + } + export namespace Segment { + export type Arrival = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Segment.Arrival; + export type Departure = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Segment.Departure; + export type ServiceClass = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Segment.ServiceClass; + } + export namespace Total { + export type CreditReason = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Total.CreditReason; + export type Discounts = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentUpdateParams.PaymentDetails.FlightDatum.Total.Tax.Tax; + } + } + } + export namespace Lodging { + export type Affiliate = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Lodging.Affiliate; + export type Category = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Lodging.Category; + export type Delivery = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Lodging.Delivery; + export type ExtraCharge = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Lodging.ExtraCharge; + export type Passenger = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Lodging.Passenger; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Lodging.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Lodging.Delivery.Recipient; + } + } + export namespace LodgingDatum { + export type Accommodation = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Accommodation; + export type Affiliate = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Affiliate; + export type Guest = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Guest; + export type Host = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Host; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Insurance; + export type Total = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Total; + export namespace Accommodation { + export type AccommodationType = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Accommodation.AccommodationType; + } + export namespace Host { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Host.Address; + export type HostType = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Host.HostType; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Insurance.InsuranceType; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentUpdateParams.PaymentDetails.LodgingDatum.Total.Tax.Tax; + } + } + } + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentUpdateParams.PaymentDetails.MoneyServices.AccountFunding; + export type BeneficiaryDetails = Stripe_.PaymentIntentUpdateParams.PaymentDetails.MoneyServices.BeneficiaryDetails; + export type TransactionType = Stripe_.PaymentIntentUpdateParams.PaymentDetails.MoneyServices.TransactionType; + export namespace AccountFunding { + export type SenderDetails = Stripe_.PaymentIntentUpdateParams.PaymentDetails.MoneyServices.AccountFunding.SenderDetails; + export namespace SenderDetails { + export type DateOfBirth = Stripe_.PaymentIntentUpdateParams.PaymentDetails.MoneyServices.AccountFunding.SenderDetails.DateOfBirth; + } + } + export namespace BeneficiaryDetails { + export type DateOfBirth = Stripe_.PaymentIntentUpdateParams.PaymentDetails.MoneyServices.BeneficiaryDetails.DateOfBirth; + } + } + export namespace Subscription { + export type Affiliate = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Subscription.Affiliate; + export type BillingInterval = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Subscription.BillingInterval; + export namespace BillingInterval { + export type Interval = Stripe_.PaymentIntentUpdateParams.PaymentDetails.Subscription.BillingInterval.Interval; + } + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Fpx; + export type GiftCard = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.GiftCard; + export type Giropay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Giropay; + export type Gopay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Gopay; + export type Grabpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Grabpay; + export type IdBankTransfer = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.IdBankTransfer; + export type Ideal = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.KrCard; + export type Link = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Link; + export type MbWay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Paypal; + export type Paypay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Paypay; + export type Payto = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Payto; + export type Pix = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Promptpay; + export type Qris = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Qris; + export type RadarOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.RadarOptions; + export type Rechnung = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Rechnung; + export type RevolutPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.SepaDebit; + export type Shopeepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Shopeepay; + export type Sofort = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sofort; + export type StripeBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.StripeBalance; + export type Sunbit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Swish; + export type Tamara = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Tamara; + export type Twint = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Twint; + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Type; + export type Upi = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Fpx.Bank; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Rechnung.Dob; + } + export namespace Sofort { + export type Country = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Fpx; + export type GiftCard = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.GiftCard; + export type Giropay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Giropay; + export type Gopay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Gopay; + export type Grabpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Grabpay; + export type IdBankTransfer = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.IdBankTransfer; + export type Ideal = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Link; + export type MbWay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal; + export type Paypay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypay; + export type Payto = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Promptpay; + export type Qris = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Qris; + export type Rechnung = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Rechnung; + export type RevolutPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit; + export type Shopeepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Shopeepay; + export type Sofort = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort; + export type StripeBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.StripeBalance; + export type Swish = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Zip; + export namespace AcssDebit { + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Alipay { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace AuBecsDebit { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type CaptureBy = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.CaptureBy; + export type CaptureDelay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.CaptureDelay; + export type CaptureMethod = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.CaptureMethod; + export type Installments = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Network; + export type PaymentDetails = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.PaymentDetails; + export type RequestDecrementalAuthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestDecrementalAuthorization; + export type RequestExtendedAuthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestPartialAuthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestPartialAuthorization; + export type RequestReauthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestReauthorization; + export type RequestThreeDSecure = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type StatementDetails = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.StatementDetails; + export type ThreeDSecure = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace Installments { + export type Plan = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace PaymentDetails { + export type MoneyServices = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices; + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices.AccountFunding; + export namespace AccountFunding { + export type DigitalAssetCategory = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices.AccountFunding.DigitalAssetCategory; + } + } + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace CardPresent { + export type CaptureBy = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.CaptureBy; + export type CaptureDelay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.CaptureDelay; + export type CaptureMethod = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type PaymentDetails = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.PaymentDetails; + export type RequestMulticapture = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.RequestMulticapture; + export type RequestReauthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.RequestReauthorization; + export type Routing = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing; + export namespace PaymentDetails { + export type MoneyServices = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices; + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices.AccountFunding; + export namespace AccountFunding { + export type DigitalAssetCategory = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices.AccountFunding.DigitalAssetCategory; + } + } + } + export namespace Routing { + export type RequestedPriority = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace Crypto { + export type DepositOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto.DepositOptions; + export type Mode = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto.Mode; + export type TransactionVerificationOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto.TransactionVerificationOptions; + export namespace DepositOptions { + export type Network = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto.DepositOptions.Network; + } + export namespace TransactionVerificationOptions { + export type Network = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto.TransactionVerificationOptions.Network; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace GiftCard { + export type RequestPartialAuthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.GiftCard.RequestPartialAuthorization; + } + export namespace Gopay { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Gopay.SetupFutureUsage; + } + export namespace Ideal { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type OnDemand = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription; + export type SupplementaryPurchaseData = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData; + export namespace OnDemand { + export type PurchaseInterval = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + export namespace SupplementaryPurchaseData { + export type BusReservationDetail = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail; + export type EventReservationDetail = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail; + export type FerryReservationDetail = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance; + export type MarketplaceSeller = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller; + export type RoundTripReservationDetail = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail; + export type TrainReservationDetail = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail; + export type Voucher = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher; + export namespace BusReservationDetail { + export type Arrival = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance.InsuranceType; + } + } + export namespace EventReservationDetail { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Address; + export type EventType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.EventType; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance; + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.InsuranceType; + } + } + export namespace FerryReservationDetail { + export type Arrival = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance.InsuranceType; + } + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance.InsuranceType; + } + export namespace MarketplaceSeller { + export type MarketplaceSellerAddress = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.MarketplaceSellerAddress; + export type ProductCategory = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.ProductCategory; + export type SellerRating = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.SellerRating; + } + export namespace RoundTripReservationDetail { + export type Arrival = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance.InsuranceType; + } + } + export namespace TrainReservationDetail { + export type Arrival = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance.InsuranceType; + } + } + export namespace Voucher { + export type VoucherType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.VoucherType; + } + } + } + export namespace KrCard { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace NzBankAccount { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + } + export namespace Paypal { + export type LineItem = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.LineItem; + export type PreferredLocale = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + export namespace LineItem { + export type Category = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.LineItem.Category; + export type Tax = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.LineItem.Tax; + export namespace Tax { + export type Behavior = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior; + } + } + } + export namespace Payto { + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace StripeBalance { + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.StripeBalance.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.StripeBalance.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + export namespace Networks { + export type Requested = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + export namespace WechatPay { + export type Client = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.WechatPay.Client; + } + } + export namespace TransferData { + export type PaymentData = Stripe_.PaymentIntentUpdateParams.TransferData.PaymentData; + } + } + export namespace PaymentIntentCancelParams { + export type CancellationReason = Stripe_.PaymentIntentCancelParams.CancellationReason; + } + export namespace PaymentIntentCaptureParams { + export type AmountDetails = Stripe_.PaymentIntentCaptureParams.AmountDetails; + export type Hooks = Stripe_.PaymentIntentCaptureParams.Hooks; + export type PaymentDetails = Stripe_.PaymentIntentCaptureParams.PaymentDetails; + export type TransferData = Stripe_.PaymentIntentCaptureParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentCaptureParams.AmountDetails.Shipping; + export type Surcharge = Stripe_.PaymentIntentCaptureParams.AmountDetails.Surcharge; + export type Tax = Stripe_.PaymentIntentCaptureParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Card { + export type FleetData = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData; + export namespace FleetData { + export type ProductType = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ProductType; + export type ServiceType = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ServiceType; + } + } + export namespace Paypal { + export type Category = Stripe_.PaymentIntentCaptureParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + export namespace Surcharge { + export type EnforceValidation = Stripe_.PaymentIntentCaptureParams.AmountDetails.Surcharge.EnforceValidation; + } + } + export namespace Hooks { + export type Inputs = Stripe_.PaymentIntentCaptureParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe_.PaymentIntentCaptureParams.Hooks.Inputs.Tax; + } + } + export namespace PaymentDetails { + export type CarRental = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental; + export type CarRentalDatum = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum; + export type EventDetails = Stripe_.PaymentIntentCaptureParams.PaymentDetails.EventDetails; + export type FleetDatum = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FleetDatum; + export type Flight = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Flight; + export type FlightDatum = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum; + export type Lodging = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Lodging; + export type LodgingDatum = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum; + export type Subscription = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Subscription; + export namespace CarRental { + export type Affiliate = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.Affiliate; + export type Delivery = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.Delivery; + export type Distance = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.Distance; + export type Driver = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.Driver; + export type ExtraCharge = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.ExtraCharge; + export type RateInterval = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.RateInterval; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.Delivery.Recipient; + } + export namespace Distance { + export type Unit = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRental.Distance.Unit; + } + } + export namespace CarRentalDatum { + export type Affiliate = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Affiliate; + export type Distance = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Distance; + export type Driver = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Driver; + export type DropOff = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.DropOff; + export type Insurance = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Insurance; + export type Pickup = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Pickup; + export type Total = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Total; + export type Vehicle = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Vehicle; + export namespace Distance { + export type Unit = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Distance.Unit; + } + export namespace Driver { + export type DateOfBirth = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Driver.DateOfBirth; + } + export namespace DropOff { + export type Address = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.DropOff.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Insurance.InsuranceType; + } + export namespace Pickup { + export type Address = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Pickup.Address; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge; + export type RateUnit = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Total.RateUnit; + export type Tax = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Total.Tax.Tax; + } + } + export namespace Vehicle { + export type Type = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Vehicle.Type; + export type VehicleClass = Stripe_.PaymentIntentCaptureParams.PaymentDetails.CarRentalDatum.Vehicle.VehicleClass; + } + } + export namespace EventDetails { + export type Affiliate = Stripe_.PaymentIntentCaptureParams.PaymentDetails.EventDetails.Affiliate; + export type Delivery = Stripe_.PaymentIntentCaptureParams.PaymentDetails.EventDetails.Delivery; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentCaptureParams.PaymentDetails.EventDetails.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentCaptureParams.PaymentDetails.EventDetails.Delivery.Recipient; + } + } + export namespace FleetDatum { + export type PrimaryFuelFields = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FleetDatum.PrimaryFuelFields; + export type Station = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FleetDatum.Station; + export type Vat = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FleetDatum.Vat; + export namespace PrimaryFuelFields { + export type Brand = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FleetDatum.PrimaryFuelFields.Brand; + } + export namespace Vat { + export type IobIndicator = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FleetDatum.Vat.IobIndicator; + } + } + export namespace Flight { + export type Affiliate = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Flight.Affiliate; + export type Delivery = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Flight.Delivery; + export type Passenger = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Flight.Passenger; + export type Segment = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Flight.Segment; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Flight.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Flight.Delivery.Recipient; + } + export namespace Segment { + export type ServiceClass = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Flight.Segment.ServiceClass; + } + } + export namespace FlightDatum { + export type Affiliate = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Affiliate; + export type Insurance = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Insurance; + export type Passenger = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Passenger; + export type Segment = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Segment; + export type Total = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Total; + export type TransactionType = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.TransactionType; + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Insurance.InsuranceType; + } + export namespace Segment { + export type Arrival = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Segment.Arrival; + export type Departure = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Segment.Departure; + export type ServiceClass = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Segment.ServiceClass; + } + export namespace Total { + export type CreditReason = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Total.CreditReason; + export type Discounts = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentCaptureParams.PaymentDetails.FlightDatum.Total.Tax.Tax; + } + } + } + export namespace Lodging { + export type Affiliate = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Lodging.Affiliate; + export type Category = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Lodging.Category; + export type Delivery = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Lodging.Delivery; + export type ExtraCharge = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Lodging.ExtraCharge; + export type Passenger = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Lodging.Passenger; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Lodging.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Lodging.Delivery.Recipient; + } + } + export namespace LodgingDatum { + export type Accommodation = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Accommodation; + export type Affiliate = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Affiliate; + export type Guest = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Guest; + export type Host = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Host; + export type Insurance = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Insurance; + export type Total = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Total; + export namespace Accommodation { + export type AccommodationType = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Accommodation.AccommodationType; + } + export namespace Host { + export type Address = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Host.Address; + export type HostType = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Host.HostType; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Insurance.InsuranceType; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentCaptureParams.PaymentDetails.LodgingDatum.Total.Tax.Tax; + } + } + } + export namespace Subscription { + export type Affiliate = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Subscription.Affiliate; + export type BillingInterval = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Subscription.BillingInterval; + export namespace BillingInterval { + export type Interval = Stripe_.PaymentIntentCaptureParams.PaymentDetails.Subscription.BillingInterval.Interval; + } + } + } + } + export namespace PaymentIntentConfirmParams { + export type AllocatedFunds = Stripe_.PaymentIntentConfirmParams.AllocatedFunds; + export type AllowedPaymentMethodType = Stripe_.PaymentIntentConfirmParams.AllowedPaymentMethodType; + export type AmountDetails = Stripe_.PaymentIntentConfirmParams.AmountDetails; + export type CaptureMethod = Stripe_.PaymentIntentConfirmParams.CaptureMethod; + export type ExcludedPaymentMethodType = Stripe_.PaymentIntentConfirmParams.ExcludedPaymentMethodType; + export type Hooks = Stripe_.PaymentIntentConfirmParams.Hooks; + export type MandateData = Stripe_.PaymentIntentConfirmParams.MandateData; + export type OffSession = Stripe_.PaymentIntentConfirmParams.OffSession; + export type PaymentDetails = Stripe_.PaymentIntentConfirmParams.PaymentDetails; + export type PaymentMethodData = Stripe_.PaymentIntentConfirmParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions; + export type RadarOptions = Stripe_.PaymentIntentConfirmParams.RadarOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.SetupFutureUsage; + export type Shipping = Stripe_.PaymentIntentConfirmParams.Shipping; + export namespace AmountDetails { + export type LineItem = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentConfirmParams.AmountDetails.Shipping; + export type Surcharge = Stripe_.PaymentIntentConfirmParams.AmountDetails.Surcharge; + export type Tax = Stripe_.PaymentIntentConfirmParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Card { + export type FleetData = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData; + export namespace FleetData { + export type ProductType = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ProductType; + export type ServiceType = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ServiceType; + } + } + export namespace Paypal { + export type Category = Stripe_.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + export namespace Surcharge { + export type EnforceValidation = Stripe_.PaymentIntentConfirmParams.AmountDetails.Surcharge.EnforceValidation; + } + } + export namespace Hooks { + export type Inputs = Stripe_.PaymentIntentConfirmParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe_.PaymentIntentConfirmParams.Hooks.Inputs.Tax; + } + } + export namespace MandateData { + export type CustomerAcceptance = Stripe_.PaymentIntentConfirmParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Offline = Stripe_.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe_.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe_.PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Type; + } + } + export namespace PaymentDetails { + export type Benefit = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Benefit; + export type CarRental = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental; + export type CarRentalDatum = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum; + export type EventDetails = Stripe_.PaymentIntentConfirmParams.PaymentDetails.EventDetails; + export type FleetDatum = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FleetDatum; + export type Flight = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Flight; + export type FlightDatum = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum; + export type Lodging = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Lodging; + export type LodgingDatum = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum; + export type MoneyServices = Stripe_.PaymentIntentConfirmParams.PaymentDetails.MoneyServices; + export type Subscription = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Subscription; + export namespace Benefit { + export type FrMealVoucher = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Benefit.FrMealVoucher; + export namespace FrMealVoucher { + export type Enabled = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Benefit.FrMealVoucher.Enabled; + } + } + export namespace CarRental { + export type Affiliate = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.Affiliate; + export type Delivery = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.Delivery; + export type Distance = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.Distance; + export type Driver = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.Driver; + export type ExtraCharge = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.ExtraCharge; + export type RateInterval = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.RateInterval; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.Delivery.Recipient; + } + export namespace Distance { + export type Unit = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRental.Distance.Unit; + } + } + export namespace CarRentalDatum { + export type Affiliate = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Affiliate; + export type Distance = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Distance; + export type Driver = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Driver; + export type DropOff = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.DropOff; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Insurance; + export type Pickup = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Pickup; + export type Total = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Total; + export type Vehicle = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Vehicle; + export namespace Distance { + export type Unit = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Distance.Unit; + } + export namespace Driver { + export type DateOfBirth = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Driver.DateOfBirth; + } + export namespace DropOff { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.DropOff.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Insurance.InsuranceType; + } + export namespace Pickup { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Pickup.Address; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge; + export type RateUnit = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Total.RateUnit; + export type Tax = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Total.Tax.Tax; + } + } + export namespace Vehicle { + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Vehicle.Type; + export type VehicleClass = Stripe_.PaymentIntentConfirmParams.PaymentDetails.CarRentalDatum.Vehicle.VehicleClass; + } + } + export namespace EventDetails { + export type Affiliate = Stripe_.PaymentIntentConfirmParams.PaymentDetails.EventDetails.Affiliate; + export type Delivery = Stripe_.PaymentIntentConfirmParams.PaymentDetails.EventDetails.Delivery; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentConfirmParams.PaymentDetails.EventDetails.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentConfirmParams.PaymentDetails.EventDetails.Delivery.Recipient; + } + } + export namespace FleetDatum { + export type PrimaryFuelFields = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FleetDatum.PrimaryFuelFields; + export type Station = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FleetDatum.Station; + export type Vat = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FleetDatum.Vat; + export namespace PrimaryFuelFields { + export type Brand = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FleetDatum.PrimaryFuelFields.Brand; + } + export namespace Vat { + export type IobIndicator = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FleetDatum.Vat.IobIndicator; + } + } + export namespace Flight { + export type Affiliate = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Flight.Affiliate; + export type Delivery = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Flight.Delivery; + export type Passenger = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Flight.Passenger; + export type Segment = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Flight.Segment; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Flight.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Flight.Delivery.Recipient; + } + export namespace Segment { + export type ServiceClass = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Flight.Segment.ServiceClass; + } + } + export namespace FlightDatum { + export type Affiliate = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Affiliate; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Insurance; + export type Passenger = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Passenger; + export type Segment = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Segment; + export type Total = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Total; + export type TransactionType = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.TransactionType; + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Insurance.InsuranceType; + } + export namespace Segment { + export type Arrival = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Segment.Arrival; + export type Departure = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Segment.Departure; + export type ServiceClass = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Segment.ServiceClass; + } + export namespace Total { + export type CreditReason = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Total.CreditReason; + export type Discounts = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentConfirmParams.PaymentDetails.FlightDatum.Total.Tax.Tax; + } + } + } + export namespace Lodging { + export type Affiliate = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Lodging.Affiliate; + export type Category = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Lodging.Category; + export type Delivery = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Lodging.Delivery; + export type ExtraCharge = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Lodging.ExtraCharge; + export type Passenger = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Lodging.Passenger; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Lodging.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Lodging.Delivery.Recipient; + } + } + export namespace LodgingDatum { + export type Accommodation = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Accommodation; + export type Affiliate = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Affiliate; + export type Guest = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Guest; + export type Host = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Host; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Insurance; + export type Total = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Total; + export namespace Accommodation { + export type AccommodationType = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Accommodation.AccommodationType; + } + export namespace Host { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Host.Address; + export type HostType = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Host.HostType; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Insurance.InsuranceType; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntentConfirmParams.PaymentDetails.LodgingDatum.Total.Tax.Tax; + } + } + } + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentConfirmParams.PaymentDetails.MoneyServices.AccountFunding; + export type BeneficiaryDetails = Stripe_.PaymentIntentConfirmParams.PaymentDetails.MoneyServices.BeneficiaryDetails; + export type TransactionType = Stripe_.PaymentIntentConfirmParams.PaymentDetails.MoneyServices.TransactionType; + export namespace AccountFunding { + export type SenderDetails = Stripe_.PaymentIntentConfirmParams.PaymentDetails.MoneyServices.AccountFunding.SenderDetails; + export namespace SenderDetails { + export type DateOfBirth = Stripe_.PaymentIntentConfirmParams.PaymentDetails.MoneyServices.AccountFunding.SenderDetails.DateOfBirth; + } + } + export namespace BeneficiaryDetails { + export type DateOfBirth = Stripe_.PaymentIntentConfirmParams.PaymentDetails.MoneyServices.BeneficiaryDetails.DateOfBirth; + } + } + export namespace Subscription { + export type Affiliate = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Subscription.Affiliate; + export type BillingInterval = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval; + export namespace BillingInterval { + export type Interval = Stripe_.PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.Interval; + } + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Fpx; + export type GiftCard = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.GiftCard; + export type Giropay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Giropay; + export type Gopay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Gopay; + export type Grabpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Grabpay; + export type IdBankTransfer = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.IdBankTransfer; + export type Ideal = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.KrCard; + export type Link = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Link; + export type MbWay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Paypal; + export type Paypay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Paypay; + export type Payto = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Payto; + export type Pix = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Promptpay; + export type Qris = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Qris; + export type RadarOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.RadarOptions; + export type Rechnung = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Rechnung; + export type RevolutPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.SepaDebit; + export type Shopeepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Shopeepay; + export type Sofort = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sofort; + export type StripeBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.StripeBalance; + export type Sunbit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Swish; + export type Tamara = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Tamara; + export type Twint = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Twint; + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Type; + export type Upi = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Fpx.Bank; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Rechnung.Dob; + } + export namespace Sofort { + export type Country = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto; + export type Card = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Fpx; + export type GiftCard = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.GiftCard; + export type Giropay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Giropay; + export type Gopay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Gopay; + export type Grabpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Grabpay; + export type IdBankTransfer = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.IdBankTransfer; + export type Ideal = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.KrCard; + export type Link = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Link; + export type MbWay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal; + export type Paypay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypay; + export type Payto = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix; + export type Promptpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Promptpay; + export type Qris = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Qris; + export type Rechnung = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Rechnung; + export type RevolutPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit; + export type Shopeepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Shopeepay; + export type Sofort = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort; + export type StripeBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.StripeBalance; + export type Swish = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Swish; + export type Twint = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Twint; + export type Upi = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay; + export type Zip = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Zip; + export namespace AcssDebit { + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Alipay { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace AuBecsDebit { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type CaptureBy = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.CaptureBy; + export type CaptureDelay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.CaptureDelay; + export type CaptureMethod = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.CaptureMethod; + export type Installments = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Network; + export type PaymentDetails = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.PaymentDetails; + export type RequestDecrementalAuthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestDecrementalAuthorization; + export type RequestExtendedAuthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestPartialAuthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestPartialAuthorization; + export type RequestReauthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestReauthorization; + export type RequestThreeDSecure = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.SetupFutureUsage; + export type StatementDetails = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.StatementDetails; + export type ThreeDSecure = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace Installments { + export type Plan = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace PaymentDetails { + export type MoneyServices = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices; + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices.AccountFunding; + export namespace AccountFunding { + export type DigitalAssetCategory = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.PaymentDetails.MoneyServices.AccountFunding.DigitalAssetCategory; + } + } + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ExemptionIndicator; + export type NetworkOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace CardPresent { + export type CaptureBy = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.CaptureBy; + export type CaptureDelay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.CaptureDelay; + export type CaptureMethod = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.CaptureMethod; + export type PaymentDetails = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.PaymentDetails; + export type RequestMulticapture = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.RequestMulticapture; + export type RequestReauthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.RequestReauthorization; + export type Routing = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing; + export namespace PaymentDetails { + export type MoneyServices = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices; + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices.AccountFunding; + export namespace AccountFunding { + export type DigitalAssetCategory = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.PaymentDetails.MoneyServices.AccountFunding.DigitalAssetCategory; + } + } + } + export namespace Routing { + export type RequestedPriority = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace Crypto { + export type DepositOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto.DepositOptions; + export type Mode = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto.Mode; + export type TransactionVerificationOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto.TransactionVerificationOptions; + export namespace DepositOptions { + export type Network = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto.DepositOptions.Network; + } + export namespace TransactionVerificationOptions { + export type Network = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto.TransactionVerificationOptions.Network; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace GiftCard { + export type RequestPartialAuthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.GiftCard.RequestPartialAuthorization; + } + export namespace Gopay { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Gopay.SetupFutureUsage; + } + export namespace Ideal { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type OnDemand = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SetupFutureUsage; + export type Subscription = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription; + export type SupplementaryPurchaseData = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData; + export namespace OnDemand { + export type PurchaseInterval = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + export namespace SupplementaryPurchaseData { + export type BusReservationDetail = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail; + export type EventReservationDetail = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail; + export type FerryReservationDetail = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance; + export type MarketplaceSeller = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller; + export type RoundTripReservationDetail = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail; + export type TrainReservationDetail = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail; + export type Voucher = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher; + export namespace BusReservationDetail { + export type Arrival = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail.Insurance.InsuranceType; + } + } + export namespace EventReservationDetail { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Address; + export type EventType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.EventType; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance; + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.InsuranceType; + } + } + export namespace FerryReservationDetail { + export type Arrival = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance.InsuranceType; + } + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance.InsuranceType; + } + export namespace MarketplaceSeller { + export type MarketplaceSellerAddress = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.MarketplaceSellerAddress; + export type ProductCategory = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.ProductCategory; + export type SellerRating = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.SellerRating; + } + export namespace RoundTripReservationDetail { + export type Arrival = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail.Insurance.InsuranceType; + } + } + export namespace TrainReservationDetail { + export type Arrival = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival; + export type Departure = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure; + export type Insurance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance; + export type Passenger = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Passenger; + export type TicketClass = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.TicketClass; + export namespace Arrival { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Arrival.Address; + } + export namespace Departure { + export type Address = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Departure.Address; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail.Insurance.InsuranceType; + } + } + export namespace Voucher { + export type VoucherType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.VoucherType; + } + } + } + export namespace KrCard { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace NzBankAccount { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + } + export namespace Paypal { + export type LineItem = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem; + export type PreferredLocale = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + export namespace LineItem { + export type Category = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Category; + export type Tax = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax; + export namespace Tax { + export type Behavior = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior; + } + } + } + export namespace Payto { + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace StripeBalance { + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.StripeBalance.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.StripeBalance.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks; + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + export namespace Networks { + export type Requested = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + export namespace WechatPay { + export type Client = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay.Client; + } + } + } + export namespace PaymentIntentDecrementAuthorizationParams { + export type AmountDetails = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails; + export type Hooks = Stripe_.PaymentIntentDecrementAuthorizationParams.Hooks; + export type PaymentDetails = Stripe_.PaymentIntentDecrementAuthorizationParams.PaymentDetails; + export type TransferData = Stripe_.PaymentIntentDecrementAuthorizationParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.Shipping; + export type Surcharge = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.Surcharge; + export type Tax = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Card { + export type FleetData = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData; + export namespace FleetData { + export type ProductType = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ProductType; + export type ServiceType = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ServiceType; + } + } + export namespace Paypal { + export type Category = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + export namespace Surcharge { + export type EnforceValidation = Stripe_.PaymentIntentDecrementAuthorizationParams.AmountDetails.Surcharge.EnforceValidation; + } + } + export namespace Hooks { + export type Inputs = Stripe_.PaymentIntentDecrementAuthorizationParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe_.PaymentIntentDecrementAuthorizationParams.Hooks.Inputs.Tax; + } + } + } + export namespace PaymentIntentIncrementAuthorizationParams { + export type AmountDetails = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails; + export type Hooks = Stripe_.PaymentIntentIncrementAuthorizationParams.Hooks; + export type PaymentDetails = Stripe_.PaymentIntentIncrementAuthorizationParams.PaymentDetails; + export type PaymentMethodOptions = Stripe_.PaymentIntentIncrementAuthorizationParams.PaymentMethodOptions; + export type TransferData = Stripe_.PaymentIntentIncrementAuthorizationParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem; + export type Shipping = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping; + export type Surcharge = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.Surcharge; + export type Tax = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.Tax; + export namespace LineItem { + export type PaymentMethodOptions = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal; + export namespace Card { + export type FleetData = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData; + export namespace FleetData { + export type ProductType = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ProductType; + export type ServiceType = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Card.FleetData.ServiceType; + } + } + export namespace Paypal { + export type Category = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + export namespace Surcharge { + export type EnforceValidation = Stripe_.PaymentIntentIncrementAuthorizationParams.AmountDetails.Surcharge.EnforceValidation; + } + } + export namespace Hooks { + export type Inputs = Stripe_.PaymentIntentIncrementAuthorizationParams.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe_.PaymentIntentIncrementAuthorizationParams.Hooks.Inputs.Tax; + } + } + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentIntentIncrementAuthorizationParams.PaymentMethodOptions.Card; + export namespace Card { + export type RequestPartialAuthorization = Stripe_.PaymentIntentIncrementAuthorizationParams.PaymentMethodOptions.Card.RequestPartialAuthorization; + } + } + } + export namespace PaymentIntentTriggerActionParams { + export type Type = Stripe_.PaymentIntentTriggerActionParams.Type; + export type ScanQrCode = Stripe_.PaymentIntentTriggerActionParams.ScanQrCode; + export namespace ScanQrCode { + export type Result = Stripe_.PaymentIntentTriggerActionParams.ScanQrCode.Result; + } + } + export namespace PaymentIntentUpdateCryptoRefundAddressParams { + export type Network = Stripe_.PaymentIntentUpdateCryptoRefundAddressParams.Network; + } + export namespace PaymentIntent { + export type AdvancedFeatureDetails = Stripe_.PaymentIntent.AdvancedFeatureDetails; + export type AgentDetails = Stripe_.PaymentIntent.AgentDetails; + export type AllocatedFunds = Stripe_.PaymentIntent.AllocatedFunds; + export type AmountDetails = Stripe_.PaymentIntent.AmountDetails; + export type AsyncWorkflows = Stripe_.PaymentIntent.AsyncWorkflows; + export type AutomaticPaymentMethods = Stripe_.PaymentIntent.AutomaticPaymentMethods; + export type CancellationReason = Stripe_.PaymentIntent.CancellationReason; + export type CaptureMethod = Stripe_.PaymentIntent.CaptureMethod; + export type ConfirmationMethod = Stripe_.PaymentIntent.ConfirmationMethod; + export type ExcludedPaymentMethodType = Stripe_.PaymentIntent.ExcludedPaymentMethodType; + export type Hooks = Stripe_.PaymentIntent.Hooks; + export type LastPaymentError = Stripe_.PaymentIntent.LastPaymentError; + export type ManagedPayments = Stripe_.PaymentIntent.ManagedPayments; + export type NextAction = Stripe_.PaymentIntent.NextAction; + export type PaymentDetails = Stripe_.PaymentIntent.PaymentDetails; + export type PaymentMethodConfigurationDetails = Stripe_.PaymentIntent.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe_.PaymentIntent.PaymentMethodOptions; + export type PaymentsOrchestration = Stripe_.PaymentIntent.PaymentsOrchestration; + export type PresentmentDetails = Stripe_.PaymentIntent.PresentmentDetails; + export type Processing = Stripe_.PaymentIntent.Processing; + export type SecretKeyConfirmation = Stripe_.PaymentIntent.SecretKeyConfirmation; + export type SetupFutureUsage = Stripe_.PaymentIntent.SetupFutureUsage; + export type Shipping = Stripe_.PaymentIntent.Shipping; + export type Status = Stripe_.PaymentIntent.Status; + export type TransferData = Stripe_.PaymentIntent.TransferData; + export namespace AdvancedFeatureDetails { + export type DecrementalAuthorization = Stripe_.PaymentIntent.AdvancedFeatureDetails.DecrementalAuthorization; + export type ForcedCapture = Stripe_.PaymentIntent.AdvancedFeatureDetails.ForcedCapture; + export type IncrementalAuthorization = Stripe_.PaymentIntent.AdvancedFeatureDetails.IncrementalAuthorization; + export type Multicapture = Stripe_.PaymentIntent.AdvancedFeatureDetails.Multicapture; + export type Overcapture = Stripe_.PaymentIntent.AdvancedFeatureDetails.Overcapture; + export namespace DecrementalAuthorization { + export type Status = Stripe_.PaymentIntent.AdvancedFeatureDetails.DecrementalAuthorization.Status; + } + export namespace ForcedCapture { + export type Status = Stripe_.PaymentIntent.AdvancedFeatureDetails.ForcedCapture.Status; + } + export namespace IncrementalAuthorization { + export type Status = Stripe_.PaymentIntent.AdvancedFeatureDetails.IncrementalAuthorization.Status; + } + export namespace Multicapture { + export type Status = Stripe_.PaymentIntent.AdvancedFeatureDetails.Multicapture.Status; + } + export namespace Overcapture { + export type Status = Stripe_.PaymentIntent.AdvancedFeatureDetails.Overcapture.Status; + } + } + export namespace AmountDetails { + export type Error = Stripe_.PaymentIntent.AmountDetails.Error; + export type Shipping = Stripe_.PaymentIntent.AmountDetails.Shipping; + export type Surcharge = Stripe_.PaymentIntent.AmountDetails.Surcharge; + export type Tax = Stripe_.PaymentIntent.AmountDetails.Tax; + export type Tip = Stripe_.PaymentIntent.AmountDetails.Tip; + export namespace Error { + export type Code = Stripe_.PaymentIntent.AmountDetails.Error.Code; + } + export namespace Surcharge { + export type EnforceValidation = Stripe_.PaymentIntent.AmountDetails.Surcharge.EnforceValidation; + } + } + export namespace AsyncWorkflows { + export type Inputs = Stripe_.PaymentIntent.AsyncWorkflows.Inputs; + export namespace Inputs { + export type Tax = Stripe_.PaymentIntent.AsyncWorkflows.Inputs.Tax; + } + } + export namespace AutomaticPaymentMethods { + export type AllowRedirects = Stripe_.PaymentIntent.AutomaticPaymentMethods.AllowRedirects; + } + export namespace Hooks { + export type Inputs = Stripe_.PaymentIntent.Hooks.Inputs; + export namespace Inputs { + export type Tax = Stripe_.PaymentIntent.Hooks.Inputs.Tax; + } + } + export namespace LastPaymentError { + export type Code = Stripe_.PaymentIntent.LastPaymentError.Code; + export type Type = Stripe_.PaymentIntent.LastPaymentError.Type; + } + export namespace NextAction { + export type AlipayHandleRedirect = Stripe_.PaymentIntent.NextAction.AlipayHandleRedirect; + export type BlikAuthorize = Stripe_.PaymentIntent.NextAction.BlikAuthorize; + export type BoletoDisplayDetails = Stripe_.PaymentIntent.NextAction.BoletoDisplayDetails; + export type CardAwaitNotification = Stripe_.PaymentIntent.NextAction.CardAwaitNotification; + export type CashappHandleRedirectOrDisplayQrCode = Stripe_.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode; + export type CryptoDisplayDetails = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails; + export type DisplayBankTransferInstructions = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions; + export type KlarnaDisplayQrCode = Stripe_.PaymentIntent.NextAction.KlarnaDisplayQrCode; + export type KonbiniDisplayDetails = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails; + export type MultibancoDisplayDetails = Stripe_.PaymentIntent.NextAction.MultibancoDisplayDetails; + export type OxxoDisplayDetails = Stripe_.PaymentIntent.NextAction.OxxoDisplayDetails; + export type PaynowDisplayQrCode = Stripe_.PaymentIntent.NextAction.PaynowDisplayQrCode; + export type PixDisplayQrCode = Stripe_.PaymentIntent.NextAction.PixDisplayQrCode; + export type PromptpayDisplayQrCode = Stripe_.PaymentIntent.NextAction.PromptpayDisplayQrCode; + export type RedirectToUrl = Stripe_.PaymentIntent.NextAction.RedirectToUrl; + export type SwishHandleRedirectOrDisplayQrCode = Stripe_.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode; + export type UpiHandleRedirectOrDisplayQrCode = Stripe_.PaymentIntent.NextAction.UpiHandleRedirectOrDisplayQrCode; + export type UseStripeSdk = Stripe_.PaymentIntent.NextAction.UseStripeSdk; + export type VerifyWithMicrodeposits = Stripe_.PaymentIntent.NextAction.VerifyWithMicrodeposits; + export type WechatPayDisplayQrCode = Stripe_.PaymentIntent.NextAction.WechatPayDisplayQrCode; + export type WechatPayHandleAppRedirect = Stripe_.PaymentIntent.NextAction.WechatPayHandleAppRedirect; + export type WechatPayRedirectToAndroidApp = Stripe_.PaymentIntent.NextAction.WechatPayRedirectToAndroidApp; + export type WechatPayRedirectToIosApp = Stripe_.PaymentIntent.NextAction.WechatPayRedirectToIosApp; + export namespace CashappHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe_.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace CryptoDisplayDetails { + export type DepositAddresses = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses; + export namespace DepositAddresses { + export type Base = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Base; + export type Ethereum = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Ethereum; + export type Polygon = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Polygon; + export type Solana = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Solana; + export type Tempo = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Tempo; + export namespace Base { + export type SupportedToken = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Base.SupportedToken; + export namespace SupportedToken { + export type TokenCurrency = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Base.SupportedToken.TokenCurrency; + } + } + export namespace Ethereum { + export type SupportedToken = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Ethereum.SupportedToken; + export namespace SupportedToken { + export type TokenCurrency = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Ethereum.SupportedToken.TokenCurrency; + } + } + export namespace Polygon { + export type SupportedToken = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Polygon.SupportedToken; + export namespace SupportedToken { + export type TokenCurrency = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Polygon.SupportedToken.TokenCurrency; + } + } + export namespace Solana { + export type SupportedToken = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Solana.SupportedToken; + export namespace SupportedToken { + export type TokenCurrency = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Solana.SupportedToken.TokenCurrency; + } + } + export namespace Tempo { + export type SupportedToken = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Tempo.SupportedToken; + export namespace SupportedToken { + export type TokenCurrency = Stripe_.PaymentIntent.NextAction.CryptoDisplayDetails.DepositAddresses.Tempo.SupportedToken.TokenCurrency; + } + } + } + } + export namespace DisplayBankTransferInstructions { + export type FinancialAddress = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress; + export type Type = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.Type; + export namespace FinancialAddress { + export type Aba = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba; + export type Iban = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban; + export type SortCode = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode; + export type Spei = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei; + export type SupportedNetwork = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SupportedNetwork; + export type Swift = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift; + export type Type = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Type; + export type Zengin = Stripe_.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin; + } + } + export namespace KonbiniDisplayDetails { + export type Stores = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores; + export namespace Stores { + export type Familymart = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Familymart; + export type Lawson = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Lawson; + export type Ministop = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Ministop; + export type Seicomart = Stripe_.PaymentIntent.NextAction.KonbiniDisplayDetails.Stores.Seicomart; + } + } + export namespace SwishHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe_.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace UpiHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe_.PaymentIntent.NextAction.UpiHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace VerifyWithMicrodeposits { + export type MicrodepositType = Stripe_.PaymentIntent.NextAction.VerifyWithMicrodeposits.MicrodepositType; + } + } + export namespace PaymentDetails { + export type Benefit = Stripe_.PaymentIntent.PaymentDetails.Benefit; + export type CarRental = Stripe_.PaymentIntent.PaymentDetails.CarRental; + export type CarRentalDatum = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum; + export type EventDetails = Stripe_.PaymentIntent.PaymentDetails.EventDetails; + export type FleetDatum = Stripe_.PaymentIntent.PaymentDetails.FleetDatum; + export type FlightDatum = Stripe_.PaymentIntent.PaymentDetails.FlightDatum; + export type LodgingDatum = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum; + export type MoneyServices = Stripe_.PaymentIntent.PaymentDetails.MoneyServices; + export type Subscription = Stripe_.PaymentIntent.PaymentDetails.Subscription; + export namespace Benefit { + export type FrMealVoucher = Stripe_.PaymentIntent.PaymentDetails.Benefit.FrMealVoucher; + export namespace FrMealVoucher { + export type Enabled = Stripe_.PaymentIntent.PaymentDetails.Benefit.FrMealVoucher.Enabled; + } + } + export namespace CarRental { + export type Affiliate = Stripe_.PaymentIntent.PaymentDetails.CarRental.Affiliate; + export type Delivery = Stripe_.PaymentIntent.PaymentDetails.CarRental.Delivery; + export type Distance = Stripe_.PaymentIntent.PaymentDetails.CarRental.Distance; + export type Driver = Stripe_.PaymentIntent.PaymentDetails.CarRental.Driver; + export type ExtraCharge = Stripe_.PaymentIntent.PaymentDetails.CarRental.ExtraCharge; + export type RateInterval = Stripe_.PaymentIntent.PaymentDetails.CarRental.RateInterval; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntent.PaymentDetails.CarRental.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntent.PaymentDetails.CarRental.Delivery.Recipient; + } + } + export namespace CarRentalDatum { + export type Affiliate = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Affiliate; + export type Distance = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Distance; + export type Driver = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Driver; + export type DropOff = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.DropOff; + export type Insurance = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Insurance; + export type Pickup = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Pickup; + export type Total = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Total; + export type Vehicle = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Vehicle; + export namespace Distance { + export type Unit = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Distance.Unit; + } + export namespace Driver { + export type DateOfBirth = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Driver.DateOfBirth; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Insurance.InsuranceType; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Total.ExtraCharge; + export type RateUnit = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Total.RateUnit; + export type Tax = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Total.Tax.Tax; + } + } + export namespace Vehicle { + export type Type = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Vehicle.Type; + export type VehicleClass = Stripe_.PaymentIntent.PaymentDetails.CarRentalDatum.Vehicle.VehicleClass; + } + } + export namespace EventDetails { + export type Affiliate = Stripe_.PaymentIntent.PaymentDetails.EventDetails.Affiliate; + export type Delivery = Stripe_.PaymentIntent.PaymentDetails.EventDetails.Delivery; + export namespace Delivery { + export type Mode = Stripe_.PaymentIntent.PaymentDetails.EventDetails.Delivery.Mode; + export type Recipient = Stripe_.PaymentIntent.PaymentDetails.EventDetails.Delivery.Recipient; + } + } + export namespace FleetDatum { + export type PrimaryFuelFields = Stripe_.PaymentIntent.PaymentDetails.FleetDatum.PrimaryFuelFields; + export type Station = Stripe_.PaymentIntent.PaymentDetails.FleetDatum.Station; + export type Vat = Stripe_.PaymentIntent.PaymentDetails.FleetDatum.Vat; + } + export namespace FlightDatum { + export type Affiliate = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Affiliate; + export type Insurance = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Insurance; + export type Passenger = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Passenger; + export type Segment = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Segment; + export type Total = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Total; + export type TransactionType = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.TransactionType; + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Insurance.InsuranceType; + } + export namespace Segment { + export type Arrival = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Segment.Arrival; + export type Departure = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Segment.Departure; + export type ServiceClass = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Segment.ServiceClass; + } + export namespace Total { + export type CreditReason = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Total.CreditReason; + export type Discounts = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntent.PaymentDetails.FlightDatum.Total.Tax.Tax; + } + } + } + export namespace LodgingDatum { + export type Accommodation = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Accommodation; + export type Affiliate = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Affiliate; + export type Guest = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Guest; + export type Host = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Host; + export type Insurance = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Insurance; + export type Total = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Total; + export namespace Accommodation { + export type AccommodationType = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Accommodation.AccommodationType; + } + export namespace Host { + export type HostType = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Host.HostType; + } + export namespace Insurance { + export type InsuranceType = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Insurance.InsuranceType; + } + export namespace Total { + export type Discounts = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Total.Discounts; + export type ExtraCharge = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Total.ExtraCharge; + export type Tax = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Total.Tax; + export namespace ExtraCharge { + export type Type = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Total.ExtraCharge.Type; + } + export namespace Tax { + export type Tax = Stripe_.PaymentIntent.PaymentDetails.LodgingDatum.Total.Tax.Tax; + } + } + } + export namespace MoneyServices { + export type AccountFunding = Stripe_.PaymentIntent.PaymentDetails.MoneyServices.AccountFunding; + export type BeneficiaryDetails = Stripe_.PaymentIntent.PaymentDetails.MoneyServices.BeneficiaryDetails; + export type TransactionType = Stripe_.PaymentIntent.PaymentDetails.MoneyServices.TransactionType; + export namespace AccountFunding { + export type SenderDetails = Stripe_.PaymentIntent.PaymentDetails.MoneyServices.AccountFunding.SenderDetails; + export namespace SenderDetails { + export type Address = Stripe_.PaymentIntent.PaymentDetails.MoneyServices.AccountFunding.SenderDetails.Address; + export type DateOfBirth = Stripe_.PaymentIntent.PaymentDetails.MoneyServices.AccountFunding.SenderDetails.DateOfBirth; + } + } + export namespace BeneficiaryDetails { + export type Address = Stripe_.PaymentIntent.PaymentDetails.MoneyServices.BeneficiaryDetails.Address; + export type DateOfBirth = Stripe_.PaymentIntent.PaymentDetails.MoneyServices.BeneficiaryDetails.DateOfBirth; + } + } + export namespace Subscription { + export type Affiliate = Stripe_.PaymentIntent.PaymentDetails.Subscription.Affiliate; + export type BillingInterval = Stripe_.PaymentIntent.PaymentDetails.Subscription.BillingInterval; + export namespace BillingInterval { + export type Interval = Stripe_.PaymentIntent.PaymentDetails.Subscription.BillingInterval.Interval; + } + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.PaymentIntent.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.PaymentIntent.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.PaymentIntent.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.PaymentIntent.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.PaymentIntent.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentIntent.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentIntent.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.PaymentIntent.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.PaymentIntent.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.PaymentIntent.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.PaymentIntent.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.PaymentIntent.PaymentMethodOptions.Boleto; + export type Card = Stripe_.PaymentIntent.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent; + export type Cashapp = Stripe_.PaymentIntent.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.PaymentIntent.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.PaymentIntent.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.PaymentIntent.PaymentMethodOptions.Fpx; + export type GiftCard = Stripe_.PaymentIntent.PaymentMethodOptions.GiftCard; + export type Giropay = Stripe_.PaymentIntent.PaymentMethodOptions.Giropay; + export type Gopay = Stripe_.PaymentIntent.PaymentMethodOptions.Gopay; + export type Grabpay = Stripe_.PaymentIntent.PaymentMethodOptions.Grabpay; + export type IdBankTransfer = Stripe_.PaymentIntent.PaymentMethodOptions.IdBankTransfer; + export type Ideal = Stripe_.PaymentIntent.PaymentMethodOptions.Ideal; + export type InteracPresent = Stripe_.PaymentIntent.PaymentMethodOptions.InteracPresent; + export type KakaoPay = Stripe_.PaymentIntent.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.PaymentIntent.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.PaymentIntent.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.PaymentIntent.PaymentMethodOptions.KrCard; + export type Link = Stripe_.PaymentIntent.PaymentMethodOptions.Link; + export type MbWay = Stripe_.PaymentIntent.PaymentMethodOptions.MbWay; + export type Mobilepay = Stripe_.PaymentIntent.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.PaymentIntent.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.PaymentIntent.PaymentMethodOptions.NaverPay; + export type NzBankAccount = Stripe_.PaymentIntent.PaymentMethodOptions.NzBankAccount; + export type Oxxo = Stripe_.PaymentIntent.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.PaymentIntent.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.PaymentIntent.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.PaymentIntent.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.PaymentIntent.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.PaymentIntent.PaymentMethodOptions.Paypal; + export type Paypay = Stripe_.PaymentIntent.PaymentMethodOptions.Paypay; + export type Payto = Stripe_.PaymentIntent.PaymentMethodOptions.Payto; + export type Pix = Stripe_.PaymentIntent.PaymentMethodOptions.Pix; + export type Promptpay = Stripe_.PaymentIntent.PaymentMethodOptions.Promptpay; + export type Qris = Stripe_.PaymentIntent.PaymentMethodOptions.Qris; + export type Rechnung = Stripe_.PaymentIntent.PaymentMethodOptions.Rechnung; + export type RevolutPay = Stripe_.PaymentIntent.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.PaymentIntent.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.PaymentIntent.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.PaymentIntent.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit; + export type Shopeepay = Stripe_.PaymentIntent.PaymentMethodOptions.Shopeepay; + export type Sofort = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort; + export type StripeBalance = Stripe_.PaymentIntent.PaymentMethodOptions.StripeBalance; + export type Swish = Stripe_.PaymentIntent.PaymentMethodOptions.Swish; + export type Twint = Stripe_.PaymentIntent.PaymentMethodOptions.Twint; + export type Upi = Stripe_.PaymentIntent.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.PaymentIntent.PaymentMethodOptions.WechatPay; + export type Zip = Stripe_.PaymentIntent.PaymentMethodOptions.Zip; + export namespace AcssDebit { + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type PaymentSchedule = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.PaymentIntent.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Alipay { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Alipay.SetupFutureUsage; + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace AuBecsDebit { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.AuBecsDebit.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.PaymentIntent.PaymentMethodOptions.Bancontact.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Bancontact.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type CaptureBy = Stripe_.PaymentIntent.PaymentMethodOptions.Card.CaptureBy; + export type CaptureDelay = Stripe_.PaymentIntent.PaymentMethodOptions.Card.CaptureDelay; + export type CaptureMethod = Stripe_.PaymentIntent.PaymentMethodOptions.Card.CaptureMethod; + export type Installments = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Network; + export type RequestDecrementalAuthorization = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestDecrementalAuthorization; + export type RequestExtendedAuthorization = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestPartialAuthorization = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestPartialAuthorization; + export type RequestReauthorization = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestReauthorization; + export type RequestThreeDSecure = Stripe_.PaymentIntent.PaymentMethodOptions.Card.RequestThreeDSecure; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Card.SetupFutureUsage; + export type StatementDetails = Stripe_.PaymentIntent.PaymentMethodOptions.Card.StatementDetails; + export namespace Installments { + export type AvailablePlan = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan; + export type Plan = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments.Plan; + export namespace AvailablePlan { + export type Type = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlan.Type; + } + export namespace Plan { + export type Type = Stripe_.PaymentIntent.PaymentMethodOptions.Card.Installments.Plan.Type; + } + } + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntent.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.PaymentIntent.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace StatementDetails { + export type Address = Stripe_.PaymentIntent.PaymentMethodOptions.Card.StatementDetails.Address; + } + } + export namespace CardPresent { + export type CaptureBy = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.CaptureBy; + export type CaptureDelay = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.CaptureDelay; + export type CaptureMethod = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.CaptureMethod; + export type RequestMulticapture = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.RequestMulticapture; + export type RequestReauthorization = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.RequestReauthorization; + export type Routing = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.Routing; + export namespace Routing { + export type RequestedPriority = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace Crypto { + export type DepositOptions = Stripe_.PaymentIntent.PaymentMethodOptions.Crypto.DepositOptions; + export type Mode = Stripe_.PaymentIntent.PaymentMethodOptions.Crypto.Mode; + export type TransactionVerificationOptions = Stripe_.PaymentIntent.PaymentMethodOptions.Crypto.TransactionVerificationOptions; + export namespace DepositOptions { + export type Network = Stripe_.PaymentIntent.PaymentMethodOptions.Crypto.DepositOptions.Network; + } + export namespace TransactionVerificationOptions { + export type Network = Stripe_.PaymentIntent.PaymentMethodOptions.Crypto.TransactionVerificationOptions.Network; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace GiftCard { + export type RequestPartialAuthorization = Stripe_.PaymentIntent.PaymentMethodOptions.GiftCard.RequestPartialAuthorization; + } + export namespace Gopay { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Gopay.SetupFutureUsage; + } + export namespace Ideal { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Ideal.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Klarna.SetupFutureUsage; + } + export namespace KrCard { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace NzBankAccount { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.NzBankAccount.SetupFutureUsage; + } + export namespace Paypal { + export type LineItem = Stripe_.PaymentIntent.PaymentMethodOptions.Paypal.LineItem; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Paypal.SetupFutureUsage; + export namespace LineItem { + export type Category = Stripe_.PaymentIntent.PaymentMethodOptions.Paypal.LineItem.Category; + export type Tax = Stripe_.PaymentIntent.PaymentMethodOptions.Paypal.LineItem.Tax; + export namespace Tax { + export type Behavior = Stripe_.PaymentIntent.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior; + } + } + } + export namespace Payto { + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.PaymentIntent.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.PaymentIntent.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort.PreferredLanguage; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort.SetupFutureUsage; + } + export namespace StripeBalance { + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.StripeBalance.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.StripeBalance.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Upi.SetupFutureUsage; + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type TransactionPurpose = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.TransactionPurpose; + export type VerificationMethod = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + } + export namespace WechatPay { + export type Client = Stripe_.PaymentIntent.PaymentMethodOptions.WechatPay.Client; + } + } + export namespace Processing { + export type Card = Stripe_.PaymentIntent.Processing.Card; + export namespace Card { + export type CustomerNotification = Stripe_.PaymentIntent.Processing.Card.CustomerNotification; + } + } + export namespace TransferData { + export type PaymentData = Stripe_.PaymentIntent.TransferData.PaymentData; + } + } + export namespace PaymentLinkCreateParams { + export type LineItem = Stripe_.PaymentLinkCreateParams.LineItem; + export type AfterCompletion = Stripe_.PaymentLinkCreateParams.AfterCompletion; + export type AutomaticSurcharge = Stripe_.PaymentLinkCreateParams.AutomaticSurcharge; + export type AutomaticTax = Stripe_.PaymentLinkCreateParams.AutomaticTax; + export type BillingAddressCollection = Stripe_.PaymentLinkCreateParams.BillingAddressCollection; + export type ConsentCollection = Stripe_.PaymentLinkCreateParams.ConsentCollection; + export type CustomField = Stripe_.PaymentLinkCreateParams.CustomField; + export type CustomText = Stripe_.PaymentLinkCreateParams.CustomText; + export type CustomerCreation = Stripe_.PaymentLinkCreateParams.CustomerCreation; + export type InvoiceCreation = Stripe_.PaymentLinkCreateParams.InvoiceCreation; + export type ManagedPayments = Stripe_.PaymentLinkCreateParams.ManagedPayments; + export type NameCollection = Stripe_.PaymentLinkCreateParams.NameCollection; + export type OptionalItem = Stripe_.PaymentLinkCreateParams.OptionalItem; + export type PaymentIntentData = Stripe_.PaymentLinkCreateParams.PaymentIntentData; + export type PaymentMethodCollection = Stripe_.PaymentLinkCreateParams.PaymentMethodCollection; + export type PaymentMethodOptions = Stripe_.PaymentLinkCreateParams.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.PaymentLinkCreateParams.PaymentMethodType; + export type PhoneNumberCollection = Stripe_.PaymentLinkCreateParams.PhoneNumberCollection; + export type Restrictions = Stripe_.PaymentLinkCreateParams.Restrictions; + export type ShippingAddressCollection = Stripe_.PaymentLinkCreateParams.ShippingAddressCollection; + export type ShippingOption = Stripe_.PaymentLinkCreateParams.ShippingOption; + export type SubmitType = Stripe_.PaymentLinkCreateParams.SubmitType; + export type SubscriptionData = Stripe_.PaymentLinkCreateParams.SubscriptionData; + export type TaxIdCollection = Stripe_.PaymentLinkCreateParams.TaxIdCollection; + export type TransferData = Stripe_.PaymentLinkCreateParams.TransferData; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe_.PaymentLinkCreateParams.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.PaymentLinkCreateParams.AfterCompletion.Redirect; + export type Type = Stripe_.PaymentLinkCreateParams.AfterCompletion.Type; + } + export namespace AutomaticSurcharge { + export type CalculationBasis = Stripe_.PaymentLinkCreateParams.AutomaticSurcharge.CalculationBasis; + export type TaxBehavior = Stripe_.PaymentLinkCreateParams.AutomaticSurcharge.TaxBehavior; + } + export namespace AutomaticTax { + export type Liability = Stripe_.PaymentLinkCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.PaymentLinkCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace ConsentCollection { + export type PaymentMethodReuseAgreement = Stripe_.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe_.PaymentLinkCreateParams.ConsentCollection.Promotions; + export type TermsOfService = Stripe_.PaymentLinkCreateParams.ConsentCollection.TermsOfService; + export namespace PaymentMethodReuseAgreement { + export type Position = Stripe_.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position; + } + } + export namespace CustomField { + export type Dropdown = Stripe_.PaymentLinkCreateParams.CustomField.Dropdown; + export type Label = Stripe_.PaymentLinkCreateParams.CustomField.Label; + export type Numeric = Stripe_.PaymentLinkCreateParams.CustomField.Numeric; + export type Text = Stripe_.PaymentLinkCreateParams.CustomField.Text; + export type Type = Stripe_.PaymentLinkCreateParams.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe_.PaymentLinkCreateParams.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe_.PaymentLinkCreateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.PaymentLinkCreateParams.CustomText.ShippingAddress; + export type Submit = Stripe_.PaymentLinkCreateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.PaymentLinkCreateParams.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Issuer.Type; + } + export namespace RenderingOptions { + export type AmountTaxDisplay = Stripe_.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + } + } + } + export namespace LineItem { + export type AdjustableQuantity = Stripe_.PaymentLinkCreateParams.LineItem.AdjustableQuantity; + export type PriceData = Stripe_.PaymentLinkCreateParams.LineItem.PriceData; + export namespace PriceData { + export type ProductData = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.ProductData; + export type Recurring = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.TaxBehavior; + export namespace ProductData { + export type TaxDetails = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.ProductData.TaxDetails; + } + export namespace Recurring { + export type Interval = Stripe_.PaymentLinkCreateParams.LineItem.PriceData.Recurring.Interval; + } + } + } + export namespace NameCollection { + export type Business = Stripe_.PaymentLinkCreateParams.NameCollection.Business; + export type Individual = Stripe_.PaymentLinkCreateParams.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe_.PaymentLinkCreateParams.OptionalItem.AdjustableQuantity; + } + export namespace PaymentIntentData { + export type CaptureMethod = Stripe_.PaymentLinkCreateParams.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe_.PaymentLinkCreateParams.PaymentIntentData.SetupFutureUsage; + } + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentLinkCreateParams.PaymentMethodOptions.Card; + export namespace Card { + export type Restrictions = Stripe_.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions; + export namespace Restrictions { + export type BrandsBlocked = Stripe_.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + } + export namespace Restrictions { + export type CompletedSessions = Stripe_.PaymentLinkCreateParams.Restrictions.CompletedSessions; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe_.PaymentLinkCreateParams.ShippingAddressCollection.AllowedCountry; + } + export namespace SubscriptionData { + export type InvoiceSettings = Stripe_.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe_.PaymentLinkCreateParams.SubscriptionData.TrialSettings; + export namespace InvoiceSettings { + export type Issuer = Stripe_.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.PaymentLinkCreateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + } + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.PaymentLinkCreateParams.SubscriptionData.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe_.PaymentLinkCreateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } + export namespace TaxIdCollection { + export type Required = Stripe_.PaymentLinkCreateParams.TaxIdCollection.Required; + } + } + export namespace PaymentLinkUpdateParams { + export type AfterCompletion = Stripe_.PaymentLinkUpdateParams.AfterCompletion; + export type AutomaticTax = Stripe_.PaymentLinkUpdateParams.AutomaticTax; + export type BillingAddressCollection = Stripe_.PaymentLinkUpdateParams.BillingAddressCollection; + export type CustomField = Stripe_.PaymentLinkUpdateParams.CustomField; + export type CustomText = Stripe_.PaymentLinkUpdateParams.CustomText; + export type CustomerCreation = Stripe_.PaymentLinkUpdateParams.CustomerCreation; + export type InvoiceCreation = Stripe_.PaymentLinkUpdateParams.InvoiceCreation; + export type LineItem = Stripe_.PaymentLinkUpdateParams.LineItem; + export type NameCollection = Stripe_.PaymentLinkUpdateParams.NameCollection; + export type OptionalItem = Stripe_.PaymentLinkUpdateParams.OptionalItem; + export type PaymentIntentData = Stripe_.PaymentLinkUpdateParams.PaymentIntentData; + export type PaymentMethodCollection = Stripe_.PaymentLinkUpdateParams.PaymentMethodCollection; + export type PaymentMethodOptions = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.PaymentLinkUpdateParams.PaymentMethodType; + export type PhoneNumberCollection = Stripe_.PaymentLinkUpdateParams.PhoneNumberCollection; + export type Restrictions = Stripe_.PaymentLinkUpdateParams.Restrictions; + export type ShippingAddressCollection = Stripe_.PaymentLinkUpdateParams.ShippingAddressCollection; + export type SubmitType = Stripe_.PaymentLinkUpdateParams.SubmitType; + export type SubscriptionData = Stripe_.PaymentLinkUpdateParams.SubscriptionData; + export type TaxIdCollection = Stripe_.PaymentLinkUpdateParams.TaxIdCollection; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe_.PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.PaymentLinkUpdateParams.AfterCompletion.Redirect; + export type Type = Stripe_.PaymentLinkUpdateParams.AfterCompletion.Type; + } + export namespace AutomaticTax { + export type Liability = Stripe_.PaymentLinkUpdateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.PaymentLinkUpdateParams.AutomaticTax.Liability.Type; + } + } + export namespace CustomField { + export type Dropdown = Stripe_.PaymentLinkUpdateParams.CustomField.Dropdown; + export type Label = Stripe_.PaymentLinkUpdateParams.CustomField.Label; + export type Numeric = Stripe_.PaymentLinkUpdateParams.CustomField.Numeric; + export type Text = Stripe_.PaymentLinkUpdateParams.CustomField.Text; + export type Type = Stripe_.PaymentLinkUpdateParams.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe_.PaymentLinkUpdateParams.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe_.PaymentLinkUpdateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.PaymentLinkUpdateParams.CustomText.ShippingAddress; + export type Submit = Stripe_.PaymentLinkUpdateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.PaymentLinkUpdateParams.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer.Type; + } + export namespace RenderingOptions { + export type AmountTaxDisplay = Stripe_.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + } + } + } + export namespace LineItem { + export type AdjustableQuantity = Stripe_.PaymentLinkUpdateParams.LineItem.AdjustableQuantity; + } + export namespace NameCollection { + export type Business = Stripe_.PaymentLinkUpdateParams.NameCollection.Business; + export type Individual = Stripe_.PaymentLinkUpdateParams.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe_.PaymentLinkUpdateParams.OptionalItem.AdjustableQuantity; + } + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card; + export namespace Card { + export type Restrictions = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions; + export namespace Restrictions { + export type BrandsBlocked = Stripe_.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + } + export namespace Restrictions { + export type CompletedSessions = Stripe_.PaymentLinkUpdateParams.Restrictions.CompletedSessions; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe_.PaymentLinkUpdateParams.ShippingAddressCollection.AllowedCountry; + } + export namespace SubscriptionData { + export type InvoiceSettings = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings; + export namespace InvoiceSettings { + export type Issuer = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.PaymentLinkUpdateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + } + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe_.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } + export namespace TaxIdCollection { + export type Required = Stripe_.PaymentLinkUpdateParams.TaxIdCollection.Required; + } + } + export namespace PaymentLink { + export type AfterCompletion = Stripe_.PaymentLink.AfterCompletion; + export type AutomaticSurcharge = Stripe_.PaymentLink.AutomaticSurcharge; + export type AutomaticTax = Stripe_.PaymentLink.AutomaticTax; + export type BillingAddressCollection = Stripe_.PaymentLink.BillingAddressCollection; + export type ConsentCollection = Stripe_.PaymentLink.ConsentCollection; + export type CustomField = Stripe_.PaymentLink.CustomField; + export type CustomText = Stripe_.PaymentLink.CustomText; + export type CustomerCreation = Stripe_.PaymentLink.CustomerCreation; + export type InvoiceCreation = Stripe_.PaymentLink.InvoiceCreation; + export type ManagedPayments = Stripe_.PaymentLink.ManagedPayments; + export type NameCollection = Stripe_.PaymentLink.NameCollection; + export type OptionalItem = Stripe_.PaymentLink.OptionalItem; + export type PaymentIntentData = Stripe_.PaymentLink.PaymentIntentData; + export type PaymentMethodCollection = Stripe_.PaymentLink.PaymentMethodCollection; + export type PaymentMethodOptions = Stripe_.PaymentLink.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.PaymentLink.PaymentMethodType; + export type PhoneNumberCollection = Stripe_.PaymentLink.PhoneNumberCollection; + export type Restrictions = Stripe_.PaymentLink.Restrictions; + export type ShippingAddressCollection = Stripe_.PaymentLink.ShippingAddressCollection; + export type ShippingOption = Stripe_.PaymentLink.ShippingOption; + export type SubmitType = Stripe_.PaymentLink.SubmitType; + export type SubscriptionData = Stripe_.PaymentLink.SubscriptionData; + export type TaxIdCollection = Stripe_.PaymentLink.TaxIdCollection; + export type TransferData = Stripe_.PaymentLink.TransferData; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe_.PaymentLink.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.PaymentLink.AfterCompletion.Redirect; + export type Type = Stripe_.PaymentLink.AfterCompletion.Type; + } + export namespace AutomaticSurcharge { + export type CalculationBasis = Stripe_.PaymentLink.AutomaticSurcharge.CalculationBasis; + export type Provider = Stripe_.PaymentLink.AutomaticSurcharge.Provider; + export type TaxBehavior = Stripe_.PaymentLink.AutomaticSurcharge.TaxBehavior; + } + export namespace AutomaticTax { + export type Liability = Stripe_.PaymentLink.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.PaymentLink.AutomaticTax.Liability.Type; + } + } + export namespace ConsentCollection { + export type PaymentMethodReuseAgreement = Stripe_.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe_.PaymentLink.ConsentCollection.Promotions; + export type TermsOfService = Stripe_.PaymentLink.ConsentCollection.TermsOfService; + export namespace PaymentMethodReuseAgreement { + export type Position = Stripe_.PaymentLink.ConsentCollection.PaymentMethodReuseAgreement.Position; + } + } + export namespace CustomField { + export type Dropdown = Stripe_.PaymentLink.CustomField.Dropdown; + export type Label = Stripe_.PaymentLink.CustomField.Label; + export type Numeric = Stripe_.PaymentLink.CustomField.Numeric; + export type Text = Stripe_.PaymentLink.CustomField.Text; + export type Type = Stripe_.PaymentLink.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe_.PaymentLink.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe_.PaymentLink.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.PaymentLink.CustomText.ShippingAddress; + export type Submit = Stripe_.PaymentLink.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.PaymentLink.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe_.PaymentLink.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe_.PaymentLink.InvoiceCreation.InvoiceData.Issuer.Type; + } + } + } + export namespace NameCollection { + export type Business = Stripe_.PaymentLink.NameCollection.Business; + export type Individual = Stripe_.PaymentLink.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe_.PaymentLink.OptionalItem.AdjustableQuantity; + } + export namespace PaymentIntentData { + export type CaptureMethod = Stripe_.PaymentLink.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe_.PaymentLink.PaymentIntentData.SetupFutureUsage; + } + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentLink.PaymentMethodOptions.Card; + export namespace Card { + export type Restrictions = Stripe_.PaymentLink.PaymentMethodOptions.Card.Restrictions; + export namespace Restrictions { + export type BrandsBlocked = Stripe_.PaymentLink.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + } + export namespace Restrictions { + export type CompletedSessions = Stripe_.PaymentLink.Restrictions.CompletedSessions; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe_.PaymentLink.ShippingAddressCollection.AllowedCountry; + } + export namespace SubscriptionData { + export type InvoiceSettings = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings; + export type TrialSettings = Stripe_.PaymentLink.SubscriptionData.TrialSettings; + export namespace InvoiceSettings { + export type Issuer = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.PaymentLink.SubscriptionData.InvoiceSettings.Issuer.Type; + } + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.PaymentLink.SubscriptionData.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe_.PaymentLink.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } + export namespace TaxIdCollection { + export type Required = Stripe_.PaymentLink.TaxIdCollection.Required; + } + } + export namespace PaymentLocationCreateParams { + export type BusinessRegistration = Stripe_.PaymentLocationCreateParams.BusinessRegistration; + } export namespace PaymentLocationUpdateParams { - export type BusinessRegistration = Stripe.PaymentLocationUpdateParams.BusinessRegistration; + export type BusinessRegistration = Stripe_.PaymentLocationUpdateParams.BusinessRegistration; + } + export namespace PaymentLocation { + export type BusinessRegistration = Stripe_.PaymentLocation.BusinessRegistration; + export type CapabilitySettings = Stripe_.PaymentLocation.CapabilitySettings; + export namespace CapabilitySettings { + export type FrMealVouchersConecsPayments = Stripe_.PaymentLocation.CapabilitySettings.FrMealVouchersConecsPayments; + export namespace FrMealVouchersConecsPayments { + export type SupportedIssuers = Stripe_.PaymentLocation.CapabilitySettings.FrMealVouchersConecsPayments.SupportedIssuers; + export namespace SupportedIssuers { + export type Card = Stripe_.PaymentLocation.CapabilitySettings.FrMealVouchersConecsPayments.SupportedIssuers.Card; + export type CardPresent = Stripe_.PaymentLocation.CapabilitySettings.FrMealVouchersConecsPayments.SupportedIssuers.CardPresent; + } + } + } + } + export namespace PaymentLocationCapability { + export type Requirements = Stripe_.PaymentLocationCapability.Requirements; + export type Status = Stripe_.PaymentLocationCapability.Status; + export namespace Requirements { + export type DisabledReason = Stripe_.PaymentLocationCapability.Requirements.DisabledReason; + export type Error = Stripe_.PaymentLocationCapability.Requirements.Error; + export namespace Error { + export type Code = Stripe_.PaymentLocationCapability.Requirements.Error.Code; + } + } + } + export namespace PaymentMethodCreateParams { + export type AcssDebit = Stripe_.PaymentMethodCreateParams.AcssDebit; + export type Affirm = Stripe_.PaymentMethodCreateParams.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethodCreateParams.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethodCreateParams.Alipay; + export type AllowRedisplay = Stripe_.PaymentMethodCreateParams.AllowRedisplay; + export type Alma = Stripe_.PaymentMethodCreateParams.Alma; + export type AmazonPay = Stripe_.PaymentMethodCreateParams.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentMethodCreateParams.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethodCreateParams.BacsDebit; + export type Bancontact = Stripe_.PaymentMethodCreateParams.Bancontact; + export type Billie = Stripe_.PaymentMethodCreateParams.Billie; + export type BillingDetails = Stripe_.PaymentMethodCreateParams.BillingDetails; + export type Bizum = Stripe_.PaymentMethodCreateParams.Bizum; + export type Blik = Stripe_.PaymentMethodCreateParams.Blik; + export type Boleto = Stripe_.PaymentMethodCreateParams.Boleto; + export type Card = Stripe_.PaymentMethodCreateParams.Card; + export type Cashapp = Stripe_.PaymentMethodCreateParams.Cashapp; + export type Crypto = Stripe_.PaymentMethodCreateParams.Crypto; + export type Custom = Stripe_.PaymentMethodCreateParams.Custom; + export type CustomerBalance = Stripe_.PaymentMethodCreateParams.CustomerBalance; + export type Eps = Stripe_.PaymentMethodCreateParams.Eps; + export type Fpx = Stripe_.PaymentMethodCreateParams.Fpx; + export type GiftCard = Stripe_.PaymentMethodCreateParams.GiftCard; + export type Giropay = Stripe_.PaymentMethodCreateParams.Giropay; + export type Gopay = Stripe_.PaymentMethodCreateParams.Gopay; + export type Grabpay = Stripe_.PaymentMethodCreateParams.Grabpay; + export type IdBankTransfer = Stripe_.PaymentMethodCreateParams.IdBankTransfer; + export type Ideal = Stripe_.PaymentMethodCreateParams.Ideal; + export type InteracPresent = Stripe_.PaymentMethodCreateParams.InteracPresent; + export type KakaoPay = Stripe_.PaymentMethodCreateParams.KakaoPay; + export type Klarna = Stripe_.PaymentMethodCreateParams.Klarna; + export type Konbini = Stripe_.PaymentMethodCreateParams.Konbini; + export type KrCard = Stripe_.PaymentMethodCreateParams.KrCard; + export type Link = Stripe_.PaymentMethodCreateParams.Link; + export type MbWay = Stripe_.PaymentMethodCreateParams.MbWay; + export type Mobilepay = Stripe_.PaymentMethodCreateParams.Mobilepay; + export type Multibanco = Stripe_.PaymentMethodCreateParams.Multibanco; + export type NaverPay = Stripe_.PaymentMethodCreateParams.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethodCreateParams.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethodCreateParams.Oxxo; + export type P24 = Stripe_.PaymentMethodCreateParams.P24; + export type PayByBank = Stripe_.PaymentMethodCreateParams.PayByBank; + export type Payco = Stripe_.PaymentMethodCreateParams.Payco; + export type Paynow = Stripe_.PaymentMethodCreateParams.Paynow; + export type Paypal = Stripe_.PaymentMethodCreateParams.Paypal; + export type Paypay = Stripe_.PaymentMethodCreateParams.Paypay; + export type Payto = Stripe_.PaymentMethodCreateParams.Payto; + export type Pix = Stripe_.PaymentMethodCreateParams.Pix; + export type Promptpay = Stripe_.PaymentMethodCreateParams.Promptpay; + export type Qris = Stripe_.PaymentMethodCreateParams.Qris; + export type RadarOptions = Stripe_.PaymentMethodCreateParams.RadarOptions; + export type Rechnung = Stripe_.PaymentMethodCreateParams.Rechnung; + export type RevolutPay = Stripe_.PaymentMethodCreateParams.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethodCreateParams.SamsungPay; + export type Satispay = Stripe_.PaymentMethodCreateParams.Satispay; + export type Scalapay = Stripe_.PaymentMethodCreateParams.Scalapay; + export type SepaDebit = Stripe_.PaymentMethodCreateParams.SepaDebit; + export type Shopeepay = Stripe_.PaymentMethodCreateParams.Shopeepay; + export type Sofort = Stripe_.PaymentMethodCreateParams.Sofort; + export type StripeBalance = Stripe_.PaymentMethodCreateParams.StripeBalance; + export type Sunbit = Stripe_.PaymentMethodCreateParams.Sunbit; + export type Swish = Stripe_.PaymentMethodCreateParams.Swish; + export type Tamara = Stripe_.PaymentMethodCreateParams.Tamara; + export type Twint = Stripe_.PaymentMethodCreateParams.Twint; + export type Type = Stripe_.PaymentMethodCreateParams.Type; + export type Upi = Stripe_.PaymentMethodCreateParams.Upi; + export type UsBankAccount = Stripe_.PaymentMethodCreateParams.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethodCreateParams.WechatPay; + export type Zip = Stripe_.PaymentMethodCreateParams.Zip; + export namespace Card { + export type Networks = Stripe_.PaymentMethodCreateParams.Card.Networks; + export namespace Networks { + export type Preferred = Stripe_.PaymentMethodCreateParams.Card.Networks.Preferred; + } + } + export namespace Eps { + export type Bank = Stripe_.PaymentMethodCreateParams.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.PaymentMethodCreateParams.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentMethodCreateParams.Fpx.Bank; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.PaymentMethodCreateParams.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.PaymentMethodCreateParams.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe_.PaymentMethodCreateParams.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe_.PaymentMethodCreateParams.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.PaymentMethodCreateParams.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.PaymentMethodCreateParams.Rechnung.Dob; + } + export namespace Sofort { + export type Country = Stripe_.PaymentMethodCreateParams.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe_.PaymentMethodCreateParams.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.PaymentMethodCreateParams.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.PaymentMethodCreateParams.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentMethodCreateParams.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodUpdateParams { + export type AllowRedisplay = Stripe_.PaymentMethodUpdateParams.AllowRedisplay; + export type BillingDetails = Stripe_.PaymentMethodUpdateParams.BillingDetails; + export type Card = Stripe_.PaymentMethodUpdateParams.Card; + export type Custom = Stripe_.PaymentMethodUpdateParams.Custom; + export type Payto = Stripe_.PaymentMethodUpdateParams.Payto; + export type UsBankAccount = Stripe_.PaymentMethodUpdateParams.UsBankAccount; + export namespace Card { + export type Networks = Stripe_.PaymentMethodUpdateParams.Card.Networks; + export namespace Networks { + export type Preferred = Stripe_.PaymentMethodUpdateParams.Card.Networks.Preferred; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.PaymentMethodUpdateParams.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentMethodUpdateParams.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodListParams { + export type AllowRedisplay = Stripe_.PaymentMethodListParams.AllowRedisplay; + export type Type = Stripe_.PaymentMethodListParams.Type; + } + export namespace PaymentMethod { + export type AcssDebit = Stripe_.PaymentMethod.AcssDebit; + export type Affirm = Stripe_.PaymentMethod.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethod.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethod.Alipay; + export type AllowRedisplay = Stripe_.PaymentMethod.AllowRedisplay; + export type Alma = Stripe_.PaymentMethod.Alma; + export type AmazonPay = Stripe_.PaymentMethod.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentMethod.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethod.BacsDebit; + export type Bancontact = Stripe_.PaymentMethod.Bancontact; + export type Billie = Stripe_.PaymentMethod.Billie; + export type BillingDetails = Stripe_.PaymentMethod.BillingDetails; + export type Bizum = Stripe_.PaymentMethod.Bizum; + export type Blik = Stripe_.PaymentMethod.Blik; + export type Boleto = Stripe_.PaymentMethod.Boleto; + export type Card = Stripe_.PaymentMethod.Card; + export type CardPresent = Stripe_.PaymentMethod.CardPresent; + export type Cashapp = Stripe_.PaymentMethod.Cashapp; + export type Crypto = Stripe_.PaymentMethod.Crypto; + export type Custom = Stripe_.PaymentMethod.Custom; + export type CustomerBalance = Stripe_.PaymentMethod.CustomerBalance; + export type Eps = Stripe_.PaymentMethod.Eps; + export type Fpx = Stripe_.PaymentMethod.Fpx; + export type GiftCard = Stripe_.PaymentMethod.GiftCard; + export type Giropay = Stripe_.PaymentMethod.Giropay; + export type Gopay = Stripe_.PaymentMethod.Gopay; + export type Grabpay = Stripe_.PaymentMethod.Grabpay; + export type IdBankTransfer = Stripe_.PaymentMethod.IdBankTransfer; + export type Ideal = Stripe_.PaymentMethod.Ideal; + export type InteracPresent = Stripe_.PaymentMethod.InteracPresent; + export type KakaoPay = Stripe_.PaymentMethod.KakaoPay; + export type Klarna = Stripe_.PaymentMethod.Klarna; + export type Konbini = Stripe_.PaymentMethod.Konbini; + export type KrCard = Stripe_.PaymentMethod.KrCard; + export type Link = Stripe_.PaymentMethod.Link; + export type MbWay = Stripe_.PaymentMethod.MbWay; + export type Mobilepay = Stripe_.PaymentMethod.Mobilepay; + export type Multibanco = Stripe_.PaymentMethod.Multibanco; + export type NaverPay = Stripe_.PaymentMethod.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethod.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethod.Oxxo; + export type P24 = Stripe_.PaymentMethod.P24; + export type PayByBank = Stripe_.PaymentMethod.PayByBank; + export type Payco = Stripe_.PaymentMethod.Payco; + export type Paynow = Stripe_.PaymentMethod.Paynow; + export type Paypal = Stripe_.PaymentMethod.Paypal; + export type Paypay = Stripe_.PaymentMethod.Paypay; + export type Payto = Stripe_.PaymentMethod.Payto; + export type Pix = Stripe_.PaymentMethod.Pix; + export type Promptpay = Stripe_.PaymentMethod.Promptpay; + export type Qris = Stripe_.PaymentMethod.Qris; + export type RadarOptions = Stripe_.PaymentMethod.RadarOptions; + export type Rechnung = Stripe_.PaymentMethod.Rechnung; + export type RevolutPay = Stripe_.PaymentMethod.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethod.SamsungPay; + export type Satispay = Stripe_.PaymentMethod.Satispay; + export type Scalapay = Stripe_.PaymentMethod.Scalapay; + export type SepaDebit = Stripe_.PaymentMethod.SepaDebit; + export type Shopeepay = Stripe_.PaymentMethod.Shopeepay; + export type Sofort = Stripe_.PaymentMethod.Sofort; + export type StripeBalance = Stripe_.PaymentMethod.StripeBalance; + export type Sunbit = Stripe_.PaymentMethod.Sunbit; + export type Swish = Stripe_.PaymentMethod.Swish; + export type Tamara = Stripe_.PaymentMethod.Tamara; + export type Twint = Stripe_.PaymentMethod.Twint; + export type Type = Stripe_.PaymentMethod.Type; + export type Upi = Stripe_.PaymentMethod.Upi; + export type UsBankAccount = Stripe_.PaymentMethod.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethod.WechatPay; + export type Zip = Stripe_.PaymentMethod.Zip; + export namespace Card { + export type Benefits = Stripe_.PaymentMethod.Card.Benefits; + export type Checks = Stripe_.PaymentMethod.Card.Checks; + export type GeneratedFrom = Stripe_.PaymentMethod.Card.GeneratedFrom; + export type Networks = Stripe_.PaymentMethod.Card.Networks; + export type RegulatedStatus = Stripe_.PaymentMethod.Card.RegulatedStatus; + export type ThreeDSecureUsage = Stripe_.PaymentMethod.Card.ThreeDSecureUsage; + export type Wallet = Stripe_.PaymentMethod.Card.Wallet; + export namespace GeneratedFrom { + export type PaymentMethodDetails = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails; + export namespace PaymentMethodDetails { + export type CardPresent = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; + export namespace CardPresent { + export type Multicapture = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Multicapture; + export type Offline = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; + export type Reauthorization = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Reauthorization; + export type Receipt = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; + export namespace Multicapture { + export type Status = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Multicapture.Status; + } + export namespace Reauthorization { + export type Status = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Reauthorization.Status; + } + export namespace Receipt { + export type AccountType = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + } + } + export namespace Wallet { + export type AmexExpressCheckout = Stripe_.PaymentMethod.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe_.PaymentMethod.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.PaymentMethod.Card.Wallet.GooglePay; + export type Link = Stripe_.PaymentMethod.Card.Wallet.Link; + export type Masterpass = Stripe_.PaymentMethod.Card.Wallet.Masterpass; + export type SamsungPay = Stripe_.PaymentMethod.Card.Wallet.SamsungPay; + export type Type = Stripe_.PaymentMethod.Card.Wallet.Type; + export type VisaCheckout = Stripe_.PaymentMethod.Card.Wallet.VisaCheckout; + } + } + export namespace CardPresent { + export type Networks = Stripe_.PaymentMethod.CardPresent.Networks; + export type Offline = Stripe_.PaymentMethod.CardPresent.Offline; + export type ReadMethod = Stripe_.PaymentMethod.CardPresent.ReadMethod; + export type Wallet = Stripe_.PaymentMethod.CardPresent.Wallet; + export namespace Wallet { + export type Type = Stripe_.PaymentMethod.CardPresent.Wallet.Type; + } + } + export namespace Custom { + export type Logo = Stripe_.PaymentMethod.Custom.Logo; + } + export namespace Eps { + export type Bank = Stripe_.PaymentMethod.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.PaymentMethod.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentMethod.Fpx.Bank; + } + export namespace GiftCard { + export type Brand = Stripe_.PaymentMethod.GiftCard.Brand; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.PaymentMethod.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.PaymentMethod.Ideal.Bank; + export type Bic = Stripe_.PaymentMethod.Ideal.Bic; + } + export namespace InteracPresent { + export type Networks = Stripe_.PaymentMethod.InteracPresent.Networks; + export type ReadMethod = Stripe_.PaymentMethod.InteracPresent.ReadMethod; + } + export namespace Klarna { + export type Dob = Stripe_.PaymentMethod.Klarna.Dob; + } + export namespace KrCard { + export type Brand = Stripe_.PaymentMethod.KrCard.Brand; + } + export namespace NaverPay { + export type Funding = Stripe_.PaymentMethod.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.PaymentMethod.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.PaymentMethod.Rechnung.Dob; + } + export namespace SepaDebit { + export type GeneratedFrom = Stripe_.PaymentMethod.SepaDebit.GeneratedFrom; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.PaymentMethod.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentMethod.UsBankAccount.AccountType; + export type Networks = Stripe_.PaymentMethod.UsBankAccount.Networks; + export type StatusDetails = Stripe_.PaymentMethod.UsBankAccount.StatusDetails; + export namespace Networks { + export type Supported = Stripe_.PaymentMethod.UsBankAccount.Networks.Supported; + } + export namespace StatusDetails { + export type Blocked = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked; + export namespace Blocked { + export type NetworkCode = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked.NetworkCode; + export type Reason = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked.Reason; + } + } + } + } + export namespace PaymentMethodConfigurationCreateParams { + export type AcssDebit = Stripe_.PaymentMethodConfigurationCreateParams.AcssDebit; + export type Affirm = Stripe_.PaymentMethodConfigurationCreateParams.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethodConfigurationCreateParams.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethodConfigurationCreateParams.Alipay; + export type Alma = Stripe_.PaymentMethodConfigurationCreateParams.Alma; + export type AmazonPay = Stripe_.PaymentMethodConfigurationCreateParams.AmazonPay; + export type ApplePay = Stripe_.PaymentMethodConfigurationCreateParams.ApplePay; + export type ApplePayLater = Stripe_.PaymentMethodConfigurationCreateParams.ApplePayLater; + export type AuBecsDebit = Stripe_.PaymentMethodConfigurationCreateParams.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethodConfigurationCreateParams.BacsDebit; + export type Bancontact = Stripe_.PaymentMethodConfigurationCreateParams.Bancontact; + export type Billie = Stripe_.PaymentMethodConfigurationCreateParams.Billie; + export type Bizum = Stripe_.PaymentMethodConfigurationCreateParams.Bizum; + export type Blik = Stripe_.PaymentMethodConfigurationCreateParams.Blik; + export type Boleto = Stripe_.PaymentMethodConfigurationCreateParams.Boleto; + export type Card = Stripe_.PaymentMethodConfigurationCreateParams.Card; + export type CartesBancaires = Stripe_.PaymentMethodConfigurationCreateParams.CartesBancaires; + export type Cashapp = Stripe_.PaymentMethodConfigurationCreateParams.Cashapp; + export type Crypto = Stripe_.PaymentMethodConfigurationCreateParams.Crypto; + export type CustomerBalance = Stripe_.PaymentMethodConfigurationCreateParams.CustomerBalance; + export type Eps = Stripe_.PaymentMethodConfigurationCreateParams.Eps; + export type Fpx = Stripe_.PaymentMethodConfigurationCreateParams.Fpx; + export type FrMealVoucherConecs = Stripe_.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs; + export type Giropay = Stripe_.PaymentMethodConfigurationCreateParams.Giropay; + export type GooglePay = Stripe_.PaymentMethodConfigurationCreateParams.GooglePay; + export type Gopay = Stripe_.PaymentMethodConfigurationCreateParams.Gopay; + export type Grabpay = Stripe_.PaymentMethodConfigurationCreateParams.Grabpay; + export type IdBankTransfer = Stripe_.PaymentMethodConfigurationCreateParams.IdBankTransfer; + export type Ideal = Stripe_.PaymentMethodConfigurationCreateParams.Ideal; + export type Jcb = Stripe_.PaymentMethodConfigurationCreateParams.Jcb; + export type KakaoPay = Stripe_.PaymentMethodConfigurationCreateParams.KakaoPay; + export type Klarna = Stripe_.PaymentMethodConfigurationCreateParams.Klarna; + export type Konbini = Stripe_.PaymentMethodConfigurationCreateParams.Konbini; + export type KrCard = Stripe_.PaymentMethodConfigurationCreateParams.KrCard; + export type Link = Stripe_.PaymentMethodConfigurationCreateParams.Link; + export type MbWay = Stripe_.PaymentMethodConfigurationCreateParams.MbWay; + export type Mobilepay = Stripe_.PaymentMethodConfigurationCreateParams.Mobilepay; + export type Multibanco = Stripe_.PaymentMethodConfigurationCreateParams.Multibanco; + export type NaverPay = Stripe_.PaymentMethodConfigurationCreateParams.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethodConfigurationCreateParams.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethodConfigurationCreateParams.Oxxo; + export type P24 = Stripe_.PaymentMethodConfigurationCreateParams.P24; + export type PayByBank = Stripe_.PaymentMethodConfigurationCreateParams.PayByBank; + export type Payco = Stripe_.PaymentMethodConfigurationCreateParams.Payco; + export type Paynow = Stripe_.PaymentMethodConfigurationCreateParams.Paynow; + export type Paypal = Stripe_.PaymentMethodConfigurationCreateParams.Paypal; + export type Paypay = Stripe_.PaymentMethodConfigurationCreateParams.Paypay; + export type Payto = Stripe_.PaymentMethodConfigurationCreateParams.Payto; + export type Pix = Stripe_.PaymentMethodConfigurationCreateParams.Pix; + export type Promptpay = Stripe_.PaymentMethodConfigurationCreateParams.Promptpay; + export type Qris = Stripe_.PaymentMethodConfigurationCreateParams.Qris; + export type RevolutPay = Stripe_.PaymentMethodConfigurationCreateParams.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethodConfigurationCreateParams.SamsungPay; + export type Satispay = Stripe_.PaymentMethodConfigurationCreateParams.Satispay; + export type Scalapay = Stripe_.PaymentMethodConfigurationCreateParams.Scalapay; + export type SepaDebit = Stripe_.PaymentMethodConfigurationCreateParams.SepaDebit; + export type Shopeepay = Stripe_.PaymentMethodConfigurationCreateParams.Shopeepay; + export type Sofort = Stripe_.PaymentMethodConfigurationCreateParams.Sofort; + export type Sunbit = Stripe_.PaymentMethodConfigurationCreateParams.Sunbit; + export type Swish = Stripe_.PaymentMethodConfigurationCreateParams.Swish; + export type Twint = Stripe_.PaymentMethodConfigurationCreateParams.Twint; + export type Upi = Stripe_.PaymentMethodConfigurationCreateParams.Upi; + export type UsBankAccount = Stripe_.PaymentMethodConfigurationCreateParams.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethodConfigurationCreateParams.WechatPay; + export type Zip = Stripe_.PaymentMethodConfigurationCreateParams.Zip; + export namespace AcssDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.AcssDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.AcssDebit.DisplayPreference.Preference; + } + } + export namespace Affirm { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Affirm.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Affirm.DisplayPreference.Preference; + } + } + export namespace AfterpayClearpay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.AfterpayClearpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.AfterpayClearpay.DisplayPreference.Preference; + } + } + export namespace Alipay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Alipay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Alipay.DisplayPreference.Preference; + } + } + export namespace Alma { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Alma.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Alma.DisplayPreference.Preference; + } + } + export namespace AmazonPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.AmazonPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.AmazonPay.DisplayPreference.Preference; + } + } + export namespace ApplePay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.ApplePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.ApplePay.DisplayPreference.Preference; + } + } + export namespace ApplePayLater { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.ApplePayLater.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.ApplePayLater.DisplayPreference.Preference; + } + } + export namespace AuBecsDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.AuBecsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.AuBecsDebit.DisplayPreference.Preference; + } + } + export namespace BacsDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.BacsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.BacsDebit.DisplayPreference.Preference; + } + } + export namespace Bancontact { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Bancontact.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Bancontact.DisplayPreference.Preference; + } + } + export namespace Billie { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Billie.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Billie.DisplayPreference.Preference; + } + } + export namespace Bizum { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Bizum.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Bizum.DisplayPreference.Preference; + } + } + export namespace Blik { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Blik.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Blik.DisplayPreference.Preference; + } + } + export namespace Boleto { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Boleto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Boleto.DisplayPreference.Preference; + } + } + export namespace Card { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Card.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Card.DisplayPreference.Preference; + } + } + export namespace CartesBancaires { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.CartesBancaires.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.CartesBancaires.DisplayPreference.Preference; + } + } + export namespace Cashapp { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Cashapp.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Cashapp.DisplayPreference.Preference; + } + } + export namespace Crypto { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Crypto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Crypto.DisplayPreference.Preference; + } + } + export namespace CustomerBalance { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.CustomerBalance.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.CustomerBalance.DisplayPreference.Preference; + } + } + export namespace Eps { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Eps.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Eps.DisplayPreference.Preference; + } + } + export namespace Fpx { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Fpx.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Fpx.DisplayPreference.Preference; + } + } + export namespace FrMealVoucherConecs { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs.DisplayPreference.Preference; + } + } + export namespace Giropay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Giropay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Giropay.DisplayPreference.Preference; + } + } + export namespace GooglePay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.GooglePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.GooglePay.DisplayPreference.Preference; + } + } + export namespace Gopay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Gopay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Gopay.DisplayPreference.Preference; + } + } + export namespace Grabpay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Grabpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Grabpay.DisplayPreference.Preference; + } + } + export namespace IdBankTransfer { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.IdBankTransfer.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.IdBankTransfer.DisplayPreference.Preference; + } + } + export namespace Ideal { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Ideal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Ideal.DisplayPreference.Preference; + } + } + export namespace Jcb { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Jcb.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Jcb.DisplayPreference.Preference; + } + } + export namespace KakaoPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.KakaoPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.KakaoPay.DisplayPreference.Preference; + } + } + export namespace Klarna { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Klarna.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Klarna.DisplayPreference.Preference; + } + } + export namespace Konbini { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Konbini.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Konbini.DisplayPreference.Preference; + } + } + export namespace KrCard { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.KrCard.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.KrCard.DisplayPreference.Preference; + } + } + export namespace Link { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Link.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Link.DisplayPreference.Preference; + } + } + export namespace MbWay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.MbWay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.MbWay.DisplayPreference.Preference; + } + } + export namespace Mobilepay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Mobilepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Mobilepay.DisplayPreference.Preference; + } + } + export namespace Multibanco { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Multibanco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Multibanco.DisplayPreference.Preference; + } + } + export namespace NaverPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.NaverPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.NaverPay.DisplayPreference.Preference; + } + } + export namespace NzBankAccount { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.NzBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.NzBankAccount.DisplayPreference.Preference; + } + } + export namespace Oxxo { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Oxxo.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Oxxo.DisplayPreference.Preference; + } + } + export namespace P24 { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.P24.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.P24.DisplayPreference.Preference; + } + } + export namespace PayByBank { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.PayByBank.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.PayByBank.DisplayPreference.Preference; + } + } + export namespace Payco { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Payco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Payco.DisplayPreference.Preference; + } + } + export namespace Paynow { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Paynow.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Paynow.DisplayPreference.Preference; + } + } + export namespace Paypal { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference.Preference; + } + } + export namespace Paypay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Paypay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Paypay.DisplayPreference.Preference; + } + } + export namespace Payto { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Payto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Payto.DisplayPreference.Preference; + } + } + export namespace Pix { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Pix.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Pix.DisplayPreference.Preference; + } + } + export namespace Promptpay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Promptpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Promptpay.DisplayPreference.Preference; + } + } + export namespace Qris { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Qris.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Qris.DisplayPreference.Preference; + } + } + export namespace RevolutPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.RevolutPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.RevolutPay.DisplayPreference.Preference; + } + } + export namespace SamsungPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.SamsungPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.SamsungPay.DisplayPreference.Preference; + } + } + export namespace Satispay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Satispay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Satispay.DisplayPreference.Preference; + } + } + export namespace Scalapay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Scalapay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Scalapay.DisplayPreference.Preference; + } + } + export namespace SepaDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.SepaDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.SepaDebit.DisplayPreference.Preference; + } + } + export namespace Shopeepay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Shopeepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Shopeepay.DisplayPreference.Preference; + } + } + export namespace Sofort { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Sofort.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Sofort.DisplayPreference.Preference; + } + } + export namespace Sunbit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Sunbit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Sunbit.DisplayPreference.Preference; + } + } + export namespace Swish { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference.Preference; + } + } + export namespace Twint { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference.Preference; + } + } + export namespace Upi { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Upi.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Upi.DisplayPreference.Preference; + } + } + export namespace UsBankAccount { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.UsBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.UsBankAccount.DisplayPreference.Preference; + } + } + export namespace WechatPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.WechatPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.WechatPay.DisplayPreference.Preference; + } + } + export namespace Zip { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Zip.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Zip.DisplayPreference.Preference; + } + } + } + export namespace PaymentMethodConfigurationUpdateParams { + export type AcssDebit = Stripe_.PaymentMethodConfigurationUpdateParams.AcssDebit; + export type Affirm = Stripe_.PaymentMethodConfigurationUpdateParams.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethodConfigurationUpdateParams.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethodConfigurationUpdateParams.Alipay; + export type Alma = Stripe_.PaymentMethodConfigurationUpdateParams.Alma; + export type AmazonPay = Stripe_.PaymentMethodConfigurationUpdateParams.AmazonPay; + export type ApplePay = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePay; + export type ApplePayLater = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePayLater; + export type AuBecsDebit = Stripe_.PaymentMethodConfigurationUpdateParams.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethodConfigurationUpdateParams.BacsDebit; + export type Bancontact = Stripe_.PaymentMethodConfigurationUpdateParams.Bancontact; + export type Billie = Stripe_.PaymentMethodConfigurationUpdateParams.Billie; + export type Bizum = Stripe_.PaymentMethodConfigurationUpdateParams.Bizum; + export type Blik = Stripe_.PaymentMethodConfigurationUpdateParams.Blik; + export type Boleto = Stripe_.PaymentMethodConfigurationUpdateParams.Boleto; + export type Card = Stripe_.PaymentMethodConfigurationUpdateParams.Card; + export type CartesBancaires = Stripe_.PaymentMethodConfigurationUpdateParams.CartesBancaires; + export type Cashapp = Stripe_.PaymentMethodConfigurationUpdateParams.Cashapp; + export type Crypto = Stripe_.PaymentMethodConfigurationUpdateParams.Crypto; + export type CustomerBalance = Stripe_.PaymentMethodConfigurationUpdateParams.CustomerBalance; + export type Eps = Stripe_.PaymentMethodConfigurationUpdateParams.Eps; + export type Fpx = Stripe_.PaymentMethodConfigurationUpdateParams.Fpx; + export type FrMealVoucherConecs = Stripe_.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs; + export type Giropay = Stripe_.PaymentMethodConfigurationUpdateParams.Giropay; + export type GooglePay = Stripe_.PaymentMethodConfigurationUpdateParams.GooglePay; + export type Gopay = Stripe_.PaymentMethodConfigurationUpdateParams.Gopay; + export type Grabpay = Stripe_.PaymentMethodConfigurationUpdateParams.Grabpay; + export type IdBankTransfer = Stripe_.PaymentMethodConfigurationUpdateParams.IdBankTransfer; + export type Ideal = Stripe_.PaymentMethodConfigurationUpdateParams.Ideal; + export type Jcb = Stripe_.PaymentMethodConfigurationUpdateParams.Jcb; + export type KakaoPay = Stripe_.PaymentMethodConfigurationUpdateParams.KakaoPay; + export type Klarna = Stripe_.PaymentMethodConfigurationUpdateParams.Klarna; + export type Konbini = Stripe_.PaymentMethodConfigurationUpdateParams.Konbini; + export type KrCard = Stripe_.PaymentMethodConfigurationUpdateParams.KrCard; + export type Link = Stripe_.PaymentMethodConfigurationUpdateParams.Link; + export type MbWay = Stripe_.PaymentMethodConfigurationUpdateParams.MbWay; + export type Mobilepay = Stripe_.PaymentMethodConfigurationUpdateParams.Mobilepay; + export type Multibanco = Stripe_.PaymentMethodConfigurationUpdateParams.Multibanco; + export type NaverPay = Stripe_.PaymentMethodConfigurationUpdateParams.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethodConfigurationUpdateParams.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethodConfigurationUpdateParams.Oxxo; + export type P24 = Stripe_.PaymentMethodConfigurationUpdateParams.P24; + export type PayByBank = Stripe_.PaymentMethodConfigurationUpdateParams.PayByBank; + export type Payco = Stripe_.PaymentMethodConfigurationUpdateParams.Payco; + export type Paynow = Stripe_.PaymentMethodConfigurationUpdateParams.Paynow; + export type Paypal = Stripe_.PaymentMethodConfigurationUpdateParams.Paypal; + export type Paypay = Stripe_.PaymentMethodConfigurationUpdateParams.Paypay; + export type Payto = Stripe_.PaymentMethodConfigurationUpdateParams.Payto; + export type Pix = Stripe_.PaymentMethodConfigurationUpdateParams.Pix; + export type Promptpay = Stripe_.PaymentMethodConfigurationUpdateParams.Promptpay; + export type Qris = Stripe_.PaymentMethodConfigurationUpdateParams.Qris; + export type RevolutPay = Stripe_.PaymentMethodConfigurationUpdateParams.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethodConfigurationUpdateParams.SamsungPay; + export type Satispay = Stripe_.PaymentMethodConfigurationUpdateParams.Satispay; + export type Scalapay = Stripe_.PaymentMethodConfigurationUpdateParams.Scalapay; + export type SepaDebit = Stripe_.PaymentMethodConfigurationUpdateParams.SepaDebit; + export type Shopeepay = Stripe_.PaymentMethodConfigurationUpdateParams.Shopeepay; + export type Sofort = Stripe_.PaymentMethodConfigurationUpdateParams.Sofort; + export type Sunbit = Stripe_.PaymentMethodConfigurationUpdateParams.Sunbit; + export type Swish = Stripe_.PaymentMethodConfigurationUpdateParams.Swish; + export type Twint = Stripe_.PaymentMethodConfigurationUpdateParams.Twint; + export type Upi = Stripe_.PaymentMethodConfigurationUpdateParams.Upi; + export type UsBankAccount = Stripe_.PaymentMethodConfigurationUpdateParams.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethodConfigurationUpdateParams.WechatPay; + export type Zip = Stripe_.PaymentMethodConfigurationUpdateParams.Zip; + export namespace AcssDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.AcssDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.AcssDebit.DisplayPreference.Preference; + } + } + export namespace Affirm { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Affirm.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Affirm.DisplayPreference.Preference; + } + } + export namespace AfterpayClearpay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.AfterpayClearpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.AfterpayClearpay.DisplayPreference.Preference; + } + } + export namespace Alipay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Alipay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Alipay.DisplayPreference.Preference; + } + } + export namespace Alma { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Alma.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Alma.DisplayPreference.Preference; + } + } + export namespace AmazonPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.AmazonPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.AmazonPay.DisplayPreference.Preference; + } + } + export namespace ApplePay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePay.DisplayPreference.Preference; + } + } + export namespace ApplePayLater { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePayLater.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.ApplePayLater.DisplayPreference.Preference; + } + } + export namespace AuBecsDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.AuBecsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.AuBecsDebit.DisplayPreference.Preference; + } + } + export namespace BacsDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.BacsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.BacsDebit.DisplayPreference.Preference; + } + } + export namespace Bancontact { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Bancontact.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Bancontact.DisplayPreference.Preference; + } + } + export namespace Billie { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Billie.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Billie.DisplayPreference.Preference; + } + } + export namespace Bizum { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Bizum.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Bizum.DisplayPreference.Preference; + } + } + export namespace Blik { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Blik.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Blik.DisplayPreference.Preference; + } + } + export namespace Boleto { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Boleto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Boleto.DisplayPreference.Preference; + } + } + export namespace Card { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Card.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Card.DisplayPreference.Preference; + } + } + export namespace CartesBancaires { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.CartesBancaires.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.CartesBancaires.DisplayPreference.Preference; + } + } + export namespace Cashapp { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Cashapp.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Cashapp.DisplayPreference.Preference; + } + } + export namespace Crypto { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Crypto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Crypto.DisplayPreference.Preference; + } + } + export namespace CustomerBalance { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.CustomerBalance.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.CustomerBalance.DisplayPreference.Preference; + } + } + export namespace Eps { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Eps.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Eps.DisplayPreference.Preference; + } + } + export namespace Fpx { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Fpx.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Fpx.DisplayPreference.Preference; + } + } + export namespace FrMealVoucherConecs { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs.DisplayPreference.Preference; + } + } + export namespace Giropay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Giropay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Giropay.DisplayPreference.Preference; + } + } + export namespace GooglePay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.GooglePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.GooglePay.DisplayPreference.Preference; + } + } + export namespace Gopay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Gopay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Gopay.DisplayPreference.Preference; + } + } + export namespace Grabpay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Grabpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Grabpay.DisplayPreference.Preference; + } + } + export namespace IdBankTransfer { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.IdBankTransfer.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.IdBankTransfer.DisplayPreference.Preference; + } + } + export namespace Ideal { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Ideal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Ideal.DisplayPreference.Preference; + } + } + export namespace Jcb { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Jcb.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Jcb.DisplayPreference.Preference; + } + } + export namespace KakaoPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.KakaoPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.KakaoPay.DisplayPreference.Preference; + } + } + export namespace Klarna { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Klarna.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Klarna.DisplayPreference.Preference; + } + } + export namespace Konbini { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Konbini.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Konbini.DisplayPreference.Preference; + } + } + export namespace KrCard { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.KrCard.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.KrCard.DisplayPreference.Preference; + } + } + export namespace Link { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Link.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Link.DisplayPreference.Preference; + } + } + export namespace MbWay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.MbWay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.MbWay.DisplayPreference.Preference; + } + } + export namespace Mobilepay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Mobilepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Mobilepay.DisplayPreference.Preference; + } + } + export namespace Multibanco { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Multibanco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Multibanco.DisplayPreference.Preference; + } + } + export namespace NaverPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.NaverPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.NaverPay.DisplayPreference.Preference; + } + } + export namespace NzBankAccount { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.NzBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.NzBankAccount.DisplayPreference.Preference; + } + } + export namespace Oxxo { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Oxxo.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Oxxo.DisplayPreference.Preference; + } + } + export namespace P24 { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.P24.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.P24.DisplayPreference.Preference; + } + } + export namespace PayByBank { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.PayByBank.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.PayByBank.DisplayPreference.Preference; + } + } + export namespace Payco { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Payco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Payco.DisplayPreference.Preference; + } + } + export namespace Paynow { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Paynow.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Paynow.DisplayPreference.Preference; + } + } + export namespace Paypal { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference.Preference; + } + } + export namespace Paypay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Paypay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Paypay.DisplayPreference.Preference; + } + } + export namespace Payto { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Payto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Payto.DisplayPreference.Preference; + } + } + export namespace Pix { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Pix.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Pix.DisplayPreference.Preference; + } + } + export namespace Promptpay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Promptpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Promptpay.DisplayPreference.Preference; + } + } + export namespace Qris { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Qris.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Qris.DisplayPreference.Preference; + } + } + export namespace RevolutPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.RevolutPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.RevolutPay.DisplayPreference.Preference; + } + } + export namespace SamsungPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.SamsungPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.SamsungPay.DisplayPreference.Preference; + } + } + export namespace Satispay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Satispay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Satispay.DisplayPreference.Preference; + } + } + export namespace Scalapay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Scalapay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Scalapay.DisplayPreference.Preference; + } + } + export namespace SepaDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.SepaDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.SepaDebit.DisplayPreference.Preference; + } + } + export namespace Shopeepay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Shopeepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Shopeepay.DisplayPreference.Preference; + } + } + export namespace Sofort { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Sofort.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Sofort.DisplayPreference.Preference; + } + } + export namespace Sunbit { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Sunbit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Sunbit.DisplayPreference.Preference; + } + } + export namespace Swish { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference.Preference; + } + } + export namespace Twint { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference.Preference; + } + } + export namespace Upi { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Upi.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Upi.DisplayPreference.Preference; + } + } + export namespace UsBankAccount { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.UsBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.UsBankAccount.DisplayPreference.Preference; + } + } + export namespace WechatPay { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.WechatPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.WechatPay.DisplayPreference.Preference; + } + } + export namespace Zip { + export type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Zip.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Zip.DisplayPreference.Preference; + } + } + } + export namespace PaymentMethodConfiguration { + export type AcssDebit = Stripe_.PaymentMethodConfiguration.AcssDebit; + export type Affirm = Stripe_.PaymentMethodConfiguration.Affirm; + export type AfterpayClearpay = Stripe_.PaymentMethodConfiguration.AfterpayClearpay; + export type Alipay = Stripe_.PaymentMethodConfiguration.Alipay; + export type Alma = Stripe_.PaymentMethodConfiguration.Alma; + export type AmazonPay = Stripe_.PaymentMethodConfiguration.AmazonPay; + export type ApplePay = Stripe_.PaymentMethodConfiguration.ApplePay; + export type AuBecsDebit = Stripe_.PaymentMethodConfiguration.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentMethodConfiguration.BacsDebit; + export type Bancontact = Stripe_.PaymentMethodConfiguration.Bancontact; + export type Billie = Stripe_.PaymentMethodConfiguration.Billie; + export type Bizum = Stripe_.PaymentMethodConfiguration.Bizum; + export type Blik = Stripe_.PaymentMethodConfiguration.Blik; + export type Boleto = Stripe_.PaymentMethodConfiguration.Boleto; + export type Card = Stripe_.PaymentMethodConfiguration.Card; + export type CartesBancaires = Stripe_.PaymentMethodConfiguration.CartesBancaires; + export type Cashapp = Stripe_.PaymentMethodConfiguration.Cashapp; + export type Crypto = Stripe_.PaymentMethodConfiguration.Crypto; + export type CustomerBalance = Stripe_.PaymentMethodConfiguration.CustomerBalance; + export type Eps = Stripe_.PaymentMethodConfiguration.Eps; + export type Fpx = Stripe_.PaymentMethodConfiguration.Fpx; + export type Giropay = Stripe_.PaymentMethodConfiguration.Giropay; + export type GooglePay = Stripe_.PaymentMethodConfiguration.GooglePay; + export type Gopay = Stripe_.PaymentMethodConfiguration.Gopay; + export type Grabpay = Stripe_.PaymentMethodConfiguration.Grabpay; + export type IdBankTransfer = Stripe_.PaymentMethodConfiguration.IdBankTransfer; + export type Ideal = Stripe_.PaymentMethodConfiguration.Ideal; + export type Jcb = Stripe_.PaymentMethodConfiguration.Jcb; + export type KakaoPay = Stripe_.PaymentMethodConfiguration.KakaoPay; + export type Klarna = Stripe_.PaymentMethodConfiguration.Klarna; + export type Konbini = Stripe_.PaymentMethodConfiguration.Konbini; + export type KrCard = Stripe_.PaymentMethodConfiguration.KrCard; + export type Link = Stripe_.PaymentMethodConfiguration.Link; + export type MbWay = Stripe_.PaymentMethodConfiguration.MbWay; + export type Mobilepay = Stripe_.PaymentMethodConfiguration.Mobilepay; + export type Multibanco = Stripe_.PaymentMethodConfiguration.Multibanco; + export type NaverPay = Stripe_.PaymentMethodConfiguration.NaverPay; + export type NzBankAccount = Stripe_.PaymentMethodConfiguration.NzBankAccount; + export type Oxxo = Stripe_.PaymentMethodConfiguration.Oxxo; + export type P24 = Stripe_.PaymentMethodConfiguration.P24; + export type PayByBank = Stripe_.PaymentMethodConfiguration.PayByBank; + export type Payco = Stripe_.PaymentMethodConfiguration.Payco; + export type Paynow = Stripe_.PaymentMethodConfiguration.Paynow; + export type Paypal = Stripe_.PaymentMethodConfiguration.Paypal; + export type Paypay = Stripe_.PaymentMethodConfiguration.Paypay; + export type Payto = Stripe_.PaymentMethodConfiguration.Payto; + export type Pix = Stripe_.PaymentMethodConfiguration.Pix; + export type Promptpay = Stripe_.PaymentMethodConfiguration.Promptpay; + export type Qris = Stripe_.PaymentMethodConfiguration.Qris; + export type RevolutPay = Stripe_.PaymentMethodConfiguration.RevolutPay; + export type SamsungPay = Stripe_.PaymentMethodConfiguration.SamsungPay; + export type Satispay = Stripe_.PaymentMethodConfiguration.Satispay; + export type Scalapay = Stripe_.PaymentMethodConfiguration.Scalapay; + export type SepaDebit = Stripe_.PaymentMethodConfiguration.SepaDebit; + export type Shopeepay = Stripe_.PaymentMethodConfiguration.Shopeepay; + export type Sofort = Stripe_.PaymentMethodConfiguration.Sofort; + export type Sunbit = Stripe_.PaymentMethodConfiguration.Sunbit; + export type Swish = Stripe_.PaymentMethodConfiguration.Swish; + export type Twint = Stripe_.PaymentMethodConfiguration.Twint; + export type Upi = Stripe_.PaymentMethodConfiguration.Upi; + export type UsBankAccount = Stripe_.PaymentMethodConfiguration.UsBankAccount; + export type WechatPay = Stripe_.PaymentMethodConfiguration.WechatPay; + export type Zip = Stripe_.PaymentMethodConfiguration.Zip; + export namespace AcssDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.AcssDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.AcssDebit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.AcssDebit.DisplayPreference.Value; + } + } + export namespace Affirm { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Affirm.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Affirm.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Affirm.DisplayPreference.Value; + } + } + export namespace AfterpayClearpay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.AfterpayClearpay.DisplayPreference.Value; + } + } + export namespace Alipay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Alipay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Alipay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Alipay.DisplayPreference.Value; + } + } + export namespace Alma { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Alma.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Alma.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Alma.DisplayPreference.Value; + } + } + export namespace AmazonPay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.AmazonPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.AmazonPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.AmazonPay.DisplayPreference.Value; + } + } + export namespace ApplePay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.ApplePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.ApplePay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.ApplePay.DisplayPreference.Value; + } + } + export namespace AuBecsDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.AuBecsDebit.DisplayPreference.Value; + } + } + export namespace BacsDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.BacsDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.BacsDebit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.BacsDebit.DisplayPreference.Value; + } + } + export namespace Bancontact { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Bancontact.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Bancontact.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Bancontact.DisplayPreference.Value; + } + } + export namespace Billie { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Billie.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Billie.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Billie.DisplayPreference.Value; + } + } + export namespace Bizum { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Bizum.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Bizum.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Bizum.DisplayPreference.Value; + } + } + export namespace Blik { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Blik.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Blik.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Blik.DisplayPreference.Value; + } + } + export namespace Boleto { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Boleto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Boleto.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Boleto.DisplayPreference.Value; + } + } + export namespace Card { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Card.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Card.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Card.DisplayPreference.Value; + } + } + export namespace CartesBancaires { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.CartesBancaires.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.CartesBancaires.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.CartesBancaires.DisplayPreference.Value; + } + } + export namespace Cashapp { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Cashapp.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Cashapp.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Cashapp.DisplayPreference.Value; + } + } + export namespace Crypto { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Crypto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Crypto.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Crypto.DisplayPreference.Value; + } + } + export namespace CustomerBalance { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.CustomerBalance.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.CustomerBalance.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.CustomerBalance.DisplayPreference.Value; + } + } + export namespace Eps { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Eps.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Eps.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Eps.DisplayPreference.Value; + } + } + export namespace Fpx { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Fpx.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Fpx.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Fpx.DisplayPreference.Value; + } + } + export namespace Giropay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Giropay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Giropay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Giropay.DisplayPreference.Value; + } + } + export namespace GooglePay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.GooglePay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.GooglePay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.GooglePay.DisplayPreference.Value; + } + } + export namespace Gopay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Gopay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Gopay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Gopay.DisplayPreference.Value; + } + } + export namespace Grabpay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Grabpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Grabpay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Grabpay.DisplayPreference.Value; + } + } + export namespace IdBankTransfer { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.IdBankTransfer.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.IdBankTransfer.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.IdBankTransfer.DisplayPreference.Value; + } + } + export namespace Ideal { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Ideal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Ideal.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Ideal.DisplayPreference.Value; + } + } + export namespace Jcb { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Jcb.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Jcb.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Jcb.DisplayPreference.Value; + } + } + export namespace KakaoPay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.KakaoPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.KakaoPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.KakaoPay.DisplayPreference.Value; + } + } + export namespace Klarna { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Klarna.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Klarna.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Klarna.DisplayPreference.Value; + } + } + export namespace Konbini { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Konbini.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Konbini.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Konbini.DisplayPreference.Value; + } + } + export namespace KrCard { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.KrCard.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.KrCard.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.KrCard.DisplayPreference.Value; + } + } + export namespace Link { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Link.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Link.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Link.DisplayPreference.Value; + } + } + export namespace MbWay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.MbWay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.MbWay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.MbWay.DisplayPreference.Value; + } + } + export namespace Mobilepay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Mobilepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Mobilepay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Mobilepay.DisplayPreference.Value; + } + } + export namespace Multibanco { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Multibanco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Multibanco.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Multibanco.DisplayPreference.Value; + } + } + export namespace NaverPay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.NaverPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.NaverPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.NaverPay.DisplayPreference.Value; + } + } + export namespace NzBankAccount { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.NzBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.NzBankAccount.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.NzBankAccount.DisplayPreference.Value; + } + } + export namespace Oxxo { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Oxxo.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Oxxo.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Oxxo.DisplayPreference.Value; + } + } + export namespace P24 { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.P24.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.P24.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.P24.DisplayPreference.Value; + } + } + export namespace PayByBank { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.PayByBank.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.PayByBank.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.PayByBank.DisplayPreference.Value; + } + } + export namespace Payco { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Payco.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Payco.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Payco.DisplayPreference.Value; + } + } + export namespace Paynow { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Paynow.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Paynow.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Paynow.DisplayPreference.Value; + } + } + export namespace Paypal { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Paypal.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Paypal.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Paypal.DisplayPreference.Value; + } + } + export namespace Paypay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Paypay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Paypay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Paypay.DisplayPreference.Value; + } + } + export namespace Payto { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Payto.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Payto.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Payto.DisplayPreference.Value; + } + } + export namespace Pix { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Pix.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Pix.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Pix.DisplayPreference.Value; + } + } + export namespace Promptpay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Promptpay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Promptpay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Promptpay.DisplayPreference.Value; + } + } + export namespace Qris { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Qris.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Qris.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Qris.DisplayPreference.Value; + } + } + export namespace RevolutPay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.RevolutPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.RevolutPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.RevolutPay.DisplayPreference.Value; + } + } + export namespace SamsungPay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.SamsungPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.SamsungPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.SamsungPay.DisplayPreference.Value; + } + } + export namespace Satispay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Satispay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Satispay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Satispay.DisplayPreference.Value; + } + } + export namespace Scalapay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Scalapay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Scalapay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Scalapay.DisplayPreference.Value; + } + } + export namespace SepaDebit { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.SepaDebit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.SepaDebit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.SepaDebit.DisplayPreference.Value; + } + } + export namespace Shopeepay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Shopeepay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Shopeepay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Shopeepay.DisplayPreference.Value; + } + } + export namespace Sofort { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Sofort.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Sofort.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Sofort.DisplayPreference.Value; + } + } + export namespace Sunbit { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Sunbit.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Sunbit.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Sunbit.DisplayPreference.Value; + } + } + export namespace Swish { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Swish.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Swish.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Swish.DisplayPreference.Value; + } + } + export namespace Twint { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Twint.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Twint.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Twint.DisplayPreference.Value; + } + } + export namespace Upi { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Upi.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Upi.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Upi.DisplayPreference.Value; + } + } + export namespace UsBankAccount { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.UsBankAccount.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.UsBankAccount.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.UsBankAccount.DisplayPreference.Value; + } + } + export namespace WechatPay { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.WechatPay.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.WechatPay.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.WechatPay.DisplayPreference.Value; + } + } + export namespace Zip { + export type DisplayPreference = Stripe_.PaymentMethodConfiguration.Zip.DisplayPreference; + export namespace DisplayPreference { + export type Preference = Stripe_.PaymentMethodConfiguration.Zip.DisplayPreference.Preference; + export type Value = Stripe_.PaymentMethodConfiguration.Zip.DisplayPreference.Value; + } + } + } + export namespace PaymentMethodDomain { + export type AmazonPay = Stripe_.PaymentMethodDomain.AmazonPay; + export type ApplePay = Stripe_.PaymentMethodDomain.ApplePay; + export type GooglePay = Stripe_.PaymentMethodDomain.GooglePay; + export type Klarna = Stripe_.PaymentMethodDomain.Klarna; + export type Link = Stripe_.PaymentMethodDomain.Link; + export type Paypal = Stripe_.PaymentMethodDomain.Paypal; + export namespace AmazonPay { + export type Status = Stripe_.PaymentMethodDomain.AmazonPay.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.AmazonPay.StatusDetails; + } + export namespace ApplePay { + export type Status = Stripe_.PaymentMethodDomain.ApplePay.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.ApplePay.StatusDetails; + } + export namespace GooglePay { + export type Status = Stripe_.PaymentMethodDomain.GooglePay.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.GooglePay.StatusDetails; + } + export namespace Klarna { + export type Status = Stripe_.PaymentMethodDomain.Klarna.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.Klarna.StatusDetails; + } + export namespace Link { + export type Status = Stripe_.PaymentMethodDomain.Link.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.Link.StatusDetails; + } + export namespace Paypal { + export type Status = Stripe_.PaymentMethodDomain.Paypal.Status; + export type StatusDetails = Stripe_.PaymentMethodDomain.Paypal.StatusDetails; + } + } + export namespace PaymentRecordReportPaymentParams { + export type AmountRequested = Stripe_.PaymentRecordReportPaymentParams.AmountRequested; + export type PaymentMethodDetails = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails; + export type CustomerDetails = Stripe_.PaymentRecordReportPaymentParams.CustomerDetails; + export type CustomerPresence = Stripe_.PaymentRecordReportPaymentParams.CustomerPresence; + export type Failed = Stripe_.PaymentRecordReportPaymentParams.Failed; + export type Guaranteed = Stripe_.PaymentRecordReportPaymentParams.Guaranteed; + export type Outcome = Stripe_.PaymentRecordReportPaymentParams.Outcome; + export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentParams.ProcessorDetails; + export type ShippingDetails = Stripe_.PaymentRecordReportPaymentParams.ShippingDetails; + export namespace Failed { + export type FailureCode = Stripe_.PaymentRecordReportPaymentParams.Failed.FailureCode; + export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentParams.Failed.ProcessorDetails; + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecordReportPaymentParams.Failed.ProcessorDetails.Custom; + } + } + export namespace Guaranteed { + export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentParams.Guaranteed.ProcessorDetails; + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecordReportPaymentParams.Guaranteed.ProcessorDetails.Custom; + } + } + export namespace PaymentMethodDetails { + export type BillingDetails = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.BillingDetails; + export type Card = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card; + export type Custom = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Custom; + export type Type = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Type; + export namespace Card { + export type Checks = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.Checks; + export namespace Checks { + export type AddressLine1Check = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.Checks.CvcCheck; + } + } + } + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecordReportPaymentParams.ProcessorDetails.Custom; + } + } + export namespace PaymentRecordReportPaymentAttemptParams { + export type Failed = Stripe_.PaymentRecordReportPaymentAttemptParams.Failed; + export type Guaranteed = Stripe_.PaymentRecordReportPaymentAttemptParams.Guaranteed; + export type Outcome = Stripe_.PaymentRecordReportPaymentAttemptParams.Outcome; + export type PaymentMethodDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails; + export type ShippingDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.ShippingDetails; + export namespace Failed { + export type FailureCode = Stripe_.PaymentRecordReportPaymentAttemptParams.Failed.FailureCode; + export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.Failed.ProcessorDetails; + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecordReportPaymentAttemptParams.Failed.ProcessorDetails.Custom; + } + } + export namespace Guaranteed { + export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.Guaranteed.ProcessorDetails; + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecordReportPaymentAttemptParams.Guaranteed.ProcessorDetails.Custom; + } + } + export namespace PaymentMethodDetails { + export type BillingDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.BillingDetails; + export type Card = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card; + export type Custom = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Custom; + export type Type = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Type; + export namespace Card { + export type Checks = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.Checks; + export namespace Checks { + export type AddressLine1Check = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.Checks.CvcCheck; + } + } + } + } + export namespace PaymentRecordReportPaymentAttemptFailedParams { + export type FailureCode = Stripe_.PaymentRecordReportPaymentAttemptFailedParams.FailureCode; + export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentAttemptFailedParams.ProcessorDetails; + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecordReportPaymentAttemptFailedParams.ProcessorDetails.Custom; + } + } + export namespace PaymentRecordReportPaymentAttemptGuaranteedParams { + export type PaymentMethodDetails = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails; + export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.ProcessorDetails; + export namespace PaymentMethodDetails { + export type Card = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card; + export namespace Card { + export type Checks = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.Checks; + export namespace Checks { + export type AddressLine1Check = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.Checks.CvcCheck; + } + } + } + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.ProcessorDetails.Custom; + } + } + export namespace PaymentRecordReportPaymentAttemptInformationalParams { + export type CustomerDetails = Stripe_.PaymentRecordReportPaymentAttemptInformationalParams.CustomerDetails; + export type ShippingDetails = Stripe_.PaymentRecordReportPaymentAttemptInformationalParams.ShippingDetails; + } + export namespace PaymentRecordReportRefundParams { + export type Outcome = Stripe_.PaymentRecordReportRefundParams.Outcome; + export type ProcessorDetails = Stripe_.PaymentRecordReportRefundParams.ProcessorDetails; + export type Amount = Stripe_.PaymentRecordReportRefundParams.Amount; + export type Failed = Stripe_.PaymentRecordReportRefundParams.Failed; + export type Refunded = Stripe_.PaymentRecordReportRefundParams.Refunded; + export namespace Failed { + export type FailureReason = Stripe_.PaymentRecordReportRefundParams.Failed.FailureReason; + } + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecordReportRefundParams.ProcessorDetails.Custom; + } + } + export namespace PaymentRecord { + export type Amount = Stripe_.PaymentRecord.Amount; + export type AmountAuthorized = Stripe_.PaymentRecord.AmountAuthorized; + export type AmountCanceled = Stripe_.PaymentRecord.AmountCanceled; + export type AmountFailed = Stripe_.PaymentRecord.AmountFailed; + export type AmountGuaranteed = Stripe_.PaymentRecord.AmountGuaranteed; + export type AmountRefunded = Stripe_.PaymentRecord.AmountRefunded; + export type AmountRequested = Stripe_.PaymentRecord.AmountRequested; + export type CustomerDetails = Stripe_.PaymentRecord.CustomerDetails; + export type CustomerPresence = Stripe_.PaymentRecord.CustomerPresence; + export type PaymentMethodDetails = Stripe_.PaymentRecord.PaymentMethodDetails; + export type ProcessorDetails = Stripe_.PaymentRecord.ProcessorDetails; + export type ReportedBy = Stripe_.PaymentRecord.ReportedBy; + export type ShippingDetails = Stripe_.PaymentRecord.ShippingDetails; + export namespace PaymentMethodDetails { + export type AchCreditTransfer = Stripe_.PaymentRecord.PaymentMethodDetails.AchCreditTransfer; + export type AchDebit = Stripe_.PaymentRecord.PaymentMethodDetails.AchDebit; + export type AcssDebit = Stripe_.PaymentRecord.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe_.PaymentRecord.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe_.PaymentRecord.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe_.PaymentRecord.PaymentMethodDetails.Alipay; + export type Alma = Stripe_.PaymentRecord.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe_.PaymentRecord.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.PaymentRecord.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.PaymentRecord.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe_.PaymentRecord.PaymentMethodDetails.Bancontact; + export type Billie = Stripe_.PaymentRecord.PaymentMethodDetails.Billie; + export type BillingDetails = Stripe_.PaymentRecord.PaymentMethodDetails.BillingDetails; + export type Bizum = Stripe_.PaymentRecord.PaymentMethodDetails.Bizum; + export type Blik = Stripe_.PaymentRecord.PaymentMethodDetails.Blik; + export type Boleto = Stripe_.PaymentRecord.PaymentMethodDetails.Boleto; + export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.Card; + export type CardPresent = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe_.PaymentRecord.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe_.PaymentRecord.PaymentMethodDetails.Crypto; + export type Custom = Stripe_.PaymentRecord.PaymentMethodDetails.Custom; + export type CustomerBalance = Stripe_.PaymentRecord.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe_.PaymentRecord.PaymentMethodDetails.Eps; + export type Fpx = Stripe_.PaymentRecord.PaymentMethodDetails.Fpx; + export type GiftCard = Stripe_.PaymentRecord.PaymentMethodDetails.GiftCard; + export type Giropay = Stripe_.PaymentRecord.PaymentMethodDetails.Giropay; + export type Gopay = Stripe_.PaymentRecord.PaymentMethodDetails.Gopay; + export type Grabpay = Stripe_.PaymentRecord.PaymentMethodDetails.Grabpay; + export type IdBankTransfer = Stripe_.PaymentRecord.PaymentMethodDetails.IdBankTransfer; + export type Ideal = Stripe_.PaymentRecord.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe_.PaymentRecord.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe_.PaymentRecord.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.PaymentRecord.PaymentMethodDetails.Klarna; + export type Konbini = Stripe_.PaymentRecord.PaymentMethodDetails.Konbini; + export type KrCard = Stripe_.PaymentRecord.PaymentMethodDetails.KrCard; + export type Link = Stripe_.PaymentRecord.PaymentMethodDetails.Link; + export type MbWay = Stripe_.PaymentRecord.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe_.PaymentRecord.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe_.PaymentRecord.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe_.PaymentRecord.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.PaymentRecord.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe_.PaymentRecord.PaymentMethodDetails.Oxxo; + export type P24 = Stripe_.PaymentRecord.PaymentMethodDetails.P24; + export type PayByBank = Stripe_.PaymentRecord.PaymentMethodDetails.PayByBank; + export type Payco = Stripe_.PaymentRecord.PaymentMethodDetails.Payco; + export type Paynow = Stripe_.PaymentRecord.PaymentMethodDetails.Paynow; + export type Paypal = Stripe_.PaymentRecord.PaymentMethodDetails.Paypal; + export type Paypay = Stripe_.PaymentRecord.PaymentMethodDetails.Paypay; + export type Payto = Stripe_.PaymentRecord.PaymentMethodDetails.Payto; + export type Pix = Stripe_.PaymentRecord.PaymentMethodDetails.Pix; + export type Promptpay = Stripe_.PaymentRecord.PaymentMethodDetails.Promptpay; + export type Qris = Stripe_.PaymentRecord.PaymentMethodDetails.Qris; + export type Rechnung = Stripe_.PaymentRecord.PaymentMethodDetails.Rechnung; + export type RevolutPay = Stripe_.PaymentRecord.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe_.PaymentRecord.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe_.PaymentRecord.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe_.PaymentRecord.PaymentMethodDetails.Scalapay; + export type SepaCreditTransfer = Stripe_.PaymentRecord.PaymentMethodDetails.SepaCreditTransfer; + export type SepaDebit = Stripe_.PaymentRecord.PaymentMethodDetails.SepaDebit; + export type Shopeepay = Stripe_.PaymentRecord.PaymentMethodDetails.Shopeepay; + export type Sofort = Stripe_.PaymentRecord.PaymentMethodDetails.Sofort; + export type StripeAccount = Stripe_.PaymentRecord.PaymentMethodDetails.StripeAccount; + export type StripeBalance = Stripe_.PaymentRecord.PaymentMethodDetails.StripeBalance; + export type Sunbit = Stripe_.PaymentRecord.PaymentMethodDetails.Sunbit; + export type Swish = Stripe_.PaymentRecord.PaymentMethodDetails.Swish; + export type Tamara = Stripe_.PaymentRecord.PaymentMethodDetails.Tamara; + export type Twint = Stripe_.PaymentRecord.PaymentMethodDetails.Twint; + export type Upi = Stripe_.PaymentRecord.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.PaymentRecord.PaymentMethodDetails.UsBankAccount; + export type Wechat = Stripe_.PaymentRecord.PaymentMethodDetails.Wechat; + export type WechatPay = Stripe_.PaymentRecord.PaymentMethodDetails.WechatPay; + export type Zip = Stripe_.PaymentRecord.PaymentMethodDetails.Zip; + export namespace AchDebit { + export type AccountHolderType = Stripe_.PaymentRecord.PaymentMethodDetails.AchDebit.AccountHolderType; + } + export namespace Alma { + export type Installments = Stripe_.PaymentRecord.PaymentMethodDetails.Alma.Installments; + } + export namespace AmazonPay { + export type Funding = Stripe_.PaymentRecord.PaymentMethodDetails.AmazonPay.Funding; + export namespace Funding { + export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.AmazonPay.Funding.Card; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.PaymentRecord.PaymentMethodDetails.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Brand = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Brand; + export type Checks = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Checks; + export type Funding = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Funding; + export type Installments = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Installments; + export type Network = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Network; + export type NetworkToken = Stripe_.PaymentRecord.PaymentMethodDetails.Card.NetworkToken; + export type StoredCredentialUsage = Stripe_.PaymentRecord.PaymentMethodDetails.Card.StoredCredentialUsage; + export type ThreeDSecure = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Wallet; + export namespace Checks { + export type AddressLine1Check = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Checks.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck; + export type CvcCheck = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Checks.CvcCheck; + } + export namespace Installments { + export type Plan = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Installments.Plan; + export namespace Plan { + export type Type = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Installments.Plan.Type; + } + } + export namespace ThreeDSecure { + export type AuthenticationFlow = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type ExemptionIndicator = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator; + export type Result = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe_.PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure.Version; + } + export namespace Wallet { + export type ApplePay = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.PaymentRecord.PaymentMethodDetails.Card.Wallet.GooglePay; + } + } + export namespace CardPresent { + export type Multicapture = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Multicapture; + export type Offline = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.ReadMethod; + export type Reauthorization = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Reauthorization; + export type Receipt = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt; + export type Wallet = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet; + export namespace Multicapture { + export type Status = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Multicapture.Status; + } + export namespace Reauthorization { + export type Status = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Reauthorization.Status; + } + export namespace Receipt { + export type AccountType = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType; + } + export namespace Wallet { + export type Type = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + export namespace Crypto { + export type Network = Stripe_.PaymentRecord.PaymentMethodDetails.Crypto.Network; + export type TokenCurrency = Stripe_.PaymentRecord.PaymentMethodDetails.Crypto.TokenCurrency; + } + export namespace Eps { + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.PaymentRecord.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.Fpx.Bank; + } + export namespace GiftCard { + export type Balance = Stripe_.PaymentRecord.PaymentMethodDetails.GiftCard.Balance; + export type Brand = Stripe_.PaymentRecord.PaymentMethodDetails.GiftCard.Brand; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe_.PaymentRecord.PaymentMethodDetails.Ideal.Bic; + } + export namespace InteracPresent { + export type ReadMethod = Stripe_.PaymentRecord.PaymentMethodDetails.InteracPresent.ReadMethod; + export type Receipt = Stripe_.PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt; + export namespace Receipt { + export type AccountType = Stripe_.PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt.AccountType; + } + } + export namespace Klarna { + export type PayerDetails = Stripe_.PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails; + export namespace PayerDetails { + export type Address = Stripe_.PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails.Address; + } + } + export namespace Konbini { + export type Store = Stripe_.PaymentRecord.PaymentMethodDetails.Konbini.Store; + export namespace Store { + export type Chain = Stripe_.PaymentRecord.PaymentMethodDetails.Konbini.Store.Chain; + } + } + export namespace KrCard { + export type Brand = Stripe_.PaymentRecord.PaymentMethodDetails.KrCard.Brand; + } + export namespace Mobilepay { + export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.Mobilepay.Card; + } + export namespace P24 { + export type Bank = Stripe_.PaymentRecord.PaymentMethodDetails.P24.Bank; + } + export namespace Paypal { + export type SellerProtection = Stripe_.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection; + export namespace SellerProtection { + export type DisputeCategory = Stripe_.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection.DisputeCategory; + export type Status = Stripe_.PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection.Status; + } + } + export namespace RevolutPay { + export type Funding = Stripe_.PaymentRecord.PaymentMethodDetails.RevolutPay.Funding; + export namespace Funding { + export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.RevolutPay.Funding.Card; + } + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.PaymentRecord.PaymentMethodDetails.Sofort.PreferredLanguage; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.PaymentRecord.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.PaymentRecord.PaymentMethodDetails.UsBankAccount.AccountType; + } + } + export namespace ProcessorDetails { + export type Custom = Stripe_.PaymentRecord.ProcessorDetails.Custom; + export type FiservValuelink = Stripe_.PaymentRecord.ProcessorDetails.FiservValuelink; + export type Givex = Stripe_.PaymentRecord.ProcessorDetails.Givex; + export type Svs = Stripe_.PaymentRecord.ProcessorDetails.Svs; + export type Type = Stripe_.PaymentRecord.ProcessorDetails.Type; + } + } + export namespace PayoutCreateParams { + export type Method = Stripe_.PayoutCreateParams.Method; + export type SourceType = Stripe_.PayoutCreateParams.SourceType; + } + export namespace Payout { + export type ReconciliationStatus = Stripe_.Payout.ReconciliationStatus; + export type TraceId = Stripe_.Payout.TraceId; + export type Type = Stripe_.Payout.Type; + } + export namespace PlanCreateParams { + export type Interval = Stripe_.PlanCreateParams.Interval; + export type BillingScheme = Stripe_.PlanCreateParams.BillingScheme; + export type Product = Stripe_.PlanCreateParams.Product; + export type Tier = Stripe_.PlanCreateParams.Tier; + export type TiersMode = Stripe_.PlanCreateParams.TiersMode; + export type TransformUsage = Stripe_.PlanCreateParams.TransformUsage; + export type UsageType = Stripe_.PlanCreateParams.UsageType; + export namespace Product { + export type TaxDetails = Stripe_.PlanCreateParams.Product.TaxDetails; + } + export namespace TransformUsage { + export type Round = Stripe_.PlanCreateParams.TransformUsage.Round; + } + } + export namespace Plan { + export type BillingScheme = Stripe_.Plan.BillingScheme; + export type Interval = Stripe_.Plan.Interval; + export type Tier = Stripe_.Plan.Tier; + export type TiersMode = Stripe_.Plan.TiersMode; + export type TransformUsage = Stripe_.Plan.TransformUsage; + export type UsageType = Stripe_.Plan.UsageType; + export namespace TransformUsage { + export type Round = Stripe_.Plan.TransformUsage.Round; + } + } + export namespace PriceCreateParams { + export type BillingScheme = Stripe_.PriceCreateParams.BillingScheme; + export type CurrencyOptions = Stripe_.PriceCreateParams.CurrencyOptions; + export type CustomUnitAmount = Stripe_.PriceCreateParams.CustomUnitAmount; + export type ProductData = Stripe_.PriceCreateParams.ProductData; + export type Recurring = Stripe_.PriceCreateParams.Recurring; + export type TaxBehavior = Stripe_.PriceCreateParams.TaxBehavior; + export type Tier = Stripe_.PriceCreateParams.Tier; + export type TiersMode = Stripe_.PriceCreateParams.TiersMode; + export type TransformQuantity = Stripe_.PriceCreateParams.TransformQuantity; + export namespace CurrencyOptions { + export type CustomUnitAmount = Stripe_.PriceCreateParams.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe_.PriceCreateParams.CurrencyOptions.TaxBehavior; + export type Tier = Stripe_.PriceCreateParams.CurrencyOptions.Tier; + } + export namespace ProductData { + export type TaxDetails = Stripe_.PriceCreateParams.ProductData.TaxDetails; + } + export namespace Recurring { + export type Interval = Stripe_.PriceCreateParams.Recurring.Interval; + export type UsageType = Stripe_.PriceCreateParams.Recurring.UsageType; + } + export namespace TransformQuantity { + export type Round = Stripe_.PriceCreateParams.TransformQuantity.Round; + } + } + export namespace PriceUpdateParams { + export type CurrencyOptions = Stripe_.PriceUpdateParams.CurrencyOptions; + export type MigrateTo = Stripe_.PriceUpdateParams.MigrateTo; + export type TaxBehavior = Stripe_.PriceUpdateParams.TaxBehavior; + export namespace CurrencyOptions { + export type CustomUnitAmount = Stripe_.PriceUpdateParams.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe_.PriceUpdateParams.CurrencyOptions.TaxBehavior; + export type Tier = Stripe_.PriceUpdateParams.CurrencyOptions.Tier; + } + } + export namespace PriceListParams { + export type Recurring = Stripe_.PriceListParams.Recurring; + export type Type = Stripe_.PriceListParams.Type; + export namespace Recurring { + export type Interval = Stripe_.PriceListParams.Recurring.Interval; + export type UsageType = Stripe_.PriceListParams.Recurring.UsageType; + } + } + export namespace Price { + export type BillingScheme = Stripe_.Price.BillingScheme; + export type CurrencyOptions = Stripe_.Price.CurrencyOptions; + export type CustomUnitAmount = Stripe_.Price.CustomUnitAmount; + export type MigrateTo = Stripe_.Price.MigrateTo; + export type Recurring = Stripe_.Price.Recurring; + export type TaxBehavior = Stripe_.Price.TaxBehavior; + export type Tier = Stripe_.Price.Tier; + export type TiersMode = Stripe_.Price.TiersMode; + export type TransformQuantity = Stripe_.Price.TransformQuantity; + export type Type = Stripe_.Price.Type; + export namespace CurrencyOptions { + export type CustomUnitAmount = Stripe_.Price.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe_.Price.CurrencyOptions.TaxBehavior; + export type Tier = Stripe_.Price.CurrencyOptions.Tier; + } + export namespace Recurring { + export type Interval = Stripe_.Price.Recurring.Interval; + export type UsageType = Stripe_.Price.Recurring.UsageType; + } + export namespace TransformQuantity { + export type Round = Stripe_.Price.TransformQuantity.Round; + } + } + export namespace ProductCreateParams { + export type DefaultPriceData = Stripe_.ProductCreateParams.DefaultPriceData; + export type Identifiers = Stripe_.ProductCreateParams.Identifiers; + export type MarketingFeature = Stripe_.ProductCreateParams.MarketingFeature; + export type PackageDimensions = Stripe_.ProductCreateParams.PackageDimensions; + export type TaxDetails = Stripe_.ProductCreateParams.TaxDetails; + export type Type = Stripe_.ProductCreateParams.Type; + export namespace DefaultPriceData { + export type CurrencyOptions = Stripe_.ProductCreateParams.DefaultPriceData.CurrencyOptions; + export type CustomUnitAmount = Stripe_.ProductCreateParams.DefaultPriceData.CustomUnitAmount; + export type Recurring = Stripe_.ProductCreateParams.DefaultPriceData.Recurring; + export type TaxBehavior = Stripe_.ProductCreateParams.DefaultPriceData.TaxBehavior; + export namespace CurrencyOptions { + export type CustomUnitAmount = Stripe_.ProductCreateParams.DefaultPriceData.CurrencyOptions.CustomUnitAmount; + export type TaxBehavior = Stripe_.ProductCreateParams.DefaultPriceData.CurrencyOptions.TaxBehavior; + export type Tier = Stripe_.ProductCreateParams.DefaultPriceData.CurrencyOptions.Tier; + } + export namespace Recurring { + export type Interval = Stripe_.ProductCreateParams.DefaultPriceData.Recurring.Interval; + } + } + } + export namespace ProductUpdateParams { + export type Identifiers = Stripe_.ProductUpdateParams.Identifiers; + export type MarketingFeature = Stripe_.ProductUpdateParams.MarketingFeature; + export type PackageDimensions = Stripe_.ProductUpdateParams.PackageDimensions; + export type TaxDetails = Stripe_.ProductUpdateParams.TaxDetails; + } + export namespace ProductListParams { + export type Type = Stripe_.ProductListParams.Type; + } + export namespace Product { + export type Identifiers = Stripe_.Product.Identifiers; + export type ManagedPayments = Stripe_.Product.ManagedPayments; + export type MarketingFeature = Stripe_.Product.MarketingFeature; + export type PackageDimensions = Stripe_.Product.PackageDimensions; + export type TaxDetails = Stripe_.Product.TaxDetails; + export type Type = Stripe_.Product.Type; + export namespace ManagedPayments { + export type Eligibility = Stripe_.Product.ManagedPayments.Eligibility; + export type IneligibilityReason = Stripe_.Product.ManagedPayments.IneligibilityReason; + export namespace IneligibilityReason { + export type Code = Stripe_.Product.ManagedPayments.IneligibilityReason.Code; + } + } + } + export namespace PromotionCodeCreateParams { + export type Promotion = Stripe_.PromotionCodeCreateParams.Promotion; + export type Restrictions = Stripe_.PromotionCodeCreateParams.Restrictions; + export namespace Restrictions { + export type CurrencyOptions = Stripe_.PromotionCodeCreateParams.Restrictions.CurrencyOptions; + } + } + export namespace PromotionCodeUpdateParams { + export type Restrictions = Stripe_.PromotionCodeUpdateParams.Restrictions; + export namespace Restrictions { + export type CurrencyOptions = Stripe_.PromotionCodeUpdateParams.Restrictions.CurrencyOptions; + } + } + export namespace PromotionCode { + export type Promotion = Stripe_.PromotionCode.Promotion; + export type Restrictions = Stripe_.PromotionCode.Restrictions; + export namespace Restrictions { + export type CurrencyOptions = Stripe_.PromotionCode.Restrictions.CurrencyOptions; + } + } + export namespace QuoteCreateParams { + export type AutomaticTax = Stripe_.QuoteCreateParams.AutomaticTax; + export type CollectionMethod = Stripe_.QuoteCreateParams.CollectionMethod; + export type Discount = Stripe_.QuoteCreateParams.Discount; + export type FromQuote = Stripe_.QuoteCreateParams.FromQuote; + export type InvoiceSettings = Stripe_.QuoteCreateParams.InvoiceSettings; + export type LineItem = Stripe_.QuoteCreateParams.LineItem; + export type Line = Stripe_.QuoteCreateParams.Line; + export type SubscriptionData = Stripe_.QuoteCreateParams.SubscriptionData; + export type SubscriptionDataOverride = Stripe_.QuoteCreateParams.SubscriptionDataOverride; + export type TransferData = Stripe_.QuoteCreateParams.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.QuoteCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.QuoteCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteCreateParams.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.QuoteCreateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.QuoteCreateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.QuoteCreateParams.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.QuoteCreateParams.InvoiceSettings.Issuer.Type; + } + } + export namespace Line { + export type Action = Stripe_.QuoteCreateParams.Line.Action; + export type AppliesTo = Stripe_.QuoteCreateParams.Line.AppliesTo; + export type BillingCycleAnchor = Stripe_.QuoteCreateParams.Line.BillingCycleAnchor; + export type CancelSubscriptionSchedule = Stripe_.QuoteCreateParams.Line.CancelSubscriptionSchedule; + export type EffectiveAt = Stripe_.QuoteCreateParams.Line.EffectiveAt; + export type EndsAt = Stripe_.QuoteCreateParams.Line.EndsAt; + export type ProrationBehavior = Stripe_.QuoteCreateParams.Line.ProrationBehavior; + export type SetPauseCollection = Stripe_.QuoteCreateParams.Line.SetPauseCollection; + export type SetScheduleEnd = Stripe_.QuoteCreateParams.Line.SetScheduleEnd; + export type StartsAt = Stripe_.QuoteCreateParams.Line.StartsAt; + export type TrialSettings = Stripe_.QuoteCreateParams.Line.TrialSettings; + export namespace Action { + export type AddDiscount = Stripe_.QuoteCreateParams.Line.Action.AddDiscount; + export type AddItem = Stripe_.QuoteCreateParams.Line.Action.AddItem; + export type RemoveDiscount = Stripe_.QuoteCreateParams.Line.Action.RemoveDiscount; + export type RemoveItem = Stripe_.QuoteCreateParams.Line.Action.RemoveItem; + export type SetDiscount = Stripe_.QuoteCreateParams.Line.Action.SetDiscount; + export type SetItem = Stripe_.QuoteCreateParams.Line.Action.SetItem; + export type Type = Stripe_.QuoteCreateParams.Line.Action.Type; + export namespace AddDiscount { + export type DiscountEnd = Stripe_.QuoteCreateParams.Line.Action.AddDiscount.DiscountEnd; + export type Settings = Stripe_.QuoteCreateParams.Line.Action.AddDiscount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteCreateParams.Line.Action.AddDiscount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteCreateParams.Line.Action.AddDiscount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteCreateParams.Line.Action.AddDiscount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteCreateParams.Line.Action.AddDiscount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace AddItem { + export type Discount = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount; + export type Trial = Stripe_.QuoteCreateParams.Line.Action.AddItem.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.DiscountEnd; + export type Settings = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteCreateParams.Line.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.QuoteCreateParams.Line.Action.AddItem.Trial.Type; + } + } + export namespace SetDiscount { + export type Settings = Stripe_.QuoteCreateParams.Line.Action.SetDiscount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteCreateParams.Line.Action.SetDiscount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteCreateParams.Line.Action.SetDiscount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteCreateParams.Line.Action.SetDiscount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteCreateParams.Line.Action.SetDiscount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace SetItem { + export type Discount = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount; + export type Trial = Stripe_.QuoteCreateParams.Line.Action.SetItem.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.DiscountEnd; + export type Settings = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteCreateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.QuoteCreateParams.Line.Action.SetItem.Trial.Type; + } + } + } + export namespace AppliesTo { + export type Type = Stripe_.QuoteCreateParams.Line.AppliesTo.Type; + } + export namespace EndsAt { + export type DiscountEnd = Stripe_.QuoteCreateParams.Line.EndsAt.DiscountEnd; + export type Duration = Stripe_.QuoteCreateParams.Line.EndsAt.Duration; + export type Type = Stripe_.QuoteCreateParams.Line.EndsAt.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.Line.EndsAt.Duration.Interval; + } + } + export namespace SetPauseCollection { + export type Set = Stripe_.QuoteCreateParams.Line.SetPauseCollection.Set; + export type Type = Stripe_.QuoteCreateParams.Line.SetPauseCollection.Type; + export namespace Set { + export type Behavior = Stripe_.QuoteCreateParams.Line.SetPauseCollection.Set.Behavior; + } + } + export namespace StartsAt { + export type DiscountEnd = Stripe_.QuoteCreateParams.Line.StartsAt.DiscountEnd; + export type LineEndsAt = Stripe_.QuoteCreateParams.Line.StartsAt.LineEndsAt; + export type Type = Stripe_.QuoteCreateParams.Line.StartsAt.Type; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.QuoteCreateParams.Line.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.QuoteCreateParams.Line.TrialSettings.EndBehavior.ProrateUpFront; + } + } + } + export namespace LineItem { + export type Discount = Stripe_.QuoteCreateParams.LineItem.Discount; + export type PriceData = Stripe_.QuoteCreateParams.LineItem.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteCreateParams.LineItem.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.QuoteCreateParams.LineItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.QuoteCreateParams.LineItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.LineItem.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace PriceData { + export type Recurring = Stripe_.QuoteCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe_.QuoteCreateParams.LineItem.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe_.QuoteCreateParams.LineItem.PriceData.Recurring.Interval; + } + } + } + export namespace SubscriptionData { + export type BillOnAcceptance = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance; + export type BillingBehavior = Stripe_.QuoteCreateParams.SubscriptionData.BillingBehavior; + export type BillingMode = Stripe_.QuoteCreateParams.SubscriptionData.BillingMode; + export type BillingSchedule = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule; + export type EndBehavior = Stripe_.QuoteCreateParams.SubscriptionData.EndBehavior; + export type PhaseEffectiveAt = Stripe_.QuoteCreateParams.SubscriptionData.PhaseEffectiveAt; + export type Prebilling = Stripe_.QuoteCreateParams.SubscriptionData.Prebilling; + export type ProrationBehavior = Stripe_.QuoteCreateParams.SubscriptionData.ProrationBehavior; + export namespace BillingMode { + export type Flexible = Stripe_.QuoteCreateParams.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe_.QuoteCreateParams.SubscriptionData.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe_.QuoteCreateParams.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.AppliesTo; + export type BillFrom = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.BillFrom; + export type BillUntil = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.BillFrom.LineStartsAt; + export type Type = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.BillUntil.Duration; + export type LineEndsAt = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.BillUntil.LineEndsAt; + export type Type = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.SubscriptionData.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace BillOnAcceptance { + export type BillFrom = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance.BillFrom; + export type BillUntil = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance.BillFrom.LineStartsAt; + export type Type = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance.BillUntil.Duration; + export type LineEndsAt = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance.BillUntil.LineEndsAt; + export type Type = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.SubscriptionData.BillOnAcceptance.BillUntil.Duration.Interval; + } + } + } + } + export namespace SubscriptionDataOverride { + export type AppliesTo = Stripe_.QuoteCreateParams.SubscriptionDataOverride.AppliesTo; + export type BillOnAcceptance = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance; + export type BillingBehavior = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingBehavior; + export type BillingSchedule = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule; + export type EndBehavior = Stripe_.QuoteCreateParams.SubscriptionDataOverride.EndBehavior; + export type PhaseEffectiveAt = Stripe_.QuoteCreateParams.SubscriptionDataOverride.PhaseEffectiveAt; + export type ProrationBehavior = Stripe_.QuoteCreateParams.SubscriptionDataOverride.ProrationBehavior; + export namespace AppliesTo { + export type Type = Stripe_.QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Type; + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.AppliesTo; + export type BillFrom = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.BillFrom; + export type BillUntil = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.BillFrom.LineStartsAt; + export type Type = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.BillUntil.Duration; + export type LineEndsAt = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.BillUntil.LineEndsAt; + export type Type = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace BillOnAcceptance { + export type BillFrom = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom; + export type BillUntil = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.LineStartsAt; + export type Type = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Duration; + export type LineEndsAt = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil.LineEndsAt; + export type Type = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteCreateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Duration.Interval; + } + } + } + } + } + export namespace QuoteUpdateParams { + export type AutomaticTax = Stripe_.QuoteUpdateParams.AutomaticTax; + export type CollectionMethod = Stripe_.QuoteUpdateParams.CollectionMethod; + export type Discount = Stripe_.QuoteUpdateParams.Discount; + export type InvoiceSettings = Stripe_.QuoteUpdateParams.InvoiceSettings; + export type LineItem = Stripe_.QuoteUpdateParams.LineItem; + export type Line = Stripe_.QuoteUpdateParams.Line; + export type SubscriptionData = Stripe_.QuoteUpdateParams.SubscriptionData; + export type SubscriptionDataOverride = Stripe_.QuoteUpdateParams.SubscriptionDataOverride; + export type TransferData = Stripe_.QuoteUpdateParams.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.QuoteUpdateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.QuoteUpdateParams.AutomaticTax.Liability.Type; + } + } + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteUpdateParams.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.QuoteUpdateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.QuoteUpdateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.QuoteUpdateParams.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.QuoteUpdateParams.InvoiceSettings.Issuer.Type; + } + } + export namespace Line { + export type Action = Stripe_.QuoteUpdateParams.Line.Action; + export type AppliesTo = Stripe_.QuoteUpdateParams.Line.AppliesTo; + export type BillingCycleAnchor = Stripe_.QuoteUpdateParams.Line.BillingCycleAnchor; + export type CancelSubscriptionSchedule = Stripe_.QuoteUpdateParams.Line.CancelSubscriptionSchedule; + export type EffectiveAt = Stripe_.QuoteUpdateParams.Line.EffectiveAt; + export type EndsAt = Stripe_.QuoteUpdateParams.Line.EndsAt; + export type ProrationBehavior = Stripe_.QuoteUpdateParams.Line.ProrationBehavior; + export type SetPauseCollection = Stripe_.QuoteUpdateParams.Line.SetPauseCollection; + export type SetScheduleEnd = Stripe_.QuoteUpdateParams.Line.SetScheduleEnd; + export type StartsAt = Stripe_.QuoteUpdateParams.Line.StartsAt; + export type TrialSettings = Stripe_.QuoteUpdateParams.Line.TrialSettings; + export namespace Action { + export type AddDiscount = Stripe_.QuoteUpdateParams.Line.Action.AddDiscount; + export type AddItem = Stripe_.QuoteUpdateParams.Line.Action.AddItem; + export type RemoveDiscount = Stripe_.QuoteUpdateParams.Line.Action.RemoveDiscount; + export type RemoveItem = Stripe_.QuoteUpdateParams.Line.Action.RemoveItem; + export type SetDiscount = Stripe_.QuoteUpdateParams.Line.Action.SetDiscount; + export type SetItem = Stripe_.QuoteUpdateParams.Line.Action.SetItem; + export type Type = Stripe_.QuoteUpdateParams.Line.Action.Type; + export namespace AddDiscount { + export type DiscountEnd = Stripe_.QuoteUpdateParams.Line.Action.AddDiscount.DiscountEnd; + export type Settings = Stripe_.QuoteUpdateParams.Line.Action.AddDiscount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteUpdateParams.Line.Action.AddDiscount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteUpdateParams.Line.Action.AddDiscount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteUpdateParams.Line.Action.AddDiscount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteUpdateParams.Line.Action.AddDiscount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace AddItem { + export type Discount = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount; + export type Trial = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.DiscountEnd; + export type Settings = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.QuoteUpdateParams.Line.Action.AddItem.Trial.Type; + } + } + export namespace SetDiscount { + export type Settings = Stripe_.QuoteUpdateParams.Line.Action.SetDiscount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteUpdateParams.Line.Action.SetDiscount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteUpdateParams.Line.Action.SetDiscount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteUpdateParams.Line.Action.SetDiscount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteUpdateParams.Line.Action.SetDiscount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace SetItem { + export type Discount = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount; + export type Trial = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.DiscountEnd; + export type Settings = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.QuoteUpdateParams.Line.Action.SetItem.Trial.Type; + } + } + } + export namespace AppliesTo { + export type Type = Stripe_.QuoteUpdateParams.Line.AppliesTo.Type; + } + export namespace EndsAt { + export type DiscountEnd = Stripe_.QuoteUpdateParams.Line.EndsAt.DiscountEnd; + export type Duration = Stripe_.QuoteUpdateParams.Line.EndsAt.Duration; + export type Type = Stripe_.QuoteUpdateParams.Line.EndsAt.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.Line.EndsAt.Duration.Interval; + } + } + export namespace SetPauseCollection { + export type Set = Stripe_.QuoteUpdateParams.Line.SetPauseCollection.Set; + export type Type = Stripe_.QuoteUpdateParams.Line.SetPauseCollection.Type; + export namespace Set { + export type Behavior = Stripe_.QuoteUpdateParams.Line.SetPauseCollection.Set.Behavior; + } + } + export namespace StartsAt { + export type DiscountEnd = Stripe_.QuoteUpdateParams.Line.StartsAt.DiscountEnd; + export type LineEndsAt = Stripe_.QuoteUpdateParams.Line.StartsAt.LineEndsAt; + export type Type = Stripe_.QuoteUpdateParams.Line.StartsAt.Type; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.QuoteUpdateParams.Line.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.QuoteUpdateParams.Line.TrialSettings.EndBehavior.ProrateUpFront; + } + } + } + export namespace LineItem { + export type Discount = Stripe_.QuoteUpdateParams.LineItem.Discount; + export type PriceData = Stripe_.QuoteUpdateParams.LineItem.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteUpdateParams.LineItem.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.QuoteUpdateParams.LineItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.QuoteUpdateParams.LineItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.LineItem.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace PriceData { + export type Recurring = Stripe_.QuoteUpdateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe_.QuoteUpdateParams.LineItem.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe_.QuoteUpdateParams.LineItem.PriceData.Recurring.Interval; + } + } + } + export namespace SubscriptionData { + export type BillOnAcceptance = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance; + export type BillingBehavior = Stripe_.QuoteUpdateParams.SubscriptionData.BillingBehavior; + export type BillingSchedule = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule; + export type EndBehavior = Stripe_.QuoteUpdateParams.SubscriptionData.EndBehavior; + export type PhaseEffectiveAt = Stripe_.QuoteUpdateParams.SubscriptionData.PhaseEffectiveAt; + export type Prebilling = Stripe_.QuoteUpdateParams.SubscriptionData.Prebilling; + export type ProrationBehavior = Stripe_.QuoteUpdateParams.SubscriptionData.ProrationBehavior; + export namespace BillingSchedule { + export type AppliesTo = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.AppliesTo; + export type BillFrom = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.BillFrom; + export type BillUntil = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.BillFrom.LineStartsAt; + export type Type = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.BillUntil.Duration; + export type LineEndsAt = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.BillUntil.LineEndsAt; + export type Type = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.SubscriptionData.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace BillOnAcceptance { + export type BillFrom = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance.BillFrom; + export type BillUntil = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance.BillFrom.LineStartsAt; + export type Type = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance.BillUntil.Duration; + export type LineEndsAt = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance.BillUntil.LineEndsAt; + export type Type = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.SubscriptionData.BillOnAcceptance.BillUntil.Duration.Interval; + } + } + } + } + export namespace SubscriptionDataOverride { + export type AppliesTo = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.AppliesTo; + export type BillOnAcceptance = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance; + export type BillingBehavior = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingBehavior; + export type BillingSchedule = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule; + export type EndBehavior = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.EndBehavior; + export type PhaseEffectiveAt = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.PhaseEffectiveAt; + export type ProrationBehavior = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.ProrationBehavior; + export namespace AppliesTo { + export type Type = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.AppliesTo.Type; + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.AppliesTo; + export type BillFrom = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.BillFrom; + export type BillUntil = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.BillFrom.LineStartsAt; + export type Type = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.BillUntil.Duration; + export type LineEndsAt = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.BillUntil.LineEndsAt; + export type Type = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace BillOnAcceptance { + export type BillFrom = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom; + export type BillUntil = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.LineStartsAt; + export type Type = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Duration; + export type LineEndsAt = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil.LineEndsAt; + export type Type = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteUpdateParams.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Duration.Interval; + } + } + } + } + } + export namespace QuoteListParams { + export type Status = Stripe_.QuoteListParams.Status; + } + export namespace Quote { + export type AutomaticTax = Stripe_.Quote.AutomaticTax; + export type CollectionMethod = Stripe_.Quote.CollectionMethod; + export type Computed = Stripe_.Quote.Computed; + export type FromQuote = Stripe_.Quote.FromQuote; + export type InvoiceSettings = Stripe_.Quote.InvoiceSettings; + export type Status = Stripe_.Quote.Status; + export type StatusDetails = Stripe_.Quote.StatusDetails; + export type StatusTransitions = Stripe_.Quote.StatusTransitions; + export type SubscriptionData = Stripe_.Quote.SubscriptionData; + export type SubscriptionDataOverride = Stripe_.Quote.SubscriptionDataOverride; + export type SubscriptionSchedule = Stripe_.Quote.SubscriptionSchedule; + export type TotalDetails = Stripe_.Quote.TotalDetails; + export type TransferData = Stripe_.Quote.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.Quote.AutomaticTax.Liability; + export type Status = Stripe_.Quote.AutomaticTax.Status; + export namespace Liability { + export type Type = Stripe_.Quote.AutomaticTax.Liability.Type; + } + } + export namespace Computed { + export type LastReestimationDetails = Stripe_.Quote.Computed.LastReestimationDetails; + export type Recurring = Stripe_.Quote.Computed.Recurring; + export type Upfront = Stripe_.Quote.Computed.Upfront; + export namespace LastReestimationDetails { + export type Failed = Stripe_.Quote.Computed.LastReestimationDetails.Failed; + export type Status = Stripe_.Quote.Computed.LastReestimationDetails.Status; + export namespace Failed { + export type Reason = Stripe_.Quote.Computed.LastReestimationDetails.Failed.Reason; + } + } + export namespace Recurring { + export type Interval = Stripe_.Quote.Computed.Recurring.Interval; + export type TotalDetails = Stripe_.Quote.Computed.Recurring.TotalDetails; + export namespace TotalDetails { + export type Breakdown = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax.TaxabilityReason; + } + } + } + } + export namespace Upfront { + export type TotalDetails = Stripe_.Quote.Computed.Upfront.TotalDetails; + export namespace TotalDetails { + export type Breakdown = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax.TaxabilityReason; + } + } + } + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.Quote.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.Quote.InvoiceSettings.Issuer.Type; + } + } + export namespace StatusDetails { + export type Canceled = Stripe_.Quote.StatusDetails.Canceled; + export type Stale = Stripe_.Quote.StatusDetails.Stale; + export namespace Canceled { + export type Reason = Stripe_.Quote.StatusDetails.Canceled.Reason; + } + export namespace Stale { + export type LastReason = Stripe_.Quote.StatusDetails.Stale.LastReason; + export namespace LastReason { + export type LinesInvalid = Stripe_.Quote.StatusDetails.Stale.LastReason.LinesInvalid; + export type SubscriptionChanged = Stripe_.Quote.StatusDetails.Stale.LastReason.SubscriptionChanged; + export type SubscriptionScheduleChanged = Stripe_.Quote.StatusDetails.Stale.LastReason.SubscriptionScheduleChanged; + export type Type = Stripe_.Quote.StatusDetails.Stale.LastReason.Type; + } + } + } + export namespace SubscriptionData { + export type BillOnAcceptance = Stripe_.Quote.SubscriptionData.BillOnAcceptance; + export type BillingBehavior = Stripe_.Quote.SubscriptionData.BillingBehavior; + export type BillingMode = Stripe_.Quote.SubscriptionData.BillingMode; + export type BillingSchedule = Stripe_.Quote.SubscriptionData.BillingSchedule; + export type EndBehavior = Stripe_.Quote.SubscriptionData.EndBehavior; + export type PhaseEffectiveAt = Stripe_.Quote.SubscriptionData.PhaseEffectiveAt; + export type Prebilling = Stripe_.Quote.SubscriptionData.Prebilling; + export type ProrationBehavior = Stripe_.Quote.SubscriptionData.ProrationBehavior; + export namespace BillingMode { + export type Flexible = Stripe_.Quote.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe_.Quote.SubscriptionData.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe_.Quote.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.Quote.SubscriptionData.BillingSchedule.AppliesTo; + export type BillFrom = Stripe_.Quote.SubscriptionData.BillingSchedule.BillFrom; + export type BillUntil = Stripe_.Quote.SubscriptionData.BillingSchedule.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.Quote.SubscriptionData.BillingSchedule.BillFrom.LineStartsAt; + export type Type = Stripe_.Quote.SubscriptionData.BillingSchedule.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.Quote.SubscriptionData.BillingSchedule.BillUntil.Duration; + export type LineEndsAt = Stripe_.Quote.SubscriptionData.BillingSchedule.BillUntil.LineEndsAt; + export type Type = Stripe_.Quote.SubscriptionData.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.Quote.SubscriptionData.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace BillOnAcceptance { + export type BillFrom = Stripe_.Quote.SubscriptionData.BillOnAcceptance.BillFrom; + export type BillUntil = Stripe_.Quote.SubscriptionData.BillOnAcceptance.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.Quote.SubscriptionData.BillOnAcceptance.BillFrom.LineStartsAt; + export type Type = Stripe_.Quote.SubscriptionData.BillOnAcceptance.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.Quote.SubscriptionData.BillOnAcceptance.BillUntil.Duration; + export type LineEndsAt = Stripe_.Quote.SubscriptionData.BillOnAcceptance.BillUntil.LineEndsAt; + export type Type = Stripe_.Quote.SubscriptionData.BillOnAcceptance.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.Quote.SubscriptionData.BillOnAcceptance.BillUntil.Duration.Interval; + } + } + } + } + export namespace SubscriptionDataOverride { + export type AppliesTo = Stripe_.Quote.SubscriptionDataOverride.AppliesTo; + export type BillOnAcceptance = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance; + export type BillingBehavior = Stripe_.Quote.SubscriptionDataOverride.BillingBehavior; + export type BillingSchedule = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule; + export type EndBehavior = Stripe_.Quote.SubscriptionDataOverride.EndBehavior; + export type PhaseEffectiveAt = Stripe_.Quote.SubscriptionDataOverride.PhaseEffectiveAt; + export type ProrationBehavior = Stripe_.Quote.SubscriptionDataOverride.ProrationBehavior; + export namespace AppliesTo { + export type Type = Stripe_.Quote.SubscriptionDataOverride.AppliesTo.Type; + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.AppliesTo; + export type BillFrom = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.BillFrom; + export type BillUntil = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.BillFrom.LineStartsAt; + export type Type = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.BillUntil.Duration; + export type LineEndsAt = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.BillUntil.LineEndsAt; + export type Type = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.Quote.SubscriptionDataOverride.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace BillOnAcceptance { + export type BillFrom = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance.BillFrom; + export type BillUntil = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance.BillUntil; + export namespace BillFrom { + export type LineStartsAt = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance.BillFrom.LineStartsAt; + export type Type = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance.BillFrom.Type; + } + export namespace BillUntil { + export type Duration = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Duration; + export type LineEndsAt = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance.BillUntil.LineEndsAt; + export type Type = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.Quote.SubscriptionDataOverride.BillOnAcceptance.BillUntil.Duration.Interval; + } + } + } + } + export namespace SubscriptionSchedule { + export type AppliesTo = Stripe_.Quote.SubscriptionSchedule.AppliesTo; + export namespace AppliesTo { + export type Type = Stripe_.Quote.SubscriptionSchedule.AppliesTo.Type; + } + } + export namespace TotalDetails { + export type Breakdown = Stripe_.Quote.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe_.Quote.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Quote.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.Quote.TotalDetails.Breakdown.Tax.TaxabilityReason; + } + } + } } - export namespace PaymentMethodCreateParams { - export type AcssDebit = Stripe.PaymentMethodCreateParams.AcssDebit; - export type Affirm = Stripe.PaymentMethodCreateParams.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethodCreateParams.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethodCreateParams.Alipay; - export type AllowRedisplay = Stripe.PaymentMethodCreateParams.AllowRedisplay; - export type Alma = Stripe.PaymentMethodCreateParams.Alma; - export type AmazonPay = Stripe.PaymentMethodCreateParams.AmazonPay; - export type AuBecsDebit = Stripe.PaymentMethodCreateParams.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethodCreateParams.BacsDebit; - export type Bancontact = Stripe.PaymentMethodCreateParams.Bancontact; - export type Billie = Stripe.PaymentMethodCreateParams.Billie; - export type BillingDetails = Stripe.PaymentMethodCreateParams.BillingDetails; - export type Bizum = Stripe.PaymentMethodCreateParams.Bizum; - export type Blik = Stripe.PaymentMethodCreateParams.Blik; - export type Boleto = Stripe.PaymentMethodCreateParams.Boleto; - export type Card = Stripe.PaymentMethodCreateParams.Card; - export type Cashapp = Stripe.PaymentMethodCreateParams.Cashapp; - export type Crypto = Stripe.PaymentMethodCreateParams.Crypto; - export type Custom = Stripe.PaymentMethodCreateParams.Custom; - export type CustomerBalance = Stripe.PaymentMethodCreateParams.CustomerBalance; - export type Eps = Stripe.PaymentMethodCreateParams.Eps; - export type Fpx = Stripe.PaymentMethodCreateParams.Fpx; - export type GiftCard = Stripe.PaymentMethodCreateParams.GiftCard; - export type Giropay = Stripe.PaymentMethodCreateParams.Giropay; - export type Gopay = Stripe.PaymentMethodCreateParams.Gopay; - export type Grabpay = Stripe.PaymentMethodCreateParams.Grabpay; - export type IdBankTransfer = Stripe.PaymentMethodCreateParams.IdBankTransfer; - export type Ideal = Stripe.PaymentMethodCreateParams.Ideal; - export type InteracPresent = Stripe.PaymentMethodCreateParams.InteracPresent; - export type KakaoPay = Stripe.PaymentMethodCreateParams.KakaoPay; - export type Klarna = Stripe.PaymentMethodCreateParams.Klarna; - export type Konbini = Stripe.PaymentMethodCreateParams.Konbini; - export type KrCard = Stripe.PaymentMethodCreateParams.KrCard; - export type Link = Stripe.PaymentMethodCreateParams.Link; - export type MbWay = Stripe.PaymentMethodCreateParams.MbWay; - export type Mobilepay = Stripe.PaymentMethodCreateParams.Mobilepay; - export type Multibanco = Stripe.PaymentMethodCreateParams.Multibanco; - export type NaverPay = Stripe.PaymentMethodCreateParams.NaverPay; - export type NzBankAccount = Stripe.PaymentMethodCreateParams.NzBankAccount; - export type Oxxo = Stripe.PaymentMethodCreateParams.Oxxo; - export type P24 = Stripe.PaymentMethodCreateParams.P24; - export type PayByBank = Stripe.PaymentMethodCreateParams.PayByBank; - export type Payco = Stripe.PaymentMethodCreateParams.Payco; - export type Paynow = Stripe.PaymentMethodCreateParams.Paynow; - export type Paypal = Stripe.PaymentMethodCreateParams.Paypal; - export type Paypay = Stripe.PaymentMethodCreateParams.Paypay; - export type Payto = Stripe.PaymentMethodCreateParams.Payto; - export type Pix = Stripe.PaymentMethodCreateParams.Pix; - export type Promptpay = Stripe.PaymentMethodCreateParams.Promptpay; - export type Qris = Stripe.PaymentMethodCreateParams.Qris; - export type RadarOptions = Stripe.PaymentMethodCreateParams.RadarOptions; - export type Rechnung = Stripe.PaymentMethodCreateParams.Rechnung; - export type RevolutPay = Stripe.PaymentMethodCreateParams.RevolutPay; - export type SamsungPay = Stripe.PaymentMethodCreateParams.SamsungPay; - export type Satispay = Stripe.PaymentMethodCreateParams.Satispay; - export type Scalapay = Stripe.PaymentMethodCreateParams.Scalapay; - export type SepaDebit = Stripe.PaymentMethodCreateParams.SepaDebit; - export type Shopeepay = Stripe.PaymentMethodCreateParams.Shopeepay; - export type Sofort = Stripe.PaymentMethodCreateParams.Sofort; - export type StripeBalance = Stripe.PaymentMethodCreateParams.StripeBalance; - export type Sunbit = Stripe.PaymentMethodCreateParams.Sunbit; - export type Swish = Stripe.PaymentMethodCreateParams.Swish; - export type Tamara = Stripe.PaymentMethodCreateParams.Tamara; - export type Twint = Stripe.PaymentMethodCreateParams.Twint; - export type Type = Stripe.PaymentMethodCreateParams.Type; - export type Upi = Stripe.PaymentMethodCreateParams.Upi; - export type UsBankAccount = Stripe.PaymentMethodCreateParams.UsBankAccount; - export type WechatPay = Stripe.PaymentMethodCreateParams.WechatPay; - export type Zip = Stripe.PaymentMethodCreateParams.Zip; + export namespace RefundCreateParams { + export type Reason = Stripe_.RefundCreateParams.Reason; + } + export namespace Refund { + export type DestinationDetails = Stripe_.Refund.DestinationDetails; + export type NextAction = Stripe_.Refund.NextAction; + export type PendingReason = Stripe_.Refund.PendingReason; + export type PresentmentDetails = Stripe_.Refund.PresentmentDetails; + export type Reason = Stripe_.Refund.Reason; + export namespace DestinationDetails { + export type Affirm = Stripe_.Refund.DestinationDetails.Affirm; + export type AfterpayClearpay = Stripe_.Refund.DestinationDetails.AfterpayClearpay; + export type Alipay = Stripe_.Refund.DestinationDetails.Alipay; + export type Alma = Stripe_.Refund.DestinationDetails.Alma; + export type AmazonPay = Stripe_.Refund.DestinationDetails.AmazonPay; + export type AuBankTransfer = Stripe_.Refund.DestinationDetails.AuBankTransfer; + export type Blik = Stripe_.Refund.DestinationDetails.Blik; + export type BrBankTransfer = Stripe_.Refund.DestinationDetails.BrBankTransfer; + export type Card = Stripe_.Refund.DestinationDetails.Card; + export type Cashapp = Stripe_.Refund.DestinationDetails.Cashapp; + export type Crypto = Stripe_.Refund.DestinationDetails.Crypto; + export type CustomerCashBalance = Stripe_.Refund.DestinationDetails.CustomerCashBalance; + export type Eps = Stripe_.Refund.DestinationDetails.Eps; + export type EuBankTransfer = Stripe_.Refund.DestinationDetails.EuBankTransfer; + export type GbBankTransfer = Stripe_.Refund.DestinationDetails.GbBankTransfer; + export type Giropay = Stripe_.Refund.DestinationDetails.Giropay; + export type Grabpay = Stripe_.Refund.DestinationDetails.Grabpay; + export type IdBankTransfer = Stripe_.Refund.DestinationDetails.IdBankTransfer; + export type JpBankTransfer = Stripe_.Refund.DestinationDetails.JpBankTransfer; + export type Klarna = Stripe_.Refund.DestinationDetails.Klarna; + export type MbWay = Stripe_.Refund.DestinationDetails.MbWay; + export type Multibanco = Stripe_.Refund.DestinationDetails.Multibanco; + export type MxBankTransfer = Stripe_.Refund.DestinationDetails.MxBankTransfer; + export type NzBankTransfer = Stripe_.Refund.DestinationDetails.NzBankTransfer; + export type P24 = Stripe_.Refund.DestinationDetails.P24; + export type Paynow = Stripe_.Refund.DestinationDetails.Paynow; + export type Paypal = Stripe_.Refund.DestinationDetails.Paypal; + export type Pix = Stripe_.Refund.DestinationDetails.Pix; + export type Revolut = Stripe_.Refund.DestinationDetails.Revolut; + export type Scalapay = Stripe_.Refund.DestinationDetails.Scalapay; + export type Sofort = Stripe_.Refund.DestinationDetails.Sofort; + export type Swish = Stripe_.Refund.DestinationDetails.Swish; + export type ThBankTransfer = Stripe_.Refund.DestinationDetails.ThBankTransfer; + export type Twint = Stripe_.Refund.DestinationDetails.Twint; + export type UsBankTransfer = Stripe_.Refund.DestinationDetails.UsBankTransfer; + export type WechatPay = Stripe_.Refund.DestinationDetails.WechatPay; + export type Zip = Stripe_.Refund.DestinationDetails.Zip; + export namespace Card { + export type Type = Stripe_.Refund.DestinationDetails.Card.Type; + } + } + export namespace NextAction { + export type DisplayDetails = Stripe_.Refund.NextAction.DisplayDetails; + export namespace DisplayDetails { + export type EmailSent = Stripe_.Refund.NextAction.DisplayDetails.EmailSent; + } + } + } + export namespace Review { + export type ClosedReason = Stripe_.Review.ClosedReason; + export type IpAddressLocation = Stripe_.Review.IpAddressLocation; + export type OpenedReason = Stripe_.Review.OpenedReason; + export type Session = Stripe_.Review.Session; + } + export namespace SetupAttempt { + export type FlowDirection = Stripe_.SetupAttempt.FlowDirection; + export type PaymentMethodDetails = Stripe_.SetupAttempt.PaymentMethodDetails; + export type SetupError = Stripe_.SetupAttempt.SetupError; + export namespace PaymentMethodDetails { + export type AcssDebit = Stripe_.SetupAttempt.PaymentMethodDetails.AcssDebit; + export type AmazonPay = Stripe_.SetupAttempt.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.SetupAttempt.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.SetupAttempt.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe_.SetupAttempt.PaymentMethodDetails.Bancontact; + export type Boleto = Stripe_.SetupAttempt.PaymentMethodDetails.Boleto; + export type Card = Stripe_.SetupAttempt.PaymentMethodDetails.Card; + export type CardPresent = Stripe_.SetupAttempt.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe_.SetupAttempt.PaymentMethodDetails.Cashapp; + export type IdBankTransfer = Stripe_.SetupAttempt.PaymentMethodDetails.IdBankTransfer; + export type Ideal = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal; + export type KakaoPay = Stripe_.SetupAttempt.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.SetupAttempt.PaymentMethodDetails.Klarna; + export type KrCard = Stripe_.SetupAttempt.PaymentMethodDetails.KrCard; + export type Link = Stripe_.SetupAttempt.PaymentMethodDetails.Link; + export type NaverPay = Stripe_.SetupAttempt.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.SetupAttempt.PaymentMethodDetails.NzBankAccount; + export type Paypal = Stripe_.SetupAttempt.PaymentMethodDetails.Paypal; + export type Payto = Stripe_.SetupAttempt.PaymentMethodDetails.Payto; + export type Pix = Stripe_.SetupAttempt.PaymentMethodDetails.Pix; + export type RevolutPay = Stripe_.SetupAttempt.PaymentMethodDetails.RevolutPay; + export type SepaDebit = Stripe_.SetupAttempt.PaymentMethodDetails.SepaDebit; + export type Sofort = Stripe_.SetupAttempt.PaymentMethodDetails.Sofort; + export type StripeBalance = Stripe_.SetupAttempt.PaymentMethodDetails.StripeBalance; + export type Twint = Stripe_.SetupAttempt.PaymentMethodDetails.Twint; + export type Upi = Stripe_.SetupAttempt.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.SetupAttempt.PaymentMethodDetails.UsBankAccount; + export namespace Bancontact { + export type PreferredLanguage = Stripe_.SetupAttempt.PaymentMethodDetails.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Checks = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Checks; + export type ThreeDSecure = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure; + export type Wallet = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet; + export namespace ThreeDSecure { + export type AuthenticationFlow = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; + export type ElectronicCommerceIndicator = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type Result = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Result; + export type ResultReason = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; + export type Version = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Version; + } + export namespace Wallet { + export type ApplePay = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.GooglePay; + export type Type = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.Type; + } + } + export namespace CardPresent { + export type Offline = Stripe_.SetupAttempt.PaymentMethodDetails.CardPresent.Offline; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.SetupAttempt.PaymentMethodDetails.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal.Bic; + } + export namespace Sofort { + export type PreferredLanguage = Stripe_.SetupAttempt.PaymentMethodDetails.Sofort.PreferredLanguage; + } + } + export namespace SetupError { + export type Code = Stripe_.SetupAttempt.SetupError.Code; + export type Type = Stripe_.SetupAttempt.SetupError.Type; + } + } + export namespace SetupIntentCreateParams { + export type AutomaticPaymentMethods = Stripe_.SetupIntentCreateParams.AutomaticPaymentMethods; + export type ExcludedPaymentMethodType = Stripe_.SetupIntentCreateParams.ExcludedPaymentMethodType; + export type FlowDirection = Stripe_.SetupIntentCreateParams.FlowDirection; + export type MandateData = Stripe_.SetupIntentCreateParams.MandateData; + export type PaymentMethodData = Stripe_.SetupIntentCreateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions; + export type SetupDetails = Stripe_.SetupIntentCreateParams.SetupDetails; + export type SingleUse = Stripe_.SetupIntentCreateParams.SingleUse; + export type Usage = Stripe_.SetupIntentCreateParams.Usage; + export namespace AutomaticPaymentMethods { + export type AllowRedirects = Stripe_.SetupIntentCreateParams.AutomaticPaymentMethods.AllowRedirects; + } + export namespace MandateData { + export type CustomerAcceptance = Stripe_.SetupIntentCreateParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Offline = Stripe_.SetupIntentCreateParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe_.SetupIntentCreateParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe_.SetupIntentCreateParams.MandateData.CustomerAcceptance.Type; + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.SetupIntentCreateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.SetupIntentCreateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.SetupIntentCreateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.SetupIntentCreateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.SetupIntentCreateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.SetupIntentCreateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.SetupIntentCreateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.SetupIntentCreateParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.SetupIntentCreateParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.SetupIntentCreateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.SetupIntentCreateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.SetupIntentCreateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.SetupIntentCreateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.SetupIntentCreateParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.SetupIntentCreateParams.PaymentMethodData.Fpx; + export type GiftCard = Stripe_.SetupIntentCreateParams.PaymentMethodData.GiftCard; + export type Giropay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Giropay; + export type Gopay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Gopay; + export type Grabpay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Grabpay; + export type IdBankTransfer = Stripe_.SetupIntentCreateParams.PaymentMethodData.IdBankTransfer; + export type Ideal = Stripe_.SetupIntentCreateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.SetupIntentCreateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.SetupIntentCreateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.SetupIntentCreateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.SetupIntentCreateParams.PaymentMethodData.KrCard; + export type Link = Stripe_.SetupIntentCreateParams.PaymentMethodData.Link; + export type MbWay = Stripe_.SetupIntentCreateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.SetupIntentCreateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.SetupIntentCreateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.SetupIntentCreateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.SetupIntentCreateParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.SetupIntentCreateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.SetupIntentCreateParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.SetupIntentCreateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.SetupIntentCreateParams.PaymentMethodData.Paypal; + export type Paypay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Paypay; + export type Payto = Stripe_.SetupIntentCreateParams.PaymentMethodData.Payto; + export type Pix = Stripe_.SetupIntentCreateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Promptpay; + export type Qris = Stripe_.SetupIntentCreateParams.PaymentMethodData.Qris; + export type RadarOptions = Stripe_.SetupIntentCreateParams.PaymentMethodData.RadarOptions; + export type Rechnung = Stripe_.SetupIntentCreateParams.PaymentMethodData.Rechnung; + export type RevolutPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.SepaDebit; + export type Shopeepay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Shopeepay; + export type Sofort = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sofort; + export type StripeBalance = Stripe_.SetupIntentCreateParams.PaymentMethodData.StripeBalance; + export type Sunbit = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.SetupIntentCreateParams.PaymentMethodData.Swish; + export type Tamara = Stripe_.SetupIntentCreateParams.PaymentMethodData.Tamara; + export type Twint = Stripe_.SetupIntentCreateParams.PaymentMethodData.Twint; + export type Type = Stripe_.SetupIntentCreateParams.PaymentMethodData.Type; + export type Upi = Stripe_.SetupIntentCreateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.SetupIntentCreateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.SetupIntentCreateParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.SetupIntentCreateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.Fpx.Bank; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe_.SetupIntentCreateParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe_.SetupIntentCreateParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.SetupIntentCreateParams.PaymentMethodData.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.SetupIntentCreateParams.PaymentMethodData.Rechnung.Dob; + } + export namespace Sofort { + export type Country = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.SetupIntentCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.SetupIntentCreateParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Bizum; + export type Card = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna; + export type Link = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Link; + export type Paypal = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.SepaDebit; + export type StripeBalance = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.StripeBalance; + export type Upi = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace Klarna { + export type OnDemand = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace Payto { + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + } + export namespace StripeBalance { + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.StripeBalance.MandateOptions; + } + export namespace Upi { + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + export namespace Networks { + export type Requested = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + } + export namespace SetupDetails { + export type Benefit = Stripe_.SetupIntentCreateParams.SetupDetails.Benefit; + export namespace Benefit { + export type FrMealVoucher = Stripe_.SetupIntentCreateParams.SetupDetails.Benefit.FrMealVoucher; + export namespace FrMealVoucher { + export type Enabled = Stripe_.SetupIntentCreateParams.SetupDetails.Benefit.FrMealVoucher.Enabled; + } + } + } } - export namespace PaymentMethodUpdateParams { - export type AllowRedisplay = Stripe.PaymentMethodUpdateParams.AllowRedisplay; - export type BillingDetails = Stripe.PaymentMethodUpdateParams.BillingDetails; - export type Card = Stripe.PaymentMethodUpdateParams.Card; - export type Custom = Stripe.PaymentMethodUpdateParams.Custom; - export type Payto = Stripe.PaymentMethodUpdateParams.Payto; - export type UsBankAccount = Stripe.PaymentMethodUpdateParams.UsBankAccount; + export namespace SetupIntentUpdateParams { + export type ExcludedPaymentMethodType = Stripe_.SetupIntentUpdateParams.ExcludedPaymentMethodType; + export type FlowDirection = Stripe_.SetupIntentUpdateParams.FlowDirection; + export type PaymentMethodData = Stripe_.SetupIntentUpdateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions; + export type SetupDetails = Stripe_.SetupIntentUpdateParams.SetupDetails; + export namespace PaymentMethodData { + export type AcssDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.SetupIntentUpdateParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.SetupIntentUpdateParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Fpx; + export type GiftCard = Stripe_.SetupIntentUpdateParams.PaymentMethodData.GiftCard; + export type Giropay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Giropay; + export type Gopay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Gopay; + export type Grabpay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Grabpay; + export type IdBankTransfer = Stripe_.SetupIntentUpdateParams.PaymentMethodData.IdBankTransfer; + export type Ideal = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.SetupIntentUpdateParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.SetupIntentUpdateParams.PaymentMethodData.KrCard; + export type Link = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Link; + export type MbWay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.SetupIntentUpdateParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.SetupIntentUpdateParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Paypal; + export type Paypay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Paypay; + export type Payto = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Payto; + export type Pix = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Promptpay; + export type Qris = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Qris; + export type RadarOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodData.RadarOptions; + export type Rechnung = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Rechnung; + export type RevolutPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.SepaDebit; + export type Shopeepay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Shopeepay; + export type Sofort = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sofort; + export type StripeBalance = Stripe_.SetupIntentUpdateParams.PaymentMethodData.StripeBalance; + export type Sunbit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Swish; + export type Tamara = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Tamara; + export type Twint = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Twint; + export type Type = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Type; + export type Upi = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Fpx.Bank; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe_.SetupIntentUpdateParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.SetupIntentUpdateParams.PaymentMethodData.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Rechnung.Dob; + } + export namespace Sofort { + export type Country = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.SetupIntentUpdateParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Bizum; + export type Card = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna; + export type Link = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Link; + export type Paypal = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit; + export type StripeBalance = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.StripeBalance; + export type Upi = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; + } + } + } + } + export namespace Klarna { + export type OnDemand = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace Payto { + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + } + export namespace StripeBalance { + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.StripeBalance.MandateOptions; + } + export namespace Upi { + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + export namespace Networks { + export type Requested = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + } + export namespace SetupDetails { + export type Benefit = Stripe_.SetupIntentUpdateParams.SetupDetails.Benefit; + export namespace Benefit { + export type FrMealVoucher = Stripe_.SetupIntentUpdateParams.SetupDetails.Benefit.FrMealVoucher; + export namespace FrMealVoucher { + export type Enabled = Stripe_.SetupIntentUpdateParams.SetupDetails.Benefit.FrMealVoucher.Enabled; + } + } + } } - export namespace PaymentMethodListParams { - export type AllowRedisplay = Stripe_.PaymentMethodListParams.AllowRedisplay; - export type Type = Stripe_.PaymentMethodListParams.Type; + export namespace SetupIntentCancelParams { + export type CancellationReason = Stripe_.SetupIntentCancelParams.CancellationReason; } - export namespace PaymentMethod { - export type AcssDebit = Stripe_.PaymentMethod.AcssDebit; - export type Affirm = Stripe_.PaymentMethod.Affirm; - export type AfterpayClearpay = Stripe_.PaymentMethod.AfterpayClearpay; - export type Alipay = Stripe_.PaymentMethod.Alipay; - export type AllowRedisplay = Stripe_.PaymentMethod.AllowRedisplay; - export type Alma = Stripe_.PaymentMethod.Alma; - export type AmazonPay = Stripe_.PaymentMethod.AmazonPay; - export type AuBecsDebit = Stripe_.PaymentMethod.AuBecsDebit; - export type BacsDebit = Stripe_.PaymentMethod.BacsDebit; - export type Bancontact = Stripe_.PaymentMethod.Bancontact; - export type Billie = Stripe_.PaymentMethod.Billie; - export type BillingDetails = Stripe_.PaymentMethod.BillingDetails; - export type Bizum = Stripe_.PaymentMethod.Bizum; - export type Blik = Stripe_.PaymentMethod.Blik; - export type Boleto = Stripe_.PaymentMethod.Boleto; - export type Card = Stripe_.PaymentMethod.Card; - export type CardPresent = Stripe_.PaymentMethod.CardPresent; - export type Cashapp = Stripe_.PaymentMethod.Cashapp; - export type Crypto = Stripe_.PaymentMethod.Crypto; - export type Custom = Stripe_.PaymentMethod.Custom; - export type CustomerBalance = Stripe_.PaymentMethod.CustomerBalance; - export type Eps = Stripe_.PaymentMethod.Eps; - export type Fpx = Stripe_.PaymentMethod.Fpx; - export type Giropay = Stripe_.PaymentMethod.Giropay; - export type Grabpay = Stripe_.PaymentMethod.Grabpay; - export type Ideal = Stripe_.PaymentMethod.Ideal; - export type InteracPresent = Stripe_.PaymentMethod.InteracPresent; - export type KakaoPay = Stripe_.PaymentMethod.KakaoPay; - export type Klarna = Stripe_.PaymentMethod.Klarna; - export type Konbini = Stripe_.PaymentMethod.Konbini; - export type KrCard = Stripe_.PaymentMethod.KrCard; - export type Link = Stripe_.PaymentMethod.Link; - export type MbWay = Stripe_.PaymentMethod.MbWay; - export type Mobilepay = Stripe_.PaymentMethod.Mobilepay; - export type Multibanco = Stripe_.PaymentMethod.Multibanco; - export type NaverPay = Stripe_.PaymentMethod.NaverPay; - export type NzBankAccount = Stripe_.PaymentMethod.NzBankAccount; - export type Oxxo = Stripe_.PaymentMethod.Oxxo; - export type P24 = Stripe_.PaymentMethod.P24; - export type PayByBank = Stripe_.PaymentMethod.PayByBank; - export type Payco = Stripe_.PaymentMethod.Payco; - export type Paynow = Stripe_.PaymentMethod.Paynow; - export type Paypal = Stripe_.PaymentMethod.Paypal; - export type Payto = Stripe_.PaymentMethod.Payto; - export type Pix = Stripe_.PaymentMethod.Pix; - export type Promptpay = Stripe_.PaymentMethod.Promptpay; - export type RadarOptions = Stripe_.PaymentMethod.RadarOptions; - export type RevolutPay = Stripe_.PaymentMethod.RevolutPay; - export type SamsungPay = Stripe_.PaymentMethod.SamsungPay; - export type Satispay = Stripe_.PaymentMethod.Satispay; - export type Scalapay = Stripe_.PaymentMethod.Scalapay; - export type SepaDebit = Stripe_.PaymentMethod.SepaDebit; - export type Sofort = Stripe_.PaymentMethod.Sofort; - export type Sunbit = Stripe_.PaymentMethod.Sunbit; - export type Swish = Stripe_.PaymentMethod.Swish; - export type Twint = Stripe_.PaymentMethod.Twint; - export type Type = Stripe_.PaymentMethod.Type; - export type Upi = Stripe_.PaymentMethod.Upi; - export type UsBankAccount = Stripe_.PaymentMethod.UsBankAccount; - export type WechatPay = Stripe_.PaymentMethod.WechatPay; - export type Zip = Stripe_.PaymentMethod.Zip; - export namespace Card { - export type Checks = Stripe_.PaymentMethod.Card.Checks; - export type GeneratedFrom = Stripe_.PaymentMethod.Card.GeneratedFrom; - export type Networks = Stripe_.PaymentMethod.Card.Networks; - export type RegulatedStatus = Stripe_.PaymentMethod.Card.RegulatedStatus; - export type ThreeDSecureUsage = Stripe_.PaymentMethod.Card.ThreeDSecureUsage; - export type Wallet = Stripe_.PaymentMethod.Card.Wallet; - export namespace GeneratedFrom { - export type PaymentMethodDetails = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails; - export namespace PaymentMethodDetails { - export type CardPresent = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent; - export namespace CardPresent { - export type Offline = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline; - export type ReadMethod = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.ReadMethod; - export type Receipt = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt; - export type Wallet = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet; - export namespace Receipt { - export type AccountType = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType; - } - export namespace Wallet { - export type Type = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type; + export namespace SetupIntentConfirmParams { + export type MandateData = Stripe_.SetupIntentConfirmParams.MandateData; + export type PaymentMethodData = Stripe_.SetupIntentConfirmParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions; + export type SetupDetails = Stripe_.SetupIntentConfirmParams.SetupDetails; + export namespace MandateData { + export type CustomerAcceptance = Stripe_.SetupIntentConfirmParams.MandateData.CustomerAcceptance; + export namespace CustomerAcceptance { + export type Offline = Stripe_.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Offline; + export type Online = Stripe_.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Online; + export type Type = Stripe_.SetupIntentConfirmParams.MandateData.CustomerAcceptance.Type; + } + } + export namespace PaymentMethodData { + export type AcssDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AcssDebit; + export type Affirm = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Affirm; + export type AfterpayClearpay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AfterpayClearpay; + export type Alipay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Alipay; + export type AllowRedisplay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AllowRedisplay; + export type Alma = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Alma; + export type AmazonPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AmazonPay; + export type AuBecsDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.AuBecsDebit; + export type BacsDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.BacsDebit; + export type Bancontact = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Bancontact; + export type Billie = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Billie; + export type BillingDetails = Stripe_.SetupIntentConfirmParams.PaymentMethodData.BillingDetails; + export type Bizum = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Bizum; + export type Blik = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Blik; + export type Boleto = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Boleto; + export type Cashapp = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Cashapp; + export type Crypto = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Crypto; + export type CustomerBalance = Stripe_.SetupIntentConfirmParams.PaymentMethodData.CustomerBalance; + export type Eps = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Eps; + export type Fpx = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Fpx; + export type GiftCard = Stripe_.SetupIntentConfirmParams.PaymentMethodData.GiftCard; + export type Giropay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Giropay; + export type Gopay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Gopay; + export type Grabpay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Grabpay; + export type IdBankTransfer = Stripe_.SetupIntentConfirmParams.PaymentMethodData.IdBankTransfer; + export type Ideal = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Ideal; + export type InteracPresent = Stripe_.SetupIntentConfirmParams.PaymentMethodData.InteracPresent; + export type KakaoPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.KakaoPay; + export type Klarna = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Klarna; + export type Konbini = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Konbini; + export type KrCard = Stripe_.SetupIntentConfirmParams.PaymentMethodData.KrCard; + export type Link = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Link; + export type MbWay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.MbWay; + export type Mobilepay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Mobilepay; + export type Multibanco = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Multibanco; + export type NaverPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.NaverPay; + export type NzBankAccount = Stripe_.SetupIntentConfirmParams.PaymentMethodData.NzBankAccount; + export type Oxxo = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Oxxo; + export type P24 = Stripe_.SetupIntentConfirmParams.PaymentMethodData.P24; + export type PayByBank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.PayByBank; + export type Payco = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Payco; + export type Paynow = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Paynow; + export type Paypal = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Paypal; + export type Paypay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Paypay; + export type Payto = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Payto; + export type Pix = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Pix; + export type Promptpay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Promptpay; + export type Qris = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Qris; + export type RadarOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodData.RadarOptions; + export type Rechnung = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Rechnung; + export type RevolutPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.RevolutPay; + export type SamsungPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.SamsungPay; + export type Satispay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Satispay; + export type Scalapay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Scalapay; + export type SepaDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.SepaDebit; + export type Shopeepay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Shopeepay; + export type Sofort = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sofort; + export type StripeBalance = Stripe_.SetupIntentConfirmParams.PaymentMethodData.StripeBalance; + export type Sunbit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sunbit; + export type Swish = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Swish; + export type Tamara = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Tamara; + export type Twint = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Twint; + export type Type = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Type; + export type Upi = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Upi; + export type UsBankAccount = Stripe_.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount; + export type WechatPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.WechatPay; + export type Zip = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Zip; + export namespace Eps { + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Fpx.AccountHolderType; + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Fpx.Bank; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Ideal.Bank; + } + export namespace Klarna { + export type Dob = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Klarna.Dob; + } + export namespace NaverPay { + export type Funding = Stripe_.SetupIntentConfirmParams.PaymentMethodData.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.SetupIntentConfirmParams.PaymentMethodData.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Rechnung.Dob; + } + export namespace Sofort { + export type Country = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sofort.Country; + } + export namespace Upi { + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.SetupIntentConfirmParams.PaymentMethodData.UsBankAccount.AccountType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Bizum; + export type Card = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna; + export type Link = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Link; + export type Paypal = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit; + export type StripeBalance = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.StripeBalance; + export type Upi = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type ThreeDSecure = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } + export namespace ThreeDSecure { + export type AresTransStatus = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.AresTransStatus; + export type ElectronicCommerceIndicator = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.ElectronicCommerceIndicator; + export type NetworkOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions; + export type Version = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.Version; + export namespace NetworkOptions { + export type CartesBancaires = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires; + export namespace CartesBancaires { + export type CbAvalgo = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Card.ThreeDSecure.NetworkOptions.CartesBancaires.CbAvalgo; } } } } - export namespace Wallet { - export type AmexExpressCheckout = Stripe_.PaymentMethod.Card.Wallet.AmexExpressCheckout; - export type ApplePay = Stripe_.PaymentMethod.Card.Wallet.ApplePay; - export type GooglePay = Stripe_.PaymentMethod.Card.Wallet.GooglePay; - export type Link = Stripe_.PaymentMethod.Card.Wallet.Link; - export type Masterpass = Stripe_.PaymentMethod.Card.Wallet.Masterpass; - export type SamsungPay = Stripe_.PaymentMethod.Card.Wallet.SamsungPay; - export type Type = Stripe_.PaymentMethod.Card.Wallet.Type; - export type VisaCheckout = Stripe_.PaymentMethod.Card.Wallet.VisaCheckout; + export namespace Klarna { + export type OnDemand = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand; + export type PreferredLocale = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.PreferredLocale; + export type Subscription = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription; + export namespace OnDemand { + export type PurchaseInterval = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.OnDemand.PurchaseInterval; + } + export namespace Subscription { + export type Interval = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace Payto { + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; + } + export namespace StripeBalance { + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.StripeBalance.MandateOptions; + } + export namespace Upi { + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type Networks = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks; + export type VerificationMethod = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + export namespace Networks { + export type Requested = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount.Networks.Requested; + } + } + } + export namespace SetupDetails { + export type Benefit = Stripe_.SetupIntentConfirmParams.SetupDetails.Benefit; + export namespace Benefit { + export type FrMealVoucher = Stripe_.SetupIntentConfirmParams.SetupDetails.Benefit.FrMealVoucher; + export namespace FrMealVoucher { + export type Enabled = Stripe_.SetupIntentConfirmParams.SetupDetails.Benefit.FrMealVoucher.Enabled; + } + } + } + } + export namespace SetupIntent { + export type AutomaticPaymentMethods = Stripe_.SetupIntent.AutomaticPaymentMethods; + export type CancellationReason = Stripe_.SetupIntent.CancellationReason; + export type ExcludedPaymentMethodType = Stripe_.SetupIntent.ExcludedPaymentMethodType; + export type FlowDirection = Stripe_.SetupIntent.FlowDirection; + export type LastSetupError = Stripe_.SetupIntent.LastSetupError; + export type ManagedPayments = Stripe_.SetupIntent.ManagedPayments; + export type NextAction = Stripe_.SetupIntent.NextAction; + export type PaymentMethodConfigurationDetails = Stripe_.SetupIntent.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe_.SetupIntent.PaymentMethodOptions; + export type SetupDetails = Stripe_.SetupIntent.SetupDetails; + export type Status = Stripe_.SetupIntent.Status; + export namespace AutomaticPaymentMethods { + export type AllowRedirects = Stripe_.SetupIntent.AutomaticPaymentMethods.AllowRedirects; + } + export namespace LastSetupError { + export type Code = Stripe_.SetupIntent.LastSetupError.Code; + export type Type = Stripe_.SetupIntent.LastSetupError.Type; + } + export namespace NextAction { + export type BlikAuthorize = Stripe_.SetupIntent.NextAction.BlikAuthorize; + export type CashappHandleRedirectOrDisplayQrCode = Stripe_.SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode; + export type PixDisplayQrCode = Stripe_.SetupIntent.NextAction.PixDisplayQrCode; + export type RedirectToUrl = Stripe_.SetupIntent.NextAction.RedirectToUrl; + export type UpiHandleRedirectOrDisplayQrCode = Stripe_.SetupIntent.NextAction.UpiHandleRedirectOrDisplayQrCode; + export type UseStripeSdk = Stripe_.SetupIntent.NextAction.UseStripeSdk; + export type VerifyWithMicrodeposits = Stripe_.SetupIntent.NextAction.VerifyWithMicrodeposits; + export type WechatPayHandleAppRedirect = Stripe_.SetupIntent.NextAction.WechatPayHandleAppRedirect; + export namespace CashappHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe_.SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace UpiHandleRedirectOrDisplayQrCode { + export type QrCode = Stripe_.SetupIntent.NextAction.UpiHandleRedirectOrDisplayQrCode.QrCode; + } + export namespace VerifyWithMicrodeposits { + export type MicrodepositType = Stripe_.SetupIntent.NextAction.VerifyWithMicrodeposits.MicrodepositType; + } + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit; + export type AmazonPay = Stripe_.SetupIntent.PaymentMethodOptions.AmazonPay; + export type BacsDebit = Stripe_.SetupIntent.PaymentMethodOptions.BacsDebit; + export type Bizum = Stripe_.SetupIntent.PaymentMethodOptions.Bizum; + export type Card = Stripe_.SetupIntent.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.SetupIntent.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.SetupIntent.PaymentMethodOptions.Klarna; + export type Link = Stripe_.SetupIntent.PaymentMethodOptions.Link; + export type Paypal = Stripe_.SetupIntent.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.SetupIntent.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SetupIntent.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SetupIntent.PaymentMethodOptions.SepaDebit; + export type StripeBalance = Stripe_.SetupIntent.PaymentMethodOptions.StripeBalance; + export type Upi = Stripe_.SetupIntent.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SetupIntent.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntent.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.SetupIntent.PaymentMethodOptions.Card.MandateOptions.Interval; + } + } + export namespace Payto { + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.SetupIntent.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.SetupIntent.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions; + } + export namespace StripeBalance { + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.StripeBalance.MandateOptions; + } + export namespace Upi { + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SetupIntent.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.MandateOptions; + export type VerificationMethod = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + } + } + export namespace SetupDetails { + export type Benefit = Stripe_.SetupIntent.SetupDetails.Benefit; + export namespace Benefit { + export type FrMealVoucher = Stripe_.SetupIntent.SetupDetails.Benefit.FrMealVoucher; + export namespace FrMealVoucher { + export type Enabled = Stripe_.SetupIntent.SetupDetails.Benefit.FrMealVoucher.Enabled; + } + } + } + } + export namespace ShippingRateCreateParams { + export type DeliveryEstimate = Stripe_.ShippingRateCreateParams.DeliveryEstimate; + export type FixedAmount = Stripe_.ShippingRateCreateParams.FixedAmount; + export type TaxBehavior = Stripe_.ShippingRateCreateParams.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Minimum.Unit; } } - export namespace CardPresent { - export type Networks = Stripe_.PaymentMethod.CardPresent.Networks; - export type Offline = Stripe_.PaymentMethod.CardPresent.Offline; - export type ReadMethod = Stripe_.PaymentMethod.CardPresent.ReadMethod; - export type Wallet = Stripe_.PaymentMethod.CardPresent.Wallet; - export namespace Wallet { - export type Type = Stripe_.PaymentMethod.CardPresent.Wallet.Type; + export namespace FixedAmount { + export type CurrencyOptions = Stripe_.ShippingRateCreateParams.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe_.ShippingRateCreateParams.FixedAmount.CurrencyOptions.TaxBehavior; } } - export namespace Custom { - export type Logo = Stripe_.PaymentMethod.Custom.Logo; + } + export namespace ShippingRateUpdateParams { + export type FixedAmount = Stripe_.ShippingRateUpdateParams.FixedAmount; + export type TaxBehavior = Stripe_.ShippingRateUpdateParams.TaxBehavior; + export namespace FixedAmount { + export type CurrencyOptions = Stripe_.ShippingRateUpdateParams.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe_.ShippingRateUpdateParams.FixedAmount.CurrencyOptions.TaxBehavior; + } } - export namespace Eps { - export type Bank = Stripe_.PaymentMethod.Eps.Bank; + } + export namespace ShippingRate { + export type DeliveryEstimate = Stripe_.ShippingRate.DeliveryEstimate; + export type FixedAmount = Stripe_.ShippingRate.FixedAmount; + export type TaxBehavior = Stripe_.ShippingRate.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe_.ShippingRate.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.ShippingRate.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe_.ShippingRate.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe_.ShippingRate.DeliveryEstimate.Minimum.Unit; + } } - export namespace Fpx { - export type AccountHolderType = Stripe_.PaymentMethod.Fpx.AccountHolderType; - export type Bank = Stripe_.PaymentMethod.Fpx.Bank; + export namespace FixedAmount { + export type CurrencyOptions = Stripe_.ShippingRate.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe_.ShippingRate.FixedAmount.CurrencyOptions.TaxBehavior; + } } - export namespace Ideal { - export type Bank = Stripe_.PaymentMethod.Ideal.Bank; - export type Bic = Stripe_.PaymentMethod.Ideal.Bic; + } + export namespace SourceCreateParams { + export type Flow = Stripe_.SourceCreateParams.Flow; + export type Mandate = Stripe_.SourceCreateParams.Mandate; + export type Owner = Stripe_.SourceCreateParams.Owner; + export type Receiver = Stripe_.SourceCreateParams.Receiver; + export type Redirect = Stripe_.SourceCreateParams.Redirect; + export type SourceOrder = Stripe_.SourceCreateParams.SourceOrder; + export type Usage = Stripe_.SourceCreateParams.Usage; + export namespace Mandate { + export type Acceptance = Stripe_.SourceCreateParams.Mandate.Acceptance; + export type Interval = Stripe_.SourceCreateParams.Mandate.Interval; + export type NotificationMethod = Stripe_.SourceCreateParams.Mandate.NotificationMethod; + export namespace Acceptance { + export type Offline = Stripe_.SourceCreateParams.Mandate.Acceptance.Offline; + export type Online = Stripe_.SourceCreateParams.Mandate.Acceptance.Online; + export type Status = Stripe_.SourceCreateParams.Mandate.Acceptance.Status; + export type Type = Stripe_.SourceCreateParams.Mandate.Acceptance.Type; + } } - export namespace InteracPresent { - export type Networks = Stripe_.PaymentMethod.InteracPresent.Networks; - export type ReadMethod = Stripe_.PaymentMethod.InteracPresent.ReadMethod; + export namespace Receiver { + export type RefundAttributesMethod = Stripe_.SourceCreateParams.Receiver.RefundAttributesMethod; } - export namespace Klarna { - export type Dob = Stripe_.PaymentMethod.Klarna.Dob; + export namespace SourceOrder { + export type Item = Stripe_.SourceCreateParams.SourceOrder.Item; + export type Shipping = Stripe_.SourceCreateParams.SourceOrder.Shipping; + export namespace Item { + export type Type = Stripe_.SourceCreateParams.SourceOrder.Item.Type; + } } - export namespace KrCard { - export type Brand = Stripe_.PaymentMethod.KrCard.Brand; + } + export namespace SourceUpdateParams { + export type Mandate = Stripe_.SourceUpdateParams.Mandate; + export type Owner = Stripe_.SourceUpdateParams.Owner; + export type SourceOrder = Stripe_.SourceUpdateParams.SourceOrder; + export namespace Mandate { + export type Acceptance = Stripe_.SourceUpdateParams.Mandate.Acceptance; + export type Interval = Stripe_.SourceUpdateParams.Mandate.Interval; + export type NotificationMethod = Stripe_.SourceUpdateParams.Mandate.NotificationMethod; + export namespace Acceptance { + export type Offline = Stripe_.SourceUpdateParams.Mandate.Acceptance.Offline; + export type Online = Stripe_.SourceUpdateParams.Mandate.Acceptance.Online; + export type Status = Stripe_.SourceUpdateParams.Mandate.Acceptance.Status; + export type Type = Stripe_.SourceUpdateParams.Mandate.Acceptance.Type; + } } - export namespace NaverPay { - export type Funding = Stripe_.PaymentMethod.NaverPay.Funding; + export namespace SourceOrder { + export type Item = Stripe_.SourceUpdateParams.SourceOrder.Item; + export type Shipping = Stripe_.SourceUpdateParams.SourceOrder.Shipping; + export namespace Item { + export type Type = Stripe_.SourceUpdateParams.SourceOrder.Item.Type; + } } - export namespace P24 { - export type Bank = Stripe_.PaymentMethod.P24.Bank; + } + export namespace Source { + export type AchCreditTransfer = Stripe_.Source.AchCreditTransfer; + export type AchDebit = Stripe_.Source.AchDebit; + export type AcssDebit = Stripe_.Source.AcssDebit; + export type Alipay = Stripe_.Source.Alipay; + export type AllowRedisplay = Stripe_.Source.AllowRedisplay; + export type AuBecsDebit = Stripe_.Source.AuBecsDebit; + export type Bancontact = Stripe_.Source.Bancontact; + export type Card = Stripe_.Source.Card; + export type CardPresent = Stripe_.Source.CardPresent; + export type CodeVerification = Stripe_.Source.CodeVerification; + export type Eps = Stripe_.Source.Eps; + export type Giropay = Stripe_.Source.Giropay; + export type Ideal = Stripe_.Source.Ideal; + export type Klarna = Stripe_.Source.Klarna; + export type Multibanco = Stripe_.Source.Multibanco; + export type Owner = Stripe_.Source.Owner; + export type P24 = Stripe_.Source.P24; + export type Paypal = Stripe_.Source.Paypal; + export type Receiver = Stripe_.Source.Receiver; + export type Redirect = Stripe_.Source.Redirect; + export type SepaCreditTransfer = Stripe_.Source.SepaCreditTransfer; + export type SepaDebit = Stripe_.Source.SepaDebit; + export type Sofort = Stripe_.Source.Sofort; + export type SourceOrder = Stripe_.Source.SourceOrder; + export type ThreeDSecure = Stripe_.Source.ThreeDSecure; + export type Type = Stripe_.Source.Type; + export type Wechat = Stripe_.Source.Wechat; + export namespace SourceOrder { + export type Item = Stripe_.Source.SourceOrder.Item; + export type Shipping = Stripe_.Source.SourceOrder.Shipping; } - export namespace SepaDebit { - export type GeneratedFrom = Stripe_.PaymentMethod.SepaDebit.GeneratedFrom; + } + export namespace SubscriptionCreateParams { + export type AddInvoiceItem = Stripe_.SubscriptionCreateParams.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionCreateParams.AutomaticTax; + export type BillingCycleAnchorConfig = Stripe_.SubscriptionCreateParams.BillingCycleAnchorConfig; + export type BillingMode = Stripe_.SubscriptionCreateParams.BillingMode; + export type BillingSchedule = Stripe_.SubscriptionCreateParams.BillingSchedule; + export type BillingThresholds = Stripe_.SubscriptionCreateParams.BillingThresholds; + export type CancelAt = Stripe_.SubscriptionCreateParams.CancelAt; + export type CollectionMethod = Stripe_.SubscriptionCreateParams.CollectionMethod; + export type Discount = Stripe_.SubscriptionCreateParams.Discount; + export type InvoiceSettings = Stripe_.SubscriptionCreateParams.InvoiceSettings; + export type Item = Stripe_.SubscriptionCreateParams.Item; + export type PaymentBehavior = Stripe_.SubscriptionCreateParams.PaymentBehavior; + export type PaymentSettings = Stripe_.SubscriptionCreateParams.PaymentSettings; + export type PendingInvoiceItemInterval = Stripe_.SubscriptionCreateParams.PendingInvoiceItemInterval; + export type Prebilling = Stripe_.SubscriptionCreateParams.Prebilling; + export type ProrationBehavior = Stripe_.SubscriptionCreateParams.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionCreateParams.TransferData; + export type TrialSettings = Stripe_.SubscriptionCreateParams.TrialSettings; + export namespace AddInvoiceItem { + export type Discount = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period; + export type PriceData = Stripe_.SubscriptionCreateParams.AddInvoiceItem.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace Period { + export type End = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe_.SubscriptionCreateParams.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe_.SubscriptionCreateParams.AddInvoiceItem.PriceData.TaxBehavior; + } } - export namespace UsBankAccount { - export type AccountHolderType = Stripe_.PaymentMethod.UsBankAccount.AccountHolderType; - export type AccountType = Stripe_.PaymentMethod.UsBankAccount.AccountType; - export type Networks = Stripe_.PaymentMethod.UsBankAccount.Networks; - export type StatusDetails = Stripe_.PaymentMethod.UsBankAccount.StatusDetails; - export namespace Networks { - export type Supported = Stripe_.PaymentMethod.UsBankAccount.Networks.Supported; + export namespace AutomaticTax { + export type Liability = Stripe_.SubscriptionCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.SubscriptionCreateParams.AutomaticTax.Liability.Type; } - export namespace StatusDetails { - export type Blocked = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked; - export namespace Blocked { - export type NetworkCode = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked.NetworkCode; - export type Reason = Stripe_.PaymentMethod.UsBankAccount.StatusDetails.Blocked.Reason; + } + export namespace BillingMode { + export type Flexible = Stripe_.SubscriptionCreateParams.BillingMode.Flexible; + export type Type = Stripe_.SubscriptionCreateParams.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe_.SubscriptionCreateParams.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.SubscriptionCreateParams.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.SubscriptionCreateParams.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe_.SubscriptionCreateParams.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.SubscriptionCreateParams.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionCreateParams.BillingSchedule.BillUntil.Duration.Interval; } } } - } - export namespace PaymentMethodConfigurationCreateParams { - export type AcssDebit = Stripe.PaymentMethodConfigurationCreateParams.AcssDebit; - export type Affirm = Stripe.PaymentMethodConfigurationCreateParams.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethodConfigurationCreateParams.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethodConfigurationCreateParams.Alipay; - export type Alma = Stripe.PaymentMethodConfigurationCreateParams.Alma; - export type AmazonPay = Stripe.PaymentMethodConfigurationCreateParams.AmazonPay; - export type ApplePay = Stripe.PaymentMethodConfigurationCreateParams.ApplePay; - export type ApplePayLater = Stripe.PaymentMethodConfigurationCreateParams.ApplePayLater; - export type AuBecsDebit = Stripe.PaymentMethodConfigurationCreateParams.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethodConfigurationCreateParams.BacsDebit; - export type Bancontact = Stripe.PaymentMethodConfigurationCreateParams.Bancontact; - export type Billie = Stripe.PaymentMethodConfigurationCreateParams.Billie; - export type Bizum = Stripe.PaymentMethodConfigurationCreateParams.Bizum; - export type Blik = Stripe.PaymentMethodConfigurationCreateParams.Blik; - export type Boleto = Stripe.PaymentMethodConfigurationCreateParams.Boleto; - export type Card = Stripe.PaymentMethodConfigurationCreateParams.Card; - export type CartesBancaires = Stripe.PaymentMethodConfigurationCreateParams.CartesBancaires; - export type Cashapp = Stripe.PaymentMethodConfigurationCreateParams.Cashapp; - export type Crypto = Stripe.PaymentMethodConfigurationCreateParams.Crypto; - export type CustomerBalance = Stripe.PaymentMethodConfigurationCreateParams.CustomerBalance; - export type Eps = Stripe.PaymentMethodConfigurationCreateParams.Eps; - export type Fpx = Stripe.PaymentMethodConfigurationCreateParams.Fpx; - export type FrMealVoucherConecs = Stripe.PaymentMethodConfigurationCreateParams.FrMealVoucherConecs; - export type Giropay = Stripe.PaymentMethodConfigurationCreateParams.Giropay; - export type GooglePay = Stripe.PaymentMethodConfigurationCreateParams.GooglePay; - export type Gopay = Stripe.PaymentMethodConfigurationCreateParams.Gopay; - export type Grabpay = Stripe.PaymentMethodConfigurationCreateParams.Grabpay; - export type IdBankTransfer = Stripe.PaymentMethodConfigurationCreateParams.IdBankTransfer; - export type Ideal = Stripe.PaymentMethodConfigurationCreateParams.Ideal; - export type Jcb = Stripe.PaymentMethodConfigurationCreateParams.Jcb; - export type KakaoPay = Stripe.PaymentMethodConfigurationCreateParams.KakaoPay; - export type Klarna = Stripe.PaymentMethodConfigurationCreateParams.Klarna; - export type Konbini = Stripe.PaymentMethodConfigurationCreateParams.Konbini; - export type KrCard = Stripe.PaymentMethodConfigurationCreateParams.KrCard; - export type Link = Stripe.PaymentMethodConfigurationCreateParams.Link; - export type MbWay = Stripe.PaymentMethodConfigurationCreateParams.MbWay; - export type Mobilepay = Stripe.PaymentMethodConfigurationCreateParams.Mobilepay; - export type Multibanco = Stripe.PaymentMethodConfigurationCreateParams.Multibanco; - export type NaverPay = Stripe.PaymentMethodConfigurationCreateParams.NaverPay; - export type NzBankAccount = Stripe.PaymentMethodConfigurationCreateParams.NzBankAccount; - export type Oxxo = Stripe.PaymentMethodConfigurationCreateParams.Oxxo; - export type P24 = Stripe.PaymentMethodConfigurationCreateParams.P24; - export type PayByBank = Stripe.PaymentMethodConfigurationCreateParams.PayByBank; - export type Payco = Stripe.PaymentMethodConfigurationCreateParams.Payco; - export type Paynow = Stripe.PaymentMethodConfigurationCreateParams.Paynow; - export type Paypal = Stripe.PaymentMethodConfigurationCreateParams.Paypal; - export type Paypay = Stripe.PaymentMethodConfigurationCreateParams.Paypay; - export type Payto = Stripe.PaymentMethodConfigurationCreateParams.Payto; - export type Pix = Stripe.PaymentMethodConfigurationCreateParams.Pix; - export type Promptpay = Stripe.PaymentMethodConfigurationCreateParams.Promptpay; - export type Qris = Stripe.PaymentMethodConfigurationCreateParams.Qris; - export type RevolutPay = Stripe.PaymentMethodConfigurationCreateParams.RevolutPay; - export type SamsungPay = Stripe.PaymentMethodConfigurationCreateParams.SamsungPay; - export type Satispay = Stripe.PaymentMethodConfigurationCreateParams.Satispay; - export type Scalapay = Stripe.PaymentMethodConfigurationCreateParams.Scalapay; - export type SepaDebit = Stripe.PaymentMethodConfigurationCreateParams.SepaDebit; - export type Shopeepay = Stripe.PaymentMethodConfigurationCreateParams.Shopeepay; - export type Sofort = Stripe.PaymentMethodConfigurationCreateParams.Sofort; - export type Sunbit = Stripe.PaymentMethodConfigurationCreateParams.Sunbit; - export type Swish = Stripe.PaymentMethodConfigurationCreateParams.Swish; - export type Twint = Stripe.PaymentMethodConfigurationCreateParams.Twint; - export type Upi = Stripe.PaymentMethodConfigurationCreateParams.Upi; - export type UsBankAccount = Stripe.PaymentMethodConfigurationCreateParams.UsBankAccount; - export type WechatPay = Stripe.PaymentMethodConfigurationCreateParams.WechatPay; - export type Zip = Stripe.PaymentMethodConfigurationCreateParams.Zip; - } - export namespace PaymentMethodConfigurationUpdateParams { - export type AcssDebit = Stripe.PaymentMethodConfigurationUpdateParams.AcssDebit; - export type Affirm = Stripe.PaymentMethodConfigurationUpdateParams.Affirm; - export type AfterpayClearpay = Stripe.PaymentMethodConfigurationUpdateParams.AfterpayClearpay; - export type Alipay = Stripe.PaymentMethodConfigurationUpdateParams.Alipay; - export type Alma = Stripe.PaymentMethodConfigurationUpdateParams.Alma; - export type AmazonPay = Stripe.PaymentMethodConfigurationUpdateParams.AmazonPay; - export type ApplePay = Stripe.PaymentMethodConfigurationUpdateParams.ApplePay; - export type ApplePayLater = Stripe.PaymentMethodConfigurationUpdateParams.ApplePayLater; - export type AuBecsDebit = Stripe.PaymentMethodConfigurationUpdateParams.AuBecsDebit; - export type BacsDebit = Stripe.PaymentMethodConfigurationUpdateParams.BacsDebit; - export type Bancontact = Stripe.PaymentMethodConfigurationUpdateParams.Bancontact; - export type Billie = Stripe.PaymentMethodConfigurationUpdateParams.Billie; - export type Bizum = Stripe.PaymentMethodConfigurationUpdateParams.Bizum; - export type Blik = Stripe.PaymentMethodConfigurationUpdateParams.Blik; - export type Boleto = Stripe.PaymentMethodConfigurationUpdateParams.Boleto; - export type Card = Stripe.PaymentMethodConfigurationUpdateParams.Card; - export type CartesBancaires = Stripe.PaymentMethodConfigurationUpdateParams.CartesBancaires; - export type Cashapp = Stripe.PaymentMethodConfigurationUpdateParams.Cashapp; - export type Crypto = Stripe.PaymentMethodConfigurationUpdateParams.Crypto; - export type CustomerBalance = Stripe.PaymentMethodConfigurationUpdateParams.CustomerBalance; - export type Eps = Stripe.PaymentMethodConfigurationUpdateParams.Eps; - export type Fpx = Stripe.PaymentMethodConfigurationUpdateParams.Fpx; - export type FrMealVoucherConecs = Stripe.PaymentMethodConfigurationUpdateParams.FrMealVoucherConecs; - export type Giropay = Stripe.PaymentMethodConfigurationUpdateParams.Giropay; - export type GooglePay = Stripe.PaymentMethodConfigurationUpdateParams.GooglePay; - export type Gopay = Stripe.PaymentMethodConfigurationUpdateParams.Gopay; - export type Grabpay = Stripe.PaymentMethodConfigurationUpdateParams.Grabpay; - export type IdBankTransfer = Stripe.PaymentMethodConfigurationUpdateParams.IdBankTransfer; - export type Ideal = Stripe.PaymentMethodConfigurationUpdateParams.Ideal; - export type Jcb = Stripe.PaymentMethodConfigurationUpdateParams.Jcb; - export type KakaoPay = Stripe.PaymentMethodConfigurationUpdateParams.KakaoPay; - export type Klarna = Stripe.PaymentMethodConfigurationUpdateParams.Klarna; - export type Konbini = Stripe.PaymentMethodConfigurationUpdateParams.Konbini; - export type KrCard = Stripe.PaymentMethodConfigurationUpdateParams.KrCard; - export type Link = Stripe.PaymentMethodConfigurationUpdateParams.Link; - export type MbWay = Stripe.PaymentMethodConfigurationUpdateParams.MbWay; - export type Mobilepay = Stripe.PaymentMethodConfigurationUpdateParams.Mobilepay; - export type Multibanco = Stripe.PaymentMethodConfigurationUpdateParams.Multibanco; - export type NaverPay = Stripe.PaymentMethodConfigurationUpdateParams.NaverPay; - export type NzBankAccount = Stripe.PaymentMethodConfigurationUpdateParams.NzBankAccount; - export type Oxxo = Stripe.PaymentMethodConfigurationUpdateParams.Oxxo; - export type P24 = Stripe.PaymentMethodConfigurationUpdateParams.P24; - export type PayByBank = Stripe.PaymentMethodConfigurationUpdateParams.PayByBank; - export type Payco = Stripe.PaymentMethodConfigurationUpdateParams.Payco; - export type Paynow = Stripe.PaymentMethodConfigurationUpdateParams.Paynow; - export type Paypal = Stripe.PaymentMethodConfigurationUpdateParams.Paypal; - export type Paypay = Stripe.PaymentMethodConfigurationUpdateParams.Paypay; - export type Payto = Stripe.PaymentMethodConfigurationUpdateParams.Payto; - export type Pix = Stripe.PaymentMethodConfigurationUpdateParams.Pix; - export type Promptpay = Stripe.PaymentMethodConfigurationUpdateParams.Promptpay; - export type Qris = Stripe.PaymentMethodConfigurationUpdateParams.Qris; - export type RevolutPay = Stripe.PaymentMethodConfigurationUpdateParams.RevolutPay; - export type SamsungPay = Stripe.PaymentMethodConfigurationUpdateParams.SamsungPay; - export type Satispay = Stripe.PaymentMethodConfigurationUpdateParams.Satispay; - export type Scalapay = Stripe.PaymentMethodConfigurationUpdateParams.Scalapay; - export type SepaDebit = Stripe.PaymentMethodConfigurationUpdateParams.SepaDebit; - export type Shopeepay = Stripe.PaymentMethodConfigurationUpdateParams.Shopeepay; - export type Sofort = Stripe.PaymentMethodConfigurationUpdateParams.Sofort; - export type Sunbit = Stripe.PaymentMethodConfigurationUpdateParams.Sunbit; - export type Swish = Stripe.PaymentMethodConfigurationUpdateParams.Swish; - export type Twint = Stripe.PaymentMethodConfigurationUpdateParams.Twint; - export type Upi = Stripe.PaymentMethodConfigurationUpdateParams.Upi; - export type UsBankAccount = Stripe.PaymentMethodConfigurationUpdateParams.UsBankAccount; - export type WechatPay = Stripe.PaymentMethodConfigurationUpdateParams.WechatPay; - export type Zip = Stripe.PaymentMethodConfigurationUpdateParams.Zip; - } - export namespace PaymentRecordReportPaymentParams { - export type AmountRequested = Stripe_.PaymentRecordReportPaymentParams.AmountRequested; - export type PaymentMethodDetails = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails; - export type CustomerDetails = Stripe_.PaymentRecordReportPaymentParams.CustomerDetails; - export type CustomerPresence = Stripe_.PaymentRecordReportPaymentParams.CustomerPresence; - export type Failed = Stripe_.PaymentRecordReportPaymentParams.Failed; - export type Guaranteed = Stripe_.PaymentRecordReportPaymentParams.Guaranteed; - export type Outcome = Stripe_.PaymentRecordReportPaymentParams.Outcome; - export type ProcessorDetails = Stripe_.PaymentRecordReportPaymentParams.ProcessorDetails; - export type ShippingDetails = Stripe_.PaymentRecordReportPaymentParams.ShippingDetails; - export namespace PaymentMethodDetails { - export type BillingDetails = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.BillingDetails; - export type Custom = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Custom; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionCreateParams.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionCreateParams.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionCreateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionCreateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionCreateParams.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionCreateParams.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionCreateParams.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionCreateParams.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionCreateParams.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.SubscriptionCreateParams.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.SubscriptionCreateParams.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe_.SubscriptionCreateParams.Item.BillingThresholds; + export type CurrentTrial = Stripe_.SubscriptionCreateParams.Item.CurrentTrial; + export type Discount = Stripe_.SubscriptionCreateParams.Item.Discount; + export type PriceData = Stripe_.SubscriptionCreateParams.Item.PriceData; + export type Trial = Stripe_.SubscriptionCreateParams.Item.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionCreateParams.Item.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionCreateParams.Item.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionCreateParams.Item.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionCreateParams.Item.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionCreateParams.Item.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionCreateParams.Item.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionCreateParams.Item.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionCreateParams.Item.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionCreateParams.Item.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace PriceData { + export type Recurring = Stripe_.SubscriptionCreateParams.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionCreateParams.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe_.SubscriptionCreateParams.Item.PriceData.Recurring.Interval; + } + } + export namespace Trial { + export type Type = Stripe_.SubscriptionCreateParams.Item.Trial.Type; + } + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe_.SubscriptionCreateParams.PaymentSettings.SaveDefaultPaymentMethod; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Bizum = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Blik; + export type Card = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CheckScan = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CheckScan; + export type CustomerBalance = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type IdBankTransfer = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.IdBankTransfer; + export type Konbini = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Bizum { + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Bizum.MandateOptions; + } + export namespace Blik { + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Blik.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + } + } + export namespace Payto { + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type Purpose = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace Upi { + export type MandateOptions = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + export namespace WechatPay { + export type Client = Stripe_.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.WechatPay.Client; + } + } } - export namespace ProcessorDetails { - export type Custom = Stripe_.PaymentRecordReportPaymentParams.ProcessorDetails.Custom; + export namespace PendingInvoiceItemInterval { + export type Interval = Stripe_.SubscriptionCreateParams.PendingInvoiceItemInterval.Interval; } - } - export namespace PaymentRecordReportPaymentAttemptParams { - export type Failed = Stripe_.PaymentRecordReportPaymentAttemptParams.Failed; - export type Guaranteed = Stripe_.PaymentRecordReportPaymentAttemptParams.Guaranteed; - export type Outcome = Stripe_.PaymentRecordReportPaymentAttemptParams.Outcome; - export type PaymentMethodDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails; - export type ShippingDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.ShippingDetails; - export namespace PaymentMethodDetails { - export type BillingDetails = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.BillingDetails; - export type Custom = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Custom; + export namespace Prebilling { + export type UpdateBehavior = Stripe_.SubscriptionCreateParams.Prebilling.UpdateBehavior; } - } - export namespace PaymentRecordReportPaymentAttemptFailedParams { - export type FailureCode = Stripe.PaymentRecordReportPaymentAttemptFailedParams.FailureCode; - export type ProcessorDetails = Stripe.PaymentRecordReportPaymentAttemptFailedParams.ProcessorDetails; - } - export namespace PaymentRecordReportPaymentAttemptGuaranteedParams { - export type PaymentMethodDetails = Stripe.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails; - export type ProcessorDetails = Stripe.PaymentRecordReportPaymentAttemptGuaranteedParams.ProcessorDetails; - } - export namespace PaymentRecordReportPaymentAttemptInformationalParams { - export type CustomerDetails = Stripe_.PaymentRecordReportPaymentAttemptInformationalParams.CustomerDetails; - export type ShippingDetails = Stripe_.PaymentRecordReportPaymentAttemptInformationalParams.ShippingDetails; - } - export namespace PaymentRecordReportRefundParams { - export type Outcome = Stripe.PaymentRecordReportRefundParams.Outcome; - export type ProcessorDetails = Stripe.PaymentRecordReportRefundParams.ProcessorDetails; - export type Amount = Stripe.PaymentRecordReportRefundParams.Amount; - export type Failed = Stripe.PaymentRecordReportRefundParams.Failed; - export type Refunded = Stripe.PaymentRecordReportRefundParams.Refunded; - } - export namespace PayoutCreateParams { - export type Method = Stripe_.PayoutCreateParams.Method; - export type SourceType = Stripe_.PayoutCreateParams.SourceType; - } - export namespace Payout { - export type ReconciliationStatus = Stripe_.Payout.ReconciliationStatus; - export type TraceId = Stripe_.Payout.TraceId; - export type Type = Stripe_.Payout.Type; - } - export namespace PlanCreateParams { - export type Interval = Stripe_.PlanCreateParams.Interval; - export type BillingScheme = Stripe_.PlanCreateParams.BillingScheme; - export type Product = Stripe_.PlanCreateParams.Product; - export type Tier = Stripe_.PlanCreateParams.Tier; - export type TiersMode = Stripe_.PlanCreateParams.TiersMode; - export type TransformUsage = Stripe_.PlanCreateParams.TransformUsage; - export type UsageType = Stripe_.PlanCreateParams.UsageType; - export namespace TransformUsage { - export type Round = Stripe_.PlanCreateParams.TransformUsage.Round; + export namespace TrialSettings { + export type EndBehavior = Stripe_.SubscriptionCreateParams.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type BillingCycleAnchor = Stripe_.SubscriptionCreateParams.TrialSettings.EndBehavior.BillingCycleAnchor; + export type MissingPaymentMethod = Stripe_.SubscriptionCreateParams.TrialSettings.EndBehavior.MissingPaymentMethod; + } } } - export namespace Plan { - export type BillingScheme = Stripe_.Plan.BillingScheme; - export type Interval = Stripe_.Plan.Interval; - export type Tier = Stripe_.Plan.Tier; - export type TiersMode = Stripe_.Plan.TiersMode; - export type TransformUsage = Stripe_.Plan.TransformUsage; - export type UsageType = Stripe_.Plan.UsageType; - export namespace TransformUsage { - export type Round = Stripe_.Plan.TransformUsage.Round; + export namespace SubscriptionUpdateParams { + export type AddInvoiceItem = Stripe_.SubscriptionUpdateParams.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionUpdateParams.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionUpdateParams.BillingCycleAnchor; + export type BillingSchedule = Stripe_.SubscriptionUpdateParams.BillingSchedule; + export type BillingThresholds = Stripe_.SubscriptionUpdateParams.BillingThresholds; + export type CancelAt = Stripe_.SubscriptionUpdateParams.CancelAt; + export type CancellationDetails = Stripe_.SubscriptionUpdateParams.CancellationDetails; + export type CollectionMethod = Stripe_.SubscriptionUpdateParams.CollectionMethod; + export type Discount = Stripe_.SubscriptionUpdateParams.Discount; + export type InvoiceSettings = Stripe_.SubscriptionUpdateParams.InvoiceSettings; + export type Item = Stripe_.SubscriptionUpdateParams.Item; + export type PauseCollection = Stripe_.SubscriptionUpdateParams.PauseCollection; + export type PaymentBehavior = Stripe_.SubscriptionUpdateParams.PaymentBehavior; + export type PaymentSettings = Stripe_.SubscriptionUpdateParams.PaymentSettings; + export type PendingInvoiceItemInterval = Stripe_.SubscriptionUpdateParams.PendingInvoiceItemInterval; + export type Prebilling = Stripe_.SubscriptionUpdateParams.Prebilling; + export type ProrationBehavior = Stripe_.SubscriptionUpdateParams.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionUpdateParams.TransferData; + export type TrialSettings = Stripe_.SubscriptionUpdateParams.TrialSettings; + export namespace AddInvoiceItem { + export type Discount = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period; + export type PriceData = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace Period { + export type End = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe_.SubscriptionUpdateParams.AddInvoiceItem.PriceData.TaxBehavior; + } } - } - export namespace PriceCreateParams { - export type BillingScheme = Stripe_.PriceCreateParams.BillingScheme; - export type CurrencyOptions = Stripe_.PriceCreateParams.CurrencyOptions; - export type CustomUnitAmount = Stripe_.PriceCreateParams.CustomUnitAmount; - export type ProductData = Stripe_.PriceCreateParams.ProductData; - export type Recurring = Stripe_.PriceCreateParams.Recurring; - export type TaxBehavior = Stripe_.PriceCreateParams.TaxBehavior; - export type Tier = Stripe_.PriceCreateParams.Tier; - export type TiersMode = Stripe_.PriceCreateParams.TiersMode; - export type TransformQuantity = Stripe_.PriceCreateParams.TransformQuantity; - export namespace CurrencyOptions { - export type CustomUnitAmount = Stripe_.PriceCreateParams.CurrencyOptions.CustomUnitAmount; - export type TaxBehavior = Stripe_.PriceCreateParams.CurrencyOptions.TaxBehavior; - export type Tier = Stripe_.PriceCreateParams.CurrencyOptions.Tier; + export namespace AutomaticTax { + export type Liability = Stripe_.SubscriptionUpdateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.SubscriptionUpdateParams.AutomaticTax.Liability.Type; + } } - export namespace Recurring { - export type Interval = Stripe_.PriceCreateParams.Recurring.Interval; - export type UsageType = Stripe_.PriceCreateParams.Recurring.UsageType; + export namespace BillingSchedule { + export type AppliesTo = Stripe_.SubscriptionUpdateParams.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.SubscriptionUpdateParams.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe_.SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.SubscriptionUpdateParams.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionUpdateParams.BillingSchedule.BillUntil.Duration.Interval; + } + } } - export namespace TransformQuantity { - export type Round = Stripe_.PriceCreateParams.TransformQuantity.Round; + export namespace CancellationDetails { + export type Feedback = Stripe_.SubscriptionUpdateParams.CancellationDetails.Feedback; + } + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionUpdateParams.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionUpdateParams.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionUpdateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionUpdateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionUpdateParams.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionUpdateParams.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionUpdateParams.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionUpdateParams.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionUpdateParams.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } } - } - export namespace PriceUpdateParams { - export type CurrencyOptions = Stripe.PriceUpdateParams.CurrencyOptions; - export type MigrateTo = Stripe.PriceUpdateParams.MigrateTo; - export type TaxBehavior = Stripe.PriceUpdateParams.TaxBehavior; - } - export namespace PriceListParams { - export type Recurring = Stripe_.PriceListParams.Recurring; - export type Type = Stripe_.PriceListParams.Type; - export namespace Recurring { - export type Interval = Stripe_.PriceListParams.Recurring.Interval; - export type UsageType = Stripe_.PriceListParams.Recurring.UsageType; + export namespace InvoiceSettings { + export type Issuer = Stripe_.SubscriptionUpdateParams.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.SubscriptionUpdateParams.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe_.SubscriptionUpdateParams.Item.BillingThresholds; + export type CurrentTrial = Stripe_.SubscriptionUpdateParams.Item.CurrentTrial; + export type Discount = Stripe_.SubscriptionUpdateParams.Item.Discount; + export type PriceData = Stripe_.SubscriptionUpdateParams.Item.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionUpdateParams.Item.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionUpdateParams.Item.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionUpdateParams.Item.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionUpdateParams.Item.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionUpdateParams.Item.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionUpdateParams.Item.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionUpdateParams.Item.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionUpdateParams.Item.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionUpdateParams.Item.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace PriceData { + export type Recurring = Stripe_.SubscriptionUpdateParams.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionUpdateParams.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe_.SubscriptionUpdateParams.Item.PriceData.Recurring.Interval; + } + } } - } - export namespace Price { - export type BillingScheme = Stripe_.Price.BillingScheme; - export type CurrencyOptions = Stripe_.Price.CurrencyOptions; - export type CustomUnitAmount = Stripe_.Price.CustomUnitAmount; - export type Recurring = Stripe_.Price.Recurring; - export type TaxBehavior = Stripe_.Price.TaxBehavior; - export type Tier = Stripe_.Price.Tier; - export type TiersMode = Stripe_.Price.TiersMode; - export type TransformQuantity = Stripe_.Price.TransformQuantity; - export type Type = Stripe_.Price.Type; - export namespace CurrencyOptions { - export type CustomUnitAmount = Stripe_.Price.CurrencyOptions.CustomUnitAmount; - export type TaxBehavior = Stripe_.Price.CurrencyOptions.TaxBehavior; - export type Tier = Stripe_.Price.CurrencyOptions.Tier; + export namespace PauseCollection { + export type Behavior = Stripe_.SubscriptionUpdateParams.PauseCollection.Behavior; } - export namespace Recurring { - export type Interval = Stripe_.Price.Recurring.Interval; - export type UsageType = Stripe_.Price.Recurring.UsageType; + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe_.SubscriptionUpdateParams.PaymentSettings.SaveDefaultPaymentMethod; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Bizum = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Blik; + export type Card = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card; + export type CheckScan = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CheckScan; + export type CustomerBalance = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type IdBankTransfer = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.IdBankTransfer; + export type Konbini = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Bizum { + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Bizum.MandateOptions; + } + export namespace Blik { + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Blik.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + } + } + export namespace Payto { + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type Purpose = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace Upi { + export type MandateOptions = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + export namespace WechatPay { + export type Client = Stripe_.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.WechatPay.Client; + } + } } - export namespace TransformQuantity { - export type Round = Stripe_.Price.TransformQuantity.Round; + export namespace PendingInvoiceItemInterval { + export type Interval = Stripe_.SubscriptionUpdateParams.PendingInvoiceItemInterval.Interval; + } + export namespace Prebilling { + export type UpdateBehavior = Stripe_.SubscriptionUpdateParams.Prebilling.UpdateBehavior; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.SubscriptionUpdateParams.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type BillingCycleAnchor = Stripe_.SubscriptionUpdateParams.TrialSettings.EndBehavior.BillingCycleAnchor; + export type MissingPaymentMethod = Stripe_.SubscriptionUpdateParams.TrialSettings.EndBehavior.MissingPaymentMethod; + } } } - export namespace ProductCreateParams { - export type DefaultPriceData = Stripe.ProductCreateParams.DefaultPriceData; - export type Identifiers = Stripe.ProductCreateParams.Identifiers; - export type MarketingFeature = Stripe.ProductCreateParams.MarketingFeature; - export type PackageDimensions = Stripe.ProductCreateParams.PackageDimensions; - export type TaxDetails = Stripe.ProductCreateParams.TaxDetails; - export type Type = Stripe.ProductCreateParams.Type; - } - export namespace ProductUpdateParams { - export type Identifiers = Stripe.ProductUpdateParams.Identifiers; - export type MarketingFeature = Stripe.ProductUpdateParams.MarketingFeature; - export type PackageDimensions = Stripe.ProductUpdateParams.PackageDimensions; - export type TaxDetails = Stripe.ProductUpdateParams.TaxDetails; - } - export namespace ProductListParams { - export type Type = Stripe_.ProductListParams.Type; - } - export namespace Product { - export type MarketingFeature = Stripe_.Product.MarketingFeature; - export type PackageDimensions = Stripe_.Product.PackageDimensions; - export type Type = Stripe_.Product.Type; + export namespace SubscriptionListParams { + export type AutomaticTax = Stripe_.SubscriptionListParams.AutomaticTax; + export type CollectionMethod = Stripe_.SubscriptionListParams.CollectionMethod; + export type Status = Stripe_.SubscriptionListParams.Status; } - export namespace PromotionCodeCreateParams { - export type Promotion = Stripe_.PromotionCodeCreateParams.Promotion; - export type Restrictions = Stripe_.PromotionCodeCreateParams.Restrictions; - export namespace Restrictions { - export type CurrencyOptions = Stripe_.PromotionCodeCreateParams.Restrictions.CurrencyOptions; + export namespace SubscriptionCancelParams { + export type CancellationDetails = Stripe_.SubscriptionCancelParams.CancellationDetails; + export namespace CancellationDetails { + export type Feedback = Stripe_.SubscriptionCancelParams.CancellationDetails.Feedback; } } - export namespace PromotionCodeUpdateParams { - export type Restrictions = Stripe_.PromotionCodeUpdateParams.Restrictions; - export namespace Restrictions { - export type CurrencyOptions = Stripe_.PromotionCodeUpdateParams.Restrictions.CurrencyOptions; + export namespace SubscriptionMigrateParams { + export type BillingMode = Stripe_.SubscriptionMigrateParams.BillingMode; + export namespace BillingMode { + export type Flexible = Stripe_.SubscriptionMigrateParams.BillingMode.Flexible; + export namespace Flexible { + export type ProrationDiscounts = Stripe_.SubscriptionMigrateParams.BillingMode.Flexible.ProrationDiscounts; + } } } - export namespace PromotionCode { - export type Promotion = Stripe_.PromotionCode.Promotion; - export type Restrictions = Stripe_.PromotionCode.Restrictions; - export namespace Restrictions { - export type CurrencyOptions = Stripe_.PromotionCode.Restrictions.CurrencyOptions; + export namespace SubscriptionPauseParams { + export type BillFor = Stripe_.SubscriptionPauseParams.BillFor; + export type InvoicingBehavior = Stripe_.SubscriptionPauseParams.InvoicingBehavior; + export namespace BillFor { + export type OutstandingUsageThrough = Stripe_.SubscriptionPauseParams.BillFor.OutstandingUsageThrough; + export type UnusedTimeFrom = Stripe_.SubscriptionPauseParams.BillFor.UnusedTimeFrom; + export namespace OutstandingUsageThrough { + export type Type = Stripe_.SubscriptionPauseParams.BillFor.OutstandingUsageThrough.Type; + } + export namespace UnusedTimeFrom { + export type Type = Stripe_.SubscriptionPauseParams.BillFor.UnusedTimeFrom.Type; + } } } - export namespace QuoteCreateParams { - export type AutomaticTax = Stripe.QuoteCreateParams.AutomaticTax; - export type CollectionMethod = Stripe.QuoteCreateParams.CollectionMethod; - export type Discount = Stripe.QuoteCreateParams.Discount; - export type FromQuote = Stripe.QuoteCreateParams.FromQuote; - export type InvoiceSettings = Stripe.QuoteCreateParams.InvoiceSettings; - export type LineItem = Stripe.QuoteCreateParams.LineItem; - export type Line = Stripe.QuoteCreateParams.Line; - export type SubscriptionData = Stripe.QuoteCreateParams.SubscriptionData; - export type SubscriptionDataOverride = Stripe.QuoteCreateParams.SubscriptionDataOverride; - export type TransferData = Stripe.QuoteCreateParams.TransferData; - } - export namespace QuoteUpdateParams { - export type AutomaticTax = Stripe.QuoteUpdateParams.AutomaticTax; - export type CollectionMethod = Stripe.QuoteUpdateParams.CollectionMethod; - export type Discount = Stripe.QuoteUpdateParams.Discount; - export type InvoiceSettings = Stripe.QuoteUpdateParams.InvoiceSettings; - export type LineItem = Stripe.QuoteUpdateParams.LineItem; - export type Line = Stripe.QuoteUpdateParams.Line; - export type SubscriptionData = Stripe.QuoteUpdateParams.SubscriptionData; - export type SubscriptionDataOverride = Stripe.QuoteUpdateParams.SubscriptionDataOverride; - export type TransferData = Stripe.QuoteUpdateParams.TransferData; - } - export namespace QuoteListParams { - export type Status = Stripe_.QuoteListParams.Status; + export namespace SubscriptionResumeParams { + export type BillingCycleAnchor = Stripe_.SubscriptionResumeParams.BillingCycleAnchor; + export type PaymentBehavior = Stripe_.SubscriptionResumeParams.PaymentBehavior; + export type ProrationBehavior = Stripe_.SubscriptionResumeParams.ProrationBehavior; } - export namespace Quote { - export type AutomaticTax = Stripe_.Quote.AutomaticTax; - export type CollectionMethod = Stripe_.Quote.CollectionMethod; - export type Computed = Stripe_.Quote.Computed; - export type FromQuote = Stripe_.Quote.FromQuote; - export type InvoiceSettings = Stripe_.Quote.InvoiceSettings; - export type Status = Stripe_.Quote.Status; - export type StatusTransitions = Stripe_.Quote.StatusTransitions; - export type SubscriptionData = Stripe_.Quote.SubscriptionData; - export type TotalDetails = Stripe_.Quote.TotalDetails; - export type TransferData = Stripe_.Quote.TransferData; + export namespace Subscription { + export type AutomaticTax = Stripe_.Subscription.AutomaticTax; + export type BillingCycleAnchorConfig = Stripe_.Subscription.BillingCycleAnchorConfig; + export type BillingMode = Stripe_.Subscription.BillingMode; + export type BillingSchedule = Stripe_.Subscription.BillingSchedule; + export type BillingThresholds = Stripe_.Subscription.BillingThresholds; + export type CancellationDetails = Stripe_.Subscription.CancellationDetails; + export type CollectionMethod = Stripe_.Subscription.CollectionMethod; + export type InvoiceSettings = Stripe_.Subscription.InvoiceSettings; + export type LastPriceMigrationError = Stripe_.Subscription.LastPriceMigrationError; + export type ManagedPayments = Stripe_.Subscription.ManagedPayments; + export type PauseCollection = Stripe_.Subscription.PauseCollection; + export type PaymentSettings = Stripe_.Subscription.PaymentSettings; + export type PendingInvoiceItemInterval = Stripe_.Subscription.PendingInvoiceItemInterval; + export type PendingUpdate = Stripe_.Subscription.PendingUpdate; + export type Prebilling = Stripe_.Subscription.Prebilling; + export type PresentmentDetails = Stripe_.Subscription.PresentmentDetails; + export type Status = Stripe_.Subscription.Status; + export type StatusDetails = Stripe_.Subscription.StatusDetails; + export type TransferData = Stripe_.Subscription.TransferData; + export type TrialSettings = Stripe_.Subscription.TrialSettings; export namespace AutomaticTax { - export type Liability = Stripe_.Quote.AutomaticTax.Liability; - export type Status = Stripe_.Quote.AutomaticTax.Status; + export type Liability = Stripe_.Subscription.AutomaticTax.Liability; export namespace Liability { - export type Type = Stripe_.Quote.AutomaticTax.Liability.Type; + export type Type = Stripe_.Subscription.AutomaticTax.Liability.Type; + } + } + export namespace BillingMode { + export type Flexible = Stripe_.Subscription.BillingMode.Flexible; + export type Type = Stripe_.Subscription.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe_.Subscription.BillingMode.Flexible.ProrationDiscounts; } } - export namespace Computed { - export type Recurring = Stripe_.Quote.Computed.Recurring; - export type Upfront = Stripe_.Quote.Computed.Upfront; - export namespace Recurring { - export type Interval = Stripe_.Quote.Computed.Recurring.Interval; - export type TotalDetails = Stripe_.Quote.Computed.Recurring.TotalDetails; - export namespace TotalDetails { - export type Breakdown = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown; - export namespace Breakdown { - export type Discount = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Discount; - export type Tax = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax; - export namespace Tax { - export type TaxabilityReason = Stripe_.Quote.Computed.Recurring.TotalDetails.Breakdown.Tax.TaxabilityReason; + export namespace BillingSchedule { + export type AppliesTo = Stripe_.Subscription.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.Subscription.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe_.Subscription.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.Subscription.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.Subscription.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace CancellationDetails { + export type Feedback = Stripe_.Subscription.CancellationDetails.Feedback; + export type Reason = Stripe_.Subscription.CancellationDetails.Reason; + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.Subscription.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.Subscription.InvoiceSettings.Issuer.Type; + } + } + export namespace LastPriceMigrationError { + export type FailedTransition = Stripe_.Subscription.LastPriceMigrationError.FailedTransition; + } + export namespace PauseCollection { + export type Behavior = Stripe_.Subscription.PauseCollection.Behavior; + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.Subscription.PaymentSettings.PaymentMethodType; + export type SaveDefaultPaymentMethod = Stripe_.Subscription.PaymentSettings.SaveDefaultPaymentMethod; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Bizum = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Blik; + export type Card = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card; + export type CheckScan = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CheckScan; + export type CustomerBalance = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type IdBankTransfer = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.IdBankTransfer; + export type Konbini = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Bizum { + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Bizum.MandateOptions; + } + export namespace Blik { + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Blik.MandateOptions; + } + export namespace Card { + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions; + export type Network = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card.Network; + export type RequestThreeDSecure = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export namespace EuBankTransfer { + export type Country = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; } } } - } - export namespace Upfront { - export type TotalDetails = Stripe_.Quote.Computed.Upfront.TotalDetails; - export namespace TotalDetails { - export type Breakdown = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown; - export namespace Breakdown { - export type Discount = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Discount; - export type Tax = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax; - export namespace Tax { - export type TaxabilityReason = Stripe_.Quote.Computed.Upfront.TotalDetails.Breakdown.Tax.TaxabilityReason; + export namespace Payto { + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type Purpose = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type PaymentSchedule = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace Upi { + export type MandateOptions = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; } } } + export namespace WechatPay { + export type Client = Stripe_.Subscription.PaymentSettings.PaymentMethodOptions.WechatPay.Client; + } } } - export namespace InvoiceSettings { - export type Issuer = Stripe_.Quote.InvoiceSettings.Issuer; - export namespace Issuer { - export type Type = Stripe_.Quote.InvoiceSettings.Issuer.Type; - } + export namespace PendingInvoiceItemInterval { + export type Interval = Stripe_.Subscription.PendingInvoiceItemInterval.Interval; } - export namespace SubscriptionData { - export type BillingMode = Stripe_.Quote.SubscriptionData.BillingMode; - export namespace BillingMode { - export type Flexible = Stripe_.Quote.SubscriptionData.BillingMode.Flexible; - export type Type = Stripe_.Quote.SubscriptionData.BillingMode.Type; - export namespace Flexible { - export type ProrationDiscounts = Stripe_.Quote.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + export namespace Prebilling { + export type UpdateBehavior = Stripe_.Subscription.Prebilling.UpdateBehavior; + } + export namespace StatusDetails { + export type Paused = Stripe_.Subscription.StatusDetails.Paused; + export namespace Paused { + export type Subscription = Stripe_.Subscription.StatusDetails.Paused.Subscription; + export namespace Subscription { + export type Type = Stripe_.Subscription.StatusDetails.Paused.Subscription.Type; } } } - export namespace TotalDetails { - export type Breakdown = Stripe_.Quote.TotalDetails.Breakdown; - export namespace Breakdown { - export type Discount = Stripe_.Quote.TotalDetails.Breakdown.Discount; - export type Tax = Stripe_.Quote.TotalDetails.Breakdown.Tax; - export namespace Tax { - export type TaxabilityReason = Stripe_.Quote.TotalDetails.Breakdown.Tax.TaxabilityReason; - } + export namespace TrialSettings { + export type EndBehavior = Stripe_.Subscription.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type BillingCycleAnchor = Stripe_.Subscription.TrialSettings.EndBehavior.BillingCycleAnchor; + export type MissingPaymentMethod = Stripe_.Subscription.TrialSettings.EndBehavior.MissingPaymentMethod; } } } - export namespace RefundCreateParams { - export type Reason = Stripe_.RefundCreateParams.Reason; + export namespace SubscriptionItemCreateParams { + export type BillingThresholds = Stripe_.SubscriptionItemCreateParams.BillingThresholds; + export type CurrentTrial = Stripe_.SubscriptionItemCreateParams.CurrentTrial; + export type Discount = Stripe_.SubscriptionItemCreateParams.Discount; + export type PaymentBehavior = Stripe_.SubscriptionItemCreateParams.PaymentBehavior; + export type PriceData = Stripe_.SubscriptionItemCreateParams.PriceData; + export type ProrationBehavior = Stripe_.SubscriptionItemCreateParams.ProrationBehavior; + export type Trial = Stripe_.SubscriptionItemCreateParams.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionItemCreateParams.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionItemCreateParams.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionItemCreateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionItemCreateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionItemCreateParams.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionItemCreateParams.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionItemCreateParams.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionItemCreateParams.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionItemCreateParams.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace PriceData { + export type Recurring = Stripe_.SubscriptionItemCreateParams.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionItemCreateParams.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe_.SubscriptionItemCreateParams.PriceData.Recurring.Interval; + } + } + export namespace Trial { + export type Type = Stripe_.SubscriptionItemCreateParams.Trial.Type; + } } - export namespace Refund { - export type DestinationDetails = Stripe_.Refund.DestinationDetails; - export type NextAction = Stripe_.Refund.NextAction; - export type PendingReason = Stripe_.Refund.PendingReason; - export type PresentmentDetails = Stripe_.Refund.PresentmentDetails; - export type Reason = Stripe_.Refund.Reason; - export namespace DestinationDetails { - export type Affirm = Stripe_.Refund.DestinationDetails.Affirm; - export type AfterpayClearpay = Stripe_.Refund.DestinationDetails.AfterpayClearpay; - export type Alipay = Stripe_.Refund.DestinationDetails.Alipay; - export type Alma = Stripe_.Refund.DestinationDetails.Alma; - export type AmazonPay = Stripe_.Refund.DestinationDetails.AmazonPay; - export type AuBankTransfer = Stripe_.Refund.DestinationDetails.AuBankTransfer; - export type Blik = Stripe_.Refund.DestinationDetails.Blik; - export type BrBankTransfer = Stripe_.Refund.DestinationDetails.BrBankTransfer; - export type Card = Stripe_.Refund.DestinationDetails.Card; - export type Cashapp = Stripe_.Refund.DestinationDetails.Cashapp; - export type Crypto = Stripe_.Refund.DestinationDetails.Crypto; - export type CustomerCashBalance = Stripe_.Refund.DestinationDetails.CustomerCashBalance; - export type Eps = Stripe_.Refund.DestinationDetails.Eps; - export type EuBankTransfer = Stripe_.Refund.DestinationDetails.EuBankTransfer; - export type GbBankTransfer = Stripe_.Refund.DestinationDetails.GbBankTransfer; - export type Giropay = Stripe_.Refund.DestinationDetails.Giropay; - export type Grabpay = Stripe_.Refund.DestinationDetails.Grabpay; - export type JpBankTransfer = Stripe_.Refund.DestinationDetails.JpBankTransfer; - export type Klarna = Stripe_.Refund.DestinationDetails.Klarna; - export type MbWay = Stripe_.Refund.DestinationDetails.MbWay; - export type Multibanco = Stripe_.Refund.DestinationDetails.Multibanco; - export type MxBankTransfer = Stripe_.Refund.DestinationDetails.MxBankTransfer; - export type NzBankTransfer = Stripe_.Refund.DestinationDetails.NzBankTransfer; - export type P24 = Stripe_.Refund.DestinationDetails.P24; - export type Paynow = Stripe_.Refund.DestinationDetails.Paynow; - export type Paypal = Stripe_.Refund.DestinationDetails.Paypal; - export type Pix = Stripe_.Refund.DestinationDetails.Pix; - export type Revolut = Stripe_.Refund.DestinationDetails.Revolut; - export type Scalapay = Stripe_.Refund.DestinationDetails.Scalapay; - export type Sofort = Stripe_.Refund.DestinationDetails.Sofort; - export type Swish = Stripe_.Refund.DestinationDetails.Swish; - export type ThBankTransfer = Stripe_.Refund.DestinationDetails.ThBankTransfer; - export type Twint = Stripe_.Refund.DestinationDetails.Twint; - export type UsBankTransfer = Stripe_.Refund.DestinationDetails.UsBankTransfer; - export type WechatPay = Stripe_.Refund.DestinationDetails.WechatPay; - export type Zip = Stripe_.Refund.DestinationDetails.Zip; - export namespace Card { - export type Type = Stripe_.Refund.DestinationDetails.Card.Type; + export namespace SubscriptionItemUpdateParams { + export type BillingThresholds = Stripe_.SubscriptionItemUpdateParams.BillingThresholds; + export type CurrentTrial = Stripe_.SubscriptionItemUpdateParams.CurrentTrial; + export type Discount = Stripe_.SubscriptionItemUpdateParams.Discount; + export type PaymentBehavior = Stripe_.SubscriptionItemUpdateParams.PaymentBehavior; + export type PriceData = Stripe_.SubscriptionItemUpdateParams.PriceData; + export type ProrationBehavior = Stripe_.SubscriptionItemUpdateParams.ProrationBehavior; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionItemUpdateParams.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionItemUpdateParams.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionItemUpdateParams.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionItemUpdateParams.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionItemUpdateParams.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionItemUpdateParams.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionItemUpdateParams.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionItemUpdateParams.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionItemUpdateParams.Discount.Settings.ServicePeriodAnchorConfig.Type; + } } } - export namespace NextAction { - export type DisplayDetails = Stripe_.Refund.NextAction.DisplayDetails; - export namespace DisplayDetails { - export type EmailSent = Stripe_.Refund.NextAction.DisplayDetails.EmailSent; + export namespace PriceData { + export type Recurring = Stripe_.SubscriptionItemUpdateParams.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionItemUpdateParams.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe_.SubscriptionItemUpdateParams.PriceData.Recurring.Interval; } } } - export namespace Review { - export type ClosedReason = Stripe_.Review.ClosedReason; - export type IpAddressLocation = Stripe_.Review.IpAddressLocation; - export type OpenedReason = Stripe_.Review.OpenedReason; - export type Session = Stripe_.Review.Session; + export namespace SubscriptionItemDeleteParams { + export type PaymentBehavior = Stripe_.SubscriptionItemDeleteParams.PaymentBehavior; + export type ProrationBehavior = Stripe_.SubscriptionItemDeleteParams.ProrationBehavior; } - export namespace SetupAttempt { - export type FlowDirection = Stripe_.SetupAttempt.FlowDirection; - export type PaymentMethodDetails = Stripe_.SetupAttempt.PaymentMethodDetails; - export type SetupError = Stripe_.SetupAttempt.SetupError; - export namespace PaymentMethodDetails { - export type AcssDebit = Stripe_.SetupAttempt.PaymentMethodDetails.AcssDebit; - export type AmazonPay = Stripe_.SetupAttempt.PaymentMethodDetails.AmazonPay; - export type AuBecsDebit = Stripe_.SetupAttempt.PaymentMethodDetails.AuBecsDebit; - export type BacsDebit = Stripe_.SetupAttempt.PaymentMethodDetails.BacsDebit; - export type Bancontact = Stripe_.SetupAttempt.PaymentMethodDetails.Bancontact; - export type Boleto = Stripe_.SetupAttempt.PaymentMethodDetails.Boleto; - export type Card = Stripe_.SetupAttempt.PaymentMethodDetails.Card; - export type CardPresent = Stripe_.SetupAttempt.PaymentMethodDetails.CardPresent; - export type Cashapp = Stripe_.SetupAttempt.PaymentMethodDetails.Cashapp; - export type Ideal = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal; - export type KakaoPay = Stripe_.SetupAttempt.PaymentMethodDetails.KakaoPay; - export type Klarna = Stripe_.SetupAttempt.PaymentMethodDetails.Klarna; - export type KrCard = Stripe_.SetupAttempt.PaymentMethodDetails.KrCard; - export type Link = Stripe_.SetupAttempt.PaymentMethodDetails.Link; - export type NaverPay = Stripe_.SetupAttempt.PaymentMethodDetails.NaverPay; - export type NzBankAccount = Stripe_.SetupAttempt.PaymentMethodDetails.NzBankAccount; - export type Paypal = Stripe_.SetupAttempt.PaymentMethodDetails.Paypal; - export type Payto = Stripe_.SetupAttempt.PaymentMethodDetails.Payto; - export type Pix = Stripe_.SetupAttempt.PaymentMethodDetails.Pix; - export type RevolutPay = Stripe_.SetupAttempt.PaymentMethodDetails.RevolutPay; - export type SepaDebit = Stripe_.SetupAttempt.PaymentMethodDetails.SepaDebit; - export type Sofort = Stripe_.SetupAttempt.PaymentMethodDetails.Sofort; - export type Twint = Stripe_.SetupAttempt.PaymentMethodDetails.Twint; - export type Upi = Stripe_.SetupAttempt.PaymentMethodDetails.Upi; - export type UsBankAccount = Stripe_.SetupAttempt.PaymentMethodDetails.UsBankAccount; - export namespace Bancontact { - export type PreferredLanguage = Stripe_.SetupAttempt.PaymentMethodDetails.Bancontact.PreferredLanguage; + export namespace SubscriptionItem { + export type BillingThresholds = Stripe_.SubscriptionItem.BillingThresholds; + export type CurrentTrial = Stripe_.SubscriptionItem.CurrentTrial; + export type Trial = Stripe_.SubscriptionItem.Trial; + export namespace Trial { + export type Type = Stripe_.SubscriptionItem.Trial.Type; + } + } + export namespace SubscriptionScheduleCreateParams { + export type BillingBehavior = Stripe_.SubscriptionScheduleCreateParams.BillingBehavior; + export type BillingMode = Stripe_.SubscriptionScheduleCreateParams.BillingMode; + export type BillingSchedule = Stripe_.SubscriptionScheduleCreateParams.BillingSchedule; + export type DefaultSettings = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings; + export type EndBehavior = Stripe_.SubscriptionScheduleCreateParams.EndBehavior; + export type Phase = Stripe_.SubscriptionScheduleCreateParams.Phase; + export type Prebilling = Stripe_.SubscriptionScheduleCreateParams.Prebilling; + export namespace BillingMode { + export type Flexible = Stripe_.SubscriptionScheduleCreateParams.BillingMode.Flexible; + export type Type = Stripe_.SubscriptionScheduleCreateParams.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe_.SubscriptionScheduleCreateParams.BillingMode.Flexible.ProrationDiscounts; } - export namespace Card { - export type Checks = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Checks; - export type ThreeDSecure = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure; - export type Wallet = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet; - export namespace ThreeDSecure { - export type AuthenticationFlow = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow; - export type ElectronicCommerceIndicator = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator; - export type Result = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Result; - export type ResultReason = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.ResultReason; - export type Version = Stripe_.SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure.Version; + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.SubscriptionScheduleCreateParams.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.SubscriptionScheduleCreateParams.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe_.SubscriptionScheduleCreateParams.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.SubscriptionScheduleCreateParams.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleCreateParams.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace DefaultSettings { + export type AutomaticTax = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings; + export type PhaseEffectiveAt = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.PhaseEffectiveAt; + export type TransferData = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings.Issuer.Type; + } + } + } + export namespace Phase { + export type AddInvoiceItem = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionScheduleCreateParams.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleCreateParams.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionScheduleCreateParams.Phase.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionScheduleCreateParams.Phase.CollectionMethod; + export type Discount = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount; + export type Duration = Stripe_.SubscriptionScheduleCreateParams.Phase.Duration; + export type EffectiveAt = Stripe_.SubscriptionScheduleCreateParams.Phase.EffectiveAt; + export type InvoiceSettings = Stripe_.SubscriptionScheduleCreateParams.Phase.InvoiceSettings; + export type Item = Stripe_.SubscriptionScheduleCreateParams.Phase.Item; + export type PauseCollection = Stripe_.SubscriptionScheduleCreateParams.Phase.PauseCollection; + export type ProrationBehavior = Stripe_.SubscriptionScheduleCreateParams.Phase.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionScheduleCreateParams.Phase.TransferData; + export type TrialContinuation = Stripe_.SubscriptionScheduleCreateParams.Phase.TrialContinuation; + export type TrialSettings = Stripe_.SubscriptionScheduleCreateParams.Phase.TrialSettings; + export namespace AddInvoiceItem { + export type Discount = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period; + export type PriceData = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace Period { + export type End = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe_.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData.TaxBehavior; + } + } + export namespace AutomaticTax { + export type Liability = Stripe_.SubscriptionScheduleCreateParams.Phase.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.AutomaticTax.Liability.Type; + } + } + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleCreateParams.Phase.Duration.Interval; + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.SubscriptionScheduleCreateParams.Phase.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.BillingThresholds; + export type Discount = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount; + export type PriceData = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.PriceData; + export type Trial = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace PriceData { + export type Recurring = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.PriceData.Recurring.Interval; + } } - export namespace Wallet { - export type ApplePay = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.ApplePay; - export type GooglePay = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.GooglePay; - export type Type = Stripe_.SetupAttempt.PaymentMethodDetails.Card.Wallet.Type; + export namespace Trial { + export type Type = Stripe_.SubscriptionScheduleCreateParams.Phase.Item.Trial.Type; } } - export namespace CardPresent { - export type Offline = Stripe_.SetupAttempt.PaymentMethodDetails.CardPresent.Offline; - } - export namespace Ideal { - export type Bank = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal.Bank; - export type Bic = Stripe_.SetupAttempt.PaymentMethodDetails.Ideal.Bic; + export namespace PauseCollection { + export type Behavior = Stripe_.SubscriptionScheduleCreateParams.Phase.PauseCollection.Behavior; } - export namespace Sofort { - export type PreferredLanguage = Stripe_.SetupAttempt.PaymentMethodDetails.Sofort.PreferredLanguage; + export namespace TrialSettings { + export type EndBehavior = Stripe_.SubscriptionScheduleCreateParams.Phase.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.SubscriptionScheduleCreateParams.Phase.TrialSettings.EndBehavior.ProrateUpFront; + } } } - export namespace SetupError { - export type Code = Stripe_.SetupAttempt.SetupError.Code; - export type Type = Stripe_.SetupAttempt.SetupError.Type; + export namespace Prebilling { + export type UpdateBehavior = Stripe_.SubscriptionScheduleCreateParams.Prebilling.UpdateBehavior; } } - export namespace SetupIntentCreateParams { - export type AutomaticPaymentMethods = Stripe.SetupIntentCreateParams.AutomaticPaymentMethods; - export type ExcludedPaymentMethodType = Stripe.SetupIntentCreateParams.ExcludedPaymentMethodType; - export type FlowDirection = Stripe.SetupIntentCreateParams.FlowDirection; - export type MandateData = Stripe.SetupIntentCreateParams.MandateData; - export type PaymentMethodData = Stripe.SetupIntentCreateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.SetupIntentCreateParams.PaymentMethodOptions; - export type SetupDetails = Stripe.SetupIntentCreateParams.SetupDetails; - export type SingleUse = Stripe.SetupIntentCreateParams.SingleUse; - export type Usage = Stripe.SetupIntentCreateParams.Usage; - } - export namespace SetupIntentUpdateParams { - export type ExcludedPaymentMethodType = Stripe.SetupIntentUpdateParams.ExcludedPaymentMethodType; - export type FlowDirection = Stripe.SetupIntentUpdateParams.FlowDirection; - export type PaymentMethodData = Stripe.SetupIntentUpdateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.SetupIntentUpdateParams.PaymentMethodOptions; - export type SetupDetails = Stripe.SetupIntentUpdateParams.SetupDetails; - } - export namespace SetupIntentCancelParams { - export type CancellationReason = Stripe_.SetupIntentCancelParams.CancellationReason; - } - export namespace SetupIntentConfirmParams { - export type MandateData = Stripe.SetupIntentConfirmParams.MandateData; - export type PaymentMethodData = Stripe.SetupIntentConfirmParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.SetupIntentConfirmParams.PaymentMethodOptions; - export type SetupDetails = Stripe.SetupIntentConfirmParams.SetupDetails; - } - export namespace ShippingRateCreateParams { - export type DeliveryEstimate = Stripe_.ShippingRateCreateParams.DeliveryEstimate; - export type FixedAmount = Stripe_.ShippingRateCreateParams.FixedAmount; - export type TaxBehavior = Stripe_.ShippingRateCreateParams.TaxBehavior; - export namespace DeliveryEstimate { - export type Maximum = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Maximum; - export type Minimum = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Minimum; - export namespace Maximum { - export type Unit = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Maximum.Unit; - } - export namespace Minimum { - export type Unit = Stripe_.ShippingRateCreateParams.DeliveryEstimate.Minimum.Unit; + export namespace SubscriptionScheduleUpdateParams { + export type BillingBehavior = Stripe_.SubscriptionScheduleUpdateParams.BillingBehavior; + export type BillingSchedule = Stripe_.SubscriptionScheduleUpdateParams.BillingSchedule; + export type DefaultSettings = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings; + export type EndBehavior = Stripe_.SubscriptionScheduleUpdateParams.EndBehavior; + export type Phase = Stripe_.SubscriptionScheduleUpdateParams.Phase; + export type Prebilling = Stripe_.SubscriptionScheduleUpdateParams.Prebilling; + export type ProrationBehavior = Stripe_.SubscriptionScheduleUpdateParams.ProrationBehavior; + export namespace BillingSchedule { + export type AppliesTo = Stripe_.SubscriptionScheduleUpdateParams.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.SubscriptionScheduleUpdateParams.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe_.SubscriptionScheduleUpdateParams.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleUpdateParams.BillingSchedule.BillUntil.Duration.Interval; + } } } - export namespace FixedAmount { - export type CurrencyOptions = Stripe_.ShippingRateCreateParams.FixedAmount.CurrencyOptions; - export namespace CurrencyOptions { - export type TaxBehavior = Stripe_.ShippingRateCreateParams.FixedAmount.CurrencyOptions.TaxBehavior; + export namespace DefaultSettings { + export type AutomaticTax = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings; + export type PhaseEffectiveAt = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.PhaseEffectiveAt; + export type TransferData = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.AutomaticTax.Liability.Type; + } } - } - } - export namespace ShippingRateUpdateParams { - export type FixedAmount = Stripe_.ShippingRateUpdateParams.FixedAmount; - export type TaxBehavior = Stripe_.ShippingRateUpdateParams.TaxBehavior; - export namespace FixedAmount { - export type CurrencyOptions = Stripe_.ShippingRateUpdateParams.FixedAmount.CurrencyOptions; - export namespace CurrencyOptions { - export type TaxBehavior = Stripe_.ShippingRateUpdateParams.FixedAmount.CurrencyOptions.TaxBehavior; + export namespace InvoiceSettings { + export type Issuer = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer.Type; + } + } + } + export namespace Phase { + export type AddInvoiceItem = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionScheduleUpdateParams.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleUpdateParams.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionScheduleUpdateParams.Phase.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionScheduleUpdateParams.Phase.CollectionMethod; + export type Discount = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount; + export type Duration = Stripe_.SubscriptionScheduleUpdateParams.Phase.Duration; + export type EffectiveAt = Stripe_.SubscriptionScheduleUpdateParams.Phase.EffectiveAt; + export type InvoiceSettings = Stripe_.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings; + export type Item = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item; + export type PauseCollection = Stripe_.SubscriptionScheduleUpdateParams.Phase.PauseCollection; + export type ProrationBehavior = Stripe_.SubscriptionScheduleUpdateParams.Phase.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionScheduleUpdateParams.Phase.TransferData; + export type TrialContinuation = Stripe_.SubscriptionScheduleUpdateParams.Phase.TrialContinuation; + export type TrialSettings = Stripe_.SubscriptionScheduleUpdateParams.Phase.TrialSettings; + export namespace AddInvoiceItem { + export type Discount = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period; + export type PriceData = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.PriceData; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Discount.DiscountEnd; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Discount.DiscountEnd.Duration.Interval; + } + } + } + export namespace Period { + export type End = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.Period.Start.Type; + } + } + export namespace PriceData { + export type TaxBehavior = Stripe_.SubscriptionScheduleUpdateParams.Phase.AddInvoiceItem.PriceData.TaxBehavior; + } } - } - } - export namespace ShippingRate { - export type DeliveryEstimate = Stripe_.ShippingRate.DeliveryEstimate; - export type FixedAmount = Stripe_.ShippingRate.FixedAmount; - export type TaxBehavior = Stripe_.ShippingRate.TaxBehavior; - export namespace DeliveryEstimate { - export type Maximum = Stripe_.ShippingRate.DeliveryEstimate.Maximum; - export type Minimum = Stripe_.ShippingRate.DeliveryEstimate.Minimum; - export namespace Maximum { - export type Unit = Stripe_.ShippingRate.DeliveryEstimate.Maximum.Unit; + export namespace AutomaticTax { + export type Liability = Stripe_.SubscriptionScheduleUpdateParams.Phase.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.AutomaticTax.Liability.Type; + } } - export namespace Minimum { - export type Unit = Stripe_.ShippingRate.DeliveryEstimate.Minimum.Unit; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } } - } - export namespace FixedAmount { - export type CurrencyOptions = Stripe_.ShippingRate.FixedAmount.CurrencyOptions; - export namespace CurrencyOptions { - export type TaxBehavior = Stripe_.ShippingRate.FixedAmount.CurrencyOptions.TaxBehavior; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleUpdateParams.Phase.Duration.Interval; } - } - } - export namespace SourceCreateParams { - export type Flow = Stripe_.SourceCreateParams.Flow; - export type Mandate = Stripe_.SourceCreateParams.Mandate; - export type Owner = Stripe_.SourceCreateParams.Owner; - export type Receiver = Stripe_.SourceCreateParams.Receiver; - export type Redirect = Stripe_.SourceCreateParams.Redirect; - export type SourceOrder = Stripe_.SourceCreateParams.SourceOrder; - export type Usage = Stripe_.SourceCreateParams.Usage; - export namespace Mandate { - export type Acceptance = Stripe_.SourceCreateParams.Mandate.Acceptance; - export type Interval = Stripe_.SourceCreateParams.Mandate.Interval; - export type NotificationMethod = Stripe_.SourceCreateParams.Mandate.NotificationMethod; - export namespace Acceptance { - export type Offline = Stripe_.SourceCreateParams.Mandate.Acceptance.Offline; - export type Online = Stripe_.SourceCreateParams.Mandate.Acceptance.Online; - export type Status = Stripe_.SourceCreateParams.Mandate.Acceptance.Status; - export type Type = Stripe_.SourceCreateParams.Mandate.Acceptance.Type; + export namespace InvoiceSettings { + export type Issuer = Stripe_.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer.Type; + } } - } - export namespace Receiver { - export type RefundAttributesMethod = Stripe_.SourceCreateParams.Receiver.RefundAttributesMethod; - } - export namespace SourceOrder { - export type Item = Stripe_.SourceCreateParams.SourceOrder.Item; - export type Shipping = Stripe_.SourceCreateParams.SourceOrder.Shipping; export namespace Item { - export type Type = Stripe_.SourceCreateParams.SourceOrder.Item.Type; + export type BillingThresholds = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.BillingThresholds; + export type Discount = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount; + export type PriceData = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.PriceData; + export type Trial = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace PriceData { + export type Recurring = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.Recurring; + export type TaxBehavior = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.TaxBehavior; + export namespace Recurring { + export type Interval = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.PriceData.Recurring.Interval; + } + } + export namespace Trial { + export type Type = Stripe_.SubscriptionScheduleUpdateParams.Phase.Item.Trial.Type; + } + } + export namespace PauseCollection { + export type Behavior = Stripe_.SubscriptionScheduleUpdateParams.Phase.PauseCollection.Behavior; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.SubscriptionScheduleUpdateParams.Phase.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.SubscriptionScheduleUpdateParams.Phase.TrialSettings.EndBehavior.ProrateUpFront; + } } } + export namespace Prebilling { + export type UpdateBehavior = Stripe_.SubscriptionScheduleUpdateParams.Prebilling.UpdateBehavior; + } } - export namespace SourceUpdateParams { - export type Mandate = Stripe_.SourceUpdateParams.Mandate; - export type Owner = Stripe_.SourceUpdateParams.Owner; - export type SourceOrder = Stripe_.SourceUpdateParams.SourceOrder; - export namespace Mandate { - export type Acceptance = Stripe_.SourceUpdateParams.Mandate.Acceptance; - export type Interval = Stripe_.SourceUpdateParams.Mandate.Interval; - export type NotificationMethod = Stripe_.SourceUpdateParams.Mandate.NotificationMethod; - export namespace Acceptance { - export type Offline = Stripe_.SourceUpdateParams.Mandate.Acceptance.Offline; - export type Online = Stripe_.SourceUpdateParams.Mandate.Acceptance.Online; - export type Status = Stripe_.SourceUpdateParams.Mandate.Acceptance.Status; - export type Type = Stripe_.SourceUpdateParams.Mandate.Acceptance.Type; + export namespace SubscriptionScheduleAmendParams { + export type Amendment = Stripe_.SubscriptionScheduleAmendParams.Amendment; + export type Prebilling = Stripe_.SubscriptionScheduleAmendParams.Prebilling; + export type ProrationBehavior = Stripe_.SubscriptionScheduleAmendParams.ProrationBehavior; + export type ScheduleSettings = Stripe_.SubscriptionScheduleAmendParams.ScheduleSettings; + export namespace Amendment { + export type AmendmentEnd = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentEnd; + export type AmendmentStart = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentStart; + export type BillingCycleAnchor = Stripe_.SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor; + export type BillingSchedulesAction = Stripe_.SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction; + export type DiscountAction = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction; + export type EffectiveAt = Stripe_.SubscriptionScheduleAmendParams.Amendment.EffectiveAt; + export type ItemAction = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction; + export type MetadataAction = Stripe_.SubscriptionScheduleAmendParams.Amendment.MetadataAction; + export type ProrationBehavior = Stripe_.SubscriptionScheduleAmendParams.Amendment.ProrationBehavior; + export type SetPauseCollection = Stripe_.SubscriptionScheduleAmendParams.Amendment.SetPauseCollection; + export type SetScheduleEnd = Stripe_.SubscriptionScheduleAmendParams.Amendment.SetScheduleEnd; + export type TrialSettings = Stripe_.SubscriptionScheduleAmendParams.Amendment.TrialSettings; + export namespace AmendmentEnd { + export type DiscountEnd = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentEnd.DiscountEnd; + export type Duration = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentEnd.Duration.Interval; + } + } + export namespace AmendmentStart { + export type AmendmentEnd = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentStart.AmendmentEnd; + export type DiscountEnd = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.AmendmentStart.Type; + } + export namespace BillingSchedulesAction { + export type AppliesTo = Stripe_.SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.AppliesTo; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.Type; + } + export namespace DiscountAction { + export type Add = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add; + export type Remove = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Remove; + export type Set = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Set; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Type; + export namespace Add { + export type DiscountEnd = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add.DiscountEnd; + export type Settings = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Add.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Set { + export type Settings = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Set.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Set.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Set.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Set.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.DiscountAction.Set.Settings.ServicePeriodAnchorConfig.Type; + } + } + } } - } - export namespace SourceOrder { - export type Item = Stripe_.SourceUpdateParams.SourceOrder.Item; - export type Shipping = Stripe_.SourceUpdateParams.SourceOrder.Shipping; - export namespace Item { - export type Type = Stripe_.SourceUpdateParams.SourceOrder.Item.Type; + export namespace ItemAction { + export type Add = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add; + export type Remove = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Remove; + export type Set = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Type; + export namespace Add { + export type Discount = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount; + export type Trial = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Trial.Type; + } + } + export namespace Set { + export type Discount = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount; + export type Trial = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.Settings; + export namespace DiscountEnd { + export type Duration = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.DiscountEnd.Duration; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.DiscountEnd.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.DiscountEnd.Duration.Interval; + } + } + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.Type; + } + } + } + export namespace MetadataAction { + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.MetadataAction.Type; + } + export namespace SetPauseCollection { + export type Set = Stripe_.SubscriptionScheduleAmendParams.Amendment.SetPauseCollection.Set; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Amendment.SetPauseCollection.Type; + export namespace Set { + export type Behavior = Stripe_.SubscriptionScheduleAmendParams.Amendment.SetPauseCollection.Set.Behavior; + } + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.SubscriptionScheduleAmendParams.Amendment.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.SubscriptionScheduleAmendParams.Amendment.TrialSettings.EndBehavior.ProrateUpFront; + } } } - } - export namespace Source { - export type AchCreditTransfer = Stripe_.Source.AchCreditTransfer; - export type AchDebit = Stripe_.Source.AchDebit; - export type AcssDebit = Stripe_.Source.AcssDebit; - export type Alipay = Stripe_.Source.Alipay; - export type AllowRedisplay = Stripe_.Source.AllowRedisplay; - export type AuBecsDebit = Stripe_.Source.AuBecsDebit; - export type Bancontact = Stripe_.Source.Bancontact; - export type Card = Stripe_.Source.Card; - export type CardPresent = Stripe_.Source.CardPresent; - export type CodeVerification = Stripe_.Source.CodeVerification; - export type Eps = Stripe_.Source.Eps; - export type Giropay = Stripe_.Source.Giropay; - export type Ideal = Stripe_.Source.Ideal; - export type Klarna = Stripe_.Source.Klarna; - export type Multibanco = Stripe_.Source.Multibanco; - export type Owner = Stripe_.Source.Owner; - export type P24 = Stripe_.Source.P24; - export type Receiver = Stripe_.Source.Receiver; - export type Redirect = Stripe_.Source.Redirect; - export type SepaCreditTransfer = Stripe_.Source.SepaCreditTransfer; - export type SepaDebit = Stripe_.Source.SepaDebit; - export type Sofort = Stripe_.Source.Sofort; - export type SourceOrder = Stripe_.Source.SourceOrder; - export type ThreeDSecure = Stripe_.Source.ThreeDSecure; - export type Type = Stripe_.Source.Type; - export type Wechat = Stripe_.Source.Wechat; - export namespace SourceOrder { - export type Item = Stripe_.Source.SourceOrder.Item; - export type Shipping = Stripe_.Source.SourceOrder.Shipping; + export namespace Prebilling { + export type BillFrom = Stripe_.SubscriptionScheduleAmendParams.Prebilling.BillFrom; + export type BillUntil = Stripe_.SubscriptionScheduleAmendParams.Prebilling.BillUntil; + export type UpdateBehavior = Stripe_.SubscriptionScheduleAmendParams.Prebilling.UpdateBehavior; + export namespace BillFrom { + export type AmendmentStart = Stripe_.SubscriptionScheduleAmendParams.Prebilling.BillFrom.AmendmentStart; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Prebilling.BillFrom.Type; + } + export namespace BillUntil { + export type AmendmentEnd = Stripe_.SubscriptionScheduleAmendParams.Prebilling.BillUntil.AmendmentEnd; + export type Duration = Stripe_.SubscriptionScheduleAmendParams.Prebilling.BillUntil.Duration; + export type Type = Stripe_.SubscriptionScheduleAmendParams.Prebilling.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionScheduleAmendParams.Prebilling.BillUntil.Duration.Interval; + } + } } - } - export namespace SubscriptionCreateParams { - export type AddInvoiceItem = Stripe.SubscriptionCreateParams.AddInvoiceItem; - export type AutomaticTax = Stripe.SubscriptionCreateParams.AutomaticTax; - export type BillingCycleAnchorConfig = Stripe.SubscriptionCreateParams.BillingCycleAnchorConfig; - export type BillingMode = Stripe.SubscriptionCreateParams.BillingMode; - export type BillingSchedule = Stripe.SubscriptionCreateParams.BillingSchedule; - export type BillingThresholds = Stripe.SubscriptionCreateParams.BillingThresholds; - export type CancelAt = Stripe.SubscriptionCreateParams.CancelAt; - export type CollectionMethod = Stripe.SubscriptionCreateParams.CollectionMethod; - export type Discount = Stripe.SubscriptionCreateParams.Discount; - export type InvoiceSettings = Stripe.SubscriptionCreateParams.InvoiceSettings; - export type Item = Stripe.SubscriptionCreateParams.Item; - export type PaymentBehavior = Stripe.SubscriptionCreateParams.PaymentBehavior; - export type PaymentSettings = Stripe.SubscriptionCreateParams.PaymentSettings; - export type PendingInvoiceItemInterval = Stripe.SubscriptionCreateParams.PendingInvoiceItemInterval; - export type Prebilling = Stripe.SubscriptionCreateParams.Prebilling; - export type ProrationBehavior = Stripe.SubscriptionCreateParams.ProrationBehavior; - export type TransferData = Stripe.SubscriptionCreateParams.TransferData; - export type TrialSettings = Stripe.SubscriptionCreateParams.TrialSettings; - } - export namespace SubscriptionUpdateParams { - export type AddInvoiceItem = Stripe.SubscriptionUpdateParams.AddInvoiceItem; - export type AutomaticTax = Stripe.SubscriptionUpdateParams.AutomaticTax; - export type BillingCycleAnchor = Stripe.SubscriptionUpdateParams.BillingCycleAnchor; - export type BillingSchedule = Stripe.SubscriptionUpdateParams.BillingSchedule; - export type BillingThresholds = Stripe.SubscriptionUpdateParams.BillingThresholds; - export type CancelAt = Stripe.SubscriptionUpdateParams.CancelAt; - export type CancellationDetails = Stripe.SubscriptionUpdateParams.CancellationDetails; - export type CollectionMethod = Stripe.SubscriptionUpdateParams.CollectionMethod; - export type Discount = Stripe.SubscriptionUpdateParams.Discount; - export type InvoiceSettings = Stripe.SubscriptionUpdateParams.InvoiceSettings; - export type Item = Stripe.SubscriptionUpdateParams.Item; - export type PauseCollection = Stripe.SubscriptionUpdateParams.PauseCollection; - export type PaymentBehavior = Stripe.SubscriptionUpdateParams.PaymentBehavior; - export type PaymentSettings = Stripe.SubscriptionUpdateParams.PaymentSettings; - export type PendingInvoiceItemInterval = Stripe.SubscriptionUpdateParams.PendingInvoiceItemInterval; - export type Prebilling = Stripe.SubscriptionUpdateParams.Prebilling; - export type ProrationBehavior = Stripe.SubscriptionUpdateParams.ProrationBehavior; - export type TransferData = Stripe.SubscriptionUpdateParams.TransferData; - export type TrialSettings = Stripe.SubscriptionUpdateParams.TrialSettings; - } - export namespace SubscriptionListParams { - export type AutomaticTax = Stripe_.SubscriptionListParams.AutomaticTax; - export type CollectionMethod = Stripe_.SubscriptionListParams.CollectionMethod; - export type Status = Stripe_.SubscriptionListParams.Status; - } - export namespace SubscriptionCancelParams { - export type CancellationDetails = Stripe_.SubscriptionCancelParams.CancellationDetails; - export namespace CancellationDetails { - export type Feedback = Stripe_.SubscriptionCancelParams.CancellationDetails.Feedback; + export namespace ScheduleSettings { + export type EndBehavior = Stripe_.SubscriptionScheduleAmendParams.ScheduleSettings.EndBehavior; } } - export namespace SubscriptionMigrateParams { - export type BillingMode = Stripe_.SubscriptionMigrateParams.BillingMode; + export namespace SubscriptionSchedule { + export type BillingBehavior = Stripe_.SubscriptionSchedule.BillingBehavior; + export type BillingMode = Stripe_.SubscriptionSchedule.BillingMode; + export type BillingSchedule = Stripe_.SubscriptionSchedule.BillingSchedule; + export type CurrentPhase = Stripe_.SubscriptionSchedule.CurrentPhase; + export type DefaultSettings = Stripe_.SubscriptionSchedule.DefaultSettings; + export type EndBehavior = Stripe_.SubscriptionSchedule.EndBehavior; + export type LastPriceMigrationError = Stripe_.SubscriptionSchedule.LastPriceMigrationError; + export type Phase = Stripe_.SubscriptionSchedule.Phase; + export type Prebilling = Stripe_.SubscriptionSchedule.Prebilling; + export type Status = Stripe_.SubscriptionSchedule.Status; export namespace BillingMode { - export type Flexible = Stripe_.SubscriptionMigrateParams.BillingMode.Flexible; + export type Flexible = Stripe_.SubscriptionSchedule.BillingMode.Flexible; + export type Type = Stripe_.SubscriptionSchedule.BillingMode.Type; export namespace Flexible { - export type ProrationDiscounts = Stripe_.SubscriptionMigrateParams.BillingMode.Flexible.ProrationDiscounts; + export type ProrationDiscounts = Stripe_.SubscriptionSchedule.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.SubscriptionSchedule.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.SubscriptionSchedule.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe_.SubscriptionSchedule.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.SubscriptionSchedule.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.SubscriptionSchedule.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace DefaultSettings { + export type AutomaticTax = Stripe_.SubscriptionSchedule.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionSchedule.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionSchedule.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionSchedule.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe_.SubscriptionSchedule.DefaultSettings.InvoiceSettings; + export type PhaseEffectiveAt = Stripe_.SubscriptionSchedule.DefaultSettings.PhaseEffectiveAt; + export type TransferData = Stripe_.SubscriptionSchedule.DefaultSettings.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.SubscriptionSchedule.DefaultSettings.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.SubscriptionSchedule.DefaultSettings.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.SubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.SubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer.Type; + } + } + } + export namespace LastPriceMigrationError { + export type FailedTransition = Stripe_.SubscriptionSchedule.LastPriceMigrationError.FailedTransition; + } + export namespace Phase { + export type AddInvoiceItem = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe_.SubscriptionSchedule.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe_.SubscriptionSchedule.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe_.SubscriptionSchedule.Phase.BillingThresholds; + export type CollectionMethod = Stripe_.SubscriptionSchedule.Phase.CollectionMethod; + export type Discount = Stripe_.SubscriptionSchedule.Phase.Discount; + export type EffectiveAt = Stripe_.SubscriptionSchedule.Phase.EffectiveAt; + export type InvoiceSettings = Stripe_.SubscriptionSchedule.Phase.InvoiceSettings; + export type Item = Stripe_.SubscriptionSchedule.Phase.Item; + export type PauseCollection = Stripe_.SubscriptionSchedule.Phase.PauseCollection; + export type ProrationBehavior = Stripe_.SubscriptionSchedule.Phase.ProrationBehavior; + export type TransferData = Stripe_.SubscriptionSchedule.Phase.TransferData; + export type TrialContinuation = Stripe_.SubscriptionSchedule.Phase.TrialContinuation; + export type TrialSettings = Stripe_.SubscriptionSchedule.Phase.TrialSettings; + export namespace AddInvoiceItem { + export type Discount = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Discount; + export type Period = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Discount.DiscountEnd; + } + export namespace Period { + export type End = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe_.SubscriptionSchedule.Phase.AddInvoiceItem.Period.Start.Type; + } + } + } + export namespace AutomaticTax { + export type Liability = Stripe_.SubscriptionSchedule.Phase.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.SubscriptionSchedule.Phase.AutomaticTax.Liability.Type; + } + } + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionSchedule.Phase.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionSchedule.Phase.Discount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionSchedule.Phase.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionSchedule.Phase.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionSchedule.Phase.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionSchedule.Phase.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.SubscriptionSchedule.Phase.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.SubscriptionSchedule.Phase.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe_.SubscriptionSchedule.Phase.Item.BillingThresholds; + export type Discount = Stripe_.SubscriptionSchedule.Phase.Item.Discount; + export type Trial = Stripe_.SubscriptionSchedule.Phase.Item.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.SubscriptionSchedule.Phase.Item.Discount.DiscountEnd; + export type Settings = Stripe_.SubscriptionSchedule.Phase.Item.Discount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.SubscriptionSchedule.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.SubscriptionSchedule.Phase.Item.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.SubscriptionSchedule.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.SubscriptionSchedule.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.SubscriptionSchedule.Phase.Item.Trial.Type; + } + } + export namespace PauseCollection { + export type Behavior = Stripe_.SubscriptionSchedule.Phase.PauseCollection.Behavior; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.SubscriptionSchedule.Phase.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.SubscriptionSchedule.Phase.TrialSettings.EndBehavior.ProrateUpFront; + } } } + export namespace Prebilling { + export type UpdateBehavior = Stripe_.SubscriptionSchedule.Prebilling.UpdateBehavior; + } } - export namespace SubscriptionPauseParams { - export type BillFor = Stripe.SubscriptionPauseParams.BillFor; - export type InvoicingBehavior = Stripe.SubscriptionPauseParams.InvoicingBehavior; - } - export namespace SubscriptionResumeParams { - export type BillingCycleAnchor = Stripe.SubscriptionResumeParams.BillingCycleAnchor; - export type PaymentBehavior = Stripe.SubscriptionResumeParams.PaymentBehavior; - export type ProrationBehavior = Stripe.SubscriptionResumeParams.ProrationBehavior; - } - export namespace SubscriptionItemCreateParams { - export type BillingThresholds = Stripe.SubscriptionItemCreateParams.BillingThresholds; - export type CurrentTrial = Stripe.SubscriptionItemCreateParams.CurrentTrial; - export type Discount = Stripe.SubscriptionItemCreateParams.Discount; - export type PaymentBehavior = Stripe.SubscriptionItemCreateParams.PaymentBehavior; - export type PriceData = Stripe.SubscriptionItemCreateParams.PriceData; - export type ProrationBehavior = Stripe.SubscriptionItemCreateParams.ProrationBehavior; - export type Trial = Stripe.SubscriptionItemCreateParams.Trial; - } - export namespace SubscriptionItemUpdateParams { - export type BillingThresholds = Stripe.SubscriptionItemUpdateParams.BillingThresholds; - export type CurrentTrial = Stripe.SubscriptionItemUpdateParams.CurrentTrial; - export type Discount = Stripe.SubscriptionItemUpdateParams.Discount; - export type PaymentBehavior = Stripe.SubscriptionItemUpdateParams.PaymentBehavior; - export type PriceData = Stripe.SubscriptionItemUpdateParams.PriceData; - export type ProrationBehavior = Stripe.SubscriptionItemUpdateParams.ProrationBehavior; - } - export namespace SubscriptionItemDeleteParams { - export type PaymentBehavior = Stripe_.SubscriptionItemDeleteParams.PaymentBehavior; - export type ProrationBehavior = Stripe_.SubscriptionItemDeleteParams.ProrationBehavior; - } - export namespace SubscriptionItem { - export type BillingThresholds = Stripe_.SubscriptionItem.BillingThresholds; - } - export namespace SubscriptionScheduleCreateParams { - export type BillingBehavior = Stripe.SubscriptionScheduleCreateParams.BillingBehavior; - export type BillingMode = Stripe.SubscriptionScheduleCreateParams.BillingMode; - export type BillingSchedule = Stripe.SubscriptionScheduleCreateParams.BillingSchedule; - export type DefaultSettings = Stripe.SubscriptionScheduleCreateParams.DefaultSettings; - export type EndBehavior = Stripe.SubscriptionScheduleCreateParams.EndBehavior; - export type Phase = Stripe.SubscriptionScheduleCreateParams.Phase; - export type Prebilling = Stripe.SubscriptionScheduleCreateParams.Prebilling; - } - export namespace SubscriptionScheduleUpdateParams { - export type BillingBehavior = Stripe.SubscriptionScheduleUpdateParams.BillingBehavior; - export type BillingSchedule = Stripe.SubscriptionScheduleUpdateParams.BillingSchedule; - export type DefaultSettings = Stripe.SubscriptionScheduleUpdateParams.DefaultSettings; - export type EndBehavior = Stripe.SubscriptionScheduleUpdateParams.EndBehavior; - export type Phase = Stripe.SubscriptionScheduleUpdateParams.Phase; - export type Prebilling = Stripe.SubscriptionScheduleUpdateParams.Prebilling; - export type ProrationBehavior = Stripe.SubscriptionScheduleUpdateParams.ProrationBehavior; + export namespace TaxCode { + export type Requirements = Stripe_.TaxCode.Requirements; + export namespace Requirements { + export type PerformanceLocation = Stripe_.TaxCode.Requirements.PerformanceLocation; + } } - export namespace SubscriptionScheduleAmendParams { - export type Amendment = Stripe.SubscriptionScheduleAmendParams.Amendment; - export type Prebilling = Stripe.SubscriptionScheduleAmendParams.Prebilling; - export type ProrationBehavior = Stripe.SubscriptionScheduleAmendParams.ProrationBehavior; - export type ScheduleSettings = Stripe.SubscriptionScheduleAmendParams.ScheduleSettings; + export namespace TaxFund { + export type Context = Stripe_.TaxFund.Context; + export type Destination = Stripe_.TaxFund.Destination; + export type Source = Stripe_.TaxFund.Source; + export type Trigger = Stripe_.TaxFund.Trigger; + export namespace Destination { + export type PaymentsBalance = Stripe_.TaxFund.Destination.PaymentsBalance; + export type TaxFundAccount = Stripe_.TaxFund.Destination.TaxFundAccount; + } + export namespace Source { + export type PaymentsBalance = Stripe_.TaxFund.Source.PaymentsBalance; + export type TaxFundAccount = Stripe_.TaxFund.Source.TaxFundAccount; + } } export namespace TaxIdCreateParams { export type Type = Stripe_.TaxIdCreateParams.Type; @@ -3587,6 +14504,8 @@ declare namespace StripeConstructor { export type Dob = Stripe_.TokenCreateParams.Account.Individual.Dob; export type PoliticalExposure = Stripe_.TokenCreateParams.Account.Individual.PoliticalExposure; export type Relationship = Stripe_.TokenCreateParams.Account.Individual.Relationship; + export type SelfReportedIncome = Stripe_.TokenCreateParams.Account.Individual.SelfReportedIncome; + export type SelfReportedMonthlyHousingPayment = Stripe_.TokenCreateParams.Account.Individual.SelfReportedMonthlyHousingPayment; export type Verification = Stripe_.TokenCreateParams.Account.Individual.Verification; export namespace Verification { export type AdditionalDocument = Stripe_.TokenCreateParams.Account.Individual.Verification.AdditionalDocument; @@ -3610,6 +14529,8 @@ declare namespace StripeConstructor { export type Documents = Stripe_.TokenCreateParams.Person.Documents; export type PoliticalExposure = Stripe_.TokenCreateParams.Person.PoliticalExposure; export type Relationship = Stripe_.TokenCreateParams.Person.Relationship; + export type SelfReportedIncome = Stripe_.TokenCreateParams.Person.SelfReportedIncome; + export type SelfReportedMonthlyHousingPayment = Stripe_.TokenCreateParams.Person.SelfReportedMonthlyHousingPayment; export type UsCfpbData = Stripe_.TokenCreateParams.Person.UsCfpbData; export type Verification = Stripe_.TokenCreateParams.Person.Verification; export namespace AdditionalTosAcceptances { @@ -3626,57 +14547,778 @@ declare namespace StripeConstructor { export namespace EthnicityDetails { export type Ethnicity = Stripe_.TokenCreateParams.Person.UsCfpbData.EthnicityDetails.Ethnicity; } - export namespace RaceDetails { - export type Race = Stripe_.TokenCreateParams.Person.UsCfpbData.RaceDetails.Race; + export namespace RaceDetails { + export type Race = Stripe_.TokenCreateParams.Person.UsCfpbData.RaceDetails.Race; + } + } + export namespace Verification { + export type AdditionalDocument = Stripe_.TokenCreateParams.Person.Verification.AdditionalDocument; + export type Document = Stripe_.TokenCreateParams.Person.Verification.Document; + } + } + } + export namespace TopupListParams { + export type Status = Stripe_.TopupListParams.Status; + } + export namespace Topup { + export type Status = Stripe_.Topup.Status; + } + export namespace TransferCreateParams { + export type SourceType = Stripe_.TransferCreateParams.SourceType; + } + export namespace WebhookEndpointCreateParams { + export type EnabledEvent = Stripe_.WebhookEndpointCreateParams.EnabledEvent; + export type ApiVersion = Stripe_.WebhookEndpointCreateParams.ApiVersion; + } + export namespace WebhookEndpointUpdateParams { + export type EnabledEvent = Stripe_.WebhookEndpointUpdateParams.EnabledEvent; + } + export namespace BankAccount { + export type AvailablePayoutMethod = Stripe_.BankAccount.AvailablePayoutMethod; + export type FutureRequirements = Stripe_.BankAccount.FutureRequirements; + export type Requirements = Stripe_.BankAccount.Requirements; + export namespace FutureRequirements { + export type Error = Stripe_.BankAccount.FutureRequirements.Error; + export namespace Error { + export type Code = Stripe_.BankAccount.FutureRequirements.Error.Code; + } + } + export namespace Requirements { + export type Error = Stripe_.BankAccount.Requirements.Error; + export namespace Error { + export type Code = Stripe_.BankAccount.Requirements.Error.Code; + } + } + } + export namespace Card { + export type AllowRedisplay = Stripe_.Card.AllowRedisplay; + export type AvailablePayoutMethod = Stripe_.Card.AvailablePayoutMethod; + export type Benefits = Stripe_.Card.Benefits; + export type Networks = Stripe_.Card.Networks; + export type RegulatedStatus = Stripe_.Card.RegulatedStatus; + } + export namespace DeletedDiscount { + export type Source = Stripe_.DeletedDiscount.Source; + } + export namespace Discount { + export type ServicePeriodDetails = Stripe_.Discount.ServicePeriodDetails; + export type Source = Stripe_.Discount.Source; + } + export namespace FundingInstructions { + export type BankTransfer = Stripe_.FundingInstructions.BankTransfer; + export namespace BankTransfer { + export type FinancialAddress = Stripe_.FundingInstructions.BankTransfer.FinancialAddress; + export type Type = Stripe_.FundingInstructions.BankTransfer.Type; + export namespace FinancialAddress { + export type Aba = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Aba; + export type Iban = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Iban; + export type SortCode = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.SortCode; + export type Spei = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Spei; + export type SupportedNetwork = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.SupportedNetwork; + export type Swift = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Swift; + export type Type = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Type; + export type Zengin = Stripe_.FundingInstructions.BankTransfer.FinancialAddress.Zengin; + } + } + } + export namespace LineItem { + export type AdjustableQuantity = Stripe_.LineItem.AdjustableQuantity; + export type Discount = Stripe_.LineItem.Discount; + export type Display = Stripe_.LineItem.Display; + export type TaxCalculationReference = Stripe_.LineItem.TaxCalculationReference; + export type Tax = Stripe_.LineItem.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.LineItem.Tax.TaxabilityReason; + } + } + export namespace PaymentMethodBalance { + export type Balance = Stripe_.PaymentMethodBalance.Balance; + export namespace Balance { + export type FrMealVoucher = Stripe_.PaymentMethodBalance.Balance.FrMealVoucher; + export namespace FrMealVoucher { + export type Available = Stripe_.PaymentMethodBalance.Balance.FrMealVoucher.Available; + } + } + } + export namespace Profile { + export type Branding = Stripe_.Profile.Branding; + export namespace Branding { + export type Icon = Stripe_.Profile.Branding.Icon; + export type Logo = Stripe_.Profile.Branding.Logo; + } + } + export namespace QuoteLine { + export type Action = Stripe_.QuoteLine.Action; + export type AppliesTo = Stripe_.QuoteLine.AppliesTo; + export type BillingCycleAnchor = Stripe_.QuoteLine.BillingCycleAnchor; + export type CancelSubscriptionSchedule = Stripe_.QuoteLine.CancelSubscriptionSchedule; + export type EffectiveAt = Stripe_.QuoteLine.EffectiveAt; + export type EndsAt = Stripe_.QuoteLine.EndsAt; + export type ProrationBehavior = Stripe_.QuoteLine.ProrationBehavior; + export type SetPauseCollection = Stripe_.QuoteLine.SetPauseCollection; + export type SetScheduleEnd = Stripe_.QuoteLine.SetScheduleEnd; + export type StartsAt = Stripe_.QuoteLine.StartsAt; + export type TrialSettings = Stripe_.QuoteLine.TrialSettings; + export namespace Action { + export type AddDiscount = Stripe_.QuoteLine.Action.AddDiscount; + export type AddItem = Stripe_.QuoteLine.Action.AddItem; + export type RemoveDiscount = Stripe_.QuoteLine.Action.RemoveDiscount; + export type RemoveItem = Stripe_.QuoteLine.Action.RemoveItem; + export type SetDiscount = Stripe_.QuoteLine.Action.SetDiscount; + export type SetItem = Stripe_.QuoteLine.Action.SetItem; + export type Type = Stripe_.QuoteLine.Action.Type; + export namespace AddDiscount { + export type DiscountEnd = Stripe_.QuoteLine.Action.AddDiscount.DiscountEnd; + export type Settings = Stripe_.QuoteLine.Action.AddDiscount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteLine.Action.AddDiscount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteLine.Action.AddDiscount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteLine.Action.AddDiscount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteLine.Action.AddDiscount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace AddItem { + export type Discount = Stripe_.QuoteLine.Action.AddItem.Discount; + export type Trial = Stripe_.QuoteLine.Action.AddItem.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteLine.Action.AddItem.Discount.DiscountEnd; + export type Settings = Stripe_.QuoteLine.Action.AddItem.Discount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteLine.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteLine.Action.AddItem.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteLine.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteLine.Action.AddItem.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.QuoteLine.Action.AddItem.Trial.Type; + } + } + export namespace RemoveDiscount { + export type DiscountEnd = Stripe_.QuoteLine.Action.RemoveDiscount.DiscountEnd; + } + export namespace SetDiscount { + export type DiscountEnd = Stripe_.QuoteLine.Action.SetDiscount.DiscountEnd; + export type Settings = Stripe_.QuoteLine.Action.SetDiscount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteLine.Action.SetDiscount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteLine.Action.SetDiscount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteLine.Action.SetDiscount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteLine.Action.SetDiscount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace SetItem { + export type Discount = Stripe_.QuoteLine.Action.SetItem.Discount; + export type Trial = Stripe_.QuoteLine.Action.SetItem.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.QuoteLine.Action.SetItem.Discount.DiscountEnd; + export type Settings = Stripe_.QuoteLine.Action.SetItem.Discount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuoteLine.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuoteLine.Action.SetItem.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuoteLine.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuoteLine.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.QuoteLine.Action.SetItem.Trial.Type; + } + } + } + export namespace AppliesTo { + export type Type = Stripe_.QuoteLine.AppliesTo.Type; + } + export namespace EndsAt { + export type DiscountEnd = Stripe_.QuoteLine.EndsAt.DiscountEnd; + export type Duration = Stripe_.QuoteLine.EndsAt.Duration; + export type Type = Stripe_.QuoteLine.EndsAt.Type; + export namespace Duration { + export type Interval = Stripe_.QuoteLine.EndsAt.Duration.Interval; + } + } + export namespace SetPauseCollection { + export type Set = Stripe_.QuoteLine.SetPauseCollection.Set; + export type Type = Stripe_.QuoteLine.SetPauseCollection.Type; + export namespace Set { + export type Behavior = Stripe_.QuoteLine.SetPauseCollection.Set.Behavior; + } + } + export namespace StartsAt { + export type DiscountEnd = Stripe_.QuoteLine.StartsAt.DiscountEnd; + export type LineEndsAt = Stripe_.QuoteLine.StartsAt.LineEndsAt; + export type Type = Stripe_.QuoteLine.StartsAt.Type; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.QuoteLine.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.QuoteLine.TrialSettings.EndBehavior.ProrateUpFront; + } + } + } + export namespace SourceMandateNotification { + export type AcssDebit = Stripe_.SourceMandateNotification.AcssDebit; + export type BacsDebit = Stripe_.SourceMandateNotification.BacsDebit; + export type SepaDebit = Stripe_.SourceMandateNotification.SepaDebit; + } + export namespace SourceTransaction { + export type AchCreditTransfer = Stripe_.SourceTransaction.AchCreditTransfer; + export type ChfCreditTransfer = Stripe_.SourceTransaction.ChfCreditTransfer; + export type GbpCreditTransfer = Stripe_.SourceTransaction.GbpCreditTransfer; + export type PaperCheck = Stripe_.SourceTransaction.PaperCheck; + export type SepaCreditTransfer = Stripe_.SourceTransaction.SepaCreditTransfer; + export type Type = Stripe_.SourceTransaction.Type; + } + export namespace TransitBalance { + export type Balance = Stripe_.TransitBalance.Balance; + } + export namespace AccountSignals { + export type Delinquency = Stripe_.AccountSignals.Delinquency; + export type FraudIntent = Stripe_.AccountSignals.FraudIntent; + export namespace Delinquency { + export type Indicator = Stripe_.AccountSignals.Delinquency.Indicator; + export type RiskLevel = Stripe_.AccountSignals.Delinquency.RiskLevel; + export namespace Indicator { + export type Impact = Stripe_.AccountSignals.Delinquency.Indicator.Impact; + export type Indicator = Stripe_.AccountSignals.Delinquency.Indicator.Indicator; + } + } + export namespace FraudIntent { + export type Indicator = Stripe_.AccountSignals.FraudIntent.Indicator; + export type RiskLevel = Stripe_.AccountSignals.FraudIntent.RiskLevel; + export namespace Indicator { + export type Impact = Stripe_.AccountSignals.FraudIntent.Indicator.Impact; + export type Indicator = Stripe_.AccountSignals.FraudIntent.Indicator.Indicator; + } + } + } + export namespace Capability { + export type FutureRequirements = Stripe_.Capability.FutureRequirements; + export type Protections = Stripe_.Capability.Protections; + export type Requirements = Stripe_.Capability.Requirements; + export type Status = Stripe_.Capability.Status; + export namespace FutureRequirements { + export type Alternative = Stripe_.Capability.FutureRequirements.Alternative; + export type DisabledReason = Stripe_.Capability.FutureRequirements.DisabledReason; + export type Error = Stripe_.Capability.FutureRequirements.Error; + export namespace Error { + export type Code = Stripe_.Capability.FutureRequirements.Error.Code; + } + } + export namespace Protections { + export type PspMigration = Stripe_.Capability.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.Capability.Protections.PspMigration.Status; + } + } + export namespace Requirements { + export type Alternative = Stripe_.Capability.Requirements.Alternative; + export type DisabledReason = Stripe_.Capability.Requirements.DisabledReason; + export type Error = Stripe_.Capability.Requirements.Error; + export namespace Error { + export type Code = Stripe_.Capability.Requirements.Error.Code; + } + } + } + export namespace Person { + export type AdditionalTosAcceptances = Stripe_.Person.AdditionalTosAcceptances; + export type AddressKana = Stripe_.Person.AddressKana; + export type AddressKanji = Stripe_.Person.AddressKanji; + export type Dob = Stripe_.Person.Dob; + export type FutureRequirements = Stripe_.Person.FutureRequirements; + export type PoliticalExposure = Stripe_.Person.PoliticalExposure; + export type Relationship = Stripe_.Person.Relationship; + export type Requirements = Stripe_.Person.Requirements; + export type SelfReportedIncome = Stripe_.Person.SelfReportedIncome; + export type SelfReportedMonthlyHousingPayment = Stripe_.Person.SelfReportedMonthlyHousingPayment; + export type UsCfpbData = Stripe_.Person.UsCfpbData; + export type Verification = Stripe_.Person.Verification; + export namespace AdditionalTosAcceptances { + export type Account = Stripe_.Person.AdditionalTosAcceptances.Account; + } + export namespace FutureRequirements { + export type Alternative = Stripe_.Person.FutureRequirements.Alternative; + export type Error = Stripe_.Person.FutureRequirements.Error; + export namespace Error { + export type Code = Stripe_.Person.FutureRequirements.Error.Code; + } + } + export namespace Requirements { + export type Alternative = Stripe_.Person.Requirements.Alternative; + export type Error = Stripe_.Person.Requirements.Error; + export namespace Error { + export type Code = Stripe_.Person.Requirements.Error.Code; + } + } + export namespace UsCfpbData { + export type EthnicityDetails = Stripe_.Person.UsCfpbData.EthnicityDetails; + export type RaceDetails = Stripe_.Person.UsCfpbData.RaceDetails; + export namespace EthnicityDetails { + export type Ethnicity = Stripe_.Person.UsCfpbData.EthnicityDetails.Ethnicity; + } + export namespace RaceDetails { + export type Race = Stripe_.Person.UsCfpbData.RaceDetails.Race; + } + } + export namespace Verification { + export type AdditionalDocument = Stripe_.Person.Verification.AdditionalDocument; + export type Document = Stripe_.Person.Verification.Document; + } + } + export namespace CreditNoteLineItem { + export type DiscountAmount = Stripe_.CreditNoteLineItem.DiscountAmount; + export type PretaxCreditAmount = Stripe_.CreditNoteLineItem.PretaxCreditAmount; + export type TaxCalculationReference = Stripe_.CreditNoteLineItem.TaxCalculationReference; + export type Tax = Stripe_.CreditNoteLineItem.Tax; + export type Type = Stripe_.CreditNoteLineItem.Type; + export namespace PretaxCreditAmount { + export type Type = Stripe_.CreditNoteLineItem.PretaxCreditAmount.Type; + } + export namespace Tax { + export type TaxBehavior = Stripe_.CreditNoteLineItem.Tax.TaxBehavior; + export type TaxRateDetails = Stripe_.CreditNoteLineItem.Tax.TaxRateDetails; + export type TaxabilityReason = Stripe_.CreditNoteLineItem.Tax.TaxabilityReason; + } + } + export namespace CustomerBalanceTransaction { + export type Type = Stripe_.CustomerBalanceTransaction.Type; + } + export namespace CashBalance { + export type Settings = Stripe_.CashBalance.Settings; + export namespace Settings { + export type ReconciliationMode = Stripe_.CashBalance.Settings.ReconciliationMode; + } + } + export namespace CustomerCashBalanceTransaction { + export type AdjustedForOverdraft = Stripe_.CustomerCashBalanceTransaction.AdjustedForOverdraft; + export type AppliedToPayment = Stripe_.CustomerCashBalanceTransaction.AppliedToPayment; + export type Funded = Stripe_.CustomerCashBalanceTransaction.Funded; + export type RefundedFromPayment = Stripe_.CustomerCashBalanceTransaction.RefundedFromPayment; + export type TransferredToBalance = Stripe_.CustomerCashBalanceTransaction.TransferredToBalance; + export type Type = Stripe_.CustomerCashBalanceTransaction.Type; + export type UnappliedFromPayment = Stripe_.CustomerCashBalanceTransaction.UnappliedFromPayment; + export namespace Funded { + export type BankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.EuBankTransfer; + export type GbBankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.GbBankTransfer; + export type JpBankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.JpBankTransfer; + export type Type = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.Type; + export type UsBankTransfer = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer; + export namespace UsBankTransfer { + export type Network = Stripe_.CustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer.Network; + } + } + } + } + export namespace InvoiceLineItem { + export type DiscountAmount = Stripe_.InvoiceLineItem.DiscountAmount; + export type MarginAmount = Stripe_.InvoiceLineItem.MarginAmount; + export type Parent = Stripe_.InvoiceLineItem.Parent; + export type Period = Stripe_.InvoiceLineItem.Period; + export type PretaxCreditAmount = Stripe_.InvoiceLineItem.PretaxCreditAmount; + export type Pricing = Stripe_.InvoiceLineItem.Pricing; + export type TaxCalculationReference = Stripe_.InvoiceLineItem.TaxCalculationReference; + export type Tax = Stripe_.InvoiceLineItem.Tax; + export namespace Parent { + export type InvoiceItemDetails = Stripe_.InvoiceLineItem.Parent.InvoiceItemDetails; + export type PricingPlanSubscriptionDetails = Stripe_.InvoiceLineItem.Parent.PricingPlanSubscriptionDetails; + export type RateCardSubscriptionDetails = Stripe_.InvoiceLineItem.Parent.RateCardSubscriptionDetails; + export type ScheduleDetails = Stripe_.InvoiceLineItem.Parent.ScheduleDetails; + export type SubscriptionItemDetails = Stripe_.InvoiceLineItem.Parent.SubscriptionItemDetails; + export type Type = Stripe_.InvoiceLineItem.Parent.Type; + export namespace InvoiceItemDetails { + export type ProrationDetails = Stripe_.InvoiceLineItem.Parent.InvoiceItemDetails.ProrationDetails; + export namespace ProrationDetails { + export type CreditedItems = Stripe_.InvoiceLineItem.Parent.InvoiceItemDetails.ProrationDetails.CreditedItems; + } + } + export namespace ScheduleDetails { + export type ProrationDetails = Stripe_.InvoiceLineItem.Parent.ScheduleDetails.ProrationDetails; + export namespace ProrationDetails { + export type CreditedItems = Stripe_.InvoiceLineItem.Parent.ScheduleDetails.ProrationDetails.CreditedItems; + } + } + export namespace SubscriptionItemDetails { + export type ProrationDetails = Stripe_.InvoiceLineItem.Parent.SubscriptionItemDetails.ProrationDetails; + export namespace ProrationDetails { + export type CreditedItems = Stripe_.InvoiceLineItem.Parent.SubscriptionItemDetails.ProrationDetails.CreditedItems; + } + } + } + export namespace PretaxCreditAmount { + export type Type = Stripe_.InvoiceLineItem.PretaxCreditAmount.Type; + } + export namespace Pricing { + export type LicenseFeeDetails = Stripe_.InvoiceLineItem.Pricing.LicenseFeeDetails; + export type PriceDetails = Stripe_.InvoiceLineItem.Pricing.PriceDetails; + export type RateCardCustomPricingUnitOverageRateDetails = Stripe_.InvoiceLineItem.Pricing.RateCardCustomPricingUnitOverageRateDetails; + export type RateCardRateDetails = Stripe_.InvoiceLineItem.Pricing.RateCardRateDetails; + export type Type = Stripe_.InvoiceLineItem.Pricing.Type; + } + export namespace Tax { + export type TaxBehavior = Stripe_.InvoiceLineItem.Tax.TaxBehavior; + export type TaxRateDetails = Stripe_.InvoiceLineItem.Tax.TaxRateDetails; + export type TaxabilityReason = Stripe_.InvoiceLineItem.Tax.TaxabilityReason; + } + } + export namespace PaymentIntentAmountDetailsLineItem { + export type PaymentMethodOptions = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions; + export type Tax = Stripe_.PaymentIntentAmountDetailsLineItem.Tax; + export namespace PaymentMethodOptions { + export type Card = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Card; + export type CardPresent = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.CardPresent; + export type Klarna = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Klarna; + export type Paypal = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Paypal; + export namespace Card { + export type FleetData = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Card.FleetData; + } + export namespace Paypal { + export type Category = Stripe_.PaymentIntentAmountDetailsLineItem.PaymentMethodOptions.Paypal.Category; + } + } + } + export namespace QuotePreviewInvoice { + export type AmountsDue = Stripe_.QuotePreviewInvoice.AmountsDue; + export type AppliesTo = Stripe_.QuotePreviewInvoice.AppliesTo; + export type AutomaticTax = Stripe_.QuotePreviewInvoice.AutomaticTax; + export type BillingReason = Stripe_.QuotePreviewInvoice.BillingReason; + export type CollectionMethod = Stripe_.QuotePreviewInvoice.CollectionMethod; + export type ConfirmationSecret = Stripe_.QuotePreviewInvoice.ConfirmationSecret; + export type CustomField = Stripe_.QuotePreviewInvoice.CustomField; + export type CustomerShipping = Stripe_.QuotePreviewInvoice.CustomerShipping; + export type CustomerTaxExempt = Stripe_.QuotePreviewInvoice.CustomerTaxExempt; + export type CustomerTaxId = Stripe_.QuotePreviewInvoice.CustomerTaxId; + export type FromInvoice = Stripe_.QuotePreviewInvoice.FromInvoice; + export type Issuer = Stripe_.QuotePreviewInvoice.Issuer; + export type LastFinalizationError = Stripe_.QuotePreviewInvoice.LastFinalizationError; + export type Parent = Stripe_.QuotePreviewInvoice.Parent; + export type PaymentSettings = Stripe_.QuotePreviewInvoice.PaymentSettings; + export type Rendering = Stripe_.QuotePreviewInvoice.Rendering; + export type ShippingCost = Stripe_.QuotePreviewInvoice.ShippingCost; + export type ShippingDetails = Stripe_.QuotePreviewInvoice.ShippingDetails; + export type Status = Stripe_.QuotePreviewInvoice.Status; + export type StatusTransitions = Stripe_.QuotePreviewInvoice.StatusTransitions; + export type ThresholdReason = Stripe_.QuotePreviewInvoice.ThresholdReason; + export type TotalDiscountAmount = Stripe_.QuotePreviewInvoice.TotalDiscountAmount; + export type TotalMarginAmount = Stripe_.QuotePreviewInvoice.TotalMarginAmount; + export type TotalPretaxCreditAmount = Stripe_.QuotePreviewInvoice.TotalPretaxCreditAmount; + export type TotalTax = Stripe_.QuotePreviewInvoice.TotalTax; + export namespace AmountsDue { + export type Status = Stripe_.QuotePreviewInvoice.AmountsDue.Status; + } + export namespace AppliesTo { + export type Type = Stripe_.QuotePreviewInvoice.AppliesTo.Type; + } + export namespace AutomaticTax { + export type DisabledReason = Stripe_.QuotePreviewInvoice.AutomaticTax.DisabledReason; + export type Liability = Stripe_.QuotePreviewInvoice.AutomaticTax.Liability; + export type Status = Stripe_.QuotePreviewInvoice.AutomaticTax.Status; + export namespace Liability { + export type Type = Stripe_.QuotePreviewInvoice.AutomaticTax.Liability.Type; + } + } + export namespace CustomerTaxId { + export type Type = Stripe_.QuotePreviewInvoice.CustomerTaxId.Type; + } + export namespace Issuer { + export type Type = Stripe_.QuotePreviewInvoice.Issuer.Type; + } + export namespace LastFinalizationError { + export type Code = Stripe_.QuotePreviewInvoice.LastFinalizationError.Code; + export type Type = Stripe_.QuotePreviewInvoice.LastFinalizationError.Type; + } + export namespace Parent { + export type BillingCadenceDetails = Stripe_.QuotePreviewInvoice.Parent.BillingCadenceDetails; + export type QuoteDetails = Stripe_.QuotePreviewInvoice.Parent.QuoteDetails; + export type ScheduleDetails = Stripe_.QuotePreviewInvoice.Parent.ScheduleDetails; + export type SubscriptionDetails = Stripe_.QuotePreviewInvoice.Parent.SubscriptionDetails; + export type Type = Stripe_.QuotePreviewInvoice.Parent.Type; + export namespace SubscriptionDetails { + export type PauseCollection = Stripe_.QuotePreviewInvoice.Parent.SubscriptionDetails.PauseCollection; + export namespace PauseCollection { + export type Behavior = Stripe_.QuotePreviewInvoice.Parent.SubscriptionDetails.PauseCollection.Behavior; + } + } + } + export namespace PaymentSettings { + export type PaymentMethodOptions = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodType; + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Bancontact; + export type Bizum = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Blik; + export type Card = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Card; + export type CheckScan = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.CheckScan; + export type CustomerBalance = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance; + export type IdBankTransfer = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.IdBankTransfer; + export type Konbini = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Konbini; + export type Payto = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Payto; + export type Pix = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Pix; + export type SepaDebit = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.SepaDebit; + export type Upi = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type MandateOptions = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type Installments = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Card.Installments; + export type RequestThreeDSecure = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Card.RequestThreeDSecure; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export namespace EuBankTransfer { + export type Country = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace Payto { + export type MandateOptions = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type Purpose = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Pix.AmountIncludesIof; + } + export namespace Upi { + export type MandateOptions = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions; + export namespace MandateOptions { + export type AmountType = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + export namespace WechatPay { + export type Client = Stripe_.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.WechatPay.Client; + } + } + } + export namespace Rendering { + export type Pdf = Stripe_.QuotePreviewInvoice.Rendering.Pdf; + export namespace Pdf { + export type PageSize = Stripe_.QuotePreviewInvoice.Rendering.Pdf.PageSize; + } + } + export namespace ShippingCost { + export type Tax = Stripe_.QuotePreviewInvoice.ShippingCost.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.QuotePreviewInvoice.ShippingCost.Tax.TaxabilityReason; + } + } + export namespace ThresholdReason { + export type ItemReason = Stripe_.QuotePreviewInvoice.ThresholdReason.ItemReason; + } + export namespace TotalPretaxCreditAmount { + export type Type = Stripe_.QuotePreviewInvoice.TotalPretaxCreditAmount.Type; + } + export namespace TotalTax { + export type TaxBehavior = Stripe_.QuotePreviewInvoice.TotalTax.TaxBehavior; + export type TaxRateDetails = Stripe_.QuotePreviewInvoice.TotalTax.TaxRateDetails; + export type TaxabilityReason = Stripe_.QuotePreviewInvoice.TotalTax.TaxabilityReason; + } + } + export namespace QuotePreviewSubscriptionSchedule { + export type AppliesTo = Stripe_.QuotePreviewSubscriptionSchedule.AppliesTo; + export type BillingBehavior = Stripe_.QuotePreviewSubscriptionSchedule.BillingBehavior; + export type BillingMode = Stripe_.QuotePreviewSubscriptionSchedule.BillingMode; + export type BillingSchedule = Stripe_.QuotePreviewSubscriptionSchedule.BillingSchedule; + export type CurrentPhase = Stripe_.QuotePreviewSubscriptionSchedule.CurrentPhase; + export type DefaultSettings = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings; + export type EndBehavior = Stripe_.QuotePreviewSubscriptionSchedule.EndBehavior; + export type LastPriceMigrationError = Stripe_.QuotePreviewSubscriptionSchedule.LastPriceMigrationError; + export type Phase = Stripe_.QuotePreviewSubscriptionSchedule.Phase; + export type Prebilling = Stripe_.QuotePreviewSubscriptionSchedule.Prebilling; + export type Status = Stripe_.QuotePreviewSubscriptionSchedule.Status; + export namespace AppliesTo { + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.AppliesTo.Type; + } + export namespace BillingMode { + export type Flexible = Stripe_.QuotePreviewSubscriptionSchedule.BillingMode.Flexible; + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe_.QuotePreviewSubscriptionSchedule.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace BillingSchedule { + export type AppliesTo = Stripe_.QuotePreviewSubscriptionSchedule.BillingSchedule.AppliesTo; + export type BillUntil = Stripe_.QuotePreviewSubscriptionSchedule.BillingSchedule.BillUntil; + export namespace BillUntil { + export type Duration = Stripe_.QuotePreviewSubscriptionSchedule.BillingSchedule.BillUntil.Duration; + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.BillingSchedule.BillUntil.Type; + export namespace Duration { + export type Interval = Stripe_.QuotePreviewSubscriptionSchedule.BillingSchedule.BillUntil.Duration.Interval; + } + } + } + export namespace DefaultSettings { + export type AutomaticTax = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.AutomaticTax; + export type BillingCycleAnchor = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.BillingCycleAnchor; + export type BillingThresholds = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.BillingThresholds; + export type CollectionMethod = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.CollectionMethod; + export type InvoiceSettings = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.InvoiceSettings; + export type PhaseEffectiveAt = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.PhaseEffectiveAt; + export type TransferData = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.TransferData; + export namespace AutomaticTax { + export type Liability = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.AutomaticTax.Liability.Type; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.DefaultSettings.InvoiceSettings.Issuer.Type; + } + } + } + export namespace LastPriceMigrationError { + export type FailedTransition = Stripe_.QuotePreviewSubscriptionSchedule.LastPriceMigrationError.FailedTransition; + } + export namespace Phase { + export type AddInvoiceItem = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem; + export type AutomaticTax = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AutomaticTax; + export type BillingCycleAnchor = Stripe_.QuotePreviewSubscriptionSchedule.Phase.BillingCycleAnchor; + export type BillingThresholds = Stripe_.QuotePreviewSubscriptionSchedule.Phase.BillingThresholds; + export type CollectionMethod = Stripe_.QuotePreviewSubscriptionSchedule.Phase.CollectionMethod; + export type Discount = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Discount; + export type EffectiveAt = Stripe_.QuotePreviewSubscriptionSchedule.Phase.EffectiveAt; + export type InvoiceSettings = Stripe_.QuotePreviewSubscriptionSchedule.Phase.InvoiceSettings; + export type Item = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item; + export type PauseCollection = Stripe_.QuotePreviewSubscriptionSchedule.Phase.PauseCollection; + export type ProrationBehavior = Stripe_.QuotePreviewSubscriptionSchedule.Phase.ProrationBehavior; + export type TransferData = Stripe_.QuotePreviewSubscriptionSchedule.Phase.TransferData; + export type TrialContinuation = Stripe_.QuotePreviewSubscriptionSchedule.Phase.TrialContinuation; + export type TrialSettings = Stripe_.QuotePreviewSubscriptionSchedule.Phase.TrialSettings; + export namespace AddInvoiceItem { + export type Discount = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem.Discount; + export type Period = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem.Period; + export namespace Discount { + export type DiscountEnd = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem.Discount.DiscountEnd; + } + export namespace Period { + export type End = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem.Period.End; + export type Start = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem.Period.Start; + export namespace End { + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem.Period.End.Type; + } + export namespace Start { + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem.Period.Start.Type; + } + } + } + export namespace AutomaticTax { + export type Liability = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.Phase.AutomaticTax.Liability.Type; + } + } + export namespace Discount { + export type DiscountEnd = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Discount.DiscountEnd; + export type Settings = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Discount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.QuotePreviewSubscriptionSchedule.Phase.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.Phase.InvoiceSettings.Issuer.Type; + } + } + export namespace Item { + export type BillingThresholds = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.BillingThresholds; + export type Discount = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Discount; + export type Trial = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Trial; + export namespace Discount { + export type DiscountEnd = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Discount.DiscountEnd; + export type Settings = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Discount.Settings; + export namespace Settings { + export type ServicePeriodAnchorConfig = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig; + export type StartDate = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Discount.Settings.StartDate; + export namespace ServicePeriodAnchorConfig { + export type Custom = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Custom; + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Discount.Settings.ServicePeriodAnchorConfig.Type; + } + } + } + export namespace Trial { + export type Type = Stripe_.QuotePreviewSubscriptionSchedule.Phase.Item.Trial.Type; } } - export namespace Verification { - export type AdditionalDocument = Stripe_.TokenCreateParams.Person.Verification.AdditionalDocument; - export type Document = Stripe_.TokenCreateParams.Person.Verification.Document; + export namespace PauseCollection { + export type Behavior = Stripe_.QuotePreviewSubscriptionSchedule.Phase.PauseCollection.Behavior; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.QuotePreviewSubscriptionSchedule.Phase.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type ProrateUpFront = Stripe_.QuotePreviewSubscriptionSchedule.Phase.TrialSettings.EndBehavior.ProrateUpFront; + } } } + export namespace Prebilling { + export type UpdateBehavior = Stripe_.QuotePreviewSubscriptionSchedule.Prebilling.UpdateBehavior; + } } - export namespace TopupListParams { - export type Status = Stripe_.TopupListParams.Status; - } - export namespace Topup { - export type Status = Stripe_.Topup.Status; - } - export namespace TransferCreateParams { - export type SourceType = Stripe_.TransferCreateParams.SourceType; - } - export namespace WebhookEndpointCreateParams { - export type EnabledEvent = Stripe_.WebhookEndpointCreateParams.EnabledEvent; - export type ApiVersion = Stripe_.WebhookEndpointCreateParams.ApiVersion; - } - export namespace WebhookEndpointUpdateParams { - export type EnabledEvent = Stripe_.WebhookEndpointUpdateParams.EnabledEvent; - } - export type Apps = Stripe.Apps; - export type Billing = Stripe.Billing; - export type BillingPortal = Stripe.BillingPortal; - export type Capital = Stripe.Capital; - export type Checkout = Stripe.Checkout; - export type Climate = Stripe.Climate; - export type DelegatedCheckout = Stripe.DelegatedCheckout; - export type Entitlements = Stripe.Entitlements; - export type FinancialConnections = Stripe.FinancialConnections; - export type Forwarding = Stripe.Forwarding; - export type Identity = Stripe.Identity; - export type Issuing = Stripe.Issuing; - export type Orchestration = Stripe.Orchestration; - export type Privacy = Stripe.Privacy; - export type ProductCatalog = Stripe.ProductCatalog; - export type Radar = Stripe.Radar; - export type Reporting = Stripe.Reporting; - export type Reserve = Stripe.Reserve; - export type SharedPayment = Stripe.SharedPayment; - export type Sigma = Stripe.Sigma; - export type Tax = Stripe.Tax; - export type Terminal = Stripe.Terminal; - export type TestHelpers = Stripe.TestHelpers; - export type Treasury = Stripe.Treasury; - export type V2 = Stripe.V2; + export type Apps = Stripe_.Apps; + export type Billing = Stripe_.Billing; + export type BillingPortal = Stripe_.BillingPortal; + export type Capital = Stripe_.Capital; + export type Checkout = Stripe_.Checkout; + export type Climate = Stripe_.Climate; + export type DelegatedCheckout = Stripe_.DelegatedCheckout; + export type Entitlements = Stripe_.Entitlements; + export type FinancialConnections = Stripe_.FinancialConnections; + export type Forwarding = Stripe_.Forwarding; + export type Identity = Stripe_.Identity; + export type Issuing = Stripe_.Issuing; + export type Orchestration = Stripe_.Orchestration; + export type Privacy = Stripe_.Privacy; + export type ProductCatalog = Stripe_.ProductCatalog; + export type Radar = Stripe_.Radar; + export type Reporting = Stripe_.Reporting; + export type Reserve = Stripe_.Reserve; + export type SharedPayment = Stripe_.SharedPayment; + export type Sigma = Stripe_.Sigma; + export type Tax = Stripe_.Tax; + export type Terminal = Stripe_.Terminal; + export type TestHelpers = Stripe_.TestHelpers; + export type Treasury = Stripe_.Treasury; + export type V2 = Stripe_.V2; export namespace Apps { export type Secret = Stripe_.Apps.Secret; export type SecretCreateParams = Stripe_.Apps.SecretCreateParams; @@ -3698,55 +15340,126 @@ declare namespace StripeConstructor { } } export namespace Billing { - export type Alert = Stripe.Billing.Alert; - export type AlertCreateParams = Stripe.Billing.AlertCreateParams; - export type AlertRetrieveParams = Stripe.Billing.AlertRetrieveParams; - export type AlertListParams = Stripe.Billing.AlertListParams; - export type AlertActivateParams = Stripe.Billing.AlertActivateParams; - export type AlertArchiveParams = Stripe.Billing.AlertArchiveParams; - export type AlertDeactivateParams = Stripe.Billing.AlertDeactivateParams; - export type AlertResource = Stripe.Billing.AlertResource; - export type CreditBalanceSummary = Stripe.Billing.CreditBalanceSummary; - export type CreditBalanceSummaryRetrieveParams = Stripe.Billing.CreditBalanceSummaryRetrieveParams; - export type CreditBalanceSummaryResource = Stripe.Billing.CreditBalanceSummaryResource; - export type CreditBalanceTransaction = Stripe.Billing.CreditBalanceTransaction; - export type CreditBalanceTransactionRetrieveParams = Stripe.Billing.CreditBalanceTransactionRetrieveParams; - export type CreditBalanceTransactionListParams = Stripe.Billing.CreditBalanceTransactionListParams; - export type CreditBalanceTransactionResource = Stripe.Billing.CreditBalanceTransactionResource; - export type CreditGrant = Stripe.Billing.CreditGrant; - export type CreditGrantCreateParams = Stripe.Billing.CreditGrantCreateParams; - export type CreditGrantRetrieveParams = Stripe.Billing.CreditGrantRetrieveParams; - export type CreditGrantUpdateParams = Stripe.Billing.CreditGrantUpdateParams; - export type CreditGrantListParams = Stripe.Billing.CreditGrantListParams; - export type CreditGrantExpireParams = Stripe.Billing.CreditGrantExpireParams; - export type CreditGrantVoidGrantParams = Stripe.Billing.CreditGrantVoidGrantParams; - export type CreditGrantResource = Stripe.Billing.CreditGrantResource; - export type Meter = Stripe.Billing.Meter; - export type MeterCreateParams = Stripe.Billing.MeterCreateParams; - export type MeterRetrieveParams = Stripe.Billing.MeterRetrieveParams; - export type MeterUpdateParams = Stripe.Billing.MeterUpdateParams; - export type MeterListParams = Stripe.Billing.MeterListParams; - export type MeterDeactivateParams = Stripe.Billing.MeterDeactivateParams; - export type MeterListEventSummariesParams = Stripe.Billing.MeterListEventSummariesParams; - export type MeterReactivateParams = Stripe.Billing.MeterReactivateParams; - export type MeterResource = Stripe.Billing.MeterResource; - export type MeterEvent = Stripe.Billing.MeterEvent; - export type MeterEventCreateParams = Stripe.Billing.MeterEventCreateParams; - export type MeterEventResource = Stripe.Billing.MeterEventResource; - export type MeterEventAdjustment = Stripe.Billing.MeterEventAdjustment; - export type MeterEventAdjustmentCreateParams = Stripe.Billing.MeterEventAdjustmentCreateParams; - export type MeterEventAdjustmentResource = Stripe.Billing.MeterEventAdjustmentResource; - export type AlertRecovered = Stripe.Billing.AlertRecovered; - export type AlertTriggered = Stripe.Billing.AlertTriggered; - export type MeterEventSummary = Stripe.Billing.MeterEventSummary; + export type Alert = Stripe_.Billing.Alert; + export type AlertCreateParams = Stripe_.Billing.AlertCreateParams; + export type AlertRetrieveParams = Stripe_.Billing.AlertRetrieveParams; + export type AlertListParams = Stripe_.Billing.AlertListParams; + export type AlertActivateParams = Stripe_.Billing.AlertActivateParams; + export type AlertArchiveParams = Stripe_.Billing.AlertArchiveParams; + export type AlertDeactivateParams = Stripe_.Billing.AlertDeactivateParams; + export type AlertResource = Stripe_.Billing.AlertResource; + export type CreditBalanceSummary = Stripe_.Billing.CreditBalanceSummary; + export type CreditBalanceSummaryRetrieveParams = Stripe_.Billing.CreditBalanceSummaryRetrieveParams; + export type CreditBalanceSummaryResource = Stripe_.Billing.CreditBalanceSummaryResource; + export type CreditBalanceTransaction = Stripe_.Billing.CreditBalanceTransaction; + export type CreditBalanceTransactionRetrieveParams = Stripe_.Billing.CreditBalanceTransactionRetrieveParams; + export type CreditBalanceTransactionListParams = Stripe_.Billing.CreditBalanceTransactionListParams; + export type CreditBalanceTransactionResource = Stripe_.Billing.CreditBalanceTransactionResource; + export type CreditGrant = Stripe_.Billing.CreditGrant; + export type CreditGrantCreateParams = Stripe_.Billing.CreditGrantCreateParams; + export type CreditGrantRetrieveParams = Stripe_.Billing.CreditGrantRetrieveParams; + export type CreditGrantUpdateParams = Stripe_.Billing.CreditGrantUpdateParams; + export type CreditGrantListParams = Stripe_.Billing.CreditGrantListParams; + export type CreditGrantExpireParams = Stripe_.Billing.CreditGrantExpireParams; + export type CreditGrantVoidGrantParams = Stripe_.Billing.CreditGrantVoidGrantParams; + export type CreditGrantResource = Stripe_.Billing.CreditGrantResource; + export type Meter = Stripe_.Billing.Meter; + export type MeterCreateParams = Stripe_.Billing.MeterCreateParams; + export type MeterRetrieveParams = Stripe_.Billing.MeterRetrieveParams; + export type MeterUpdateParams = Stripe_.Billing.MeterUpdateParams; + export type MeterListParams = Stripe_.Billing.MeterListParams; + export type MeterDeactivateParams = Stripe_.Billing.MeterDeactivateParams; + export type MeterListEventSummariesParams = Stripe_.Billing.MeterListEventSummariesParams; + export type MeterReactivateParams = Stripe_.Billing.MeterReactivateParams; + export type MeterResource = Stripe_.Billing.MeterResource; + export type MeterEvent = Stripe_.Billing.MeterEvent; + export type MeterEventCreateParams = Stripe_.Billing.MeterEventCreateParams; + export type MeterEventResource = Stripe_.Billing.MeterEventResource; + export type MeterEventAdjustment = Stripe_.Billing.MeterEventAdjustment; + export type MeterEventAdjustmentCreateParams = Stripe_.Billing.MeterEventAdjustmentCreateParams; + export type MeterEventAdjustmentResource = Stripe_.Billing.MeterEventAdjustmentResource; + export type AlertRecovered = Stripe_.Billing.AlertRecovered; + export type AlertTriggered = Stripe_.Billing.AlertTriggered; + export type MeterEventSummary = Stripe_.Billing.MeterEventSummary; export namespace AlertCreateParams { - export type AlertType = Stripe.Billing.AlertCreateParams.AlertType; - export type CreditBalanceThreshold = Stripe.Billing.AlertCreateParams.CreditBalanceThreshold; - export type SpendThreshold = Stripe.Billing.AlertCreateParams.SpendThreshold; - export type UsageThreshold = Stripe.Billing.AlertCreateParams.UsageThreshold; - } - export namespace AlertListParams { - export type AlertType = Stripe.Billing.AlertListParams.AlertType; + export type AlertType = Stripe_.Billing.AlertCreateParams.AlertType; + export type CreditBalanceThreshold = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold; + export type SpendThreshold = Stripe_.Billing.AlertCreateParams.SpendThreshold; + export type UsageThreshold = Stripe_.Billing.AlertCreateParams.UsageThreshold; + export namespace CreditBalanceThreshold { + export type Filter = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Filter; + export type Lte = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Lte; + export namespace Filter { + export type CreditGrants = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Filter.CreditGrants; + export type Type = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Filter.Type; + export namespace CreditGrants { + export type ApplicabilityConfig = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Filter.CreditGrants.ApplicabilityConfig; + export namespace ApplicabilityConfig { + export type Scope = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Filter.CreditGrants.ApplicabilityConfig.Scope; + export namespace Scope { + export type BillableItem = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Filter.CreditGrants.ApplicabilityConfig.Scope.BillableItem; + export type Price = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Filter.CreditGrants.ApplicabilityConfig.Scope.Price; + } + } + } + } + export namespace Lte { + export type BalanceType = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Lte.BalanceType; + export type CustomPricingUnit = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit; + export type Monetary = Stripe_.Billing.AlertCreateParams.CreditBalanceThreshold.Lte.Monetary; + } + } + export namespace SpendThreshold { + export type Filters = Stripe_.Billing.AlertCreateParams.SpendThreshold.Filters; + export type GroupBy = Stripe_.Billing.AlertCreateParams.SpendThreshold.GroupBy; + export type Gte = Stripe_.Billing.AlertCreateParams.SpendThreshold.Gte; + export namespace Gte { + export type Amount = Stripe_.Billing.AlertCreateParams.SpendThreshold.Gte.Amount; + export type CustomPricingUnit = Stripe_.Billing.AlertCreateParams.SpendThreshold.Gte.CustomPricingUnit; + export type Type = Stripe_.Billing.AlertCreateParams.SpendThreshold.Gte.Type; + } + } + export namespace UsageThreshold { + export type Filter = Stripe_.Billing.AlertCreateParams.UsageThreshold.Filter; + } + } + export namespace Alert { + export type AlertType = Stripe_.Billing.Alert.AlertType; + export type CreditBalanceThreshold = Stripe_.Billing.Alert.CreditBalanceThreshold; + export type SpendThreshold = Stripe_.Billing.Alert.SpendThreshold; + export type Status = Stripe_.Billing.Alert.Status; + export type UsageThreshold = Stripe_.Billing.Alert.UsageThreshold; + export namespace CreditBalanceThreshold { + export type Filter = Stripe_.Billing.Alert.CreditBalanceThreshold.Filter; + export type Lte = Stripe_.Billing.Alert.CreditBalanceThreshold.Lte; + export namespace Filter { + export type Type = Stripe_.Billing.Alert.CreditBalanceThreshold.Filter.Type; + } + export namespace Lte { + export type BalanceType = Stripe_.Billing.Alert.CreditBalanceThreshold.Lte.BalanceType; + export type CustomPricingUnit = Stripe_.Billing.Alert.CreditBalanceThreshold.Lte.CustomPricingUnit; + export type Monetary = Stripe_.Billing.Alert.CreditBalanceThreshold.Lte.Monetary; + export namespace CustomPricingUnit { + export type CustomPricingUnitDetails = Stripe_.Billing.Alert.CreditBalanceThreshold.Lte.CustomPricingUnit.CustomPricingUnitDetails; + } + } + } + export namespace SpendThreshold { + export type Filters = Stripe_.Billing.Alert.SpendThreshold.Filters; + export type GroupBy = Stripe_.Billing.Alert.SpendThreshold.GroupBy; + export type Gte = Stripe_.Billing.Alert.SpendThreshold.Gte; + export namespace Gte { + export type Amount = Stripe_.Billing.Alert.SpendThreshold.Gte.Amount; + export type CustomPricingUnit = Stripe_.Billing.Alert.SpendThreshold.Gte.CustomPricingUnit; + export type Type = Stripe_.Billing.Alert.SpendThreshold.Gte.Type; + export namespace CustomPricingUnit { + export type CustomPricingUnitDetails = Stripe_.Billing.Alert.SpendThreshold.Gte.CustomPricingUnit.CustomPricingUnitDetails; + } + } + } + export namespace UsageThreshold { + export type Filter = Stripe_.Billing.Alert.UsageThreshold.Filter; + } } export namespace CreditBalanceSummaryRetrieveParams { export type Filter = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter; @@ -3754,6 +15467,7 @@ declare namespace StripeConstructor { export type ApplicabilityScope = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope; export type Type = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter.Type; export namespace ApplicabilityScope { + export type BillableItem = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope.BillableItem; export type Price = Stripe_.Billing.CreditBalanceSummaryRetrieveParams.Filter.ApplicabilityScope.Price; } } @@ -3762,12 +15476,26 @@ declare namespace StripeConstructor { export type Balance = Stripe_.Billing.CreditBalanceSummary.Balance; export namespace Balance { export type AvailableBalance = Stripe_.Billing.CreditBalanceSummary.Balance.AvailableBalance; + export type BalanceUpdateDetails = Stripe_.Billing.CreditBalanceSummary.Balance.BalanceUpdateDetails; export type LedgerBalance = Stripe_.Billing.CreditBalanceSummary.Balance.LedgerBalance; export namespace AvailableBalance { + export type CustomPricingUnit = Stripe_.Billing.CreditBalanceSummary.Balance.AvailableBalance.CustomPricingUnit; export type Monetary = Stripe_.Billing.CreditBalanceSummary.Balance.AvailableBalance.Monetary; + export type Type = Stripe_.Billing.CreditBalanceSummary.Balance.AvailableBalance.Type; + export namespace CustomPricingUnit { + export type CustomPricingUnitDetails = Stripe_.Billing.CreditBalanceSummary.Balance.AvailableBalance.CustomPricingUnit.CustomPricingUnitDetails; + } + } + export namespace BalanceUpdateDetails { + export type LatestMeterEvent = Stripe_.Billing.CreditBalanceSummary.Balance.BalanceUpdateDetails.LatestMeterEvent; } export namespace LedgerBalance { + export type CustomPricingUnit = Stripe_.Billing.CreditBalanceSummary.Balance.LedgerBalance.CustomPricingUnit; export type Monetary = Stripe_.Billing.CreditBalanceSummary.Balance.LedgerBalance.Monetary; + export type Type = Stripe_.Billing.CreditBalanceSummary.Balance.LedgerBalance.Type; + export namespace CustomPricingUnit { + export type CustomPricingUnitDetails = Stripe_.Billing.CreditBalanceSummary.Balance.LedgerBalance.CustomPricingUnit.CustomPricingUnitDetails; + } } } } @@ -3780,7 +15508,12 @@ declare namespace StripeConstructor { export type CreditsApplicationInvoiceVoided = Stripe_.Billing.CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided; export type Type = Stripe_.Billing.CreditBalanceTransaction.Credit.Type; export namespace Amount { + export type CustomPricingUnit = Stripe_.Billing.CreditBalanceTransaction.Credit.Amount.CustomPricingUnit; export type Monetary = Stripe_.Billing.CreditBalanceTransaction.Credit.Amount.Monetary; + export type Type = Stripe_.Billing.CreditBalanceTransaction.Credit.Amount.Type; + export namespace CustomPricingUnit { + export type CustomPricingUnitDetails = Stripe_.Billing.CreditBalanceTransaction.Credit.Amount.CustomPricingUnit.CustomPricingUnitDetails; + } } } export namespace Debit { @@ -3788,7 +15521,12 @@ declare namespace StripeConstructor { export type CreditsApplied = Stripe_.Billing.CreditBalanceTransaction.Debit.CreditsApplied; export type Type = Stripe_.Billing.CreditBalanceTransaction.Debit.Type; export namespace Amount { + export type CustomPricingUnit = Stripe_.Billing.CreditBalanceTransaction.Debit.Amount.CustomPricingUnit; export type Monetary = Stripe_.Billing.CreditBalanceTransaction.Debit.Amount.Monetary; + export type Type = Stripe_.Billing.CreditBalanceTransaction.Debit.Amount.Type; + export namespace CustomPricingUnit { + export type CustomPricingUnitDetails = Stripe_.Billing.CreditBalanceTransaction.Debit.Amount.CustomPricingUnit.CustomPricingUnitDetails; + } } } } @@ -3797,11 +15535,14 @@ declare namespace StripeConstructor { export type ApplicabilityConfig = Stripe_.Billing.CreditGrantCreateParams.ApplicabilityConfig; export type Category = Stripe_.Billing.CreditGrantCreateParams.Category; export namespace Amount { + export type CustomPricingUnit = Stripe_.Billing.CreditGrantCreateParams.Amount.CustomPricingUnit; export type Monetary = Stripe_.Billing.CreditGrantCreateParams.Amount.Monetary; + export type Type = Stripe_.Billing.CreditGrantCreateParams.Amount.Type; } export namespace ApplicabilityConfig { export type Scope = Stripe_.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope; export namespace Scope { + export type BillableItem = Stripe_.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope.BillableItem; export type Price = Stripe_.Billing.CreditGrantCreateParams.ApplicabilityConfig.Scope.Price; } } @@ -3811,11 +15552,17 @@ declare namespace StripeConstructor { export type ApplicabilityConfig = Stripe_.Billing.CreditGrant.ApplicabilityConfig; export type Category = Stripe_.Billing.CreditGrant.Category; export namespace Amount { + export type CustomPricingUnit = Stripe_.Billing.CreditGrant.Amount.CustomPricingUnit; export type Monetary = Stripe_.Billing.CreditGrant.Amount.Monetary; + export type Type = Stripe_.Billing.CreditGrant.Amount.Type; + export namespace CustomPricingUnit { + export type CustomPricingUnitDetails = Stripe_.Billing.CreditGrant.Amount.CustomPricingUnit.CustomPricingUnitDetails; + } } export namespace ApplicabilityConfig { export type Scope = Stripe_.Billing.CreditGrant.ApplicabilityConfig.Scope; export namespace Scope { + export type BillableItem = Stripe_.Billing.CreditGrant.ApplicabilityConfig.Scope.BillableItem; export type Price = Stripe_.Billing.CreditGrant.ApplicabilityConfig.Scope.Price; } } @@ -3829,12 +15576,16 @@ declare namespace StripeConstructor { export type Formula = Stripe_.Billing.MeterCreateParams.DefaultAggregation.Formula; } } - export namespace MeterListParams { - export type Status = Stripe.Billing.MeterListParams.Status; - } - export namespace MeterListEventSummariesParams { - export type TenantOperator = Stripe.Billing.MeterListEventSummariesParams.TenantOperator; - export type ValueGroupingWindow = Stripe.Billing.MeterListEventSummariesParams.ValueGroupingWindow; + export namespace Meter { + export type CustomerMapping = Stripe_.Billing.Meter.CustomerMapping; + export type DefaultAggregation = Stripe_.Billing.Meter.DefaultAggregation; + export type EventTimeWindow = Stripe_.Billing.Meter.EventTimeWindow; + export type Status = Stripe_.Billing.Meter.Status; + export type StatusTransitions = Stripe_.Billing.Meter.StatusTransitions; + export type ValueSettings = Stripe_.Billing.Meter.ValueSettings; + export namespace DefaultAggregation { + export type Formula = Stripe_.Billing.Meter.DefaultAggregation.Formula; + } } export namespace MeterEventAdjustmentCreateParams { export type Cancel = Stripe_.Billing.MeterEventAdjustmentCreateParams.Cancel; @@ -3843,15 +15594,22 @@ declare namespace StripeConstructor { export type Cancel = Stripe_.Billing.MeterEventAdjustment.Cancel; export type Status = Stripe_.Billing.MeterEventAdjustment.Status; } + export namespace AlertTriggered { + export type AggregationPeriod = Stripe_.Billing.AlertTriggered.AggregationPeriod; + export type GroupBy = Stripe_.Billing.AlertTriggered.GroupBy; + export namespace GroupBy { + export type Type = Stripe_.Billing.AlertTriggered.GroupBy.Type; + } + } export namespace Analytics { - export type MeterUsage = Stripe.Billing.Analytics.MeterUsage; - export type MeterUsageRetrieveParams = Stripe.Billing.Analytics.MeterUsageRetrieveParams; - export type MeterUsageResource = Stripe.Billing.Analytics.MeterUsageResource; - export type MeterUsageRow = Stripe.Billing.Analytics.MeterUsageRow; + export type MeterUsage = Stripe_.Billing.Analytics.MeterUsage; + export type MeterUsageRetrieveParams = Stripe_.Billing.Analytics.MeterUsageRetrieveParams; + export type MeterUsageResource = Stripe_.Billing.Analytics.MeterUsageResource; + export type MeterUsageRow = Stripe_.Billing.Analytics.MeterUsageRow; export namespace MeterUsageRetrieveParams { - export type Meter = Stripe.Billing.Analytics.MeterUsageRetrieveParams.Meter; - export type Timezone = Stripe.Billing.Analytics.MeterUsageRetrieveParams.Timezone; - export type ValueGroupingWindow = Stripe.Billing.Analytics.MeterUsageRetrieveParams.ValueGroupingWindow; + export type Meter = Stripe_.Billing.Analytics.MeterUsageRetrieveParams.Meter; + export type Timezone = Stripe_.Billing.Analytics.MeterUsageRetrieveParams.Timezone; + export type ValueGroupingWindow = Stripe_.Billing.Analytics.MeterUsageRetrieveParams.ValueGroupingWindow; } } } @@ -3965,127 +15723,884 @@ declare namespace StripeConstructor { export type CouponOffer = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer; } } - export namespace SubscriptionUpdateConfirm { - export type Discount = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Discount; - export type Item = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item; + export namespace SubscriptionUpdateConfirm { + export type Discount = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Discount; + export type Item = Stripe_.BillingPortal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item; + } + } + } + export namespace Session { + export type Flow = Stripe_.BillingPortal.Session.Flow; + export type Locale = Stripe_.BillingPortal.Session.Locale; + export namespace Flow { + export type AfterCompletion = Stripe_.BillingPortal.Session.Flow.AfterCompletion; + export type SubscriptionCancel = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel; + export type SubscriptionUpdate = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdate; + export type SubscriptionUpdateConfirm = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm; + export type Type = Stripe_.BillingPortal.Session.Flow.Type; + export namespace AfterCompletion { + export type HostedConfirmation = Stripe_.BillingPortal.Session.Flow.AfterCompletion.HostedConfirmation; + export type Redirect = Stripe_.BillingPortal.Session.Flow.AfterCompletion.Redirect; + export type Type = Stripe_.BillingPortal.Session.Flow.AfterCompletion.Type; + } + export namespace SubscriptionCancel { + export type Retention = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel.Retention; + export namespace Retention { + export type CouponOffer = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel.Retention.CouponOffer; + } + } + export namespace SubscriptionUpdateConfirm { + export type Discount = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Discount; + export type Item = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Item; + } + } + } + } + export namespace Capital { + export type FinancingOffer = Stripe_.Capital.FinancingOffer; + export type FinancingOfferRetrieveParams = Stripe_.Capital.FinancingOfferRetrieveParams; + export type FinancingOfferListParams = Stripe_.Capital.FinancingOfferListParams; + export type FinancingOfferMarkDeliveredParams = Stripe_.Capital.FinancingOfferMarkDeliveredParams; + export type FinancingOfferResource = Stripe_.Capital.FinancingOfferResource; + export type FinancingSummary = Stripe_.Capital.FinancingSummary; + export type FinancingSummaryRetrieveParams = Stripe_.Capital.FinancingSummaryRetrieveParams; + export type FinancingSummaryResource = Stripe_.Capital.FinancingSummaryResource; + export type FinancingTransaction = Stripe_.Capital.FinancingTransaction; + export type FinancingTransactionRetrieveParams = Stripe_.Capital.FinancingTransactionRetrieveParams; + export type FinancingTransactionListParams = Stripe_.Capital.FinancingTransactionListParams; + export type FinancingTransactionResource = Stripe_.Capital.FinancingTransactionResource; + export namespace FinancingOffer { + export type AcceptedTerms = Stripe_.Capital.FinancingOffer.AcceptedTerms; + export type FinancingType = Stripe_.Capital.FinancingOffer.FinancingType; + export type OfferedTerms = Stripe_.Capital.FinancingOffer.OfferedTerms; + export type ProductType = Stripe_.Capital.FinancingOffer.ProductType; + export type Status = Stripe_.Capital.FinancingOffer.Status; + export type Type = Stripe_.Capital.FinancingOffer.Type; + export namespace OfferedTerms { + export type CampaignType = Stripe_.Capital.FinancingOffer.OfferedTerms.CampaignType; + } + } + export namespace FinancingSummary { + export type Details = Stripe_.Capital.FinancingSummary.Details; + export type Status = Stripe_.Capital.FinancingSummary.Status; + export namespace Details { + export type CurrentRepaymentInterval = Stripe_.Capital.FinancingSummary.Details.CurrentRepaymentInterval; + } + } + export namespace FinancingTransaction { + export type Details = Stripe_.Capital.FinancingTransaction.Details; + export type Type = Stripe_.Capital.FinancingTransaction.Type; + export namespace Details { + export type Reason = Stripe_.Capital.FinancingTransaction.Details.Reason; + export type Transaction = Stripe_.Capital.FinancingTransaction.Details.Transaction; + } + } + } + export namespace Checkout { + export type Session = Stripe_.Checkout.Session; + export type SessionCreateParams = Stripe_.Checkout.SessionCreateParams; + export type SessionRetrieveParams = Stripe_.Checkout.SessionRetrieveParams; + export type SessionUpdateParams = Stripe_.Checkout.SessionUpdateParams; + export type SessionListParams = Stripe_.Checkout.SessionListParams; + export type SessionApproveParams = Stripe_.Checkout.SessionApproveParams; + export type SessionExpireParams = Stripe_.Checkout.SessionExpireParams; + export type SessionListLineItemsParams = Stripe_.Checkout.SessionListLineItemsParams; + export type SessionResource = Stripe_.Checkout.SessionResource; + export namespace SessionCreateParams { + export type AdaptivePricing = Stripe_.Checkout.SessionCreateParams.AdaptivePricing; + export type AfterExpiration = Stripe_.Checkout.SessionCreateParams.AfterExpiration; + export type ApprovalMethod = Stripe_.Checkout.SessionCreateParams.ApprovalMethod; + export type AutomaticSurcharge = Stripe_.Checkout.SessionCreateParams.AutomaticSurcharge; + export type AutomaticTax = Stripe_.Checkout.SessionCreateParams.AutomaticTax; + export type BillingAddressCollection = Stripe_.Checkout.SessionCreateParams.BillingAddressCollection; + export type BrandingSettings = Stripe_.Checkout.SessionCreateParams.BrandingSettings; + export type CheckoutItem = Stripe_.Checkout.SessionCreateParams.CheckoutItem; + export type ConsentCollection = Stripe_.Checkout.SessionCreateParams.ConsentCollection; + export type CustomField = Stripe_.Checkout.SessionCreateParams.CustomField; + export type CustomText = Stripe_.Checkout.SessionCreateParams.CustomText; + export type CustomerCreation = Stripe_.Checkout.SessionCreateParams.CustomerCreation; + export type CustomerUpdate = Stripe_.Checkout.SessionCreateParams.CustomerUpdate; + export type Discount = Stripe_.Checkout.SessionCreateParams.Discount; + export type ExcludedPaymentMethodType = Stripe_.Checkout.SessionCreateParams.ExcludedPaymentMethodType; + export type InvoiceCreation = Stripe_.Checkout.SessionCreateParams.InvoiceCreation; + export type Item = Stripe_.Checkout.SessionCreateParams.Item; + export type LineItem = Stripe_.Checkout.SessionCreateParams.LineItem; + export type Locale = Stripe_.Checkout.SessionCreateParams.Locale; + export type ManagedPayments = Stripe_.Checkout.SessionCreateParams.ManagedPayments; + export type Mode = Stripe_.Checkout.SessionCreateParams.Mode; + export type NameCollection = Stripe_.Checkout.SessionCreateParams.NameCollection; + export type OptionalItem = Stripe_.Checkout.SessionCreateParams.OptionalItem; + export type OriginContext = Stripe_.Checkout.SessionCreateParams.OriginContext; + export type PaymentIntentData = Stripe_.Checkout.SessionCreateParams.PaymentIntentData; + export type PaymentMethodCollection = Stripe_.Checkout.SessionCreateParams.PaymentMethodCollection; + export type PaymentMethodData = Stripe_.Checkout.SessionCreateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions; + export type PaymentMethodType = Stripe_.Checkout.SessionCreateParams.PaymentMethodType; + export type Permissions = Stripe_.Checkout.SessionCreateParams.Permissions; + export type PhoneNumberCollection = Stripe_.Checkout.SessionCreateParams.PhoneNumberCollection; + export type RedirectOnCompletion = Stripe_.Checkout.SessionCreateParams.RedirectOnCompletion; + export type SavedPaymentMethodOptions = Stripe_.Checkout.SessionCreateParams.SavedPaymentMethodOptions; + export type SetupIntentData = Stripe_.Checkout.SessionCreateParams.SetupIntentData; + export type ShippingAddressCollection = Stripe_.Checkout.SessionCreateParams.ShippingAddressCollection; + export type ShippingOption = Stripe_.Checkout.SessionCreateParams.ShippingOption; + export type SubmitType = Stripe_.Checkout.SessionCreateParams.SubmitType; + export type SubscriptionData = Stripe_.Checkout.SessionCreateParams.SubscriptionData; + export type TaxIdCollection = Stripe_.Checkout.SessionCreateParams.TaxIdCollection; + export type UiMode = Stripe_.Checkout.SessionCreateParams.UiMode; + export type WalletOptions = Stripe_.Checkout.SessionCreateParams.WalletOptions; + export namespace AfterExpiration { + export type Recovery = Stripe_.Checkout.SessionCreateParams.AfterExpiration.Recovery; + } + export namespace AutomaticSurcharge { + export type CalculationBasis = Stripe_.Checkout.SessionCreateParams.AutomaticSurcharge.CalculationBasis; + export type TaxBehavior = Stripe_.Checkout.SessionCreateParams.AutomaticSurcharge.TaxBehavior; + } + export namespace AutomaticTax { + export type Liability = Stripe_.Checkout.SessionCreateParams.AutomaticTax.Liability; + export namespace Liability { + export type Type = Stripe_.Checkout.SessionCreateParams.AutomaticTax.Liability.Type; + } + } + export namespace BrandingSettings { + export type BorderStyle = Stripe_.Checkout.SessionCreateParams.BrandingSettings.BorderStyle; + export type FontFamily = Stripe_.Checkout.SessionCreateParams.BrandingSettings.FontFamily; + export type Icon = Stripe_.Checkout.SessionCreateParams.BrandingSettings.Icon; + export type Logo = Stripe_.Checkout.SessionCreateParams.BrandingSettings.Logo; + export namespace Icon { + export type Type = Stripe_.Checkout.SessionCreateParams.BrandingSettings.Icon.Type; + } + export namespace Logo { + export type Type = Stripe_.Checkout.SessionCreateParams.BrandingSettings.Logo.Type; + } + } + export namespace CheckoutItem { + export type Type = Stripe_.Checkout.SessionCreateParams.CheckoutItem.Type; + export type RateCardSubscriptionItem = Stripe_.Checkout.SessionCreateParams.CheckoutItem.RateCardSubscriptionItem; + export type PricingPlanSubscriptionItem = Stripe_.Checkout.SessionCreateParams.CheckoutItem.PricingPlanSubscriptionItem; + export namespace PricingPlanSubscriptionItem { + export type ComponentConfigurations = Stripe_.Checkout.SessionCreateParams.CheckoutItem.PricingPlanSubscriptionItem.ComponentConfigurations; + export namespace ComponentConfigurations { + export type LicenseFeeComponent = Stripe_.Checkout.SessionCreateParams.CheckoutItem.PricingPlanSubscriptionItem.ComponentConfigurations.LicenseFeeComponent; + } + } + } + export namespace ConsentCollection { + export type PaymentMethodReuseAgreement = Stripe_.Checkout.SessionCreateParams.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe_.Checkout.SessionCreateParams.ConsentCollection.Promotions; + export type TermsOfService = Stripe_.Checkout.SessionCreateParams.ConsentCollection.TermsOfService; + export namespace PaymentMethodReuseAgreement { + export type Position = Stripe_.Checkout.SessionCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position; + } + } + export namespace CustomerUpdate { + export type Address = Stripe_.Checkout.SessionCreateParams.CustomerUpdate.Address; + export type Name = Stripe_.Checkout.SessionCreateParams.CustomerUpdate.Name; + export type Shipping = Stripe_.Checkout.SessionCreateParams.CustomerUpdate.Shipping; + } + export namespace CustomField { + export type Dropdown = Stripe_.Checkout.SessionCreateParams.CustomField.Dropdown; + export type Label = Stripe_.Checkout.SessionCreateParams.CustomField.Label; + export type Numeric = Stripe_.Checkout.SessionCreateParams.CustomField.Numeric; + export type Text = Stripe_.Checkout.SessionCreateParams.CustomField.Text; + export type Type = Stripe_.Checkout.SessionCreateParams.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe_.Checkout.SessionCreateParams.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe_.Checkout.SessionCreateParams.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.Checkout.SessionCreateParams.CustomText.ShippingAddress; + export type Submit = Stripe_.Checkout.SessionCreateParams.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.Checkout.SessionCreateParams.CustomText.TermsOfServiceAcceptance; + } + export namespace Discount { + export type CouponData = Stripe_.Checkout.SessionCreateParams.Discount.CouponData; + export namespace CouponData { + export type Duration = Stripe_.Checkout.SessionCreateParams.Discount.CouponData.Duration; + } + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.Issuer.Type; + } + export namespace RenderingOptions { + export type AmountTaxDisplay = Stripe_.Checkout.SessionCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay; + } + } + } + export namespace LineItem { + export type AdjustableQuantity = Stripe_.Checkout.SessionCreateParams.LineItem.AdjustableQuantity; + export type PriceData = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData; + export namespace PriceData { + export type ProductData = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.ProductData; + export type Recurring = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.Recurring; + export type TaxBehavior = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.TaxBehavior; + export namespace ProductData { + export type TaxDetails = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.ProductData.TaxDetails; + } + export namespace Recurring { + export type Interval = Stripe_.Checkout.SessionCreateParams.LineItem.PriceData.Recurring.Interval; + } + } + } + export namespace NameCollection { + export type Business = Stripe_.Checkout.SessionCreateParams.NameCollection.Business; + export type Individual = Stripe_.Checkout.SessionCreateParams.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe_.Checkout.SessionCreateParams.OptionalItem.AdjustableQuantity; + } + export namespace PaymentIntentData { + export type CaptureMethod = Stripe_.Checkout.SessionCreateParams.PaymentIntentData.CaptureMethod; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentIntentData.SetupFutureUsage; + export type Shipping = Stripe_.Checkout.SessionCreateParams.PaymentIntentData.Shipping; + export type TransferData = Stripe_.Checkout.SessionCreateParams.PaymentIntentData.TransferData; + } + export namespace PaymentMethodData { + export type AllowRedisplay = Stripe_.Checkout.SessionCreateParams.PaymentMethodData.AllowRedisplay; + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Bizum; + export type Blik = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Blik; + export type Boleto = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Boleto; + export type Card = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card; + export type Cashapp = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Cashapp; + export type Crypto = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Crypto; + export type CustomerBalance = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance; + export type DemoPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.DemoPay; + export type Eps = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Fpx; + export type Giropay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Ideal; + export type KakaoPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.KrCard; + export type Link = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Link; + export type Mobilepay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.NaverPay; + export type Oxxo = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.P24; + export type PayByBank = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.PayByBank; + export type Payco = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto; + export type Pix = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix; + export type RevolutPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Sofort; + export type Swish = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Swish; + export type Twint = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Twint; + export type Upi = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount; + export type WechatPay = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.WechatPay; + export namespace AcssDebit { + export type Currency = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bizum { + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Bizum.MandateOptions; + } + export namespace Blik { + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Blik.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Blik.SetupFutureUsage; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type Installments = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Installments; + export type RequestDecrementalAuthorization = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestDecrementalAuthorization; + export type RequestExtendedAuthorization = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Restrictions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export namespace Restrictions { + export type BrandsBlocked = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + export namespace Cashapp { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + } + } + export namespace DemoPay { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.DemoPay.SetupFutureUsage; + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type Subscription = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription; + export namespace Subscription { + export type Interval = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription.Interval; + export type NextBilling = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Klarna.Subscription.NextBilling; + } + } + export namespace KrCard { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace Paypal { + export type PreferredLocale = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Paypal.SetupFutureUsage; + } + export namespace Payto { + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type VerificationMethod = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Permission = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + } + } + export namespace WechatPay { + export type Client = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.WechatPay.Client; + } + } + export namespace Permissions { + export type Update = Stripe_.Checkout.SessionCreateParams.Permissions.Update; + export type UpdateDiscounts = Stripe_.Checkout.SessionCreateParams.Permissions.UpdateDiscounts; + export type UpdateLineItems = Stripe_.Checkout.SessionCreateParams.Permissions.UpdateLineItems; + export type UpdateShippingDetails = Stripe_.Checkout.SessionCreateParams.Permissions.UpdateShippingDetails; + export namespace Update { + export type LineItems = Stripe_.Checkout.SessionCreateParams.Permissions.Update.LineItems; + export type ShippingDetails = Stripe_.Checkout.SessionCreateParams.Permissions.Update.ShippingDetails; + } + } + export namespace SavedPaymentMethodOptions { + export type AllowRedisplayFilter = Stripe_.Checkout.SessionCreateParams.SavedPaymentMethodOptions.AllowRedisplayFilter; + export type PaymentMethodRemove = Stripe_.Checkout.SessionCreateParams.SavedPaymentMethodOptions.PaymentMethodRemove; + export type PaymentMethodSave = Stripe_.Checkout.SessionCreateParams.SavedPaymentMethodOptions.PaymentMethodSave; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe_.Checkout.SessionCreateParams.ShippingAddressCollection.AllowedCountry; + } + export namespace ShippingOption { + export type ShippingRateData = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData; + export namespace ShippingRateData { + export type DeliveryEstimate = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate; + export type FixedAmount = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount; + export type TaxBehavior = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.TaxBehavior; + export namespace DeliveryEstimate { + export type Maximum = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum; + export type Minimum = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum; + export namespace Maximum { + export type Unit = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum.Unit; + } + export namespace Minimum { + export type Unit = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum.Unit; + } + } + export namespace FixedAmount { + export type CurrencyOptions = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOptions; + export namespace CurrencyOptions { + export type TaxBehavior = Stripe_.Checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOptions.TaxBehavior; + } + } + } + } + export namespace SubscriptionData { + export type BillingMode = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode; + export type InvoiceSettings = Stripe_.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings; + export type PendingInvoiceItemInterval = Stripe_.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval; + export type ProrationBehavior = Stripe_.Checkout.SessionCreateParams.SubscriptionData.ProrationBehavior; + export type TransferData = Stripe_.Checkout.SessionCreateParams.SubscriptionData.TransferData; + export type TrialSettings = Stripe_.Checkout.SessionCreateParams.SubscriptionData.TrialSettings; + export namespace BillingMode { + export type Flexible = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Flexible; + export type Type = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Type; + export namespace Flexible { + export type ProrationDiscounts = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode.Flexible.ProrationDiscounts; + } + } + export namespace InvoiceSettings { + export type Issuer = Stripe_.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings.Issuer; + export namespace Issuer { + export type Type = Stripe_.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings.Issuer.Type; + } + } + export namespace PendingInvoiceItemInterval { + export type Interval = Stripe_.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval.Interval; + } + export namespace TrialSettings { + export type EndBehavior = Stripe_.Checkout.SessionCreateParams.SubscriptionData.TrialSettings.EndBehavior; + export namespace EndBehavior { + export type MissingPaymentMethod = Stripe_.Checkout.SessionCreateParams.SubscriptionData.TrialSettings.EndBehavior.MissingPaymentMethod; + } + } + } + export namespace TaxIdCollection { + export type Required = Stripe_.Checkout.SessionCreateParams.TaxIdCollection.Required; + } + export namespace WalletOptions { + export type Link = Stripe_.Checkout.SessionCreateParams.WalletOptions.Link; + export namespace Link { + export type Display = Stripe_.Checkout.SessionCreateParams.WalletOptions.Link.Display; + } + } + } + export namespace Session { + export type AdaptivePricing = Stripe_.Checkout.Session.AdaptivePricing; + export type AfterExpiration = Stripe_.Checkout.Session.AfterExpiration; + export type ApprovalMethod = Stripe_.Checkout.Session.ApprovalMethod; + export type AutomaticSurcharge = Stripe_.Checkout.Session.AutomaticSurcharge; + export type AutomaticTax = Stripe_.Checkout.Session.AutomaticTax; + export type BillingAddressCollection = Stripe_.Checkout.Session.BillingAddressCollection; + export type BrandingSettings = Stripe_.Checkout.Session.BrandingSettings; + export type CheckoutItem = Stripe_.Checkout.Session.CheckoutItem; + export type CollectedInformation = Stripe_.Checkout.Session.CollectedInformation; + export type Consent = Stripe_.Checkout.Session.Consent; + export type ConsentCollection = Stripe_.Checkout.Session.ConsentCollection; + export type CurrencyConversion = Stripe_.Checkout.Session.CurrencyConversion; + export type CurrentAttempt = Stripe_.Checkout.Session.CurrentAttempt; + export type CustomField = Stripe_.Checkout.Session.CustomField; + export type CustomText = Stripe_.Checkout.Session.CustomText; + export type CustomerCreation = Stripe_.Checkout.Session.CustomerCreation; + export type CustomerDetails = Stripe_.Checkout.Session.CustomerDetails; + export type Discount = Stripe_.Checkout.Session.Discount; + export type InvoiceCreation = Stripe_.Checkout.Session.InvoiceCreation; + export type Locale = Stripe_.Checkout.Session.Locale; + export type ManagedPayments = Stripe_.Checkout.Session.ManagedPayments; + export type Mode = Stripe_.Checkout.Session.Mode; + export type NameCollection = Stripe_.Checkout.Session.NameCollection; + export type OptionalItem = Stripe_.Checkout.Session.OptionalItem; + export type OriginContext = Stripe_.Checkout.Session.OriginContext; + export type PaymentMethodCollection = Stripe_.Checkout.Session.PaymentMethodCollection; + export type PaymentMethodConfigurationDetails = Stripe_.Checkout.Session.PaymentMethodConfigurationDetails; + export type PaymentMethodOptions = Stripe_.Checkout.Session.PaymentMethodOptions; + export type PaymentStatus = Stripe_.Checkout.Session.PaymentStatus; + export type Permissions = Stripe_.Checkout.Session.Permissions; + export type PhoneNumberCollection = Stripe_.Checkout.Session.PhoneNumberCollection; + export type PresentmentDetails = Stripe_.Checkout.Session.PresentmentDetails; + export type RedirectOnCompletion = Stripe_.Checkout.Session.RedirectOnCompletion; + export type SavedPaymentMethodOptions = Stripe_.Checkout.Session.SavedPaymentMethodOptions; + export type ShippingAddressCollection = Stripe_.Checkout.Session.ShippingAddressCollection; + export type ShippingCost = Stripe_.Checkout.Session.ShippingCost; + export type ShippingOption = Stripe_.Checkout.Session.ShippingOption; + export type Status = Stripe_.Checkout.Session.Status; + export type SubmitType = Stripe_.Checkout.Session.SubmitType; + export type SurchargeCost = Stripe_.Checkout.Session.SurchargeCost; + export type TaxIdCollection = Stripe_.Checkout.Session.TaxIdCollection; + export type TotalDetails = Stripe_.Checkout.Session.TotalDetails; + export type UiMode = Stripe_.Checkout.Session.UiMode; + export type WalletOptions = Stripe_.Checkout.Session.WalletOptions; + export namespace AfterExpiration { + export type Recovery = Stripe_.Checkout.Session.AfterExpiration.Recovery; + } + export namespace AutomaticSurcharge { + export type CalculationBasis = Stripe_.Checkout.Session.AutomaticSurcharge.CalculationBasis; + export type Provider = Stripe_.Checkout.Session.AutomaticSurcharge.Provider; + export type Status = Stripe_.Checkout.Session.AutomaticSurcharge.Status; + export type TaxBehavior = Stripe_.Checkout.Session.AutomaticSurcharge.TaxBehavior; + } + export namespace AutomaticTax { + export type Liability = Stripe_.Checkout.Session.AutomaticTax.Liability; + export type Status = Stripe_.Checkout.Session.AutomaticTax.Status; + export namespace Liability { + export type Type = Stripe_.Checkout.Session.AutomaticTax.Liability.Type; + } + } + export namespace BrandingSettings { + export type BorderStyle = Stripe_.Checkout.Session.BrandingSettings.BorderStyle; + export type Icon = Stripe_.Checkout.Session.BrandingSettings.Icon; + export type Logo = Stripe_.Checkout.Session.BrandingSettings.Logo; + export namespace Icon { + export type Type = Stripe_.Checkout.Session.BrandingSettings.Icon.Type; + } + export namespace Logo { + export type Type = Stripe_.Checkout.Session.BrandingSettings.Logo.Type; + } + } + export namespace CheckoutItem { + export type Type = Stripe_.Checkout.Session.CheckoutItem.Type; + export type RateCardSubscriptionItem = Stripe_.Checkout.Session.CheckoutItem.RateCardSubscriptionItem; + export type PricingPlanSubscriptionItem = Stripe_.Checkout.Session.CheckoutItem.PricingPlanSubscriptionItem; + export namespace PricingPlanSubscriptionItem { + export type ComponentConfigurations = Stripe_.Checkout.Session.CheckoutItem.PricingPlanSubscriptionItem.ComponentConfigurations; + export namespace ComponentConfigurations { + export type LicenseFeeComponent = Stripe_.Checkout.Session.CheckoutItem.PricingPlanSubscriptionItem.ComponentConfigurations.LicenseFeeComponent; + } + } + } + export namespace CollectedInformation { + export type ShippingDetails = Stripe_.Checkout.Session.CollectedInformation.ShippingDetails; + export type TaxId = Stripe_.Checkout.Session.CollectedInformation.TaxId; + export namespace TaxId { + export type Type = Stripe_.Checkout.Session.CollectedInformation.TaxId.Type; + } + } + export namespace Consent { + export type Promotions = Stripe_.Checkout.Session.Consent.Promotions; + } + export namespace ConsentCollection { + export type PaymentMethodReuseAgreement = Stripe_.Checkout.Session.ConsentCollection.PaymentMethodReuseAgreement; + export type Promotions = Stripe_.Checkout.Session.ConsentCollection.Promotions; + export type TermsOfService = Stripe_.Checkout.Session.ConsentCollection.TermsOfService; + export namespace PaymentMethodReuseAgreement { + export type Position = Stripe_.Checkout.Session.ConsentCollection.PaymentMethodReuseAgreement.Position; + } + } + export namespace CurrentAttempt { + export type BillingDetails = Stripe_.Checkout.Session.CurrentAttempt.BillingDetails; + export type PaymentMethodDetails = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails; + export type ShippingDetails = Stripe_.Checkout.Session.CurrentAttempt.ShippingDetails; + export namespace PaymentMethodDetails { + export type AllowRedisplay = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.AllowRedisplay; + export type AuBecsDebit = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.BacsDebit; + export type Boleto = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.Boleto; + export type Card = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.Card; + export type Link = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.Link; + export type Pix = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.Pix; + export type SepaDebit = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.SepaDebit; + export type UsBankAccount = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.UsBankAccount; + export namespace Card { + export type Funding = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.Card.Funding; + export type Wallet = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.Card.Wallet; + export namespace Wallet { + export type Type = Stripe_.Checkout.Session.CurrentAttempt.PaymentMethodDetails.Card.Wallet.Type; + } + } + } + } + export namespace CustomerDetails { + export type TaxExempt = Stripe_.Checkout.Session.CustomerDetails.TaxExempt; + export type TaxId = Stripe_.Checkout.Session.CustomerDetails.TaxId; + export namespace TaxId { + export type Type = Stripe_.Checkout.Session.CustomerDetails.TaxId.Type; + } + } + export namespace CustomField { + export type Dropdown = Stripe_.Checkout.Session.CustomField.Dropdown; + export type Label = Stripe_.Checkout.Session.CustomField.Label; + export type Numeric = Stripe_.Checkout.Session.CustomField.Numeric; + export type Text = Stripe_.Checkout.Session.CustomField.Text; + export type Type = Stripe_.Checkout.Session.CustomField.Type; + export namespace Dropdown { + export type Option = Stripe_.Checkout.Session.CustomField.Dropdown.Option; + } + } + export namespace CustomText { + export type AfterSubmit = Stripe_.Checkout.Session.CustomText.AfterSubmit; + export type ShippingAddress = Stripe_.Checkout.Session.CustomText.ShippingAddress; + export type Submit = Stripe_.Checkout.Session.CustomText.Submit; + export type TermsOfServiceAcceptance = Stripe_.Checkout.Session.CustomText.TermsOfServiceAcceptance; + } + export namespace InvoiceCreation { + export type InvoiceData = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData; + export namespace InvoiceData { + export type CustomField = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData.CustomField; + export type Issuer = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData.Issuer; + export type RenderingOptions = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData.RenderingOptions; + export namespace Issuer { + export type Type = Stripe_.Checkout.Session.InvoiceCreation.InvoiceData.Issuer.Type; + } + } + } + export namespace NameCollection { + export type Business = Stripe_.Checkout.Session.NameCollection.Business; + export type Individual = Stripe_.Checkout.Session.NameCollection.Individual; + } + export namespace OptionalItem { + export type AdjustableQuantity = Stripe_.Checkout.Session.OptionalItem.AdjustableQuantity; + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit; + export type Affirm = Stripe_.Checkout.Session.PaymentMethodOptions.Affirm; + export type AfterpayClearpay = Stripe_.Checkout.Session.PaymentMethodOptions.AfterpayClearpay; + export type Alipay = Stripe_.Checkout.Session.PaymentMethodOptions.Alipay; + export type Alma = Stripe_.Checkout.Session.PaymentMethodOptions.Alma; + export type AmazonPay = Stripe_.Checkout.Session.PaymentMethodOptions.AmazonPay; + export type AuBecsDebit = Stripe_.Checkout.Session.PaymentMethodOptions.AuBecsDebit; + export type BacsDebit = Stripe_.Checkout.Session.PaymentMethodOptions.BacsDebit; + export type Bancontact = Stripe_.Checkout.Session.PaymentMethodOptions.Bancontact; + export type Billie = Stripe_.Checkout.Session.PaymentMethodOptions.Billie; + export type Bizum = Stripe_.Checkout.Session.PaymentMethodOptions.Bizum; + export type Boleto = Stripe_.Checkout.Session.PaymentMethodOptions.Boleto; + export type Card = Stripe_.Checkout.Session.PaymentMethodOptions.Card; + export type Cashapp = Stripe_.Checkout.Session.PaymentMethodOptions.Cashapp; + export type CustomerBalance = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance; + export type Eps = Stripe_.Checkout.Session.PaymentMethodOptions.Eps; + export type Fpx = Stripe_.Checkout.Session.PaymentMethodOptions.Fpx; + export type Giropay = Stripe_.Checkout.Session.PaymentMethodOptions.Giropay; + export type Grabpay = Stripe_.Checkout.Session.PaymentMethodOptions.Grabpay; + export type Ideal = Stripe_.Checkout.Session.PaymentMethodOptions.Ideal; + export type KakaoPay = Stripe_.Checkout.Session.PaymentMethodOptions.KakaoPay; + export type Klarna = Stripe_.Checkout.Session.PaymentMethodOptions.Klarna; + export type Konbini = Stripe_.Checkout.Session.PaymentMethodOptions.Konbini; + export type KrCard = Stripe_.Checkout.Session.PaymentMethodOptions.KrCard; + export type Link = Stripe_.Checkout.Session.PaymentMethodOptions.Link; + export type Mobilepay = Stripe_.Checkout.Session.PaymentMethodOptions.Mobilepay; + export type Multibanco = Stripe_.Checkout.Session.PaymentMethodOptions.Multibanco; + export type NaverPay = Stripe_.Checkout.Session.PaymentMethodOptions.NaverPay; + export type Oxxo = Stripe_.Checkout.Session.PaymentMethodOptions.Oxxo; + export type P24 = Stripe_.Checkout.Session.PaymentMethodOptions.P24; + export type Payco = Stripe_.Checkout.Session.PaymentMethodOptions.Payco; + export type Paynow = Stripe_.Checkout.Session.PaymentMethodOptions.Paynow; + export type Paypal = Stripe_.Checkout.Session.PaymentMethodOptions.Paypal; + export type Payto = Stripe_.Checkout.Session.PaymentMethodOptions.Payto; + export type Pix = Stripe_.Checkout.Session.PaymentMethodOptions.Pix; + export type RevolutPay = Stripe_.Checkout.Session.PaymentMethodOptions.RevolutPay; + export type SamsungPay = Stripe_.Checkout.Session.PaymentMethodOptions.SamsungPay; + export type Satispay = Stripe_.Checkout.Session.PaymentMethodOptions.Satispay; + export type Scalapay = Stripe_.Checkout.Session.PaymentMethodOptions.Scalapay; + export type SepaDebit = Stripe_.Checkout.Session.PaymentMethodOptions.SepaDebit; + export type Sofort = Stripe_.Checkout.Session.PaymentMethodOptions.Sofort; + export type Swish = Stripe_.Checkout.Session.PaymentMethodOptions.Swish; + export type Twint = Stripe_.Checkout.Session.PaymentMethodOptions.Twint; + export type Upi = Stripe_.Checkout.Session.PaymentMethodOptions.Upi; + export type UsBankAccount = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type Currency = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.Currency; + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.SetupFutureUsage; + export type VerificationMethod = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type DefaultFor = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.DefaultFor; + export type PaymentSchedule = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.PaymentSchedule; + export type TransactionType = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace AmazonPay { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.AmazonPay.SetupFutureUsage; + } + export namespace BacsDebit { + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.BacsDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.BacsDebit.SetupFutureUsage; + } + export namespace Bizum { + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.Bizum.MandateOptions; + } + export namespace Boleto { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Boleto.SetupFutureUsage; + } + export namespace Card { + export type Installments = Stripe_.Checkout.Session.PaymentMethodOptions.Card.Installments; + export type RequestDecrementalAuthorization = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestDecrementalAuthorization; + export type RequestExtendedAuthorization = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestExtendedAuthorization; + export type RequestIncrementalAuthorization = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestIncrementalAuthorization; + export type RequestMulticapture = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestMulticapture; + export type RequestOvercapture = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestOvercapture; + export type RequestThreeDSecure = Stripe_.Checkout.Session.PaymentMethodOptions.Card.RequestThreeDSecure; + export type Restrictions = Stripe_.Checkout.Session.PaymentMethodOptions.Card.Restrictions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Card.SetupFutureUsage; + export namespace Restrictions { + export type BrandsBlocked = Stripe_.Checkout.Session.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type RequestedAddressType = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType; + export type Type = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe_.Checkout.Session.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace KakaoPay { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.KakaoPay.SetupFutureUsage; + } + export namespace Klarna { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Klarna.SetupFutureUsage; + } + export namespace KrCard { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.KrCard.SetupFutureUsage; + } + export namespace Link { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Link.SetupFutureUsage; + } + export namespace NaverPay { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.NaverPay.SetupFutureUsage; + } + export namespace Paypal { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Paypal.SetupFutureUsage; + } + export namespace Payto { + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.PaymentSchedule; + export type Purpose = Stripe_.Checkout.Session.PaymentMethodOptions.Payto.MandateOptions.Purpose; + } + } + export namespace Pix { + export type AmountIncludesIof = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.AmountIncludesIof; + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.SetupFutureUsage; + export namespace MandateOptions { + export type AmountIncludesIof = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.AmountIncludesIof; + export type AmountType = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.AmountType; + export type PaymentSchedule = Stripe_.Checkout.Session.PaymentMethodOptions.Pix.MandateOptions.PaymentSchedule; + } + } + export namespace RevolutPay { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.RevolutPay.SetupFutureUsage; + } + export namespace SepaDebit { + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.SepaDebit.SetupFutureUsage; + } + export namespace Twint { + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Twint.SetupFutureUsage; + } + export namespace Upi { + export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.Upi.MandateOptions; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.Upi.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.Checkout.Session.PaymentMethodOptions.Upi.MandateOptions.AmountType; + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type SetupFutureUsage = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.SetupFutureUsage; + export type VerificationMethod = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type ManualEntry = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry; + export type Permission = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + export namespace ManualEntry { + export type Mode = Stripe_.Checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.ManualEntry.Mode; + } + } + } + } + export namespace Permissions { + export type Update = Stripe_.Checkout.Session.Permissions.Update; + export type UpdateLineItems = Stripe_.Checkout.Session.Permissions.UpdateLineItems; + export type UpdateShippingDetails = Stripe_.Checkout.Session.Permissions.UpdateShippingDetails; + export namespace Update { + export type LineItems = Stripe_.Checkout.Session.Permissions.Update.LineItems; + export type ShippingDetails = Stripe_.Checkout.Session.Permissions.Update.ShippingDetails; } } - } - export namespace Session { - export type Flow = Stripe_.BillingPortal.Session.Flow; - export type Locale = Stripe_.BillingPortal.Session.Locale; - export namespace Flow { - export type AfterCompletion = Stripe_.BillingPortal.Session.Flow.AfterCompletion; - export type SubscriptionCancel = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel; - export type SubscriptionUpdate = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdate; - export type SubscriptionUpdateConfirm = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm; - export type Type = Stripe_.BillingPortal.Session.Flow.Type; - export namespace AfterCompletion { - export type HostedConfirmation = Stripe_.BillingPortal.Session.Flow.AfterCompletion.HostedConfirmation; - export type Redirect = Stripe_.BillingPortal.Session.Flow.AfterCompletion.Redirect; - export type Type = Stripe_.BillingPortal.Session.Flow.AfterCompletion.Type; + export namespace SavedPaymentMethodOptions { + export type AllowRedisplayFilter = Stripe_.Checkout.Session.SavedPaymentMethodOptions.AllowRedisplayFilter; + export type PaymentMethodRemove = Stripe_.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodRemove; + export type PaymentMethodSave = Stripe_.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodSave; + } + export namespace ShippingAddressCollection { + export type AllowedCountry = Stripe_.Checkout.Session.ShippingAddressCollection.AllowedCountry; + } + export namespace ShippingCost { + export type Tax = Stripe_.Checkout.Session.ShippingCost.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.Checkout.Session.ShippingCost.Tax.TaxabilityReason; } - export namespace SubscriptionCancel { - export type Retention = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel.Retention; - export namespace Retention { - export type CouponOffer = Stripe_.BillingPortal.Session.Flow.SubscriptionCancel.Retention.CouponOffer; + } + export namespace TaxIdCollection { + export type Required = Stripe_.Checkout.Session.TaxIdCollection.Required; + } + export namespace TotalDetails { + export type Breakdown = Stripe_.Checkout.Session.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe_.Checkout.Session.TotalDetails.Breakdown.Discount; + export type Tax = Stripe_.Checkout.Session.TotalDetails.Breakdown.Tax; + export namespace Tax { + export type TaxabilityReason = Stripe_.Checkout.Session.TotalDetails.Breakdown.Tax.TaxabilityReason; } } - export namespace SubscriptionUpdateConfirm { - export type Discount = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Discount; - export type Item = Stripe_.BillingPortal.Session.Flow.SubscriptionUpdateConfirm.Item; + } + export namespace WalletOptions { + export type Link = Stripe_.Checkout.Session.WalletOptions.Link; + export namespace Link { + export type Display = Stripe_.Checkout.Session.WalletOptions.Link.Display; } } } } - export namespace Capital { - export type FinancingOffer = Stripe.Capital.FinancingOffer; - export type FinancingOfferRetrieveParams = Stripe.Capital.FinancingOfferRetrieveParams; - export type FinancingOfferListParams = Stripe.Capital.FinancingOfferListParams; - export type FinancingOfferMarkDeliveredParams = Stripe.Capital.FinancingOfferMarkDeliveredParams; - export type FinancingOfferResource = Stripe.Capital.FinancingOfferResource; - export type FinancingSummary = Stripe.Capital.FinancingSummary; - export type FinancingSummaryRetrieveParams = Stripe.Capital.FinancingSummaryRetrieveParams; - export type FinancingSummaryResource = Stripe.Capital.FinancingSummaryResource; - export type FinancingTransaction = Stripe.Capital.FinancingTransaction; - export type FinancingTransactionRetrieveParams = Stripe.Capital.FinancingTransactionRetrieveParams; - export type FinancingTransactionListParams = Stripe.Capital.FinancingTransactionListParams; - export type FinancingTransactionResource = Stripe.Capital.FinancingTransactionResource; - export namespace FinancingOfferListParams { - export type Status = Stripe.Capital.FinancingOfferListParams.Status; - } - } - export namespace Checkout { - export type Session = Stripe.Checkout.Session; - export type SessionCreateParams = Stripe.Checkout.SessionCreateParams; - export type SessionRetrieveParams = Stripe.Checkout.SessionRetrieveParams; - export type SessionUpdateParams = Stripe.Checkout.SessionUpdateParams; - export type SessionListParams = Stripe.Checkout.SessionListParams; - export type SessionApproveParams = Stripe.Checkout.SessionApproveParams; - export type SessionExpireParams = Stripe.Checkout.SessionExpireParams; - export type SessionListLineItemsParams = Stripe.Checkout.SessionListLineItemsParams; - export type SessionResource = Stripe.Checkout.SessionResource; - export namespace SessionCreateParams { - export type AdaptivePricing = Stripe.Checkout.SessionCreateParams.AdaptivePricing; - export type AfterExpiration = Stripe.Checkout.SessionCreateParams.AfterExpiration; - export type ApprovalMethod = Stripe.Checkout.SessionCreateParams.ApprovalMethod; - export type AutomaticSurcharge = Stripe.Checkout.SessionCreateParams.AutomaticSurcharge; - export type AutomaticTax = Stripe.Checkout.SessionCreateParams.AutomaticTax; - export type BillingAddressCollection = Stripe.Checkout.SessionCreateParams.BillingAddressCollection; - export type BrandingSettings = Stripe.Checkout.SessionCreateParams.BrandingSettings; - export type CheckoutItem = Stripe.Checkout.SessionCreateParams.CheckoutItem; - export type ConsentCollection = Stripe.Checkout.SessionCreateParams.ConsentCollection; - export type CustomField = Stripe.Checkout.SessionCreateParams.CustomField; - export type CustomText = Stripe.Checkout.SessionCreateParams.CustomText; - export type CustomerCreation = Stripe.Checkout.SessionCreateParams.CustomerCreation; - export type CustomerUpdate = Stripe.Checkout.SessionCreateParams.CustomerUpdate; - export type Discount = Stripe.Checkout.SessionCreateParams.Discount; - export type ExcludedPaymentMethodType = Stripe.Checkout.SessionCreateParams.ExcludedPaymentMethodType; - export type InvoiceCreation = Stripe.Checkout.SessionCreateParams.InvoiceCreation; - export type Item = Stripe.Checkout.SessionCreateParams.Item; - export type LineItem = Stripe.Checkout.SessionCreateParams.LineItem; - export type Locale = Stripe.Checkout.SessionCreateParams.Locale; - export type ManagedPayments = Stripe.Checkout.SessionCreateParams.ManagedPayments; - export type Mode = Stripe.Checkout.SessionCreateParams.Mode; - export type NameCollection = Stripe.Checkout.SessionCreateParams.NameCollection; - export type OptionalItem = Stripe.Checkout.SessionCreateParams.OptionalItem; - export type OriginContext = Stripe.Checkout.SessionCreateParams.OriginContext; - export type PaymentIntentData = Stripe.Checkout.SessionCreateParams.PaymentIntentData; - export type PaymentMethodCollection = Stripe.Checkout.SessionCreateParams.PaymentMethodCollection; - export type PaymentMethodData = Stripe.Checkout.SessionCreateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.Checkout.SessionCreateParams.PaymentMethodOptions; - export type PaymentMethodType = Stripe.Checkout.SessionCreateParams.PaymentMethodType; - export type Permissions = Stripe.Checkout.SessionCreateParams.Permissions; - export type PhoneNumberCollection = Stripe.Checkout.SessionCreateParams.PhoneNumberCollection; - export type RedirectOnCompletion = Stripe.Checkout.SessionCreateParams.RedirectOnCompletion; - export type SavedPaymentMethodOptions = Stripe.Checkout.SessionCreateParams.SavedPaymentMethodOptions; - export type SetupIntentData = Stripe.Checkout.SessionCreateParams.SetupIntentData; - export type ShippingAddressCollection = Stripe.Checkout.SessionCreateParams.ShippingAddressCollection; - export type ShippingOption = Stripe.Checkout.SessionCreateParams.ShippingOption; - export type SubmitType = Stripe.Checkout.SessionCreateParams.SubmitType; - export type SubscriptionData = Stripe.Checkout.SessionCreateParams.SubscriptionData; - export type TaxIdCollection = Stripe.Checkout.SessionCreateParams.TaxIdCollection; - export type UiMode = Stripe.Checkout.SessionCreateParams.UiMode; - export type WalletOptions = Stripe.Checkout.SessionCreateParams.WalletOptions; - } - export namespace SessionUpdateParams { - export type AutomaticTax = Stripe.Checkout.SessionUpdateParams.AutomaticTax; - export type CollectedInformation = Stripe.Checkout.SessionUpdateParams.CollectedInformation; - export type Discount = Stripe.Checkout.SessionUpdateParams.Discount; - export type InvoiceCreation = Stripe.Checkout.SessionUpdateParams.InvoiceCreation; - export type LineItem = Stripe.Checkout.SessionUpdateParams.LineItem; - export type ShippingOption = Stripe.Checkout.SessionUpdateParams.ShippingOption; - export type SubscriptionData = Stripe.Checkout.SessionUpdateParams.SubscriptionData; - } - export namespace SessionListParams { - export type CustomerDetails = Stripe.Checkout.SessionListParams.CustomerDetails; - export type Status = Stripe.Checkout.SessionListParams.Status; - } - export namespace SessionApproveParams { - export type PaymentIntentData = Stripe.Checkout.SessionApproveParams.PaymentIntentData; - export type SubscriptionData = Stripe.Checkout.SessionApproveParams.SubscriptionData; - } - } export namespace Climate { export type Order = Stripe_.Climate.Order; export type OrderCreateParams = Stripe_.Climate.OrderCreateParams; @@ -4123,36 +16638,171 @@ declare namespace StripeConstructor { } } export namespace DelegatedCheckout { - export type Order = Stripe.DelegatedCheckout.Order; - export type OrderRetrieveParams = Stripe.DelegatedCheckout.OrderRetrieveParams; - export type OrderResource = Stripe.DelegatedCheckout.OrderResource; - export type RequestedSession = Stripe.DelegatedCheckout.RequestedSession; - export type RequestedSessionCreateParams = Stripe.DelegatedCheckout.RequestedSessionCreateParams; - export type RequestedSessionRetrieveParams = Stripe.DelegatedCheckout.RequestedSessionRetrieveParams; - export type RequestedSessionUpdateParams = Stripe.DelegatedCheckout.RequestedSessionUpdateParams; - export type RequestedSessionConfirmParams = Stripe.DelegatedCheckout.RequestedSessionConfirmParams; - export type RequestedSessionExpireParams = Stripe.DelegatedCheckout.RequestedSessionExpireParams; - export type RequestedSessionListOrdersParams = Stripe.DelegatedCheckout.RequestedSessionListOrdersParams; - export type RequestedSessionResource = Stripe.DelegatedCheckout.RequestedSessionResource; - export type OrderEvent = Stripe.DelegatedCheckout.OrderEvent; - export namespace RequestedSessionCreateParams { - export type LineItemDetail = Stripe.DelegatedCheckout.RequestedSessionCreateParams.LineItemDetail; - export type SellerDetails = Stripe.DelegatedCheckout.RequestedSessionCreateParams.SellerDetails; - export type AffiliateAttribution = Stripe.DelegatedCheckout.RequestedSessionCreateParams.AffiliateAttribution; - export type Discounts = Stripe.DelegatedCheckout.RequestedSessionCreateParams.Discounts; - export type FulfillmentDetails = Stripe.DelegatedCheckout.RequestedSessionCreateParams.FulfillmentDetails; - export type PaymentMethodOptions = Stripe.DelegatedCheckout.RequestedSessionCreateParams.PaymentMethodOptions; + export type Order = Stripe_.DelegatedCheckout.Order; + export type OrderRetrieveParams = Stripe_.DelegatedCheckout.OrderRetrieveParams; + export type OrderResource = Stripe_.DelegatedCheckout.OrderResource; + export type RequestedSession = Stripe_.DelegatedCheckout.RequestedSession; + export type RequestedSessionCreateParams = Stripe_.DelegatedCheckout.RequestedSessionCreateParams; + export type RequestedSessionRetrieveParams = Stripe_.DelegatedCheckout.RequestedSessionRetrieveParams; + export type RequestedSessionUpdateParams = Stripe_.DelegatedCheckout.RequestedSessionUpdateParams; + export type RequestedSessionConfirmParams = Stripe_.DelegatedCheckout.RequestedSessionConfirmParams; + export type RequestedSessionExpireParams = Stripe_.DelegatedCheckout.RequestedSessionExpireParams; + export type RequestedSessionListOrdersParams = Stripe_.DelegatedCheckout.RequestedSessionListOrdersParams; + export type RequestedSessionResource = Stripe_.DelegatedCheckout.RequestedSessionResource; + export type OrderEvent = Stripe_.DelegatedCheckout.OrderEvent; + export namespace Order { + export type LineItem = Stripe_.DelegatedCheckout.Order.LineItem; + export type Totals = Stripe_.DelegatedCheckout.Order.Totals; + export namespace LineItem { + export type ProductDetails = Stripe_.DelegatedCheckout.Order.LineItem.ProductDetails; + export type Quantity = Stripe_.DelegatedCheckout.Order.LineItem.Quantity; + export type Totals = Stripe_.DelegatedCheckout.Order.LineItem.Totals; + } } - export namespace RequestedSessionUpdateParams { - export type Discounts = Stripe.DelegatedCheckout.RequestedSessionUpdateParams.Discounts; - export type FulfillmentDetails = Stripe.DelegatedCheckout.RequestedSessionUpdateParams.FulfillmentDetails; - export type LineItemDetail = Stripe.DelegatedCheckout.RequestedSessionUpdateParams.LineItemDetail; - export type PaymentMethodOptions = Stripe.DelegatedCheckout.RequestedSessionUpdateParams.PaymentMethodOptions; + export namespace RequestedSessionCreateParams { + export type LineItemDetail = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.LineItemDetail; + export type SellerDetails = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.SellerDetails; + export type AffiliateAttribution = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.AffiliateAttribution; + export type Discounts = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.Discounts; + export type FulfillmentDetails = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.FulfillmentDetails; + export type PaymentMethodOptions = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.PaymentMethodOptions; + export namespace AffiliateAttribution { + export type Source = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.AffiliateAttribution.Source; + export type Touchpoint = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.AffiliateAttribution.Touchpoint; + export namespace Source { + export type Type = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.AffiliateAttribution.Source.Type; + } + } + export namespace FulfillmentDetails { + export type Address = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.FulfillmentDetails.Address; + } + export namespace PaymentMethodOptions { + export type Card = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.PaymentMethodOptions.Card; + export type ExcludedPaymentMethodType = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.PaymentMethodOptions.ExcludedPaymentMethodType; + export namespace Card { + export type BrandsBlocked = Stripe_.DelegatedCheckout.RequestedSessionCreateParams.PaymentMethodOptions.Card.BrandsBlocked; + } + } + } + export namespace RequestedSession { + export type AffiliateAttribution = Stripe_.DelegatedCheckout.RequestedSession.AffiliateAttribution; + export type BuyerConsents = Stripe_.DelegatedCheckout.RequestedSession.BuyerConsents; + export type Discounts = Stripe_.DelegatedCheckout.RequestedSession.Discounts; + export type FulfillmentDetails = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails; + export type LineItemDetail = Stripe_.DelegatedCheckout.RequestedSession.LineItemDetail; + export type OrderDetails = Stripe_.DelegatedCheckout.RequestedSession.OrderDetails; + export type PaymentMethodOptions = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodOptions; + export type PaymentMethodPreview = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodPreview; + export type RiskDetails = Stripe_.DelegatedCheckout.RequestedSession.RiskDetails; + export type SellerDetails = Stripe_.DelegatedCheckout.RequestedSession.SellerDetails; + export type Status = Stripe_.DelegatedCheckout.RequestedSession.Status; + export type TotalDetails = Stripe_.DelegatedCheckout.RequestedSession.TotalDetails; + export namespace AffiliateAttribution { + export type Source = Stripe_.DelegatedCheckout.RequestedSession.AffiliateAttribution.Source; + export type Touchpoint = Stripe_.DelegatedCheckout.RequestedSession.AffiliateAttribution.Touchpoint; + export namespace Source { + export type Type = Stripe_.DelegatedCheckout.RequestedSession.AffiliateAttribution.Source.Type; + } + } + export namespace BuyerConsents { + export type Marketing = Stripe_.DelegatedCheckout.RequestedSession.BuyerConsents.Marketing; + export namespace Marketing { + export type Consent = Stripe_.DelegatedCheckout.RequestedSession.BuyerConsents.Marketing.Consent; + export type Option = Stripe_.DelegatedCheckout.RequestedSession.BuyerConsents.Marketing.Option; + export namespace Consent { + export type Channel = Stripe_.DelegatedCheckout.RequestedSession.BuyerConsents.Marketing.Consent.Channel; + export type Status = Stripe_.DelegatedCheckout.RequestedSession.BuyerConsents.Marketing.Consent.Status; + } + export namespace Option { + export type Channel = Stripe_.DelegatedCheckout.RequestedSession.BuyerConsents.Marketing.Option.Channel; + } + } + } + export namespace Discounts { + export type Applied = Stripe_.DelegatedCheckout.RequestedSession.Discounts.Applied; + export type Invalid = Stripe_.DelegatedCheckout.RequestedSession.Discounts.Invalid; + export namespace Applied { + export type Type = Stripe_.DelegatedCheckout.RequestedSession.Discounts.Applied.Type; + } + } + export namespace FulfillmentDetails { + export type FulfillmentOption = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.FulfillmentOption; + export type SelectedFulfillmentOption = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.SelectedFulfillmentOption; + export type SelectedFulfillmentOptionOverride = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.SelectedFulfillmentOptionOverride; + export namespace FulfillmentOption { + export type Digital = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.FulfillmentOption.Digital; + export type Shipping = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.FulfillmentOption.Shipping; + export type Type = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.FulfillmentOption.Type; + export namespace Digital { + export type DigitalOption = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.FulfillmentOption.Digital.DigitalOption; + } + export namespace Shipping { + export type ShippingOption = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.FulfillmentOption.Shipping.ShippingOption; + } + } + export namespace SelectedFulfillmentOption { + export type Digital = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.SelectedFulfillmentOption.Digital; + export type Shipping = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.SelectedFulfillmentOption.Shipping; + export type Type = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.SelectedFulfillmentOption.Type; + } + export namespace SelectedFulfillmentOptionOverride { + export type Digital = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.SelectedFulfillmentOptionOverride.Digital; + export type Shipping = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.SelectedFulfillmentOptionOverride.Shipping; + export type Type = Stripe_.DelegatedCheckout.RequestedSession.FulfillmentDetails.SelectedFulfillmentOptionOverride.Type; + } + } + export namespace LineItemDetail { + export type ProductDetails = Stripe_.DelegatedCheckout.RequestedSession.LineItemDetail.ProductDetails; + export namespace ProductDetails { + export type CustomAttribute = Stripe_.DelegatedCheckout.RequestedSession.LineItemDetail.ProductDetails.CustomAttribute; + export type Disclosure = Stripe_.DelegatedCheckout.RequestedSession.LineItemDetail.ProductDetails.Disclosure; + export namespace Disclosure { + export type ContentType = Stripe_.DelegatedCheckout.RequestedSession.LineItemDetail.ProductDetails.Disclosure.ContentType; + } + } + } + export namespace PaymentMethodOptions { + export type Card = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodOptions.Card; + export type DisplayableCardBrand = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodOptions.DisplayableCardBrand; + export type DisplayablePaymentMethodType = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodOptions.DisplayablePaymentMethodType; + export type ExcludedPaymentMethodType = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodOptions.ExcludedPaymentMethodType; + export namespace Card { + export type BrandsBlocked = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodOptions.Card.BrandsBlocked; + } + } + export namespace PaymentMethodPreview { + export type BillingDetails = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodPreview.BillingDetails; + export type Card = Stripe_.DelegatedCheckout.RequestedSession.PaymentMethodPreview.Card; + } + export namespace RiskDetails { + export type ClientDeviceMetadataDetails = Stripe_.DelegatedCheckout.RequestedSession.RiskDetails.ClientDeviceMetadataDetails; + } + export namespace SellerDetails { + export type CardBrand = Stripe_.DelegatedCheckout.RequestedSession.SellerDetails.CardBrand; + export type MarketplaceSellerDetails = Stripe_.DelegatedCheckout.RequestedSession.SellerDetails.MarketplaceSellerDetails; + export type PaymentMethodType = Stripe_.DelegatedCheckout.RequestedSession.SellerDetails.PaymentMethodType; + } + export namespace TotalDetails { + export type ApplicableFee = Stripe_.DelegatedCheckout.RequestedSession.TotalDetails.ApplicableFee; + export type Breakdown = Stripe_.DelegatedCheckout.RequestedSession.TotalDetails.Breakdown; + export namespace Breakdown { + export type Discount = Stripe_.DelegatedCheckout.RequestedSession.TotalDetails.Breakdown.Discount; + } + } } - export namespace RequestedSessionConfirmParams { - export type AffiliateAttribution = Stripe.DelegatedCheckout.RequestedSessionConfirmParams.AffiliateAttribution; - export type BuyerConsents = Stripe.DelegatedCheckout.RequestedSessionConfirmParams.BuyerConsents; - export type RiskDetails = Stripe.DelegatedCheckout.RequestedSessionConfirmParams.RiskDetails; + export namespace OrderEvent { + export type Adjustment = Stripe_.DelegatedCheckout.OrderEvent.Adjustment; + export type Fulfillment = Stripe_.DelegatedCheckout.OrderEvent.Fulfillment; + export type Type = Stripe_.DelegatedCheckout.OrderEvent.Type; + export namespace Adjustment { + export type LineItem = Stripe_.DelegatedCheckout.OrderEvent.Adjustment.LineItem; + export type Status = Stripe_.DelegatedCheckout.OrderEvent.Adjustment.Status; + export type Type = Stripe_.DelegatedCheckout.OrderEvent.Adjustment.Type; + } + export namespace Fulfillment { + export type LineItem = Stripe_.DelegatedCheckout.OrderEvent.Fulfillment.LineItem; + export type Status = Stripe_.DelegatedCheckout.OrderEvent.Fulfillment.Status; + } } } export namespace Entitlements { @@ -4169,68 +16819,159 @@ declare namespace StripeConstructor { export type ActiveEntitlementSummary = Stripe_.Entitlements.ActiveEntitlementSummary; } export namespace FinancialConnections { - export type Account = Stripe.FinancialConnections.Account; - export type AccountRetrieveParams = Stripe.FinancialConnections.AccountRetrieveParams; - export type AccountListParams = Stripe.FinancialConnections.AccountListParams; - export type AccountDisconnectParams = Stripe.FinancialConnections.AccountDisconnectParams; - export type AccountListInferredBalancesParams = Stripe.FinancialConnections.AccountListInferredBalancesParams; - export type AccountListOwnersParams = Stripe.FinancialConnections.AccountListOwnersParams; - export type AccountRefreshParams = Stripe.FinancialConnections.AccountRefreshParams; - export type AccountSubscribeParams = Stripe.FinancialConnections.AccountSubscribeParams; - export type AccountUnsubscribeParams = Stripe.FinancialConnections.AccountUnsubscribeParams; - export type AccountResource = Stripe.FinancialConnections.AccountResource; - export type Authorization = Stripe.FinancialConnections.Authorization; - export type AuthorizationRetrieveParams = Stripe.FinancialConnections.AuthorizationRetrieveParams; - export type AuthorizationResource = Stripe.FinancialConnections.AuthorizationResource; - export type Institution = Stripe.FinancialConnections.Institution; - export type InstitutionRetrieveParams = Stripe.FinancialConnections.InstitutionRetrieveParams; - export type InstitutionListParams = Stripe.FinancialConnections.InstitutionListParams; - export type InstitutionResource = Stripe.FinancialConnections.InstitutionResource; - export type Session = Stripe.FinancialConnections.Session; - export type SessionCreateParams = Stripe.FinancialConnections.SessionCreateParams; - export type SessionRetrieveParams = Stripe.FinancialConnections.SessionRetrieveParams; - export type SessionResource = Stripe.FinancialConnections.SessionResource; - export type Transaction = Stripe.FinancialConnections.Transaction; - export type TransactionRetrieveParams = Stripe.FinancialConnections.TransactionRetrieveParams; - export type TransactionListParams = Stripe.FinancialConnections.TransactionListParams; - export type TransactionResource = Stripe.FinancialConnections.TransactionResource; - export type AccountOwner = Stripe.FinancialConnections.AccountOwner; - export type AccountOwnership = Stripe.FinancialConnections.AccountOwnership; - export type AccountInferredBalance = Stripe.FinancialConnections.AccountInferredBalance; - export namespace AccountListParams { - export type AccountHolder = Stripe.FinancialConnections.AccountListParams.AccountHolder; - } - export namespace AccountRefreshParams { - export type Feature = Stripe.FinancialConnections.AccountRefreshParams.Feature; - } - export namespace AccountSubscribeParams { - export type Feature = Stripe.FinancialConnections.AccountSubscribeParams.Feature; - } - export namespace AccountUnsubscribeParams { - export type Feature = Stripe.FinancialConnections.AccountUnsubscribeParams.Feature; + export type Account = Stripe_.FinancialConnections.Account; + export type AccountRetrieveParams = Stripe_.FinancialConnections.AccountRetrieveParams; + export type AccountListParams = Stripe_.FinancialConnections.AccountListParams; + export type AccountDisconnectParams = Stripe_.FinancialConnections.AccountDisconnectParams; + export type AccountListInferredBalancesParams = Stripe_.FinancialConnections.AccountListInferredBalancesParams; + export type AccountListOwnersParams = Stripe_.FinancialConnections.AccountListOwnersParams; + export type AccountRefreshParams = Stripe_.FinancialConnections.AccountRefreshParams; + export type AccountSubscribeParams = Stripe_.FinancialConnections.AccountSubscribeParams; + export type AccountUnsubscribeParams = Stripe_.FinancialConnections.AccountUnsubscribeParams; + export type AccountResource = Stripe_.FinancialConnections.AccountResource; + export type Authorization = Stripe_.FinancialConnections.Authorization; + export type AuthorizationRetrieveParams = Stripe_.FinancialConnections.AuthorizationRetrieveParams; + export type AuthorizationResource = Stripe_.FinancialConnections.AuthorizationResource; + export type Institution = Stripe_.FinancialConnections.Institution; + export type InstitutionRetrieveParams = Stripe_.FinancialConnections.InstitutionRetrieveParams; + export type InstitutionListParams = Stripe_.FinancialConnections.InstitutionListParams; + export type InstitutionResource = Stripe_.FinancialConnections.InstitutionResource; + export type Session = Stripe_.FinancialConnections.Session; + export type SessionCreateParams = Stripe_.FinancialConnections.SessionCreateParams; + export type SessionRetrieveParams = Stripe_.FinancialConnections.SessionRetrieveParams; + export type SessionResource = Stripe_.FinancialConnections.SessionResource; + export type Transaction = Stripe_.FinancialConnections.Transaction; + export type TransactionRetrieveParams = Stripe_.FinancialConnections.TransactionRetrieveParams; + export type TransactionListParams = Stripe_.FinancialConnections.TransactionListParams; + export type TransactionResource = Stripe_.FinancialConnections.TransactionResource; + export type AccountOwner = Stripe_.FinancialConnections.AccountOwner; + export type AccountOwnership = Stripe_.FinancialConnections.AccountOwnership; + export type AccountInferredBalance = Stripe_.FinancialConnections.AccountInferredBalance; + export namespace Account { + export type AccountHolder = Stripe_.FinancialConnections.Account.AccountHolder; + export type AccountNumber = Stripe_.FinancialConnections.Account.AccountNumber; + export type Balance = Stripe_.FinancialConnections.Account.Balance; + export type BalanceRefresh = Stripe_.FinancialConnections.Account.BalanceRefresh; + export type Category = Stripe_.FinancialConnections.Account.Category; + export type InferredBalancesRefresh = Stripe_.FinancialConnections.Account.InferredBalancesRefresh; + export type OwnershipRefresh = Stripe_.FinancialConnections.Account.OwnershipRefresh; + export type Permission = Stripe_.FinancialConnections.Account.Permission; + export type Status = Stripe_.FinancialConnections.Account.Status; + export type StatusDetails = Stripe_.FinancialConnections.Account.StatusDetails; + export type Subcategory = Stripe_.FinancialConnections.Account.Subcategory; + export type Subscription = Stripe_.FinancialConnections.Account.Subscription; + export type SupportedPaymentMethodType = Stripe_.FinancialConnections.Account.SupportedPaymentMethodType; + export type TransactionRefresh = Stripe_.FinancialConnections.Account.TransactionRefresh; + export namespace AccountHolder { + export type Type = Stripe_.FinancialConnections.Account.AccountHolder.Type; + } + export namespace AccountNumber { + export type IdentifierType = Stripe_.FinancialConnections.Account.AccountNumber.IdentifierType; + export type Status = Stripe_.FinancialConnections.Account.AccountNumber.Status; + } + export namespace Balance { + export type Cash = Stripe_.FinancialConnections.Account.Balance.Cash; + export type Credit = Stripe_.FinancialConnections.Account.Balance.Credit; + export type Type = Stripe_.FinancialConnections.Account.Balance.Type; + } + export namespace BalanceRefresh { + export type Status = Stripe_.FinancialConnections.Account.BalanceRefresh.Status; + } + export namespace InferredBalancesRefresh { + export type Status = Stripe_.FinancialConnections.Account.InferredBalancesRefresh.Status; + } + export namespace OwnershipRefresh { + export type Status = Stripe_.FinancialConnections.Account.OwnershipRefresh.Status; + } + export namespace StatusDetails { + export type Inactive = Stripe_.FinancialConnections.Account.StatusDetails.Inactive; + export namespace Inactive { + export type Action = Stripe_.FinancialConnections.Account.StatusDetails.Inactive.Action; + export type Cause = Stripe_.FinancialConnections.Account.StatusDetails.Inactive.Cause; + } + } + export namespace TransactionRefresh { + export type Status = Stripe_.FinancialConnections.Account.TransactionRefresh.Status; + } + } + export namespace Authorization { + export type AccountHolder = Stripe_.FinancialConnections.Authorization.AccountHolder; + export type Status = Stripe_.FinancialConnections.Authorization.Status; + export type StatusDetails = Stripe_.FinancialConnections.Authorization.StatusDetails; + export namespace AccountHolder { + export type Type = Stripe_.FinancialConnections.Authorization.AccountHolder.Type; + } + export namespace StatusDetails { + export type Inactive = Stripe_.FinancialConnections.Authorization.StatusDetails.Inactive; + export namespace Inactive { + export type Action = Stripe_.FinancialConnections.Authorization.StatusDetails.Inactive.Action; + } + } + } + export namespace Institution { + export type Features = Stripe_.FinancialConnections.Institution.Features; + export type Status = Stripe_.FinancialConnections.Institution.Status; + export namespace Features { + export type Balances = Stripe_.FinancialConnections.Institution.Features.Balances; + export type Ownership = Stripe_.FinancialConnections.Institution.Features.Ownership; + export type PaymentMethod = Stripe_.FinancialConnections.Institution.Features.PaymentMethod; + export type Transactions = Stripe_.FinancialConnections.Institution.Features.Transactions; + } } export namespace SessionCreateParams { - export type Permission = Stripe.FinancialConnections.SessionCreateParams.Permission; - export type AccountHolder = Stripe.FinancialConnections.SessionCreateParams.AccountHolder; - export type Filters = Stripe.FinancialConnections.SessionCreateParams.Filters; - export type Hosted = Stripe.FinancialConnections.SessionCreateParams.Hosted; - export type Limits = Stripe.FinancialConnections.SessionCreateParams.Limits; - export type ManualEntry = Stripe.FinancialConnections.SessionCreateParams.ManualEntry; - export type Prefetch = Stripe.FinancialConnections.SessionCreateParams.Prefetch; - export type RelinkOptions = Stripe.FinancialConnections.SessionCreateParams.RelinkOptions; - export type UiMode = Stripe.FinancialConnections.SessionCreateParams.UiMode; + export type Permission = Stripe_.FinancialConnections.SessionCreateParams.Permission; + export type AccountHolder = Stripe_.FinancialConnections.SessionCreateParams.AccountHolder; + export type Filters = Stripe_.FinancialConnections.SessionCreateParams.Filters; + export type Hosted = Stripe_.FinancialConnections.SessionCreateParams.Hosted; + export type Limits = Stripe_.FinancialConnections.SessionCreateParams.Limits; + export type ManualEntry = Stripe_.FinancialConnections.SessionCreateParams.ManualEntry; + export type Prefetch = Stripe_.FinancialConnections.SessionCreateParams.Prefetch; + export type RelinkOptions = Stripe_.FinancialConnections.SessionCreateParams.RelinkOptions; + export type UiMode = Stripe_.FinancialConnections.SessionCreateParams.UiMode; + export namespace AccountHolder { + export type Type = Stripe_.FinancialConnections.SessionCreateParams.AccountHolder.Type; + } + export namespace Filters { + export type AccountSubcategory = Stripe_.FinancialConnections.SessionCreateParams.Filters.AccountSubcategory; + } + export namespace Hosted { + export type DeliveryMethod = Stripe_.FinancialConnections.SessionCreateParams.Hosted.DeliveryMethod; + } + export namespace ManualEntry { + export type Mode = Stripe_.FinancialConnections.SessionCreateParams.ManualEntry.Mode; + } } export namespace Session { export type AccountHolder = Stripe_.FinancialConnections.Session.AccountHolder; export type Filters = Stripe_.FinancialConnections.Session.Filters; + export type Hosted = Stripe_.FinancialConnections.Session.Hosted; + export type Limits = Stripe_.FinancialConnections.Session.Limits; + export type ManualEntry = Stripe_.FinancialConnections.Session.ManualEntry; export type Permission = Stripe_.FinancialConnections.Session.Permission; export type Prefetch = Stripe_.FinancialConnections.Session.Prefetch; + export type RelinkOptions = Stripe_.FinancialConnections.Session.RelinkOptions; + export type RelinkResult = Stripe_.FinancialConnections.Session.RelinkResult; + export type Status = Stripe_.FinancialConnections.Session.Status; + export type StatusDetails = Stripe_.FinancialConnections.Session.StatusDetails; + export type UiMode = Stripe_.FinancialConnections.Session.UiMode; export namespace AccountHolder { export type Type = Stripe_.FinancialConnections.Session.AccountHolder.Type; } export namespace Filters { export type AccountSubcategory = Stripe_.FinancialConnections.Session.Filters.AccountSubcategory; } + export namespace Hosted { + export type DeliveryMethod = Stripe_.FinancialConnections.Session.Hosted.DeliveryMethod; + } + export namespace RelinkResult { + export type FailureReason = Stripe_.FinancialConnections.Session.RelinkResult.FailureReason; + } + export namespace StatusDetails { + export type Cancelled = Stripe_.FinancialConnections.Session.StatusDetails.Cancelled; + export namespace Cancelled { + export type Reason = Stripe_.FinancialConnections.Session.StatusDetails.Cancelled.Reason; + } + } } export namespace Transaction { export type Status = Stripe_.FinancialConnections.Transaction.Status; @@ -4264,33 +17005,89 @@ declare namespace StripeConstructor { } } export namespace Identity { - export type BlocklistEntry = Stripe.Identity.BlocklistEntry; - export type BlocklistEntryCreateParams = Stripe.Identity.BlocklistEntryCreateParams; - export type BlocklistEntryRetrieveParams = Stripe.Identity.BlocklistEntryRetrieveParams; - export type BlocklistEntryListParams = Stripe.Identity.BlocklistEntryListParams; - export type BlocklistEntryDisableParams = Stripe.Identity.BlocklistEntryDisableParams; - export type BlocklistEntryResource = Stripe.Identity.BlocklistEntryResource; - export type VerificationReport = Stripe.Identity.VerificationReport; - export type VerificationReportRetrieveParams = Stripe.Identity.VerificationReportRetrieveParams; - export type VerificationReportListParams = Stripe.Identity.VerificationReportListParams; - export type VerificationReportResource = Stripe.Identity.VerificationReportResource; - export type VerificationSession = Stripe.Identity.VerificationSession; - export type VerificationSessionCreateParams = Stripe.Identity.VerificationSessionCreateParams; - export type VerificationSessionRetrieveParams = Stripe.Identity.VerificationSessionRetrieveParams; - export type VerificationSessionUpdateParams = Stripe.Identity.VerificationSessionUpdateParams; - export type VerificationSessionListParams = Stripe.Identity.VerificationSessionListParams; - export type VerificationSessionCancelParams = Stripe.Identity.VerificationSessionCancelParams; - export type VerificationSessionRedactParams = Stripe.Identity.VerificationSessionRedactParams; - export type VerificationSessionResource = Stripe.Identity.VerificationSessionResource; + export type BlocklistEntry = Stripe_.Identity.BlocklistEntry; + export type BlocklistEntryCreateParams = Stripe_.Identity.BlocklistEntryCreateParams; + export type BlocklistEntryRetrieveParams = Stripe_.Identity.BlocklistEntryRetrieveParams; + export type BlocklistEntryListParams = Stripe_.Identity.BlocklistEntryListParams; + export type BlocklistEntryDisableParams = Stripe_.Identity.BlocklistEntryDisableParams; + export type BlocklistEntryResource = Stripe_.Identity.BlocklistEntryResource; + export type VerificationReport = Stripe_.Identity.VerificationReport; + export type VerificationReportRetrieveParams = Stripe_.Identity.VerificationReportRetrieveParams; + export type VerificationReportListParams = Stripe_.Identity.VerificationReportListParams; + export type VerificationReportResource = Stripe_.Identity.VerificationReportResource; + export type VerificationSession = Stripe_.Identity.VerificationSession; + export type VerificationSessionCreateParams = Stripe_.Identity.VerificationSessionCreateParams; + export type VerificationSessionRetrieveParams = Stripe_.Identity.VerificationSessionRetrieveParams; + export type VerificationSessionUpdateParams = Stripe_.Identity.VerificationSessionUpdateParams; + export type VerificationSessionListParams = Stripe_.Identity.VerificationSessionListParams; + export type VerificationSessionCancelParams = Stripe_.Identity.VerificationSessionCancelParams; + export type VerificationSessionRedactParams = Stripe_.Identity.VerificationSessionRedactParams; + export type VerificationSessionResource = Stripe_.Identity.VerificationSessionResource; export namespace BlocklistEntryCreateParams { - export type EntryType = Stripe.Identity.BlocklistEntryCreateParams.EntryType; - } - export namespace BlocklistEntryListParams { - export type Status = Stripe.Identity.BlocklistEntryListParams.Status; - export type Type = Stripe.Identity.BlocklistEntryListParams.Type; - } - export namespace VerificationReportListParams { - export type Type = Stripe.Identity.VerificationReportListParams.Type; + export type EntryType = Stripe_.Identity.BlocklistEntryCreateParams.EntryType; + } + export namespace BlocklistEntry { + export type Status = Stripe_.Identity.BlocklistEntry.Status; + export type Type = Stripe_.Identity.BlocklistEntry.Type; + } + export namespace VerificationReport { + export type Document = Stripe_.Identity.VerificationReport.Document; + export type Email = Stripe_.Identity.VerificationReport.Email; + export type IdNumber = Stripe_.Identity.VerificationReport.IdNumber; + export type Options = Stripe_.Identity.VerificationReport.Options; + export type Phone = Stripe_.Identity.VerificationReport.Phone; + export type Selfie = Stripe_.Identity.VerificationReport.Selfie; + export type Type = Stripe_.Identity.VerificationReport.Type; + export namespace Document { + export type Dob = Stripe_.Identity.VerificationReport.Document.Dob; + export type Error = Stripe_.Identity.VerificationReport.Document.Error; + export type ExpirationDate = Stripe_.Identity.VerificationReport.Document.ExpirationDate; + export type IssuedDate = Stripe_.Identity.VerificationReport.Document.IssuedDate; + export type Sex = Stripe_.Identity.VerificationReport.Document.Sex; + export type Status = Stripe_.Identity.VerificationReport.Document.Status; + export type Type = Stripe_.Identity.VerificationReport.Document.Type; + export namespace Error { + export type Code = Stripe_.Identity.VerificationReport.Document.Error.Code; + } + } + export namespace Email { + export type Details = Stripe_.Identity.VerificationReport.Email.Details; + export type Error = Stripe_.Identity.VerificationReport.Email.Error; + export type Status = Stripe_.Identity.VerificationReport.Email.Status; + export namespace Error { + export type Code = Stripe_.Identity.VerificationReport.Email.Error.Code; + } + } + export namespace IdNumber { + export type Dob = Stripe_.Identity.VerificationReport.IdNumber.Dob; + export type Error = Stripe_.Identity.VerificationReport.IdNumber.Error; + export type IdNumberType = Stripe_.Identity.VerificationReport.IdNumber.IdNumberType; + export type Status = Stripe_.Identity.VerificationReport.IdNumber.Status; + export namespace Error { + export type Code = Stripe_.Identity.VerificationReport.IdNumber.Error.Code; + } + } + export namespace Options { + export type Document = Stripe_.Identity.VerificationReport.Options.Document; + export type IdNumber = Stripe_.Identity.VerificationReport.Options.IdNumber; + export namespace Document { + export type AllowedType = Stripe_.Identity.VerificationReport.Options.Document.AllowedType; + } + } + export namespace Phone { + export type Error = Stripe_.Identity.VerificationReport.Phone.Error; + export type Status = Stripe_.Identity.VerificationReport.Phone.Status; + export namespace Error { + export type Code = Stripe_.Identity.VerificationReport.Phone.Error.Code; + } + } + export namespace Selfie { + export type Error = Stripe_.Identity.VerificationReport.Selfie.Error; + export type Status = Stripe_.Identity.VerificationReport.Selfie.Status; + export namespace Error { + export type Code = Stripe_.Identity.VerificationReport.Selfie.Error.Code; + } + } } export namespace VerificationSessionCreateParams { export type Options = Stripe_.Identity.VerificationSessionCreateParams.Options; @@ -4341,77 +17138,169 @@ declare namespace StripeConstructor { } } export namespace Issuing { - export type Authorization = Stripe.Issuing.Authorization; - export type AuthorizationRetrieveParams = Stripe.Issuing.AuthorizationRetrieveParams; - export type AuthorizationUpdateParams = Stripe.Issuing.AuthorizationUpdateParams; - export type AuthorizationListParams = Stripe.Issuing.AuthorizationListParams; - export type AuthorizationApproveParams = Stripe.Issuing.AuthorizationApproveParams; - export type AuthorizationDeclineParams = Stripe.Issuing.AuthorizationDeclineParams; - export type AuthorizationResource = Stripe.Issuing.AuthorizationResource; - export type Card = Stripe.Issuing.Card; - export type CardCreateParams = Stripe.Issuing.CardCreateParams; - export type CardRetrieveParams = Stripe.Issuing.CardRetrieveParams; - export type CardUpdateParams = Stripe.Issuing.CardUpdateParams; - export type CardListParams = Stripe.Issuing.CardListParams; - export type CardResource = Stripe.Issuing.CardResource; - export type Cardholder = Stripe.Issuing.Cardholder; - export type CardholderCreateParams = Stripe.Issuing.CardholderCreateParams; - export type CardholderRetrieveParams = Stripe.Issuing.CardholderRetrieveParams; - export type CardholderUpdateParams = Stripe.Issuing.CardholderUpdateParams; - export type CardholderListParams = Stripe.Issuing.CardholderListParams; - export type CardholderResource = Stripe.Issuing.CardholderResource; - export type CreditUnderwritingRecord = Stripe.Issuing.CreditUnderwritingRecord; - export type CreditUnderwritingRecordRetrieveParams = Stripe.Issuing.CreditUnderwritingRecordRetrieveParams; - export type CreditUnderwritingRecordListParams = Stripe.Issuing.CreditUnderwritingRecordListParams; - export type CreditUnderwritingRecordCorrectParams = Stripe.Issuing.CreditUnderwritingRecordCorrectParams; - export type CreditUnderwritingRecordCreateFromApplicationParams = Stripe.Issuing.CreditUnderwritingRecordCreateFromApplicationParams; - export type CreditUnderwritingRecordCreateFromProactiveReviewParams = Stripe.Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams; - export type CreditUnderwritingRecordReportDecisionParams = Stripe.Issuing.CreditUnderwritingRecordReportDecisionParams; - export type CreditUnderwritingRecordResource = Stripe.Issuing.CreditUnderwritingRecordResource; - export type Dispute = Stripe.Issuing.Dispute; - export type DisputeCreateParams = Stripe.Issuing.DisputeCreateParams; - export type DisputeRetrieveParams = Stripe.Issuing.DisputeRetrieveParams; - export type DisputeUpdateParams = Stripe.Issuing.DisputeUpdateParams; - export type DisputeListParams = Stripe.Issuing.DisputeListParams; - export type DisputeSubmitParams = Stripe.Issuing.DisputeSubmitParams; - export type DisputeResource = Stripe.Issuing.DisputeResource; - export type DisputeSettlementDetail = Stripe.Issuing.DisputeSettlementDetail; - export type DisputeSettlementDetailRetrieveParams = Stripe.Issuing.DisputeSettlementDetailRetrieveParams; - export type DisputeSettlementDetailListParams = Stripe.Issuing.DisputeSettlementDetailListParams; - export type DisputeSettlementDetailResource = Stripe.Issuing.DisputeSettlementDetailResource; - export type FraudLiabilityDebit = Stripe.Issuing.FraudLiabilityDebit; - export type FraudLiabilityDebitRetrieveParams = Stripe.Issuing.FraudLiabilityDebitRetrieveParams; - export type FraudLiabilityDebitListParams = Stripe.Issuing.FraudLiabilityDebitListParams; - export type FraudLiabilityDebitResource = Stripe.Issuing.FraudLiabilityDebitResource; - export type PersonalizationDesign = Stripe.Issuing.PersonalizationDesign; - export type PersonalizationDesignCreateParams = Stripe.Issuing.PersonalizationDesignCreateParams; - export type PersonalizationDesignRetrieveParams = Stripe.Issuing.PersonalizationDesignRetrieveParams; - export type PersonalizationDesignUpdateParams = Stripe.Issuing.PersonalizationDesignUpdateParams; - export type PersonalizationDesignListParams = Stripe.Issuing.PersonalizationDesignListParams; - export type PersonalizationDesignResource = Stripe.Issuing.PersonalizationDesignResource; - export type PhysicalBundle = Stripe.Issuing.PhysicalBundle; - export type PhysicalBundleRetrieveParams = Stripe.Issuing.PhysicalBundleRetrieveParams; - export type PhysicalBundleListParams = Stripe.Issuing.PhysicalBundleListParams; - export type PhysicalBundleResource = Stripe.Issuing.PhysicalBundleResource; - export type Program = Stripe.Issuing.Program; - export type ProgramCreateParams = Stripe.Issuing.ProgramCreateParams; - export type ProgramRetrieveParams = Stripe.Issuing.ProgramRetrieveParams; - export type ProgramUpdateParams = Stripe.Issuing.ProgramUpdateParams; - export type ProgramListParams = Stripe.Issuing.ProgramListParams; - export type ProgramResource = Stripe.Issuing.ProgramResource; - export type Token = Stripe.Issuing.Token; - export type TokenRetrieveParams = Stripe.Issuing.TokenRetrieveParams; - export type TokenUpdateParams = Stripe.Issuing.TokenUpdateParams; - export type TokenListParams = Stripe.Issuing.TokenListParams; - export type TokenResource = Stripe.Issuing.TokenResource; - export type Transaction = Stripe.Issuing.Transaction; - export type TransactionRetrieveParams = Stripe.Issuing.TransactionRetrieveParams; - export type TransactionUpdateParams = Stripe.Issuing.TransactionUpdateParams; - export type TransactionListParams = Stripe.Issuing.TransactionListParams; - export type TransactionResource = Stripe.Issuing.TransactionResource; - export type Settlement = Stripe.Issuing.Settlement; - export namespace AuthorizationListParams { - export type Status = Stripe.Issuing.AuthorizationListParams.Status; + export type Authorization = Stripe_.Issuing.Authorization; + export type AuthorizationRetrieveParams = Stripe_.Issuing.AuthorizationRetrieveParams; + export type AuthorizationUpdateParams = Stripe_.Issuing.AuthorizationUpdateParams; + export type AuthorizationListParams = Stripe_.Issuing.AuthorizationListParams; + export type AuthorizationApproveParams = Stripe_.Issuing.AuthorizationApproveParams; + export type AuthorizationDeclineParams = Stripe_.Issuing.AuthorizationDeclineParams; + export type AuthorizationResource = Stripe_.Issuing.AuthorizationResource; + export type Card = Stripe_.Issuing.Card; + export type CardCreateParams = Stripe_.Issuing.CardCreateParams; + export type CardRetrieveParams = Stripe_.Issuing.CardRetrieveParams; + export type CardUpdateParams = Stripe_.Issuing.CardUpdateParams; + export type CardListParams = Stripe_.Issuing.CardListParams; + export type CardResource = Stripe_.Issuing.CardResource; + export type Cardholder = Stripe_.Issuing.Cardholder; + export type CardholderCreateParams = Stripe_.Issuing.CardholderCreateParams; + export type CardholderRetrieveParams = Stripe_.Issuing.CardholderRetrieveParams; + export type CardholderUpdateParams = Stripe_.Issuing.CardholderUpdateParams; + export type CardholderListParams = Stripe_.Issuing.CardholderListParams; + export type CardholderResource = Stripe_.Issuing.CardholderResource; + export type CreditUnderwritingRecord = Stripe_.Issuing.CreditUnderwritingRecord; + export type CreditUnderwritingRecordRetrieveParams = Stripe_.Issuing.CreditUnderwritingRecordRetrieveParams; + export type CreditUnderwritingRecordListParams = Stripe_.Issuing.CreditUnderwritingRecordListParams; + export type CreditUnderwritingRecordCorrectParams = Stripe_.Issuing.CreditUnderwritingRecordCorrectParams; + export type CreditUnderwritingRecordCreateFromApplicationParams = Stripe_.Issuing.CreditUnderwritingRecordCreateFromApplicationParams; + export type CreditUnderwritingRecordCreateFromProactiveReviewParams = Stripe_.Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams; + export type CreditUnderwritingRecordReportDecisionParams = Stripe_.Issuing.CreditUnderwritingRecordReportDecisionParams; + export type CreditUnderwritingRecordResource = Stripe_.Issuing.CreditUnderwritingRecordResource; + export type Dispute = Stripe_.Issuing.Dispute; + export type DisputeCreateParams = Stripe_.Issuing.DisputeCreateParams; + export type DisputeRetrieveParams = Stripe_.Issuing.DisputeRetrieveParams; + export type DisputeUpdateParams = Stripe_.Issuing.DisputeUpdateParams; + export type DisputeListParams = Stripe_.Issuing.DisputeListParams; + export type DisputeSubmitParams = Stripe_.Issuing.DisputeSubmitParams; + export type DisputeResource = Stripe_.Issuing.DisputeResource; + export type DisputeSettlementDetail = Stripe_.Issuing.DisputeSettlementDetail; + export type DisputeSettlementDetailRetrieveParams = Stripe_.Issuing.DisputeSettlementDetailRetrieveParams; + export type DisputeSettlementDetailListParams = Stripe_.Issuing.DisputeSettlementDetailListParams; + export type DisputeSettlementDetailResource = Stripe_.Issuing.DisputeSettlementDetailResource; + export type FraudLiabilityDebit = Stripe_.Issuing.FraudLiabilityDebit; + export type FraudLiabilityDebitRetrieveParams = Stripe_.Issuing.FraudLiabilityDebitRetrieveParams; + export type FraudLiabilityDebitListParams = Stripe_.Issuing.FraudLiabilityDebitListParams; + export type FraudLiabilityDebitResource = Stripe_.Issuing.FraudLiabilityDebitResource; + export type PersonalizationDesign = Stripe_.Issuing.PersonalizationDesign; + export type PersonalizationDesignCreateParams = Stripe_.Issuing.PersonalizationDesignCreateParams; + export type PersonalizationDesignRetrieveParams = Stripe_.Issuing.PersonalizationDesignRetrieveParams; + export type PersonalizationDesignUpdateParams = Stripe_.Issuing.PersonalizationDesignUpdateParams; + export type PersonalizationDesignListParams = Stripe_.Issuing.PersonalizationDesignListParams; + export type PersonalizationDesignResource = Stripe_.Issuing.PersonalizationDesignResource; + export type PhysicalBundle = Stripe_.Issuing.PhysicalBundle; + export type PhysicalBundleRetrieveParams = Stripe_.Issuing.PhysicalBundleRetrieveParams; + export type PhysicalBundleListParams = Stripe_.Issuing.PhysicalBundleListParams; + export type PhysicalBundleResource = Stripe_.Issuing.PhysicalBundleResource; + export type Program = Stripe_.Issuing.Program; + export type ProgramCreateParams = Stripe_.Issuing.ProgramCreateParams; + export type ProgramRetrieveParams = Stripe_.Issuing.ProgramRetrieveParams; + export type ProgramUpdateParams = Stripe_.Issuing.ProgramUpdateParams; + export type ProgramListParams = Stripe_.Issuing.ProgramListParams; + export type ProgramResource = Stripe_.Issuing.ProgramResource; + export type Token = Stripe_.Issuing.Token; + export type TokenRetrieveParams = Stripe_.Issuing.TokenRetrieveParams; + export type TokenUpdateParams = Stripe_.Issuing.TokenUpdateParams; + export type TokenListParams = Stripe_.Issuing.TokenListParams; + export type TokenResource = Stripe_.Issuing.TokenResource; + export type Transaction = Stripe_.Issuing.Transaction; + export type TransactionRetrieveParams = Stripe_.Issuing.TransactionRetrieveParams; + export type TransactionUpdateParams = Stripe_.Issuing.TransactionUpdateParams; + export type TransactionListParams = Stripe_.Issuing.TransactionListParams; + export type TransactionResource = Stripe_.Issuing.TransactionResource; + export type Settlement = Stripe_.Issuing.Settlement; + export namespace Authorization { + export type AmountDetails = Stripe_.Issuing.Authorization.AmountDetails; + export type AuthorizationMethod = Stripe_.Issuing.Authorization.AuthorizationMethod; + export type BalanceResponse = Stripe_.Issuing.Authorization.BalanceResponse; + export type CardPresence = Stripe_.Issuing.Authorization.CardPresence; + export type CryptoTransaction = Stripe_.Issuing.Authorization.CryptoTransaction; + export type Fleet = Stripe_.Issuing.Authorization.Fleet; + export type FraudChallenge = Stripe_.Issuing.Authorization.FraudChallenge; + export type Fuel = Stripe_.Issuing.Authorization.Fuel; + export type MerchantData = Stripe_.Issuing.Authorization.MerchantData; + export type NetworkData = Stripe_.Issuing.Authorization.NetworkData; + export type PendingRequest = Stripe_.Issuing.Authorization.PendingRequest; + export type RequestHistory = Stripe_.Issuing.Authorization.RequestHistory; + export type Status = Stripe_.Issuing.Authorization.Status; + export type TokenDetails = Stripe_.Issuing.Authorization.TokenDetails; + export type Treasury = Stripe_.Issuing.Authorization.Treasury; + export type VerificationData = Stripe_.Issuing.Authorization.VerificationData; + export namespace BalanceResponse { + export type AccountType = Stripe_.Issuing.Authorization.BalanceResponse.AccountType; + } + export namespace CryptoTransaction { + export type CryptoTransactionConfirmed = Stripe_.Issuing.Authorization.CryptoTransaction.CryptoTransactionConfirmed; + export type CryptoTransactionFailed = Stripe_.Issuing.Authorization.CryptoTransaction.CryptoTransactionFailed; + export namespace CryptoTransactionConfirmed { + export type Fee = Stripe_.Issuing.Authorization.CryptoTransaction.CryptoTransactionConfirmed.Fee; + } + export namespace CryptoTransactionFailed { + export type Fee = Stripe_.Issuing.Authorization.CryptoTransaction.CryptoTransactionFailed.Fee; + } + } + export namespace Fleet { + export type CardholderPromptData = Stripe_.Issuing.Authorization.Fleet.CardholderPromptData; + export type PurchaseType = Stripe_.Issuing.Authorization.Fleet.PurchaseType; + export type ReportedBreakdown = Stripe_.Issuing.Authorization.Fleet.ReportedBreakdown; + export type ServiceType = Stripe_.Issuing.Authorization.Fleet.ServiceType; + export namespace ReportedBreakdown { + export type Fuel = Stripe_.Issuing.Authorization.Fleet.ReportedBreakdown.Fuel; + export type NonFuel = Stripe_.Issuing.Authorization.Fleet.ReportedBreakdown.NonFuel; + export type Tax = Stripe_.Issuing.Authorization.Fleet.ReportedBreakdown.Tax; + } + } + export namespace FraudChallenge { + export type Status = Stripe_.Issuing.Authorization.FraudChallenge.Status; + export type UndeliverableReason = Stripe_.Issuing.Authorization.FraudChallenge.UndeliverableReason; + } + export namespace Fuel { + export type Type = Stripe_.Issuing.Authorization.Fuel.Type; + export type Unit = Stripe_.Issuing.Authorization.Fuel.Unit; + } + export namespace PendingRequest { + export type AmountDetails = Stripe_.Issuing.Authorization.PendingRequest.AmountDetails; + } + export namespace RequestHistory { + export type AmountDetails = Stripe_.Issuing.Authorization.RequestHistory.AmountDetails; + export type Reason = Stripe_.Issuing.Authorization.RequestHistory.Reason; + } + export namespace TokenDetails { + export type NetworkData = Stripe_.Issuing.Authorization.TokenDetails.NetworkData; + export type ProvisioningDecision = Stripe_.Issuing.Authorization.TokenDetails.ProvisioningDecision; + export type TokenType = Stripe_.Issuing.Authorization.TokenDetails.TokenType; + export namespace NetworkData { + export type Device = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.Device; + export type Mastercard = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.Mastercard; + export type Type = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.Type; + export type Visa = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.Visa; + export type WalletProvider = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.WalletProvider; + export namespace Device { + export type Language = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.Device.Language; + } + export namespace Visa { + export type TokenDecisionRecommendation = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.Visa.TokenDecisionRecommendation; + } + export namespace WalletProvider { + export type CardNumberSource = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.WalletProvider.CardNumberSource; + export type ReasonCode = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.WalletProvider.ReasonCode; + export type SuggestedDecision = Stripe_.Issuing.Authorization.TokenDetails.NetworkData.WalletProvider.SuggestedDecision; + } + } + } + export namespace VerificationData { + export type AddressLine1Check = Stripe_.Issuing.Authorization.VerificationData.AddressLine1Check; + export type AddressPostalCodeCheck = Stripe_.Issuing.Authorization.VerificationData.AddressPostalCodeCheck; + export type AuthenticationExemption = Stripe_.Issuing.Authorization.VerificationData.AuthenticationExemption; + export type CvcCheck = Stripe_.Issuing.Authorization.VerificationData.CvcCheck; + export type ExpiryCheck = Stripe_.Issuing.Authorization.VerificationData.ExpiryCheck; + export type ThreeDSecure = Stripe_.Issuing.Authorization.VerificationData.ThreeDSecure; + export namespace AuthenticationExemption { + export type ClaimedBy = Stripe_.Issuing.Authorization.VerificationData.AuthenticationExemption.ClaimedBy; + export type Type = Stripe_.Issuing.Authorization.VerificationData.AuthenticationExemption.Type; + } + export namespace ThreeDSecure { + export type Result = Stripe_.Issuing.Authorization.VerificationData.ThreeDSecure.Result; + } + } } export namespace CardCreateParams { export type Type = Stripe_.Issuing.CardCreateParams.Type; @@ -4446,17 +17335,55 @@ declare namespace StripeConstructor { } } } - export namespace CardUpdateParams { - export type CancellationReason = Stripe.Issuing.CardUpdateParams.CancellationReason; - export type Pin = Stripe.Issuing.CardUpdateParams.Pin; - export type Shipping = Stripe.Issuing.CardUpdateParams.Shipping; - export type SpendingControls = Stripe.Issuing.CardUpdateParams.SpendingControls; - export type Status = Stripe.Issuing.CardUpdateParams.Status; - } - export namespace CardListParams { - export type Status = Stripe.Issuing.CardListParams.Status; - export type Type = Stripe.Issuing.CardListParams.Type; - export type Wallets = Stripe.Issuing.CardListParams.Wallets; + export namespace Card { + export type CancellationReason = Stripe_.Issuing.Card.CancellationReason; + export type LatestFraudWarning = Stripe_.Issuing.Card.LatestFraudWarning; + export type LifecycleControls = Stripe_.Issuing.Card.LifecycleControls; + export type ReplacementReason = Stripe_.Issuing.Card.ReplacementReason; + export type Shipping = Stripe_.Issuing.Card.Shipping; + export type SpendingControls = Stripe_.Issuing.Card.SpendingControls; + export type Status = Stripe_.Issuing.Card.Status; + export type Type = Stripe_.Issuing.Card.Type; + export type Wallets = Stripe_.Issuing.Card.Wallets; + export namespace LatestFraudWarning { + export type Type = Stripe_.Issuing.Card.LatestFraudWarning.Type; + } + export namespace LifecycleControls { + export type CancelAfter = Stripe_.Issuing.Card.LifecycleControls.CancelAfter; + } + export namespace Shipping { + export type AddressValidation = Stripe_.Issuing.Card.Shipping.AddressValidation; + export type Carrier = Stripe_.Issuing.Card.Shipping.Carrier; + export type Customs = Stripe_.Issuing.Card.Shipping.Customs; + export type Service = Stripe_.Issuing.Card.Shipping.Service; + export type Status = Stripe_.Issuing.Card.Shipping.Status; + export type Type = Stripe_.Issuing.Card.Shipping.Type; + export namespace AddressValidation { + export type Mode = Stripe_.Issuing.Card.Shipping.AddressValidation.Mode; + export type Result = Stripe_.Issuing.Card.Shipping.AddressValidation.Result; + } + } + export namespace SpendingControls { + export type AllowedCardPresence = Stripe_.Issuing.Card.SpendingControls.AllowedCardPresence; + export type AllowedCategory = Stripe_.Issuing.Card.SpendingControls.AllowedCategory; + export type BlockedCardPresence = Stripe_.Issuing.Card.SpendingControls.BlockedCardPresence; + export type BlockedCategory = Stripe_.Issuing.Card.SpendingControls.BlockedCategory; + export type SpendingLimit = Stripe_.Issuing.Card.SpendingControls.SpendingLimit; + export namespace SpendingLimit { + export type Category = Stripe_.Issuing.Card.SpendingControls.SpendingLimit.Category; + export type Interval = Stripe_.Issuing.Card.SpendingControls.SpendingLimit.Interval; + } + } + export namespace Wallets { + export type ApplePay = Stripe_.Issuing.Card.Wallets.ApplePay; + export type GooglePay = Stripe_.Issuing.Card.Wallets.GooglePay; + export namespace ApplePay { + export type IneligibleReason = Stripe_.Issuing.Card.Wallets.ApplePay.IneligibleReason; + } + export namespace GooglePay { + export type IneligibleReason = Stripe_.Issuing.Card.Wallets.GooglePay.IneligibleReason; + } + } } export namespace CardholderCreateParams { export type Billing = Stripe_.Issuing.CardholderCreateParams.Billing; @@ -4528,24 +17455,35 @@ declare namespace StripeConstructor { } } } - export namespace CreditUnderwritingRecordCorrectParams { - export type Application = Stripe.Issuing.CreditUnderwritingRecordCorrectParams.Application; - export type CreditUser = Stripe.Issuing.CreditUnderwritingRecordCorrectParams.CreditUser; - export type Decision = Stripe.Issuing.CreditUnderwritingRecordCorrectParams.Decision; - export type UnderwritingException = Stripe.Issuing.CreditUnderwritingRecordCorrectParams.UnderwritingException; - } - export namespace CreditUnderwritingRecordCreateFromApplicationParams { - export type Application = Stripe.Issuing.CreditUnderwritingRecordCreateFromApplicationParams.Application; - export type CreditUser = Stripe.Issuing.CreditUnderwritingRecordCreateFromApplicationParams.CreditUser; - } - export namespace CreditUnderwritingRecordCreateFromProactiveReviewParams { - export type CreditUser = Stripe.Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.CreditUser; - export type Decision = Stripe.Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.Decision; - export type UnderwritingException = Stripe.Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.UnderwritingException; - } - export namespace CreditUnderwritingRecordReportDecisionParams { - export type Decision = Stripe.Issuing.CreditUnderwritingRecordReportDecisionParams.Decision; - export type UnderwritingException = Stripe.Issuing.CreditUnderwritingRecordReportDecisionParams.UnderwritingException; + export namespace CreditUnderwritingRecord { + export type Application = Stripe_.Issuing.CreditUnderwritingRecord.Application; + export type CreatedFrom = Stripe_.Issuing.CreditUnderwritingRecord.CreatedFrom; + export type CreditUser = Stripe_.Issuing.CreditUnderwritingRecord.CreditUser; + export type Decision = Stripe_.Issuing.CreditUnderwritingRecord.Decision; + export type UnderwritingException = Stripe_.Issuing.CreditUnderwritingRecord.UnderwritingException; + export namespace Application { + export type ApplicationMethod = Stripe_.Issuing.CreditUnderwritingRecord.Application.ApplicationMethod; + export type Purpose = Stripe_.Issuing.CreditUnderwritingRecord.Application.Purpose; + } + export namespace Decision { + export type ApplicationRejected = Stripe_.Issuing.CreditUnderwritingRecord.Decision.ApplicationRejected; + export type CreditLimitApproved = Stripe_.Issuing.CreditUnderwritingRecord.Decision.CreditLimitApproved; + export type CreditLimitDecreased = Stripe_.Issuing.CreditUnderwritingRecord.Decision.CreditLimitDecreased; + export type CreditLineClosed = Stripe_.Issuing.CreditUnderwritingRecord.Decision.CreditLineClosed; + export type Type = Stripe_.Issuing.CreditUnderwritingRecord.Decision.Type; + export namespace ApplicationRejected { + export type Reason = Stripe_.Issuing.CreditUnderwritingRecord.Decision.ApplicationRejected.Reason; + } + export namespace CreditLimitDecreased { + export type Reason = Stripe_.Issuing.CreditUnderwritingRecord.Decision.CreditLimitDecreased.Reason; + } + export namespace CreditLineClosed { + export type Reason = Stripe_.Issuing.CreditUnderwritingRecord.Decision.CreditLineClosed.Reason; + } + } + export namespace UnderwritingException { + export type OriginalDecisionType = Stripe_.Issuing.CreditUnderwritingRecord.UnderwritingException.OriginalDecisionType; + } } export namespace DisputeCreateParams { export type Evidence = Stripe_.Issuing.DisputeCreateParams.Evidence; @@ -4575,12 +17513,61 @@ declare namespace StripeConstructor { } } } - export namespace DisputeUpdateParams { - export type Evidence = Stripe.Issuing.DisputeUpdateParams.Evidence; - export type ProvisionalCredit = Stripe.Issuing.DisputeUpdateParams.ProvisionalCredit; + export namespace Dispute { + export type CryptoTransaction = Stripe_.Issuing.Dispute.CryptoTransaction; + export type Evidence = Stripe_.Issuing.Dispute.Evidence; + export type LossReason = Stripe_.Issuing.Dispute.LossReason; + export type NetworkLifecycle = Stripe_.Issuing.Dispute.NetworkLifecycle; + export type ProvisionalCredit = Stripe_.Issuing.Dispute.ProvisionalCredit; + export type Status = Stripe_.Issuing.Dispute.Status; + export type Treasury = Stripe_.Issuing.Dispute.Treasury; + export namespace CryptoTransaction { + export type CryptoTransactionConfirmed = Stripe_.Issuing.Dispute.CryptoTransaction.CryptoTransactionConfirmed; + export type CryptoTransactionFailed = Stripe_.Issuing.Dispute.CryptoTransaction.CryptoTransactionFailed; + export namespace CryptoTransactionConfirmed { + export type Fee = Stripe_.Issuing.Dispute.CryptoTransaction.CryptoTransactionConfirmed.Fee; + } + export namespace CryptoTransactionFailed { + export type Fee = Stripe_.Issuing.Dispute.CryptoTransaction.CryptoTransactionFailed.Fee; + } + } + export namespace Evidence { + export type Canceled = Stripe_.Issuing.Dispute.Evidence.Canceled; + export type Duplicate = Stripe_.Issuing.Dispute.Evidence.Duplicate; + export type Fraudulent = Stripe_.Issuing.Dispute.Evidence.Fraudulent; + export type MerchandiseNotAsDescribed = Stripe_.Issuing.Dispute.Evidence.MerchandiseNotAsDescribed; + export type NoValidAuthorization = Stripe_.Issuing.Dispute.Evidence.NoValidAuthorization; + export type NotReceived = Stripe_.Issuing.Dispute.Evidence.NotReceived; + export type Other = Stripe_.Issuing.Dispute.Evidence.Other; + export type Reason = Stripe_.Issuing.Dispute.Evidence.Reason; + export type ServiceNotAsDescribed = Stripe_.Issuing.Dispute.Evidence.ServiceNotAsDescribed; + export namespace Canceled { + export type ProductType = Stripe_.Issuing.Dispute.Evidence.Canceled.ProductType; + export type ReturnStatus = Stripe_.Issuing.Dispute.Evidence.Canceled.ReturnStatus; + } + export namespace MerchandiseNotAsDescribed { + export type ReturnStatus = Stripe_.Issuing.Dispute.Evidence.MerchandiseNotAsDescribed.ReturnStatus; + } + export namespace NotReceived { + export type ProductType = Stripe_.Issuing.Dispute.Evidence.NotReceived.ProductType; + } + export namespace Other { + export type ProductType = Stripe_.Issuing.Dispute.Evidence.Other.ProductType; + } + } + export namespace NetworkLifecycle { + export type DisputeResponse = Stripe_.Issuing.Dispute.NetworkLifecycle.DisputeResponse; + export type PreArbitrationResponse = Stripe_.Issuing.Dispute.NetworkLifecycle.PreArbitrationResponse; + export type PreArbitrationSubmission = Stripe_.Issuing.Dispute.NetworkLifecycle.PreArbitrationSubmission; + } + export namespace ProvisionalCredit { + export type Status = Stripe_.Issuing.Dispute.ProvisionalCredit.Status; + } } - export namespace DisputeListParams { - export type Status = Stripe.Issuing.DisputeListParams.Status; + export namespace DisputeSettlementDetail { + export type EventType = Stripe_.Issuing.DisputeSettlementDetail.EventType; + export type Network = Stripe_.Issuing.DisputeSettlementDetail.Network; + export type NetworkData = Stripe_.Issuing.DisputeSettlementDetail.NetworkData; } export namespace PersonalizationDesignCreateParams { export type CarrierText = Stripe_.Issuing.PersonalizationDesignCreateParams.CarrierText; @@ -4609,7 +17596,9 @@ declare namespace StripeConstructor { export namespace Token { export type Network = Stripe_.Issuing.Token.Network; export type NetworkData = Stripe_.Issuing.Token.NetworkData; + export type ProvisioningDecision = Stripe_.Issuing.Token.ProvisioningDecision; export type Status = Stripe_.Issuing.Token.Status; + export type TokenType = Stripe_.Issuing.Token.TokenType; export type WalletProvider = Stripe_.Issuing.Token.WalletProvider; export namespace NetworkData { export type Device = Stripe_.Issuing.Token.NetworkData.Device; @@ -4618,8 +17607,12 @@ declare namespace StripeConstructor { export type Visa = Stripe_.Issuing.Token.NetworkData.Visa; export type WalletProvider = Stripe_.Issuing.Token.NetworkData.WalletProvider; export namespace Device { + export type Language = Stripe_.Issuing.Token.NetworkData.Device.Language; export type Type = Stripe_.Issuing.Token.NetworkData.Device.Type; } + export namespace Visa { + export type TokenDecisionRecommendation = Stripe_.Issuing.Token.NetworkData.Visa.TokenDecisionRecommendation; + } export namespace WalletProvider { export type CardNumberSource = Stripe_.Issuing.Token.NetworkData.WalletProvider.CardNumberSource; export type CardholderAddress = Stripe_.Issuing.Token.NetworkData.WalletProvider.CardholderAddress; @@ -4630,12 +17623,23 @@ declare namespace StripeConstructor { } export namespace Transaction { export type AmountDetails = Stripe_.Issuing.Transaction.AmountDetails; + export type CryptoTransaction = Stripe_.Issuing.Transaction.CryptoTransaction; export type MerchantData = Stripe_.Issuing.Transaction.MerchantData; export type NetworkData = Stripe_.Issuing.Transaction.NetworkData; export type PurchaseDetails = Stripe_.Issuing.Transaction.PurchaseDetails; export type Treasury = Stripe_.Issuing.Transaction.Treasury; export type Type = Stripe_.Issuing.Transaction.Type; export type Wallet = Stripe_.Issuing.Transaction.Wallet; + export namespace CryptoTransaction { + export type CryptoTransactionConfirmed = Stripe_.Issuing.Transaction.CryptoTransaction.CryptoTransactionConfirmed; + export type CryptoTransactionFailed = Stripe_.Issuing.Transaction.CryptoTransaction.CryptoTransactionFailed; + export namespace CryptoTransactionConfirmed { + export type Fee = Stripe_.Issuing.Transaction.CryptoTransaction.CryptoTransactionConfirmed.Fee; + } + export namespace CryptoTransactionFailed { + export type Fee = Stripe_.Issuing.Transaction.CryptoTransaction.CryptoTransactionFailed.Fee; + } + } export namespace PurchaseDetails { export type Fleet = Stripe_.Issuing.Transaction.PurchaseDetails.Fleet; export type Flight = Stripe_.Issuing.Transaction.PurchaseDetails.Flight; @@ -4656,113 +17660,245 @@ declare namespace StripeConstructor { } } } + export namespace Settlement { + export type Network = Stripe_.Issuing.Settlement.Network; + export type Status = Stripe_.Issuing.Settlement.Status; + } } export namespace Orchestration { - export type PaymentAttempt = Stripe.Orchestration.PaymentAttempt; - export type PaymentAttemptRetrieveParams = Stripe.Orchestration.PaymentAttemptRetrieveParams; - export type PaymentAttemptResource = Stripe.Orchestration.PaymentAttemptResource; + export type PaymentAttempt = Stripe_.Orchestration.PaymentAttempt; + export type PaymentAttemptRetrieveParams = Stripe_.Orchestration.PaymentAttemptRetrieveParams; + export type PaymentAttemptResource = Stripe_.Orchestration.PaymentAttemptResource; } export namespace Privacy { - export type RedactionJob = Stripe.Privacy.RedactionJob; - export type RedactionJobCreateParams = Stripe.Privacy.RedactionJobCreateParams; - export type RedactionJobRetrieveParams = Stripe.Privacy.RedactionJobRetrieveParams; - export type RedactionJobUpdateParams = Stripe.Privacy.RedactionJobUpdateParams; - export type RedactionJobListParams = Stripe.Privacy.RedactionJobListParams; - export type RedactionJobCancelParams = Stripe.Privacy.RedactionJobCancelParams; - export type RedactionJobListValidationErrorsParams = Stripe.Privacy.RedactionJobListValidationErrorsParams; - export type RedactionJobRunParams = Stripe.Privacy.RedactionJobRunParams; - export type RedactionJobValidateParams = Stripe.Privacy.RedactionJobValidateParams; - export type RedactionJobResource = Stripe.Privacy.RedactionJobResource; - export type RedactionJobValidationError = Stripe.Privacy.RedactionJobValidationError; + export type RedactionJob = Stripe_.Privacy.RedactionJob; + export type RedactionJobCreateParams = Stripe_.Privacy.RedactionJobCreateParams; + export type RedactionJobRetrieveParams = Stripe_.Privacy.RedactionJobRetrieveParams; + export type RedactionJobUpdateParams = Stripe_.Privacy.RedactionJobUpdateParams; + export type RedactionJobListParams = Stripe_.Privacy.RedactionJobListParams; + export type RedactionJobCancelParams = Stripe_.Privacy.RedactionJobCancelParams; + export type RedactionJobListValidationErrorsParams = Stripe_.Privacy.RedactionJobListValidationErrorsParams; + export type RedactionJobRunParams = Stripe_.Privacy.RedactionJobRunParams; + export type RedactionJobValidateParams = Stripe_.Privacy.RedactionJobValidateParams; + export type RedactionJobResource = Stripe_.Privacy.RedactionJobResource; + export type RedactionJobValidationError = Stripe_.Privacy.RedactionJobValidationError; export namespace RedactionJobCreateParams { - export type Objects = Stripe.Privacy.RedactionJobCreateParams.Objects; - export type ValidationBehavior = Stripe.Privacy.RedactionJobCreateParams.ValidationBehavior; + export type Objects = Stripe_.Privacy.RedactionJobCreateParams.Objects; + export type ValidationBehavior = Stripe_.Privacy.RedactionJobCreateParams.ValidationBehavior; } - export namespace RedactionJobUpdateParams { - export type ValidationBehavior = Stripe.Privacy.RedactionJobUpdateParams.ValidationBehavior; + export namespace RedactionJob { + export type Objects = Stripe_.Privacy.RedactionJob.Objects; + export type Status = Stripe_.Privacy.RedactionJob.Status; + export type ValidationBehavior = Stripe_.Privacy.RedactionJob.ValidationBehavior; } - export namespace RedactionJobListParams { - export type Status = Stripe.Privacy.RedactionJobListParams.Status; + export namespace RedactionJobValidationError { + export type Code = Stripe_.Privacy.RedactionJobValidationError.Code; + export type ErroringObject = Stripe_.Privacy.RedactionJobValidationError.ErroringObject; } } export namespace ProductCatalog { - export type TrialOffer = Stripe.ProductCatalog.TrialOffer; - export type TrialOfferCreateParams = Stripe.ProductCatalog.TrialOfferCreateParams; - export type TrialOfferResource = Stripe.ProductCatalog.TrialOfferResource; + export type TrialOffer = Stripe_.ProductCatalog.TrialOffer; + export type TrialOfferCreateParams = Stripe_.ProductCatalog.TrialOfferCreateParams; + export type TrialOfferResource = Stripe_.ProductCatalog.TrialOfferResource; export namespace TrialOfferCreateParams { - export type Duration = Stripe.ProductCatalog.TrialOfferCreateParams.Duration; - export type EndBehavior = Stripe.ProductCatalog.TrialOfferCreateParams.EndBehavior; + export type Duration = Stripe_.ProductCatalog.TrialOfferCreateParams.Duration; + export type EndBehavior = Stripe_.ProductCatalog.TrialOfferCreateParams.EndBehavior; + export namespace Duration { + export type Relative = Stripe_.ProductCatalog.TrialOfferCreateParams.Duration.Relative; + export type Type = Stripe_.ProductCatalog.TrialOfferCreateParams.Duration.Type; + } + export namespace EndBehavior { + export type Transition = Stripe_.ProductCatalog.TrialOfferCreateParams.EndBehavior.Transition; + } + } + export namespace TrialOffer { + export type Duration = Stripe_.ProductCatalog.TrialOffer.Duration; + export type EndBehavior = Stripe_.ProductCatalog.TrialOffer.EndBehavior; + export namespace Duration { + export type Relative = Stripe_.ProductCatalog.TrialOffer.Duration.Relative; + export type Type = Stripe_.ProductCatalog.TrialOffer.Duration.Type; + } + export namespace EndBehavior { + export type Transition = Stripe_.ProductCatalog.TrialOffer.EndBehavior.Transition; + } } } export namespace Radar { - export type AccountEvaluation = Stripe.Radar.AccountEvaluation; - export type AccountEvaluationCreateParams = Stripe.Radar.AccountEvaluationCreateParams; - export type AccountEvaluationRetrieveParams = Stripe.Radar.AccountEvaluationRetrieveParams; - export type AccountEvaluationUpdateParams = Stripe.Radar.AccountEvaluationUpdateParams; - export type AccountEvaluationResource = Stripe.Radar.AccountEvaluationResource; - export type CustomerEvaluation = Stripe.Radar.CustomerEvaluation; - export type CustomerEvaluationCreateParams = Stripe.Radar.CustomerEvaluationCreateParams; - export type CustomerEvaluationRetrieveParams = Stripe.Radar.CustomerEvaluationRetrieveParams; - export type CustomerEvaluationUpdateParams = Stripe.Radar.CustomerEvaluationUpdateParams; - export type CustomerEvaluationResource = Stripe.Radar.CustomerEvaluationResource; - export type EarlyFraudWarning = Stripe.Radar.EarlyFraudWarning; - export type EarlyFraudWarningRetrieveParams = Stripe.Radar.EarlyFraudWarningRetrieveParams; - export type EarlyFraudWarningListParams = Stripe.Radar.EarlyFraudWarningListParams; - export type EarlyFraudWarningResource = Stripe.Radar.EarlyFraudWarningResource; - export type IssuingAuthorizationEvaluation = Stripe.Radar.IssuingAuthorizationEvaluation; - export type IssuingAuthorizationEvaluationCreateParams = Stripe.Radar.IssuingAuthorizationEvaluationCreateParams; - export type IssuingAuthorizationEvaluationResource = Stripe.Radar.IssuingAuthorizationEvaluationResource; - export type PaymentEvaluation = Stripe.Radar.PaymentEvaluation; - export type PaymentEvaluationCreateParams = Stripe.Radar.PaymentEvaluationCreateParams; - export type PaymentEvaluationResource = Stripe.Radar.PaymentEvaluationResource; - export type ValueList = Stripe.Radar.ValueList; - export type DeletedValueList = Stripe.Radar.DeletedValueList; - export type ValueListCreateParams = Stripe.Radar.ValueListCreateParams; - export type ValueListRetrieveParams = Stripe.Radar.ValueListRetrieveParams; - export type ValueListUpdateParams = Stripe.Radar.ValueListUpdateParams; - export type ValueListListParams = Stripe.Radar.ValueListListParams; - export type ValueListDeleteParams = Stripe.Radar.ValueListDeleteParams; - export type ValueListResource = Stripe.Radar.ValueListResource; - export type ValueListItem = Stripe.Radar.ValueListItem; - export type DeletedValueListItem = Stripe.Radar.DeletedValueListItem; - export type ValueListItemCreateParams = Stripe.Radar.ValueListItemCreateParams; - export type ValueListItemRetrieveParams = Stripe.Radar.ValueListItemRetrieveParams; - export type ValueListItemListParams = Stripe.Radar.ValueListItemListParams; - export type ValueListItemDeleteParams = Stripe.Radar.ValueListItemDeleteParams; - export type ValueListItemSerializeBatchCreateParams = Stripe.Radar.ValueListItemSerializeBatchCreateParams; - export type ValueListItemResource = Stripe.Radar.ValueListItemResource; + export type AccountEvaluation = Stripe_.Radar.AccountEvaluation; + export type AccountEvaluationCreateParams = Stripe_.Radar.AccountEvaluationCreateParams; + export type AccountEvaluationRetrieveParams = Stripe_.Radar.AccountEvaluationRetrieveParams; + export type AccountEvaluationUpdateParams = Stripe_.Radar.AccountEvaluationUpdateParams; + export type AccountEvaluationResource = Stripe_.Radar.AccountEvaluationResource; + export type CustomerEvaluation = Stripe_.Radar.CustomerEvaluation; + export type CustomerEvaluationCreateParams = Stripe_.Radar.CustomerEvaluationCreateParams; + export type CustomerEvaluationRetrieveParams = Stripe_.Radar.CustomerEvaluationRetrieveParams; + export type CustomerEvaluationUpdateParams = Stripe_.Radar.CustomerEvaluationUpdateParams; + export type CustomerEvaluationResource = Stripe_.Radar.CustomerEvaluationResource; + export type EarlyFraudWarning = Stripe_.Radar.EarlyFraudWarning; + export type EarlyFraudWarningRetrieveParams = Stripe_.Radar.EarlyFraudWarningRetrieveParams; + export type EarlyFraudWarningListParams = Stripe_.Radar.EarlyFraudWarningListParams; + export type EarlyFraudWarningResource = Stripe_.Radar.EarlyFraudWarningResource; + export type IssuingAuthorizationEvaluation = Stripe_.Radar.IssuingAuthorizationEvaluation; + export type IssuingAuthorizationEvaluationCreateParams = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams; + export type IssuingAuthorizationEvaluationResource = Stripe_.Radar.IssuingAuthorizationEvaluationResource; + export type PaymentEvaluation = Stripe_.Radar.PaymentEvaluation; + export type PaymentEvaluationCreateParams = Stripe_.Radar.PaymentEvaluationCreateParams; + export type PaymentEvaluationResource = Stripe_.Radar.PaymentEvaluationResource; + export type ValueList = Stripe_.Radar.ValueList; + export type DeletedValueList = Stripe_.Radar.DeletedValueList; + export type ValueListCreateParams = Stripe_.Radar.ValueListCreateParams; + export type ValueListRetrieveParams = Stripe_.Radar.ValueListRetrieveParams; + export type ValueListUpdateParams = Stripe_.Radar.ValueListUpdateParams; + export type ValueListListParams = Stripe_.Radar.ValueListListParams; + export type ValueListDeleteParams = Stripe_.Radar.ValueListDeleteParams; + export type ValueListResource = Stripe_.Radar.ValueListResource; + export type ValueListItem = Stripe_.Radar.ValueListItem; + export type DeletedValueListItem = Stripe_.Radar.DeletedValueListItem; + export type ValueListItemCreateParams = Stripe_.Radar.ValueListItemCreateParams; + export type ValueListItemRetrieveParams = Stripe_.Radar.ValueListItemRetrieveParams; + export type ValueListItemListParams = Stripe_.Radar.ValueListItemListParams; + export type ValueListItemDeleteParams = Stripe_.Radar.ValueListItemDeleteParams; + export type ValueListItemSerializeBatchCreateParams = Stripe_.Radar.ValueListItemSerializeBatchCreateParams; + export type ValueListItemResource = Stripe_.Radar.ValueListItemResource; export namespace AccountEvaluationCreateParams { - export type Type = Stripe.Radar.AccountEvaluationCreateParams.Type; - export type LoginInitiated = Stripe.Radar.AccountEvaluationCreateParams.LoginInitiated; - export type RegistrationInitiated = Stripe.Radar.AccountEvaluationCreateParams.RegistrationInitiated; + export type Type = Stripe_.Radar.AccountEvaluationCreateParams.Type; + export type LoginInitiated = Stripe_.Radar.AccountEvaluationCreateParams.LoginInitiated; + export type RegistrationInitiated = Stripe_.Radar.AccountEvaluationCreateParams.RegistrationInitiated; + export namespace LoginInitiated { + export type ClientDeviceMetadataDetails = Stripe_.Radar.AccountEvaluationCreateParams.LoginInitiated.ClientDeviceMetadataDetails; + export namespace ClientDeviceMetadataDetails { + export type Data = Stripe_.Radar.AccountEvaluationCreateParams.LoginInitiated.ClientDeviceMetadataDetails.Data; + } + } + export namespace RegistrationInitiated { + export type ClientDeviceMetadataDetails = Stripe_.Radar.AccountEvaluationCreateParams.RegistrationInitiated.ClientDeviceMetadataDetails; + export type CustomerData = Stripe_.Radar.AccountEvaluationCreateParams.RegistrationInitiated.CustomerData; + export namespace ClientDeviceMetadataDetails { + export type Data = Stripe_.Radar.AccountEvaluationCreateParams.RegistrationInitiated.ClientDeviceMetadataDetails.Data; + } + } } - export namespace AccountEvaluationUpdateParams { - export type Type = Stripe.Radar.AccountEvaluationUpdateParams.Type; - export type LoginFailed = Stripe.Radar.AccountEvaluationUpdateParams.LoginFailed; - export type LoginSucceeded = Stripe.Radar.AccountEvaluationUpdateParams.LoginSucceeded; - export type RegistrationFailed = Stripe.Radar.AccountEvaluationUpdateParams.RegistrationFailed; - export type RegistrationSucceeded = Stripe.Radar.AccountEvaluationUpdateParams.RegistrationSucceeded; + export namespace AccountEvaluation { + export type Event = Stripe_.Radar.AccountEvaluation.Event; + export type Signals = Stripe_.Radar.AccountEvaluation.Signals; + export namespace Event { + export type LoginFailed = Stripe_.Radar.AccountEvaluation.Event.LoginFailed; + export type LoginSucceeded = Stripe_.Radar.AccountEvaluation.Event.LoginSucceeded; + export type RegistrationFailed = Stripe_.Radar.AccountEvaluation.Event.RegistrationFailed; + export type RegistrationSucceeded = Stripe_.Radar.AccountEvaluation.Event.RegistrationSucceeded; + } + export namespace Signals { + export type AccountSharing = Stripe_.Radar.AccountEvaluation.Signals.AccountSharing; + export type MultiAccounting = Stripe_.Radar.AccountEvaluation.Signals.MultiAccounting; + } } export namespace CustomerEvaluationCreateParams { - export type EvaluationContext = Stripe.Radar.CustomerEvaluationCreateParams.EvaluationContext; - export type EventType = Stripe.Radar.CustomerEvaluationCreateParams.EventType; + export type EvaluationContext = Stripe_.Radar.CustomerEvaluationCreateParams.EvaluationContext; + export type EventType = Stripe_.Radar.CustomerEvaluationCreateParams.EventType; + export namespace EvaluationContext { + export type ClientDetails = Stripe_.Radar.CustomerEvaluationCreateParams.EvaluationContext.ClientDetails; + export type CustomerDetails = Stripe_.Radar.CustomerEvaluationCreateParams.EvaluationContext.CustomerDetails; + export type Type = Stripe_.Radar.CustomerEvaluationCreateParams.EvaluationContext.Type; + export namespace ClientDetails { + export type Data = Stripe_.Radar.CustomerEvaluationCreateParams.EvaluationContext.ClientDetails.Data; + } + export namespace CustomerDetails { + export type CustomerData = Stripe_.Radar.CustomerEvaluationCreateParams.EvaluationContext.CustomerDetails.CustomerData; + } + } } - export namespace CustomerEvaluationUpdateParams { - export type Status = Stripe.Radar.CustomerEvaluationUpdateParams.Status; + export namespace CustomerEvaluation { + export type EventType = Stripe_.Radar.CustomerEvaluation.EventType; + export type Event = Stripe_.Radar.CustomerEvaluation.Event; + export type Signals = Stripe_.Radar.CustomerEvaluation.Signals; + export namespace Event { + export type LoginFailed = Stripe_.Radar.CustomerEvaluation.Event.LoginFailed; + export type RegistrationFailed = Stripe_.Radar.CustomerEvaluation.Event.RegistrationFailed; + } + export namespace Signals { + export type AccountSharing = Stripe_.Radar.CustomerEvaluation.Signals.AccountSharing; + export type MultiAccounting = Stripe_.Radar.CustomerEvaluation.Signals.MultiAccounting; + export namespace AccountSharing { + export type RiskLevel = Stripe_.Radar.CustomerEvaluation.Signals.AccountSharing.RiskLevel; + } + export namespace MultiAccounting { + export type RiskLevel = Stripe_.Radar.CustomerEvaluation.Signals.MultiAccounting.RiskLevel; + } + } } export namespace IssuingAuthorizationEvaluationCreateParams { - export type AuthorizationDetails = Stripe.Radar.IssuingAuthorizationEvaluationCreateParams.AuthorizationDetails; - export type CardDetails = Stripe.Radar.IssuingAuthorizationEvaluationCreateParams.CardDetails; - export type MerchantDetails = Stripe.Radar.IssuingAuthorizationEvaluationCreateParams.MerchantDetails; - export type CardholderDetails = Stripe.Radar.IssuingAuthorizationEvaluationCreateParams.CardholderDetails; - export type NetworkDetails = Stripe.Radar.IssuingAuthorizationEvaluationCreateParams.NetworkDetails; - export type TokenDetails = Stripe.Radar.IssuingAuthorizationEvaluationCreateParams.TokenDetails; - export type VerificationDetails = Stripe.Radar.IssuingAuthorizationEvaluationCreateParams.VerificationDetails; + export type AuthorizationDetails = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.AuthorizationDetails; + export type CardDetails = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.CardDetails; + export type MerchantDetails = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.MerchantDetails; + export type CardholderDetails = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.CardholderDetails; + export type NetworkDetails = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.NetworkDetails; + export type TokenDetails = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.TokenDetails; + export type VerificationDetails = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.VerificationDetails; + export namespace AuthorizationDetails { + export type AuthorizationMethod = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.AuthorizationDetails.AuthorizationMethod; + export type EntryMode = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.AuthorizationDetails.EntryMode; + export type PointOfSaleCondition = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.AuthorizationDetails.PointOfSaleCondition; + } + export namespace CardDetails { + export type CardType = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.CardDetails.CardType; + } + export namespace NetworkDetails { + export type RoutedNetwork = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.NetworkDetails.RoutedNetwork; + } + export namespace TokenDetails { + export type Wallet = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.TokenDetails.Wallet; + } + export namespace VerificationDetails { + export type ThreeDSecureResult = Stripe_.Radar.IssuingAuthorizationEvaluationCreateParams.VerificationDetails.ThreeDSecureResult; + } + } + export namespace IssuingAuthorizationEvaluation { + export type AuthorizationDetails = Stripe_.Radar.IssuingAuthorizationEvaluation.AuthorizationDetails; + export type CardDetails = Stripe_.Radar.IssuingAuthorizationEvaluation.CardDetails; + export type CardholderDetails = Stripe_.Radar.IssuingAuthorizationEvaluation.CardholderDetails; + export type MerchantDetails = Stripe_.Radar.IssuingAuthorizationEvaluation.MerchantDetails; + export type NetworkDetails = Stripe_.Radar.IssuingAuthorizationEvaluation.NetworkDetails; + export type Signals = Stripe_.Radar.IssuingAuthorizationEvaluation.Signals; + export type TokenDetails = Stripe_.Radar.IssuingAuthorizationEvaluation.TokenDetails; + export type VerificationDetails = Stripe_.Radar.IssuingAuthorizationEvaluation.VerificationDetails; + export namespace AuthorizationDetails { + export type AuthorizationMethod = Stripe_.Radar.IssuingAuthorizationEvaluation.AuthorizationDetails.AuthorizationMethod; + export type EntryMode = Stripe_.Radar.IssuingAuthorizationEvaluation.AuthorizationDetails.EntryMode; + export type PointOfSaleCondition = Stripe_.Radar.IssuingAuthorizationEvaluation.AuthorizationDetails.PointOfSaleCondition; + } + export namespace CardDetails { + export type CardType = Stripe_.Radar.IssuingAuthorizationEvaluation.CardDetails.CardType; + } + export namespace NetworkDetails { + export type RoutedNetwork = Stripe_.Radar.IssuingAuthorizationEvaluation.NetworkDetails.RoutedNetwork; + } + export namespace Signals { + export type FraudRisk = Stripe_.Radar.IssuingAuthorizationEvaluation.Signals.FraudRisk; + export namespace FraudRisk { + export type Data = Stripe_.Radar.IssuingAuthorizationEvaluation.Signals.FraudRisk.Data; + export type Status = Stripe_.Radar.IssuingAuthorizationEvaluation.Signals.FraudRisk.Status; + export namespace Data { + export type Level = Stripe_.Radar.IssuingAuthorizationEvaluation.Signals.FraudRisk.Data.Level; + } + } + } + export namespace TokenDetails { + export type Wallet = Stripe_.Radar.IssuingAuthorizationEvaluation.TokenDetails.Wallet; + } + export namespace VerificationDetails { + export type ThreeDSecureResult = Stripe_.Radar.IssuingAuthorizationEvaluation.VerificationDetails.ThreeDSecureResult; + } } export namespace PaymentEvaluationCreateParams { export type CustomerDetails = Stripe_.Radar.PaymentEvaluationCreateParams.CustomerDetails; export type PaymentDetails = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails; export type ClientDeviceMetadataDetails = Stripe_.Radar.PaymentEvaluationCreateParams.ClientDeviceMetadataDetails; + export namespace ClientDeviceMetadataDetails { + export type Data = Stripe_.Radar.PaymentEvaluationCreateParams.ClientDeviceMetadataDetails.Data; + export namespace Data { + export type PastedField = Stripe_.Radar.PaymentEvaluationCreateParams.ClientDeviceMetadataDetails.Data.PastedField; + } + } export namespace PaymentDetails { export type MoneyMovementDetails = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails; export type PaymentMethodDetails = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails; @@ -4787,6 +17923,12 @@ declare namespace StripeConstructor { export type PaymentDetails = Stripe_.Radar.PaymentEvaluation.PaymentDetails; export type RecommendedAction = Stripe_.Radar.PaymentEvaluation.RecommendedAction; export type Signals = Stripe_.Radar.PaymentEvaluation.Signals; + export namespace ClientDeviceMetadataDetails { + export type Data = Stripe_.Radar.PaymentEvaluation.ClientDeviceMetadataDetails.Data; + export namespace Data { + export type PastedField = Stripe_.Radar.PaymentEvaluation.ClientDeviceMetadataDetails.Data.PastedField; + } + } export namespace Event { export type DisputeOpened = Stripe_.Radar.PaymentEvaluation.Event.DisputeOpened; export type EarlyFraudWarningReceived = Stripe_.Radar.PaymentEvaluation.Event.EarlyFraudWarningReceived; @@ -4888,33 +18030,254 @@ declare namespace StripeConstructor { } } export namespace Reserve { - export type Hold = Stripe.Reserve.Hold; - export type HoldRetrieveParams = Stripe.Reserve.HoldRetrieveParams; - export type HoldListParams = Stripe.Reserve.HoldListParams; - export type HoldResource = Stripe.Reserve.HoldResource; - export type Plan = Stripe.Reserve.Plan; - export type PlanRetrieveParams = Stripe.Reserve.PlanRetrieveParams; - export type PlanResource = Stripe.Reserve.PlanResource; - export type Release = Stripe.Reserve.Release; - export type ReleaseRetrieveParams = Stripe.Reserve.ReleaseRetrieveParams; - export type ReleaseListParams = Stripe.Reserve.ReleaseListParams; - export type ReleaseResource = Stripe.Reserve.ReleaseResource; - export namespace HoldListParams { - export type Reason = Stripe.Reserve.HoldListParams.Reason; + export type Hold = Stripe_.Reserve.Hold; + export type HoldRetrieveParams = Stripe_.Reserve.HoldRetrieveParams; + export type HoldListParams = Stripe_.Reserve.HoldListParams; + export type HoldResource = Stripe_.Reserve.HoldResource; + export type Plan = Stripe_.Reserve.Plan; + export type PlanRetrieveParams = Stripe_.Reserve.PlanRetrieveParams; + export type PlanResource = Stripe_.Reserve.PlanResource; + export type Release = Stripe_.Reserve.Release; + export type ReleaseRetrieveParams = Stripe_.Reserve.ReleaseRetrieveParams; + export type ReleaseListParams = Stripe_.Reserve.ReleaseListParams; + export type ReleaseResource = Stripe_.Reserve.ReleaseResource; + export namespace Hold { + export type CreatedBy = Stripe_.Reserve.Hold.CreatedBy; + export type Reason = Stripe_.Reserve.Hold.Reason; + export type ReleaseSchedule = Stripe_.Reserve.Hold.ReleaseSchedule; + export type SourceType = Stripe_.Reserve.Hold.SourceType; + } + export namespace Plan { + export type CreatedBy = Stripe_.Reserve.Plan.CreatedBy; + export type FixedRelease = Stripe_.Reserve.Plan.FixedRelease; + export type RollingRelease = Stripe_.Reserve.Plan.RollingRelease; + export type Status = Stripe_.Reserve.Plan.Status; + export type Type = Stripe_.Reserve.Plan.Type; + } + export namespace Release { + export type CreatedBy = Stripe_.Reserve.Release.CreatedBy; + export type Reason = Stripe_.Reserve.Release.Reason; + export type SourceTransaction = Stripe_.Reserve.Release.SourceTransaction; + export namespace SourceTransaction { + export type Type = Stripe_.Reserve.Release.SourceTransaction.Type; + } } } export namespace SharedPayment { - export type GrantedToken = Stripe.SharedPayment.GrantedToken; - export type GrantedTokenRetrieveParams = Stripe.SharedPayment.GrantedTokenRetrieveParams; - export type GrantedTokenResource = Stripe.SharedPayment.GrantedTokenResource; - export type IssuedToken = Stripe.SharedPayment.IssuedToken; - export type IssuedTokenCreateParams = Stripe.SharedPayment.IssuedTokenCreateParams; - export type IssuedTokenRetrieveParams = Stripe.SharedPayment.IssuedTokenRetrieveParams; - export type IssuedTokenRevokeParams = Stripe.SharedPayment.IssuedTokenRevokeParams; - export type IssuedTokenResource = Stripe.SharedPayment.IssuedTokenResource; + export type GrantedToken = Stripe_.SharedPayment.GrantedToken; + export type GrantedTokenRetrieveParams = Stripe_.SharedPayment.GrantedTokenRetrieveParams; + export type GrantedTokenResource = Stripe_.SharedPayment.GrantedTokenResource; + export type IssuedToken = Stripe_.SharedPayment.IssuedToken; + export type IssuedTokenCreateParams = Stripe_.SharedPayment.IssuedTokenCreateParams; + export type IssuedTokenRetrieveParams = Stripe_.SharedPayment.IssuedTokenRetrieveParams; + export type IssuedTokenRevokeParams = Stripe_.SharedPayment.IssuedTokenRevokeParams; + export type IssuedTokenResource = Stripe_.SharedPayment.IssuedTokenResource; + export namespace GrantedToken { + export type AgentDetails = Stripe_.SharedPayment.GrantedToken.AgentDetails; + export type DeactivatedReason = Stripe_.SharedPayment.GrantedToken.DeactivatedReason; + export type PaymentMethodDetails = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails; + export type RiskDetails = Stripe_.SharedPayment.GrantedToken.RiskDetails; + export type UsageDetails = Stripe_.SharedPayment.GrantedToken.UsageDetails; + export type UsageLimits = Stripe_.SharedPayment.GrantedToken.UsageLimits; + export namespace PaymentMethodDetails { + export type AcssDebit = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.AcssDebit; + export type Affirm = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Affirm; + export type AfterpayClearpay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.AfterpayClearpay; + export type Alipay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Alipay; + export type Alma = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Alma; + export type AmazonPay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.AmazonPay; + export type AuBecsDebit = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.AuBecsDebit; + export type BacsDebit = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.BacsDebit; + export type Bancontact = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Bancontact; + export type Billie = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Billie; + export type BillingDetails = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.BillingDetails; + export type Bizum = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Bizum; + export type Blik = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Blik; + export type Boleto = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Boleto; + export type Card = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card; + export type CardPresent = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.CardPresent; + export type Cashapp = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Cashapp; + export type Crypto = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Crypto; + export type CustomerBalance = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.CustomerBalance; + export type Eps = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Eps; + export type Fpx = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Fpx; + export type GiftCard = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.GiftCard; + export type Giropay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Giropay; + export type Gopay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Gopay; + export type Grabpay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Grabpay; + export type IdBankTransfer = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.IdBankTransfer; + export type Ideal = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Ideal; + export type InteracPresent = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.InteracPresent; + export type KakaoPay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.KakaoPay; + export type Klarna = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Klarna; + export type Konbini = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Konbini; + export type KrCard = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.KrCard; + export type Link = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Link; + export type MbWay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.MbWay; + export type Mobilepay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Mobilepay; + export type Multibanco = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Multibanco; + export type NaverPay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.NaverPay; + export type NzBankAccount = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.NzBankAccount; + export type Oxxo = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Oxxo; + export type P24 = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.P24; + export type PayByBank = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.PayByBank; + export type Payco = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Payco; + export type Paynow = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Paynow; + export type Paypal = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Paypal; + export type Paypay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Paypay; + export type Payto = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Payto; + export type Pix = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Pix; + export type Promptpay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Promptpay; + export type Qris = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Qris; + export type Rechnung = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Rechnung; + export type RevolutPay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.RevolutPay; + export type SamsungPay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.SamsungPay; + export type Satispay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Satispay; + export type Scalapay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Scalapay; + export type SepaDebit = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.SepaDebit; + export type Shopeepay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Shopeepay; + export type Sofort = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Sofort; + export type StripeBalance = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.StripeBalance; + export type Sunbit = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Sunbit; + export type Swish = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Swish; + export type Tamara = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Tamara; + export type Twint = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Twint; + export type Type = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Type; + export type Upi = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Upi; + export type UsBankAccount = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount; + export type WechatPay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.WechatPay; + export type Zip = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Zip; + export namespace Card { + export type Checks = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Checks; + export type Networks = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Networks; + export type Wallet = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet; + export namespace Wallet { + export type AmexExpressCheckout = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet.AmexExpressCheckout; + export type ApplePay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet.ApplePay; + export type GooglePay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet.GooglePay; + export type Link = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet.Link; + export type Masterpass = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet.Masterpass; + export type SamsungPay = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet.SamsungPay; + export type Type = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet.Type; + export type VisaCheckout = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Card.Wallet.VisaCheckout; + } + } + export namespace CardPresent { + export type Networks = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.CardPresent.Networks; + export type Offline = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.CardPresent.Offline; + export type ReadMethod = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.CardPresent.ReadMethod; + export type Wallet = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.CardPresent.Wallet; + export namespace Wallet { + export type Type = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.CardPresent.Wallet.Type; + } + } + export namespace Eps { + export type Bank = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Eps.Bank; + } + export namespace Fpx { + export type AccountHolderType = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Fpx.AccountHolderType; + export type Bank = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Fpx.Bank; + } + export namespace GiftCard { + export type Brand = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.GiftCard.Brand; + } + export namespace IdBankTransfer { + export type Bank = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.IdBankTransfer.Bank; + } + export namespace Ideal { + export type Bank = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Ideal.Bank; + export type Bic = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Ideal.Bic; + } + export namespace InteracPresent { + export type Networks = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.InteracPresent.Networks; + export type ReadMethod = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.InteracPresent.ReadMethod; + } + export namespace Klarna { + export type Dob = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Klarna.Dob; + } + export namespace KrCard { + export type Brand = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.KrCard.Brand; + } + export namespace NaverPay { + export type Funding = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.NaverPay.Funding; + } + export namespace P24 { + export type Bank = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.P24.Bank; + } + export namespace Rechnung { + export type Dob = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Rechnung.Dob; + } + export namespace SepaDebit { + export type GeneratedFrom = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.SepaDebit.GeneratedFrom; + } + export namespace UsBankAccount { + export type AccountHolderType = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount.AccountHolderType; + export type AccountType = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount.AccountType; + export type Networks = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount.Networks; + export type StatusDetails = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount.StatusDetails; + export namespace Networks { + export type Supported = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount.Networks.Supported; + } + export namespace StatusDetails { + export type Blocked = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount.StatusDetails.Blocked; + export namespace Blocked { + export type NetworkCode = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount.StatusDetails.Blocked.NetworkCode; + export type Reason = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.UsBankAccount.StatusDetails.Blocked.Reason; + } + } + } + } + export namespace RiskDetails { + export type Insights = Stripe_.SharedPayment.GrantedToken.RiskDetails.Insights; + export namespace Insights { + export type Bot = Stripe_.SharedPayment.GrantedToken.RiskDetails.Insights.Bot; + export type CardIssuerDecline = Stripe_.SharedPayment.GrantedToken.RiskDetails.Insights.CardIssuerDecline; + export type CardTesting = Stripe_.SharedPayment.GrantedToken.RiskDetails.Insights.CardTesting; + export type FraudulentDispute = Stripe_.SharedPayment.GrantedToken.RiskDetails.Insights.FraudulentDispute; + export type StolenCard = Stripe_.SharedPayment.GrantedToken.RiskDetails.Insights.StolenCard; + } + } + export namespace UsageDetails { + export type AmountCaptured = Stripe_.SharedPayment.GrantedToken.UsageDetails.AmountCaptured; + } + export namespace UsageLimits { + export type RecurringInterval = Stripe_.SharedPayment.GrantedToken.UsageLimits.RecurringInterval; + } + } export namespace IssuedTokenCreateParams { - export type SellerDetails = Stripe.SharedPayment.IssuedTokenCreateParams.SellerDetails; - export type UsageLimits = Stripe.SharedPayment.IssuedTokenCreateParams.UsageLimits; + export type SellerDetails = Stripe_.SharedPayment.IssuedTokenCreateParams.SellerDetails; + export type UsageLimits = Stripe_.SharedPayment.IssuedTokenCreateParams.UsageLimits; + export namespace UsageLimits { + export type RecurringInterval = Stripe_.SharedPayment.IssuedTokenCreateParams.UsageLimits.RecurringInterval; + } + } + export namespace IssuedToken { + export type DeactivatedReason = Stripe_.SharedPayment.IssuedToken.DeactivatedReason; + export type NextAction = Stripe_.SharedPayment.IssuedToken.NextAction; + export type RiskDetails = Stripe_.SharedPayment.IssuedToken.RiskDetails; + export type SellerDetails = Stripe_.SharedPayment.IssuedToken.SellerDetails; + export type Status = Stripe_.SharedPayment.IssuedToken.Status; + export type UsageDetails = Stripe_.SharedPayment.IssuedToken.UsageDetails; + export type UsageLimits = Stripe_.SharedPayment.IssuedToken.UsageLimits; + export namespace NextAction { + export type UseStripeSdk = Stripe_.SharedPayment.IssuedToken.NextAction.UseStripeSdk; + } + export namespace RiskDetails { + export type Insights = Stripe_.SharedPayment.IssuedToken.RiskDetails.Insights; + export namespace Insights { + export type Bot = Stripe_.SharedPayment.IssuedToken.RiskDetails.Insights.Bot; + export type CardIssuerDecline = Stripe_.SharedPayment.IssuedToken.RiskDetails.Insights.CardIssuerDecline; + export type CardTesting = Stripe_.SharedPayment.IssuedToken.RiskDetails.Insights.CardTesting; + export type FraudulentDispute = Stripe_.SharedPayment.IssuedToken.RiskDetails.Insights.FraudulentDispute; + export type StolenCard = Stripe_.SharedPayment.IssuedToken.RiskDetails.Insights.StolenCard; + } + } + export namespace UsageDetails { + export type AmountCaptured = Stripe_.SharedPayment.IssuedToken.UsageDetails.AmountCaptured; + } + export namespace UsageLimits { + export type RecurringInterval = Stripe_.SharedPayment.IssuedToken.UsageLimits.RecurringInterval; + } } } export namespace Sigma { @@ -4927,46 +18290,56 @@ declare namespace StripeConstructor { } } export namespace Tax { - export type Association = Stripe.Tax.Association; - export type AssociationFindParams = Stripe.Tax.AssociationFindParams; - export type AssociationResource = Stripe.Tax.AssociationResource; - export type Calculation = Stripe.Tax.Calculation; - export type CalculationCreateParams = Stripe.Tax.CalculationCreateParams; - export type CalculationRetrieveParams = Stripe.Tax.CalculationRetrieveParams; - export type CalculationListLineItemsParams = Stripe.Tax.CalculationListLineItemsParams; - export type CalculationResource = Stripe.Tax.CalculationResource; - export type Form = Stripe.Tax.Form; - export type FormRetrieveParams = Stripe.Tax.FormRetrieveParams; - export type FormListParams = Stripe.Tax.FormListParams; - export type FormPdfParams = Stripe.Tax.FormPdfParams; - export type FormResource = Stripe.Tax.FormResource; - export type Location = Stripe.Tax.Location; - export type LocationCreateParams = Stripe.Tax.LocationCreateParams; - export type LocationRetrieveParams = Stripe.Tax.LocationRetrieveParams; - export type LocationListParams = Stripe.Tax.LocationListParams; - export type LocationResource = Stripe.Tax.LocationResource; - export type Registration = Stripe.Tax.Registration; - export type RegistrationCreateParams = Stripe.Tax.RegistrationCreateParams; - export type RegistrationRetrieveParams = Stripe.Tax.RegistrationRetrieveParams; - export type RegistrationUpdateParams = Stripe.Tax.RegistrationUpdateParams; - export type RegistrationListParams = Stripe.Tax.RegistrationListParams; - export type RegistrationSerializeBatchCreateParams = Stripe.Tax.RegistrationSerializeBatchCreateParams; - export type RegistrationSerializeBatchUpdateParams = Stripe.Tax.RegistrationSerializeBatchUpdateParams; - export type RegistrationResource = Stripe.Tax.RegistrationResource; - export type Settings = Stripe.Tax.Settings; - export type SettingsRetrieveParams = Stripe.Tax.SettingsRetrieveParams; - export type SettingsUpdateParams = Stripe.Tax.SettingsUpdateParams; - export type SettingsSerializeBatchUpdateParams = Stripe.Tax.SettingsSerializeBatchUpdateParams; - export type SettingResource = Stripe.Tax.SettingResource; - export type Transaction = Stripe.Tax.Transaction; - export type TransactionRetrieveParams = Stripe.Tax.TransactionRetrieveParams; - export type TransactionCreateFromCalculationParams = Stripe.Tax.TransactionCreateFromCalculationParams; - export type TransactionCreateReversalParams = Stripe.Tax.TransactionCreateReversalParams; - export type TransactionListLineItemsParams = Stripe.Tax.TransactionListLineItemsParams; - export type TransactionSerializeBatchCreateReversalParams = Stripe.Tax.TransactionSerializeBatchCreateReversalParams; - export type TransactionResource = Stripe.Tax.TransactionResource; - export type CalculationLineItem = Stripe.Tax.CalculationLineItem; - export type TransactionLineItem = Stripe.Tax.TransactionLineItem; + export type Association = Stripe_.Tax.Association; + export type AssociationFindParams = Stripe_.Tax.AssociationFindParams; + export type AssociationResource = Stripe_.Tax.AssociationResource; + export type Calculation = Stripe_.Tax.Calculation; + export type CalculationCreateParams = Stripe_.Tax.CalculationCreateParams; + export type CalculationRetrieveParams = Stripe_.Tax.CalculationRetrieveParams; + export type CalculationListLineItemsParams = Stripe_.Tax.CalculationListLineItemsParams; + export type CalculationResource = Stripe_.Tax.CalculationResource; + export type Form = Stripe_.Tax.Form; + export type FormRetrieveParams = Stripe_.Tax.FormRetrieveParams; + export type FormListParams = Stripe_.Tax.FormListParams; + export type FormPdfParams = Stripe_.Tax.FormPdfParams; + export type FormResource = Stripe_.Tax.FormResource; + export type Location = Stripe_.Tax.Location; + export type LocationCreateParams = Stripe_.Tax.LocationCreateParams; + export type LocationRetrieveParams = Stripe_.Tax.LocationRetrieveParams; + export type LocationListParams = Stripe_.Tax.LocationListParams; + export type LocationResource = Stripe_.Tax.LocationResource; + export type Registration = Stripe_.Tax.Registration; + export type RegistrationCreateParams = Stripe_.Tax.RegistrationCreateParams; + export type RegistrationRetrieveParams = Stripe_.Tax.RegistrationRetrieveParams; + export type RegistrationUpdateParams = Stripe_.Tax.RegistrationUpdateParams; + export type RegistrationListParams = Stripe_.Tax.RegistrationListParams; + export type RegistrationSerializeBatchCreateParams = Stripe_.Tax.RegistrationSerializeBatchCreateParams; + export type RegistrationSerializeBatchUpdateParams = Stripe_.Tax.RegistrationSerializeBatchUpdateParams; + export type RegistrationResource = Stripe_.Tax.RegistrationResource; + export type Settings = Stripe_.Tax.Settings; + export type SettingsRetrieveParams = Stripe_.Tax.SettingsRetrieveParams; + export type SettingsUpdateParams = Stripe_.Tax.SettingsUpdateParams; + export type SettingsSerializeBatchUpdateParams = Stripe_.Tax.SettingsSerializeBatchUpdateParams; + export type SettingResource = Stripe_.Tax.SettingResource; + export type Transaction = Stripe_.Tax.Transaction; + export type TransactionRetrieveParams = Stripe_.Tax.TransactionRetrieveParams; + export type TransactionCreateFromCalculationParams = Stripe_.Tax.TransactionCreateFromCalculationParams; + export type TransactionCreateReversalParams = Stripe_.Tax.TransactionCreateReversalParams; + export type TransactionListLineItemsParams = Stripe_.Tax.TransactionListLineItemsParams; + export type TransactionSerializeBatchCreateReversalParams = Stripe_.Tax.TransactionSerializeBatchCreateReversalParams; + export type TransactionResource = Stripe_.Tax.TransactionResource; + export type CalculationLineItem = Stripe_.Tax.CalculationLineItem; + export type TransactionLineItem = Stripe_.Tax.TransactionLineItem; + export namespace Association { + export type TaxTransactionAttempt = Stripe_.Tax.Association.TaxTransactionAttempt; + export namespace TaxTransactionAttempt { + export type Committed = Stripe_.Tax.Association.TaxTransactionAttempt.Committed; + export type Errored = Stripe_.Tax.Association.TaxTransactionAttempt.Errored; + export namespace Errored { + export type Reason = Stripe_.Tax.Association.TaxTransactionAttempt.Errored.Reason; + } + } + } export namespace CalculationCreateParams { export type LineItem = Stripe_.Tax.CalculationCreateParams.LineItem; export type CustomerDetails = Stripe_.Tax.CalculationCreateParams.CustomerDetails; @@ -4982,7 +18355,11 @@ declare namespace StripeConstructor { } } export namespace LineItem { + export type PerformanceLocationDetails = Stripe_.Tax.CalculationCreateParams.LineItem.PerformanceLocationDetails; export type TaxBehavior = Stripe_.Tax.CalculationCreateParams.LineItem.TaxBehavior; + export namespace PerformanceLocationDetails { + export type Address = Stripe_.Tax.CalculationCreateParams.LineItem.PerformanceLocationDetails.Address; + } } export namespace ShipFromDetails { export type Address = Stripe_.Tax.CalculationCreateParams.ShipFromDetails.Address; @@ -5030,12 +18407,31 @@ declare namespace StripeConstructor { } } } - export namespace FormListParams { - export type Payee = Stripe.Tax.FormListParams.Payee; - export type Type = Stripe.Tax.FormListParams.Type; + export namespace Form { + export type AuSerr = Stripe_.Tax.Form.AuSerr; + export type CaMrdp = Stripe_.Tax.Form.CaMrdp; + export type EuDac7 = Stripe_.Tax.Form.EuDac7; + export type FilingStatus = Stripe_.Tax.Form.FilingStatus; + export type GbMrdp = Stripe_.Tax.Form.GbMrdp; + export type NzMrdp = Stripe_.Tax.Form.NzMrdp; + export type Payee = Stripe_.Tax.Form.Payee; + export type Type = Stripe_.Tax.Form.Type; + export type Us1099K = Stripe_.Tax.Form.Us1099K; + export type Us1099Misc = Stripe_.Tax.Form.Us1099Misc; + export type Us1099Nec = Stripe_.Tax.Form.Us1099Nec; + export namespace FilingStatus { + export type Jurisdiction = Stripe_.Tax.Form.FilingStatus.Jurisdiction; + export type Value = Stripe_.Tax.Form.FilingStatus.Value; + export namespace Jurisdiction { + export type Level = Stripe_.Tax.Form.FilingStatus.Jurisdiction.Level; + } + } + export namespace Payee { + export type Type = Stripe_.Tax.Form.Payee.Type; + } } export namespace LocationCreateParams { - export type Address = Stripe.Tax.LocationCreateParams.Address; + export type Address = Stripe_.Tax.LocationCreateParams.Address; } export namespace RegistrationCreateParams { export type CountryOptions = Stripe_.Tax.RegistrationCreateParams.CountryOptions; @@ -5497,9 +18893,18 @@ declare namespace StripeConstructor { } } export namespace Us { + export type AdmissionsTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.AdmissionsTax; + export type AttendanceTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.AttendanceTax; + export type EntertainmentTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.EntertainmentTax; + export type GrossReceiptsTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.GrossReceiptsTax; + export type HomeRuleTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.HomeRuleTax; + export type HospitalityTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.HospitalityTax; export type LocalAmusementTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.LocalAmusementTax; export type LocalLeaseTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.LocalLeaseTax; + export type LuxuryTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.LuxuryTax; + export type ResortTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.ResortTax; export type StateSalesTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax; + export type TourismTax = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.TourismTax; export type Type = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.Type; export namespace StateSalesTax { export type Election = Stripe_.Tax.RegistrationCreateParams.CountryOptions.Us.StateSalesTax.Election; @@ -5875,9 +19280,18 @@ declare namespace StripeConstructor { } } export namespace Us { + export type AdmissionsTax = Stripe_.Tax.Registration.CountryOptions.Us.AdmissionsTax; + export type AttendanceTax = Stripe_.Tax.Registration.CountryOptions.Us.AttendanceTax; + export type EntertainmentTax = Stripe_.Tax.Registration.CountryOptions.Us.EntertainmentTax; + export type GrossReceiptsTax = Stripe_.Tax.Registration.CountryOptions.Us.GrossReceiptsTax; + export type HomeRuleTax = Stripe_.Tax.Registration.CountryOptions.Us.HomeRuleTax; + export type HospitalityTax = Stripe_.Tax.Registration.CountryOptions.Us.HospitalityTax; export type LocalAmusementTax = Stripe_.Tax.Registration.CountryOptions.Us.LocalAmusementTax; export type LocalLeaseTax = Stripe_.Tax.Registration.CountryOptions.Us.LocalLeaseTax; + export type LuxuryTax = Stripe_.Tax.Registration.CountryOptions.Us.LuxuryTax; + export type ResortTax = Stripe_.Tax.Registration.CountryOptions.Us.ResortTax; export type StateSalesTax = Stripe_.Tax.Registration.CountryOptions.Us.StateSalesTax; + export type TourismTax = Stripe_.Tax.Registration.CountryOptions.Us.TourismTax; export type Type = Stripe_.Tax.Registration.CountryOptions.Us.Type; export namespace StateSalesTax { export type Election = Stripe_.Tax.Registration.CountryOptions.Us.StateSalesTax.Election; @@ -5934,6 +19348,7 @@ declare namespace StripeConstructor { } } export namespace CalculationLineItem { + export type PerformanceLocationDetails = Stripe_.Tax.CalculationLineItem.PerformanceLocationDetails; export type TaxBehavior = Stripe_.Tax.CalculationLineItem.TaxBehavior; export type TaxBreakdown = Stripe_.Tax.CalculationLineItem.TaxBreakdown; export namespace TaxBreakdown { @@ -5950,86 +19365,145 @@ declare namespace StripeConstructor { } } export namespace TransactionLineItem { + export type PerformanceLocationDetails = Stripe_.Tax.TransactionLineItem.PerformanceLocationDetails; export type Reversal = Stripe_.Tax.TransactionLineItem.Reversal; export type TaxBehavior = Stripe_.Tax.TransactionLineItem.TaxBehavior; export type Type = Stripe_.Tax.TransactionLineItem.Type; } } export namespace Terminal { - export type Configuration = Stripe.Terminal.Configuration; - export type DeletedConfiguration = Stripe.Terminal.DeletedConfiguration; - export type ConfigurationCreateParams = Stripe.Terminal.ConfigurationCreateParams; - export type ConfigurationRetrieveParams = Stripe.Terminal.ConfigurationRetrieveParams; - export type ConfigurationUpdateParams = Stripe.Terminal.ConfigurationUpdateParams; - export type ConfigurationListParams = Stripe.Terminal.ConfigurationListParams; - export type ConfigurationDeleteParams = Stripe.Terminal.ConfigurationDeleteParams; - export type ConfigurationResource = Stripe.Terminal.ConfigurationResource; - export type ConnectionToken = Stripe.Terminal.ConnectionToken; - export type ConnectionTokenCreateParams = Stripe.Terminal.ConnectionTokenCreateParams; - export type ConnectionTokenResource = Stripe.Terminal.ConnectionTokenResource; - export type Location = Stripe.Terminal.Location; - export type DeletedLocation = Stripe.Terminal.DeletedLocation; - export type LocationCreateParams = Stripe.Terminal.LocationCreateParams; - export type LocationRetrieveParams = Stripe.Terminal.LocationRetrieveParams; - export type LocationUpdateParams = Stripe.Terminal.LocationUpdateParams; - export type LocationListParams = Stripe.Terminal.LocationListParams; - export type LocationDeleteParams = Stripe.Terminal.LocationDeleteParams; - export type LocationResource = Stripe.Terminal.LocationResource; - export type OnboardingLink = Stripe.Terminal.OnboardingLink; - export type OnboardingLinkCreateParams = Stripe.Terminal.OnboardingLinkCreateParams; - export type OnboardingLinkResource = Stripe.Terminal.OnboardingLinkResource; - export type Reader = Stripe.Terminal.Reader; - export type DeletedReader = Stripe.Terminal.DeletedReader; - export type ReaderCreateParams = Stripe.Terminal.ReaderCreateParams; - export type ReaderRetrieveParams = Stripe.Terminal.ReaderRetrieveParams; - export type ReaderUpdateParams = Stripe.Terminal.ReaderUpdateParams; - export type ReaderListParams = Stripe.Terminal.ReaderListParams; - export type ReaderDeleteParams = Stripe.Terminal.ReaderDeleteParams; - export type ReaderCancelActionParams = Stripe.Terminal.ReaderCancelActionParams; - export type ReaderCollectInputsParams = Stripe.Terminal.ReaderCollectInputsParams; - export type ReaderCollectPaymentMethodParams = Stripe.Terminal.ReaderCollectPaymentMethodParams; - export type ReaderConfirmPaymentIntentParams = Stripe.Terminal.ReaderConfirmPaymentIntentParams; - export type ReaderProcessPaymentIntentParams = Stripe.Terminal.ReaderProcessPaymentIntentParams; - export type ReaderProcessSetupIntentParams = Stripe.Terminal.ReaderProcessSetupIntentParams; - export type ReaderRefundPaymentParams = Stripe.Terminal.ReaderRefundPaymentParams; - export type ReaderSetReaderDisplayParams = Stripe.Terminal.ReaderSetReaderDisplayParams; - export type ReaderResource = Stripe.Terminal.ReaderResource; - export type ReaderCollectedData = Stripe.Terminal.ReaderCollectedData; - export type ReaderCollectedDataRetrieveParams = Stripe.Terminal.ReaderCollectedDataRetrieveParams; - export type ReaderCollectedDatumResource = Stripe.Terminal.ReaderCollectedDatumResource; + export type Configuration = Stripe_.Terminal.Configuration; + export type DeletedConfiguration = Stripe_.Terminal.DeletedConfiguration; + export type ConfigurationCreateParams = Stripe_.Terminal.ConfigurationCreateParams; + export type ConfigurationRetrieveParams = Stripe_.Terminal.ConfigurationRetrieveParams; + export type ConfigurationUpdateParams = Stripe_.Terminal.ConfigurationUpdateParams; + export type ConfigurationListParams = Stripe_.Terminal.ConfigurationListParams; + export type ConfigurationDeleteParams = Stripe_.Terminal.ConfigurationDeleteParams; + export type ConfigurationResource = Stripe_.Terminal.ConfigurationResource; + export type ConnectionToken = Stripe_.Terminal.ConnectionToken; + export type ConnectionTokenCreateParams = Stripe_.Terminal.ConnectionTokenCreateParams; + export type ConnectionTokenResource = Stripe_.Terminal.ConnectionTokenResource; + export type Location = Stripe_.Terminal.Location; + export type DeletedLocation = Stripe_.Terminal.DeletedLocation; + export type LocationCreateParams = Stripe_.Terminal.LocationCreateParams; + export type LocationRetrieveParams = Stripe_.Terminal.LocationRetrieveParams; + export type LocationUpdateParams = Stripe_.Terminal.LocationUpdateParams; + export type LocationListParams = Stripe_.Terminal.LocationListParams; + export type LocationDeleteParams = Stripe_.Terminal.LocationDeleteParams; + export type LocationResource = Stripe_.Terminal.LocationResource; + export type OnboardingLink = Stripe_.Terminal.OnboardingLink; + export type OnboardingLinkCreateParams = Stripe_.Terminal.OnboardingLinkCreateParams; + export type OnboardingLinkResource = Stripe_.Terminal.OnboardingLinkResource; + export type Reader = Stripe_.Terminal.Reader; + export type DeletedReader = Stripe_.Terminal.DeletedReader; + export type ReaderCreateParams = Stripe_.Terminal.ReaderCreateParams; + export type ReaderRetrieveParams = Stripe_.Terminal.ReaderRetrieveParams; + export type ReaderUpdateParams = Stripe_.Terminal.ReaderUpdateParams; + export type ReaderListParams = Stripe_.Terminal.ReaderListParams; + export type ReaderDeleteParams = Stripe_.Terminal.ReaderDeleteParams; + export type ReaderCancelActionParams = Stripe_.Terminal.ReaderCancelActionParams; + export type ReaderCollectInputsParams = Stripe_.Terminal.ReaderCollectInputsParams; + export type ReaderCollectPaymentMethodParams = Stripe_.Terminal.ReaderCollectPaymentMethodParams; + export type ReaderConfirmPaymentIntentParams = Stripe_.Terminal.ReaderConfirmPaymentIntentParams; + export type ReaderProcessPaymentIntentParams = Stripe_.Terminal.ReaderProcessPaymentIntentParams; + export type ReaderProcessSetupIntentParams = Stripe_.Terminal.ReaderProcessSetupIntentParams; + export type ReaderRefundPaymentParams = Stripe_.Terminal.ReaderRefundPaymentParams; + export type ReaderSetReaderDisplayParams = Stripe_.Terminal.ReaderSetReaderDisplayParams; + export type ReaderResource = Stripe_.Terminal.ReaderResource; + export type ReaderCollectedData = Stripe_.Terminal.ReaderCollectedData; + export type ReaderCollectedDataRetrieveParams = Stripe_.Terminal.ReaderCollectedDataRetrieveParams; + export type ReaderCollectedDatumResource = Stripe_.Terminal.ReaderCollectedDatumResource; export namespace ConfigurationCreateParams { - export type BbposWisepad3 = Stripe.Terminal.ConfigurationCreateParams.BbposWisepad3; - export type BbposWiseposE = Stripe.Terminal.ConfigurationCreateParams.BbposWiseposE; - export type Cellular = Stripe.Terminal.ConfigurationCreateParams.Cellular; - export type Offline = Stripe.Terminal.ConfigurationCreateParams.Offline; - export type ReaderSecurity = Stripe.Terminal.ConfigurationCreateParams.ReaderSecurity; - export type RebootWindow = Stripe.Terminal.ConfigurationCreateParams.RebootWindow; - export type StripeS700 = Stripe.Terminal.ConfigurationCreateParams.StripeS700; - export type StripeS710 = Stripe.Terminal.ConfigurationCreateParams.StripeS710; - export type Tipping = Stripe.Terminal.ConfigurationCreateParams.Tipping; - export type VerifoneM425 = Stripe.Terminal.ConfigurationCreateParams.VerifoneM425; - export type VerifoneP400 = Stripe.Terminal.ConfigurationCreateParams.VerifoneP400; - export type VerifoneP630 = Stripe.Terminal.ConfigurationCreateParams.VerifoneP630; - export type VerifoneUx700 = Stripe.Terminal.ConfigurationCreateParams.VerifoneUx700; - export type VerifoneV660p = Stripe.Terminal.ConfigurationCreateParams.VerifoneV660p; - export type Wifi = Stripe.Terminal.ConfigurationCreateParams.Wifi; - } - export namespace ConfigurationUpdateParams { - export type BbposWisepad3 = Stripe.Terminal.ConfigurationUpdateParams.BbposWisepad3; - export type BbposWiseposE = Stripe.Terminal.ConfigurationUpdateParams.BbposWiseposE; - export type Cellular = Stripe.Terminal.ConfigurationUpdateParams.Cellular; - export type Offline = Stripe.Terminal.ConfigurationUpdateParams.Offline; - export type ReaderSecurity = Stripe.Terminal.ConfigurationUpdateParams.ReaderSecurity; - export type RebootWindow = Stripe.Terminal.ConfigurationUpdateParams.RebootWindow; - export type StripeS700 = Stripe.Terminal.ConfigurationUpdateParams.StripeS700; - export type StripeS710 = Stripe.Terminal.ConfigurationUpdateParams.StripeS710; - export type Tipping = Stripe.Terminal.ConfigurationUpdateParams.Tipping; - export type VerifoneM425 = Stripe.Terminal.ConfigurationUpdateParams.VerifoneM425; - export type VerifoneP400 = Stripe.Terminal.ConfigurationUpdateParams.VerifoneP400; - export type VerifoneP630 = Stripe.Terminal.ConfigurationUpdateParams.VerifoneP630; - export type VerifoneUx700 = Stripe.Terminal.ConfigurationUpdateParams.VerifoneUx700; - export type VerifoneV660p = Stripe.Terminal.ConfigurationUpdateParams.VerifoneV660p; - export type Wifi = Stripe.Terminal.ConfigurationUpdateParams.Wifi; + export type BbposWisepad3 = Stripe_.Terminal.ConfigurationCreateParams.BbposWisepad3; + export type BbposWiseposE = Stripe_.Terminal.ConfigurationCreateParams.BbposWiseposE; + export type Cellular = Stripe_.Terminal.ConfigurationCreateParams.Cellular; + export type Offline = Stripe_.Terminal.ConfigurationCreateParams.Offline; + export type ReaderSecurity = Stripe_.Terminal.ConfigurationCreateParams.ReaderSecurity; + export type RebootWindow = Stripe_.Terminal.ConfigurationCreateParams.RebootWindow; + export type StripeS700 = Stripe_.Terminal.ConfigurationCreateParams.StripeS700; + export type StripeS710 = Stripe_.Terminal.ConfigurationCreateParams.StripeS710; + export type Tipping = Stripe_.Terminal.ConfigurationCreateParams.Tipping; + export type VerifoneM425 = Stripe_.Terminal.ConfigurationCreateParams.VerifoneM425; + export type VerifoneP400 = Stripe_.Terminal.ConfigurationCreateParams.VerifoneP400; + export type VerifoneP630 = Stripe_.Terminal.ConfigurationCreateParams.VerifoneP630; + export type VerifoneUx700 = Stripe_.Terminal.ConfigurationCreateParams.VerifoneUx700; + export type VerifoneV660p = Stripe_.Terminal.ConfigurationCreateParams.VerifoneV660p; + export type Wifi = Stripe_.Terminal.ConfigurationCreateParams.Wifi; + export namespace Tipping { + export type Aed = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Aed; + export type Aud = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Aud; + export type Cad = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Cad; + export type Chf = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Chf; + export type Czk = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Czk; + export type Dkk = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Dkk; + export type Eur = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Eur; + export type Gbp = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Gbp; + export type Gip = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Gip; + export type Hkd = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Hkd; + export type Huf = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Huf; + export type Jpy = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Jpy; + export type Mxn = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Mxn; + export type Myr = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Myr; + export type Nok = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Nok; + export type Nzd = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Nzd; + export type Pln = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Pln; + export type Ron = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Ron; + export type Sek = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Sek; + export type Sgd = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Sgd; + export type Usd = Stripe_.Terminal.ConfigurationCreateParams.Tipping.Usd; + } + export namespace Wifi { + export type EnterpriseEapPeap = Stripe_.Terminal.ConfigurationCreateParams.Wifi.EnterpriseEapPeap; + export type EnterpriseEapTls = Stripe_.Terminal.ConfigurationCreateParams.Wifi.EnterpriseEapTls; + export type PersonalPsk = Stripe_.Terminal.ConfigurationCreateParams.Wifi.PersonalPsk; + export type Type = Stripe_.Terminal.ConfigurationCreateParams.Wifi.Type; + } + } + export namespace Configuration { + export type BbposWisepad3 = Stripe_.Terminal.Configuration.BbposWisepad3; + export type BbposWiseposE = Stripe_.Terminal.Configuration.BbposWiseposE; + export type Cellular = Stripe_.Terminal.Configuration.Cellular; + export type Offline = Stripe_.Terminal.Configuration.Offline; + export type ReaderSecurity = Stripe_.Terminal.Configuration.ReaderSecurity; + export type RebootWindow = Stripe_.Terminal.Configuration.RebootWindow; + export type StripeS700 = Stripe_.Terminal.Configuration.StripeS700; + export type StripeS710 = Stripe_.Terminal.Configuration.StripeS710; + export type Tipping = Stripe_.Terminal.Configuration.Tipping; + export type VerifoneM425 = Stripe_.Terminal.Configuration.VerifoneM425; + export type VerifoneP400 = Stripe_.Terminal.Configuration.VerifoneP400; + export type VerifoneP630 = Stripe_.Terminal.Configuration.VerifoneP630; + export type VerifoneUx700 = Stripe_.Terminal.Configuration.VerifoneUx700; + export type VerifoneV660p = Stripe_.Terminal.Configuration.VerifoneV660p; + export type Wifi = Stripe_.Terminal.Configuration.Wifi; + export namespace Tipping { + export type Aed = Stripe_.Terminal.Configuration.Tipping.Aed; + export type Aud = Stripe_.Terminal.Configuration.Tipping.Aud; + export type Cad = Stripe_.Terminal.Configuration.Tipping.Cad; + export type Chf = Stripe_.Terminal.Configuration.Tipping.Chf; + export type Czk = Stripe_.Terminal.Configuration.Tipping.Czk; + export type Dkk = Stripe_.Terminal.Configuration.Tipping.Dkk; + export type Eur = Stripe_.Terminal.Configuration.Tipping.Eur; + export type Gbp = Stripe_.Terminal.Configuration.Tipping.Gbp; + export type Gip = Stripe_.Terminal.Configuration.Tipping.Gip; + export type Hkd = Stripe_.Terminal.Configuration.Tipping.Hkd; + export type Huf = Stripe_.Terminal.Configuration.Tipping.Huf; + export type Jpy = Stripe_.Terminal.Configuration.Tipping.Jpy; + export type Mxn = Stripe_.Terminal.Configuration.Tipping.Mxn; + export type Myr = Stripe_.Terminal.Configuration.Tipping.Myr; + export type Nok = Stripe_.Terminal.Configuration.Tipping.Nok; + export type Nzd = Stripe_.Terminal.Configuration.Tipping.Nzd; + export type Pln = Stripe_.Terminal.Configuration.Tipping.Pln; + export type Ron = Stripe_.Terminal.Configuration.Tipping.Ron; + export type Sek = Stripe_.Terminal.Configuration.Tipping.Sek; + export type Sgd = Stripe_.Terminal.Configuration.Tipping.Sgd; + export type Usd = Stripe_.Terminal.Configuration.Tipping.Usd; + } + export namespace Wifi { + export type EnterpriseEapPeap = Stripe_.Terminal.Configuration.Wifi.EnterpriseEapPeap; + export type EnterpriseEapTls = Stripe_.Terminal.Configuration.Wifi.EnterpriseEapTls; + export type PersonalPsk = Stripe_.Terminal.Configuration.Wifi.PersonalPsk; + export type Type = Stripe_.Terminal.Configuration.Wifi.Type; + } } export namespace LocationCreateParams { export type Address = Stripe_.Terminal.LocationCreateParams.Address; @@ -6130,6 +19604,9 @@ declare namespace StripeConstructor { } } } + export namespace ReaderCollectedData { + export type Magstripe = Stripe_.Terminal.ReaderCollectedData.Magstripe; + } } export namespace TestHelpers { export type TestClock = Stripe_.TestHelpers.TestClock; @@ -6227,6 +19704,9 @@ declare namespace StripeConstructor { export type OutboundTransfers = Stripe_.Treasury.FinancialAccountCreateParams.Features.OutboundTransfers; export namespace FinancialAddresses { export type Aba = Stripe_.Treasury.FinancialAccountCreateParams.Features.FinancialAddresses.Aba; + export namespace Aba { + export type Bank = Stripe_.Treasury.FinancialAccountCreateParams.Features.FinancialAddresses.Aba.Bank; + } } export namespace InboundTransfers { export type Ach = Stripe_.Treasury.FinancialAccountCreateParams.Features.InboundTransfers.Ach; @@ -6335,12 +19815,22 @@ declare namespace StripeConstructor { } } export namespace OutboundTransferCreateParams { - export type DestinationPaymentMethodData = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodData; - export type DestinationPaymentMethodOptions = Stripe.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions; - export type NetworkDetails = Stripe.Treasury.OutboundTransferCreateParams.NetworkDetails; + export type DestinationPaymentMethodData = Stripe_.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodData; + export type DestinationPaymentMethodOptions = Stripe_.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions; + export type NetworkDetails = Stripe_.Treasury.OutboundTransferCreateParams.NetworkDetails; + export namespace DestinationPaymentMethodOptions { + export type UsBankAccount = Stripe_.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount; + export namespace UsBankAccount { + export type Network = Stripe_.Treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount.Network; + } + } + export namespace NetworkDetails { + export type Ach = Stripe_.Treasury.OutboundTransferCreateParams.NetworkDetails.Ach; + } } export namespace OutboundTransfer { export type DestinationPaymentMethodDetails = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails; + export type NetworkDetails = Stripe_.Treasury.OutboundTransfer.NetworkDetails; export type ReturnedDetails = Stripe_.Treasury.OutboundTransfer.ReturnedDetails; export type Status = Stripe_.Treasury.OutboundTransfer.Status; export type StatusTransitions = Stripe_.Treasury.OutboundTransfer.StatusTransitions; @@ -6356,6 +19846,9 @@ declare namespace StripeConstructor { export type Network = Stripe_.Treasury.OutboundTransfer.DestinationPaymentMethodDetails.UsBankAccount.Network; } } + export namespace NetworkDetails { + export type Ach = Stripe_.Treasury.OutboundTransfer.NetworkDetails.Ach; + } export namespace ReturnedDetails { export type Code = Stripe_.Treasury.OutboundTransfer.ReturnedDetails.Code; } @@ -6370,6 +19863,7 @@ declare namespace StripeConstructor { export type InitiatingPaymentMethodDetails = Stripe_.Treasury.ReceivedCredit.InitiatingPaymentMethodDetails; export type LinkedFlows = Stripe_.Treasury.ReceivedCredit.LinkedFlows; export type Network = Stripe_.Treasury.ReceivedCredit.Network; + export type NetworkDetails = Stripe_.Treasury.ReceivedCredit.NetworkDetails; export type ReversalDetails = Stripe_.Treasury.ReceivedCredit.ReversalDetails; export type Status = Stripe_.Treasury.ReceivedCredit.Status; export namespace InitiatingPaymentMethodDetails { @@ -6384,6 +19878,9 @@ declare namespace StripeConstructor { export type Type = Stripe_.Treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.Type; } } + export namespace NetworkDetails { + export type Ach = Stripe_.Treasury.ReceivedCredit.NetworkDetails.Ach; + } export namespace ReversalDetails { export type RestrictedReason = Stripe_.Treasury.ReceivedCredit.ReversalDetails.RestrictedReason; } @@ -6393,6 +19890,7 @@ declare namespace StripeConstructor { export type InitiatingPaymentMethodDetails = Stripe_.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails; export type LinkedFlows = Stripe_.Treasury.ReceivedDebit.LinkedFlows; export type Network = Stripe_.Treasury.ReceivedDebit.Network; + export type NetworkDetails = Stripe_.Treasury.ReceivedDebit.NetworkDetails; export type ReversalDetails = Stripe_.Treasury.ReceivedDebit.ReversalDetails; export type Status = Stripe_.Treasury.ReceivedDebit.Status; export namespace InitiatingPaymentMethodDetails { @@ -6401,6 +19899,9 @@ declare namespace StripeConstructor { export type Type = Stripe_.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.Type; export type UsBankAccount = Stripe_.Treasury.ReceivedDebit.InitiatingPaymentMethodDetails.UsBankAccount; } + export namespace NetworkDetails { + export type Ach = Stripe_.Treasury.ReceivedDebit.NetworkDetails.Ach; + } export namespace ReversalDetails { export type RestrictedReason = Stripe_.Treasury.ReceivedDebit.ReversalDetails.RestrictedReason; } @@ -6453,6 +19954,7 @@ declare namespace StripeConstructor { export namespace FinancialAddresses { export type Aba = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba; export namespace Aba { + export type Bank = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.Bank; export type Status = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.Status; export type StatusDetail = Stripe_.Treasury.FinancialAccountFeatures.FinancialAddresses.Aba.StatusDetail; export namespace StatusDetail { @@ -6530,217 +20032,911 @@ declare namespace StripeConstructor { } } export namespace V2 { - export type DeletedObject = Stripe.V2.DeletedObject; - export type FinancialAddressCreditSimulation = Stripe.V2.FinancialAddressCreditSimulation; - export type FinancialAddressGeneratedMicrodeposits = Stripe.V2.FinancialAddressGeneratedMicrodeposits; + export type DeletedObject = Stripe_.V2.DeletedObject; + export type FinancialAddressCreditSimulation = Stripe_.V2.FinancialAddressCreditSimulation; + export type FinancialAddressGeneratedMicrodeposits = Stripe_.V2.FinancialAddressGeneratedMicrodeposits; export namespace Billing { - export type BillSetting = Stripe.V2.Billing.BillSetting; - export type BillSettingCreateParams = Stripe.V2.Billing.BillSettingCreateParams; - export type BillSettingRetrieveParams = Stripe.V2.Billing.BillSettingRetrieveParams; - export type BillSettingUpdateParams = Stripe.V2.Billing.BillSettingUpdateParams; - export type BillSettingListParams = Stripe.V2.Billing.BillSettingListParams; - export type BillSettingResource = Stripe.V2.Billing.BillSettingResource; - export type Cadence = Stripe.V2.Billing.Cadence; - export type CadenceCreateParams = Stripe.V2.Billing.CadenceCreateParams; - export type CadenceRetrieveParams = Stripe.V2.Billing.CadenceRetrieveParams; - export type CadenceUpdateParams = Stripe.V2.Billing.CadenceUpdateParams; - export type CadenceListParams = Stripe.V2.Billing.CadenceListParams; - export type CadenceCancelParams = Stripe.V2.Billing.CadenceCancelParams; - export type CadenceResource = Stripe.V2.Billing.CadenceResource; - export type CollectionSetting = Stripe.V2.Billing.CollectionSetting; - export type CollectionSettingCreateParams = Stripe.V2.Billing.CollectionSettingCreateParams; - export type CollectionSettingRetrieveParams = Stripe.V2.Billing.CollectionSettingRetrieveParams; - export type CollectionSettingUpdateParams = Stripe.V2.Billing.CollectionSettingUpdateParams; - export type CollectionSettingListParams = Stripe.V2.Billing.CollectionSettingListParams; - export type CollectionSettingResource = Stripe.V2.Billing.CollectionSettingResource; - export type Contract = Stripe.V2.Billing.Contract; - export type ContractCreateParams = Stripe.V2.Billing.ContractCreateParams; - export type ContractRetrieveParams = Stripe.V2.Billing.ContractRetrieveParams; - export type ContractUpdateParams = Stripe.V2.Billing.ContractUpdateParams; - export type ContractListParams = Stripe.V2.Billing.ContractListParams; - export type ContractActivateParams = Stripe.V2.Billing.ContractActivateParams; - export type ContractCancelParams = Stripe.V2.Billing.ContractCancelParams; - export type ContractResource = Stripe.V2.Billing.ContractResource; - export type CustomPricingUnit = Stripe.V2.Billing.CustomPricingUnit; - export type CustomPricingUnitCreateParams = Stripe.V2.Billing.CustomPricingUnitCreateParams; - export type CustomPricingUnitRetrieveParams = Stripe.V2.Billing.CustomPricingUnitRetrieveParams; - export type CustomPricingUnitUpdateParams = Stripe.V2.Billing.CustomPricingUnitUpdateParams; - export type CustomPricingUnitListParams = Stripe.V2.Billing.CustomPricingUnitListParams; - export type CustomPricingUnitResource = Stripe.V2.Billing.CustomPricingUnitResource; - export type Intent = Stripe.V2.Billing.Intent; - export type IntentCreateParams = Stripe.V2.Billing.IntentCreateParams; - export type IntentRetrieveParams = Stripe.V2.Billing.IntentRetrieveParams; - export type IntentListParams = Stripe.V2.Billing.IntentListParams; - export type IntentCancelParams = Stripe.V2.Billing.IntentCancelParams; - export type IntentCommitParams = Stripe.V2.Billing.IntentCommitParams; - export type IntentReleaseReservationParams = Stripe.V2.Billing.IntentReleaseReservationParams; - export type IntentReserveParams = Stripe.V2.Billing.IntentReserveParams; - export type IntentResource = Stripe.V2.Billing.IntentResource; - export type LicenseFee = Stripe.V2.Billing.LicenseFee; - export type LicenseFeeCreateParams = Stripe.V2.Billing.LicenseFeeCreateParams; - export type LicenseFeeRetrieveParams = Stripe.V2.Billing.LicenseFeeRetrieveParams; - export type LicenseFeeUpdateParams = Stripe.V2.Billing.LicenseFeeUpdateParams; - export type LicenseFeeListParams = Stripe.V2.Billing.LicenseFeeListParams; - export type LicenseFeeResource = Stripe.V2.Billing.LicenseFeeResource; - export type LicensedItem = Stripe.V2.Billing.LicensedItem; - export type LicensedItemCreateParams = Stripe.V2.Billing.LicensedItemCreateParams; - export type LicensedItemRetrieveParams = Stripe.V2.Billing.LicensedItemRetrieveParams; - export type LicensedItemUpdateParams = Stripe.V2.Billing.LicensedItemUpdateParams; - export type LicensedItemListParams = Stripe.V2.Billing.LicensedItemListParams; - export type LicensedItemResource = Stripe.V2.Billing.LicensedItemResource; - export type MeterEvent = Stripe.V2.Billing.MeterEvent; - export type MeterEventCreateParams = Stripe.V2.Billing.MeterEventCreateParams; - export type MeterEventResource = Stripe.V2.Billing.MeterEventResource; - export type MeterEventAdjustment = Stripe.V2.Billing.MeterEventAdjustment; - export type MeterEventAdjustmentCreateParams = Stripe.V2.Billing.MeterEventAdjustmentCreateParams; - export type MeterEventAdjustmentResource = Stripe.V2.Billing.MeterEventAdjustmentResource; - export type MeterEventSession = Stripe.V2.Billing.MeterEventSession; - export type MeterEventSessionCreateParams = Stripe.V2.Billing.MeterEventSessionCreateParams; - export type MeterEventSessionResource = Stripe.V2.Billing.MeterEventSessionResource; - export type MeteredItem = Stripe.V2.Billing.MeteredItem; - export type MeteredItemCreateParams = Stripe.V2.Billing.MeteredItemCreateParams; - export type MeteredItemRetrieveParams = Stripe.V2.Billing.MeteredItemRetrieveParams; - export type MeteredItemUpdateParams = Stripe.V2.Billing.MeteredItemUpdateParams; - export type MeteredItemListParams = Stripe.V2.Billing.MeteredItemListParams; - export type MeteredItemResource = Stripe.V2.Billing.MeteredItemResource; - export type OneTimeItem = Stripe.V2.Billing.OneTimeItem; - export type OneTimeItemCreateParams = Stripe.V2.Billing.OneTimeItemCreateParams; - export type OneTimeItemRetrieveParams = Stripe.V2.Billing.OneTimeItemRetrieveParams; - export type OneTimeItemUpdateParams = Stripe.V2.Billing.OneTimeItemUpdateParams; - export type OneTimeItemListParams = Stripe.V2.Billing.OneTimeItemListParams; - export type OneTimeItemResource = Stripe.V2.Billing.OneTimeItemResource; - export type PricingPlan = Stripe.V2.Billing.PricingPlan; - export type PricingPlanCreateParams = Stripe.V2.Billing.PricingPlanCreateParams; - export type PricingPlanRetrieveParams = Stripe.V2.Billing.PricingPlanRetrieveParams; - export type PricingPlanUpdateParams = Stripe.V2.Billing.PricingPlanUpdateParams; - export type PricingPlanListParams = Stripe.V2.Billing.PricingPlanListParams; - export type PricingPlanResource = Stripe.V2.Billing.PricingPlanResource; - export type PricingPlanSubscription = Stripe.V2.Billing.PricingPlanSubscription; - export type PricingPlanSubscriptionRetrieveParams = Stripe.V2.Billing.PricingPlanSubscriptionRetrieveParams; - export type PricingPlanSubscriptionUpdateParams = Stripe.V2.Billing.PricingPlanSubscriptionUpdateParams; - export type PricingPlanSubscriptionListParams = Stripe.V2.Billing.PricingPlanSubscriptionListParams; - export type PricingPlanSubscriptionRemoveDiscountsParams = Stripe.V2.Billing.PricingPlanSubscriptionRemoveDiscountsParams; - export type PricingPlanSubscriptionResource = Stripe.V2.Billing.PricingPlanSubscriptionResource; - export type Profile = Stripe.V2.Billing.Profile; - export type ProfileCreateParams = Stripe.V2.Billing.ProfileCreateParams; - export type ProfileRetrieveParams = Stripe.V2.Billing.ProfileRetrieveParams; - export type ProfileUpdateParams = Stripe.V2.Billing.ProfileUpdateParams; - export type ProfileListParams = Stripe.V2.Billing.ProfileListParams; - export type ProfileResource = Stripe.V2.Billing.ProfileResource; - export type RateCard = Stripe.V2.Billing.RateCard; - export type RateCardCreateParams = Stripe.V2.Billing.RateCardCreateParams; - export type RateCardRetrieveParams = Stripe.V2.Billing.RateCardRetrieveParams; - export type RateCardUpdateParams = Stripe.V2.Billing.RateCardUpdateParams; - export type RateCardListParams = Stripe.V2.Billing.RateCardListParams; - export type RateCardModifyRatesParams = Stripe.V2.Billing.RateCardModifyRatesParams; - export type RateCardResource = Stripe.V2.Billing.RateCardResource; - export type RateCardSubscription = Stripe.V2.Billing.RateCardSubscription; - export type RateCardSubscriptionCreateParams = Stripe.V2.Billing.RateCardSubscriptionCreateParams; - export type RateCardSubscriptionRetrieveParams = Stripe.V2.Billing.RateCardSubscriptionRetrieveParams; - export type RateCardSubscriptionUpdateParams = Stripe.V2.Billing.RateCardSubscriptionUpdateParams; - export type RateCardSubscriptionListParams = Stripe.V2.Billing.RateCardSubscriptionListParams; - export type RateCardSubscriptionCancelParams = Stripe.V2.Billing.RateCardSubscriptionCancelParams; - export type RateCardSubscriptionResource = Stripe.V2.Billing.RateCardSubscriptionResource; - export type ServiceAction = Stripe.V2.Billing.ServiceAction; - export type ServiceActionCreateParams = Stripe.V2.Billing.ServiceActionCreateParams; - export type ServiceActionRetrieveParams = Stripe.V2.Billing.ServiceActionRetrieveParams; - export type ServiceActionUpdateParams = Stripe.V2.Billing.ServiceActionUpdateParams; - export type ServiceActionResource = Stripe.V2.Billing.ServiceActionResource; - export type ContractLicensePricingQuantityChange = Stripe.V2.Billing.ContractLicensePricingQuantityChange; - export type BillSettingVersion = Stripe.V2.Billing.BillSettingVersion; - export type CadenceSpendModifier = Stripe.V2.Billing.CadenceSpendModifier; - export type CollectionSettingVersion = Stripe.V2.Billing.CollectionSettingVersion; - export type IntentAction = Stripe.V2.Billing.IntentAction; - export type LicenseFeeVersion = Stripe.V2.Billing.LicenseFeeVersion; - export type PricingPlanComponent = Stripe.V2.Billing.PricingPlanComponent; - export type PricingPlanVersion = Stripe.V2.Billing.PricingPlanVersion; - export type RateCardCustomPricingUnitOverageRate = Stripe.V2.Billing.RateCardCustomPricingUnitOverageRate; - export type RateCardRate = Stripe.V2.Billing.RateCardRate; - export type RateCardVersion = Stripe.V2.Billing.RateCardVersion; + export type BillSetting = Stripe_.V2.Billing.BillSetting; + export type BillSettingCreateParams = Stripe_.V2.Billing.BillSettingCreateParams; + export type BillSettingRetrieveParams = Stripe_.V2.Billing.BillSettingRetrieveParams; + export type BillSettingUpdateParams = Stripe_.V2.Billing.BillSettingUpdateParams; + export type BillSettingListParams = Stripe_.V2.Billing.BillSettingListParams; + export type BillSettingResource = Stripe_.V2.Billing.BillSettingResource; + export type Cadence = Stripe_.V2.Billing.Cadence; + export type CadenceCreateParams = Stripe_.V2.Billing.CadenceCreateParams; + export type CadenceRetrieveParams = Stripe_.V2.Billing.CadenceRetrieveParams; + export type CadenceUpdateParams = Stripe_.V2.Billing.CadenceUpdateParams; + export type CadenceListParams = Stripe_.V2.Billing.CadenceListParams; + export type CadenceCancelParams = Stripe_.V2.Billing.CadenceCancelParams; + export type CadenceResource = Stripe_.V2.Billing.CadenceResource; + export type CollectionSetting = Stripe_.V2.Billing.CollectionSetting; + export type CollectionSettingCreateParams = Stripe_.V2.Billing.CollectionSettingCreateParams; + export type CollectionSettingRetrieveParams = Stripe_.V2.Billing.CollectionSettingRetrieveParams; + export type CollectionSettingUpdateParams = Stripe_.V2.Billing.CollectionSettingUpdateParams; + export type CollectionSettingListParams = Stripe_.V2.Billing.CollectionSettingListParams; + export type CollectionSettingResource = Stripe_.V2.Billing.CollectionSettingResource; + export type Contract = Stripe_.V2.Billing.Contract; + export type ContractCreateParams = Stripe_.V2.Billing.ContractCreateParams; + export type ContractRetrieveParams = Stripe_.V2.Billing.ContractRetrieveParams; + export type ContractUpdateParams = Stripe_.V2.Billing.ContractUpdateParams; + export type ContractListParams = Stripe_.V2.Billing.ContractListParams; + export type ContractActivateParams = Stripe_.V2.Billing.ContractActivateParams; + export type ContractCancelParams = Stripe_.V2.Billing.ContractCancelParams; + export type ContractResource = Stripe_.V2.Billing.ContractResource; + export type CustomPricingUnit = Stripe_.V2.Billing.CustomPricingUnit; + export type CustomPricingUnitCreateParams = Stripe_.V2.Billing.CustomPricingUnitCreateParams; + export type CustomPricingUnitRetrieveParams = Stripe_.V2.Billing.CustomPricingUnitRetrieveParams; + export type CustomPricingUnitUpdateParams = Stripe_.V2.Billing.CustomPricingUnitUpdateParams; + export type CustomPricingUnitListParams = Stripe_.V2.Billing.CustomPricingUnitListParams; + export type CustomPricingUnitResource = Stripe_.V2.Billing.CustomPricingUnitResource; + export type Intent = Stripe_.V2.Billing.Intent; + export type IntentCreateParams = Stripe_.V2.Billing.IntentCreateParams; + export type IntentRetrieveParams = Stripe_.V2.Billing.IntentRetrieveParams; + export type IntentListParams = Stripe_.V2.Billing.IntentListParams; + export type IntentCancelParams = Stripe_.V2.Billing.IntentCancelParams; + export type IntentCommitParams = Stripe_.V2.Billing.IntentCommitParams; + export type IntentReleaseReservationParams = Stripe_.V2.Billing.IntentReleaseReservationParams; + export type IntentReserveParams = Stripe_.V2.Billing.IntentReserveParams; + export type IntentResource = Stripe_.V2.Billing.IntentResource; + export type LicenseFee = Stripe_.V2.Billing.LicenseFee; + export type LicenseFeeCreateParams = Stripe_.V2.Billing.LicenseFeeCreateParams; + export type LicenseFeeRetrieveParams = Stripe_.V2.Billing.LicenseFeeRetrieveParams; + export type LicenseFeeUpdateParams = Stripe_.V2.Billing.LicenseFeeUpdateParams; + export type LicenseFeeListParams = Stripe_.V2.Billing.LicenseFeeListParams; + export type LicenseFeeResource = Stripe_.V2.Billing.LicenseFeeResource; + export type LicensedItem = Stripe_.V2.Billing.LicensedItem; + export type LicensedItemCreateParams = Stripe_.V2.Billing.LicensedItemCreateParams; + export type LicensedItemRetrieveParams = Stripe_.V2.Billing.LicensedItemRetrieveParams; + export type LicensedItemUpdateParams = Stripe_.V2.Billing.LicensedItemUpdateParams; + export type LicensedItemListParams = Stripe_.V2.Billing.LicensedItemListParams; + export type LicensedItemResource = Stripe_.V2.Billing.LicensedItemResource; + export type MeterEvent = Stripe_.V2.Billing.MeterEvent; + export type MeterEventCreateParams = Stripe_.V2.Billing.MeterEventCreateParams; + export type MeterEventResource = Stripe_.V2.Billing.MeterEventResource; + export type MeterEventAdjustment = Stripe_.V2.Billing.MeterEventAdjustment; + export type MeterEventAdjustmentCreateParams = Stripe_.V2.Billing.MeterEventAdjustmentCreateParams; + export type MeterEventAdjustmentResource = Stripe_.V2.Billing.MeterEventAdjustmentResource; + export type MeterEventSession = Stripe_.V2.Billing.MeterEventSession; + export type MeterEventSessionCreateParams = Stripe_.V2.Billing.MeterEventSessionCreateParams; + export type MeterEventSessionResource = Stripe_.V2.Billing.MeterEventSessionResource; + export type MeteredItem = Stripe_.V2.Billing.MeteredItem; + export type MeteredItemCreateParams = Stripe_.V2.Billing.MeteredItemCreateParams; + export type MeteredItemRetrieveParams = Stripe_.V2.Billing.MeteredItemRetrieveParams; + export type MeteredItemUpdateParams = Stripe_.V2.Billing.MeteredItemUpdateParams; + export type MeteredItemListParams = Stripe_.V2.Billing.MeteredItemListParams; + export type MeteredItemResource = Stripe_.V2.Billing.MeteredItemResource; + export type OneTimeItem = Stripe_.V2.Billing.OneTimeItem; + export type OneTimeItemCreateParams = Stripe_.V2.Billing.OneTimeItemCreateParams; + export type OneTimeItemRetrieveParams = Stripe_.V2.Billing.OneTimeItemRetrieveParams; + export type OneTimeItemUpdateParams = Stripe_.V2.Billing.OneTimeItemUpdateParams; + export type OneTimeItemListParams = Stripe_.V2.Billing.OneTimeItemListParams; + export type OneTimeItemResource = Stripe_.V2.Billing.OneTimeItemResource; + export type PricingPlan = Stripe_.V2.Billing.PricingPlan; + export type PricingPlanCreateParams = Stripe_.V2.Billing.PricingPlanCreateParams; + export type PricingPlanRetrieveParams = Stripe_.V2.Billing.PricingPlanRetrieveParams; + export type PricingPlanUpdateParams = Stripe_.V2.Billing.PricingPlanUpdateParams; + export type PricingPlanListParams = Stripe_.V2.Billing.PricingPlanListParams; + export type PricingPlanResource = Stripe_.V2.Billing.PricingPlanResource; + export type PricingPlanSubscription = Stripe_.V2.Billing.PricingPlanSubscription; + export type PricingPlanSubscriptionRetrieveParams = Stripe_.V2.Billing.PricingPlanSubscriptionRetrieveParams; + export type PricingPlanSubscriptionUpdateParams = Stripe_.V2.Billing.PricingPlanSubscriptionUpdateParams; + export type PricingPlanSubscriptionListParams = Stripe_.V2.Billing.PricingPlanSubscriptionListParams; + export type PricingPlanSubscriptionRemoveDiscountsParams = Stripe_.V2.Billing.PricingPlanSubscriptionRemoveDiscountsParams; + export type PricingPlanSubscriptionResource = Stripe_.V2.Billing.PricingPlanSubscriptionResource; + export type Profile = Stripe_.V2.Billing.Profile; + export type ProfileCreateParams = Stripe_.V2.Billing.ProfileCreateParams; + export type ProfileRetrieveParams = Stripe_.V2.Billing.ProfileRetrieveParams; + export type ProfileUpdateParams = Stripe_.V2.Billing.ProfileUpdateParams; + export type ProfileListParams = Stripe_.V2.Billing.ProfileListParams; + export type ProfileResource = Stripe_.V2.Billing.ProfileResource; + export type RateCard = Stripe_.V2.Billing.RateCard; + export type RateCardCreateParams = Stripe_.V2.Billing.RateCardCreateParams; + export type RateCardRetrieveParams = Stripe_.V2.Billing.RateCardRetrieveParams; + export type RateCardUpdateParams = Stripe_.V2.Billing.RateCardUpdateParams; + export type RateCardListParams = Stripe_.V2.Billing.RateCardListParams; + export type RateCardModifyRatesParams = Stripe_.V2.Billing.RateCardModifyRatesParams; + export type RateCardResource = Stripe_.V2.Billing.RateCardResource; + export type RateCardSubscription = Stripe_.V2.Billing.RateCardSubscription; + export type RateCardSubscriptionCreateParams = Stripe_.V2.Billing.RateCardSubscriptionCreateParams; + export type RateCardSubscriptionRetrieveParams = Stripe_.V2.Billing.RateCardSubscriptionRetrieveParams; + export type RateCardSubscriptionUpdateParams = Stripe_.V2.Billing.RateCardSubscriptionUpdateParams; + export type RateCardSubscriptionListParams = Stripe_.V2.Billing.RateCardSubscriptionListParams; + export type RateCardSubscriptionCancelParams = Stripe_.V2.Billing.RateCardSubscriptionCancelParams; + export type RateCardSubscriptionResource = Stripe_.V2.Billing.RateCardSubscriptionResource; + export type ServiceAction = Stripe_.V2.Billing.ServiceAction; + export type ServiceActionCreateParams = Stripe_.V2.Billing.ServiceActionCreateParams; + export type ServiceActionRetrieveParams = Stripe_.V2.Billing.ServiceActionRetrieveParams; + export type ServiceActionUpdateParams = Stripe_.V2.Billing.ServiceActionUpdateParams; + export type ServiceActionResource = Stripe_.V2.Billing.ServiceActionResource; + export type ContractLicensePricingQuantityChange = Stripe_.V2.Billing.ContractLicensePricingQuantityChange; + export type BillSettingVersion = Stripe_.V2.Billing.BillSettingVersion; + export type CadenceSpendModifier = Stripe_.V2.Billing.CadenceSpendModifier; + export type CollectionSettingVersion = Stripe_.V2.Billing.CollectionSettingVersion; + export type IntentAction = Stripe_.V2.Billing.IntentAction; + export type LicenseFeeVersion = Stripe_.V2.Billing.LicenseFeeVersion; + export type PricingPlanComponent = Stripe_.V2.Billing.PricingPlanComponent; + export type PricingPlanVersion = Stripe_.V2.Billing.PricingPlanVersion; + export type RateCardCustomPricingUnitOverageRate = Stripe_.V2.Billing.RateCardCustomPricingUnitOverageRate; + export type RateCardRate = Stripe_.V2.Billing.RateCardRate; + export type RateCardVersion = Stripe_.V2.Billing.RateCardVersion; export namespace BillSettingCreateParams { - export type Calculation = Stripe.V2.Billing.BillSettingCreateParams.Calculation; - export type Invoice = Stripe.V2.Billing.BillSettingCreateParams.Invoice; + export type Calculation = Stripe_.V2.Billing.BillSettingCreateParams.Calculation; + export type Invoice = Stripe_.V2.Billing.BillSettingCreateParams.Invoice; + export namespace Calculation { + export type Tax = Stripe_.V2.Billing.BillSettingCreateParams.Calculation.Tax; + export namespace Tax { + export type Type = Stripe_.V2.Billing.BillSettingCreateParams.Calculation.Tax.Type; + } + } + export namespace Invoice { + export type TimeUntilDue = Stripe_.V2.Billing.BillSettingCreateParams.Invoice.TimeUntilDue; + export namespace TimeUntilDue { + export type Interval = Stripe_.V2.Billing.BillSettingCreateParams.Invoice.TimeUntilDue.Interval; + } + } } - export namespace BillSettingUpdateParams { - export type Calculation = Stripe.V2.Billing.BillSettingUpdateParams.Calculation; - export type Invoice = Stripe.V2.Billing.BillSettingUpdateParams.Invoice; + export namespace BillSetting { + export type Calculation = Stripe_.V2.Billing.BillSetting.Calculation; + export type Invoice = Stripe_.V2.Billing.BillSetting.Invoice; + export namespace Calculation { + export type Tax = Stripe_.V2.Billing.BillSetting.Calculation.Tax; + export namespace Tax { + export type Type = Stripe_.V2.Billing.BillSetting.Calculation.Tax.Type; + } + } + export namespace Invoice { + export type TimeUntilDue = Stripe_.V2.Billing.BillSetting.Invoice.TimeUntilDue; + export namespace TimeUntilDue { + export type Interval = Stripe_.V2.Billing.BillSetting.Invoice.TimeUntilDue.Interval; + } + } } export namespace CadenceCreateParams { - export type BillingCycle = Stripe.V2.Billing.CadenceCreateParams.BillingCycle; - export type Payer = Stripe.V2.Billing.CadenceCreateParams.Payer; - export type Include = Stripe.V2.Billing.CadenceCreateParams.Include; - export type Settings = Stripe.V2.Billing.CadenceCreateParams.Settings; - } - export namespace CadenceRetrieveParams { - export type Include = Stripe.V2.Billing.CadenceRetrieveParams.Include; - } - export namespace CadenceUpdateParams { - export type Include = Stripe.V2.Billing.CadenceUpdateParams.Include; - export type Payer = Stripe.V2.Billing.CadenceUpdateParams.Payer; - export type Settings = Stripe.V2.Billing.CadenceUpdateParams.Settings; - } - export namespace CadenceListParams { - export type Include = Stripe.V2.Billing.CadenceListParams.Include; - export type Payer = Stripe.V2.Billing.CadenceListParams.Payer; - } - export namespace CadenceCancelParams { - export type Include = Stripe.V2.Billing.CadenceCancelParams.Include; + export type BillingCycle = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle; + export type Payer = Stripe_.V2.Billing.CadenceCreateParams.Payer; + export type Include = Stripe_.V2.Billing.CadenceCreateParams.Include; + export type Settings = Stripe_.V2.Billing.CadenceCreateParams.Settings; + export namespace BillingCycle { + export type Day = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Day; + export type Month = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Month; + export type Type = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Type; + export type Week = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Week; + export type Year = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Year; + export namespace Day { + export type Time = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Day.Time; + } + export namespace Month { + export type Time = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Month.Time; + } + export namespace Week { + export type Time = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Week.Time; + } + export namespace Year { + export type Time = Stripe_.V2.Billing.CadenceCreateParams.BillingCycle.Year.Time; + } + } + export namespace Settings { + export type Bill = Stripe_.V2.Billing.CadenceCreateParams.Settings.Bill; + export type Collection = Stripe_.V2.Billing.CadenceCreateParams.Settings.Collection; + } + } + export namespace Cadence { + export type BillingCycle = Stripe_.V2.Billing.Cadence.BillingCycle; + export type InvoiceDiscountRule = Stripe_.V2.Billing.Cadence.InvoiceDiscountRule; + export type Payer = Stripe_.V2.Billing.Cadence.Payer; + export type Settings = Stripe_.V2.Billing.Cadence.Settings; + export type SettingsData = Stripe_.V2.Billing.Cadence.SettingsData; + export type Status = Stripe_.V2.Billing.Cadence.Status; + export namespace BillingCycle { + export type Day = Stripe_.V2.Billing.Cadence.BillingCycle.Day; + export type Month = Stripe_.V2.Billing.Cadence.BillingCycle.Month; + export type Type = Stripe_.V2.Billing.Cadence.BillingCycle.Type; + export type Week = Stripe_.V2.Billing.Cadence.BillingCycle.Week; + export type Year = Stripe_.V2.Billing.Cadence.BillingCycle.Year; + export namespace Day { + export type Time = Stripe_.V2.Billing.Cadence.BillingCycle.Day.Time; + } + export namespace Month { + export type Time = Stripe_.V2.Billing.Cadence.BillingCycle.Month.Time; + } + export namespace Week { + export type Time = Stripe_.V2.Billing.Cadence.BillingCycle.Week.Time; + } + export namespace Year { + export type Time = Stripe_.V2.Billing.Cadence.BillingCycle.Year.Time; + } + } + export namespace InvoiceDiscountRule { + export type PercentOff = Stripe_.V2.Billing.Cadence.InvoiceDiscountRule.PercentOff; + export namespace PercentOff { + export type MaximumApplications = Stripe_.V2.Billing.Cadence.InvoiceDiscountRule.PercentOff.MaximumApplications; + } + } + export namespace Settings { + export type Bill = Stripe_.V2.Billing.Cadence.Settings.Bill; + export type Collection = Stripe_.V2.Billing.Cadence.Settings.Collection; + } + export namespace SettingsData { + export type Bill = Stripe_.V2.Billing.Cadence.SettingsData.Bill; + export type Collection = Stripe_.V2.Billing.Cadence.SettingsData.Collection; + export namespace Bill { + export type Calculation = Stripe_.V2.Billing.Cadence.SettingsData.Bill.Calculation; + export type Invoice = Stripe_.V2.Billing.Cadence.SettingsData.Bill.Invoice; + export namespace Calculation { + export type Tax = Stripe_.V2.Billing.Cadence.SettingsData.Bill.Calculation.Tax; + export namespace Tax { + export type Type = Stripe_.V2.Billing.Cadence.SettingsData.Bill.Calculation.Tax.Type; + } + } + export namespace Invoice { + export type TimeUntilDue = Stripe_.V2.Billing.Cadence.SettingsData.Bill.Invoice.TimeUntilDue; + export namespace TimeUntilDue { + export type Interval = Stripe_.V2.Billing.Cadence.SettingsData.Bill.Invoice.TimeUntilDue.Interval; + } + } + } + export namespace Collection { + export type CollectionMethod = Stripe_.V2.Billing.Cadence.SettingsData.Collection.CollectionMethod; + export type EmailDelivery = Stripe_.V2.Billing.Cadence.SettingsData.Collection.EmailDelivery; + export type PaymentMethodOptions = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions; + export namespace EmailDelivery { + export type PaymentDue = Stripe_.V2.Billing.Cadence.SettingsData.Collection.EmailDelivery.PaymentDue; + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.Konbini; + export type SepaDebit = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.SepaDebit; + export type UsBankAccount = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type MandateOptions = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.Card.MandateOptions; + export type RequestThreeDSecure = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type Type = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.V2.Billing.Cadence.SettingsData.Collection.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } + } + } } export namespace CollectionSettingCreateParams { - export type CollectionMethod = Stripe.V2.Billing.CollectionSettingCreateParams.CollectionMethod; - export type EmailDelivery = Stripe.V2.Billing.CollectionSettingCreateParams.EmailDelivery; - export type PaymentMethodOptions = Stripe.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions; + export type CollectionMethod = Stripe_.V2.Billing.CollectionSettingCreateParams.CollectionMethod; + export type EmailDelivery = Stripe_.V2.Billing.CollectionSettingCreateParams.EmailDelivery; + export type PaymentMethodOptions = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions; + export namespace EmailDelivery { + export type PaymentDue = Stripe_.V2.Billing.CollectionSettingCreateParams.EmailDelivery.PaymentDue; + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.Konbini; + export type SepaDebit = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.SepaDebit; + export type UsBankAccount = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type MandateOptions = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.Card.MandateOptions; + export type RequestThreeDSecure = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type Type = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.V2.Billing.CollectionSettingCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } } - export namespace CollectionSettingUpdateParams { - export type CollectionMethod = Stripe.V2.Billing.CollectionSettingUpdateParams.CollectionMethod; - export type EmailDelivery = Stripe.V2.Billing.CollectionSettingUpdateParams.EmailDelivery; - export type PaymentMethodOptions = Stripe.V2.Billing.CollectionSettingUpdateParams.PaymentMethodOptions; + export namespace CollectionSetting { + export type CollectionMethod = Stripe_.V2.Billing.CollectionSetting.CollectionMethod; + export type EmailDelivery = Stripe_.V2.Billing.CollectionSetting.EmailDelivery; + export type PaymentMethodOptions = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions; + export namespace EmailDelivery { + export type PaymentDue = Stripe_.V2.Billing.CollectionSetting.EmailDelivery.PaymentDue; + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.Konbini; + export type SepaDebit = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.SepaDebit; + export type UsBankAccount = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type MandateOptions = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.Card.MandateOptions; + export type RequestThreeDSecure = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type Type = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.V2.Billing.CollectionSetting.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } } export namespace ContractCreateParams { - export type ContractLine = Stripe.V2.Billing.ContractCreateParams.ContractLine; - export type LicenseQuantityAction = Stripe.V2.Billing.ContractCreateParams.LicenseQuantityAction; - export type PricingLine = Stripe.V2.Billing.ContractCreateParams.PricingLine; - export type PricingOverride = Stripe.V2.Billing.ContractCreateParams.PricingOverride; - export type BillingSettings = Stripe.V2.Billing.ContractCreateParams.BillingSettings; - export type Include = Stripe.V2.Billing.ContractCreateParams.Include; - export type OneTimeFee = Stripe.V2.Billing.ContractCreateParams.OneTimeFee; - } - export namespace ContractRetrieveParams { - export type Include = Stripe.V2.Billing.ContractRetrieveParams.Include; - } - export namespace ContractUpdateParams { - export type Include = Stripe.V2.Billing.ContractUpdateParams.Include; - export type LicenseQuantityAction = Stripe.V2.Billing.ContractUpdateParams.LicenseQuantityAction; - export type PricingLineAction = Stripe.V2.Billing.ContractUpdateParams.PricingLineAction; - export type PricingOverrideAction = Stripe.V2.Billing.ContractUpdateParams.PricingOverrideAction; - } - export namespace ContractActivateParams { - export type Include = Stripe.V2.Billing.ContractActivateParams.Include; + export type ContractLine = Stripe_.V2.Billing.ContractCreateParams.ContractLine; + export type LicenseQuantityAction = Stripe_.V2.Billing.ContractCreateParams.LicenseQuantityAction; + export type PricingLine = Stripe_.V2.Billing.ContractCreateParams.PricingLine; + export type PricingOverride = Stripe_.V2.Billing.ContractCreateParams.PricingOverride; + export type BillingSettings = Stripe_.V2.Billing.ContractCreateParams.BillingSettings; + export type Include = Stripe_.V2.Billing.ContractCreateParams.Include; + export type OneTimeFee = Stripe_.V2.Billing.ContractCreateParams.OneTimeFee; + export namespace BillingSettings { + export type ContractBillingDetails = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails; + export namespace ContractBillingDetails { + export type BillSettingsDetails = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.BillSettingsDetails; + export type BillingProfileDetails = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.BillingProfileDetails; + export type CollectionSettingsDetails = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.CollectionSettingsDetails; + export namespace BillSettingsDetails { + export type Calculation = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.BillSettingsDetails.Calculation; + export type Invoice = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.BillSettingsDetails.Invoice; + export namespace Calculation { + export type Tax = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.BillSettingsDetails.Calculation.Tax; + export namespace Tax { + export type Type = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.BillSettingsDetails.Calculation.Tax.Type; + } + } + export namespace Invoice { + export type TimeUntilDue = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.BillSettingsDetails.Invoice.TimeUntilDue; + export namespace TimeUntilDue { + export type Interval = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.BillSettingsDetails.Invoice.TimeUntilDue.Interval; + } + } + } + export namespace CollectionSettingsDetails { + export type CollectionMethod = Stripe_.V2.Billing.ContractCreateParams.BillingSettings.ContractBillingDetails.CollectionSettingsDetails.CollectionMethod; + } + } + } + export namespace ContractLine { + export type EndsAt = Stripe_.V2.Billing.ContractCreateParams.ContractLine.EndsAt; + export type Override = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override; + export type Pricing = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Pricing; + export type StartsAt = Stripe_.V2.Billing.ContractCreateParams.ContractLine.StartsAt; + export namespace Override { + export type EndsAt = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.EndsAt; + export type ServiceAction = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction; + export type StartsAt = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.StartsAt; + export namespace ServiceAction { + export type Add = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Add; + export type Replace = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Replace; + export type Type = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Type; + export namespace Add { + export type CreditGrant = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Add.CreditGrant; + export type ServiceInterval = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Add.ServiceInterval; + export namespace CreditGrant { + export type Amount = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Add.CreditGrant.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Add.CreditGrant.ApplicabilityConfig; + export type Category = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Add.CreditGrant.Category; + export type ExpiryConfig = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Add.CreditGrant.ExpiryConfig; + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Add.CreditGrant.ApplicabilityConfig.Scope; + } + } + } + export namespace Replace { + export type CreditGrant = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Replace.CreditGrant; + export type ServiceInterval = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Replace.ServiceInterval; + export namespace CreditGrant { + export type Amount = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Replace.CreditGrant.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Replace.CreditGrant.ApplicabilityConfig; + export type Category = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Replace.CreditGrant.Category; + export type ExpiryConfig = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Replace.CreditGrant.ExpiryConfig; + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.ContractCreateParams.ContractLine.Override.ServiceAction.Replace.CreditGrant.ApplicabilityConfig.Scope; + } + } + } + } + } + } + export namespace LicenseQuantityAction { + export type EffectiveAt = Stripe_.V2.Billing.ContractCreateParams.LicenseQuantityAction.EffectiveAt; + export type LicensePricingType = Stripe_.V2.Billing.ContractCreateParams.LicenseQuantityAction.LicensePricingType; + export type Set = Stripe_.V2.Billing.ContractCreateParams.LicenseQuantityAction.Set; + } + export namespace OneTimeFee { + export type BillSchedule = Stripe_.V2.Billing.ContractCreateParams.OneTimeFee.BillSchedule; + export type ProductDetails = Stripe_.V2.Billing.ContractCreateParams.OneTimeFee.ProductDetails; + export namespace BillSchedule { + export type BillAt = Stripe_.V2.Billing.ContractCreateParams.OneTimeFee.BillSchedule.BillAt; + export namespace BillAt { + export type Type = Stripe_.V2.Billing.ContractCreateParams.OneTimeFee.BillSchedule.BillAt.Type; + } + } + } + export namespace PricingLine { + export type EndsAt = Stripe_.V2.Billing.ContractCreateParams.PricingLine.EndsAt; + export type Pricing = Stripe_.V2.Billing.ContractCreateParams.PricingLine.Pricing; + export type StartsAt = Stripe_.V2.Billing.ContractCreateParams.PricingLine.StartsAt; + export namespace EndsAt { + export type Type = Stripe_.V2.Billing.ContractCreateParams.PricingLine.EndsAt.Type; + } + export namespace Pricing { + export type PriceDetails = Stripe_.V2.Billing.ContractCreateParams.PricingLine.Pricing.PriceDetails; + } + export namespace StartsAt { + export type Type = Stripe_.V2.Billing.ContractCreateParams.PricingLine.StartsAt.Type; + } + } + export namespace PricingOverride { + export type EndsAt = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.EndsAt; + export type Multiplier = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.Multiplier; + export type OverwritePrice = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.OverwritePrice; + export type StartsAt = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.StartsAt; + export type Type = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.Type; + export namespace EndsAt { + export type Type = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.EndsAt.Type; + } + export namespace Multiplier { + export type Criterion = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.Multiplier.Criterion; + export namespace Criterion { + export type BillableItemType = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.Multiplier.Criterion.BillableItemType; + export type MetadataCondition = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.Multiplier.Criterion.MetadataCondition; + export type Type = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.Multiplier.Criterion.Type; + export namespace MetadataCondition { + export type AllOf = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.Multiplier.Criterion.MetadataCondition.AllOf; + } + } + } + export namespace OverwritePrice { + export type TieringMode = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.OverwritePrice.TieringMode; + export type Tier = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.OverwritePrice.Tier; + } + export namespace StartsAt { + export type Type = Stripe_.V2.Billing.ContractCreateParams.PricingOverride.StartsAt.Type; + } + } } - export namespace ContractCancelParams { - export type Include = Stripe.V2.Billing.ContractCancelParams.Include; + export namespace Contract { + export type BillingSettings = Stripe_.V2.Billing.Contract.BillingSettings; + export type ContractLineDetail = Stripe_.V2.Billing.Contract.ContractLineDetail; + export type ContractValueDetails = Stripe_.V2.Billing.Contract.ContractValueDetails; + export type LicenseQuantity = Stripe_.V2.Billing.Contract.LicenseQuantity; + export type OneTimeFee = Stripe_.V2.Billing.Contract.OneTimeFee; + export type PricingLine = Stripe_.V2.Billing.Contract.PricingLine; + export type PricingOverride = Stripe_.V2.Billing.Contract.PricingOverride; + export type Status = Stripe_.V2.Billing.Contract.Status; + export type StatusDetails = Stripe_.V2.Billing.Contract.StatusDetails; + export namespace BillingSettings { + export type ContractBillingDetails = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails; + export namespace ContractBillingDetails { + export type BillSettingsDetails = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.BillSettingsDetails; + export type BillingProfileDetails = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.BillingProfileDetails; + export type CollectionSettingsDetails = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.CollectionSettingsDetails; + export namespace BillSettingsDetails { + export type Calculation = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.BillSettingsDetails.Calculation; + export type Invoice = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.BillSettingsDetails.Invoice; + export namespace Calculation { + export type Tax = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.BillSettingsDetails.Calculation.Tax; + export namespace Tax { + export type Type = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.BillSettingsDetails.Calculation.Tax.Type; + } + } + export namespace Invoice { + export type TimeUntilDue = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.BillSettingsDetails.Invoice.TimeUntilDue; + export namespace TimeUntilDue { + export type Interval = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.BillSettingsDetails.Invoice.TimeUntilDue.Interval; + } + } + } + export namespace CollectionSettingsDetails { + export type CollectionMethod = Stripe_.V2.Billing.Contract.BillingSettings.ContractBillingDetails.CollectionSettingsDetails.CollectionMethod; + } + } + } + export namespace ContractLineDetail { + export type ContractLineValueDetails = Stripe_.V2.Billing.Contract.ContractLineDetail.ContractLineValueDetails; + export type EndsAt = Stripe_.V2.Billing.Contract.ContractLineDetail.EndsAt; + export type Override = Stripe_.V2.Billing.Contract.ContractLineDetail.Override; + export type Pricing = Stripe_.V2.Billing.Contract.ContractLineDetail.Pricing; + export type StartsAt = Stripe_.V2.Billing.Contract.ContractLineDetail.StartsAt; + export namespace Override { + export type EndsAt = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.EndsAt; + export type ServiceAction = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction; + export type StartsAt = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.StartsAt; + export namespace ServiceAction { + export type Add = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Add; + export type Replace = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Replace; + export type Type = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Type; + export namespace Add { + export type CreditGrant = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Add.CreditGrant; + export type ServiceInterval = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Add.ServiceInterval; + export namespace CreditGrant { + export type Amount = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Add.CreditGrant.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Add.CreditGrant.ApplicabilityConfig; + export type Category = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Add.CreditGrant.Category; + export type ExpiryConfig = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Add.CreditGrant.ExpiryConfig; + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Add.CreditGrant.ApplicabilityConfig.Scope; + } + } + } + export namespace Replace { + export type CreditGrant = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Replace.CreditGrant; + export type ServiceInterval = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Replace.ServiceInterval; + export namespace CreditGrant { + export type Amount = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Replace.CreditGrant.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Replace.CreditGrant.ApplicabilityConfig; + export type Category = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Replace.CreditGrant.Category; + export type ExpiryConfig = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Replace.CreditGrant.ExpiryConfig; + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.Contract.ContractLineDetail.Override.ServiceAction.Replace.CreditGrant.ApplicabilityConfig.Scope; + } + } + } + } + } + } + export namespace LicenseQuantity { + export type LicensePricingType = Stripe_.V2.Billing.Contract.LicenseQuantity.LicensePricingType; + } + export namespace OneTimeFee { + export type BillSchedule = Stripe_.V2.Billing.Contract.OneTimeFee.BillSchedule; + export type ProductDetails = Stripe_.V2.Billing.Contract.OneTimeFee.ProductDetails; + export namespace BillSchedule { + export type BillAt = Stripe_.V2.Billing.Contract.OneTimeFee.BillSchedule.BillAt; + export namespace BillAt { + export type Type = Stripe_.V2.Billing.Contract.OneTimeFee.BillSchedule.BillAt.Type; + } + } + } + export namespace PricingLine { + export type EndsAt = Stripe_.V2.Billing.Contract.PricingLine.EndsAt; + export type Pricing = Stripe_.V2.Billing.Contract.PricingLine.Pricing; + export type StartsAt = Stripe_.V2.Billing.Contract.PricingLine.StartsAt; + export namespace Pricing { + export type PriceDetails = Stripe_.V2.Billing.Contract.PricingLine.Pricing.PriceDetails; + } + } + export namespace PricingOverride { + export type EndsAt = Stripe_.V2.Billing.Contract.PricingOverride.EndsAt; + export type Multiplier = Stripe_.V2.Billing.Contract.PricingOverride.Multiplier; + export type OverwritePrice = Stripe_.V2.Billing.Contract.PricingOverride.OverwritePrice; + export type StartsAt = Stripe_.V2.Billing.Contract.PricingOverride.StartsAt; + export type Type = Stripe_.V2.Billing.Contract.PricingOverride.Type; + export namespace Multiplier { + export type Criterion = Stripe_.V2.Billing.Contract.PricingOverride.Multiplier.Criterion; + export namespace Criterion { + export type BillableItemType = Stripe_.V2.Billing.Contract.PricingOverride.Multiplier.Criterion.BillableItemType; + export type MetadataCondition = Stripe_.V2.Billing.Contract.PricingOverride.Multiplier.Criterion.MetadataCondition; + export type Type = Stripe_.V2.Billing.Contract.PricingOverride.Multiplier.Criterion.Type; + export namespace MetadataCondition { + export type AllOf = Stripe_.V2.Billing.Contract.PricingOverride.Multiplier.Criterion.MetadataCondition.AllOf; + } + } + } + export namespace OverwritePrice { + export type TieringMode = Stripe_.V2.Billing.Contract.PricingOverride.OverwritePrice.TieringMode; + export type Tier = Stripe_.V2.Billing.Contract.PricingOverride.OverwritePrice.Tier; + } + } + export namespace StatusDetails { + export type Active = Stripe_.V2.Billing.Contract.StatusDetails.Active; + export type Canceled = Stripe_.V2.Billing.Contract.StatusDetails.Canceled; + } } export namespace IntentCreateParams { - export type Action = Stripe.V2.Billing.IntentCreateParams.Action; - export type CadenceData = Stripe.V2.Billing.IntentCreateParams.CadenceData; + export type Action = Stripe_.V2.Billing.IntentCreateParams.Action; + export type CadenceData = Stripe_.V2.Billing.IntentCreateParams.CadenceData; + export namespace Action { + export type Apply = Stripe_.V2.Billing.IntentCreateParams.Action.Apply; + export type Deactivate = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate; + export type Modify = Stripe_.V2.Billing.IntentCreateParams.Action.Modify; + export type Remove = Stripe_.V2.Billing.IntentCreateParams.Action.Remove; + export type Subscribe = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Type; + export namespace Apply { + export type Discount = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.Discount; + export type EffectiveAt = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.EffectiveAt; + export type InvoiceDiscountRule = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.InvoiceDiscountRule; + export type SpendModifierRule = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.SpendModifierRule; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.Type; + export namespace Discount { + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.Discount.Type; + } + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.EffectiveAt.Type; + } + export namespace InvoiceDiscountRule { + export type PercentOff = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff; + export namespace PercentOff { + export type MaximumApplications = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications; + } + } + export namespace SpendModifierRule { + export type MaxBillingPeriodSpend = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.SpendModifierRule.MaxBillingPeriodSpend; + export namespace MaxBillingPeriodSpend { + export type Amount = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.SpendModifierRule.MaxBillingPeriodSpend.Amount; + export type CustomPricingUnitOverageRate = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.SpendModifierRule.MaxBillingPeriodSpend.CustomPricingUnitOverageRate; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.IntentCreateParams.Action.Apply.SpendModifierRule.MaxBillingPeriodSpend.Amount.CustomPricingUnit; + } + } + } + } + export namespace Deactivate { + export type CancellationDetails = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.CancellationDetails; + export type CollectAt = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.CollectAt; + export type EffectiveAt = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.EffectiveAt; + export type PricingPlanSubscriptionDetails = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.PricingPlanSubscriptionDetails; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.Type; + export namespace CancellationDetails { + export type Feedback = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.CancellationDetails.Feedback; + } + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.EffectiveAt.Type; + } + export namespace PricingPlanSubscriptionDetails { + export type Overrides = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.PricingPlanSubscriptionDetails.Overrides; + export namespace Overrides { + export type PartialPeriodBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior; + export namespace PartialPeriodBehavior { + export type LicenseFee = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.Type; + export namespace LicenseFee { + export type CreditProrationBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Deactivate.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.CreditProrationBehavior; + } + } + } + } + } + export namespace Modify { + export type CollectAt = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.CollectAt; + export type EffectiveAt = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.EffectiveAt; + export type PricingPlanSubscriptionDetails = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.Type; + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.EffectiveAt.Type; + } + export namespace PricingPlanSubscriptionDetails { + export type ComponentConfiguration = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration; + export type Overrides = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Overrides; + export namespace Overrides { + export type PartialPeriodBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior; + export namespace PartialPeriodBehavior { + export type LicenseFee = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee; + export type RecurringCreditGrant = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.RecurringCreditGrant; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.Type; + export namespace LicenseFee { + export type CreditProrationBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.CreditProrationBehavior; + export type DebitProrationBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.DebitProrationBehavior; + } + export namespace RecurringCreditGrant { + export type CreateBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.RecurringCreditGrant.CreateBehavior; + } + } + } + } + } + export namespace Remove { + export type EffectiveAt = Stripe_.V2.Billing.IntentCreateParams.Action.Remove.EffectiveAt; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Remove.Type; + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Remove.EffectiveAt.Type; + } + } + export namespace Subscribe { + export type CollectAt = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.CollectAt; + export type EffectiveAt = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.EffectiveAt; + export type PricingPlanSubscriptionDetails = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.Type; + export type V1SubscriptionDetails = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.V1SubscriptionDetails; + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.EffectiveAt.Type; + } + export namespace PricingPlanSubscriptionDetails { + export type ComponentConfiguration = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.ComponentConfiguration; + export type Overrides = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.Overrides; + export namespace Overrides { + export type PartialPeriodBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior; + export namespace PartialPeriodBehavior { + export type LicenseFee = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee; + export type RecurringCreditGrant = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.RecurringCreditGrant; + export type Type = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.Type; + export namespace LicenseFee { + export type DebitProrationBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.DebitProrationBehavior; + } + export namespace RecurringCreditGrant { + export type CreateBehavior = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.RecurringCreditGrant.CreateBehavior; + } + } + } + } + export namespace V1SubscriptionDetails { + export type Item = Stripe_.V2.Billing.IntentCreateParams.Action.Subscribe.V1SubscriptionDetails.Item; + } + } + } + export namespace CadenceData { + export type BillingCycle = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle; + export type Payer = Stripe_.V2.Billing.IntentCreateParams.CadenceData.Payer; + export type Settings = Stripe_.V2.Billing.IntentCreateParams.CadenceData.Settings; + export namespace BillingCycle { + export type Day = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Day; + export type Month = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Month; + export type Type = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Type; + export type Week = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Week; + export type Year = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Year; + export namespace Day { + export type Time = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Day.Time; + } + export namespace Month { + export type Time = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Month.Time; + } + export namespace Week { + export type Time = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Week.Time; + } + export namespace Year { + export type Time = Stripe_.V2.Billing.IntentCreateParams.CadenceData.BillingCycle.Year.Time; + } + } + export namespace Payer { + export type BillingProfileData = Stripe_.V2.Billing.IntentCreateParams.CadenceData.Payer.BillingProfileData; + } + export namespace Settings { + export type Bill = Stripe_.V2.Billing.IntentCreateParams.CadenceData.Settings.Bill; + export type Collection = Stripe_.V2.Billing.IntentCreateParams.CadenceData.Settings.Collection; + } + } + } + export namespace Intent { + export type AmountDetails = Stripe_.V2.Billing.Intent.AmountDetails; + export type CadenceData = Stripe_.V2.Billing.Intent.CadenceData; + export type Status = Stripe_.V2.Billing.Intent.Status; + export type StatusTransitions = Stripe_.V2.Billing.Intent.StatusTransitions; + export namespace CadenceData { + export type BillingCycle = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle; + export type Payer = Stripe_.V2.Billing.Intent.CadenceData.Payer; + export type Settings = Stripe_.V2.Billing.Intent.CadenceData.Settings; + export namespace BillingCycle { + export type Day = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Day; + export type Month = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Month; + export type Type = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Type; + export type Week = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Week; + export type Year = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Year; + export namespace Day { + export type Time = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Day.Time; + } + export namespace Month { + export type Time = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Month.Time; + } + export namespace Week { + export type Time = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Week.Time; + } + export namespace Year { + export type Time = Stripe_.V2.Billing.Intent.CadenceData.BillingCycle.Year.Time; + } + } + export namespace Payer { + export type BillingProfileData = Stripe_.V2.Billing.Intent.CadenceData.Payer.BillingProfileData; + } + export namespace Settings { + export type Bill = Stripe_.V2.Billing.Intent.CadenceData.Settings.Bill; + export type Collection = Stripe_.V2.Billing.Intent.CadenceData.Settings.Collection; + } + } } export namespace LicenseFeeCreateParams { - export type ServiceInterval = Stripe.V2.Billing.LicenseFeeCreateParams.ServiceInterval; - export type TaxBehavior = Stripe.V2.Billing.LicenseFeeCreateParams.TaxBehavior; - export type TieringMode = Stripe.V2.Billing.LicenseFeeCreateParams.TieringMode; - export type Tier = Stripe.V2.Billing.LicenseFeeCreateParams.Tier; - export type TransformQuantity = Stripe.V2.Billing.LicenseFeeCreateParams.TransformQuantity; + export type ServiceInterval = Stripe_.V2.Billing.LicenseFeeCreateParams.ServiceInterval; + export type TaxBehavior = Stripe_.V2.Billing.LicenseFeeCreateParams.TaxBehavior; + export type TieringMode = Stripe_.V2.Billing.LicenseFeeCreateParams.TieringMode; + export type Tier = Stripe_.V2.Billing.LicenseFeeCreateParams.Tier; + export type TransformQuantity = Stripe_.V2.Billing.LicenseFeeCreateParams.TransformQuantity; + export namespace TransformQuantity { + export type Round = Stripe_.V2.Billing.LicenseFeeCreateParams.TransformQuantity.Round; + } } - export namespace LicenseFeeUpdateParams { - export type TieringMode = Stripe.V2.Billing.LicenseFeeUpdateParams.TieringMode; - export type Tier = Stripe.V2.Billing.LicenseFeeUpdateParams.Tier; - export type TransformQuantity = Stripe.V2.Billing.LicenseFeeUpdateParams.TransformQuantity; + export namespace LicenseFee { + export type ServiceCycle = Stripe_.V2.Billing.LicenseFee.ServiceCycle; + export type TaxBehavior = Stripe_.V2.Billing.LicenseFee.TaxBehavior; + export type TieringMode = Stripe_.V2.Billing.LicenseFee.TieringMode; + export type Tier = Stripe_.V2.Billing.LicenseFee.Tier; + export type TransformQuantity = Stripe_.V2.Billing.LicenseFee.TransformQuantity; + export namespace ServiceCycle { + export type Interval = Stripe_.V2.Billing.LicenseFee.ServiceCycle.Interval; + } + export namespace TransformQuantity { + export type Round = Stripe_.V2.Billing.LicenseFee.TransformQuantity.Round; + } } export namespace LicensedItemCreateParams { - export type TaxDetails = Stripe.V2.Billing.LicensedItemCreateParams.TaxDetails; + export type TaxDetails = Stripe_.V2.Billing.LicensedItemCreateParams.TaxDetails; } - export namespace LicensedItemUpdateParams { - export type TaxDetails = Stripe.V2.Billing.LicensedItemUpdateParams.TaxDetails; + export namespace LicensedItem { + export type TaxDetails = Stripe_.V2.Billing.LicensedItem.TaxDetails; } export namespace MeterEventAdjustmentCreateParams { export type Cancel = Stripe_.V2.Billing.MeterEventAdjustmentCreateParams.Cancel; @@ -6750,123 +20946,498 @@ declare namespace StripeConstructor { export type Status = Stripe_.V2.Billing.MeterEventAdjustment.Status; } export namespace MeteredItemCreateParams { - export type MeterSegmentCondition = Stripe.V2.Billing.MeteredItemCreateParams.MeterSegmentCondition; - export type TaxDetails = Stripe.V2.Billing.MeteredItemCreateParams.TaxDetails; + export type MeterSegmentCondition = Stripe_.V2.Billing.MeteredItemCreateParams.MeterSegmentCondition; + export type TaxDetails = Stripe_.V2.Billing.MeteredItemCreateParams.TaxDetails; } - export namespace MeteredItemUpdateParams { - export type TaxDetails = Stripe.V2.Billing.MeteredItemUpdateParams.TaxDetails; + export namespace MeteredItem { + export type MeterSegmentCondition = Stripe_.V2.Billing.MeteredItem.MeterSegmentCondition; + export type TaxDetails = Stripe_.V2.Billing.MeteredItem.TaxDetails; } export namespace OneTimeItemCreateParams { - export type TaxDetails = Stripe.V2.Billing.OneTimeItemCreateParams.TaxDetails; + export type TaxDetails = Stripe_.V2.Billing.OneTimeItemCreateParams.TaxDetails; } - export namespace OneTimeItemUpdateParams { - export type TaxDetails = Stripe.V2.Billing.OneTimeItemUpdateParams.TaxDetails; + export namespace OneTimeItem { + export type TaxDetails = Stripe_.V2.Billing.OneTimeItem.TaxDetails; } export namespace PricingPlanCreateParams { - export type TaxBehavior = Stripe.V2.Billing.PricingPlanCreateParams.TaxBehavior; + export type TaxBehavior = Stripe_.V2.Billing.PricingPlanCreateParams.TaxBehavior; + } + export namespace PricingPlan { + export type TaxBehavior = Stripe_.V2.Billing.PricingPlan.TaxBehavior; } export namespace PricingPlanSubscriptionRetrieveParams { - export type Include = Stripe.V2.Billing.PricingPlanSubscriptionRetrieveParams.Include; + export type Include = Stripe_.V2.Billing.PricingPlanSubscriptionRetrieveParams.Include; + } + export namespace PricingPlanSubscription { + export type CancellationDetails = Stripe_.V2.Billing.PricingPlanSubscription.CancellationDetails; + export type CollectionStatus = Stripe_.V2.Billing.PricingPlanSubscription.CollectionStatus; + export type CollectionStatusTransitions = Stripe_.V2.Billing.PricingPlanSubscription.CollectionStatusTransitions; + export type DiscountDetail = Stripe_.V2.Billing.PricingPlanSubscription.DiscountDetail; + export type PricingPlanComponentDetail = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail; + export type ServicingStatus = Stripe_.V2.Billing.PricingPlanSubscription.ServicingStatus; + export type ServicingStatusTransitions = Stripe_.V2.Billing.PricingPlanSubscription.ServicingStatusTransitions; + export namespace CancellationDetails { + export type Feedback = Stripe_.V2.Billing.PricingPlanSubscription.CancellationDetails.Feedback; + } + export namespace DiscountDetail { + export type Source = Stripe_.V2.Billing.PricingPlanSubscription.DiscountDetail.Source; + } + export namespace PricingPlanComponentDetail { + export type LicenseFeeDetails = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.LicenseFeeDetails; + export type RateCardDetails = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RateCardDetails; + export type RecurringCreditGrantDetails = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails; + export type Type = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.Type; + export namespace LicenseFeeDetails { + export type ServiceCycle = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.LicenseFeeDetails.ServiceCycle; + export type TieringMode = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.LicenseFeeDetails.TieringMode; + export type Tier = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.LicenseFeeDetails.Tier; + export type TransformQuantity = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.LicenseFeeDetails.TransformQuantity; + export namespace ServiceCycle { + export type Interval = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.LicenseFeeDetails.ServiceCycle.Interval; + } + export namespace TransformQuantity { + export type Round = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.LicenseFeeDetails.TransformQuantity.Round; + } + } + export namespace RateCardDetails { + export type ServiceCycle = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RateCardDetails.ServiceCycle; + export type TaxBehavior = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RateCardDetails.TaxBehavior; + export namespace ServiceCycle { + export type Interval = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RateCardDetails.ServiceCycle.Interval; + } + } + export namespace RecurringCreditGrantDetails { + export type CreditGrantDetails = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantDetails; + export type CreditGrantPerTenantDetails = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantPerTenantDetails; + export type ServiceCycle = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.ServiceCycle; + export type Type = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.Type; + export namespace CreditGrantDetails { + export type Amount = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantDetails.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantDetails.ApplicabilityConfig; + export type ExpiryConfig = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantDetails.ExpiryConfig; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantDetails.Amount.CustomPricingUnit; + export type Type = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantDetails.Amount.Type; + } + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantDetails.ApplicabilityConfig.Scope; + } + } + export namespace CreditGrantPerTenantDetails { + export type Amount = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantPerTenantDetails.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantPerTenantDetails.ApplicabilityConfig; + export type ExpiryConfig = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantPerTenantDetails.ExpiryConfig; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantPerTenantDetails.Amount.CustomPricingUnit; + export type Type = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantPerTenantDetails.Amount.Type; + } + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.CreditGrantPerTenantDetails.ApplicabilityConfig.Scope; + } + } + export namespace ServiceCycle { + export type Interval = Stripe_.V2.Billing.PricingPlanSubscription.PricingPlanComponentDetail.RecurringCreditGrantDetails.ServiceCycle.Interval; + } + } + } } - export namespace PricingPlanSubscriptionListParams { - export type Include = Stripe.V2.Billing.PricingPlanSubscriptionListParams.Include; - export type Payer = Stripe.V2.Billing.PricingPlanSubscriptionListParams.Payer; - export type ServicingStatus = Stripe.V2.Billing.PricingPlanSubscriptionListParams.ServicingStatus; + export namespace Profile { + export type Status = Stripe_.V2.Billing.Profile.Status; + } + export namespace RateCardCreateParams { + export type ServiceInterval = Stripe_.V2.Billing.RateCardCreateParams.ServiceInterval; + export type TaxBehavior = Stripe_.V2.Billing.RateCardCreateParams.TaxBehavior; } - export namespace PricingPlanSubscriptionRemoveDiscountsParams { - export type Include = Stripe.V2.Billing.PricingPlanSubscriptionRemoveDiscountsParams.Include; + export namespace RateCard { + export type ServiceCycle = Stripe_.V2.Billing.RateCard.ServiceCycle; + export type TaxBehavior = Stripe_.V2.Billing.RateCard.TaxBehavior; + export namespace ServiceCycle { + export type Interval = Stripe_.V2.Billing.RateCard.ServiceCycle.Interval; + } } - export namespace ProfileListParams { - export type Status = Stripe.V2.Billing.ProfileListParams.Status; + export namespace RateCardSubscription { + export type CollectionStatus = Stripe_.V2.Billing.RateCardSubscription.CollectionStatus; + export type CollectionStatusTransitions = Stripe_.V2.Billing.RateCardSubscription.CollectionStatusTransitions; + export type ServicingStatus = Stripe_.V2.Billing.RateCardSubscription.ServicingStatus; + export type ServicingStatusTransitions = Stripe_.V2.Billing.RateCardSubscription.ServicingStatusTransitions; } - export namespace RateCardCreateParams { - export type ServiceInterval = Stripe.V2.Billing.RateCardCreateParams.ServiceInterval; - export type TaxBehavior = Stripe.V2.Billing.RateCardCreateParams.TaxBehavior; + export namespace ServiceActionCreateParams { + export type ServiceInterval = Stripe_.V2.Billing.ServiceActionCreateParams.ServiceInterval; + export type Type = Stripe_.V2.Billing.ServiceActionCreateParams.Type; + export type CreditGrant = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrant; + export type CreditGrantPerTenant = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant; + export namespace CreditGrant { + export type Amount = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrant.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrant.ApplicabilityConfig; + export type Category = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrant.Category; + export type ExpiryConfig = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrant.ExpiryConfig; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrant.Amount.CustomPricingUnit; + export type Type = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrant.Amount.Type; + } + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrant.ApplicabilityConfig.Scope; + } + } + export namespace CreditGrantPerTenant { + export type Amount = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.ApplicabilityConfig; + export type Category = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.Category; + export type ExpiryConfig = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.ExpiryConfig; + export type GrantCondition = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.GrantCondition; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.Amount.CustomPricingUnit; + export type Type = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.Amount.Type; + } + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.ApplicabilityConfig.Scope; + } + export namespace GrantCondition { + export type MeterEventFirstPerPeriod = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod; + export namespace MeterEventFirstPerPeriod { + export type MeterSegmentCondition = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition; + export namespace MeterSegmentCondition { + export type Dimension = Stripe_.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Dimension; + } + } + } + } + } + export namespace ServiceAction { + export type CreditGrant = Stripe_.V2.Billing.ServiceAction.CreditGrant; + export type CreditGrantPerTenant = Stripe_.V2.Billing.ServiceAction.CreditGrantPerTenant; + export type ServiceInterval = Stripe_.V2.Billing.ServiceAction.ServiceInterval; + export type Type = Stripe_.V2.Billing.ServiceAction.Type; + export namespace CreditGrant { + export type Amount = Stripe_.V2.Billing.ServiceAction.CreditGrant.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.ServiceAction.CreditGrant.ApplicabilityConfig; + export type Category = Stripe_.V2.Billing.ServiceAction.CreditGrant.Category; + export type ExpiryConfig = Stripe_.V2.Billing.ServiceAction.CreditGrant.ExpiryConfig; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.ServiceAction.CreditGrant.Amount.CustomPricingUnit; + export type Type = Stripe_.V2.Billing.ServiceAction.CreditGrant.Amount.Type; + } + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.ServiceAction.CreditGrant.ApplicabilityConfig.Scope; + } + } + export namespace CreditGrantPerTenant { + export type Amount = Stripe_.V2.Billing.ServiceAction.CreditGrantPerTenant.Amount; + export type ApplicabilityConfig = Stripe_.V2.Billing.ServiceAction.CreditGrantPerTenant.ApplicabilityConfig; + export type Category = Stripe_.V2.Billing.ServiceAction.CreditGrantPerTenant.Category; + export type ExpiryConfig = Stripe_.V2.Billing.ServiceAction.CreditGrantPerTenant.ExpiryConfig; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.ServiceAction.CreditGrantPerTenant.Amount.CustomPricingUnit; + export type Type = Stripe_.V2.Billing.ServiceAction.CreditGrantPerTenant.Amount.Type; + } + export namespace ApplicabilityConfig { + export type Scope = Stripe_.V2.Billing.ServiceAction.CreditGrantPerTenant.ApplicabilityConfig.Scope; + } + } + } + export namespace ContractLicensePricingQuantityChange { + export type LicensePricingType = Stripe_.V2.Billing.ContractLicensePricingQuantityChange.LicensePricingType; + } + export namespace BillSettingVersion { + export type Calculation = Stripe_.V2.Billing.BillSettingVersion.Calculation; + export type Invoice = Stripe_.V2.Billing.BillSettingVersion.Invoice; + export namespace Calculation { + export type Tax = Stripe_.V2.Billing.BillSettingVersion.Calculation.Tax; + export namespace Tax { + export type Type = Stripe_.V2.Billing.BillSettingVersion.Calculation.Tax.Type; + } + } + export namespace Invoice { + export type TimeUntilDue = Stripe_.V2.Billing.BillSettingVersion.Invoice.TimeUntilDue; + export namespace TimeUntilDue { + export type Interval = Stripe_.V2.Billing.BillSettingVersion.Invoice.TimeUntilDue.Interval; + } + } + } + export namespace CadenceSpendModifier { + export type MaxBillingPeriodSpend = Stripe_.V2.Billing.CadenceSpendModifier.MaxBillingPeriodSpend; + export namespace MaxBillingPeriodSpend { + export type Amount = Stripe_.V2.Billing.CadenceSpendModifier.MaxBillingPeriodSpend.Amount; + export type CustomPricingUnitOverageRate = Stripe_.V2.Billing.CadenceSpendModifier.MaxBillingPeriodSpend.CustomPricingUnitOverageRate; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.CadenceSpendModifier.MaxBillingPeriodSpend.Amount.CustomPricingUnit; + } + } + } + export namespace CollectionSettingVersion { + export type CollectionMethod = Stripe_.V2.Billing.CollectionSettingVersion.CollectionMethod; + export type EmailDelivery = Stripe_.V2.Billing.CollectionSettingVersion.EmailDelivery; + export type PaymentMethodOptions = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions; + export namespace EmailDelivery { + export type PaymentDue = Stripe_.V2.Billing.CollectionSettingVersion.EmailDelivery.PaymentDue; + } + export namespace PaymentMethodOptions { + export type AcssDebit = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.AcssDebit; + export type Bancontact = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.Bancontact; + export type Card = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.Card; + export type CustomerBalance = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.CustomerBalance; + export type Konbini = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.Konbini; + export type SepaDebit = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.SepaDebit; + export type UsBankAccount = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.UsBankAccount; + export namespace AcssDebit { + export type MandateOptions = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.AcssDebit.MandateOptions; + export type VerificationMethod = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.AcssDebit.VerificationMethod; + export namespace MandateOptions { + export type TransactionType = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.AcssDebit.MandateOptions.TransactionType; + } + } + export namespace Bancontact { + export type PreferredLanguage = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.Bancontact.PreferredLanguage; + } + export namespace Card { + export type MandateOptions = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.Card.MandateOptions; + export type RequestThreeDSecure = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.Card.RequestThreeDSecure; + export namespace MandateOptions { + export type AmountType = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.Card.MandateOptions.AmountType; + } + } + export namespace CustomerBalance { + export type BankTransfer = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.CustomerBalance.BankTransfer; + export namespace BankTransfer { + export type EuBankTransfer = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer; + export type Type = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; + export namespace EuBankTransfer { + export type Country = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.Country; + } + } + } + export namespace UsBankAccount { + export type FinancialConnections = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.UsBankAccount.FinancialConnections; + export type VerificationMethod = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.UsBankAccount.VerificationMethod; + export namespace FinancialConnections { + export type Filters = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters; + export type Permission = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission; + export type Prefetch = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch; + export namespace Filters { + export type AccountSubcategory = Stripe_.V2.Billing.CollectionSettingVersion.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters.AccountSubcategory; + } + } + } + } } - export namespace RateCardModifyRatesParams { - export type RatesToCreate = Stripe.V2.Billing.RateCardModifyRatesParams.RatesToCreate; - export type RatesToDelete = Stripe.V2.Billing.RateCardModifyRatesParams.RatesToDelete; + export namespace IntentAction { + export type Apply = Stripe_.V2.Billing.IntentAction.Apply; + export type Deactivate = Stripe_.V2.Billing.IntentAction.Deactivate; + export type Modify = Stripe_.V2.Billing.IntentAction.Modify; + export type Remove = Stripe_.V2.Billing.IntentAction.Remove; + export type Subscribe = Stripe_.V2.Billing.IntentAction.Subscribe; + export type Type = Stripe_.V2.Billing.IntentAction.Type; + export namespace Apply { + export type Discount = Stripe_.V2.Billing.IntentAction.Apply.Discount; + export type EffectiveAt = Stripe_.V2.Billing.IntentAction.Apply.EffectiveAt; + export type InvoiceDiscountRule = Stripe_.V2.Billing.IntentAction.Apply.InvoiceDiscountRule; + export type SpendModifierRule = Stripe_.V2.Billing.IntentAction.Apply.SpendModifierRule; + export type Type = Stripe_.V2.Billing.IntentAction.Apply.Type; + export namespace Discount { + export type Type = Stripe_.V2.Billing.IntentAction.Apply.Discount.Type; + } + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentAction.Apply.EffectiveAt.Type; + } + export namespace InvoiceDiscountRule { + export type PercentOff = Stripe_.V2.Billing.IntentAction.Apply.InvoiceDiscountRule.PercentOff; + export namespace PercentOff { + export type MaximumApplications = Stripe_.V2.Billing.IntentAction.Apply.InvoiceDiscountRule.PercentOff.MaximumApplications; + } + } + export namespace SpendModifierRule { + export type MaxBillingPeriodSpend = Stripe_.V2.Billing.IntentAction.Apply.SpendModifierRule.MaxBillingPeriodSpend; + export namespace MaxBillingPeriodSpend { + export type Amount = Stripe_.V2.Billing.IntentAction.Apply.SpendModifierRule.MaxBillingPeriodSpend.Amount; + export type CustomPricingUnitOverageRate = Stripe_.V2.Billing.IntentAction.Apply.SpendModifierRule.MaxBillingPeriodSpend.CustomPricingUnitOverageRate; + export namespace Amount { + export type CustomPricingUnit = Stripe_.V2.Billing.IntentAction.Apply.SpendModifierRule.MaxBillingPeriodSpend.Amount.CustomPricingUnit; + } + } + } + } + export namespace Deactivate { + export type CancellationDetails = Stripe_.V2.Billing.IntentAction.Deactivate.CancellationDetails; + export type CollectAt = Stripe_.V2.Billing.IntentAction.Deactivate.CollectAt; + export type EffectiveAt = Stripe_.V2.Billing.IntentAction.Deactivate.EffectiveAt; + export type PricingPlanSubscriptionDetails = Stripe_.V2.Billing.IntentAction.Deactivate.PricingPlanSubscriptionDetails; + export type Type = Stripe_.V2.Billing.IntentAction.Deactivate.Type; + export namespace CancellationDetails { + export type Feedback = Stripe_.V2.Billing.IntentAction.Deactivate.CancellationDetails.Feedback; + } + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentAction.Deactivate.EffectiveAt.Type; + } + export namespace PricingPlanSubscriptionDetails { + export type Overrides = Stripe_.V2.Billing.IntentAction.Deactivate.PricingPlanSubscriptionDetails.Overrides; + export namespace Overrides { + export type PartialPeriodBehavior = Stripe_.V2.Billing.IntentAction.Deactivate.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior; + export namespace PartialPeriodBehavior { + export type LicenseFee = Stripe_.V2.Billing.IntentAction.Deactivate.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee; + export type Type = Stripe_.V2.Billing.IntentAction.Deactivate.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.Type; + export namespace LicenseFee { + export type CreditProrationBehavior = Stripe_.V2.Billing.IntentAction.Deactivate.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.CreditProrationBehavior; + } + } + } + } + } + export namespace Modify { + export type CollectAt = Stripe_.V2.Billing.IntentAction.Modify.CollectAt; + export type EffectiveAt = Stripe_.V2.Billing.IntentAction.Modify.EffectiveAt; + export type PricingPlanSubscriptionDetails = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails; + export type Type = Stripe_.V2.Billing.IntentAction.Modify.Type; + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentAction.Modify.EffectiveAt.Type; + } + export namespace PricingPlanSubscriptionDetails { + export type ComponentConfiguration = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration; + export type Overrides = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.Overrides; + export namespace Overrides { + export type PartialPeriodBehavior = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior; + export namespace PartialPeriodBehavior { + export type LicenseFee = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee; + export type RecurringCreditGrant = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.RecurringCreditGrant; + export type Type = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.Type; + export namespace LicenseFee { + export type CreditProrationBehavior = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.CreditProrationBehavior; + export type DebitProrationBehavior = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.DebitProrationBehavior; + } + export namespace RecurringCreditGrant { + export type CreateBehavior = Stripe_.V2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.RecurringCreditGrant.CreateBehavior; + } + } + } + } + } + export namespace Remove { + export type EffectiveAt = Stripe_.V2.Billing.IntentAction.Remove.EffectiveAt; + export type Type = Stripe_.V2.Billing.IntentAction.Remove.Type; + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentAction.Remove.EffectiveAt.Type; + } + } + export namespace Subscribe { + export type CollectAt = Stripe_.V2.Billing.IntentAction.Subscribe.CollectAt; + export type EffectiveAt = Stripe_.V2.Billing.IntentAction.Subscribe.EffectiveAt; + export type PricingPlanSubscriptionDetails = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails; + export type Type = Stripe_.V2.Billing.IntentAction.Subscribe.Type; + export type V1SubscriptionDetails = Stripe_.V2.Billing.IntentAction.Subscribe.V1SubscriptionDetails; + export namespace EffectiveAt { + export type Type = Stripe_.V2.Billing.IntentAction.Subscribe.EffectiveAt.Type; + } + export namespace PricingPlanSubscriptionDetails { + export type ComponentConfiguration = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails.ComponentConfiguration; + export type Overrides = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails.Overrides; + export namespace Overrides { + export type PartialPeriodBehavior = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior; + export namespace PartialPeriodBehavior { + export type LicenseFee = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee; + export type RecurringCreditGrant = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.RecurringCreditGrant; + export type Type = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.Type; + export namespace LicenseFee { + export type DebitProrationBehavior = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.DebitProrationBehavior; + } + export namespace RecurringCreditGrant { + export type CreateBehavior = Stripe_.V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.RecurringCreditGrant.CreateBehavior; + } + } + } + } + export namespace V1SubscriptionDetails { + export type Item = Stripe_.V2.Billing.IntentAction.Subscribe.V1SubscriptionDetails.Item; + } + } } - export namespace RateCardSubscriptionListParams { - export type Payer = Stripe.V2.Billing.RateCardSubscriptionListParams.Payer; - export type ServicingStatus = Stripe.V2.Billing.RateCardSubscriptionListParams.ServicingStatus; + export namespace LicenseFeeVersion { + export type TieringMode = Stripe_.V2.Billing.LicenseFeeVersion.TieringMode; + export type Tier = Stripe_.V2.Billing.LicenseFeeVersion.Tier; + export type TransformQuantity = Stripe_.V2.Billing.LicenseFeeVersion.TransformQuantity; + export namespace TransformQuantity { + export type Round = Stripe_.V2.Billing.LicenseFeeVersion.TransformQuantity.Round; + } } - export namespace ServiceActionCreateParams { - export type ServiceInterval = Stripe.V2.Billing.ServiceActionCreateParams.ServiceInterval; - export type Type = Stripe.V2.Billing.ServiceActionCreateParams.Type; - export type CreditGrant = Stripe.V2.Billing.ServiceActionCreateParams.CreditGrant; - export type CreditGrantPerTenant = Stripe.V2.Billing.ServiceActionCreateParams.CreditGrantPerTenant; + export namespace PricingPlanComponent { + export type LicenseFee = Stripe_.V2.Billing.PricingPlanComponent.LicenseFee; + export type RateCard = Stripe_.V2.Billing.PricingPlanComponent.RateCard; + export type ServiceAction = Stripe_.V2.Billing.PricingPlanComponent.ServiceAction; + export type Type = Stripe_.V2.Billing.PricingPlanComponent.Type; } - export namespace ServiceActionUpdateParams { - export type CreditGrant = Stripe.V2.Billing.ServiceActionUpdateParams.CreditGrant; - export type CreditGrantPerTenant = Stripe.V2.Billing.ServiceActionUpdateParams.CreditGrantPerTenant; + export namespace RateCardRate { + export type CustomPricingUnitAmount = Stripe_.V2.Billing.RateCardRate.CustomPricingUnitAmount; + export type TieringMode = Stripe_.V2.Billing.RateCardRate.TieringMode; + export type Tier = Stripe_.V2.Billing.RateCardRate.Tier; + export type TransformQuantity = Stripe_.V2.Billing.RateCardRate.TransformQuantity; + export namespace TransformQuantity { + export type Round = Stripe_.V2.Billing.RateCardRate.TransformQuantity.Round; + } } } export namespace Core { - export type Account = Stripe.V2.Core.Account; - export type AccountCreateParams = Stripe.V2.Core.AccountCreateParams; - export type AccountRetrieveParams = Stripe.V2.Core.AccountRetrieveParams; - export type AccountUpdateParams = Stripe.V2.Core.AccountUpdateParams; - export type AccountListParams = Stripe.V2.Core.AccountListParams; - export type AccountCloseParams = Stripe.V2.Core.AccountCloseParams; - export type AccountResource = Stripe.V2.Core.AccountResource; - export type AccountEvaluation = Stripe.V2.Core.AccountEvaluation; - export type AccountEvaluationCreateParams = Stripe.V2.Core.AccountEvaluationCreateParams; - export type AccountEvaluationResource = Stripe.V2.Core.AccountEvaluationResource; - export type AccountLink = Stripe.V2.Core.AccountLink; - export type AccountLinkCreateParams = Stripe.V2.Core.AccountLinkCreateParams; - export type AccountLinkResource = Stripe.V2.Core.AccountLinkResource; - export type AccountToken = Stripe.V2.Core.AccountToken; - export type AccountTokenCreateParams = Stripe.V2.Core.AccountTokenCreateParams; - export type AccountTokenRetrieveParams = Stripe.V2.Core.AccountTokenRetrieveParams; - export type AccountTokenResource = Stripe.V2.Core.AccountTokenResource; - export type ApprovalRequest = Stripe.V2.Core.ApprovalRequest; - export type ApprovalRequestRetrieveParams = Stripe.V2.Core.ApprovalRequestRetrieveParams; - export type ApprovalRequestListParams = Stripe.V2.Core.ApprovalRequestListParams; - export type ApprovalRequestCancelParams = Stripe.V2.Core.ApprovalRequestCancelParams; - export type ApprovalRequestExecuteParams = Stripe.V2.Core.ApprovalRequestExecuteParams; - export type ApprovalRequestSubmitParams = Stripe.V2.Core.ApprovalRequestSubmitParams; - export type ApprovalRequestResource = Stripe.V2.Core.ApprovalRequestResource; - export type BatchJob = Stripe.V2.Core.BatchJob; - export type BatchJobCreateParams = Stripe.V2.Core.BatchJobCreateParams; - export type BatchJobRetrieveParams = Stripe.V2.Core.BatchJobRetrieveParams; - export type BatchJobCancelParams = Stripe.V2.Core.BatchJobCancelParams; - export type BatchJobResource = Stripe.V2.Core.BatchJobResource; - export type ClaimableSandbox = Stripe.V2.Core.ClaimableSandbox; - export type ClaimableSandboxCreateParams = Stripe.V2.Core.ClaimableSandboxCreateParams; - export type ClaimableSandboxRetrieveParams = Stripe.V2.Core.ClaimableSandboxRetrieveParams; - export type ClaimableSandboxRenewOnboardingLinkParams = Stripe.V2.Core.ClaimableSandboxRenewOnboardingLinkParams; - export type ClaimableSandboxResource = Stripe.V2.Core.ClaimableSandboxResource; - export type ConnectionSession = Stripe.V2.Core.ConnectionSession; - export type ConnectionSessionCreateParams = Stripe.V2.Core.ConnectionSessionCreateParams; - export type ConnectionSessionRetrieveParams = Stripe.V2.Core.ConnectionSessionRetrieveParams; - export type ConnectionSessionResource = Stripe.V2.Core.ConnectionSessionResource; - export type Event = Stripe.V2.Core.Event; - export type EventBase = Stripe.V2.Core.EventBase; - export type EventNotification = Stripe.V2.Core.EventNotification; - export type EventRetrieveParams = Stripe.V2.Core.EventRetrieveParams; - export type EventListParams = Stripe.V2.Core.EventListParams; - export type EventResource = Stripe.V2.Core.EventResource; - export type EventDestination = Stripe.V2.Core.EventDestination; - export type EventDestinationCreateParams = Stripe.V2.Core.EventDestinationCreateParams; - export type EventDestinationRetrieveParams = Stripe.V2.Core.EventDestinationRetrieveParams; - export type EventDestinationUpdateParams = Stripe.V2.Core.EventDestinationUpdateParams; - export type EventDestinationListParams = Stripe.V2.Core.EventDestinationListParams; - export type EventDestinationDeleteParams = Stripe.V2.Core.EventDestinationDeleteParams; - export type EventDestinationDisableParams = Stripe.V2.Core.EventDestinationDisableParams; - export type EventDestinationEnableParams = Stripe.V2.Core.EventDestinationEnableParams; - export type EventDestinationPingParams = Stripe.V2.Core.EventDestinationPingParams; - export type EventDestinationResource = Stripe.V2.Core.EventDestinationResource; - export type FeeBatch = Stripe.V2.Core.FeeBatch; - export type FeeBatchRetrieveParams = Stripe.V2.Core.FeeBatchRetrieveParams; - export type FeeBatchListParams = Stripe.V2.Core.FeeBatchListParams; - export type FeeBatchResource = Stripe.V2.Core.FeeBatchResource; - export type FeeEntry = Stripe.V2.Core.FeeEntry; - export type FeeEntryRetrieveParams = Stripe.V2.Core.FeeEntryRetrieveParams; - export type FeeEntryListParams = Stripe.V2.Core.FeeEntryListParams; - export type FeeEntryResource = Stripe.V2.Core.FeeEntryResource; - export type AccountPersonToken = Stripe.V2.Core.AccountPersonToken; - export type AccountPerson = Stripe.V2.Core.AccountPerson; + export type Account = Stripe_.V2.Core.Account; + export type AccountCreateParams = Stripe_.V2.Core.AccountCreateParams; + export type AccountRetrieveParams = Stripe_.V2.Core.AccountRetrieveParams; + export type AccountUpdateParams = Stripe_.V2.Core.AccountUpdateParams; + export type AccountListParams = Stripe_.V2.Core.AccountListParams; + export type AccountCloseParams = Stripe_.V2.Core.AccountCloseParams; + export type AccountResource = Stripe_.V2.Core.AccountResource; + export type AccountEvaluation = Stripe_.V2.Core.AccountEvaluation; + export type AccountEvaluationCreateParams = Stripe_.V2.Core.AccountEvaluationCreateParams; + export type AccountEvaluationResource = Stripe_.V2.Core.AccountEvaluationResource; + export type AccountLink = Stripe_.V2.Core.AccountLink; + export type AccountLinkCreateParams = Stripe_.V2.Core.AccountLinkCreateParams; + export type AccountLinkResource = Stripe_.V2.Core.AccountLinkResource; + export type AccountToken = Stripe_.V2.Core.AccountToken; + export type AccountTokenCreateParams = Stripe_.V2.Core.AccountTokenCreateParams; + export type AccountTokenRetrieveParams = Stripe_.V2.Core.AccountTokenRetrieveParams; + export type AccountTokenResource = Stripe_.V2.Core.AccountTokenResource; + export type ApprovalRequest = Stripe_.V2.Core.ApprovalRequest; + export type ApprovalRequestRetrieveParams = Stripe_.V2.Core.ApprovalRequestRetrieveParams; + export type ApprovalRequestListParams = Stripe_.V2.Core.ApprovalRequestListParams; + export type ApprovalRequestCancelParams = Stripe_.V2.Core.ApprovalRequestCancelParams; + export type ApprovalRequestExecuteParams = Stripe_.V2.Core.ApprovalRequestExecuteParams; + export type ApprovalRequestSubmitParams = Stripe_.V2.Core.ApprovalRequestSubmitParams; + export type ApprovalRequestResource = Stripe_.V2.Core.ApprovalRequestResource; + export type BatchJob = Stripe_.V2.Core.BatchJob; + export type BatchJobCreateParams = Stripe_.V2.Core.BatchJobCreateParams; + export type BatchJobRetrieveParams = Stripe_.V2.Core.BatchJobRetrieveParams; + export type BatchJobCancelParams = Stripe_.V2.Core.BatchJobCancelParams; + export type BatchJobResource = Stripe_.V2.Core.BatchJobResource; + export type ClaimableSandbox = Stripe_.V2.Core.ClaimableSandbox; + export type ClaimableSandboxCreateParams = Stripe_.V2.Core.ClaimableSandboxCreateParams; + export type ClaimableSandboxRetrieveParams = Stripe_.V2.Core.ClaimableSandboxRetrieveParams; + export type ClaimableSandboxRenewOnboardingLinkParams = Stripe_.V2.Core.ClaimableSandboxRenewOnboardingLinkParams; + export type ClaimableSandboxResource = Stripe_.V2.Core.ClaimableSandboxResource; + export type ConnectionSession = Stripe_.V2.Core.ConnectionSession; + export type ConnectionSessionCreateParams = Stripe_.V2.Core.ConnectionSessionCreateParams; + export type ConnectionSessionRetrieveParams = Stripe_.V2.Core.ConnectionSessionRetrieveParams; + export type ConnectionSessionResource = Stripe_.V2.Core.ConnectionSessionResource; + export type Event = Stripe_.V2.Core.Event; + export type EventBase = Stripe_.V2.Core.EventBase; + export type EventNotification = Stripe_.V2.Core.EventNotification; + export type EventRetrieveParams = Stripe_.V2.Core.EventRetrieveParams; + export type EventListParams = Stripe_.V2.Core.EventListParams; + export type EventResource = Stripe_.V2.Core.EventResource; + export type EventDestination = Stripe_.V2.Core.EventDestination; + export type EventDestinationCreateParams = Stripe_.V2.Core.EventDestinationCreateParams; + export type EventDestinationRetrieveParams = Stripe_.V2.Core.EventDestinationRetrieveParams; + export type EventDestinationUpdateParams = Stripe_.V2.Core.EventDestinationUpdateParams; + export type EventDestinationListParams = Stripe_.V2.Core.EventDestinationListParams; + export type EventDestinationDeleteParams = Stripe_.V2.Core.EventDestinationDeleteParams; + export type EventDestinationDisableParams = Stripe_.V2.Core.EventDestinationDisableParams; + export type EventDestinationEnableParams = Stripe_.V2.Core.EventDestinationEnableParams; + export type EventDestinationPingParams = Stripe_.V2.Core.EventDestinationPingParams; + export type EventDestinationResource = Stripe_.V2.Core.EventDestinationResource; + export type FeeBatch = Stripe_.V2.Core.FeeBatch; + export type FeeBatchRetrieveParams = Stripe_.V2.Core.FeeBatchRetrieveParams; + export type FeeBatchListParams = Stripe_.V2.Core.FeeBatchListParams; + export type FeeBatchResource = Stripe_.V2.Core.FeeBatchResource; + export type FeeEntry = Stripe_.V2.Core.FeeEntry; + export type FeeEntryRetrieveParams = Stripe_.V2.Core.FeeEntryRetrieveParams; + export type FeeEntryListParams = Stripe_.V2.Core.FeeEntryListParams; + export type FeeEntryResource = Stripe_.V2.Core.FeeEntryResource; + export type AccountPersonToken = Stripe_.V2.Core.AccountPersonToken; + export type AccountPerson = Stripe_.V2.Core.AccountPerson; export namespace AccountCreateParams { export type Configuration = Stripe_.V2.Core.AccountCreateParams.Configuration; export type Dashboard = Stripe_.V2.Core.AccountCreateParams.Dashboard; @@ -6874,9 +21445,137 @@ declare namespace StripeConstructor { export type Identity = Stripe_.V2.Core.AccountCreateParams.Identity; export type Include = Stripe_.V2.Core.AccountCreateParams.Include; export namespace Configuration { + export type CardCreator = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator; export type Customer = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer; export type Merchant = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant; export type Recipient = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient; + export type Storer = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer; + export namespace CardCreator { + export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities; + export namespace Capabilities { + export type Commercial = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial; + export type Consumer = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer; + export namespace Commercial { + export type Celtic = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank; + export type FifthThird = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.FifthThird; + export type Lead = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Lead; + export type Stripe = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Stripe; + export namespace Celtic { + export type ChargeCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard; + export type SpendCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard; + export namespace ChargeCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.Protections.PspMigration; + } + } + export namespace SpendCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.Protections.PspMigration; + } + } + } + export namespace CrossRiverBank { + export type ChargeCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard; + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard; + export type SpendCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard; + export namespace ChargeCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.Protections.PspMigration; + } + } + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.Protections.PspMigration; + } + } + export namespace SpendCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.Protections.PspMigration; + } + } + } + export namespace FifthThird { + export type ChargeCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard; + export namespace ChargeCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.Protections.PspMigration; + } + } + } + export namespace Lead { + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard; + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.Protections.PspMigration; + } + } + } + export namespace Stripe { + export type ChargeCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard; + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard; + export namespace ChargeCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.Protections.PspMigration; + } + } + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.Protections.PspMigration; + } + } + } + } + export namespace Consumer { + export type Celtic = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank; + export type Lead = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Lead; + export namespace Celtic { + export type RevolvingCreditCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard; + export namespace RevolvingCreditCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.Protections.PspMigration; + } + } + } + export namespace CrossRiverBank { + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard; + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.Protections.PspMigration; + } + } + } + export namespace Lead { + export type DebitCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard; + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard; + export namespace DebitCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.Protections.PspMigration; + } + } + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.Protections.PspMigration; + } + } + } + } + } + } export namespace Customer { export type AutomaticIndirectTax = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax; export type Billing = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Billing; @@ -6884,6 +21583,7 @@ declare namespace StripeConstructor { export type Shipping = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Shipping; export namespace AutomaticIndirectTax { export type Exempt = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Exempt; + export type LocationSource = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.LocationSource; } export namespace Billing { export type Invoice = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Billing.Invoice; @@ -6897,6 +21597,12 @@ declare namespace StripeConstructor { } export namespace Capabilities { export type AutomaticIndirectTax = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities.AutomaticIndirectTax; + export namespace AutomaticIndirectTax { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities.AutomaticIndirectTax.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Capabilities.AutomaticIndirectTax.Protections.PspMigration; + } + } } } export namespace Merchant { @@ -6906,6 +21612,7 @@ declare namespace StripeConstructor { export type CardPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.CardPayments; export type KonbiniPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.KonbiniPayments; export type ScriptStatementDescriptor = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor; + export type SmartDisputes = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.SmartDisputes; export type StatementDescriptor = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.StatementDescriptor; export type Support = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Support; export namespace Capabilities { @@ -6953,6 +21660,270 @@ declare namespace StripeConstructor { export type TwintPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.TwintPayments; export type UsBankTransferPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.UsBankTransferPayments; export type ZipPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.ZipPayments; + export namespace AchDebitPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AchDebitPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AchDebitPayments.Protections.PspMigration; + } + } + export namespace AcssDebitPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AcssDebitPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AcssDebitPayments.Protections.PspMigration; + } + } + export namespace AffirmPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AffirmPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AffirmPayments.Protections.PspMigration; + } + } + export namespace AfterpayClearpayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Protections.PspMigration; + } + } + export namespace AlmaPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AlmaPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AlmaPayments.Protections.PspMigration; + } + } + export namespace AmazonPayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AmazonPayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AmazonPayPayments.Protections.PspMigration; + } + } + export namespace AuBecsDebitPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Protections.PspMigration; + } + } + export namespace BacsDebitPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BacsDebitPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BacsDebitPayments.Protections.PspMigration; + } + } + export namespace BancontactPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BancontactPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BancontactPayments.Protections.PspMigration; + } + } + export namespace BlikPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BlikPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BlikPayments.Protections.PspMigration; + } + } + export namespace BoletoPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BoletoPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.BoletoPayments.Protections.PspMigration; + } + } + export namespace CardPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CardPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CardPayments.Protections.PspMigration; + } + } + export namespace CartesBancairesPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CartesBancairesPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CartesBancairesPayments.Protections.PspMigration; + } + } + export namespace CashappPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CashappPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.CashappPayments.Protections.PspMigration; + } + } + export namespace EpsPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.EpsPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.EpsPayments.Protections.PspMigration; + } + } + export namespace FpxPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.FpxPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.FpxPayments.Protections.PspMigration; + } + } + export namespace GbBankTransferPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GbBankTransferPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GbBankTransferPayments.Protections.PspMigration; + } + } + export namespace GrabpayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GrabpayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.GrabpayPayments.Protections.PspMigration; + } + } + export namespace IdealPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.IdealPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.IdealPayments.Protections.PspMigration; + } + } + export namespace JcbPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JcbPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JcbPayments.Protections.PspMigration; + } + } + export namespace JpBankTransferPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JpBankTransferPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.JpBankTransferPayments.Protections.PspMigration; + } + } + export namespace KakaoPayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KakaoPayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KakaoPayPayments.Protections.PspMigration; + } + } + export namespace KlarnaPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KlarnaPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KlarnaPayments.Protections.PspMigration; + } + } + export namespace KonbiniPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KonbiniPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KonbiniPayments.Protections.PspMigration; + } + } + export namespace KrCardPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KrCardPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.KrCardPayments.Protections.PspMigration; + } + } + export namespace LinkPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.LinkPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.LinkPayments.Protections.PspMigration; + } + } + export namespace MobilepayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MobilepayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MobilepayPayments.Protections.PspMigration; + } + } + export namespace MultibancoPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MultibancoPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MultibancoPayments.Protections.PspMigration; + } + } + export namespace MxBankTransferPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MxBankTransferPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.MxBankTransferPayments.Protections.PspMigration; + } + } + export namespace NaverPayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.NaverPayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.NaverPayPayments.Protections.PspMigration; + } + } + export namespace OxxoPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.OxxoPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.OxxoPayments.Protections.PspMigration; + } + } + export namespace P24Payments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.P24Payments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.P24Payments.Protections.PspMigration; + } + } + export namespace PayByBankPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PayByBankPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PayByBankPayments.Protections.PspMigration; + } + } + export namespace PaycoPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaycoPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaycoPayments.Protections.PspMigration; + } + } + export namespace PaynowPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaynowPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PaynowPayments.Protections.PspMigration; + } + } + export namespace PromptpayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PromptpayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.PromptpayPayments.Protections.PspMigration; + } + } + export namespace RevolutPayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.RevolutPayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.RevolutPayPayments.Protections.PspMigration; + } + } + export namespace SamsungPayPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SamsungPayPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SamsungPayPayments.Protections.PspMigration; + } + } + export namespace SepaBankTransferPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Protections.PspMigration; + } + } + export namespace SepaDebitPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaDebitPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SepaDebitPayments.Protections.PspMigration; + } + } + export namespace SwishPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SwishPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SwishPayments.Protections.PspMigration; + } + } + export namespace TwintPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.TwintPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.TwintPayments.Protections.PspMigration; + } + } + export namespace UsBankTransferPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.UsBankTransferPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.UsBankTransferPayments.Protections.PspMigration; + } + } + export namespace ZipPayments { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.ZipPayments.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.ZipPayments.Protections.PspMigration; + } + } } export namespace CardPayments { export type DeclineOn = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.CardPayments.DeclineOn; @@ -6967,6 +21938,12 @@ declare namespace StripeConstructor { export type Kana = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor.Kana; export type Kanji = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.ScriptStatementDescriptor.Kanji; } + export namespace SmartDisputes { + export type AutoRespond = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.SmartDisputes.AutoRespond; + export namespace AutoRespond { + export type Preference = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.SmartDisputes.AutoRespond.Preference; + } + } export namespace Support { export type Address = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Support.Address; } @@ -6974,9 +21951,202 @@ declare namespace StripeConstructor { export namespace Recipient { export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities; export namespace Capabilities { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts; + export type Cards = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.Cards; + export type CryptoWallets = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.CryptoWallets; + export type PaperChecks = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.PaperChecks; export type StripeBalance = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance; + export namespace BankAccounts { + export type Instant = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Instant; + export type Local = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Local; + export type Wire = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Wire; + export namespace Instant { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Instant.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Instant.Protections.PspMigration; + } + } + export namespace Local { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Local.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Local.Protections.PspMigration; + } + } + export namespace Wire { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Wire.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.BankAccounts.Wire.Protections.PspMigration; + } + } + } + export namespace Cards { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.Cards.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.Cards.Protections.PspMigration; + } + } + export namespace CryptoWallets { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.CryptoWallets.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.CryptoWallets.Protections.PspMigration; + } + } + export namespace PaperChecks { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.PaperChecks.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.PaperChecks.Protections.PspMigration; + } + } export namespace StripeBalance { export type StripeTransfers = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; + export namespace StripeTransfers { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Protections.PspMigration; + } + } + } + } + } + export namespace Storer { + export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities; + export type HighRiskActivity = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.HighRiskActivity; + export type PurposeOfFunds = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.PurposeOfFunds; + export type RegulatedActivity = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.RegulatedActivity; + export type SourceOfFunds = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.SourceOfFunds; + export namespace Capabilities { + export type Consumer = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.Consumer; + export type FinancialAddresses = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.FinancialAddresses; + export type HoldsCurrencies = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies; + export type InboundTransfers = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.InboundTransfers; + export type OutboundPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments; + export type OutboundTransfers = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers; + export namespace Consumer { + export type HoldsCurrencies = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies; + export namespace HoldsCurrencies { + export type Usd = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd; + export namespace Usd { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.Protections.PspMigration; + } + } + } + } + export namespace FinancialAddresses { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts; + export type CryptoWallets = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets; + export namespace BankAccounts { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.Protections.PspMigration; + } + } + export namespace CryptoWallets { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.Protections.PspMigration; + } + } + } + export namespace HoldsCurrencies { + export type Eur = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Eur; + export type Gbp = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp; + export type Usd = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Usd; + export type Usdc = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc; + export namespace Eur { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.Protections.PspMigration; + } + } + export namespace Gbp { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.Protections.PspMigration; + } + } + export namespace Usd { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.Protections.PspMigration; + } + } + export namespace Usdc { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.Protections.PspMigration; + } + } + } + export namespace InboundTransfers { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts; + export namespace BankAccounts { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.Protections.PspMigration; + } + } + } + export namespace OutboundPayments { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts; + export type Cards = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.Cards; + export type CryptoWallets = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets; + export type FinancialAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts; + export type PaperChecks = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks; + export namespace BankAccounts { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.Protections.PspMigration; + } + } + export namespace Cards { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.Cards.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.Cards.Protections.PspMigration; + } + } + export namespace CryptoWallets { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.Protections.PspMigration; + } + } + export namespace FinancialAccounts { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.Protections.PspMigration; + } + } + export namespace PaperChecks { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.Protections.PspMigration; + } + } + } + export namespace OutboundTransfers { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts; + export type CryptoWallets = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets; + export type FinancialAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts; + export namespace BankAccounts { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.Protections.PspMigration; + } + } + export namespace CryptoWallets { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.Protections.PspMigration; + } + } + export namespace FinancialAccounts { + export type Protections = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.Protections; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.Protections.PspMigration; + } + } } } } @@ -6988,6 +22158,7 @@ declare namespace StripeConstructor { export namespace Responsibilities { export type FeesCollector = Stripe_.V2.Core.AccountCreateParams.Defaults.Responsibilities.FeesCollector; export type LossesCollector = Stripe_.V2.Core.AccountCreateParams.Defaults.Responsibilities.LossesCollector; + export type RequirementsCollector = Stripe_.V2.Core.AccountCreateParams.Defaults.Responsibilities.RequirementsCollector; } } export namespace Identity { @@ -7006,6 +22177,111 @@ declare namespace StripeConstructor { } export namespace TermsOfService { export type Account = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.Account; + export type CardCreator = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator; + export type ConsumerPrivacyDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.ConsumerPrivacyDisclosures; + export type ConsumerStorer = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.ConsumerStorer; + export type CryptoStorer = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CryptoStorer; + export type Storer = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.Storer; + export namespace CardCreator { + export type Commercial = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial; + export type Consumer = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer; + export namespace Commercial { + export type AccountHolder = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.AccountHolder; + export type Celtic = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank; + export type FifthThird = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird; + export type GlobalAccountHolder = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.GlobalAccountHolder; + export type Lead = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead; + export namespace Celtic { + export type ApplePay = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ApplePay; + export type ChargeCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard; + export type SpendCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard; + export namespace ChargeCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard.BankTerms; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard.Platform; + } + export namespace SpendCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.Platform; + } + } + export namespace CrossRiverBank { + export type ApplePay = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ApplePay; + export type ChargeCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard; + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.PrepaidCard; + export type SpendCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard; + export namespace ChargeCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.Platform; + } + export namespace PrepaidCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.PrepaidCard.BankTerms; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.PrepaidCard.Platform; + } + export namespace SpendCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard.FinancingDisclosures; + } + } + export namespace FifthThird { + export type ApplePay = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird.ApplePay; + export type ChargeCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird.ChargeCard; + export namespace ChargeCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird.ChargeCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird.ChargeCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird.ChargeCard.Platform; + } + } + export namespace Lead { + export type ApplePay = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead.ApplePay; + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead.PrepaidCard; + export namespace PrepaidCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead.PrepaidCard.BankTerms; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead.PrepaidCard.Platform; + } + } + } + export namespace Consumer { + export type AccountHolder = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.AccountHolder; + export type Celtic = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank; + export type GlobalAccountHolder = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.GlobalAccountHolder; + export type Lead = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead; + export namespace Celtic { + export type ApplePay = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.ApplePay; + export type RevolvingCreditCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.RevolvingCreditCard; + export namespace RevolvingCreditCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.RevolvingCreditCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.RevolvingCreditCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.RevolvingCreditCard.Platform; + } + } + export namespace CrossRiverBank { + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank.PrepaidCard; + export namespace PrepaidCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank.PrepaidCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank.PrepaidCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank.PrepaidCard.Platform; + } + } + export namespace Lead { + export type DebitCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.DebitCard; + export type PrepaidCard = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.PrepaidCard; + export namespace DebitCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.DebitCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.DebitCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.DebitCard.Platform; + } + export namespace PrepaidCard { + export type BankTerms = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.PrepaidCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.PrepaidCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.PrepaidCard.Platform; + } + } + } + } } } export namespace BusinessDetails { @@ -7102,9 +22378,254 @@ declare namespace StripeConstructor { export type Identity = Stripe_.V2.Core.Account.Identity; export type Requirements = Stripe_.V2.Core.Account.Requirements; export namespace Configuration { + export type CardCreator = Stripe_.V2.Core.Account.Configuration.CardCreator; export type Customer = Stripe_.V2.Core.Account.Configuration.Customer; export type Merchant = Stripe_.V2.Core.Account.Configuration.Merchant; export type Recipient = Stripe_.V2.Core.Account.Configuration.Recipient; + export type Storer = Stripe_.V2.Core.Account.Configuration.Storer; + export namespace CardCreator { + export type Capabilities = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities; + export namespace Capabilities { + export type Commercial = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial; + export type Consumer = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer; + export namespace Commercial { + export type Celtic = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank; + export type FifthThird = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird; + export type Lead = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead; + export type Stripe = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe; + export namespace Celtic { + export type ChargeCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard; + export type SpendCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard; + export namespace ChargeCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.ChargeCard.StatusDetail.Resolution; + } + } + export namespace SpendCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Celtic.SpendCard.StatusDetail.Resolution; + } + } + } + export namespace CrossRiverBank { + export type ChargeCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard; + export type PrepaidCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard; + export type SpendCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard; + export namespace ChargeCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.ChargeCard.StatusDetail.Resolution; + } + } + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.PrepaidCard.StatusDetail.Resolution; + } + } + export namespace SpendCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.CrossRiverBank.SpendCard.StatusDetail.Resolution; + } + } + } + export namespace FifthThird { + export type ChargeCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard; + export namespace ChargeCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.FifthThird.ChargeCard.StatusDetail.Resolution; + } + } + } + export namespace Lead { + export type PrepaidCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard; + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Lead.PrepaidCard.StatusDetail.Resolution; + } + } + } + export namespace Stripe { + export type ChargeCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard; + export type PrepaidCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard; + export namespace ChargeCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.ChargeCard.StatusDetail.Resolution; + } + } + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Commercial.Stripe.PrepaidCard.StatusDetail.Resolution; + } + } + } + } + export namespace Consumer { + export type Celtic = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank; + export type Lead = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead; + export namespace Celtic { + export type RevolvingCreditCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard; + export namespace RevolvingCreditCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Celtic.RevolvingCreditCard.StatusDetail.Resolution; + } + } + } + export namespace CrossRiverBank { + export type PrepaidCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard; + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.CrossRiverBank.PrepaidCard.StatusDetail.Resolution; + } + } + } + export namespace Lead { + export type DebitCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard; + export type PrepaidCard = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard; + export namespace DebitCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.DebitCard.StatusDetail.Resolution; + } + } + export namespace PrepaidCard { + export type Protections = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.CardCreator.Capabilities.Consumer.Lead.PrepaidCard.StatusDetail.Resolution; + } + } + } + } + } + } export namespace Customer { export type AutomaticIndirectTax = Stripe_.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax; export type Billing = Stripe_.V2.Core.Account.Configuration.Customer.Billing; @@ -7128,8 +22649,15 @@ declare namespace StripeConstructor { export namespace Capabilities { export type AutomaticIndirectTax = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax; export namespace AutomaticIndirectTax { + export type Protections = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Customer.Capabilities.AutomaticIndirectTax.StatusDetail.Resolution; @@ -7148,6 +22676,7 @@ declare namespace StripeConstructor { export type KonbiniPayments = Stripe_.V2.Core.Account.Configuration.Merchant.KonbiniPayments; export type ScriptStatementDescriptor = Stripe_.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor; export type SepaDebitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.SepaDebitPayments; + export type SmartDisputes = Stripe_.V2.Core.Account.Configuration.Merchant.SmartDisputes; export type StatementDescriptor = Stripe_.V2.Core.Account.Configuration.Merchant.StatementDescriptor; export type Support = Stripe_.V2.Core.Account.Configuration.Merchant.Support; export namespace Capabilities { @@ -7197,320 +22726,600 @@ declare namespace StripeConstructor { export type UsBankTransferPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments; export type ZipPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments; export namespace AchDebitPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AchDebitPayments.StatusDetail.Resolution; } } export namespace AcssDebitPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AcssDebitPayments.StatusDetail.Resolution; } } export namespace AffirmPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AffirmPayments.StatusDetail.Resolution; } } export namespace AfterpayClearpayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AfterpayClearpayPayments.StatusDetail.Resolution; } } export namespace AlmaPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AlmaPayments.StatusDetail.Resolution; } } export namespace AmazonPayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AmazonPayPayments.StatusDetail.Resolution; } } export namespace AuBecsDebitPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.AuBecsDebitPayments.StatusDetail.Resolution; } } export namespace BacsDebitPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BacsDebitPayments.StatusDetail.Resolution; } } export namespace BancontactPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BancontactPayments.StatusDetail.Resolution; } } export namespace BlikPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BlikPayments.StatusDetail.Resolution; } } export namespace BoletoPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.BoletoPayments.StatusDetail.Resolution; } } export namespace CardPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CardPayments.StatusDetail.Resolution; } } export namespace CartesBancairesPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CartesBancairesPayments.StatusDetail.Resolution; } } export namespace CashappPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.CashappPayments.StatusDetail.Resolution; } } export namespace EpsPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.EpsPayments.StatusDetail.Resolution; } } export namespace FpxPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.FpxPayments.StatusDetail.Resolution; } } export namespace GbBankTransferPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GbBankTransferPayments.StatusDetail.Resolution; } } export namespace GrabpayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.GrabpayPayments.StatusDetail.Resolution; } } export namespace IdealPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.IdealPayments.StatusDetail.Resolution; } } export namespace JcbPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JcbPayments.StatusDetail.Resolution; } } export namespace JpBankTransferPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.JpBankTransferPayments.StatusDetail.Resolution; } } export namespace KakaoPayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KakaoPayPayments.StatusDetail.Resolution; } } export namespace KlarnaPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KlarnaPayments.StatusDetail.Resolution; } } export namespace KonbiniPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KonbiniPayments.StatusDetail.Resolution; } } export namespace KrCardPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.KrCardPayments.StatusDetail.Resolution; } } export namespace LinkPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.LinkPayments.StatusDetail.Resolution; } } export namespace MobilepayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MobilepayPayments.StatusDetail.Resolution; } } export namespace MultibancoPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MultibancoPayments.StatusDetail.Resolution; } } export namespace MxBankTransferPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.MxBankTransferPayments.StatusDetail.Resolution; } } export namespace NaverPayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.NaverPayPayments.StatusDetail.Resolution; } } export namespace OxxoPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.OxxoPayments.StatusDetail.Resolution; } } export namespace P24Payments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.P24Payments.StatusDetail.Resolution; } } export namespace PayByBankPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PayByBankPayments.StatusDetail.Resolution; } } export namespace PaycoPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaycoPayments.StatusDetail.Resolution; } } export namespace PaynowPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PaynowPayments.StatusDetail.Resolution; } } export namespace PromptpayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.PromptpayPayments.StatusDetail.Resolution; } } export namespace RevolutPayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.RevolutPayPayments.StatusDetail.Resolution; } } export namespace SamsungPayPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SamsungPayPayments.StatusDetail.Resolution; } } export namespace SepaBankTransferPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaBankTransferPayments.StatusDetail.Resolution; } } export namespace SepaDebitPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SepaDebitPayments.StatusDetail.Resolution; @@ -7519,8 +23328,15 @@ declare namespace StripeConstructor { export namespace StripeBalance { export type Payouts = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts; export namespace Payouts { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; @@ -7528,32 +23344,60 @@ declare namespace StripeConstructor { } } export namespace SwishPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SwishPayments.StatusDetail.Resolution; } } export namespace TwintPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.TwintPayments.StatusDetail.Resolution; } } export namespace UsBankTransferPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.UsBankTransferPayments.StatusDetail.Resolution; } } export namespace ZipPayments { + export type Protections = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.Protections; export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.Status; export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.Protections.PspMigration.Status; + } + } export namespace StatusDetail { export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail.Code; export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.ZipPayments.StatusDetail.Resolution; @@ -7568,36 +23412,446 @@ declare namespace StripeConstructor { export namespace Support { export type Hours = Stripe_.V2.Core.Account.Configuration.Merchant.KonbiniPayments.Support.Hours; } - } - export namespace ScriptStatementDescriptor { - export type Kana = Stripe_.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kana; - export type Kanji = Stripe_.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kanji; - } - export namespace Support { - export type Address = Stripe_.V2.Core.Account.Configuration.Merchant.Support.Address; - } - } - export namespace Recipient { - export type Capabilities = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities; - export namespace Capabilities { - export type StripeBalance = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance; - export namespace StripeBalance { - export type Payouts = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts; - export type StripeTransfers = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; - export namespace Payouts { - export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.Status; - export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail; + } + export namespace ScriptStatementDescriptor { + export type Kana = Stripe_.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kana; + export type Kanji = Stripe_.V2.Core.Account.Configuration.Merchant.ScriptStatementDescriptor.Kanji; + } + export namespace SmartDisputes { + export type AutoRespond = Stripe_.V2.Core.Account.Configuration.Merchant.SmartDisputes.AutoRespond; + export namespace AutoRespond { + export type Preference = Stripe_.V2.Core.Account.Configuration.Merchant.SmartDisputes.AutoRespond.Preference; + export type Value = Stripe_.V2.Core.Account.Configuration.Merchant.SmartDisputes.AutoRespond.Value; + } + } + export namespace Support { + export type Address = Stripe_.V2.Core.Account.Configuration.Merchant.Support.Address; + } + } + export namespace Recipient { + export type Capabilities = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities; + export type DefaultOutboundDestination = Stripe_.V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination; + export namespace Capabilities { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts; + export type Cards = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.Cards; + export type CryptoWallets = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.CryptoWallets; + export type PaperChecks = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.PaperChecks; + export type StripeBalance = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance; + export namespace BankAccounts { + export type Instant = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Instant; + export type Local = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Local; + export type Wire = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Wire; + export namespace Instant { + export type Protections = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Instant.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Instant.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Instant.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Instant.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Instant.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Instant.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Instant.StatusDetail.Resolution; + } + } + export namespace Local { + export type Protections = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Local.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Local.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Local.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Local.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Local.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Local.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Local.StatusDetail.Resolution; + } + } + export namespace Wire { + export type Protections = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Wire.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Wire.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Wire.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Wire.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Wire.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Wire.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.BankAccounts.Wire.StatusDetail.Resolution; + } + } + } + export namespace Cards { + export type Protections = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.Cards.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.Cards.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.Cards.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.Cards.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.Cards.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.Cards.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.Cards.StatusDetail.Resolution; + } + } + export namespace CryptoWallets { + export type Protections = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.CryptoWallets.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.CryptoWallets.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.CryptoWallets.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.CryptoWallets.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.CryptoWallets.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.CryptoWallets.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.CryptoWallets.StatusDetail.Resolution; + } + } + export namespace PaperChecks { + export type Protections = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.PaperChecks.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.PaperChecks.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.PaperChecks.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.PaperChecks.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.PaperChecks.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.PaperChecks.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.PaperChecks.StatusDetail.Resolution; + } + } + export namespace StripeBalance { + export type Payouts = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts; + export type StripeTransfers = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers; + export namespace Payouts { + export type Protections = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; + } + } + export namespace StripeTransfers { + export type Protections = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Resolution; + } + } + } + } + export namespace DefaultOutboundDestination { + export type Type = Stripe_.V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.Type; + } + } + export namespace Storer { + export type Capabilities = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities; + export type HighRiskActivity = Stripe_.V2.Core.Account.Configuration.Storer.HighRiskActivity; + export type PurposeOfFunds = Stripe_.V2.Core.Account.Configuration.Storer.PurposeOfFunds; + export type RegulatedActivity = Stripe_.V2.Core.Account.Configuration.Storer.RegulatedActivity; + export type SourceOfFunds = Stripe_.V2.Core.Account.Configuration.Storer.SourceOfFunds; + export namespace Capabilities { + export type Consumer = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer; + export type FinancialAddresses = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses; + export type HoldsCurrencies = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies; + export type InboundTransfers = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers; + export type OutboundPayments = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments; + export type OutboundTransfers = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers; + export namespace Consumer { + export type HoldsCurrencies = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies; + export namespace HoldsCurrencies { + export type Usd = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd; + export namespace Usd { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.Consumer.HoldsCurrencies.Usd.StatusDetail.Resolution; + } + } + } + } + export namespace FinancialAddresses { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts; + export type CryptoWallets = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets; + export namespace BankAccounts { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts.StatusDetail.Resolution; + } + } + export namespace CryptoWallets { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.CryptoWallets.StatusDetail.Resolution; + } + } + } + export namespace HoldsCurrencies { + export type Eur = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur; + export type Gbp = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp; + export type Usd = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usd; + export type Usdc = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc; + export namespace Eur { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.StatusDetail.Resolution; + } + } + export namespace Gbp { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Gbp.StatusDetail.Resolution; + } + } + export namespace Usd { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usd.StatusDetail.Resolution; + } + } + export namespace Usdc { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.HoldsCurrencies.Usdc.StatusDetail.Resolution; + } + } + } + export namespace InboundTransfers { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts; + export namespace BankAccounts { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts.StatusDetail.Resolution; + } + } + } + export namespace OutboundPayments { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts; + export type Cards = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.Cards; + export type CryptoWallets = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets; + export type FinancialAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts; + export type PaperChecks = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks; + export namespace BankAccounts { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.BankAccounts.StatusDetail.Resolution; + } + } + export namespace Cards { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.Cards.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.Cards.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.Cards.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.Cards.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.Cards.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.Cards.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.Cards.StatusDetail.Resolution; + } + } + export namespace CryptoWallets { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.CryptoWallets.StatusDetail.Resolution; + } + } + export namespace FinancialAccounts { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts.StatusDetail.Resolution; + } + } + export namespace PaperChecks { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.PaperChecks.StatusDetail.Resolution; + } + } + } + export namespace OutboundTransfers { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts; + export type CryptoWallets = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets; + export type FinancialAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts; + export namespace BankAccounts { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.Protections.PspMigration.Status; + } + } export namespace StatusDetail { - export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Code; - export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.Payouts.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts.StatusDetail.Resolution; } } - export namespace StripeTransfers { - export type Status = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.Status; - export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail; + export namespace CryptoWallets { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.Protections.PspMigration.Status; + } + } export namespace StatusDetail { - export type Code = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Code; - export type Resolution = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities.StripeBalance.StripeTransfers.StatusDetail.Resolution; + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.CryptoWallets.StatusDetail.Resolution; + } + } + export namespace FinancialAccounts { + export type Protections = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.Protections; + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.StatusDetail; + export namespace Protections { + export type PspMigration = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.Protections.PspMigration; + export namespace PspMigration { + export type Status = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.Protections.PspMigration.Status; + } + } + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts.StatusDetail.Resolution; } } } @@ -7671,6 +23925,107 @@ declare namespace StripeConstructor { } export namespace TermsOfService { export type Account = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.Account; + export type CardCreator = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator; + export type ConsumerPrivacyDisclosures = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.ConsumerPrivacyDisclosures; + export type ConsumerStorer = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.ConsumerStorer; + export type CryptoStorer = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CryptoStorer; + export type Storer = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.Storer; + export namespace CardCreator { + export type Commercial = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial; + export type Consumer = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer; + export namespace Commercial { + export type AccountHolder = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.AccountHolder; + export type Celtic = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank; + export type FifthThird = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird; + export type GlobalAccountHolder = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.GlobalAccountHolder; + export type Lead = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead; + export namespace Celtic { + export type ApplePay = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ApplePay; + export type ChargeCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard; + export type SpendCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard; + export namespace ChargeCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard.BankTerms; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard.Platform; + } + export namespace SpendCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.Platform; + } + } + export namespace CrossRiverBank { + export type ApplePay = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ApplePay; + export type ChargeCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard; + export type PrepaidCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.PrepaidCard; + export type SpendCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard; + export namespace ChargeCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.Platform; + } + export namespace PrepaidCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.PrepaidCard.BankTerms; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.PrepaidCard.Platform; + } + export namespace SpendCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard.FinancingDisclosures; + } + } + export namespace FifthThird { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird.BankTerms; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.FifthThird.Platform; + } + export namespace Lead { + export type ApplePay = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead.ApplePay; + export type PrepaidCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead.PrepaidCard; + export namespace PrepaidCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead.PrepaidCard.BankTerms; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Commercial.Lead.PrepaidCard.Platform; + } + } + } + export namespace Consumer { + export type AccountHolder = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.AccountHolder; + export type Celtic = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank; + export type GlobalAccountHolder = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.GlobalAccountHolder; + export type Lead = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead; + export namespace Celtic { + export type ApplePay = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.ApplePay; + export type RevolvingCreditCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.RevolvingCreditCard; + export namespace RevolvingCreditCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.RevolvingCreditCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.RevolvingCreditCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Celtic.RevolvingCreditCard.Platform; + } + } + export namespace CrossRiverBank { + export type PrepaidCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank.PrepaidCard; + export namespace PrepaidCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank.PrepaidCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank.PrepaidCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.CrossRiverBank.PrepaidCard.Platform; + } + } + export namespace Lead { + export type ApplePay = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.ApplePay; + export type DebitCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.DebitCard; + export type PrepaidCard = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.PrepaidCard; + export namespace DebitCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.DebitCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.DebitCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.DebitCard.Platform; + } + export namespace PrepaidCard { + export type BankTerms = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.PrepaidCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.PrepaidCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.CardCreator.Consumer.Lead.PrepaidCard.Platform; + } + } + } + } } } export namespace BusinessDetails { @@ -7804,13 +24159,38 @@ declare namespace StripeConstructor { } } export namespace AccountEvaluationCreateParams { - export type AccountData = Stripe.V2.Core.AccountEvaluationCreateParams.AccountData; + export type AccountData = Stripe_.V2.Core.AccountEvaluationCreateParams.AccountData; + export namespace AccountData { + export type Defaults = Stripe_.V2.Core.AccountEvaluationCreateParams.AccountData.Defaults; + export type Identity = Stripe_.V2.Core.AccountEvaluationCreateParams.AccountData.Identity; + export namespace Defaults { + export type Profile = Stripe_.V2.Core.AccountEvaluationCreateParams.AccountData.Defaults.Profile; + } + export namespace Identity { + export type BusinessDetails = Stripe_.V2.Core.AccountEvaluationCreateParams.AccountData.Identity.BusinessDetails; + } + } + } + export namespace AccountEvaluation { + export type AccountData = Stripe_.V2.Core.AccountEvaluation.AccountData; + export namespace AccountData { + export type Defaults = Stripe_.V2.Core.AccountEvaluation.AccountData.Defaults; + export type Identity = Stripe_.V2.Core.AccountEvaluation.AccountData.Identity; + export namespace Defaults { + export type Profile = Stripe_.V2.Core.AccountEvaluation.AccountData.Defaults.Profile; + } + export namespace Identity { + export type BusinessDetails = Stripe_.V2.Core.AccountEvaluation.AccountData.Identity.BusinessDetails; + } + } } export namespace AccountLinkCreateParams { export type UseCase = Stripe_.V2.Core.AccountLinkCreateParams.UseCase; export namespace UseCase { export type AccountOnboarding = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding; export type AccountUpdate = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate; + export type RecipientOnboarding = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.RecipientOnboarding; + export type RecipientUpdate = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.RecipientUpdate; export type Type = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.Type; export namespace AccountOnboarding { export type CollectionOptions = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountOnboarding.CollectionOptions; @@ -7828,6 +24208,20 @@ declare namespace StripeConstructor { export type FutureRequirements = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.AccountUpdate.CollectionOptions.FutureRequirements; } } + export namespace RecipientOnboarding { + export type CollectionOptions = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.RecipientOnboarding.CollectionOptions; + export namespace CollectionOptions { + export type Fields = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.RecipientOnboarding.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.RecipientOnboarding.CollectionOptions.FutureRequirements; + } + } + export namespace RecipientUpdate { + export type CollectionOptions = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.RecipientUpdate.CollectionOptions; + export namespace CollectionOptions { + export type Fields = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.RecipientUpdate.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.V2.Core.AccountLinkCreateParams.UseCase.RecipientUpdate.CollectionOptions.FutureRequirements; + } + } } } export namespace AccountLink { @@ -7835,6 +24229,8 @@ declare namespace StripeConstructor { export namespace UseCase { export type AccountOnboarding = Stripe_.V2.Core.AccountLink.UseCase.AccountOnboarding; export type AccountUpdate = Stripe_.V2.Core.AccountLink.UseCase.AccountUpdate; + export type RecipientOnboarding = Stripe_.V2.Core.AccountLink.UseCase.RecipientOnboarding; + export type RecipientUpdate = Stripe_.V2.Core.AccountLink.UseCase.RecipientUpdate; export type Type = Stripe_.V2.Core.AccountLink.UseCase.Type; export namespace AccountOnboarding { export type CollectionOptions = Stripe_.V2.Core.AccountLink.UseCase.AccountOnboarding.CollectionOptions; @@ -7852,6 +24248,20 @@ declare namespace StripeConstructor { export type FutureRequirements = Stripe_.V2.Core.AccountLink.UseCase.AccountUpdate.CollectionOptions.FutureRequirements; } } + export namespace RecipientOnboarding { + export type CollectionOptions = Stripe_.V2.Core.AccountLink.UseCase.RecipientOnboarding.CollectionOptions; + export namespace CollectionOptions { + export type Fields = Stripe_.V2.Core.AccountLink.UseCase.RecipientOnboarding.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.V2.Core.AccountLink.UseCase.RecipientOnboarding.CollectionOptions.FutureRequirements; + } + } + export namespace RecipientUpdate { + export type CollectionOptions = Stripe_.V2.Core.AccountLink.UseCase.RecipientUpdate.CollectionOptions; + export namespace CollectionOptions { + export type Fields = Stripe_.V2.Core.AccountLink.UseCase.RecipientUpdate.CollectionOptions.Fields; + export type FutureRequirements = Stripe_.V2.Core.AccountLink.UseCase.RecipientUpdate.CollectionOptions.FutureRequirements; + } + } } } export namespace AccountTokenCreateParams { @@ -7872,6 +24282,45 @@ declare namespace StripeConstructor { } export namespace TermsOfService { export type Account = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.Account; + export type CardCreator = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator; + export type CryptoStorer = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CryptoStorer; + export type Storer = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.Storer; + export namespace CardCreator { + export type Commercial = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial; + export namespace Commercial { + export type AccountHolder = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.AccountHolder; + export type Celtic = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic; + export type CrossRiverBank = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank; + export namespace Celtic { + export type ApplePay = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ApplePay; + export type ChargeCard = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard; + export type SpendCard = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard; + export namespace ChargeCard { + export type BankTerms = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard.BankTerms; + export type Platform = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.ChargeCard.Platform; + } + export namespace SpendCard { + export type BankTerms = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.Celtic.SpendCard.Platform; + } + } + export namespace CrossRiverBank { + export type ApplePay = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ApplePay; + export type ChargeCard = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard; + export type SpendCard = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard; + export namespace ChargeCard { + export type BankTerms = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.FinancingDisclosures; + export type Platform = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.ChargeCard.Platform; + } + export namespace SpendCard { + export type BankTerms = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard.BankTerms; + export type FinancingDisclosures = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.CardCreator.Commercial.CrossRiverBank.SpendCard.FinancingDisclosures; + } + } + } + } } } export namespace BusinessDetails { @@ -7949,24 +24398,126 @@ declare namespace StripeConstructor { } } } - export namespace Event { - export type Changes = Stripe_.V2.Core.Event.Changes; - export type Reason = Stripe_.V2.Core.Event.Reason; - export namespace Reason { - export type Request = Stripe_.V2.Core.Event.Reason.Request; + export namespace ApprovalRequest { + export type Action = Stripe_.V2.Core.ApprovalRequest.Action; + export type RequestedBy = Stripe_.V2.Core.ApprovalRequest.RequestedBy; + export type Review = Stripe_.V2.Core.ApprovalRequest.Review; + export type Rule = Stripe_.V2.Core.ApprovalRequest.Rule; + export type Status = Stripe_.V2.Core.ApprovalRequest.Status; + export type StatusDetails = Stripe_.V2.Core.ApprovalRequest.StatusDetails; + export type StatusTransitions = Stripe_.V2.Core.ApprovalRequest.StatusTransitions; + export namespace Review { + export type Result = Stripe_.V2.Core.ApprovalRequest.Review.Result; + export type ReviewedBy = Stripe_.V2.Core.ApprovalRequest.Review.ReviewedBy; + } + export namespace StatusDetails { + export type Approved = Stripe_.V2.Core.ApprovalRequest.StatusDetails.Approved; + export type Canceled = Stripe_.V2.Core.ApprovalRequest.StatusDetails.Canceled; + export type ExecutionFailed = Stripe_.V2.Core.ApprovalRequest.StatusDetails.ExecutionFailed; + export type ExecutionStarted = Stripe_.V2.Core.ApprovalRequest.StatusDetails.ExecutionStarted; + export type ExecutionSucceeded = Stripe_.V2.Core.ApprovalRequest.StatusDetails.ExecutionSucceeded; + export type Expired = Stripe_.V2.Core.ApprovalRequest.StatusDetails.Expired; + export type Failed = Stripe_.V2.Core.ApprovalRequest.StatusDetails.Failed; + export type Pending = Stripe_.V2.Core.ApprovalRequest.StatusDetails.Pending; + export type Rejected = Stripe_.V2.Core.ApprovalRequest.StatusDetails.Rejected; + export type Succeeded = Stripe_.V2.Core.ApprovalRequest.StatusDetails.Succeeded; + export namespace ExecutionSucceeded { + export type Result = Stripe_.V2.Core.ApprovalRequest.StatusDetails.ExecutionSucceeded.Result; + } + export namespace Succeeded { + export type Result = Stripe_.V2.Core.ApprovalRequest.StatusDetails.Succeeded.Result; + } } } export namespace BatchJobCreateParams { - export type Endpoint = Stripe.V2.Core.BatchJobCreateParams.Endpoint; - export type NotificationSuppression = Stripe.V2.Core.BatchJobCreateParams.NotificationSuppression; + export type Endpoint = Stripe_.V2.Core.BatchJobCreateParams.Endpoint; + export type NotificationSuppression = Stripe_.V2.Core.BatchJobCreateParams.NotificationSuppression; + export namespace Endpoint { + export type HttpMethod = Stripe_.V2.Core.BatchJobCreateParams.Endpoint.HttpMethod; + export type Path = Stripe_.V2.Core.BatchJobCreateParams.Endpoint.Path; + } + export namespace NotificationSuppression { + export type Scope = Stripe_.V2.Core.BatchJobCreateParams.NotificationSuppression.Scope; + } + } + export namespace BatchJob { + export type Status = Stripe_.V2.Core.BatchJob.Status; + export type StatusDetails = Stripe_.V2.Core.BatchJob.StatusDetails; + export namespace StatusDetails { + export type BatchFailed = Stripe_.V2.Core.BatchJob.StatusDetails.BatchFailed; + export type Canceled = Stripe_.V2.Core.BatchJob.StatusDetails.Canceled; + export type Complete = Stripe_.V2.Core.BatchJob.StatusDetails.Complete; + export type InProgress = Stripe_.V2.Core.BatchJob.StatusDetails.InProgress; + export type ReadyForUpload = Stripe_.V2.Core.BatchJob.StatusDetails.ReadyForUpload; + export type Timeout = Stripe_.V2.Core.BatchJob.StatusDetails.Timeout; + export type Validating = Stripe_.V2.Core.BatchJob.StatusDetails.Validating; + export type ValidationFailed = Stripe_.V2.Core.BatchJob.StatusDetails.ValidationFailed; + export namespace Canceled { + export type OutputFile = Stripe_.V2.Core.BatchJob.StatusDetails.Canceled.OutputFile; + export namespace OutputFile { + export type DownloadUrl = Stripe_.V2.Core.BatchJob.StatusDetails.Canceled.OutputFile.DownloadUrl; + } + } + export namespace Complete { + export type OutputFile = Stripe_.V2.Core.BatchJob.StatusDetails.Complete.OutputFile; + export namespace OutputFile { + export type DownloadUrl = Stripe_.V2.Core.BatchJob.StatusDetails.Complete.OutputFile.DownloadUrl; + } + } + export namespace ReadyForUpload { + export type UploadUrl = Stripe_.V2.Core.BatchJob.StatusDetails.ReadyForUpload.UploadUrl; + } + export namespace Timeout { + export type OutputFile = Stripe_.V2.Core.BatchJob.StatusDetails.Timeout.OutputFile; + export namespace OutputFile { + export type DownloadUrl = Stripe_.V2.Core.BatchJob.StatusDetails.Timeout.OutputFile.DownloadUrl; + } + } + export namespace ValidationFailed { + export type OutputFile = Stripe_.V2.Core.BatchJob.StatusDetails.ValidationFailed.OutputFile; + export namespace OutputFile { + export type DownloadUrl = Stripe_.V2.Core.BatchJob.StatusDetails.ValidationFailed.OutputFile.DownloadUrl; + } + } + } } export namespace ClaimableSandboxCreateParams { - export type OnboardingLinkDetails = Stripe.V2.Core.ClaimableSandboxCreateParams.OnboardingLinkDetails; - export type Prefill = Stripe.V2.Core.ClaimableSandboxCreateParams.Prefill; - export type AppChannel = Stripe.V2.Core.ClaimableSandboxCreateParams.AppChannel; + export type OnboardingLinkDetails = Stripe_.V2.Core.ClaimableSandboxCreateParams.OnboardingLinkDetails; + export type Prefill = Stripe_.V2.Core.ClaimableSandboxCreateParams.Prefill; + export type AppChannel = Stripe_.V2.Core.ClaimableSandboxCreateParams.AppChannel; + } + export namespace ClaimableSandbox { + export type AppChannel = Stripe_.V2.Core.ClaimableSandbox.AppChannel; + export type OnboardingLinkDetails = Stripe_.V2.Core.ClaimableSandbox.OnboardingLinkDetails; + export type OwnerDetails = Stripe_.V2.Core.ClaimableSandbox.OwnerDetails; + export type Prefill = Stripe_.V2.Core.ClaimableSandbox.Prefill; + export type SandboxDetails = Stripe_.V2.Core.ClaimableSandbox.SandboxDetails; + export type Status = Stripe_.V2.Core.ClaimableSandbox.Status; + export namespace OwnerDetails { + export type AppInstallStatus = Stripe_.V2.Core.ClaimableSandbox.OwnerDetails.AppInstallStatus; + } + export namespace SandboxDetails { + export type ApiKeys = Stripe_.V2.Core.ClaimableSandbox.SandboxDetails.ApiKeys; + } + } + export namespace ConnectionSession { + export type Connection = Stripe_.V2.Core.ConnectionSession.Connection; } - export namespace ClaimableSandboxRenewOnboardingLinkParams { - export type OnboardingLinkDetails = Stripe.V2.Core.ClaimableSandboxRenewOnboardingLinkParams.OnboardingLinkDetails; + export namespace Event { + export type Changes = Stripe_.V2.Core.Event.Changes; + export type Reason = Stripe_.V2.Core.Event.Reason; + export namespace Reason { + export type Request = Stripe_.V2.Core.Event.Reason.Request; + export namespace Request { + export type Client = Stripe_.V2.Core.Event.Reason.Request.Client; + export namespace Client { + export type ApiKey = Stripe_.V2.Core.Event.Reason.Request.Client.ApiKey; + export type DashboardUser = Stripe_.V2.Core.Event.Reason.Request.Client.DashboardUser; + export type StripeAction = Stripe_.V2.Core.Event.Reason.Request.Client.StripeAction; + export type Type = Stripe_.V2.Core.Event.Reason.Request.Client.Type; + } + } + } } export namespace EventDestinationCreateParams { export type EventPayload = Stripe_.V2.Core.EventDestinationCreateParams.EventPayload; @@ -7997,6 +24548,49 @@ declare namespace StripeConstructor { } } } + export namespace FeeBatch { + export type Adjustments = Stripe_.V2.Core.FeeBatch.Adjustments; + export type Amount = Stripe_.V2.Core.FeeBatch.Amount; + export type CollectedBy = Stripe_.V2.Core.FeeBatch.CollectedBy; + export type CollectionRecord = Stripe_.V2.Core.FeeBatch.CollectionRecord; + export type Status = Stripe_.V2.Core.FeeBatch.Status; + export type StatusTransitions = Stripe_.V2.Core.FeeBatch.StatusTransitions; + export type Tax = Stripe_.V2.Core.FeeBatch.Tax; + export namespace Adjustments { + export type TaxAdjustment = Stripe_.V2.Core.FeeBatch.Adjustments.TaxAdjustment; + } + export namespace CollectedBy { + export type Type = Stripe_.V2.Core.FeeBatch.CollectedBy.Type; + } + export namespace CollectionRecord { + export type Amount = Stripe_.V2.Core.FeeBatch.CollectionRecord.Amount; + export type Tax = Stripe_.V2.Core.FeeBatch.CollectionRecord.Tax; + export type Type = Stripe_.V2.Core.FeeBatch.CollectionRecord.Type; + export namespace Tax { + export type Amount = Stripe_.V2.Core.FeeBatch.CollectionRecord.Tax.Amount; + } + } + export namespace Tax { + export type Amount = Stripe_.V2.Core.FeeBatch.Tax.Amount; + } + } + export namespace FeeEntry { + export type Amount = Stripe_.V2.Core.FeeEntry.Amount; + export type ChargedBy = Stripe_.V2.Core.FeeEntry.ChargedBy; + export type IncurredBy = Stripe_.V2.Core.FeeEntry.IncurredBy; + export type Reason = Stripe_.V2.Core.FeeEntry.Reason; + export type Tax = Stripe_.V2.Core.FeeEntry.Tax; + export type Type = Stripe_.V2.Core.FeeEntry.Type; + export namespace ChargedBy { + export type Application = Stripe_.V2.Core.FeeEntry.ChargedBy.Application; + export type Network = Stripe_.V2.Core.FeeEntry.ChargedBy.Network; + export type Stripe = Stripe_.V2.Core.FeeEntry.ChargedBy.Stripe; + export type Type = Stripe_.V2.Core.FeeEntry.ChargedBy.Type; + } + export namespace Tax { + export type Amount = Stripe_.V2.Core.FeeEntry.Tax.Amount; + } + } export namespace AccountPerson { export type AdditionalAddress = Stripe_.V2.Core.AccountPerson.AdditionalAddress; export type AdditionalName = Stripe_.V2.Core.AccountPerson.AdditionalName; @@ -8042,345 +24636,934 @@ declare namespace StripeConstructor { } } export namespace Vault { - export type GbBankAccount = Stripe.V2.Core.Vault.GbBankAccount; - export type GbBankAccountCreateParams = Stripe.V2.Core.Vault.GbBankAccountCreateParams; - export type GbBankAccountRetrieveParams = Stripe.V2.Core.Vault.GbBankAccountRetrieveParams; - export type GbBankAccountListParams = Stripe.V2.Core.Vault.GbBankAccountListParams; - export type GbBankAccountAcknowledgeConfirmationOfPayeeParams = Stripe.V2.Core.Vault.GbBankAccountAcknowledgeConfirmationOfPayeeParams; - export type GbBankAccountArchiveParams = Stripe.V2.Core.Vault.GbBankAccountArchiveParams; - export type GbBankAccountInitiateConfirmationOfPayeeParams = Stripe.V2.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams; - export type GbBankAccountResource = Stripe.V2.Core.Vault.GbBankAccountResource; - export type UsBankAccount = Stripe.V2.Core.Vault.UsBankAccount; - export type UsBankAccountCreateParams = Stripe.V2.Core.Vault.UsBankAccountCreateParams; - export type UsBankAccountRetrieveParams = Stripe.V2.Core.Vault.UsBankAccountRetrieveParams; - export type UsBankAccountUpdateParams = Stripe.V2.Core.Vault.UsBankAccountUpdateParams; - export type UsBankAccountListParams = Stripe.V2.Core.Vault.UsBankAccountListParams; - export type UsBankAccountArchiveParams = Stripe.V2.Core.Vault.UsBankAccountArchiveParams; - export type UsBankAccountConfirmMicrodepositsParams = Stripe.V2.Core.Vault.UsBankAccountConfirmMicrodepositsParams; - export type UsBankAccountSendMicrodepositsParams = Stripe.V2.Core.Vault.UsBankAccountSendMicrodepositsParams; - export type UsBankAccountResource = Stripe.V2.Core.Vault.UsBankAccountResource; + export type GbBankAccount = Stripe_.V2.Core.Vault.GbBankAccount; + export type GbBankAccountCreateParams = Stripe_.V2.Core.Vault.GbBankAccountCreateParams; + export type GbBankAccountRetrieveParams = Stripe_.V2.Core.Vault.GbBankAccountRetrieveParams; + export type GbBankAccountListParams = Stripe_.V2.Core.Vault.GbBankAccountListParams; + export type GbBankAccountAcknowledgeConfirmationOfPayeeParams = Stripe_.V2.Core.Vault.GbBankAccountAcknowledgeConfirmationOfPayeeParams; + export type GbBankAccountArchiveParams = Stripe_.V2.Core.Vault.GbBankAccountArchiveParams; + export type GbBankAccountInitiateConfirmationOfPayeeParams = Stripe_.V2.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams; + export type GbBankAccountResource = Stripe_.V2.Core.Vault.GbBankAccountResource; + export type UsBankAccount = Stripe_.V2.Core.Vault.UsBankAccount; + export type UsBankAccountCreateParams = Stripe_.V2.Core.Vault.UsBankAccountCreateParams; + export type UsBankAccountRetrieveParams = Stripe_.V2.Core.Vault.UsBankAccountRetrieveParams; + export type UsBankAccountUpdateParams = Stripe_.V2.Core.Vault.UsBankAccountUpdateParams; + export type UsBankAccountListParams = Stripe_.V2.Core.Vault.UsBankAccountListParams; + export type UsBankAccountArchiveParams = Stripe_.V2.Core.Vault.UsBankAccountArchiveParams; + export type UsBankAccountConfirmMicrodepositsParams = Stripe_.V2.Core.Vault.UsBankAccountConfirmMicrodepositsParams; + export type UsBankAccountSendMicrodepositsParams = Stripe_.V2.Core.Vault.UsBankAccountSendMicrodepositsParams; + export type UsBankAccountResource = Stripe_.V2.Core.Vault.UsBankAccountResource; export namespace GbBankAccountCreateParams { - export type BankAccountType = Stripe.V2.Core.Vault.GbBankAccountCreateParams.BankAccountType; - export type ConfirmationOfPayee = Stripe.V2.Core.Vault.GbBankAccountCreateParams.ConfirmationOfPayee; + export type BankAccountType = Stripe_.V2.Core.Vault.GbBankAccountCreateParams.BankAccountType; + export type ConfirmationOfPayee = Stripe_.V2.Core.Vault.GbBankAccountCreateParams.ConfirmationOfPayee; + export namespace ConfirmationOfPayee { + export type BusinessType = Stripe_.V2.Core.Vault.GbBankAccountCreateParams.ConfirmationOfPayee.BusinessType; + } } - export namespace GbBankAccountInitiateConfirmationOfPayeeParams { - export type BusinessType = Stripe.V2.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams.BusinessType; + export namespace GbBankAccount { + export type AlternativeReference = Stripe_.V2.Core.Vault.GbBankAccount.AlternativeReference; + export type BankAccountType = Stripe_.V2.Core.Vault.GbBankAccount.BankAccountType; + export type ConfirmationOfPayee = Stripe_.V2.Core.Vault.GbBankAccount.ConfirmationOfPayee; + export namespace AlternativeReference { + export type Type = Stripe_.V2.Core.Vault.GbBankAccount.AlternativeReference.Type; + } + export namespace ConfirmationOfPayee { + export type Result = Stripe_.V2.Core.Vault.GbBankAccount.ConfirmationOfPayee.Result; + export type Status = Stripe_.V2.Core.Vault.GbBankAccount.ConfirmationOfPayee.Status; + export namespace Result { + export type MatchResult = Stripe_.V2.Core.Vault.GbBankAccount.ConfirmationOfPayee.Result.MatchResult; + export type Matched = Stripe_.V2.Core.Vault.GbBankAccount.ConfirmationOfPayee.Result.Matched; + export type Provided = Stripe_.V2.Core.Vault.GbBankAccount.ConfirmationOfPayee.Result.Provided; + export namespace Matched { + export type BusinessType = Stripe_.V2.Core.Vault.GbBankAccount.ConfirmationOfPayee.Result.Matched.BusinessType; + } + export namespace Provided { + export type BusinessType = Stripe_.V2.Core.Vault.GbBankAccount.ConfirmationOfPayee.Result.Provided.BusinessType; + } + } + } } export namespace UsBankAccountCreateParams { - export type BankAccountType = Stripe.V2.Core.Vault.UsBankAccountCreateParams.BankAccountType; + export type BankAccountType = Stripe_.V2.Core.Vault.UsBankAccountCreateParams.BankAccountType; + } + export namespace UsBankAccount { + export type AlternativeReference = Stripe_.V2.Core.Vault.UsBankAccount.AlternativeReference; + export type BankAccountType = Stripe_.V2.Core.Vault.UsBankAccount.BankAccountType; + export type Verification = Stripe_.V2.Core.Vault.UsBankAccount.Verification; + export namespace AlternativeReference { + export type Type = Stripe_.V2.Core.Vault.UsBankAccount.AlternativeReference.Type; + } + export namespace Verification { + export type MicrodepositVerificationDetails = Stripe_.V2.Core.Vault.UsBankAccount.Verification.MicrodepositVerificationDetails; + export type Status = Stripe_.V2.Core.Vault.UsBankAccount.Verification.Status; + export namespace MicrodepositVerificationDetails { + export type MicrodepositType = Stripe_.V2.Core.Vault.UsBankAccount.Verification.MicrodepositVerificationDetails.MicrodepositType; + } + } } } } export namespace Data { export namespace Reporting { - export type QueryRun = Stripe.V2.Data.Reporting.QueryRun; - export type QueryRunCreateParams = Stripe.V2.Data.Reporting.QueryRunCreateParams; - export type QueryRunRetrieveParams = Stripe.V2.Data.Reporting.QueryRunRetrieveParams; - export type QueryRunResource = Stripe.V2.Data.Reporting.QueryRunResource; + export type QueryRun = Stripe_.V2.Data.Reporting.QueryRun; + export type QueryRunCreateParams = Stripe_.V2.Data.Reporting.QueryRunCreateParams; + export type QueryRunRetrieveParams = Stripe_.V2.Data.Reporting.QueryRunRetrieveParams; + export type QueryRunResource = Stripe_.V2.Data.Reporting.QueryRunResource; export namespace QueryRunCreateParams { - export type ResultOptions = Stripe.V2.Data.Reporting.QueryRunCreateParams.ResultOptions; + export type ResultOptions = Stripe_.V2.Data.Reporting.QueryRunCreateParams.ResultOptions; + } + export namespace QueryRun { + export type Result = Stripe_.V2.Data.Reporting.QueryRun.Result; + export type ResultOptions = Stripe_.V2.Data.Reporting.QueryRun.ResultOptions; + export type Status = Stripe_.V2.Data.Reporting.QueryRun.Status; + export type StatusDetails = Stripe_.V2.Data.Reporting.QueryRun.StatusDetails; + export namespace Result { + export type File = Stripe_.V2.Data.Reporting.QueryRun.Result.File; + export namespace File { + export type ContentType = Stripe_.V2.Data.Reporting.QueryRun.Result.File.ContentType; + export type DownloadUrl = Stripe_.V2.Data.Reporting.QueryRun.Result.File.DownloadUrl; + export type Schema = Stripe_.V2.Data.Reporting.QueryRun.Result.File.Schema; + export namespace Schema { + export type Type = Stripe_.V2.Data.Reporting.QueryRun.Result.File.Schema.Type; + } + } + } + export namespace StatusDetails { + export type ErrorCode = Stripe_.V2.Data.Reporting.QueryRun.StatusDetails.ErrorCode; + } } } export namespace Analytics { - export type MetricQueryResult = Stripe.V2.Data.Analytics.MetricQueryResult; + export type MetricQueryResult = Stripe_.V2.Data.Analytics.MetricQueryResult; + export namespace MetricQueryResult { + export type Data = Stripe_.V2.Data.Analytics.MetricQueryResult.Data; + export namespace Data { + export type Result = Stripe_.V2.Data.Analytics.MetricQueryResult.Data.Result; + } + } } } export namespace Extend { - export type Workflow = Stripe.V2.Extend.Workflow; - export type WorkflowRetrieveParams = Stripe.V2.Extend.WorkflowRetrieveParams; - export type WorkflowListParams = Stripe.V2.Extend.WorkflowListParams; - export type WorkflowInvokeParams = Stripe.V2.Extend.WorkflowInvokeParams; - export type WorkflowResource = Stripe.V2.Extend.WorkflowResource; - export type WorkflowRun = Stripe.V2.Extend.WorkflowRun; - export type WorkflowRunRetrieveParams = Stripe.V2.Extend.WorkflowRunRetrieveParams; - export type WorkflowRunListParams = Stripe.V2.Extend.WorkflowRunListParams; - export type WorkflowRunResource = Stripe.V2.Extend.WorkflowRunResource; - export namespace WorkflowListParams { - export type Status = Stripe.V2.Extend.WorkflowListParams.Status; - } - export namespace WorkflowInvokeParams { - export type InputParameters = Stripe.V2.Extend.WorkflowInvokeParams.InputParameters; - } - export namespace WorkflowRunListParams { - export type Status = Stripe.V2.Extend.WorkflowRunListParams.Status; + export type Workflow = Stripe_.V2.Extend.Workflow; + export type WorkflowRetrieveParams = Stripe_.V2.Extend.WorkflowRetrieveParams; + export type WorkflowListParams = Stripe_.V2.Extend.WorkflowListParams; + export type WorkflowInvokeParams = Stripe_.V2.Extend.WorkflowInvokeParams; + export type WorkflowResource = Stripe_.V2.Extend.WorkflowResource; + export type WorkflowRun = Stripe_.V2.Extend.WorkflowRun; + export type WorkflowRunRetrieveParams = Stripe_.V2.Extend.WorkflowRunRetrieveParams; + export type WorkflowRunListParams = Stripe_.V2.Extend.WorkflowRunListParams; + export type WorkflowRunResource = Stripe_.V2.Extend.WorkflowRunResource; + export namespace Workflow { + export type Status = Stripe_.V2.Extend.Workflow.Status; + export type Trigger = Stripe_.V2.Extend.Workflow.Trigger; + export namespace Trigger { + export type EventTrigger = Stripe_.V2.Extend.Workflow.Trigger.EventTrigger; + export type Manual = Stripe_.V2.Extend.Workflow.Trigger.Manual; + export type Type = Stripe_.V2.Extend.Workflow.Trigger.Type; + } + } + export namespace WorkflowRun { + export type Status = Stripe_.V2.Extend.WorkflowRun.Status; + export type StatusDetails = Stripe_.V2.Extend.WorkflowRun.StatusDetails; + export type StatusTransitions = Stripe_.V2.Extend.WorkflowRun.StatusTransitions; + export type Trigger = Stripe_.V2.Extend.WorkflowRun.Trigger; + export namespace StatusDetails { + export type Failed = Stripe_.V2.Extend.WorkflowRun.StatusDetails.Failed; + export type Started = Stripe_.V2.Extend.WorkflowRun.StatusDetails.Started; + export type Succeeded = Stripe_.V2.Extend.WorkflowRun.StatusDetails.Succeeded; + } + export namespace Trigger { + export type EventTrigger = Stripe_.V2.Extend.WorkflowRun.Trigger.EventTrigger; + export type Manual = Stripe_.V2.Extend.WorkflowRun.Trigger.Manual; + export type Type = Stripe_.V2.Extend.WorkflowRun.Trigger.Type; + export namespace Manual { + export type InputParameters = Stripe_.V2.Extend.WorkflowRun.Trigger.Manual.InputParameters; + } + } } } export namespace Iam { - export type ActivityLog = Stripe.V2.Iam.ActivityLog; - export type ActivityLogRetrieveParams = Stripe.V2.Iam.ActivityLogRetrieveParams; - export type ActivityLogListParams = Stripe.V2.Iam.ActivityLogListParams; - export type ActivityLogResource = Stripe.V2.Iam.ActivityLogResource; - export type ApiKey = Stripe.V2.Iam.ApiKey; - export type ApiKeyCreateParams = Stripe.V2.Iam.ApiKeyCreateParams; - export type ApiKeyRetrieveParams = Stripe.V2.Iam.ApiKeyRetrieveParams; - export type ApiKeyUpdateParams = Stripe.V2.Iam.ApiKeyUpdateParams; - export type ApiKeyListParams = Stripe.V2.Iam.ApiKeyListParams; - export type ApiKeyExpireParams = Stripe.V2.Iam.ApiKeyExpireParams; - export type ApiKeyRotateParams = Stripe.V2.Iam.ApiKeyRotateParams; - export type ApiKeyResource = Stripe.V2.Iam.ApiKeyResource; - export namespace ActivityLogListParams { - export type ActionGroup = Stripe.V2.Iam.ActivityLogListParams.ActionGroup; - export type Action = Stripe.V2.Iam.ActivityLogListParams.Action; + export type ActivityLog = Stripe_.V2.Iam.ActivityLog; + export type ActivityLogRetrieveParams = Stripe_.V2.Iam.ActivityLogRetrieveParams; + export type ActivityLogListParams = Stripe_.V2.Iam.ActivityLogListParams; + export type ActivityLogResource = Stripe_.V2.Iam.ActivityLogResource; + export type ApiKey = Stripe_.V2.Iam.ApiKey; + export type ApiKeyCreateParams = Stripe_.V2.Iam.ApiKeyCreateParams; + export type ApiKeyRetrieveParams = Stripe_.V2.Iam.ApiKeyRetrieveParams; + export type ApiKeyUpdateParams = Stripe_.V2.Iam.ApiKeyUpdateParams; + export type ApiKeyListParams = Stripe_.V2.Iam.ApiKeyListParams; + export type ApiKeyExpireParams = Stripe_.V2.Iam.ApiKeyExpireParams; + export type ApiKeyRotateParams = Stripe_.V2.Iam.ApiKeyRotateParams; + export type ApiKeyResource = Stripe_.V2.Iam.ApiKeyResource; + export namespace ActivityLog { + export type Actor = Stripe_.V2.Iam.ActivityLog.Actor; + export type Details = Stripe_.V2.Iam.ActivityLog.Details; + export type Type = Stripe_.V2.Iam.ActivityLog.Type; + export namespace Actor { + export type ApiKey = Stripe_.V2.Iam.ActivityLog.Actor.ApiKey; + export type Type = Stripe_.V2.Iam.ActivityLog.Actor.Type; + export type User = Stripe_.V2.Iam.ActivityLog.Actor.User; + } + export namespace Details { + export type ApiKey = Stripe_.V2.Iam.ActivityLog.Details.ApiKey; + export type Type = Stripe_.V2.Iam.ActivityLog.Details.Type; + export type UserInvite = Stripe_.V2.Iam.ActivityLog.Details.UserInvite; + export type UserRoles = Stripe_.V2.Iam.ActivityLog.Details.UserRoles; + export namespace ApiKey { + export type ManagedBy = Stripe_.V2.Iam.ActivityLog.Details.ApiKey.ManagedBy; + export type Type = Stripe_.V2.Iam.ActivityLog.Details.ApiKey.Type; + export namespace ManagedBy { + export type Application = Stripe_.V2.Iam.ActivityLog.Details.ApiKey.ManagedBy.Application; + } + } + } } export namespace ApiKeyCreateParams { - export type Type = Stripe.V2.Iam.ApiKeyCreateParams.Type; - export type PublicKey = Stripe.V2.Iam.ApiKeyCreateParams.PublicKey; + export type Type = Stripe_.V2.Iam.ApiKeyCreateParams.Type; + export type PublicKey = Stripe_.V2.Iam.ApiKeyCreateParams.PublicKey; + export namespace PublicKey { + export type PemKey = Stripe_.V2.Iam.ApiKeyCreateParams.PublicKey.PemKey; + } } - export namespace ApiKeyRotateParams { - export type PublicKey = Stripe.V2.Iam.ApiKeyRotateParams.PublicKey; + export namespace ApiKey { + export type ManagedBy = Stripe_.V2.Iam.ApiKey.ManagedBy; + export type PublishableKey = Stripe_.V2.Iam.ApiKey.PublishableKey; + export type SecretKey = Stripe_.V2.Iam.ApiKey.SecretKey; + export type Status = Stripe_.V2.Iam.ApiKey.Status; + export type Type = Stripe_.V2.Iam.ApiKey.Type; + export namespace ManagedBy { + export type Application = Stripe_.V2.Iam.ApiKey.ManagedBy.Application; + } + export namespace SecretKey { + export type EncryptedSecret = Stripe_.V2.Iam.ApiKey.SecretKey.EncryptedSecret; + } } } export namespace MoneyManagement { - export type Adjustment = Stripe.V2.MoneyManagement.Adjustment; - export type AdjustmentRetrieveParams = Stripe.V2.MoneyManagement.AdjustmentRetrieveParams; - export type AdjustmentListParams = Stripe.V2.MoneyManagement.AdjustmentListParams; - export type AdjustmentResource = Stripe.V2.MoneyManagement.AdjustmentResource; - export type CurrencyConversion = Stripe.V2.MoneyManagement.CurrencyConversion; - export type CurrencyConversionCreateParams = Stripe.V2.MoneyManagement.CurrencyConversionCreateParams; - export type CurrencyConversionRetrieveParams = Stripe.V2.MoneyManagement.CurrencyConversionRetrieveParams; - export type CurrencyConversionListParams = Stripe.V2.MoneyManagement.CurrencyConversionListParams; - export type CurrencyConversionResource = Stripe.V2.MoneyManagement.CurrencyConversionResource; - export type DebitDispute = Stripe.V2.MoneyManagement.DebitDispute; - export type DebitDisputeCreateParams = Stripe.V2.MoneyManagement.DebitDisputeCreateParams; - export type DebitDisputeRetrieveParams = Stripe.V2.MoneyManagement.DebitDisputeRetrieveParams; - export type DebitDisputeListParams = Stripe.V2.MoneyManagement.DebitDisputeListParams; - export type DebitDisputeResource = Stripe.V2.MoneyManagement.DebitDisputeResource; - export type FinancialAccount = Stripe.V2.MoneyManagement.FinancialAccount; - export type FinancialAccountCreateParams = Stripe.V2.MoneyManagement.FinancialAccountCreateParams; - export type FinancialAccountRetrieveParams = Stripe.V2.MoneyManagement.FinancialAccountRetrieveParams; - export type FinancialAccountUpdateParams = Stripe.V2.MoneyManagement.FinancialAccountUpdateParams; - export type FinancialAccountListParams = Stripe.V2.MoneyManagement.FinancialAccountListParams; - export type FinancialAccountCloseParams = Stripe.V2.MoneyManagement.FinancialAccountCloseParams; - export type FinancialAccountResource = Stripe.V2.MoneyManagement.FinancialAccountResource; - export type FinancialAddress = Stripe.V2.MoneyManagement.FinancialAddress; - export type FinancialAddressCreateParams = Stripe.V2.MoneyManagement.FinancialAddressCreateParams; - export type FinancialAddressRetrieveParams = Stripe.V2.MoneyManagement.FinancialAddressRetrieveParams; - export type FinancialAddressListParams = Stripe.V2.MoneyManagement.FinancialAddressListParams; - export type FinancialAddressResource = Stripe.V2.MoneyManagement.FinancialAddressResource; - export type InboundTransfer = Stripe.V2.MoneyManagement.InboundTransfer; - export type InboundTransferCreateParams = Stripe.V2.MoneyManagement.InboundTransferCreateParams; - export type InboundTransferRetrieveParams = Stripe.V2.MoneyManagement.InboundTransferRetrieveParams; - export type InboundTransferListParams = Stripe.V2.MoneyManagement.InboundTransferListParams; - export type InboundTransferResource = Stripe.V2.MoneyManagement.InboundTransferResource; - export type OutboundPayment = Stripe.V2.MoneyManagement.OutboundPayment; - export type OutboundPaymentCreateParams = Stripe.V2.MoneyManagement.OutboundPaymentCreateParams; - export type OutboundPaymentRetrieveParams = Stripe.V2.MoneyManagement.OutboundPaymentRetrieveParams; - export type OutboundPaymentListParams = Stripe.V2.MoneyManagement.OutboundPaymentListParams; - export type OutboundPaymentCancelParams = Stripe.V2.MoneyManagement.OutboundPaymentCancelParams; - export type OutboundPaymentResource = Stripe.V2.MoneyManagement.OutboundPaymentResource; - export type OutboundPaymentQuote = Stripe.V2.MoneyManagement.OutboundPaymentQuote; - export type OutboundPaymentQuoteCreateParams = Stripe.V2.MoneyManagement.OutboundPaymentQuoteCreateParams; - export type OutboundPaymentQuoteRetrieveParams = Stripe.V2.MoneyManagement.OutboundPaymentQuoteRetrieveParams; - export type OutboundPaymentQuoteResource = Stripe.V2.MoneyManagement.OutboundPaymentQuoteResource; - export type OutboundSetupIntent = Stripe.V2.MoneyManagement.OutboundSetupIntent; - export type OutboundSetupIntentCreateParams = Stripe.V2.MoneyManagement.OutboundSetupIntentCreateParams; - export type OutboundSetupIntentRetrieveParams = Stripe.V2.MoneyManagement.OutboundSetupIntentRetrieveParams; - export type OutboundSetupIntentUpdateParams = Stripe.V2.MoneyManagement.OutboundSetupIntentUpdateParams; - export type OutboundSetupIntentListParams = Stripe.V2.MoneyManagement.OutboundSetupIntentListParams; - export type OutboundSetupIntentCancelParams = Stripe.V2.MoneyManagement.OutboundSetupIntentCancelParams; - export type OutboundSetupIntentResource = Stripe.V2.MoneyManagement.OutboundSetupIntentResource; - export type OutboundTransfer = Stripe.V2.MoneyManagement.OutboundTransfer; - export type OutboundTransferCreateParams = Stripe.V2.MoneyManagement.OutboundTransferCreateParams; - export type OutboundTransferRetrieveParams = Stripe.V2.MoneyManagement.OutboundTransferRetrieveParams; - export type OutboundTransferListParams = Stripe.V2.MoneyManagement.OutboundTransferListParams; - export type OutboundTransferCancelParams = Stripe.V2.MoneyManagement.OutboundTransferCancelParams; - export type OutboundTransferResource = Stripe.V2.MoneyManagement.OutboundTransferResource; - export type PayoutMethod = Stripe.V2.MoneyManagement.PayoutMethod; - export type PayoutMethodRetrieveParams = Stripe.V2.MoneyManagement.PayoutMethodRetrieveParams; - export type PayoutMethodListParams = Stripe.V2.MoneyManagement.PayoutMethodListParams; - export type PayoutMethodArchiveParams = Stripe.V2.MoneyManagement.PayoutMethodArchiveParams; - export type PayoutMethodUnarchiveParams = Stripe.V2.MoneyManagement.PayoutMethodUnarchiveParams; - export type PayoutMethodResource = Stripe.V2.MoneyManagement.PayoutMethodResource; - export type PayoutMethodsBankAccountSpec = Stripe.V2.MoneyManagement.PayoutMethodsBankAccountSpec; - export type PayoutMethodsBankAccountSpecRetrieveParams = Stripe.V2.MoneyManagement.PayoutMethodsBankAccountSpecRetrieveParams; - export type PayoutMethodsBankAccountSpecResource = Stripe.V2.MoneyManagement.PayoutMethodsBankAccountSpecResource; - export type ReceivedCredit = Stripe.V2.MoneyManagement.ReceivedCredit; - export type ReceivedCreditRetrieveParams = Stripe.V2.MoneyManagement.ReceivedCreditRetrieveParams; - export type ReceivedCreditListParams = Stripe.V2.MoneyManagement.ReceivedCreditListParams; - export type ReceivedCreditResource = Stripe.V2.MoneyManagement.ReceivedCreditResource; - export type ReceivedDebit = Stripe.V2.MoneyManagement.ReceivedDebit; - export type ReceivedDebitRetrieveParams = Stripe.V2.MoneyManagement.ReceivedDebitRetrieveParams; - export type ReceivedDebitListParams = Stripe.V2.MoneyManagement.ReceivedDebitListParams; - export type ReceivedDebitResource = Stripe.V2.MoneyManagement.ReceivedDebitResource; - export type RecipientVerification = Stripe.V2.MoneyManagement.RecipientVerification; - export type RecipientVerificationCreateParams = Stripe.V2.MoneyManagement.RecipientVerificationCreateParams; - export type RecipientVerificationRetrieveParams = Stripe.V2.MoneyManagement.RecipientVerificationRetrieveParams; - export type RecipientVerificationAcknowledgeParams = Stripe.V2.MoneyManagement.RecipientVerificationAcknowledgeParams; - export type RecipientVerificationResource = Stripe.V2.MoneyManagement.RecipientVerificationResource; - export type Transaction = Stripe.V2.MoneyManagement.Transaction; - export type TransactionRetrieveParams = Stripe.V2.MoneyManagement.TransactionRetrieveParams; - export type TransactionListParams = Stripe.V2.MoneyManagement.TransactionListParams; - export type TransactionResource = Stripe.V2.MoneyManagement.TransactionResource; - export type TransactionEntry = Stripe.V2.MoneyManagement.TransactionEntry; - export type TransactionEntryRetrieveParams = Stripe.V2.MoneyManagement.TransactionEntryRetrieveParams; - export type TransactionEntryListParams = Stripe.V2.MoneyManagement.TransactionEntryListParams; - export type TransactionEntryResource = Stripe.V2.MoneyManagement.TransactionEntryResource; - export type FinancialAccountStatement = Stripe.V2.MoneyManagement.FinancialAccountStatement; + export type Adjustment = Stripe_.V2.MoneyManagement.Adjustment; + export type AdjustmentRetrieveParams = Stripe_.V2.MoneyManagement.AdjustmentRetrieveParams; + export type AdjustmentListParams = Stripe_.V2.MoneyManagement.AdjustmentListParams; + export type AdjustmentResource = Stripe_.V2.MoneyManagement.AdjustmentResource; + export type CurrencyConversion = Stripe_.V2.MoneyManagement.CurrencyConversion; + export type CurrencyConversionCreateParams = Stripe_.V2.MoneyManagement.CurrencyConversionCreateParams; + export type CurrencyConversionRetrieveParams = Stripe_.V2.MoneyManagement.CurrencyConversionRetrieveParams; + export type CurrencyConversionListParams = Stripe_.V2.MoneyManagement.CurrencyConversionListParams; + export type CurrencyConversionResource = Stripe_.V2.MoneyManagement.CurrencyConversionResource; + export type DebitDispute = Stripe_.V2.MoneyManagement.DebitDispute; + export type DebitDisputeCreateParams = Stripe_.V2.MoneyManagement.DebitDisputeCreateParams; + export type DebitDisputeRetrieveParams = Stripe_.V2.MoneyManagement.DebitDisputeRetrieveParams; + export type DebitDisputeListParams = Stripe_.V2.MoneyManagement.DebitDisputeListParams; + export type DebitDisputeResource = Stripe_.V2.MoneyManagement.DebitDisputeResource; + export type FinancialAccount = Stripe_.V2.MoneyManagement.FinancialAccount; + export type FinancialAccountCreateParams = Stripe_.V2.MoneyManagement.FinancialAccountCreateParams; + export type FinancialAccountRetrieveParams = Stripe_.V2.MoneyManagement.FinancialAccountRetrieveParams; + export type FinancialAccountUpdateParams = Stripe_.V2.MoneyManagement.FinancialAccountUpdateParams; + export type FinancialAccountListParams = Stripe_.V2.MoneyManagement.FinancialAccountListParams; + export type FinancialAccountCloseParams = Stripe_.V2.MoneyManagement.FinancialAccountCloseParams; + export type FinancialAccountResource = Stripe_.V2.MoneyManagement.FinancialAccountResource; + export type FinancialAddress = Stripe_.V2.MoneyManagement.FinancialAddress; + export type FinancialAddressCreateParams = Stripe_.V2.MoneyManagement.FinancialAddressCreateParams; + export type FinancialAddressRetrieveParams = Stripe_.V2.MoneyManagement.FinancialAddressRetrieveParams; + export type FinancialAddressListParams = Stripe_.V2.MoneyManagement.FinancialAddressListParams; + export type FinancialAddressResource = Stripe_.V2.MoneyManagement.FinancialAddressResource; + export type InboundTransfer = Stripe_.V2.MoneyManagement.InboundTransfer; + export type InboundTransferCreateParams = Stripe_.V2.MoneyManagement.InboundTransferCreateParams; + export type InboundTransferRetrieveParams = Stripe_.V2.MoneyManagement.InboundTransferRetrieveParams; + export type InboundTransferListParams = Stripe_.V2.MoneyManagement.InboundTransferListParams; + export type InboundTransferResource = Stripe_.V2.MoneyManagement.InboundTransferResource; + export type OutboundPayment = Stripe_.V2.MoneyManagement.OutboundPayment; + export type OutboundPaymentCreateParams = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams; + export type OutboundPaymentRetrieveParams = Stripe_.V2.MoneyManagement.OutboundPaymentRetrieveParams; + export type OutboundPaymentListParams = Stripe_.V2.MoneyManagement.OutboundPaymentListParams; + export type OutboundPaymentCancelParams = Stripe_.V2.MoneyManagement.OutboundPaymentCancelParams; + export type OutboundPaymentResource = Stripe_.V2.MoneyManagement.OutboundPaymentResource; + export type OutboundPaymentQuote = Stripe_.V2.MoneyManagement.OutboundPaymentQuote; + export type OutboundPaymentQuoteCreateParams = Stripe_.V2.MoneyManagement.OutboundPaymentQuoteCreateParams; + export type OutboundPaymentQuoteRetrieveParams = Stripe_.V2.MoneyManagement.OutboundPaymentQuoteRetrieveParams; + export type OutboundPaymentQuoteResource = Stripe_.V2.MoneyManagement.OutboundPaymentQuoteResource; + export type OutboundSetupIntent = Stripe_.V2.MoneyManagement.OutboundSetupIntent; + export type OutboundSetupIntentCreateParams = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams; + export type OutboundSetupIntentRetrieveParams = Stripe_.V2.MoneyManagement.OutboundSetupIntentRetrieveParams; + export type OutboundSetupIntentUpdateParams = Stripe_.V2.MoneyManagement.OutboundSetupIntentUpdateParams; + export type OutboundSetupIntentListParams = Stripe_.V2.MoneyManagement.OutboundSetupIntentListParams; + export type OutboundSetupIntentCancelParams = Stripe_.V2.MoneyManagement.OutboundSetupIntentCancelParams; + export type OutboundSetupIntentResource = Stripe_.V2.MoneyManagement.OutboundSetupIntentResource; + export type OutboundTransfer = Stripe_.V2.MoneyManagement.OutboundTransfer; + export type OutboundTransferCreateParams = Stripe_.V2.MoneyManagement.OutboundTransferCreateParams; + export type OutboundTransferRetrieveParams = Stripe_.V2.MoneyManagement.OutboundTransferRetrieveParams; + export type OutboundTransferListParams = Stripe_.V2.MoneyManagement.OutboundTransferListParams; + export type OutboundTransferCancelParams = Stripe_.V2.MoneyManagement.OutboundTransferCancelParams; + export type OutboundTransferResource = Stripe_.V2.MoneyManagement.OutboundTransferResource; + export type PayoutMethod = Stripe_.V2.MoneyManagement.PayoutMethod; + export type PayoutMethodRetrieveParams = Stripe_.V2.MoneyManagement.PayoutMethodRetrieveParams; + export type PayoutMethodListParams = Stripe_.V2.MoneyManagement.PayoutMethodListParams; + export type PayoutMethodArchiveParams = Stripe_.V2.MoneyManagement.PayoutMethodArchiveParams; + export type PayoutMethodUnarchiveParams = Stripe_.V2.MoneyManagement.PayoutMethodUnarchiveParams; + export type PayoutMethodResource = Stripe_.V2.MoneyManagement.PayoutMethodResource; + export type PayoutMethodsBankAccountSpec = Stripe_.V2.MoneyManagement.PayoutMethodsBankAccountSpec; + export type PayoutMethodsBankAccountSpecRetrieveParams = Stripe_.V2.MoneyManagement.PayoutMethodsBankAccountSpecRetrieveParams; + export type PayoutMethodsBankAccountSpecResource = Stripe_.V2.MoneyManagement.PayoutMethodsBankAccountSpecResource; + export type ReceivedCredit = Stripe_.V2.MoneyManagement.ReceivedCredit; + export type ReceivedCreditRetrieveParams = Stripe_.V2.MoneyManagement.ReceivedCreditRetrieveParams; + export type ReceivedCreditListParams = Stripe_.V2.MoneyManagement.ReceivedCreditListParams; + export type ReceivedCreditResource = Stripe_.V2.MoneyManagement.ReceivedCreditResource; + export type ReceivedDebit = Stripe_.V2.MoneyManagement.ReceivedDebit; + export type ReceivedDebitRetrieveParams = Stripe_.V2.MoneyManagement.ReceivedDebitRetrieveParams; + export type ReceivedDebitListParams = Stripe_.V2.MoneyManagement.ReceivedDebitListParams; + export type ReceivedDebitResource = Stripe_.V2.MoneyManagement.ReceivedDebitResource; + export type RecipientVerification = Stripe_.V2.MoneyManagement.RecipientVerification; + export type RecipientVerificationCreateParams = Stripe_.V2.MoneyManagement.RecipientVerificationCreateParams; + export type RecipientVerificationRetrieveParams = Stripe_.V2.MoneyManagement.RecipientVerificationRetrieveParams; + export type RecipientVerificationAcknowledgeParams = Stripe_.V2.MoneyManagement.RecipientVerificationAcknowledgeParams; + export type RecipientVerificationResource = Stripe_.V2.MoneyManagement.RecipientVerificationResource; + export type Transaction = Stripe_.V2.MoneyManagement.Transaction; + export type TransactionRetrieveParams = Stripe_.V2.MoneyManagement.TransactionRetrieveParams; + export type TransactionListParams = Stripe_.V2.MoneyManagement.TransactionListParams; + export type TransactionResource = Stripe_.V2.MoneyManagement.TransactionResource; + export type TransactionEntry = Stripe_.V2.MoneyManagement.TransactionEntry; + export type TransactionEntryRetrieveParams = Stripe_.V2.MoneyManagement.TransactionEntryRetrieveParams; + export type TransactionEntryListParams = Stripe_.V2.MoneyManagement.TransactionEntryListParams; + export type TransactionEntryResource = Stripe_.V2.MoneyManagement.TransactionEntryResource; + export type FinancialAccountStatement = Stripe_.V2.MoneyManagement.FinancialAccountStatement; + export namespace Adjustment { + export type AdjustedFlow = Stripe_.V2.MoneyManagement.Adjustment.AdjustedFlow; + export namespace AdjustedFlow { + export type Type = Stripe_.V2.MoneyManagement.Adjustment.AdjustedFlow.Type; + } + } export namespace CurrencyConversionCreateParams { - export type From = Stripe.V2.MoneyManagement.CurrencyConversionCreateParams.From; - export type To = Stripe.V2.MoneyManagement.CurrencyConversionCreateParams.To; + export type From = Stripe_.V2.MoneyManagement.CurrencyConversionCreateParams.From; + export type To = Stripe_.V2.MoneyManagement.CurrencyConversionCreateParams.To; + } + export namespace CurrencyConversion { + export type From = Stripe_.V2.MoneyManagement.CurrencyConversion.From; + export type To = Stripe_.V2.MoneyManagement.CurrencyConversion.To; } export namespace DebitDisputeCreateParams { - export type BankTransfer = Stripe.V2.MoneyManagement.DebitDisputeCreateParams.BankTransfer; + export type BankTransfer = Stripe_.V2.MoneyManagement.DebitDisputeCreateParams.BankTransfer; + export namespace BankTransfer { + export type Reason = Stripe_.V2.MoneyManagement.DebitDisputeCreateParams.BankTransfer.Reason; + } } - export namespace DebitDisputeListParams { - export type Status = Stripe.V2.MoneyManagement.DebitDisputeListParams.Status; + export namespace DebitDispute { + export type BankTransfer = Stripe_.V2.MoneyManagement.DebitDispute.BankTransfer; + export type Status = Stripe_.V2.MoneyManagement.DebitDispute.Status; + export type StatusDetails = Stripe_.V2.MoneyManagement.DebitDispute.StatusDetails; + export type StatusTransitions = Stripe_.V2.MoneyManagement.DebitDispute.StatusTransitions; + export namespace BankTransfer { + export type Reason = Stripe_.V2.MoneyManagement.DebitDispute.BankTransfer.Reason; + } + export namespace StatusDetails { + export type Failed = Stripe_.V2.MoneyManagement.DebitDispute.StatusDetails.Failed; + } } export namespace FinancialAccountCreateParams { - export type Storage = Stripe.V2.MoneyManagement.FinancialAccountCreateParams.Storage; - } - export namespace FinancialAccountUpdateParams { - export type Storage = Stripe.V2.MoneyManagement.FinancialAccountUpdateParams.Storage; - } - export namespace FinancialAccountListParams { - export type Status = Stripe.V2.MoneyManagement.FinancialAccountListParams.Status; - export type Type = Stripe.V2.MoneyManagement.FinancialAccountListParams.Type; + export type Storage = Stripe_.V2.MoneyManagement.FinancialAccountCreateParams.Storage; + export namespace Storage { + export type FundsUsageType = Stripe_.V2.MoneyManagement.FinancialAccountCreateParams.Storage.FundsUsageType; + } } - export namespace FinancialAccountCloseParams { - export type ForwardingSettings = Stripe.V2.MoneyManagement.FinancialAccountCloseParams.ForwardingSettings; + export namespace FinancialAccount { + export type AccruedFees = Stripe_.V2.MoneyManagement.FinancialAccount.AccruedFees; + export type Balance = Stripe_.V2.MoneyManagement.FinancialAccount.Balance; + export type ManagedBy = Stripe_.V2.MoneyManagement.FinancialAccount.ManagedBy; + export type MultiprocessorSettlement = Stripe_.V2.MoneyManagement.FinancialAccount.MultiprocessorSettlement; + export type Other = Stripe_.V2.MoneyManagement.FinancialAccount.Other; + export type Payments = Stripe_.V2.MoneyManagement.FinancialAccount.Payments; + export type Status = Stripe_.V2.MoneyManagement.FinancialAccount.Status; + export type StatusDetails = Stripe_.V2.MoneyManagement.FinancialAccount.StatusDetails; + export type Storage = Stripe_.V2.MoneyManagement.FinancialAccount.Storage; + export type Type = Stripe_.V2.MoneyManagement.FinancialAccount.Type; + export namespace AccruedFees { + export type Direction = Stripe_.V2.MoneyManagement.FinancialAccount.AccruedFees.Direction; + } + export namespace Payments { + export type BalanceByFundsType = Stripe_.V2.MoneyManagement.FinancialAccount.Payments.BalanceByFundsType; + export type StartingBalance = Stripe_.V2.MoneyManagement.FinancialAccount.Payments.StartingBalance; + export namespace BalanceByFundsType { + export type PaymentProcessing = Stripe_.V2.MoneyManagement.FinancialAccount.Payments.BalanceByFundsType.PaymentProcessing; + export type StoredValue = Stripe_.V2.MoneyManagement.FinancialAccount.Payments.BalanceByFundsType.StoredValue; + } + } + export namespace StatusDetails { + export type Closed = Stripe_.V2.MoneyManagement.FinancialAccount.StatusDetails.Closed; + export namespace Closed { + export type ForwardingSettings = Stripe_.V2.MoneyManagement.FinancialAccount.StatusDetails.Closed.ForwardingSettings; + export type Reason = Stripe_.V2.MoneyManagement.FinancialAccount.StatusDetails.Closed.Reason; + } + } + export namespace Storage { + export type FundsUsageType = Stripe_.V2.MoneyManagement.FinancialAccount.Storage.FundsUsageType; + } } export namespace FinancialAddressCreateParams { - export type Type = Stripe.V2.MoneyManagement.FinancialAddressCreateParams.Type; - export type CryptoProperties = Stripe.V2.MoneyManagement.FinancialAddressCreateParams.CryptoProperties; - export type SepaBankAccount = Stripe.V2.MoneyManagement.FinancialAddressCreateParams.SepaBankAccount; - } - export namespace FinancialAddressRetrieveParams { - export type Include = Stripe.V2.MoneyManagement.FinancialAddressRetrieveParams.Include; + export type Type = Stripe_.V2.MoneyManagement.FinancialAddressCreateParams.Type; + export type CryptoProperties = Stripe_.V2.MoneyManagement.FinancialAddressCreateParams.CryptoProperties; + export type SepaBankAccount = Stripe_.V2.MoneyManagement.FinancialAddressCreateParams.SepaBankAccount; + export namespace CryptoProperties { + export type Network = Stripe_.V2.MoneyManagement.FinancialAddressCreateParams.CryptoProperties.Network; + } } - export namespace FinancialAddressListParams { - export type Include = Stripe.V2.MoneyManagement.FinancialAddressListParams.Include; + export namespace FinancialAddress { + export type Credentials = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials; + export type Status = Stripe_.V2.MoneyManagement.FinancialAddress.Status; + export namespace Credentials { + export type CaBankAccount = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials.CaBankAccount; + export type CryptoWallet = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials.CryptoWallet; + export type GbBankAccount = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials.GbBankAccount; + export type MxBankAccount = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials.MxBankAccount; + export type SepaBankAccount = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials.SepaBankAccount; + export type Type = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials.Type; + export type UsBankAccount = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials.UsBankAccount; + export namespace CryptoWallet { + export type Network = Stripe_.V2.MoneyManagement.FinancialAddress.Credentials.CryptoWallet.Network; + } + } } export namespace InboundTransferCreateParams { - export type From = Stripe.V2.MoneyManagement.InboundTransferCreateParams.From; - export type To = Stripe.V2.MoneyManagement.InboundTransferCreateParams.To; + export type From = Stripe_.V2.MoneyManagement.InboundTransferCreateParams.From; + export type To = Stripe_.V2.MoneyManagement.InboundTransferCreateParams.To; + } + export namespace InboundTransfer { + export type From = Stripe_.V2.MoneyManagement.InboundTransfer.From; + export type To = Stripe_.V2.MoneyManagement.InboundTransfer.To; + export type TransferHistory = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory; + export namespace From { + export type PaymentMethod = Stripe_.V2.MoneyManagement.InboundTransfer.From.PaymentMethod; + } + export namespace TransferHistory { + export type BankDebitFailed = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.BankDebitFailed; + export type BankDebitProcessing = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.BankDebitProcessing; + export type BankDebitQueued = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.BankDebitQueued; + export type BankDebitReturned = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.BankDebitReturned; + export type BankDebitSucceeded = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.BankDebitSucceeded; + export type Level = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.Level; + export type Type = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.Type; + export namespace BankDebitFailed { + export type FailureReason = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.BankDebitFailed.FailureReason; + } + export namespace BankDebitReturned { + export type ReturnReason = Stripe_.V2.MoneyManagement.InboundTransfer.TransferHistory.BankDebitReturned.ReturnReason; + } + } } export namespace OutboundPaymentCreateParams { - export type From = Stripe.V2.MoneyManagement.OutboundPaymentCreateParams.From; - export type To = Stripe.V2.MoneyManagement.OutboundPaymentCreateParams.To; - export type DeliveryOptions = Stripe.V2.MoneyManagement.OutboundPaymentCreateParams.DeliveryOptions; - export type RecipientNotification = Stripe.V2.MoneyManagement.OutboundPaymentCreateParams.RecipientNotification; - } - export namespace OutboundPaymentListParams { - export type Status = Stripe.V2.MoneyManagement.OutboundPaymentListParams.Status; + export type From = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.From; + export type To = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.To; + export type DeliveryOptions = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.DeliveryOptions; + export type RecipientNotification = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.RecipientNotification; + export namespace DeliveryOptions { + export type BankAccount = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.DeliveryOptions.BankAccount; + export type PaperCheck = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.DeliveryOptions.PaperCheck; + export type Speed = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.DeliveryOptions.Speed; + export namespace PaperCheck { + export type ShippingSpeed = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.DeliveryOptions.PaperCheck.ShippingSpeed; + } + } + export namespace RecipientNotification { + export type Setting = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.RecipientNotification.Setting; + } + } + export namespace OutboundPayment { + export type DeliveryOptions = Stripe_.V2.MoneyManagement.OutboundPayment.DeliveryOptions; + export type From = Stripe_.V2.MoneyManagement.OutboundPayment.From; + export type RecipientNotification = Stripe_.V2.MoneyManagement.OutboundPayment.RecipientNotification; + export type Status = Stripe_.V2.MoneyManagement.OutboundPayment.Status; + export type StatusDetails = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails; + export type StatusTransitions = Stripe_.V2.MoneyManagement.OutboundPayment.StatusTransitions; + export type To = Stripe_.V2.MoneyManagement.OutboundPayment.To; + export type TraceId = Stripe_.V2.MoneyManagement.OutboundPayment.TraceId; + export type TrackingDetails = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails; + export namespace DeliveryOptions { + export type BankAccount = Stripe_.V2.MoneyManagement.OutboundPayment.DeliveryOptions.BankAccount; + export type PaperCheck = Stripe_.V2.MoneyManagement.OutboundPayment.DeliveryOptions.PaperCheck; + export type Speed = Stripe_.V2.MoneyManagement.OutboundPayment.DeliveryOptions.Speed; + export namespace PaperCheck { + export type ShippingSpeed = Stripe_.V2.MoneyManagement.OutboundPayment.DeliveryOptions.PaperCheck.ShippingSpeed; + } + } + export namespace RecipientNotification { + export type Setting = Stripe_.V2.MoneyManagement.OutboundPayment.RecipientNotification.Setting; + } + export namespace StatusDetails { + export type Failed = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails.Failed; + export type Returned = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails.Returned; + export namespace Failed { + export type Reason = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails.Failed.Reason; + } + export namespace Returned { + export type Reason = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails.Returned.Reason; + } + } + export namespace TraceId { + export type Status = Stripe_.V2.MoneyManagement.OutboundPayment.TraceId.Status; + } + export namespace TrackingDetails { + export type PaperCheck = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.PaperCheck; + export namespace PaperCheck { + export type Carrier = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.PaperCheck.Carrier; + export type MailingAddress = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.PaperCheck.MailingAddress; + export type TrackingStatus = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.PaperCheck.TrackingStatus; + } + } } export namespace OutboundPaymentQuoteCreateParams { - export type From = Stripe.V2.MoneyManagement.OutboundPaymentQuoteCreateParams.From; - export type To = Stripe.V2.MoneyManagement.OutboundPaymentQuoteCreateParams.To; - export type DeliveryOptions = Stripe.V2.MoneyManagement.OutboundPaymentQuoteCreateParams.DeliveryOptions; + export type From = Stripe_.V2.MoneyManagement.OutboundPaymentQuoteCreateParams.From; + export type To = Stripe_.V2.MoneyManagement.OutboundPaymentQuoteCreateParams.To; + export type DeliveryOptions = Stripe_.V2.MoneyManagement.OutboundPaymentQuoteCreateParams.DeliveryOptions; + export namespace DeliveryOptions { + export type BankAccount = Stripe_.V2.MoneyManagement.OutboundPaymentQuoteCreateParams.DeliveryOptions.BankAccount; + export type Speed = Stripe_.V2.MoneyManagement.OutboundPaymentQuoteCreateParams.DeliveryOptions.Speed; + } + } + export namespace OutboundPaymentQuote { + export type DeliveryOptions = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.DeliveryOptions; + export type EstimatedFee = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.EstimatedFee; + export type From = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.From; + export type FxQuote = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.FxQuote; + export type To = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.To; + export namespace DeliveryOptions { + export type BankAccount = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.DeliveryOptions.BankAccount; + export type Speed = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.DeliveryOptions.Speed; + } + export namespace EstimatedFee { + export type Type = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.EstimatedFee.Type; + } + export namespace FxQuote { + export type LockDuration = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.FxQuote.LockDuration; + export type LockStatus = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.FxQuote.LockStatus; + export type Rates = Stripe_.V2.MoneyManagement.OutboundPaymentQuote.FxQuote.Rates; + } } export namespace OutboundSetupIntentCreateParams { - export type PayoutMethodData = Stripe.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData; - export type UsageIntent = Stripe.V2.MoneyManagement.OutboundSetupIntentCreateParams.UsageIntent; + export type PayoutMethodData = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData; + export type UsageIntent = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.UsageIntent; + export namespace PayoutMethodData { + export type BankAccount = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount; + export type Card = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.Card; + export type CryptoWallet = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.CryptoWallet; + export type Type = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.Type; + export namespace BankAccount { + export type BankAccountType = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.BankAccountType; + } + export namespace CryptoWallet { + export type Network = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.CryptoWallet.Network; + } + } } - export namespace OutboundSetupIntentUpdateParams { - export type PayoutMethodData = Stripe.V2.MoneyManagement.OutboundSetupIntentUpdateParams.PayoutMethodData; + export namespace OutboundSetupIntent { + export type NextAction = Stripe_.V2.MoneyManagement.OutboundSetupIntent.NextAction; + export type Status = Stripe_.V2.MoneyManagement.OutboundSetupIntent.Status; + export type UsageIntent = Stripe_.V2.MoneyManagement.OutboundSetupIntent.UsageIntent; + export namespace NextAction { + export type ConfirmationOfPayee = Stripe_.V2.MoneyManagement.OutboundSetupIntent.NextAction.ConfirmationOfPayee; + export namespace ConfirmationOfPayee { + export type Status = Stripe_.V2.MoneyManagement.OutboundSetupIntent.NextAction.ConfirmationOfPayee.Status; + } + } } export namespace OutboundTransferCreateParams { - export type From = Stripe.V2.MoneyManagement.OutboundTransferCreateParams.From; - export type To = Stripe.V2.MoneyManagement.OutboundTransferCreateParams.To; - export type DeliveryOptions = Stripe.V2.MoneyManagement.OutboundTransferCreateParams.DeliveryOptions; + export type From = Stripe_.V2.MoneyManagement.OutboundTransferCreateParams.From; + export type To = Stripe_.V2.MoneyManagement.OutboundTransferCreateParams.To; + export type DeliveryOptions = Stripe_.V2.MoneyManagement.OutboundTransferCreateParams.DeliveryOptions; + export namespace DeliveryOptions { + export type BankAccount = Stripe_.V2.MoneyManagement.OutboundTransferCreateParams.DeliveryOptions.BankAccount; + } + } + export namespace OutboundTransfer { + export type DeliveryOptions = Stripe_.V2.MoneyManagement.OutboundTransfer.DeliveryOptions; + export type From = Stripe_.V2.MoneyManagement.OutboundTransfer.From; + export type Status = Stripe_.V2.MoneyManagement.OutboundTransfer.Status; + export type StatusDetails = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails; + export type StatusTransitions = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusTransitions; + export type To = Stripe_.V2.MoneyManagement.OutboundTransfer.To; + export type TraceId = Stripe_.V2.MoneyManagement.OutboundTransfer.TraceId; + export namespace DeliveryOptions { + export type BankAccount = Stripe_.V2.MoneyManagement.OutboundTransfer.DeliveryOptions.BankAccount; + } + export namespace StatusDetails { + export type Failed = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails.Failed; + export type Returned = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails.Returned; + export namespace Failed { + export type Reason = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails.Failed.Reason; + } + export namespace Returned { + export type Reason = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails.Returned.Reason; + } + } + export namespace TraceId { + export type Status = Stripe_.V2.MoneyManagement.OutboundTransfer.TraceId.Status; + } + } + export namespace PayoutMethod { + export type AlternativeReference = Stripe_.V2.MoneyManagement.PayoutMethod.AlternativeReference; + export type AvailablePayoutSpeed = Stripe_.V2.MoneyManagement.PayoutMethod.AvailablePayoutSpeed; + export type BankAccount = Stripe_.V2.MoneyManagement.PayoutMethod.BankAccount; + export type Card = Stripe_.V2.MoneyManagement.PayoutMethod.Card; + export type CryptoWallet = Stripe_.V2.MoneyManagement.PayoutMethod.CryptoWallet; + export type Type = Stripe_.V2.MoneyManagement.PayoutMethod.Type; + export type UsageStatus = Stripe_.V2.MoneyManagement.PayoutMethod.UsageStatus; + export namespace AlternativeReference { + export type Type = Stripe_.V2.MoneyManagement.PayoutMethod.AlternativeReference.Type; + } + export namespace BankAccount { + export type BankAccountType = Stripe_.V2.MoneyManagement.PayoutMethod.BankAccount.BankAccountType; + } + export namespace CryptoWallet { + export type Network = Stripe_.V2.MoneyManagement.PayoutMethod.CryptoWallet.Network; + } + export namespace UsageStatus { + export type Payments = Stripe_.V2.MoneyManagement.PayoutMethod.UsageStatus.Payments; + export type Transfers = Stripe_.V2.MoneyManagement.PayoutMethod.UsageStatus.Transfers; + } + } + export namespace PayoutMethodsBankAccountSpec { + export type Countries = Stripe_.V2.MoneyManagement.PayoutMethodsBankAccountSpec.Countries; + export namespace Countries { + export type Field = Stripe_.V2.MoneyManagement.PayoutMethodsBankAccountSpec.Countries.Field; + export namespace Field { + export type LocalNameHuman = Stripe_.V2.MoneyManagement.PayoutMethodsBankAccountSpec.Countries.Field.LocalNameHuman; + } + } + } + export namespace ReceivedCredit { + export type BalanceTransfer = Stripe_.V2.MoneyManagement.ReceivedCredit.BalanceTransfer; + export type BankTransfer = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer; + export type CardSpend = Stripe_.V2.MoneyManagement.ReceivedCredit.CardSpend; + export type CryptoWalletTransfer = Stripe_.V2.MoneyManagement.ReceivedCredit.CryptoWalletTransfer; + export type Status = Stripe_.V2.MoneyManagement.ReceivedCredit.Status; + export type StatusDetails = Stripe_.V2.MoneyManagement.ReceivedCredit.StatusDetails; + export type StatusTransitions = Stripe_.V2.MoneyManagement.ReceivedCredit.StatusTransitions; + export type StripeBalancePayment = Stripe_.V2.MoneyManagement.ReceivedCredit.StripeBalancePayment; + export type Type = Stripe_.V2.MoneyManagement.ReceivedCredit.Type; + export namespace BalanceTransfer { + export type Type = Stripe_.V2.MoneyManagement.ReceivedCredit.BalanceTransfer.Type; + } + export namespace BankTransfer { + export type CaBankAccount = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.CaBankAccount; + export type EuBankAccount = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.EuBankAccount; + export type GbBankAccount = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.GbBankAccount; + export type MxBankAccount = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.MxBankAccount; + export type OriginType = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginType; + export type SepaBankAccount = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.SepaBankAccount; + export type UsBankAccount = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.UsBankAccount; + export namespace GbBankAccount { + export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.GbBankAccount.Network; + } + export namespace UsBankAccount { + export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.UsBankAccount.Network; + } + } + export namespace CardSpend { + export type Dispute = Stripe_.V2.MoneyManagement.ReceivedCredit.CardSpend.Dispute; + export type Refund = Stripe_.V2.MoneyManagement.ReceivedCredit.CardSpend.Refund; + } + export namespace CryptoWalletTransfer { + export type CryptoWallet = Stripe_.V2.MoneyManagement.ReceivedCredit.CryptoWalletTransfer.CryptoWallet; + export type OriginType = Stripe_.V2.MoneyManagement.ReceivedCredit.CryptoWalletTransfer.OriginType; + export namespace CryptoWallet { + export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.CryptoWalletTransfer.CryptoWallet.Network; + } + } + export namespace StatusDetails { + export type Failed = Stripe_.V2.MoneyManagement.ReceivedCredit.StatusDetails.Failed; + export type Returned = Stripe_.V2.MoneyManagement.ReceivedCredit.StatusDetails.Returned; + export namespace Failed { + export type Reason = Stripe_.V2.MoneyManagement.ReceivedCredit.StatusDetails.Failed.Reason; + } + } + } + export namespace ReceivedDebit { + export type BalanceTransfer = Stripe_.V2.MoneyManagement.ReceivedDebit.BalanceTransfer; + export type BankTransfer = Stripe_.V2.MoneyManagement.ReceivedDebit.BankTransfer; + export type CardSpend = Stripe_.V2.MoneyManagement.ReceivedDebit.CardSpend; + export type DisputeDetails = Stripe_.V2.MoneyManagement.ReceivedDebit.DisputeDetails; + export type Status = Stripe_.V2.MoneyManagement.ReceivedDebit.Status; + export type StatusDetails = Stripe_.V2.MoneyManagement.ReceivedDebit.StatusDetails; + export type StatusTransitions = Stripe_.V2.MoneyManagement.ReceivedDebit.StatusTransitions; + export type StripeBalancePayment = Stripe_.V2.MoneyManagement.ReceivedDebit.StripeBalancePayment; + export type Type = Stripe_.V2.MoneyManagement.ReceivedDebit.Type; + export namespace BankTransfer { + export type UsBankAccount = Stripe_.V2.MoneyManagement.ReceivedDebit.BankTransfer.UsBankAccount; + } + export namespace CardSpend { + export type Authorization = Stripe_.V2.MoneyManagement.ReceivedDebit.CardSpend.Authorization; + export type CardTransaction = Stripe_.V2.MoneyManagement.ReceivedDebit.CardSpend.CardTransaction; + } + export namespace StatusDetails { + export type Failed = Stripe_.V2.MoneyManagement.ReceivedDebit.StatusDetails.Failed; + export namespace Failed { + export type Reason = Stripe_.V2.MoneyManagement.ReceivedDebit.StatusDetails.Failed.Reason; + } + } } - export namespace OutboundTransferListParams { - export type Status = Stripe.V2.MoneyManagement.OutboundTransferListParams.Status; + export namespace RecipientVerification { + export type MatchResult = Stripe_.V2.MoneyManagement.RecipientVerification.MatchResult; + export type MatchResultDetails = Stripe_.V2.MoneyManagement.RecipientVerification.MatchResultDetails; + export type Status = Stripe_.V2.MoneyManagement.RecipientVerification.Status; + export type StatusTransitions = Stripe_.V2.MoneyManagement.RecipientVerification.StatusTransitions; + } + export namespace Transaction { + export type BalanceImpact = Stripe_.V2.MoneyManagement.Transaction.BalanceImpact; + export type Category = Stripe_.V2.MoneyManagement.Transaction.Category; + export type Counterparty = Stripe_.V2.MoneyManagement.Transaction.Counterparty; + export type Flow = Stripe_.V2.MoneyManagement.Transaction.Flow; + export type Status = Stripe_.V2.MoneyManagement.Transaction.Status; + export type StatusTransitions = Stripe_.V2.MoneyManagement.Transaction.StatusTransitions; + export namespace Flow { + export type Type = Stripe_.V2.MoneyManagement.Transaction.Flow.Type; + } + } + export namespace TransactionEntry { + export type BalanceImpact = Stripe_.V2.MoneyManagement.TransactionEntry.BalanceImpact; + export type TransactionDetails = Stripe_.V2.MoneyManagement.TransactionEntry.TransactionDetails; + export namespace TransactionDetails { + export type Category = Stripe_.V2.MoneyManagement.TransactionEntry.TransactionDetails.Category; + export type Flow = Stripe_.V2.MoneyManagement.TransactionEntry.TransactionDetails.Flow; + export namespace Flow { + export type Type = Stripe_.V2.MoneyManagement.TransactionEntry.TransactionDetails.Flow.Type; + } + } } - export namespace PayoutMethodListParams { - export type UsageStatus = Stripe.V2.MoneyManagement.PayoutMethodListParams.UsageStatus; + export namespace FinancialAccountStatement { + export type FilesByCurrency = Stripe_.V2.MoneyManagement.FinancialAccountStatement.FilesByCurrency; + export type Period = Stripe_.V2.MoneyManagement.FinancialAccountStatement.Period; + export type Status = Stripe_.V2.MoneyManagement.FinancialAccountStatement.Status; + export namespace FilesByCurrency { + export type DownloadUrl = Stripe_.V2.MoneyManagement.FinancialAccountStatement.FilesByCurrency.DownloadUrl; + } } } export namespace Network { - export type BusinessProfile = Stripe.V2.Network.BusinessProfile; - export type BusinessProfileRetrieveParams = Stripe.V2.Network.BusinessProfileRetrieveParams; - export type BusinessProfileMeParams = Stripe.V2.Network.BusinessProfileMeParams; - export type BusinessProfileResource = Stripe.V2.Network.BusinessProfileResource; + export type BusinessProfile = Stripe_.V2.Network.BusinessProfile; + export type BusinessProfileRetrieveParams = Stripe_.V2.Network.BusinessProfileRetrieveParams; + export type BusinessProfileMeParams = Stripe_.V2.Network.BusinessProfileMeParams; + export type BusinessProfileResource = Stripe_.V2.Network.BusinessProfileResource; + export namespace BusinessProfile { + export type Branding = Stripe_.V2.Network.BusinessProfile.Branding; + export namespace Branding { + export type Icon = Stripe_.V2.Network.BusinessProfile.Branding.Icon; + export type Logo = Stripe_.V2.Network.BusinessProfile.Branding.Logo; + } + } } export namespace OrchestratedCommerce { - export type Agreement = Stripe.V2.OrchestratedCommerce.Agreement; - export type AgreementCreateParams = Stripe.V2.OrchestratedCommerce.AgreementCreateParams; - export type AgreementRetrieveParams = Stripe.V2.OrchestratedCommerce.AgreementRetrieveParams; - export type AgreementListParams = Stripe.V2.OrchestratedCommerce.AgreementListParams; - export type AgreementConfirmParams = Stripe.V2.OrchestratedCommerce.AgreementConfirmParams; - export type AgreementTerminateParams = Stripe.V2.OrchestratedCommerce.AgreementTerminateParams; - export type AgreementResource = Stripe.V2.OrchestratedCommerce.AgreementResource; + export type Agreement = Stripe_.V2.OrchestratedCommerce.Agreement; + export type AgreementCreateParams = Stripe_.V2.OrchestratedCommerce.AgreementCreateParams; + export type AgreementRetrieveParams = Stripe_.V2.OrchestratedCommerce.AgreementRetrieveParams; + export type AgreementListParams = Stripe_.V2.OrchestratedCommerce.AgreementListParams; + export type AgreementConfirmParams = Stripe_.V2.OrchestratedCommerce.AgreementConfirmParams; + export type AgreementTerminateParams = Stripe_.V2.OrchestratedCommerce.AgreementTerminateParams; + export type AgreementResource = Stripe_.V2.OrchestratedCommerce.AgreementResource; + export namespace Agreement { + export type InitiatedBy = Stripe_.V2.OrchestratedCommerce.Agreement.InitiatedBy; + export type OrchestratorDetails = Stripe_.V2.OrchestratedCommerce.Agreement.OrchestratorDetails; + export type SellerDetails = Stripe_.V2.OrchestratedCommerce.Agreement.SellerDetails; + export type Status = Stripe_.V2.OrchestratedCommerce.Agreement.Status; + export type StatusTransitions = Stripe_.V2.OrchestratedCommerce.Agreement.StatusTransitions; + export type TerminatedBy = Stripe_.V2.OrchestratedCommerce.Agreement.TerminatedBy; + } } export namespace Payments { - export type OffSessionPayment = Stripe.V2.Payments.OffSessionPayment; - export type OffSessionPaymentCreateParams = Stripe.V2.Payments.OffSessionPaymentCreateParams; - export type OffSessionPaymentRetrieveParams = Stripe.V2.Payments.OffSessionPaymentRetrieveParams; - export type OffSessionPaymentListParams = Stripe.V2.Payments.OffSessionPaymentListParams; - export type OffSessionPaymentCancelParams = Stripe.V2.Payments.OffSessionPaymentCancelParams; - export type OffSessionPaymentCaptureParams = Stripe.V2.Payments.OffSessionPaymentCaptureParams; - export type OffSessionPaymentPauseParams = Stripe.V2.Payments.OffSessionPaymentPauseParams; - export type OffSessionPaymentResumeParams = Stripe.V2.Payments.OffSessionPaymentResumeParams; - export type OffSessionPaymentResource = Stripe.V2.Payments.OffSessionPaymentResource; - export type SettlementAllocationIntent = Stripe.V2.Payments.SettlementAllocationIntent; - export type SettlementAllocationIntentCreateParams = Stripe.V2.Payments.SettlementAllocationIntentCreateParams; - export type SettlementAllocationIntentRetrieveParams = Stripe.V2.Payments.SettlementAllocationIntentRetrieveParams; - export type SettlementAllocationIntentUpdateParams = Stripe.V2.Payments.SettlementAllocationIntentUpdateParams; - export type SettlementAllocationIntentListParams = Stripe.V2.Payments.SettlementAllocationIntentListParams; - export type SettlementAllocationIntentCancelParams = Stripe.V2.Payments.SettlementAllocationIntentCancelParams; - export type SettlementAllocationIntentSubmitParams = Stripe.V2.Payments.SettlementAllocationIntentSubmitParams; - export type SettlementAllocationIntentResource = Stripe.V2.Payments.SettlementAllocationIntentResource; - export type SettlementAllocationIntentSplit = Stripe.V2.Payments.SettlementAllocationIntentSplit; + export type OffSessionPayment = Stripe_.V2.Payments.OffSessionPayment; + export type OffSessionPaymentCreateParams = Stripe_.V2.Payments.OffSessionPaymentCreateParams; + export type OffSessionPaymentRetrieveParams = Stripe_.V2.Payments.OffSessionPaymentRetrieveParams; + export type OffSessionPaymentListParams = Stripe_.V2.Payments.OffSessionPaymentListParams; + export type OffSessionPaymentCancelParams = Stripe_.V2.Payments.OffSessionPaymentCancelParams; + export type OffSessionPaymentCaptureParams = Stripe_.V2.Payments.OffSessionPaymentCaptureParams; + export type OffSessionPaymentPauseParams = Stripe_.V2.Payments.OffSessionPaymentPauseParams; + export type OffSessionPaymentResumeParams = Stripe_.V2.Payments.OffSessionPaymentResumeParams; + export type OffSessionPaymentResource = Stripe_.V2.Payments.OffSessionPaymentResource; + export type SettlementAllocationIntent = Stripe_.V2.Payments.SettlementAllocationIntent; + export type SettlementAllocationIntentCreateParams = Stripe_.V2.Payments.SettlementAllocationIntentCreateParams; + export type SettlementAllocationIntentRetrieveParams = Stripe_.V2.Payments.SettlementAllocationIntentRetrieveParams; + export type SettlementAllocationIntentUpdateParams = Stripe_.V2.Payments.SettlementAllocationIntentUpdateParams; + export type SettlementAllocationIntentListParams = Stripe_.V2.Payments.SettlementAllocationIntentListParams; + export type SettlementAllocationIntentCancelParams = Stripe_.V2.Payments.SettlementAllocationIntentCancelParams; + export type SettlementAllocationIntentSubmitParams = Stripe_.V2.Payments.SettlementAllocationIntentSubmitParams; + export type SettlementAllocationIntentResource = Stripe_.V2.Payments.SettlementAllocationIntentResource; + export type SettlementAllocationIntentSplit = Stripe_.V2.Payments.SettlementAllocationIntentSplit; export namespace OffSessionPaymentCreateParams { - export type Cadence = Stripe.V2.Payments.OffSessionPaymentCreateParams.Cadence; - export type AmountDetails = Stripe.V2.Payments.OffSessionPaymentCreateParams.AmountDetails; - export type Capture = Stripe.V2.Payments.OffSessionPaymentCreateParams.Capture; - export type PaymentDetails = Stripe.V2.Payments.OffSessionPaymentCreateParams.PaymentDetails; - export type PaymentMethodData = Stripe.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodData; - export type PaymentMethodOptions = Stripe.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodOptions; - export type PaymentsOrchestration = Stripe.V2.Payments.OffSessionPaymentCreateParams.PaymentsOrchestration; - export type RetryDetails = Stripe.V2.Payments.OffSessionPaymentCreateParams.RetryDetails; - export type TransferData = Stripe.V2.Payments.OffSessionPaymentCreateParams.TransferData; + export type Cadence = Stripe_.V2.Payments.OffSessionPaymentCreateParams.Cadence; + export type AmountDetails = Stripe_.V2.Payments.OffSessionPaymentCreateParams.AmountDetails; + export type Capture = Stripe_.V2.Payments.OffSessionPaymentCreateParams.Capture; + export type PaymentDetails = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentDetails; + export type PaymentMethodData = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodData; + export type PaymentMethodOptions = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodOptions; + export type PaymentsOrchestration = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentsOrchestration; + export type RetryDetails = Stripe_.V2.Payments.OffSessionPaymentCreateParams.RetryDetails; + export type TransferData = Stripe_.V2.Payments.OffSessionPaymentCreateParams.TransferData; + export namespace AmountDetails { + export type LineItem = Stripe_.V2.Payments.OffSessionPaymentCreateParams.AmountDetails.LineItem; + export type Shipping = Stripe_.V2.Payments.OffSessionPaymentCreateParams.AmountDetails.Shipping; + export type Tax = Stripe_.V2.Payments.OffSessionPaymentCreateParams.AmountDetails.Tax; + export namespace LineItem { + export type Tax = Stripe_.V2.Payments.OffSessionPaymentCreateParams.AmountDetails.LineItem.Tax; + } + } + export namespace Capture { + export type CaptureMethod = Stripe_.V2.Payments.OffSessionPaymentCreateParams.Capture.CaptureMethod; + } + export namespace PaymentMethodData { + export type BillingDetails = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodData.BillingDetails; + export type Card = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodData.Card; + } + export namespace PaymentMethodOptions { + export type Card = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodOptions.Card; + } + export namespace RetryDetails { + export type RetryStrategy = Stripe_.V2.Payments.OffSessionPaymentCreateParams.RetryDetails.RetryStrategy; + } + } + export namespace OffSessionPayment { + export type AmountDetails = Stripe_.V2.Payments.OffSessionPayment.AmountDetails; + export type Cadence = Stripe_.V2.Payments.OffSessionPayment.Cadence; + export type Capture = Stripe_.V2.Payments.OffSessionPayment.Capture; + export type FailureReason = Stripe_.V2.Payments.OffSessionPayment.FailureReason; + export type PaymentDetails = Stripe_.V2.Payments.OffSessionPayment.PaymentDetails; + export type PaymentsOrchestration = Stripe_.V2.Payments.OffSessionPayment.PaymentsOrchestration; + export type RetryDetails = Stripe_.V2.Payments.OffSessionPayment.RetryDetails; + export type Status = Stripe_.V2.Payments.OffSessionPayment.Status; + export type TransferData = Stripe_.V2.Payments.OffSessionPayment.TransferData; + export namespace AmountDetails { + export type Error = Stripe_.V2.Payments.OffSessionPayment.AmountDetails.Error; + export type LineItem = Stripe_.V2.Payments.OffSessionPayment.AmountDetails.LineItem; + export type Shipping = Stripe_.V2.Payments.OffSessionPayment.AmountDetails.Shipping; + export type Tax = Stripe_.V2.Payments.OffSessionPayment.AmountDetails.Tax; + export namespace Error { + export type Code = Stripe_.V2.Payments.OffSessionPayment.AmountDetails.Error.Code; + } + export namespace LineItem { + export type Tax = Stripe_.V2.Payments.OffSessionPayment.AmountDetails.LineItem.Tax; + } + } + export namespace Capture { + export type CaptureMethod = Stripe_.V2.Payments.OffSessionPayment.Capture.CaptureMethod; + } + export namespace RetryDetails { + export type RetryStrategy = Stripe_.V2.Payments.OffSessionPayment.RetryDetails.RetryStrategy; + } } - export namespace OffSessionPaymentCaptureParams { - export type AmountDetails = Stripe.V2.Payments.OffSessionPaymentCaptureParams.AmountDetails; - export type PaymentDetails = Stripe.V2.Payments.OffSessionPaymentCaptureParams.PaymentDetails; - export type TransferData = Stripe.V2.Payments.OffSessionPaymentCaptureParams.TransferData; + export namespace SettlementAllocationIntent { + export type Status = Stripe_.V2.Payments.SettlementAllocationIntent.Status; + export type StatusDetails = Stripe_.V2.Payments.SettlementAllocationIntent.StatusDetails; + export namespace StatusDetails { + export type Errored = Stripe_.V2.Payments.SettlementAllocationIntent.StatusDetails.Errored; + } } - export namespace SettlementAllocationIntentListParams { - export type Status = Stripe.V2.Payments.SettlementAllocationIntentListParams.Status; + export namespace SettlementAllocationIntentSplit { + export type Flow = Stripe_.V2.Payments.SettlementAllocationIntentSplit.Flow; + export type Status = Stripe_.V2.Payments.SettlementAllocationIntentSplit.Status; + export type Type = Stripe_.V2.Payments.SettlementAllocationIntentSplit.Type; + export namespace Flow { + export type Type = Stripe_.V2.Payments.SettlementAllocationIntentSplit.Flow.Type; + } } } export namespace Reporting { - export type Report = Stripe.V2.Reporting.Report; - export type ReportRetrieveParams = Stripe.V2.Reporting.ReportRetrieveParams; - export type ReportResource = Stripe.V2.Reporting.ReportResource; - export type ReportRun = Stripe.V2.Reporting.ReportRun; - export type ReportRunCreateParams = Stripe.V2.Reporting.ReportRunCreateParams; - export type ReportRunRetrieveParams = Stripe.V2.Reporting.ReportRunRetrieveParams; - export type ReportRunResource = Stripe.V2.Reporting.ReportRunResource; + export type Report = Stripe_.V2.Reporting.Report; + export type ReportRetrieveParams = Stripe_.V2.Reporting.ReportRetrieveParams; + export type ReportResource = Stripe_.V2.Reporting.ReportResource; + export type ReportRun = Stripe_.V2.Reporting.ReportRun; + export type ReportRunCreateParams = Stripe_.V2.Reporting.ReportRunCreateParams; + export type ReportRunRetrieveParams = Stripe_.V2.Reporting.ReportRunRetrieveParams; + export type ReportRunResource = Stripe_.V2.Reporting.ReportRunResource; + export namespace Report { + export type Parameters = Stripe_.V2.Reporting.Report.Parameters; + export namespace Parameters { + export type ArrayDetails = Stripe_.V2.Reporting.Report.Parameters.ArrayDetails; + export type EnumDetails = Stripe_.V2.Reporting.Report.Parameters.EnumDetails; + export type TimestampDetails = Stripe_.V2.Reporting.Report.Parameters.TimestampDetails; + export type Type = Stripe_.V2.Reporting.Report.Parameters.Type; + export namespace ArrayDetails { + export type EnumDetails = Stripe_.V2.Reporting.Report.Parameters.ArrayDetails.EnumDetails; + } + } + } export namespace ReportRunCreateParams { - export type ReportParameters = Stripe.V2.Reporting.ReportRunCreateParams.ReportParameters; - export type ResultOptions = Stripe.V2.Reporting.ReportRunCreateParams.ResultOptions; + export type ReportParameters = Stripe_.V2.Reporting.ReportRunCreateParams.ReportParameters; + export type ResultOptions = Stripe_.V2.Reporting.ReportRunCreateParams.ResultOptions; + } + export namespace ReportRun { + export type ReportParameters = Stripe_.V2.Reporting.ReportRun.ReportParameters; + export type Result = Stripe_.V2.Reporting.ReportRun.Result; + export type ResultOptions = Stripe_.V2.Reporting.ReportRun.ResultOptions; + export type Status = Stripe_.V2.Reporting.ReportRun.Status; + export type StatusDetails = Stripe_.V2.Reporting.ReportRun.StatusDetails; + export namespace Result { + export type File = Stripe_.V2.Reporting.ReportRun.Result.File; + export namespace File { + export type ContentType = Stripe_.V2.Reporting.ReportRun.Result.File.ContentType; + export type DownloadUrl = Stripe_.V2.Reporting.ReportRun.Result.File.DownloadUrl; + export type Schema = Stripe_.V2.Reporting.ReportRun.Result.File.Schema; + export namespace Schema { + export type Type = Stripe_.V2.Reporting.ReportRun.Result.File.Schema.Type; + } + } + } + export namespace StatusDetails { + export type ErrorCode = Stripe_.V2.Reporting.ReportRun.StatusDetails.ErrorCode; + } } } export namespace Signals { - export type AccountSignal = Stripe.V2.Signals.AccountSignal; - export type AccountSignalRetrieveParams = Stripe.V2.Signals.AccountSignalRetrieveParams; - export type AccountSignalListParams = Stripe.V2.Signals.AccountSignalListParams; - export type AccountSignalResource = Stripe.V2.Signals.AccountSignalResource; - export namespace AccountSignalListParams { - export type Type = Stripe.V2.Signals.AccountSignalListParams.Type; - export type AccountDetails = Stripe.V2.Signals.AccountSignalListParams.AccountDetails; + export type AccountSignal = Stripe_.V2.Signals.AccountSignal; + export type AccountSignalRetrieveParams = Stripe_.V2.Signals.AccountSignalRetrieveParams; + export type AccountSignalListParams = Stripe_.V2.Signals.AccountSignalListParams; + export type AccountSignalResource = Stripe_.V2.Signals.AccountSignalResource; + export namespace AccountSignal { + export type AccountDetails = Stripe_.V2.Signals.AccountSignal.AccountDetails; + export type FraudulentMerchant = Stripe_.V2.Signals.AccountSignal.FraudulentMerchant; + export type MerchantDelinquency = Stripe_.V2.Signals.AccountSignal.MerchantDelinquency; + export type Type = Stripe_.V2.Signals.AccountSignal.Type; + export namespace FraudulentMerchant { + export type Indicator = Stripe_.V2.Signals.AccountSignal.FraudulentMerchant.Indicator; + export type RiskLevel = Stripe_.V2.Signals.AccountSignal.FraudulentMerchant.RiskLevel; + export namespace Indicator { + export type Impact = Stripe_.V2.Signals.AccountSignal.FraudulentMerchant.Indicator.Impact; + export type Indicator = Stripe_.V2.Signals.AccountSignal.FraudulentMerchant.Indicator.Indicator; + } + } + export namespace MerchantDelinquency { + export type Indicator = Stripe_.V2.Signals.AccountSignal.MerchantDelinquency.Indicator; + export type RiskLevel = Stripe_.V2.Signals.AccountSignal.MerchantDelinquency.RiskLevel; + export namespace Indicator { + export type Impact = Stripe_.V2.Signals.AccountSignal.MerchantDelinquency.Indicator.Impact; + export type Indicator = Stripe_.V2.Signals.AccountSignal.MerchantDelinquency.Indicator.Indicator; + } + } } } export namespace Tax { - export type ManualRule = Stripe.V2.Tax.ManualRule; - export type ManualRuleCreateParams = Stripe.V2.Tax.ManualRuleCreateParams; - export type ManualRuleRetrieveParams = Stripe.V2.Tax.ManualRuleRetrieveParams; - export type ManualRuleUpdateParams = Stripe.V2.Tax.ManualRuleUpdateParams; - export type ManualRuleListParams = Stripe.V2.Tax.ManualRuleListParams; - export type ManualRuleDeactivateParams = Stripe.V2.Tax.ManualRuleDeactivateParams; - export type ManualRuleResource = Stripe.V2.Tax.ManualRuleResource; + export type ManualRule = Stripe_.V2.Tax.ManualRule; + export type ManualRuleCreateParams = Stripe_.V2.Tax.ManualRuleCreateParams; + export type ManualRuleRetrieveParams = Stripe_.V2.Tax.ManualRuleRetrieveParams; + export type ManualRuleUpdateParams = Stripe_.V2.Tax.ManualRuleUpdateParams; + export type ManualRuleListParams = Stripe_.V2.Tax.ManualRuleListParams; + export type ManualRuleDeactivateParams = Stripe_.V2.Tax.ManualRuleDeactivateParams; + export type ManualRuleResource = Stripe_.V2.Tax.ManualRuleResource; export namespace ManualRuleCreateParams { - export type ScheduledTaxRate = Stripe.V2.Tax.ManualRuleCreateParams.ScheduledTaxRate; - export type Location = Stripe.V2.Tax.ManualRuleCreateParams.Location; - export type Product = Stripe.V2.Tax.ManualRuleCreateParams.Product; + export type ScheduledTaxRate = Stripe_.V2.Tax.ManualRuleCreateParams.ScheduledTaxRate; + export type Location = Stripe_.V2.Tax.ManualRuleCreateParams.Location; + export type Product = Stripe_.V2.Tax.ManualRuleCreateParams.Product; + export namespace Product { + export type Type = Stripe_.V2.Tax.ManualRuleCreateParams.Product.Type; + } + export namespace ScheduledTaxRate { + export type Rate = Stripe_.V2.Tax.ManualRuleCreateParams.ScheduledTaxRate.Rate; + } } - export namespace ManualRuleUpdateParams { - export type ScheduledTaxRate = Stripe.V2.Tax.ManualRuleUpdateParams.ScheduledTaxRate; - export type Location = Stripe.V2.Tax.ManualRuleUpdateParams.Location; - export type Product = Stripe.V2.Tax.ManualRuleUpdateParams.Product; + export namespace ManualRule { + export type Location = Stripe_.V2.Tax.ManualRule.Location; + export type Product = Stripe_.V2.Tax.ManualRule.Product; + export type ScheduledTaxRate = Stripe_.V2.Tax.ManualRule.ScheduledTaxRate; + export type Status = Stripe_.V2.Tax.ManualRule.Status; + export namespace Product { + export type Type = Stripe_.V2.Tax.ManualRule.Product.Type; + } + export namespace ScheduledTaxRate { + export type Rate = Stripe_.V2.Tax.ManualRule.ScheduledTaxRate.Rate; + } } } export namespace Commerce { @@ -8414,823 +25597,823 @@ declare namespace StripeConstructor { } } export namespace Events { - export type UnknownEventNotification = Stripe.V2.Core.Events.UnknownEventNotification; - export type V1AccountApplicationAuthorizedEvent = Stripe.V2.Core.Events.V1AccountApplicationAuthorizedEvent; - export type V1AccountApplicationAuthorizedEventNotification = Stripe.V2.Core.Events.V1AccountApplicationAuthorizedEventNotification; - export type V1AccountApplicationDeauthorizedEvent = Stripe.V2.Core.Events.V1AccountApplicationDeauthorizedEvent; - export type V1AccountApplicationDeauthorizedEventNotification = Stripe.V2.Core.Events.V1AccountApplicationDeauthorizedEventNotification; - export type V1AccountExternalAccountCreatedEvent = Stripe.V2.Core.Events.V1AccountExternalAccountCreatedEvent; - export type V1AccountExternalAccountCreatedEventNotification = Stripe.V2.Core.Events.V1AccountExternalAccountCreatedEventNotification; - export type V1AccountExternalAccountDeletedEvent = Stripe.V2.Core.Events.V1AccountExternalAccountDeletedEvent; - export type V1AccountExternalAccountDeletedEventNotification = Stripe.V2.Core.Events.V1AccountExternalAccountDeletedEventNotification; - export type V1AccountExternalAccountUpdatedEvent = Stripe.V2.Core.Events.V1AccountExternalAccountUpdatedEvent; - export type V1AccountExternalAccountUpdatedEventNotification = Stripe.V2.Core.Events.V1AccountExternalAccountUpdatedEventNotification; - export type V1AccountUpdatedEvent = Stripe.V2.Core.Events.V1AccountUpdatedEvent; - export type V1AccountUpdatedEventNotification = Stripe.V2.Core.Events.V1AccountUpdatedEventNotification; - export type V1AccountSignalsIncludingDelinquencyCreatedEvent = Stripe.V2.Core.Events.V1AccountSignalsIncludingDelinquencyCreatedEvent; - export type V1AccountSignalsIncludingDelinquencyCreatedEventNotification = Stripe.V2.Core.Events.V1AccountSignalsIncludingDelinquencyCreatedEventNotification; - export type V1ApplicationFeeCreatedEvent = Stripe.V2.Core.Events.V1ApplicationFeeCreatedEvent; - export type V1ApplicationFeeCreatedEventNotification = Stripe.V2.Core.Events.V1ApplicationFeeCreatedEventNotification; - export type V1ApplicationFeeRefundUpdatedEvent = Stripe.V2.Core.Events.V1ApplicationFeeRefundUpdatedEvent; - export type V1ApplicationFeeRefundUpdatedEventNotification = Stripe.V2.Core.Events.V1ApplicationFeeRefundUpdatedEventNotification; - export type V1ApplicationFeeRefundedEvent = Stripe.V2.Core.Events.V1ApplicationFeeRefundedEvent; - export type V1ApplicationFeeRefundedEventNotification = Stripe.V2.Core.Events.V1ApplicationFeeRefundedEventNotification; - export type V1BalanceAvailableEvent = Stripe.V2.Core.Events.V1BalanceAvailableEvent; - export type V1BalanceAvailableEventNotification = Stripe.V2.Core.Events.V1BalanceAvailableEventNotification; - export type V1BillingAlertTriggeredEvent = Stripe.V2.Core.Events.V1BillingAlertTriggeredEvent; - export type V1BillingAlertTriggeredEventNotification = Stripe.V2.Core.Events.V1BillingAlertTriggeredEventNotification; - export type V1BillingMeterErrorReportTriggeredEvent = Stripe.V2.Core.Events.V1BillingMeterErrorReportTriggeredEvent; - export type V1BillingMeterErrorReportTriggeredEventNotification = Stripe.V2.Core.Events.V1BillingMeterErrorReportTriggeredEventNotification; - export type V1BillingMeterNoMeterFoundEvent = Stripe.V2.Core.Events.V1BillingMeterNoMeterFoundEvent; - export type V1BillingMeterNoMeterFoundEventNotification = Stripe.V2.Core.Events.V1BillingMeterNoMeterFoundEventNotification; - export type V1BillingPortalConfigurationCreatedEvent = Stripe.V2.Core.Events.V1BillingPortalConfigurationCreatedEvent; - export type V1BillingPortalConfigurationCreatedEventNotification = Stripe.V2.Core.Events.V1BillingPortalConfigurationCreatedEventNotification; - export type V1BillingPortalConfigurationUpdatedEvent = Stripe.V2.Core.Events.V1BillingPortalConfigurationUpdatedEvent; - export type V1BillingPortalConfigurationUpdatedEventNotification = Stripe.V2.Core.Events.V1BillingPortalConfigurationUpdatedEventNotification; - export type V1BillingPortalSessionCreatedEvent = Stripe.V2.Core.Events.V1BillingPortalSessionCreatedEvent; - export type V1BillingPortalSessionCreatedEventNotification = Stripe.V2.Core.Events.V1BillingPortalSessionCreatedEventNotification; - export type V1CapabilityUpdatedEvent = Stripe.V2.Core.Events.V1CapabilityUpdatedEvent; - export type V1CapabilityUpdatedEventNotification = Stripe.V2.Core.Events.V1CapabilityUpdatedEventNotification; - export type V1CashBalanceFundsAvailableEvent = Stripe.V2.Core.Events.V1CashBalanceFundsAvailableEvent; - export type V1CashBalanceFundsAvailableEventNotification = Stripe.V2.Core.Events.V1CashBalanceFundsAvailableEventNotification; - export type V1ChargeCapturedEvent = Stripe.V2.Core.Events.V1ChargeCapturedEvent; - export type V1ChargeCapturedEventNotification = Stripe.V2.Core.Events.V1ChargeCapturedEventNotification; - export type V1ChargeDisputeClosedEvent = Stripe.V2.Core.Events.V1ChargeDisputeClosedEvent; - export type V1ChargeDisputeClosedEventNotification = Stripe.V2.Core.Events.V1ChargeDisputeClosedEventNotification; - export type V1ChargeDisputeCreatedEvent = Stripe.V2.Core.Events.V1ChargeDisputeCreatedEvent; - export type V1ChargeDisputeCreatedEventNotification = Stripe.V2.Core.Events.V1ChargeDisputeCreatedEventNotification; - export type V1ChargeDisputeFundsReinstatedEvent = Stripe.V2.Core.Events.V1ChargeDisputeFundsReinstatedEvent; - export type V1ChargeDisputeFundsReinstatedEventNotification = Stripe.V2.Core.Events.V1ChargeDisputeFundsReinstatedEventNotification; - export type V1ChargeDisputeFundsWithdrawnEvent = Stripe.V2.Core.Events.V1ChargeDisputeFundsWithdrawnEvent; - export type V1ChargeDisputeFundsWithdrawnEventNotification = Stripe.V2.Core.Events.V1ChargeDisputeFundsWithdrawnEventNotification; - export type V1ChargeDisputeUpdatedEvent = Stripe.V2.Core.Events.V1ChargeDisputeUpdatedEvent; - export type V1ChargeDisputeUpdatedEventNotification = Stripe.V2.Core.Events.V1ChargeDisputeUpdatedEventNotification; - export type V1ChargeExpiredEvent = Stripe.V2.Core.Events.V1ChargeExpiredEvent; - export type V1ChargeExpiredEventNotification = Stripe.V2.Core.Events.V1ChargeExpiredEventNotification; - export type V1ChargeFailedEvent = Stripe.V2.Core.Events.V1ChargeFailedEvent; - export type V1ChargeFailedEventNotification = Stripe.V2.Core.Events.V1ChargeFailedEventNotification; - export type V1ChargePendingEvent = Stripe.V2.Core.Events.V1ChargePendingEvent; - export type V1ChargePendingEventNotification = Stripe.V2.Core.Events.V1ChargePendingEventNotification; - export type V1ChargeRefundUpdatedEvent = Stripe.V2.Core.Events.V1ChargeRefundUpdatedEvent; - export type V1ChargeRefundUpdatedEventNotification = Stripe.V2.Core.Events.V1ChargeRefundUpdatedEventNotification; - export type V1ChargeRefundedEvent = Stripe.V2.Core.Events.V1ChargeRefundedEvent; - export type V1ChargeRefundedEventNotification = Stripe.V2.Core.Events.V1ChargeRefundedEventNotification; - export type V1ChargeSucceededEvent = Stripe.V2.Core.Events.V1ChargeSucceededEvent; - export type V1ChargeSucceededEventNotification = Stripe.V2.Core.Events.V1ChargeSucceededEventNotification; - export type V1ChargeUpdatedEvent = Stripe.V2.Core.Events.V1ChargeUpdatedEvent; - export type V1ChargeUpdatedEventNotification = Stripe.V2.Core.Events.V1ChargeUpdatedEventNotification; - export type V1CheckoutSessionAsyncPaymentFailedEvent = Stripe.V2.Core.Events.V1CheckoutSessionAsyncPaymentFailedEvent; - export type V1CheckoutSessionAsyncPaymentFailedEventNotification = Stripe.V2.Core.Events.V1CheckoutSessionAsyncPaymentFailedEventNotification; - export type V1CheckoutSessionAsyncPaymentSucceededEvent = Stripe.V2.Core.Events.V1CheckoutSessionAsyncPaymentSucceededEvent; - export type V1CheckoutSessionAsyncPaymentSucceededEventNotification = Stripe.V2.Core.Events.V1CheckoutSessionAsyncPaymentSucceededEventNotification; - export type V1CheckoutSessionCompletedEvent = Stripe.V2.Core.Events.V1CheckoutSessionCompletedEvent; - export type V1CheckoutSessionCompletedEventNotification = Stripe.V2.Core.Events.V1CheckoutSessionCompletedEventNotification; - export type V1CheckoutSessionExpiredEvent = Stripe.V2.Core.Events.V1CheckoutSessionExpiredEvent; - export type V1CheckoutSessionExpiredEventNotification = Stripe.V2.Core.Events.V1CheckoutSessionExpiredEventNotification; - export type V1ClimateOrderCanceledEvent = Stripe.V2.Core.Events.V1ClimateOrderCanceledEvent; - export type V1ClimateOrderCanceledEventNotification = Stripe.V2.Core.Events.V1ClimateOrderCanceledEventNotification; - export type V1ClimateOrderCreatedEvent = Stripe.V2.Core.Events.V1ClimateOrderCreatedEvent; - export type V1ClimateOrderCreatedEventNotification = Stripe.V2.Core.Events.V1ClimateOrderCreatedEventNotification; - export type V1ClimateOrderDelayedEvent = Stripe.V2.Core.Events.V1ClimateOrderDelayedEvent; - export type V1ClimateOrderDelayedEventNotification = Stripe.V2.Core.Events.V1ClimateOrderDelayedEventNotification; - export type V1ClimateOrderDeliveredEvent = Stripe.V2.Core.Events.V1ClimateOrderDeliveredEvent; - export type V1ClimateOrderDeliveredEventNotification = Stripe.V2.Core.Events.V1ClimateOrderDeliveredEventNotification; - export type V1ClimateOrderProductSubstitutedEvent = Stripe.V2.Core.Events.V1ClimateOrderProductSubstitutedEvent; - export type V1ClimateOrderProductSubstitutedEventNotification = Stripe.V2.Core.Events.V1ClimateOrderProductSubstitutedEventNotification; - export type V1ClimateProductCreatedEvent = Stripe.V2.Core.Events.V1ClimateProductCreatedEvent; - export type V1ClimateProductCreatedEventNotification = Stripe.V2.Core.Events.V1ClimateProductCreatedEventNotification; - export type V1ClimateProductPricingUpdatedEvent = Stripe.V2.Core.Events.V1ClimateProductPricingUpdatedEvent; - export type V1ClimateProductPricingUpdatedEventNotification = Stripe.V2.Core.Events.V1ClimateProductPricingUpdatedEventNotification; - export type V1CouponCreatedEvent = Stripe.V2.Core.Events.V1CouponCreatedEvent; - export type V1CouponCreatedEventNotification = Stripe.V2.Core.Events.V1CouponCreatedEventNotification; - export type V1CouponDeletedEvent = Stripe.V2.Core.Events.V1CouponDeletedEvent; - export type V1CouponDeletedEventNotification = Stripe.V2.Core.Events.V1CouponDeletedEventNotification; - export type V1CouponUpdatedEvent = Stripe.V2.Core.Events.V1CouponUpdatedEvent; - export type V1CouponUpdatedEventNotification = Stripe.V2.Core.Events.V1CouponUpdatedEventNotification; - export type V1CreditNoteCreatedEvent = Stripe.V2.Core.Events.V1CreditNoteCreatedEvent; - export type V1CreditNoteCreatedEventNotification = Stripe.V2.Core.Events.V1CreditNoteCreatedEventNotification; - export type V1CreditNoteUpdatedEvent = Stripe.V2.Core.Events.V1CreditNoteUpdatedEvent; - export type V1CreditNoteUpdatedEventNotification = Stripe.V2.Core.Events.V1CreditNoteUpdatedEventNotification; - export type V1CreditNoteVoidedEvent = Stripe.V2.Core.Events.V1CreditNoteVoidedEvent; - export type V1CreditNoteVoidedEventNotification = Stripe.V2.Core.Events.V1CreditNoteVoidedEventNotification; - export type V1CustomerCreatedEvent = Stripe.V2.Core.Events.V1CustomerCreatedEvent; - export type V1CustomerCreatedEventNotification = Stripe.V2.Core.Events.V1CustomerCreatedEventNotification; - export type V1CustomerDeletedEvent = Stripe.V2.Core.Events.V1CustomerDeletedEvent; - export type V1CustomerDeletedEventNotification = Stripe.V2.Core.Events.V1CustomerDeletedEventNotification; - export type V1CustomerSubscriptionCreatedEvent = Stripe.V2.Core.Events.V1CustomerSubscriptionCreatedEvent; - export type V1CustomerSubscriptionCreatedEventNotification = Stripe.V2.Core.Events.V1CustomerSubscriptionCreatedEventNotification; - export type V1CustomerSubscriptionDeletedEvent = Stripe.V2.Core.Events.V1CustomerSubscriptionDeletedEvent; - export type V1CustomerSubscriptionDeletedEventNotification = Stripe.V2.Core.Events.V1CustomerSubscriptionDeletedEventNotification; - export type V1CustomerSubscriptionPausedEvent = Stripe.V2.Core.Events.V1CustomerSubscriptionPausedEvent; - export type V1CustomerSubscriptionPausedEventNotification = Stripe.V2.Core.Events.V1CustomerSubscriptionPausedEventNotification; - export type V1CustomerSubscriptionPendingUpdateAppliedEvent = Stripe.V2.Core.Events.V1CustomerSubscriptionPendingUpdateAppliedEvent; - export type V1CustomerSubscriptionPendingUpdateAppliedEventNotification = Stripe.V2.Core.Events.V1CustomerSubscriptionPendingUpdateAppliedEventNotification; - export type V1CustomerSubscriptionPendingUpdateExpiredEvent = Stripe.V2.Core.Events.V1CustomerSubscriptionPendingUpdateExpiredEvent; - export type V1CustomerSubscriptionPendingUpdateExpiredEventNotification = Stripe.V2.Core.Events.V1CustomerSubscriptionPendingUpdateExpiredEventNotification; - export type V1CustomerSubscriptionResumedEvent = Stripe.V2.Core.Events.V1CustomerSubscriptionResumedEvent; - export type V1CustomerSubscriptionResumedEventNotification = Stripe.V2.Core.Events.V1CustomerSubscriptionResumedEventNotification; - export type V1CustomerSubscriptionTrialWillEndEvent = Stripe.V2.Core.Events.V1CustomerSubscriptionTrialWillEndEvent; - export type V1CustomerSubscriptionTrialWillEndEventNotification = Stripe.V2.Core.Events.V1CustomerSubscriptionTrialWillEndEventNotification; - export type V1CustomerSubscriptionUpdatedEvent = Stripe.V2.Core.Events.V1CustomerSubscriptionUpdatedEvent; - export type V1CustomerSubscriptionUpdatedEventNotification = Stripe.V2.Core.Events.V1CustomerSubscriptionUpdatedEventNotification; - export type V1CustomerTaxIdCreatedEvent = Stripe.V2.Core.Events.V1CustomerTaxIdCreatedEvent; - export type V1CustomerTaxIdCreatedEventNotification = Stripe.V2.Core.Events.V1CustomerTaxIdCreatedEventNotification; - export type V1CustomerTaxIdDeletedEvent = Stripe.V2.Core.Events.V1CustomerTaxIdDeletedEvent; - export type V1CustomerTaxIdDeletedEventNotification = Stripe.V2.Core.Events.V1CustomerTaxIdDeletedEventNotification; - export type V1CustomerTaxIdUpdatedEvent = Stripe.V2.Core.Events.V1CustomerTaxIdUpdatedEvent; - export type V1CustomerTaxIdUpdatedEventNotification = Stripe.V2.Core.Events.V1CustomerTaxIdUpdatedEventNotification; - export type V1CustomerUpdatedEvent = Stripe.V2.Core.Events.V1CustomerUpdatedEvent; - export type V1CustomerUpdatedEventNotification = Stripe.V2.Core.Events.V1CustomerUpdatedEventNotification; - export type V1CustomerCashBalanceTransactionCreatedEvent = Stripe.V2.Core.Events.V1CustomerCashBalanceTransactionCreatedEvent; - export type V1CustomerCashBalanceTransactionCreatedEventNotification = Stripe.V2.Core.Events.V1CustomerCashBalanceTransactionCreatedEventNotification; - export type V1EntitlementsActiveEntitlementSummaryUpdatedEvent = Stripe.V2.Core.Events.V1EntitlementsActiveEntitlementSummaryUpdatedEvent; - export type V1EntitlementsActiveEntitlementSummaryUpdatedEventNotification = Stripe.V2.Core.Events.V1EntitlementsActiveEntitlementSummaryUpdatedEventNotification; - export type V1FileCreatedEvent = Stripe.V2.Core.Events.V1FileCreatedEvent; - export type V1FileCreatedEventNotification = Stripe.V2.Core.Events.V1FileCreatedEventNotification; - export type V1FinancialConnectionsAccountCreatedEvent = Stripe.V2.Core.Events.V1FinancialConnectionsAccountCreatedEvent; - export type V1FinancialConnectionsAccountCreatedEventNotification = Stripe.V2.Core.Events.V1FinancialConnectionsAccountCreatedEventNotification; - export type V1FinancialConnectionsAccountDeactivatedEvent = Stripe.V2.Core.Events.V1FinancialConnectionsAccountDeactivatedEvent; - export type V1FinancialConnectionsAccountDeactivatedEventNotification = Stripe.V2.Core.Events.V1FinancialConnectionsAccountDeactivatedEventNotification; - export type V1FinancialConnectionsAccountDisconnectedEvent = Stripe.V2.Core.Events.V1FinancialConnectionsAccountDisconnectedEvent; - export type V1FinancialConnectionsAccountDisconnectedEventNotification = Stripe.V2.Core.Events.V1FinancialConnectionsAccountDisconnectedEventNotification; - export type V1FinancialConnectionsAccountReactivatedEvent = Stripe.V2.Core.Events.V1FinancialConnectionsAccountReactivatedEvent; - export type V1FinancialConnectionsAccountReactivatedEventNotification = Stripe.V2.Core.Events.V1FinancialConnectionsAccountReactivatedEventNotification; - export type V1FinancialConnectionsAccountRefreshedBalanceEvent = Stripe.V2.Core.Events.V1FinancialConnectionsAccountRefreshedBalanceEvent; - export type V1FinancialConnectionsAccountRefreshedBalanceEventNotification = Stripe.V2.Core.Events.V1FinancialConnectionsAccountRefreshedBalanceEventNotification; - export type V1FinancialConnectionsAccountRefreshedOwnershipEvent = Stripe.V2.Core.Events.V1FinancialConnectionsAccountRefreshedOwnershipEvent; - export type V1FinancialConnectionsAccountRefreshedOwnershipEventNotification = Stripe.V2.Core.Events.V1FinancialConnectionsAccountRefreshedOwnershipEventNotification; - export type V1FinancialConnectionsAccountRefreshedTransactionsEvent = Stripe.V2.Core.Events.V1FinancialConnectionsAccountRefreshedTransactionsEvent; - export type V1FinancialConnectionsAccountRefreshedTransactionsEventNotification = Stripe.V2.Core.Events.V1FinancialConnectionsAccountRefreshedTransactionsEventNotification; - export type V1IdentityVerificationSessionCanceledEvent = Stripe.V2.Core.Events.V1IdentityVerificationSessionCanceledEvent; - export type V1IdentityVerificationSessionCanceledEventNotification = Stripe.V2.Core.Events.V1IdentityVerificationSessionCanceledEventNotification; - export type V1IdentityVerificationSessionCreatedEvent = Stripe.V2.Core.Events.V1IdentityVerificationSessionCreatedEvent; - export type V1IdentityVerificationSessionCreatedEventNotification = Stripe.V2.Core.Events.V1IdentityVerificationSessionCreatedEventNotification; - export type V1IdentityVerificationSessionProcessingEvent = Stripe.V2.Core.Events.V1IdentityVerificationSessionProcessingEvent; - export type V1IdentityVerificationSessionProcessingEventNotification = Stripe.V2.Core.Events.V1IdentityVerificationSessionProcessingEventNotification; - export type V1IdentityVerificationSessionRedactedEvent = Stripe.V2.Core.Events.V1IdentityVerificationSessionRedactedEvent; - export type V1IdentityVerificationSessionRedactedEventNotification = Stripe.V2.Core.Events.V1IdentityVerificationSessionRedactedEventNotification; - export type V1IdentityVerificationSessionRequiresInputEvent = Stripe.V2.Core.Events.V1IdentityVerificationSessionRequiresInputEvent; - export type V1IdentityVerificationSessionRequiresInputEventNotification = Stripe.V2.Core.Events.V1IdentityVerificationSessionRequiresInputEventNotification; - export type V1IdentityVerificationSessionVerifiedEvent = Stripe.V2.Core.Events.V1IdentityVerificationSessionVerifiedEvent; - export type V1IdentityVerificationSessionVerifiedEventNotification = Stripe.V2.Core.Events.V1IdentityVerificationSessionVerifiedEventNotification; - export type V1InvoiceCreatedEvent = Stripe.V2.Core.Events.V1InvoiceCreatedEvent; - export type V1InvoiceCreatedEventNotification = Stripe.V2.Core.Events.V1InvoiceCreatedEventNotification; - export type V1InvoiceDeletedEvent = Stripe.V2.Core.Events.V1InvoiceDeletedEvent; - export type V1InvoiceDeletedEventNotification = Stripe.V2.Core.Events.V1InvoiceDeletedEventNotification; - export type V1InvoiceFinalizationFailedEvent = Stripe.V2.Core.Events.V1InvoiceFinalizationFailedEvent; - export type V1InvoiceFinalizationFailedEventNotification = Stripe.V2.Core.Events.V1InvoiceFinalizationFailedEventNotification; - export type V1InvoiceFinalizedEvent = Stripe.V2.Core.Events.V1InvoiceFinalizedEvent; - export type V1InvoiceFinalizedEventNotification = Stripe.V2.Core.Events.V1InvoiceFinalizedEventNotification; - export type V1InvoiceMarkedUncollectibleEvent = Stripe.V2.Core.Events.V1InvoiceMarkedUncollectibleEvent; - export type V1InvoiceMarkedUncollectibleEventNotification = Stripe.V2.Core.Events.V1InvoiceMarkedUncollectibleEventNotification; - export type V1InvoiceOverdueEvent = Stripe.V2.Core.Events.V1InvoiceOverdueEvent; - export type V1InvoiceOverdueEventNotification = Stripe.V2.Core.Events.V1InvoiceOverdueEventNotification; - export type V1InvoiceOverpaidEvent = Stripe.V2.Core.Events.V1InvoiceOverpaidEvent; - export type V1InvoiceOverpaidEventNotification = Stripe.V2.Core.Events.V1InvoiceOverpaidEventNotification; - export type V1InvoicePaidEvent = Stripe.V2.Core.Events.V1InvoicePaidEvent; - export type V1InvoicePaidEventNotification = Stripe.V2.Core.Events.V1InvoicePaidEventNotification; - export type V1InvoicePaymentActionRequiredEvent = Stripe.V2.Core.Events.V1InvoicePaymentActionRequiredEvent; - export type V1InvoicePaymentActionRequiredEventNotification = Stripe.V2.Core.Events.V1InvoicePaymentActionRequiredEventNotification; - export type V1InvoicePaymentFailedEvent = Stripe.V2.Core.Events.V1InvoicePaymentFailedEvent; - export type V1InvoicePaymentFailedEventNotification = Stripe.V2.Core.Events.V1InvoicePaymentFailedEventNotification; - export type V1InvoicePaymentSucceededEvent = Stripe.V2.Core.Events.V1InvoicePaymentSucceededEvent; - export type V1InvoicePaymentSucceededEventNotification = Stripe.V2.Core.Events.V1InvoicePaymentSucceededEventNotification; - export type V1InvoiceSentEvent = Stripe.V2.Core.Events.V1InvoiceSentEvent; - export type V1InvoiceSentEventNotification = Stripe.V2.Core.Events.V1InvoiceSentEventNotification; - export type V1InvoiceUpcomingEvent = Stripe.V2.Core.Events.V1InvoiceUpcomingEvent; - export type V1InvoiceUpcomingEventNotification = Stripe.V2.Core.Events.V1InvoiceUpcomingEventNotification; - export type V1InvoiceUpdatedEvent = Stripe.V2.Core.Events.V1InvoiceUpdatedEvent; - export type V1InvoiceUpdatedEventNotification = Stripe.V2.Core.Events.V1InvoiceUpdatedEventNotification; - export type V1InvoiceVoidedEvent = Stripe.V2.Core.Events.V1InvoiceVoidedEvent; - export type V1InvoiceVoidedEventNotification = Stripe.V2.Core.Events.V1InvoiceVoidedEventNotification; - export type V1InvoiceWillBeDueEvent = Stripe.V2.Core.Events.V1InvoiceWillBeDueEvent; - export type V1InvoiceWillBeDueEventNotification = Stripe.V2.Core.Events.V1InvoiceWillBeDueEventNotification; - export type V1InvoicePaymentPaidEvent = Stripe.V2.Core.Events.V1InvoicePaymentPaidEvent; - export type V1InvoicePaymentPaidEventNotification = Stripe.V2.Core.Events.V1InvoicePaymentPaidEventNotification; - export type V1InvoiceitemCreatedEvent = Stripe.V2.Core.Events.V1InvoiceitemCreatedEvent; - export type V1InvoiceitemCreatedEventNotification = Stripe.V2.Core.Events.V1InvoiceitemCreatedEventNotification; - export type V1InvoiceitemDeletedEvent = Stripe.V2.Core.Events.V1InvoiceitemDeletedEvent; - export type V1InvoiceitemDeletedEventNotification = Stripe.V2.Core.Events.V1InvoiceitemDeletedEventNotification; - export type V1IssuingAuthorizationCreatedEvent = Stripe.V2.Core.Events.V1IssuingAuthorizationCreatedEvent; - export type V1IssuingAuthorizationCreatedEventNotification = Stripe.V2.Core.Events.V1IssuingAuthorizationCreatedEventNotification; - export type V1IssuingAuthorizationRequestEvent = Stripe.V2.Core.Events.V1IssuingAuthorizationRequestEvent; - export type V1IssuingAuthorizationRequestEventNotification = Stripe.V2.Core.Events.V1IssuingAuthorizationRequestEventNotification; - export type V1IssuingAuthorizationUpdatedEvent = Stripe.V2.Core.Events.V1IssuingAuthorizationUpdatedEvent; - export type V1IssuingAuthorizationUpdatedEventNotification = Stripe.V2.Core.Events.V1IssuingAuthorizationUpdatedEventNotification; - export type V1IssuingCardCreatedEvent = Stripe.V2.Core.Events.V1IssuingCardCreatedEvent; - export type V1IssuingCardCreatedEventNotification = Stripe.V2.Core.Events.V1IssuingCardCreatedEventNotification; - export type V1IssuingCardUpdatedEvent = Stripe.V2.Core.Events.V1IssuingCardUpdatedEvent; - export type V1IssuingCardUpdatedEventNotification = Stripe.V2.Core.Events.V1IssuingCardUpdatedEventNotification; - export type V1IssuingCardholderCreatedEvent = Stripe.V2.Core.Events.V1IssuingCardholderCreatedEvent; - export type V1IssuingCardholderCreatedEventNotification = Stripe.V2.Core.Events.V1IssuingCardholderCreatedEventNotification; - export type V1IssuingCardholderUpdatedEvent = Stripe.V2.Core.Events.V1IssuingCardholderUpdatedEvent; - export type V1IssuingCardholderUpdatedEventNotification = Stripe.V2.Core.Events.V1IssuingCardholderUpdatedEventNotification; - export type V1IssuingDisputeClosedEvent = Stripe.V2.Core.Events.V1IssuingDisputeClosedEvent; - export type V1IssuingDisputeClosedEventNotification = Stripe.V2.Core.Events.V1IssuingDisputeClosedEventNotification; - export type V1IssuingDisputeCreatedEvent = Stripe.V2.Core.Events.V1IssuingDisputeCreatedEvent; - export type V1IssuingDisputeCreatedEventNotification = Stripe.V2.Core.Events.V1IssuingDisputeCreatedEventNotification; - export type V1IssuingDisputeFundsReinstatedEvent = Stripe.V2.Core.Events.V1IssuingDisputeFundsReinstatedEvent; - export type V1IssuingDisputeFundsReinstatedEventNotification = Stripe.V2.Core.Events.V1IssuingDisputeFundsReinstatedEventNotification; - export type V1IssuingDisputeFundsRescindedEvent = Stripe.V2.Core.Events.V1IssuingDisputeFundsRescindedEvent; - export type V1IssuingDisputeFundsRescindedEventNotification = Stripe.V2.Core.Events.V1IssuingDisputeFundsRescindedEventNotification; - export type V1IssuingDisputeSubmittedEvent = Stripe.V2.Core.Events.V1IssuingDisputeSubmittedEvent; - export type V1IssuingDisputeSubmittedEventNotification = Stripe.V2.Core.Events.V1IssuingDisputeSubmittedEventNotification; - export type V1IssuingDisputeUpdatedEvent = Stripe.V2.Core.Events.V1IssuingDisputeUpdatedEvent; - export type V1IssuingDisputeUpdatedEventNotification = Stripe.V2.Core.Events.V1IssuingDisputeUpdatedEventNotification; - export type V1IssuingPersonalizationDesignActivatedEvent = Stripe.V2.Core.Events.V1IssuingPersonalizationDesignActivatedEvent; - export type V1IssuingPersonalizationDesignActivatedEventNotification = Stripe.V2.Core.Events.V1IssuingPersonalizationDesignActivatedEventNotification; - export type V1IssuingPersonalizationDesignDeactivatedEvent = Stripe.V2.Core.Events.V1IssuingPersonalizationDesignDeactivatedEvent; - export type V1IssuingPersonalizationDesignDeactivatedEventNotification = Stripe.V2.Core.Events.V1IssuingPersonalizationDesignDeactivatedEventNotification; - export type V1IssuingPersonalizationDesignRejectedEvent = Stripe.V2.Core.Events.V1IssuingPersonalizationDesignRejectedEvent; - export type V1IssuingPersonalizationDesignRejectedEventNotification = Stripe.V2.Core.Events.V1IssuingPersonalizationDesignRejectedEventNotification; - export type V1IssuingPersonalizationDesignUpdatedEvent = Stripe.V2.Core.Events.V1IssuingPersonalizationDesignUpdatedEvent; - export type V1IssuingPersonalizationDesignUpdatedEventNotification = Stripe.V2.Core.Events.V1IssuingPersonalizationDesignUpdatedEventNotification; - export type V1IssuingTokenCreatedEvent = Stripe.V2.Core.Events.V1IssuingTokenCreatedEvent; - export type V1IssuingTokenCreatedEventNotification = Stripe.V2.Core.Events.V1IssuingTokenCreatedEventNotification; - export type V1IssuingTokenUpdatedEvent = Stripe.V2.Core.Events.V1IssuingTokenUpdatedEvent; - export type V1IssuingTokenUpdatedEventNotification = Stripe.V2.Core.Events.V1IssuingTokenUpdatedEventNotification; - export type V1IssuingTransactionCreatedEvent = Stripe.V2.Core.Events.V1IssuingTransactionCreatedEvent; - export type V1IssuingTransactionCreatedEventNotification = Stripe.V2.Core.Events.V1IssuingTransactionCreatedEventNotification; - export type V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent = Stripe.V2.Core.Events.V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent; - export type V1IssuingTransactionPurchaseDetailsReceiptUpdatedEventNotification = Stripe.V2.Core.Events.V1IssuingTransactionPurchaseDetailsReceiptUpdatedEventNotification; - export type V1IssuingTransactionUpdatedEvent = Stripe.V2.Core.Events.V1IssuingTransactionUpdatedEvent; - export type V1IssuingTransactionUpdatedEventNotification = Stripe.V2.Core.Events.V1IssuingTransactionUpdatedEventNotification; - export type V1MandateUpdatedEvent = Stripe.V2.Core.Events.V1MandateUpdatedEvent; - export type V1MandateUpdatedEventNotification = Stripe.V2.Core.Events.V1MandateUpdatedEventNotification; - export type V1PaymentIntentAmountCapturableUpdatedEvent = Stripe.V2.Core.Events.V1PaymentIntentAmountCapturableUpdatedEvent; - export type V1PaymentIntentAmountCapturableUpdatedEventNotification = Stripe.V2.Core.Events.V1PaymentIntentAmountCapturableUpdatedEventNotification; - export type V1PaymentIntentCanceledEvent = Stripe.V2.Core.Events.V1PaymentIntentCanceledEvent; - export type V1PaymentIntentCanceledEventNotification = Stripe.V2.Core.Events.V1PaymentIntentCanceledEventNotification; - export type V1PaymentIntentCreatedEvent = Stripe.V2.Core.Events.V1PaymentIntentCreatedEvent; - export type V1PaymentIntentCreatedEventNotification = Stripe.V2.Core.Events.V1PaymentIntentCreatedEventNotification; - export type V1PaymentIntentPartiallyFundedEvent = Stripe.V2.Core.Events.V1PaymentIntentPartiallyFundedEvent; - export type V1PaymentIntentPartiallyFundedEventNotification = Stripe.V2.Core.Events.V1PaymentIntentPartiallyFundedEventNotification; - export type V1PaymentIntentPaymentFailedEvent = Stripe.V2.Core.Events.V1PaymentIntentPaymentFailedEvent; - export type V1PaymentIntentPaymentFailedEventNotification = Stripe.V2.Core.Events.V1PaymentIntentPaymentFailedEventNotification; - export type V1PaymentIntentProcessingEvent = Stripe.V2.Core.Events.V1PaymentIntentProcessingEvent; - export type V1PaymentIntentProcessingEventNotification = Stripe.V2.Core.Events.V1PaymentIntentProcessingEventNotification; - export type V1PaymentIntentRequiresActionEvent = Stripe.V2.Core.Events.V1PaymentIntentRequiresActionEvent; - export type V1PaymentIntentRequiresActionEventNotification = Stripe.V2.Core.Events.V1PaymentIntentRequiresActionEventNotification; - export type V1PaymentIntentSucceededEvent = Stripe.V2.Core.Events.V1PaymentIntentSucceededEvent; - export type V1PaymentIntentSucceededEventNotification = Stripe.V2.Core.Events.V1PaymentIntentSucceededEventNotification; - export type V1PaymentLinkCreatedEvent = Stripe.V2.Core.Events.V1PaymentLinkCreatedEvent; - export type V1PaymentLinkCreatedEventNotification = Stripe.V2.Core.Events.V1PaymentLinkCreatedEventNotification; - export type V1PaymentLinkUpdatedEvent = Stripe.V2.Core.Events.V1PaymentLinkUpdatedEvent; - export type V1PaymentLinkUpdatedEventNotification = Stripe.V2.Core.Events.V1PaymentLinkUpdatedEventNotification; - export type V1PaymentMethodAttachedEvent = Stripe.V2.Core.Events.V1PaymentMethodAttachedEvent; - export type V1PaymentMethodAttachedEventNotification = Stripe.V2.Core.Events.V1PaymentMethodAttachedEventNotification; - export type V1PaymentMethodAutomaticallyUpdatedEvent = Stripe.V2.Core.Events.V1PaymentMethodAutomaticallyUpdatedEvent; - export type V1PaymentMethodAutomaticallyUpdatedEventNotification = Stripe.V2.Core.Events.V1PaymentMethodAutomaticallyUpdatedEventNotification; - export type V1PaymentMethodDetachedEvent = Stripe.V2.Core.Events.V1PaymentMethodDetachedEvent; - export type V1PaymentMethodDetachedEventNotification = Stripe.V2.Core.Events.V1PaymentMethodDetachedEventNotification; - export type V1PaymentMethodUpdatedEvent = Stripe.V2.Core.Events.V1PaymentMethodUpdatedEvent; - export type V1PaymentMethodUpdatedEventNotification = Stripe.V2.Core.Events.V1PaymentMethodUpdatedEventNotification; - export type V1PayoutCanceledEvent = Stripe.V2.Core.Events.V1PayoutCanceledEvent; - export type V1PayoutCanceledEventNotification = Stripe.V2.Core.Events.V1PayoutCanceledEventNotification; - export type V1PayoutCreatedEvent = Stripe.V2.Core.Events.V1PayoutCreatedEvent; - export type V1PayoutCreatedEventNotification = Stripe.V2.Core.Events.V1PayoutCreatedEventNotification; - export type V1PayoutFailedEvent = Stripe.V2.Core.Events.V1PayoutFailedEvent; - export type V1PayoutFailedEventNotification = Stripe.V2.Core.Events.V1PayoutFailedEventNotification; - export type V1PayoutPaidEvent = Stripe.V2.Core.Events.V1PayoutPaidEvent; - export type V1PayoutPaidEventNotification = Stripe.V2.Core.Events.V1PayoutPaidEventNotification; - export type V1PayoutReconciliationCompletedEvent = Stripe.V2.Core.Events.V1PayoutReconciliationCompletedEvent; - export type V1PayoutReconciliationCompletedEventNotification = Stripe.V2.Core.Events.V1PayoutReconciliationCompletedEventNotification; - export type V1PayoutUpdatedEvent = Stripe.V2.Core.Events.V1PayoutUpdatedEvent; - export type V1PayoutUpdatedEventNotification = Stripe.V2.Core.Events.V1PayoutUpdatedEventNotification; - export type V1PersonCreatedEvent = Stripe.V2.Core.Events.V1PersonCreatedEvent; - export type V1PersonCreatedEventNotification = Stripe.V2.Core.Events.V1PersonCreatedEventNotification; - export type V1PersonDeletedEvent = Stripe.V2.Core.Events.V1PersonDeletedEvent; - export type V1PersonDeletedEventNotification = Stripe.V2.Core.Events.V1PersonDeletedEventNotification; - export type V1PersonUpdatedEvent = Stripe.V2.Core.Events.V1PersonUpdatedEvent; - export type V1PersonUpdatedEventNotification = Stripe.V2.Core.Events.V1PersonUpdatedEventNotification; - export type V1PlanCreatedEvent = Stripe.V2.Core.Events.V1PlanCreatedEvent; - export type V1PlanCreatedEventNotification = Stripe.V2.Core.Events.V1PlanCreatedEventNotification; - export type V1PlanDeletedEvent = Stripe.V2.Core.Events.V1PlanDeletedEvent; - export type V1PlanDeletedEventNotification = Stripe.V2.Core.Events.V1PlanDeletedEventNotification; - export type V1PlanUpdatedEvent = Stripe.V2.Core.Events.V1PlanUpdatedEvent; - export type V1PlanUpdatedEventNotification = Stripe.V2.Core.Events.V1PlanUpdatedEventNotification; - export type V1PriceCreatedEvent = Stripe.V2.Core.Events.V1PriceCreatedEvent; - export type V1PriceCreatedEventNotification = Stripe.V2.Core.Events.V1PriceCreatedEventNotification; - export type V1PriceDeletedEvent = Stripe.V2.Core.Events.V1PriceDeletedEvent; - export type V1PriceDeletedEventNotification = Stripe.V2.Core.Events.V1PriceDeletedEventNotification; - export type V1PriceUpdatedEvent = Stripe.V2.Core.Events.V1PriceUpdatedEvent; - export type V1PriceUpdatedEventNotification = Stripe.V2.Core.Events.V1PriceUpdatedEventNotification; - export type V1ProductCreatedEvent = Stripe.V2.Core.Events.V1ProductCreatedEvent; - export type V1ProductCreatedEventNotification = Stripe.V2.Core.Events.V1ProductCreatedEventNotification; - export type V1ProductDeletedEvent = Stripe.V2.Core.Events.V1ProductDeletedEvent; - export type V1ProductDeletedEventNotification = Stripe.V2.Core.Events.V1ProductDeletedEventNotification; - export type V1ProductUpdatedEvent = Stripe.V2.Core.Events.V1ProductUpdatedEvent; - export type V1ProductUpdatedEventNotification = Stripe.V2.Core.Events.V1ProductUpdatedEventNotification; - export type V1PromotionCodeCreatedEvent = Stripe.V2.Core.Events.V1PromotionCodeCreatedEvent; - export type V1PromotionCodeCreatedEventNotification = Stripe.V2.Core.Events.V1PromotionCodeCreatedEventNotification; - export type V1PromotionCodeUpdatedEvent = Stripe.V2.Core.Events.V1PromotionCodeUpdatedEvent; - export type V1PromotionCodeUpdatedEventNotification = Stripe.V2.Core.Events.V1PromotionCodeUpdatedEventNotification; - export type V1QuoteAcceptedEvent = Stripe.V2.Core.Events.V1QuoteAcceptedEvent; - export type V1QuoteAcceptedEventNotification = Stripe.V2.Core.Events.V1QuoteAcceptedEventNotification; - export type V1QuoteCanceledEvent = Stripe.V2.Core.Events.V1QuoteCanceledEvent; - export type V1QuoteCanceledEventNotification = Stripe.V2.Core.Events.V1QuoteCanceledEventNotification; - export type V1QuoteCreatedEvent = Stripe.V2.Core.Events.V1QuoteCreatedEvent; - export type V1QuoteCreatedEventNotification = Stripe.V2.Core.Events.V1QuoteCreatedEventNotification; - export type V1QuoteFinalizedEvent = Stripe.V2.Core.Events.V1QuoteFinalizedEvent; - export type V1QuoteFinalizedEventNotification = Stripe.V2.Core.Events.V1QuoteFinalizedEventNotification; - export type V1RadarEarlyFraudWarningCreatedEvent = Stripe.V2.Core.Events.V1RadarEarlyFraudWarningCreatedEvent; - export type V1RadarEarlyFraudWarningCreatedEventNotification = Stripe.V2.Core.Events.V1RadarEarlyFraudWarningCreatedEventNotification; - export type V1RadarEarlyFraudWarningUpdatedEvent = Stripe.V2.Core.Events.V1RadarEarlyFraudWarningUpdatedEvent; - export type V1RadarEarlyFraudWarningUpdatedEventNotification = Stripe.V2.Core.Events.V1RadarEarlyFraudWarningUpdatedEventNotification; - export type V1RefundCreatedEvent = Stripe.V2.Core.Events.V1RefundCreatedEvent; - export type V1RefundCreatedEventNotification = Stripe.V2.Core.Events.V1RefundCreatedEventNotification; - export type V1RefundFailedEvent = Stripe.V2.Core.Events.V1RefundFailedEvent; - export type V1RefundFailedEventNotification = Stripe.V2.Core.Events.V1RefundFailedEventNotification; - export type V1RefundUpdatedEvent = Stripe.V2.Core.Events.V1RefundUpdatedEvent; - export type V1RefundUpdatedEventNotification = Stripe.V2.Core.Events.V1RefundUpdatedEventNotification; - export type V1ReviewClosedEvent = Stripe.V2.Core.Events.V1ReviewClosedEvent; - export type V1ReviewClosedEventNotification = Stripe.V2.Core.Events.V1ReviewClosedEventNotification; - export type V1ReviewOpenedEvent = Stripe.V2.Core.Events.V1ReviewOpenedEvent; - export type V1ReviewOpenedEventNotification = Stripe.V2.Core.Events.V1ReviewOpenedEventNotification; - export type V1SetupIntentCanceledEvent = Stripe.V2.Core.Events.V1SetupIntentCanceledEvent; - export type V1SetupIntentCanceledEventNotification = Stripe.V2.Core.Events.V1SetupIntentCanceledEventNotification; - export type V1SetupIntentCreatedEvent = Stripe.V2.Core.Events.V1SetupIntentCreatedEvent; - export type V1SetupIntentCreatedEventNotification = Stripe.V2.Core.Events.V1SetupIntentCreatedEventNotification; - export type V1SetupIntentRequiresActionEvent = Stripe.V2.Core.Events.V1SetupIntentRequiresActionEvent; - export type V1SetupIntentRequiresActionEventNotification = Stripe.V2.Core.Events.V1SetupIntentRequiresActionEventNotification; - export type V1SetupIntentSetupFailedEvent = Stripe.V2.Core.Events.V1SetupIntentSetupFailedEvent; - export type V1SetupIntentSetupFailedEventNotification = Stripe.V2.Core.Events.V1SetupIntentSetupFailedEventNotification; - export type V1SetupIntentSucceededEvent = Stripe.V2.Core.Events.V1SetupIntentSucceededEvent; - export type V1SetupIntentSucceededEventNotification = Stripe.V2.Core.Events.V1SetupIntentSucceededEventNotification; - export type V1SigmaScheduledQueryRunCreatedEvent = Stripe.V2.Core.Events.V1SigmaScheduledQueryRunCreatedEvent; - export type V1SigmaScheduledQueryRunCreatedEventNotification = Stripe.V2.Core.Events.V1SigmaScheduledQueryRunCreatedEventNotification; - export type V1SourceCanceledEvent = Stripe.V2.Core.Events.V1SourceCanceledEvent; - export type V1SourceCanceledEventNotification = Stripe.V2.Core.Events.V1SourceCanceledEventNotification; - export type V1SourceChargeableEvent = Stripe.V2.Core.Events.V1SourceChargeableEvent; - export type V1SourceChargeableEventNotification = Stripe.V2.Core.Events.V1SourceChargeableEventNotification; - export type V1SourceFailedEvent = Stripe.V2.Core.Events.V1SourceFailedEvent; - export type V1SourceFailedEventNotification = Stripe.V2.Core.Events.V1SourceFailedEventNotification; - export type V1SourceRefundAttributesRequiredEvent = Stripe.V2.Core.Events.V1SourceRefundAttributesRequiredEvent; - export type V1SourceRefundAttributesRequiredEventNotification = Stripe.V2.Core.Events.V1SourceRefundAttributesRequiredEventNotification; - export type V1SubscriptionScheduleAbortedEvent = Stripe.V2.Core.Events.V1SubscriptionScheduleAbortedEvent; - export type V1SubscriptionScheduleAbortedEventNotification = Stripe.V2.Core.Events.V1SubscriptionScheduleAbortedEventNotification; - export type V1SubscriptionScheduleCanceledEvent = Stripe.V2.Core.Events.V1SubscriptionScheduleCanceledEvent; - export type V1SubscriptionScheduleCanceledEventNotification = Stripe.V2.Core.Events.V1SubscriptionScheduleCanceledEventNotification; - export type V1SubscriptionScheduleCompletedEvent = Stripe.V2.Core.Events.V1SubscriptionScheduleCompletedEvent; - export type V1SubscriptionScheduleCompletedEventNotification = Stripe.V2.Core.Events.V1SubscriptionScheduleCompletedEventNotification; - export type V1SubscriptionScheduleCreatedEvent = Stripe.V2.Core.Events.V1SubscriptionScheduleCreatedEvent; - export type V1SubscriptionScheduleCreatedEventNotification = Stripe.V2.Core.Events.V1SubscriptionScheduleCreatedEventNotification; - export type V1SubscriptionScheduleExpiringEvent = Stripe.V2.Core.Events.V1SubscriptionScheduleExpiringEvent; - export type V1SubscriptionScheduleExpiringEventNotification = Stripe.V2.Core.Events.V1SubscriptionScheduleExpiringEventNotification; - export type V1SubscriptionScheduleReleasedEvent = Stripe.V2.Core.Events.V1SubscriptionScheduleReleasedEvent; - export type V1SubscriptionScheduleReleasedEventNotification = Stripe.V2.Core.Events.V1SubscriptionScheduleReleasedEventNotification; - export type V1SubscriptionScheduleUpdatedEvent = Stripe.V2.Core.Events.V1SubscriptionScheduleUpdatedEvent; - export type V1SubscriptionScheduleUpdatedEventNotification = Stripe.V2.Core.Events.V1SubscriptionScheduleUpdatedEventNotification; - export type V1TaxSettingsUpdatedEvent = Stripe.V2.Core.Events.V1TaxSettingsUpdatedEvent; - export type V1TaxSettingsUpdatedEventNotification = Stripe.V2.Core.Events.V1TaxSettingsUpdatedEventNotification; - export type V1TaxRateCreatedEvent = Stripe.V2.Core.Events.V1TaxRateCreatedEvent; - export type V1TaxRateCreatedEventNotification = Stripe.V2.Core.Events.V1TaxRateCreatedEventNotification; - export type V1TaxRateUpdatedEvent = Stripe.V2.Core.Events.V1TaxRateUpdatedEvent; - export type V1TaxRateUpdatedEventNotification = Stripe.V2.Core.Events.V1TaxRateUpdatedEventNotification; - export type V1TerminalReaderActionFailedEvent = Stripe.V2.Core.Events.V1TerminalReaderActionFailedEvent; - export type V1TerminalReaderActionFailedEventNotification = Stripe.V2.Core.Events.V1TerminalReaderActionFailedEventNotification; - export type V1TerminalReaderActionSucceededEvent = Stripe.V2.Core.Events.V1TerminalReaderActionSucceededEvent; - export type V1TerminalReaderActionSucceededEventNotification = Stripe.V2.Core.Events.V1TerminalReaderActionSucceededEventNotification; - export type V1TerminalReaderActionUpdatedEvent = Stripe.V2.Core.Events.V1TerminalReaderActionUpdatedEvent; - export type V1TerminalReaderActionUpdatedEventNotification = Stripe.V2.Core.Events.V1TerminalReaderActionUpdatedEventNotification; - export type V1TestHelpersTestClockAdvancingEvent = Stripe.V2.Core.Events.V1TestHelpersTestClockAdvancingEvent; - export type V1TestHelpersTestClockAdvancingEventNotification = Stripe.V2.Core.Events.V1TestHelpersTestClockAdvancingEventNotification; - export type V1TestHelpersTestClockCreatedEvent = Stripe.V2.Core.Events.V1TestHelpersTestClockCreatedEvent; - export type V1TestHelpersTestClockCreatedEventNotification = Stripe.V2.Core.Events.V1TestHelpersTestClockCreatedEventNotification; - export type V1TestHelpersTestClockDeletedEvent = Stripe.V2.Core.Events.V1TestHelpersTestClockDeletedEvent; - export type V1TestHelpersTestClockDeletedEventNotification = Stripe.V2.Core.Events.V1TestHelpersTestClockDeletedEventNotification; - export type V1TestHelpersTestClockInternalFailureEvent = Stripe.V2.Core.Events.V1TestHelpersTestClockInternalFailureEvent; - export type V1TestHelpersTestClockInternalFailureEventNotification = Stripe.V2.Core.Events.V1TestHelpersTestClockInternalFailureEventNotification; - export type V1TestHelpersTestClockReadyEvent = Stripe.V2.Core.Events.V1TestHelpersTestClockReadyEvent; - export type V1TestHelpersTestClockReadyEventNotification = Stripe.V2.Core.Events.V1TestHelpersTestClockReadyEventNotification; - export type V1TopupCanceledEvent = Stripe.V2.Core.Events.V1TopupCanceledEvent; - export type V1TopupCanceledEventNotification = Stripe.V2.Core.Events.V1TopupCanceledEventNotification; - export type V1TopupCreatedEvent = Stripe.V2.Core.Events.V1TopupCreatedEvent; - export type V1TopupCreatedEventNotification = Stripe.V2.Core.Events.V1TopupCreatedEventNotification; - export type V1TopupFailedEvent = Stripe.V2.Core.Events.V1TopupFailedEvent; - export type V1TopupFailedEventNotification = Stripe.V2.Core.Events.V1TopupFailedEventNotification; - export type V1TopupReversedEvent = Stripe.V2.Core.Events.V1TopupReversedEvent; - export type V1TopupReversedEventNotification = Stripe.V2.Core.Events.V1TopupReversedEventNotification; - export type V1TopupSucceededEvent = Stripe.V2.Core.Events.V1TopupSucceededEvent; - export type V1TopupSucceededEventNotification = Stripe.V2.Core.Events.V1TopupSucceededEventNotification; - export type V1TransferCreatedEvent = Stripe.V2.Core.Events.V1TransferCreatedEvent; - export type V1TransferCreatedEventNotification = Stripe.V2.Core.Events.V1TransferCreatedEventNotification; - export type V1TransferReversedEvent = Stripe.V2.Core.Events.V1TransferReversedEvent; - export type V1TransferReversedEventNotification = Stripe.V2.Core.Events.V1TransferReversedEventNotification; - export type V1TransferUpdatedEvent = Stripe.V2.Core.Events.V1TransferUpdatedEvent; - export type V1TransferUpdatedEventNotification = Stripe.V2.Core.Events.V1TransferUpdatedEventNotification; - export type V2BillingCadenceBilledEvent = Stripe.V2.Core.Events.V2BillingCadenceBilledEvent; - export type V2BillingCadenceBilledEventNotification = Stripe.V2.Core.Events.V2BillingCadenceBilledEventNotification; - export type V2BillingCadenceCanceledEvent = Stripe.V2.Core.Events.V2BillingCadenceCanceledEvent; - export type V2BillingCadenceCanceledEventNotification = Stripe.V2.Core.Events.V2BillingCadenceCanceledEventNotification; - export type V2BillingCadenceCreatedEvent = Stripe.V2.Core.Events.V2BillingCadenceCreatedEvent; - export type V2BillingCadenceCreatedEventNotification = Stripe.V2.Core.Events.V2BillingCadenceCreatedEventNotification; - export type V2BillingLicenseFeeCreatedEvent = Stripe.V2.Core.Events.V2BillingLicenseFeeCreatedEvent; - export type V2BillingLicenseFeeCreatedEventNotification = Stripe.V2.Core.Events.V2BillingLicenseFeeCreatedEventNotification; - export type V2BillingLicenseFeeUpdatedEvent = Stripe.V2.Core.Events.V2BillingLicenseFeeUpdatedEvent; - export type V2BillingLicenseFeeUpdatedEventNotification = Stripe.V2.Core.Events.V2BillingLicenseFeeUpdatedEventNotification; - export type V2BillingLicenseFeeVersionCreatedEvent = Stripe.V2.Core.Events.V2BillingLicenseFeeVersionCreatedEvent; - export type V2BillingLicenseFeeVersionCreatedEventNotification = Stripe.V2.Core.Events.V2BillingLicenseFeeVersionCreatedEventNotification; - export type V2BillingLicensedItemCreatedEvent = Stripe.V2.Core.Events.V2BillingLicensedItemCreatedEvent; - export type V2BillingLicensedItemCreatedEventNotification = Stripe.V2.Core.Events.V2BillingLicensedItemCreatedEventNotification; - export type V2BillingLicensedItemUpdatedEvent = Stripe.V2.Core.Events.V2BillingLicensedItemUpdatedEvent; - export type V2BillingLicensedItemUpdatedEventNotification = Stripe.V2.Core.Events.V2BillingLicensedItemUpdatedEventNotification; - export type V2BillingMeteredItemCreatedEvent = Stripe.V2.Core.Events.V2BillingMeteredItemCreatedEvent; - export type V2BillingMeteredItemCreatedEventNotification = Stripe.V2.Core.Events.V2BillingMeteredItemCreatedEventNotification; - export type V2BillingMeteredItemUpdatedEvent = Stripe.V2.Core.Events.V2BillingMeteredItemUpdatedEvent; - export type V2BillingMeteredItemUpdatedEventNotification = Stripe.V2.Core.Events.V2BillingMeteredItemUpdatedEventNotification; - export type V2BillingPricingPlanCreatedEvent = Stripe.V2.Core.Events.V2BillingPricingPlanCreatedEvent; - export type V2BillingPricingPlanCreatedEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanCreatedEventNotification; - export type V2BillingPricingPlanUpdatedEvent = Stripe.V2.Core.Events.V2BillingPricingPlanUpdatedEvent; - export type V2BillingPricingPlanUpdatedEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanUpdatedEventNotification; - export type V2BillingPricingPlanComponentCreatedEvent = Stripe.V2.Core.Events.V2BillingPricingPlanComponentCreatedEvent; - export type V2BillingPricingPlanComponentCreatedEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanComponentCreatedEventNotification; - export type V2BillingPricingPlanComponentUpdatedEvent = Stripe.V2.Core.Events.V2BillingPricingPlanComponentUpdatedEvent; - export type V2BillingPricingPlanComponentUpdatedEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanComponentUpdatedEventNotification; - export type V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent; - export type V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEventNotification; - export type V2BillingPricingPlanSubscriptionCollectionCurrentEvent = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionCurrentEvent; - export type V2BillingPricingPlanSubscriptionCollectionCurrentEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionCurrentEventNotification; - export type V2BillingPricingPlanSubscriptionCollectionPastDueEvent = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionPastDueEvent; - export type V2BillingPricingPlanSubscriptionCollectionPastDueEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionPastDueEventNotification; - export type V2BillingPricingPlanSubscriptionCollectionPausedEvent = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionPausedEvent; - export type V2BillingPricingPlanSubscriptionCollectionPausedEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionPausedEventNotification; - export type V2BillingPricingPlanSubscriptionCollectionUnpaidEvent = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionUnpaidEvent; - export type V2BillingPricingPlanSubscriptionCollectionUnpaidEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionUnpaidEventNotification; - export type V2BillingPricingPlanSubscriptionServicingActivatedEvent = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingActivatedEvent; - export type V2BillingPricingPlanSubscriptionServicingActivatedEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingActivatedEventNotification; - export type V2BillingPricingPlanSubscriptionServicingCanceledEvent = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingCanceledEvent; - export type V2BillingPricingPlanSubscriptionServicingCanceledEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingCanceledEventNotification; - export type V2BillingPricingPlanSubscriptionServicingPausedEvent = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingPausedEvent; - export type V2BillingPricingPlanSubscriptionServicingPausedEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingPausedEventNotification; - export type V2BillingPricingPlanVersionCreatedEvent = Stripe.V2.Core.Events.V2BillingPricingPlanVersionCreatedEvent; - export type V2BillingPricingPlanVersionCreatedEventNotification = Stripe.V2.Core.Events.V2BillingPricingPlanVersionCreatedEventNotification; - export type V2BillingRateCardCreatedEvent = Stripe.V2.Core.Events.V2BillingRateCardCreatedEvent; - export type V2BillingRateCardCreatedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardCreatedEventNotification; - export type V2BillingRateCardUpdatedEvent = Stripe.V2.Core.Events.V2BillingRateCardUpdatedEvent; - export type V2BillingRateCardUpdatedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardUpdatedEventNotification; - export type V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent = Stripe.V2.Core.Events.V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent; - export type V2BillingRateCardCustomPricingUnitOverageRateCreatedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardCustomPricingUnitOverageRateCreatedEventNotification; - export type V2BillingRateCardRateCreatedEvent = Stripe.V2.Core.Events.V2BillingRateCardRateCreatedEvent; - export type V2BillingRateCardRateCreatedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardRateCreatedEventNotification; - export type V2BillingRateCardSubscriptionActivatedEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionActivatedEvent; - export type V2BillingRateCardSubscriptionActivatedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionActivatedEventNotification; - export type V2BillingRateCardSubscriptionCanceledEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCanceledEvent; - export type V2BillingRateCardSubscriptionCanceledEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCanceledEventNotification; - export type V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent; - export type V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEventNotification; - export type V2BillingRateCardSubscriptionCollectionCurrentEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionCurrentEvent; - export type V2BillingRateCardSubscriptionCollectionCurrentEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionCurrentEventNotification; - export type V2BillingRateCardSubscriptionCollectionPastDueEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionPastDueEvent; - export type V2BillingRateCardSubscriptionCollectionPastDueEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionPastDueEventNotification; - export type V2BillingRateCardSubscriptionCollectionPausedEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionPausedEvent; - export type V2BillingRateCardSubscriptionCollectionPausedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionPausedEventNotification; - export type V2BillingRateCardSubscriptionCollectionUnpaidEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionUnpaidEvent; - export type V2BillingRateCardSubscriptionCollectionUnpaidEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionCollectionUnpaidEventNotification; - export type V2BillingRateCardSubscriptionServicingActivatedEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionServicingActivatedEvent; - export type V2BillingRateCardSubscriptionServicingActivatedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionServicingActivatedEventNotification; - export type V2BillingRateCardSubscriptionServicingCanceledEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionServicingCanceledEvent; - export type V2BillingRateCardSubscriptionServicingCanceledEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionServicingCanceledEventNotification; - export type V2BillingRateCardSubscriptionServicingPausedEvent = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionServicingPausedEvent; - export type V2BillingRateCardSubscriptionServicingPausedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardSubscriptionServicingPausedEventNotification; - export type V2BillingRateCardVersionCreatedEvent = Stripe.V2.Core.Events.V2BillingRateCardVersionCreatedEvent; - export type V2BillingRateCardVersionCreatedEventNotification = Stripe.V2.Core.Events.V2BillingRateCardVersionCreatedEventNotification; - export type V2CommerceProductCatalogImportsFailedEvent = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsFailedEvent; - export type V2CommerceProductCatalogImportsFailedEventNotification = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsFailedEventNotification; - export type V2CommerceProductCatalogImportsProcessingEvent = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsProcessingEvent; - export type V2CommerceProductCatalogImportsProcessingEventNotification = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsProcessingEventNotification; - export type V2CommerceProductCatalogImportsSucceededEvent = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsSucceededEvent; - export type V2CommerceProductCatalogImportsSucceededEventNotification = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsSucceededEventNotification; - export type V2CommerceProductCatalogImportsSucceededWithErrorsEvent = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsSucceededWithErrorsEvent; - export type V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification = Stripe.V2.Core.Events.V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification; - export type V2CoreAccountClosedEvent = Stripe.V2.Core.Events.V2CoreAccountClosedEvent; - export type V2CoreAccountClosedEventNotification = Stripe.V2.Core.Events.V2CoreAccountClosedEventNotification; - export type V2CoreAccountCreatedEvent = Stripe.V2.Core.Events.V2CoreAccountCreatedEvent; - export type V2CoreAccountCreatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountCreatedEventNotification; - export type V2CoreAccountUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountUpdatedEvent; - export type V2CoreAccountUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent; - export type V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent; - export type V2CoreAccountIncludingConfigurationCardCreatorUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent; - export type V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationCustomerUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEvent; - export type V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent; - export type V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationMerchantUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEvent; - export type V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent; - export type V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationRecipientUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEvent; - export type V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent; - export type V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification; - export type V2CoreAccountIncludingConfigurationStorerUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerUpdatedEvent; - export type V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification; - export type V2CoreAccountIncludingDefaultsUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingDefaultsUpdatedEvent; - export type V2CoreAccountIncludingDefaultsUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingDefaultsUpdatedEventNotification; - export type V2CoreAccountIncludingFutureRequirementsUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingFutureRequirementsUpdatedEvent; - export type V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification; - export type V2CoreAccountIncludingIdentityUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingIdentityUpdatedEvent; - export type V2CoreAccountIncludingIdentityUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingIdentityUpdatedEventNotification; - export type V2CoreAccountIncludingRequirementsUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountIncludingRequirementsUpdatedEvent; - export type V2CoreAccountIncludingRequirementsUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountIncludingRequirementsUpdatedEventNotification; - export type V2CoreAccountLinkReturnedEvent = Stripe.V2.Core.Events.V2CoreAccountLinkReturnedEvent; - export type V2CoreAccountLinkReturnedEventNotification = Stripe.V2.Core.Events.V2CoreAccountLinkReturnedEventNotification; - export type V2CoreAccountPersonCreatedEvent = Stripe.V2.Core.Events.V2CoreAccountPersonCreatedEvent; - export type V2CoreAccountPersonCreatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountPersonCreatedEventNotification; - export type V2CoreAccountPersonDeletedEvent = Stripe.V2.Core.Events.V2CoreAccountPersonDeletedEvent; - export type V2CoreAccountPersonDeletedEventNotification = Stripe.V2.Core.Events.V2CoreAccountPersonDeletedEventNotification; - export type V2CoreAccountPersonUpdatedEvent = Stripe.V2.Core.Events.V2CoreAccountPersonUpdatedEvent; - export type V2CoreAccountPersonUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreAccountPersonUpdatedEventNotification; - export type V2CoreAccountSignalsFraudulentWebsiteReadyEvent = Stripe.V2.Core.Events.V2CoreAccountSignalsFraudulentWebsiteReadyEvent; - export type V2CoreAccountSignalsFraudulentWebsiteReadyEventNotification = Stripe.V2.Core.Events.V2CoreAccountSignalsFraudulentWebsiteReadyEventNotification; - export type V2CoreApprovalRequestApprovedEvent = Stripe.V2.Core.Events.V2CoreApprovalRequestApprovedEvent; - export type V2CoreApprovalRequestApprovedEventNotification = Stripe.V2.Core.Events.V2CoreApprovalRequestApprovedEventNotification; - export type V2CoreApprovalRequestCanceledEvent = Stripe.V2.Core.Events.V2CoreApprovalRequestCanceledEvent; - export type V2CoreApprovalRequestCanceledEventNotification = Stripe.V2.Core.Events.V2CoreApprovalRequestCanceledEventNotification; - export type V2CoreApprovalRequestCreatedEvent = Stripe.V2.Core.Events.V2CoreApprovalRequestCreatedEvent; - export type V2CoreApprovalRequestCreatedEventNotification = Stripe.V2.Core.Events.V2CoreApprovalRequestCreatedEventNotification; - export type V2CoreApprovalRequestExpiredEvent = Stripe.V2.Core.Events.V2CoreApprovalRequestExpiredEvent; - export type V2CoreApprovalRequestExpiredEventNotification = Stripe.V2.Core.Events.V2CoreApprovalRequestExpiredEventNotification; - export type V2CoreApprovalRequestFailedEvent = Stripe.V2.Core.Events.V2CoreApprovalRequestFailedEvent; - export type V2CoreApprovalRequestFailedEventNotification = Stripe.V2.Core.Events.V2CoreApprovalRequestFailedEventNotification; - export type V2CoreApprovalRequestRejectedEvent = Stripe.V2.Core.Events.V2CoreApprovalRequestRejectedEvent; - export type V2CoreApprovalRequestRejectedEventNotification = Stripe.V2.Core.Events.V2CoreApprovalRequestRejectedEventNotification; - export type V2CoreApprovalRequestSucceededEvent = Stripe.V2.Core.Events.V2CoreApprovalRequestSucceededEvent; - export type V2CoreApprovalRequestSucceededEventNotification = Stripe.V2.Core.Events.V2CoreApprovalRequestSucceededEventNotification; - export type V2CoreBatchJobBatchFailedEvent = Stripe.V2.Core.Events.V2CoreBatchJobBatchFailedEvent; - export type V2CoreBatchJobBatchFailedEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobBatchFailedEventNotification; - export type V2CoreBatchJobCanceledEvent = Stripe.V2.Core.Events.V2CoreBatchJobCanceledEvent; - export type V2CoreBatchJobCanceledEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobCanceledEventNotification; - export type V2CoreBatchJobCompletedEvent = Stripe.V2.Core.Events.V2CoreBatchJobCompletedEvent; - export type V2CoreBatchJobCompletedEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobCompletedEventNotification; - export type V2CoreBatchJobCreatedEvent = Stripe.V2.Core.Events.V2CoreBatchJobCreatedEvent; - export type V2CoreBatchJobCreatedEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobCreatedEventNotification; - export type V2CoreBatchJobReadyForUploadEvent = Stripe.V2.Core.Events.V2CoreBatchJobReadyForUploadEvent; - export type V2CoreBatchJobReadyForUploadEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobReadyForUploadEventNotification; - export type V2CoreBatchJobTimeoutEvent = Stripe.V2.Core.Events.V2CoreBatchJobTimeoutEvent; - export type V2CoreBatchJobTimeoutEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobTimeoutEventNotification; - export type V2CoreBatchJobUpdatedEvent = Stripe.V2.Core.Events.V2CoreBatchJobUpdatedEvent; - export type V2CoreBatchJobUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobUpdatedEventNotification; - export type V2CoreBatchJobUploadTimeoutEvent = Stripe.V2.Core.Events.V2CoreBatchJobUploadTimeoutEvent; - export type V2CoreBatchJobUploadTimeoutEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobUploadTimeoutEventNotification; - export type V2CoreBatchJobValidatingEvent = Stripe.V2.Core.Events.V2CoreBatchJobValidatingEvent; - export type V2CoreBatchJobValidatingEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobValidatingEventNotification; - export type V2CoreBatchJobValidationFailedEvent = Stripe.V2.Core.Events.V2CoreBatchJobValidationFailedEvent; - export type V2CoreBatchJobValidationFailedEventNotification = Stripe.V2.Core.Events.V2CoreBatchJobValidationFailedEventNotification; - export type V2CoreClaimableSandboxClaimedEvent = Stripe.V2.Core.Events.V2CoreClaimableSandboxClaimedEvent; - export type V2CoreClaimableSandboxClaimedEventNotification = Stripe.V2.Core.Events.V2CoreClaimableSandboxClaimedEventNotification; - export type V2CoreClaimableSandboxCreatedEvent = Stripe.V2.Core.Events.V2CoreClaimableSandboxCreatedEvent; - export type V2CoreClaimableSandboxCreatedEventNotification = Stripe.V2.Core.Events.V2CoreClaimableSandboxCreatedEventNotification; - export type V2CoreClaimableSandboxExpiredEvent = Stripe.V2.Core.Events.V2CoreClaimableSandboxExpiredEvent; - export type V2CoreClaimableSandboxExpiredEventNotification = Stripe.V2.Core.Events.V2CoreClaimableSandboxExpiredEventNotification; - export type V2CoreClaimableSandboxExpiringEvent = Stripe.V2.Core.Events.V2CoreClaimableSandboxExpiringEvent; - export type V2CoreClaimableSandboxExpiringEventNotification = Stripe.V2.Core.Events.V2CoreClaimableSandboxExpiringEventNotification; - export type V2CoreClaimableSandboxUpdatedEvent = Stripe.V2.Core.Events.V2CoreClaimableSandboxUpdatedEvent; - export type V2CoreClaimableSandboxUpdatedEventNotification = Stripe.V2.Core.Events.V2CoreClaimableSandboxUpdatedEventNotification; - export type V2CoreEventDestinationPingEvent = Stripe.V2.Core.Events.V2CoreEventDestinationPingEvent; - export type V2CoreEventDestinationPingEventNotification = Stripe.V2.Core.Events.V2CoreEventDestinationPingEventNotification; - export type V2CoreHealthApiErrorFiringEvent = Stripe.V2.Core.Events.V2CoreHealthApiErrorFiringEvent; - export type V2CoreHealthApiErrorFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthApiErrorFiringEventNotification; - export type V2CoreHealthApiErrorResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthApiErrorResolvedEvent; - export type V2CoreHealthApiErrorResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthApiErrorResolvedEventNotification; - export type V2CoreHealthApiLatencyFiringEvent = Stripe.V2.Core.Events.V2CoreHealthApiLatencyFiringEvent; - export type V2CoreHealthApiLatencyFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthApiLatencyFiringEventNotification; - export type V2CoreHealthApiLatencyResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthApiLatencyResolvedEvent; - export type V2CoreHealthApiLatencyResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthApiLatencyResolvedEventNotification; - export type V2CoreHealthAuthorizationRateDropFiringEvent = Stripe.V2.Core.Events.V2CoreHealthAuthorizationRateDropFiringEvent; - export type V2CoreHealthAuthorizationRateDropFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthAuthorizationRateDropFiringEventNotification; - export type V2CoreHealthAuthorizationRateDropResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthAuthorizationRateDropResolvedEvent; - export type V2CoreHealthAuthorizationRateDropResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthAuthorizationRateDropResolvedEventNotification; - export type V2CoreHealthElementsErrorFiringEvent = Stripe.V2.Core.Events.V2CoreHealthElementsErrorFiringEvent; - export type V2CoreHealthElementsErrorFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthElementsErrorFiringEventNotification; - export type V2CoreHealthElementsErrorResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthElementsErrorResolvedEvent; - export type V2CoreHealthElementsErrorResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthElementsErrorResolvedEventNotification; - export type V2CoreHealthEventGenerationFailureResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthEventGenerationFailureResolvedEvent; - export type V2CoreHealthEventGenerationFailureResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthEventGenerationFailureResolvedEventNotification; - export type V2CoreHealthFraudRateIncreasedEvent = Stripe.V2.Core.Events.V2CoreHealthFraudRateIncreasedEvent; - export type V2CoreHealthFraudRateIncreasedEventNotification = Stripe.V2.Core.Events.V2CoreHealthFraudRateIncreasedEventNotification; - export type V2CoreHealthInvoiceCountDroppedFiringEvent = Stripe.V2.Core.Events.V2CoreHealthInvoiceCountDroppedFiringEvent; - export type V2CoreHealthInvoiceCountDroppedFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthInvoiceCountDroppedFiringEventNotification; - export type V2CoreHealthInvoiceCountDroppedResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthInvoiceCountDroppedResolvedEvent; - export type V2CoreHealthInvoiceCountDroppedResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthInvoiceCountDroppedResolvedEventNotification; - export type V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent; - export type V2CoreHealthIssuingAuthorizationRequestErrorsFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsFiringEventNotification; - export type V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent; - export type V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEventNotification; - export type V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent; - export type V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEventNotification; - export type V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent; - export type V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEventNotification; - export type V2CoreHealthMeterEventSummariesDelayedFiringEvent = Stripe.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedFiringEvent; - export type V2CoreHealthMeterEventSummariesDelayedFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedFiringEventNotification; - export type V2CoreHealthMeterEventSummariesDelayedResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedResolvedEvent; - export type V2CoreHealthMeterEventSummariesDelayedResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedResolvedEventNotification; - export type V2CoreHealthPaymentMethodErrorFiringEvent = Stripe.V2.Core.Events.V2CoreHealthPaymentMethodErrorFiringEvent; - export type V2CoreHealthPaymentMethodErrorFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthPaymentMethodErrorFiringEventNotification; - export type V2CoreHealthPaymentMethodErrorResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthPaymentMethodErrorResolvedEvent; - export type V2CoreHealthPaymentMethodErrorResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthPaymentMethodErrorResolvedEventNotification; - export type V2CoreHealthSepaDebitDelayedFiringEvent = Stripe.V2.Core.Events.V2CoreHealthSepaDebitDelayedFiringEvent; - export type V2CoreHealthSepaDebitDelayedFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthSepaDebitDelayedFiringEventNotification; - export type V2CoreHealthSepaDebitDelayedResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthSepaDebitDelayedResolvedEvent; - export type V2CoreHealthSepaDebitDelayedResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthSepaDebitDelayedResolvedEventNotification; - export type V2CoreHealthTrafficVolumeDropFiringEvent = Stripe.V2.Core.Events.V2CoreHealthTrafficVolumeDropFiringEvent; - export type V2CoreHealthTrafficVolumeDropFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthTrafficVolumeDropFiringEventNotification; - export type V2CoreHealthTrafficVolumeDropResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthTrafficVolumeDropResolvedEvent; - export type V2CoreHealthTrafficVolumeDropResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthTrafficVolumeDropResolvedEventNotification; - export type V2CoreHealthWebhookLatencyFiringEvent = Stripe.V2.Core.Events.V2CoreHealthWebhookLatencyFiringEvent; - export type V2CoreHealthWebhookLatencyFiringEventNotification = Stripe.V2.Core.Events.V2CoreHealthWebhookLatencyFiringEventNotification; - export type V2CoreHealthWebhookLatencyResolvedEvent = Stripe.V2.Core.Events.V2CoreHealthWebhookLatencyResolvedEvent; - export type V2CoreHealthWebhookLatencyResolvedEventNotification = Stripe.V2.Core.Events.V2CoreHealthWebhookLatencyResolvedEventNotification; - export type V2DataReportingQueryRunCreatedEvent = Stripe.V2.Core.Events.V2DataReportingQueryRunCreatedEvent; - export type V2DataReportingQueryRunCreatedEventNotification = Stripe.V2.Core.Events.V2DataReportingQueryRunCreatedEventNotification; - export type V2DataReportingQueryRunFailedEvent = Stripe.V2.Core.Events.V2DataReportingQueryRunFailedEvent; - export type V2DataReportingQueryRunFailedEventNotification = Stripe.V2.Core.Events.V2DataReportingQueryRunFailedEventNotification; - export type V2DataReportingQueryRunSucceededEvent = Stripe.V2.Core.Events.V2DataReportingQueryRunSucceededEvent; - export type V2DataReportingQueryRunSucceededEventNotification = Stripe.V2.Core.Events.V2DataReportingQueryRunSucceededEventNotification; - export type V2DataReportingQueryRunUpdatedEvent = Stripe.V2.Core.Events.V2DataReportingQueryRunUpdatedEvent; - export type V2DataReportingQueryRunUpdatedEventNotification = Stripe.V2.Core.Events.V2DataReportingQueryRunUpdatedEventNotification; - export type V2ExtendExtensionRunFailedEvent = Stripe.V2.Core.Events.V2ExtendExtensionRunFailedEvent; - export type V2ExtendExtensionRunFailedEventNotification = Stripe.V2.Core.Events.V2ExtendExtensionRunFailedEventNotification; - export type V2ExtendWorkflowRunFailedEvent = Stripe.V2.Core.Events.V2ExtendWorkflowRunFailedEvent; - export type V2ExtendWorkflowRunFailedEventNotification = Stripe.V2.Core.Events.V2ExtendWorkflowRunFailedEventNotification; - export type V2ExtendWorkflowRunStartedEvent = Stripe.V2.Core.Events.V2ExtendWorkflowRunStartedEvent; - export type V2ExtendWorkflowRunStartedEventNotification = Stripe.V2.Core.Events.V2ExtendWorkflowRunStartedEventNotification; - export type V2ExtendWorkflowRunSucceededEvent = Stripe.V2.Core.Events.V2ExtendWorkflowRunSucceededEvent; - export type V2ExtendWorkflowRunSucceededEventNotification = Stripe.V2.Core.Events.V2ExtendWorkflowRunSucceededEventNotification; - export type V2IamApiKeyCreatedEvent = Stripe.V2.Core.Events.V2IamApiKeyCreatedEvent; - export type V2IamApiKeyCreatedEventNotification = Stripe.V2.Core.Events.V2IamApiKeyCreatedEventNotification; - export type V2IamApiKeyDefaultSecretRevealedEvent = Stripe.V2.Core.Events.V2IamApiKeyDefaultSecretRevealedEvent; - export type V2IamApiKeyDefaultSecretRevealedEventNotification = Stripe.V2.Core.Events.V2IamApiKeyDefaultSecretRevealedEventNotification; - export type V2IamApiKeyExpiredEvent = Stripe.V2.Core.Events.V2IamApiKeyExpiredEvent; - export type V2IamApiKeyExpiredEventNotification = Stripe.V2.Core.Events.V2IamApiKeyExpiredEventNotification; - export type V2IamApiKeyPermissionsUpdatedEvent = Stripe.V2.Core.Events.V2IamApiKeyPermissionsUpdatedEvent; - export type V2IamApiKeyPermissionsUpdatedEventNotification = Stripe.V2.Core.Events.V2IamApiKeyPermissionsUpdatedEventNotification; - export type V2IamApiKeyRotatedEvent = Stripe.V2.Core.Events.V2IamApiKeyRotatedEvent; - export type V2IamApiKeyRotatedEventNotification = Stripe.V2.Core.Events.V2IamApiKeyRotatedEventNotification; - export type V2IamApiKeyUpdatedEvent = Stripe.V2.Core.Events.V2IamApiKeyUpdatedEvent; - export type V2IamApiKeyUpdatedEventNotification = Stripe.V2.Core.Events.V2IamApiKeyUpdatedEventNotification; - export type V2IamStripeAccessGrantApprovedEvent = Stripe.V2.Core.Events.V2IamStripeAccessGrantApprovedEvent; - export type V2IamStripeAccessGrantApprovedEventNotification = Stripe.V2.Core.Events.V2IamStripeAccessGrantApprovedEventNotification; - export type V2IamStripeAccessGrantCanceledEvent = Stripe.V2.Core.Events.V2IamStripeAccessGrantCanceledEvent; - export type V2IamStripeAccessGrantCanceledEventNotification = Stripe.V2.Core.Events.V2IamStripeAccessGrantCanceledEventNotification; - export type V2IamStripeAccessGrantDeniedEvent = Stripe.V2.Core.Events.V2IamStripeAccessGrantDeniedEvent; - export type V2IamStripeAccessGrantDeniedEventNotification = Stripe.V2.Core.Events.V2IamStripeAccessGrantDeniedEventNotification; - export type V2IamStripeAccessGrantRemovedEvent = Stripe.V2.Core.Events.V2IamStripeAccessGrantRemovedEvent; - export type V2IamStripeAccessGrantRemovedEventNotification = Stripe.V2.Core.Events.V2IamStripeAccessGrantRemovedEventNotification; - export type V2IamStripeAccessGrantRequestedEvent = Stripe.V2.Core.Events.V2IamStripeAccessGrantRequestedEvent; - export type V2IamStripeAccessGrantRequestedEventNotification = Stripe.V2.Core.Events.V2IamStripeAccessGrantRequestedEventNotification; - export type V2IamStripeAccessGrantUpdatedEvent = Stripe.V2.Core.Events.V2IamStripeAccessGrantUpdatedEvent; - export type V2IamStripeAccessGrantUpdatedEventNotification = Stripe.V2.Core.Events.V2IamStripeAccessGrantUpdatedEventNotification; - export type V2MoneyManagementAdjustmentCreatedEvent = Stripe.V2.Core.Events.V2MoneyManagementAdjustmentCreatedEvent; - export type V2MoneyManagementAdjustmentCreatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementAdjustmentCreatedEventNotification; - export type V2MoneyManagementFinancialAccountCreatedEvent = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountCreatedEvent; - export type V2MoneyManagementFinancialAccountCreatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountCreatedEventNotification; - export type V2MoneyManagementFinancialAccountUpdatedEvent = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountUpdatedEvent; - export type V2MoneyManagementFinancialAccountUpdatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountUpdatedEventNotification; - export type V2MoneyManagementFinancialAccountStatementCreatedEvent = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountStatementCreatedEvent; - export type V2MoneyManagementFinancialAccountStatementCreatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountStatementCreatedEventNotification; - export type V2MoneyManagementFinancialAccountStatementRestatedEvent = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountStatementRestatedEvent; - export type V2MoneyManagementFinancialAccountStatementRestatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountStatementRestatedEventNotification; - export type V2MoneyManagementFinancialAddressActivatedEvent = Stripe.V2.Core.Events.V2MoneyManagementFinancialAddressActivatedEvent; - export type V2MoneyManagementFinancialAddressActivatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementFinancialAddressActivatedEventNotification; - export type V2MoneyManagementFinancialAddressFailedEvent = Stripe.V2.Core.Events.V2MoneyManagementFinancialAddressFailedEvent; - export type V2MoneyManagementFinancialAddressFailedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementFinancialAddressFailedEventNotification; - export type V2MoneyManagementInboundTransferAvailableEvent = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferAvailableEvent; - export type V2MoneyManagementInboundTransferAvailableEventNotification = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferAvailableEventNotification; - export type V2MoneyManagementInboundTransferBankDebitFailedEvent = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitFailedEvent; - export type V2MoneyManagementInboundTransferBankDebitFailedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitFailedEventNotification; - export type V2MoneyManagementInboundTransferBankDebitProcessingEvent = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitProcessingEvent; - export type V2MoneyManagementInboundTransferBankDebitProcessingEventNotification = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitProcessingEventNotification; - export type V2MoneyManagementInboundTransferBankDebitQueuedEvent = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitQueuedEvent; - export type V2MoneyManagementInboundTransferBankDebitQueuedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitQueuedEventNotification; - export type V2MoneyManagementInboundTransferBankDebitReturnedEvent = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitReturnedEvent; - export type V2MoneyManagementInboundTransferBankDebitReturnedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitReturnedEventNotification; - export type V2MoneyManagementInboundTransferBankDebitSucceededEvent = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitSucceededEvent; - export type V2MoneyManagementInboundTransferBankDebitSucceededEventNotification = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitSucceededEventNotification; - export type V2MoneyManagementOutboundPaymentCanceledEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentCanceledEvent; - export type V2MoneyManagementOutboundPaymentCanceledEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentCanceledEventNotification; - export type V2MoneyManagementOutboundPaymentCreatedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentCreatedEvent; - export type V2MoneyManagementOutboundPaymentCreatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentCreatedEventNotification; - export type V2MoneyManagementOutboundPaymentFailedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentFailedEvent; - export type V2MoneyManagementOutboundPaymentFailedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentFailedEventNotification; - export type V2MoneyManagementOutboundPaymentPostedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentPostedEvent; - export type V2MoneyManagementOutboundPaymentPostedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentPostedEventNotification; - export type V2MoneyManagementOutboundPaymentReturnedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentReturnedEvent; - export type V2MoneyManagementOutboundPaymentReturnedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentReturnedEventNotification; - export type V2MoneyManagementOutboundPaymentUpdatedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentUpdatedEvent; - export type V2MoneyManagementOutboundPaymentUpdatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundPaymentUpdatedEventNotification; - export type V2MoneyManagementOutboundTransferCanceledEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferCanceledEvent; - export type V2MoneyManagementOutboundTransferCanceledEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferCanceledEventNotification; - export type V2MoneyManagementOutboundTransferCreatedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferCreatedEvent; - export type V2MoneyManagementOutboundTransferCreatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferCreatedEventNotification; - export type V2MoneyManagementOutboundTransferFailedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferFailedEvent; - export type V2MoneyManagementOutboundTransferFailedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferFailedEventNotification; - export type V2MoneyManagementOutboundTransferPostedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferPostedEvent; - export type V2MoneyManagementOutboundTransferPostedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferPostedEventNotification; - export type V2MoneyManagementOutboundTransferReturnedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferReturnedEvent; - export type V2MoneyManagementOutboundTransferReturnedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferReturnedEventNotification; - export type V2MoneyManagementOutboundTransferUpdatedEvent = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferUpdatedEvent; - export type V2MoneyManagementOutboundTransferUpdatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementOutboundTransferUpdatedEventNotification; - export type V2MoneyManagementPayoutMethodCreatedEvent = Stripe.V2.Core.Events.V2MoneyManagementPayoutMethodCreatedEvent; - export type V2MoneyManagementPayoutMethodCreatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementPayoutMethodCreatedEventNotification; - export type V2MoneyManagementPayoutMethodUpdatedEvent = Stripe.V2.Core.Events.V2MoneyManagementPayoutMethodUpdatedEvent; - export type V2MoneyManagementPayoutMethodUpdatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementPayoutMethodUpdatedEventNotification; - export type V2MoneyManagementReceivedCreditAvailableEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditAvailableEvent; - export type V2MoneyManagementReceivedCreditAvailableEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditAvailableEventNotification; - export type V2MoneyManagementReceivedCreditFailedEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditFailedEvent; - export type V2MoneyManagementReceivedCreditFailedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditFailedEventNotification; - export type V2MoneyManagementReceivedCreditReturnedEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditReturnedEvent; - export type V2MoneyManagementReceivedCreditReturnedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditReturnedEventNotification; - export type V2MoneyManagementReceivedCreditSucceededEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditSucceededEvent; - export type V2MoneyManagementReceivedCreditSucceededEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditSucceededEventNotification; - export type V2MoneyManagementReceivedDebitCanceledEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitCanceledEvent; - export type V2MoneyManagementReceivedDebitCanceledEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitCanceledEventNotification; - export type V2MoneyManagementReceivedDebitFailedEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitFailedEvent; - export type V2MoneyManagementReceivedDebitFailedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitFailedEventNotification; - export type V2MoneyManagementReceivedDebitPendingEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitPendingEvent; - export type V2MoneyManagementReceivedDebitPendingEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitPendingEventNotification; - export type V2MoneyManagementReceivedDebitSucceededEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitSucceededEvent; - export type V2MoneyManagementReceivedDebitSucceededEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitSucceededEventNotification; - export type V2MoneyManagementReceivedDebitUpdatedEvent = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitUpdatedEvent; - export type V2MoneyManagementReceivedDebitUpdatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementReceivedDebitUpdatedEventNotification; - export type V2MoneyManagementRecipientVerificationCreatedEvent = Stripe.V2.Core.Events.V2MoneyManagementRecipientVerificationCreatedEvent; - export type V2MoneyManagementRecipientVerificationCreatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementRecipientVerificationCreatedEventNotification; - export type V2MoneyManagementRecipientVerificationUpdatedEvent = Stripe.V2.Core.Events.V2MoneyManagementRecipientVerificationUpdatedEvent; - export type V2MoneyManagementRecipientVerificationUpdatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementRecipientVerificationUpdatedEventNotification; - export type V2MoneyManagementTransactionCreatedEvent = Stripe.V2.Core.Events.V2MoneyManagementTransactionCreatedEvent; - export type V2MoneyManagementTransactionCreatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementTransactionCreatedEventNotification; - export type V2MoneyManagementTransactionUpdatedEvent = Stripe.V2.Core.Events.V2MoneyManagementTransactionUpdatedEvent; - export type V2MoneyManagementTransactionUpdatedEventNotification = Stripe.V2.Core.Events.V2MoneyManagementTransactionUpdatedEventNotification; - export type V2OrchestratedCommerceAgreementConfirmedEvent = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementConfirmedEvent; - export type V2OrchestratedCommerceAgreementConfirmedEventNotification = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementConfirmedEventNotification; - export type V2OrchestratedCommerceAgreementCreatedEvent = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementCreatedEvent; - export type V2OrchestratedCommerceAgreementCreatedEventNotification = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementCreatedEventNotification; - export type V2OrchestratedCommerceAgreementPartiallyConfirmedEvent = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementPartiallyConfirmedEvent; - export type V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification; - export type V2OrchestratedCommerceAgreementTerminatedEvent = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementTerminatedEvent; - export type V2OrchestratedCommerceAgreementTerminatedEventNotification = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementTerminatedEventNotification; - export type V2PaymentsOffSessionPaymentAttemptFailedEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptFailedEvent; - export type V2PaymentsOffSessionPaymentAttemptFailedEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptFailedEventNotification; - export type V2PaymentsOffSessionPaymentAttemptStartedEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptStartedEvent; - export type V2PaymentsOffSessionPaymentAttemptStartedEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptStartedEventNotification; - export type V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent; - export type V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification; - export type V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent; - export type V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEventNotification; - export type V2PaymentsOffSessionPaymentCanceledEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentCanceledEvent; - export type V2PaymentsOffSessionPaymentCanceledEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentCanceledEventNotification; - export type V2PaymentsOffSessionPaymentCreatedEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentCreatedEvent; - export type V2PaymentsOffSessionPaymentCreatedEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentCreatedEventNotification; - export type V2PaymentsOffSessionPaymentFailedEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentFailedEvent; - export type V2PaymentsOffSessionPaymentFailedEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentFailedEventNotification; - export type V2PaymentsOffSessionPaymentPausedEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentPausedEvent; - export type V2PaymentsOffSessionPaymentPausedEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentPausedEventNotification; - export type V2PaymentsOffSessionPaymentRequiresCaptureEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentRequiresCaptureEvent; - export type V2PaymentsOffSessionPaymentRequiresCaptureEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentRequiresCaptureEventNotification; - export type V2PaymentsOffSessionPaymentResumedEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentResumedEvent; - export type V2PaymentsOffSessionPaymentResumedEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentResumedEventNotification; - export type V2PaymentsOffSessionPaymentSucceededEvent = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentSucceededEvent; - export type V2PaymentsOffSessionPaymentSucceededEventNotification = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentSucceededEventNotification; - export type V2PaymentsSettlementAllocationIntentCanceledEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentCanceledEvent; - export type V2PaymentsSettlementAllocationIntentCanceledEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentCanceledEventNotification; - export type V2PaymentsSettlementAllocationIntentCreatedEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentCreatedEvent; - export type V2PaymentsSettlementAllocationIntentCreatedEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentCreatedEventNotification; - export type V2PaymentsSettlementAllocationIntentErroredEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentErroredEvent; - export type V2PaymentsSettlementAllocationIntentErroredEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentErroredEventNotification; - export type V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent; - export type V2PaymentsSettlementAllocationIntentFundsNotReceivedEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentFundsNotReceivedEventNotification; - export type V2PaymentsSettlementAllocationIntentMatchedEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentMatchedEvent; - export type V2PaymentsSettlementAllocationIntentMatchedEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentMatchedEventNotification; - export type V2PaymentsSettlementAllocationIntentNotFoundEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentNotFoundEvent; - export type V2PaymentsSettlementAllocationIntentNotFoundEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentNotFoundEventNotification; - export type V2PaymentsSettlementAllocationIntentSettledEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSettledEvent; - export type V2PaymentsSettlementAllocationIntentSettledEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSettledEventNotification; - export type V2PaymentsSettlementAllocationIntentSubmittedEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSubmittedEvent; - export type V2PaymentsSettlementAllocationIntentSubmittedEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSubmittedEventNotification; - export type V2PaymentsSettlementAllocationIntentSplitCanceledEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCanceledEvent; - export type V2PaymentsSettlementAllocationIntentSplitCanceledEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCanceledEventNotification; - export type V2PaymentsSettlementAllocationIntentSplitCreatedEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCreatedEvent; - export type V2PaymentsSettlementAllocationIntentSplitCreatedEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCreatedEventNotification; - export type V2PaymentsSettlementAllocationIntentSplitSettledEvent = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitSettledEvent; - export type V2PaymentsSettlementAllocationIntentSplitSettledEventNotification = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitSettledEventNotification; - export type V2ReportingReportRunCreatedEvent = Stripe.V2.Core.Events.V2ReportingReportRunCreatedEvent; - export type V2ReportingReportRunCreatedEventNotification = Stripe.V2.Core.Events.V2ReportingReportRunCreatedEventNotification; - export type V2ReportingReportRunFailedEvent = Stripe.V2.Core.Events.V2ReportingReportRunFailedEvent; - export type V2ReportingReportRunFailedEventNotification = Stripe.V2.Core.Events.V2ReportingReportRunFailedEventNotification; - export type V2ReportingReportRunSucceededEvent = Stripe.V2.Core.Events.V2ReportingReportRunSucceededEvent; - export type V2ReportingReportRunSucceededEventNotification = Stripe.V2.Core.Events.V2ReportingReportRunSucceededEventNotification; - export type V2ReportingReportRunUpdatedEvent = Stripe.V2.Core.Events.V2ReportingReportRunUpdatedEvent; - export type V2ReportingReportRunUpdatedEventNotification = Stripe.V2.Core.Events.V2ReportingReportRunUpdatedEventNotification; - export type V2SignalsAccountSignalFraudulentMerchantReadyEvent = Stripe.V2.Core.Events.V2SignalsAccountSignalFraudulentMerchantReadyEvent; - export type V2SignalsAccountSignalFraudulentMerchantReadyEventNotification = Stripe.V2.Core.Events.V2SignalsAccountSignalFraudulentMerchantReadyEventNotification; - export type V2SignalsAccountSignalMerchantDelinquencyReadyEvent = Stripe.V2.Core.Events.V2SignalsAccountSignalMerchantDelinquencyReadyEvent; - export type V2SignalsAccountSignalMerchantDelinquencyReadyEventNotification = Stripe.V2.Core.Events.V2SignalsAccountSignalMerchantDelinquencyReadyEventNotification; + export type UnknownEventNotification = Stripe_.V2.Core.Events.UnknownEventNotification; + export type V1AccountApplicationAuthorizedEvent = Stripe_.V2.Core.Events.V1AccountApplicationAuthorizedEvent; + export type V1AccountApplicationAuthorizedEventNotification = Stripe_.V2.Core.Events.V1AccountApplicationAuthorizedEventNotification; + export type V1AccountApplicationDeauthorizedEvent = Stripe_.V2.Core.Events.V1AccountApplicationDeauthorizedEvent; + export type V1AccountApplicationDeauthorizedEventNotification = Stripe_.V2.Core.Events.V1AccountApplicationDeauthorizedEventNotification; + export type V1AccountExternalAccountCreatedEvent = Stripe_.V2.Core.Events.V1AccountExternalAccountCreatedEvent; + export type V1AccountExternalAccountCreatedEventNotification = Stripe_.V2.Core.Events.V1AccountExternalAccountCreatedEventNotification; + export type V1AccountExternalAccountDeletedEvent = Stripe_.V2.Core.Events.V1AccountExternalAccountDeletedEvent; + export type V1AccountExternalAccountDeletedEventNotification = Stripe_.V2.Core.Events.V1AccountExternalAccountDeletedEventNotification; + export type V1AccountExternalAccountUpdatedEvent = Stripe_.V2.Core.Events.V1AccountExternalAccountUpdatedEvent; + export type V1AccountExternalAccountUpdatedEventNotification = Stripe_.V2.Core.Events.V1AccountExternalAccountUpdatedEventNotification; + export type V1AccountUpdatedEvent = Stripe_.V2.Core.Events.V1AccountUpdatedEvent; + export type V1AccountUpdatedEventNotification = Stripe_.V2.Core.Events.V1AccountUpdatedEventNotification; + export type V1AccountSignalsIncludingDelinquencyCreatedEvent = Stripe_.V2.Core.Events.V1AccountSignalsIncludingDelinquencyCreatedEvent; + export type V1AccountSignalsIncludingDelinquencyCreatedEventNotification = Stripe_.V2.Core.Events.V1AccountSignalsIncludingDelinquencyCreatedEventNotification; + export type V1ApplicationFeeCreatedEvent = Stripe_.V2.Core.Events.V1ApplicationFeeCreatedEvent; + export type V1ApplicationFeeCreatedEventNotification = Stripe_.V2.Core.Events.V1ApplicationFeeCreatedEventNotification; + export type V1ApplicationFeeRefundUpdatedEvent = Stripe_.V2.Core.Events.V1ApplicationFeeRefundUpdatedEvent; + export type V1ApplicationFeeRefundUpdatedEventNotification = Stripe_.V2.Core.Events.V1ApplicationFeeRefundUpdatedEventNotification; + export type V1ApplicationFeeRefundedEvent = Stripe_.V2.Core.Events.V1ApplicationFeeRefundedEvent; + export type V1ApplicationFeeRefundedEventNotification = Stripe_.V2.Core.Events.V1ApplicationFeeRefundedEventNotification; + export type V1BalanceAvailableEvent = Stripe_.V2.Core.Events.V1BalanceAvailableEvent; + export type V1BalanceAvailableEventNotification = Stripe_.V2.Core.Events.V1BalanceAvailableEventNotification; + export type V1BillingAlertTriggeredEvent = Stripe_.V2.Core.Events.V1BillingAlertTriggeredEvent; + export type V1BillingAlertTriggeredEventNotification = Stripe_.V2.Core.Events.V1BillingAlertTriggeredEventNotification; + export type V1BillingMeterErrorReportTriggeredEvent = Stripe_.V2.Core.Events.V1BillingMeterErrorReportTriggeredEvent; + export type V1BillingMeterErrorReportTriggeredEventNotification = Stripe_.V2.Core.Events.V1BillingMeterErrorReportTriggeredEventNotification; + export type V1BillingMeterNoMeterFoundEvent = Stripe_.V2.Core.Events.V1BillingMeterNoMeterFoundEvent; + export type V1BillingMeterNoMeterFoundEventNotification = Stripe_.V2.Core.Events.V1BillingMeterNoMeterFoundEventNotification; + export type V1BillingPortalConfigurationCreatedEvent = Stripe_.V2.Core.Events.V1BillingPortalConfigurationCreatedEvent; + export type V1BillingPortalConfigurationCreatedEventNotification = Stripe_.V2.Core.Events.V1BillingPortalConfigurationCreatedEventNotification; + export type V1BillingPortalConfigurationUpdatedEvent = Stripe_.V2.Core.Events.V1BillingPortalConfigurationUpdatedEvent; + export type V1BillingPortalConfigurationUpdatedEventNotification = Stripe_.V2.Core.Events.V1BillingPortalConfigurationUpdatedEventNotification; + export type V1BillingPortalSessionCreatedEvent = Stripe_.V2.Core.Events.V1BillingPortalSessionCreatedEvent; + export type V1BillingPortalSessionCreatedEventNotification = Stripe_.V2.Core.Events.V1BillingPortalSessionCreatedEventNotification; + export type V1CapabilityUpdatedEvent = Stripe_.V2.Core.Events.V1CapabilityUpdatedEvent; + export type V1CapabilityUpdatedEventNotification = Stripe_.V2.Core.Events.V1CapabilityUpdatedEventNotification; + export type V1CashBalanceFundsAvailableEvent = Stripe_.V2.Core.Events.V1CashBalanceFundsAvailableEvent; + export type V1CashBalanceFundsAvailableEventNotification = Stripe_.V2.Core.Events.V1CashBalanceFundsAvailableEventNotification; + export type V1ChargeCapturedEvent = Stripe_.V2.Core.Events.V1ChargeCapturedEvent; + export type V1ChargeCapturedEventNotification = Stripe_.V2.Core.Events.V1ChargeCapturedEventNotification; + export type V1ChargeDisputeClosedEvent = Stripe_.V2.Core.Events.V1ChargeDisputeClosedEvent; + export type V1ChargeDisputeClosedEventNotification = Stripe_.V2.Core.Events.V1ChargeDisputeClosedEventNotification; + export type V1ChargeDisputeCreatedEvent = Stripe_.V2.Core.Events.V1ChargeDisputeCreatedEvent; + export type V1ChargeDisputeCreatedEventNotification = Stripe_.V2.Core.Events.V1ChargeDisputeCreatedEventNotification; + export type V1ChargeDisputeFundsReinstatedEvent = Stripe_.V2.Core.Events.V1ChargeDisputeFundsReinstatedEvent; + export type V1ChargeDisputeFundsReinstatedEventNotification = Stripe_.V2.Core.Events.V1ChargeDisputeFundsReinstatedEventNotification; + export type V1ChargeDisputeFundsWithdrawnEvent = Stripe_.V2.Core.Events.V1ChargeDisputeFundsWithdrawnEvent; + export type V1ChargeDisputeFundsWithdrawnEventNotification = Stripe_.V2.Core.Events.V1ChargeDisputeFundsWithdrawnEventNotification; + export type V1ChargeDisputeUpdatedEvent = Stripe_.V2.Core.Events.V1ChargeDisputeUpdatedEvent; + export type V1ChargeDisputeUpdatedEventNotification = Stripe_.V2.Core.Events.V1ChargeDisputeUpdatedEventNotification; + export type V1ChargeExpiredEvent = Stripe_.V2.Core.Events.V1ChargeExpiredEvent; + export type V1ChargeExpiredEventNotification = Stripe_.V2.Core.Events.V1ChargeExpiredEventNotification; + export type V1ChargeFailedEvent = Stripe_.V2.Core.Events.V1ChargeFailedEvent; + export type V1ChargeFailedEventNotification = Stripe_.V2.Core.Events.V1ChargeFailedEventNotification; + export type V1ChargePendingEvent = Stripe_.V2.Core.Events.V1ChargePendingEvent; + export type V1ChargePendingEventNotification = Stripe_.V2.Core.Events.V1ChargePendingEventNotification; + export type V1ChargeRefundUpdatedEvent = Stripe_.V2.Core.Events.V1ChargeRefundUpdatedEvent; + export type V1ChargeRefundUpdatedEventNotification = Stripe_.V2.Core.Events.V1ChargeRefundUpdatedEventNotification; + export type V1ChargeRefundedEvent = Stripe_.V2.Core.Events.V1ChargeRefundedEvent; + export type V1ChargeRefundedEventNotification = Stripe_.V2.Core.Events.V1ChargeRefundedEventNotification; + export type V1ChargeSucceededEvent = Stripe_.V2.Core.Events.V1ChargeSucceededEvent; + export type V1ChargeSucceededEventNotification = Stripe_.V2.Core.Events.V1ChargeSucceededEventNotification; + export type V1ChargeUpdatedEvent = Stripe_.V2.Core.Events.V1ChargeUpdatedEvent; + export type V1ChargeUpdatedEventNotification = Stripe_.V2.Core.Events.V1ChargeUpdatedEventNotification; + export type V1CheckoutSessionAsyncPaymentFailedEvent = Stripe_.V2.Core.Events.V1CheckoutSessionAsyncPaymentFailedEvent; + export type V1CheckoutSessionAsyncPaymentFailedEventNotification = Stripe_.V2.Core.Events.V1CheckoutSessionAsyncPaymentFailedEventNotification; + export type V1CheckoutSessionAsyncPaymentSucceededEvent = Stripe_.V2.Core.Events.V1CheckoutSessionAsyncPaymentSucceededEvent; + export type V1CheckoutSessionAsyncPaymentSucceededEventNotification = Stripe_.V2.Core.Events.V1CheckoutSessionAsyncPaymentSucceededEventNotification; + export type V1CheckoutSessionCompletedEvent = Stripe_.V2.Core.Events.V1CheckoutSessionCompletedEvent; + export type V1CheckoutSessionCompletedEventNotification = Stripe_.V2.Core.Events.V1CheckoutSessionCompletedEventNotification; + export type V1CheckoutSessionExpiredEvent = Stripe_.V2.Core.Events.V1CheckoutSessionExpiredEvent; + export type V1CheckoutSessionExpiredEventNotification = Stripe_.V2.Core.Events.V1CheckoutSessionExpiredEventNotification; + export type V1ClimateOrderCanceledEvent = Stripe_.V2.Core.Events.V1ClimateOrderCanceledEvent; + export type V1ClimateOrderCanceledEventNotification = Stripe_.V2.Core.Events.V1ClimateOrderCanceledEventNotification; + export type V1ClimateOrderCreatedEvent = Stripe_.V2.Core.Events.V1ClimateOrderCreatedEvent; + export type V1ClimateOrderCreatedEventNotification = Stripe_.V2.Core.Events.V1ClimateOrderCreatedEventNotification; + export type V1ClimateOrderDelayedEvent = Stripe_.V2.Core.Events.V1ClimateOrderDelayedEvent; + export type V1ClimateOrderDelayedEventNotification = Stripe_.V2.Core.Events.V1ClimateOrderDelayedEventNotification; + export type V1ClimateOrderDeliveredEvent = Stripe_.V2.Core.Events.V1ClimateOrderDeliveredEvent; + export type V1ClimateOrderDeliveredEventNotification = Stripe_.V2.Core.Events.V1ClimateOrderDeliveredEventNotification; + export type V1ClimateOrderProductSubstitutedEvent = Stripe_.V2.Core.Events.V1ClimateOrderProductSubstitutedEvent; + export type V1ClimateOrderProductSubstitutedEventNotification = Stripe_.V2.Core.Events.V1ClimateOrderProductSubstitutedEventNotification; + export type V1ClimateProductCreatedEvent = Stripe_.V2.Core.Events.V1ClimateProductCreatedEvent; + export type V1ClimateProductCreatedEventNotification = Stripe_.V2.Core.Events.V1ClimateProductCreatedEventNotification; + export type V1ClimateProductPricingUpdatedEvent = Stripe_.V2.Core.Events.V1ClimateProductPricingUpdatedEvent; + export type V1ClimateProductPricingUpdatedEventNotification = Stripe_.V2.Core.Events.V1ClimateProductPricingUpdatedEventNotification; + export type V1CouponCreatedEvent = Stripe_.V2.Core.Events.V1CouponCreatedEvent; + export type V1CouponCreatedEventNotification = Stripe_.V2.Core.Events.V1CouponCreatedEventNotification; + export type V1CouponDeletedEvent = Stripe_.V2.Core.Events.V1CouponDeletedEvent; + export type V1CouponDeletedEventNotification = Stripe_.V2.Core.Events.V1CouponDeletedEventNotification; + export type V1CouponUpdatedEvent = Stripe_.V2.Core.Events.V1CouponUpdatedEvent; + export type V1CouponUpdatedEventNotification = Stripe_.V2.Core.Events.V1CouponUpdatedEventNotification; + export type V1CreditNoteCreatedEvent = Stripe_.V2.Core.Events.V1CreditNoteCreatedEvent; + export type V1CreditNoteCreatedEventNotification = Stripe_.V2.Core.Events.V1CreditNoteCreatedEventNotification; + export type V1CreditNoteUpdatedEvent = Stripe_.V2.Core.Events.V1CreditNoteUpdatedEvent; + export type V1CreditNoteUpdatedEventNotification = Stripe_.V2.Core.Events.V1CreditNoteUpdatedEventNotification; + export type V1CreditNoteVoidedEvent = Stripe_.V2.Core.Events.V1CreditNoteVoidedEvent; + export type V1CreditNoteVoidedEventNotification = Stripe_.V2.Core.Events.V1CreditNoteVoidedEventNotification; + export type V1CustomerCreatedEvent = Stripe_.V2.Core.Events.V1CustomerCreatedEvent; + export type V1CustomerCreatedEventNotification = Stripe_.V2.Core.Events.V1CustomerCreatedEventNotification; + export type V1CustomerDeletedEvent = Stripe_.V2.Core.Events.V1CustomerDeletedEvent; + export type V1CustomerDeletedEventNotification = Stripe_.V2.Core.Events.V1CustomerDeletedEventNotification; + export type V1CustomerSubscriptionCreatedEvent = Stripe_.V2.Core.Events.V1CustomerSubscriptionCreatedEvent; + export type V1CustomerSubscriptionCreatedEventNotification = Stripe_.V2.Core.Events.V1CustomerSubscriptionCreatedEventNotification; + export type V1CustomerSubscriptionDeletedEvent = Stripe_.V2.Core.Events.V1CustomerSubscriptionDeletedEvent; + export type V1CustomerSubscriptionDeletedEventNotification = Stripe_.V2.Core.Events.V1CustomerSubscriptionDeletedEventNotification; + export type V1CustomerSubscriptionPausedEvent = Stripe_.V2.Core.Events.V1CustomerSubscriptionPausedEvent; + export type V1CustomerSubscriptionPausedEventNotification = Stripe_.V2.Core.Events.V1CustomerSubscriptionPausedEventNotification; + export type V1CustomerSubscriptionPendingUpdateAppliedEvent = Stripe_.V2.Core.Events.V1CustomerSubscriptionPendingUpdateAppliedEvent; + export type V1CustomerSubscriptionPendingUpdateAppliedEventNotification = Stripe_.V2.Core.Events.V1CustomerSubscriptionPendingUpdateAppliedEventNotification; + export type V1CustomerSubscriptionPendingUpdateExpiredEvent = Stripe_.V2.Core.Events.V1CustomerSubscriptionPendingUpdateExpiredEvent; + export type V1CustomerSubscriptionPendingUpdateExpiredEventNotification = Stripe_.V2.Core.Events.V1CustomerSubscriptionPendingUpdateExpiredEventNotification; + export type V1CustomerSubscriptionResumedEvent = Stripe_.V2.Core.Events.V1CustomerSubscriptionResumedEvent; + export type V1CustomerSubscriptionResumedEventNotification = Stripe_.V2.Core.Events.V1CustomerSubscriptionResumedEventNotification; + export type V1CustomerSubscriptionTrialWillEndEvent = Stripe_.V2.Core.Events.V1CustomerSubscriptionTrialWillEndEvent; + export type V1CustomerSubscriptionTrialWillEndEventNotification = Stripe_.V2.Core.Events.V1CustomerSubscriptionTrialWillEndEventNotification; + export type V1CustomerSubscriptionUpdatedEvent = Stripe_.V2.Core.Events.V1CustomerSubscriptionUpdatedEvent; + export type V1CustomerSubscriptionUpdatedEventNotification = Stripe_.V2.Core.Events.V1CustomerSubscriptionUpdatedEventNotification; + export type V1CustomerTaxIdCreatedEvent = Stripe_.V2.Core.Events.V1CustomerTaxIdCreatedEvent; + export type V1CustomerTaxIdCreatedEventNotification = Stripe_.V2.Core.Events.V1CustomerTaxIdCreatedEventNotification; + export type V1CustomerTaxIdDeletedEvent = Stripe_.V2.Core.Events.V1CustomerTaxIdDeletedEvent; + export type V1CustomerTaxIdDeletedEventNotification = Stripe_.V2.Core.Events.V1CustomerTaxIdDeletedEventNotification; + export type V1CustomerTaxIdUpdatedEvent = Stripe_.V2.Core.Events.V1CustomerTaxIdUpdatedEvent; + export type V1CustomerTaxIdUpdatedEventNotification = Stripe_.V2.Core.Events.V1CustomerTaxIdUpdatedEventNotification; + export type V1CustomerUpdatedEvent = Stripe_.V2.Core.Events.V1CustomerUpdatedEvent; + export type V1CustomerUpdatedEventNotification = Stripe_.V2.Core.Events.V1CustomerUpdatedEventNotification; + export type V1CustomerCashBalanceTransactionCreatedEvent = Stripe_.V2.Core.Events.V1CustomerCashBalanceTransactionCreatedEvent; + export type V1CustomerCashBalanceTransactionCreatedEventNotification = Stripe_.V2.Core.Events.V1CustomerCashBalanceTransactionCreatedEventNotification; + export type V1EntitlementsActiveEntitlementSummaryUpdatedEvent = Stripe_.V2.Core.Events.V1EntitlementsActiveEntitlementSummaryUpdatedEvent; + export type V1EntitlementsActiveEntitlementSummaryUpdatedEventNotification = Stripe_.V2.Core.Events.V1EntitlementsActiveEntitlementSummaryUpdatedEventNotification; + export type V1FileCreatedEvent = Stripe_.V2.Core.Events.V1FileCreatedEvent; + export type V1FileCreatedEventNotification = Stripe_.V2.Core.Events.V1FileCreatedEventNotification; + export type V1FinancialConnectionsAccountCreatedEvent = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountCreatedEvent; + export type V1FinancialConnectionsAccountCreatedEventNotification = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountCreatedEventNotification; + export type V1FinancialConnectionsAccountDeactivatedEvent = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountDeactivatedEvent; + export type V1FinancialConnectionsAccountDeactivatedEventNotification = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountDeactivatedEventNotification; + export type V1FinancialConnectionsAccountDisconnectedEvent = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountDisconnectedEvent; + export type V1FinancialConnectionsAccountDisconnectedEventNotification = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountDisconnectedEventNotification; + export type V1FinancialConnectionsAccountReactivatedEvent = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountReactivatedEvent; + export type V1FinancialConnectionsAccountReactivatedEventNotification = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountReactivatedEventNotification; + export type V1FinancialConnectionsAccountRefreshedBalanceEvent = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountRefreshedBalanceEvent; + export type V1FinancialConnectionsAccountRefreshedBalanceEventNotification = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountRefreshedBalanceEventNotification; + export type V1FinancialConnectionsAccountRefreshedOwnershipEvent = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountRefreshedOwnershipEvent; + export type V1FinancialConnectionsAccountRefreshedOwnershipEventNotification = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountRefreshedOwnershipEventNotification; + export type V1FinancialConnectionsAccountRefreshedTransactionsEvent = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountRefreshedTransactionsEvent; + export type V1FinancialConnectionsAccountRefreshedTransactionsEventNotification = Stripe_.V2.Core.Events.V1FinancialConnectionsAccountRefreshedTransactionsEventNotification; + export type V1IdentityVerificationSessionCanceledEvent = Stripe_.V2.Core.Events.V1IdentityVerificationSessionCanceledEvent; + export type V1IdentityVerificationSessionCanceledEventNotification = Stripe_.V2.Core.Events.V1IdentityVerificationSessionCanceledEventNotification; + export type V1IdentityVerificationSessionCreatedEvent = Stripe_.V2.Core.Events.V1IdentityVerificationSessionCreatedEvent; + export type V1IdentityVerificationSessionCreatedEventNotification = Stripe_.V2.Core.Events.V1IdentityVerificationSessionCreatedEventNotification; + export type V1IdentityVerificationSessionProcessingEvent = Stripe_.V2.Core.Events.V1IdentityVerificationSessionProcessingEvent; + export type V1IdentityVerificationSessionProcessingEventNotification = Stripe_.V2.Core.Events.V1IdentityVerificationSessionProcessingEventNotification; + export type V1IdentityVerificationSessionRedactedEvent = Stripe_.V2.Core.Events.V1IdentityVerificationSessionRedactedEvent; + export type V1IdentityVerificationSessionRedactedEventNotification = Stripe_.V2.Core.Events.V1IdentityVerificationSessionRedactedEventNotification; + export type V1IdentityVerificationSessionRequiresInputEvent = Stripe_.V2.Core.Events.V1IdentityVerificationSessionRequiresInputEvent; + export type V1IdentityVerificationSessionRequiresInputEventNotification = Stripe_.V2.Core.Events.V1IdentityVerificationSessionRequiresInputEventNotification; + export type V1IdentityVerificationSessionVerifiedEvent = Stripe_.V2.Core.Events.V1IdentityVerificationSessionVerifiedEvent; + export type V1IdentityVerificationSessionVerifiedEventNotification = Stripe_.V2.Core.Events.V1IdentityVerificationSessionVerifiedEventNotification; + export type V1InvoiceCreatedEvent = Stripe_.V2.Core.Events.V1InvoiceCreatedEvent; + export type V1InvoiceCreatedEventNotification = Stripe_.V2.Core.Events.V1InvoiceCreatedEventNotification; + export type V1InvoiceDeletedEvent = Stripe_.V2.Core.Events.V1InvoiceDeletedEvent; + export type V1InvoiceDeletedEventNotification = Stripe_.V2.Core.Events.V1InvoiceDeletedEventNotification; + export type V1InvoiceFinalizationFailedEvent = Stripe_.V2.Core.Events.V1InvoiceFinalizationFailedEvent; + export type V1InvoiceFinalizationFailedEventNotification = Stripe_.V2.Core.Events.V1InvoiceFinalizationFailedEventNotification; + export type V1InvoiceFinalizedEvent = Stripe_.V2.Core.Events.V1InvoiceFinalizedEvent; + export type V1InvoiceFinalizedEventNotification = Stripe_.V2.Core.Events.V1InvoiceFinalizedEventNotification; + export type V1InvoiceMarkedUncollectibleEvent = Stripe_.V2.Core.Events.V1InvoiceMarkedUncollectibleEvent; + export type V1InvoiceMarkedUncollectibleEventNotification = Stripe_.V2.Core.Events.V1InvoiceMarkedUncollectibleEventNotification; + export type V1InvoiceOverdueEvent = Stripe_.V2.Core.Events.V1InvoiceOverdueEvent; + export type V1InvoiceOverdueEventNotification = Stripe_.V2.Core.Events.V1InvoiceOverdueEventNotification; + export type V1InvoiceOverpaidEvent = Stripe_.V2.Core.Events.V1InvoiceOverpaidEvent; + export type V1InvoiceOverpaidEventNotification = Stripe_.V2.Core.Events.V1InvoiceOverpaidEventNotification; + export type V1InvoicePaidEvent = Stripe_.V2.Core.Events.V1InvoicePaidEvent; + export type V1InvoicePaidEventNotification = Stripe_.V2.Core.Events.V1InvoicePaidEventNotification; + export type V1InvoicePaymentActionRequiredEvent = Stripe_.V2.Core.Events.V1InvoicePaymentActionRequiredEvent; + export type V1InvoicePaymentActionRequiredEventNotification = Stripe_.V2.Core.Events.V1InvoicePaymentActionRequiredEventNotification; + export type V1InvoicePaymentFailedEvent = Stripe_.V2.Core.Events.V1InvoicePaymentFailedEvent; + export type V1InvoicePaymentFailedEventNotification = Stripe_.V2.Core.Events.V1InvoicePaymentFailedEventNotification; + export type V1InvoicePaymentSucceededEvent = Stripe_.V2.Core.Events.V1InvoicePaymentSucceededEvent; + export type V1InvoicePaymentSucceededEventNotification = Stripe_.V2.Core.Events.V1InvoicePaymentSucceededEventNotification; + export type V1InvoiceSentEvent = Stripe_.V2.Core.Events.V1InvoiceSentEvent; + export type V1InvoiceSentEventNotification = Stripe_.V2.Core.Events.V1InvoiceSentEventNotification; + export type V1InvoiceUpcomingEvent = Stripe_.V2.Core.Events.V1InvoiceUpcomingEvent; + export type V1InvoiceUpcomingEventNotification = Stripe_.V2.Core.Events.V1InvoiceUpcomingEventNotification; + export type V1InvoiceUpdatedEvent = Stripe_.V2.Core.Events.V1InvoiceUpdatedEvent; + export type V1InvoiceUpdatedEventNotification = Stripe_.V2.Core.Events.V1InvoiceUpdatedEventNotification; + export type V1InvoiceVoidedEvent = Stripe_.V2.Core.Events.V1InvoiceVoidedEvent; + export type V1InvoiceVoidedEventNotification = Stripe_.V2.Core.Events.V1InvoiceVoidedEventNotification; + export type V1InvoiceWillBeDueEvent = Stripe_.V2.Core.Events.V1InvoiceWillBeDueEvent; + export type V1InvoiceWillBeDueEventNotification = Stripe_.V2.Core.Events.V1InvoiceWillBeDueEventNotification; + export type V1InvoicePaymentPaidEvent = Stripe_.V2.Core.Events.V1InvoicePaymentPaidEvent; + export type V1InvoicePaymentPaidEventNotification = Stripe_.V2.Core.Events.V1InvoicePaymentPaidEventNotification; + export type V1InvoiceitemCreatedEvent = Stripe_.V2.Core.Events.V1InvoiceitemCreatedEvent; + export type V1InvoiceitemCreatedEventNotification = Stripe_.V2.Core.Events.V1InvoiceitemCreatedEventNotification; + export type V1InvoiceitemDeletedEvent = Stripe_.V2.Core.Events.V1InvoiceitemDeletedEvent; + export type V1InvoiceitemDeletedEventNotification = Stripe_.V2.Core.Events.V1InvoiceitemDeletedEventNotification; + export type V1IssuingAuthorizationCreatedEvent = Stripe_.V2.Core.Events.V1IssuingAuthorizationCreatedEvent; + export type V1IssuingAuthorizationCreatedEventNotification = Stripe_.V2.Core.Events.V1IssuingAuthorizationCreatedEventNotification; + export type V1IssuingAuthorizationRequestEvent = Stripe_.V2.Core.Events.V1IssuingAuthorizationRequestEvent; + export type V1IssuingAuthorizationRequestEventNotification = Stripe_.V2.Core.Events.V1IssuingAuthorizationRequestEventNotification; + export type V1IssuingAuthorizationUpdatedEvent = Stripe_.V2.Core.Events.V1IssuingAuthorizationUpdatedEvent; + export type V1IssuingAuthorizationUpdatedEventNotification = Stripe_.V2.Core.Events.V1IssuingAuthorizationUpdatedEventNotification; + export type V1IssuingCardCreatedEvent = Stripe_.V2.Core.Events.V1IssuingCardCreatedEvent; + export type V1IssuingCardCreatedEventNotification = Stripe_.V2.Core.Events.V1IssuingCardCreatedEventNotification; + export type V1IssuingCardUpdatedEvent = Stripe_.V2.Core.Events.V1IssuingCardUpdatedEvent; + export type V1IssuingCardUpdatedEventNotification = Stripe_.V2.Core.Events.V1IssuingCardUpdatedEventNotification; + export type V1IssuingCardholderCreatedEvent = Stripe_.V2.Core.Events.V1IssuingCardholderCreatedEvent; + export type V1IssuingCardholderCreatedEventNotification = Stripe_.V2.Core.Events.V1IssuingCardholderCreatedEventNotification; + export type V1IssuingCardholderUpdatedEvent = Stripe_.V2.Core.Events.V1IssuingCardholderUpdatedEvent; + export type V1IssuingCardholderUpdatedEventNotification = Stripe_.V2.Core.Events.V1IssuingCardholderUpdatedEventNotification; + export type V1IssuingDisputeClosedEvent = Stripe_.V2.Core.Events.V1IssuingDisputeClosedEvent; + export type V1IssuingDisputeClosedEventNotification = Stripe_.V2.Core.Events.V1IssuingDisputeClosedEventNotification; + export type V1IssuingDisputeCreatedEvent = Stripe_.V2.Core.Events.V1IssuingDisputeCreatedEvent; + export type V1IssuingDisputeCreatedEventNotification = Stripe_.V2.Core.Events.V1IssuingDisputeCreatedEventNotification; + export type V1IssuingDisputeFundsReinstatedEvent = Stripe_.V2.Core.Events.V1IssuingDisputeFundsReinstatedEvent; + export type V1IssuingDisputeFundsReinstatedEventNotification = Stripe_.V2.Core.Events.V1IssuingDisputeFundsReinstatedEventNotification; + export type V1IssuingDisputeFundsRescindedEvent = Stripe_.V2.Core.Events.V1IssuingDisputeFundsRescindedEvent; + export type V1IssuingDisputeFundsRescindedEventNotification = Stripe_.V2.Core.Events.V1IssuingDisputeFundsRescindedEventNotification; + export type V1IssuingDisputeSubmittedEvent = Stripe_.V2.Core.Events.V1IssuingDisputeSubmittedEvent; + export type V1IssuingDisputeSubmittedEventNotification = Stripe_.V2.Core.Events.V1IssuingDisputeSubmittedEventNotification; + export type V1IssuingDisputeUpdatedEvent = Stripe_.V2.Core.Events.V1IssuingDisputeUpdatedEvent; + export type V1IssuingDisputeUpdatedEventNotification = Stripe_.V2.Core.Events.V1IssuingDisputeUpdatedEventNotification; + export type V1IssuingPersonalizationDesignActivatedEvent = Stripe_.V2.Core.Events.V1IssuingPersonalizationDesignActivatedEvent; + export type V1IssuingPersonalizationDesignActivatedEventNotification = Stripe_.V2.Core.Events.V1IssuingPersonalizationDesignActivatedEventNotification; + export type V1IssuingPersonalizationDesignDeactivatedEvent = Stripe_.V2.Core.Events.V1IssuingPersonalizationDesignDeactivatedEvent; + export type V1IssuingPersonalizationDesignDeactivatedEventNotification = Stripe_.V2.Core.Events.V1IssuingPersonalizationDesignDeactivatedEventNotification; + export type V1IssuingPersonalizationDesignRejectedEvent = Stripe_.V2.Core.Events.V1IssuingPersonalizationDesignRejectedEvent; + export type V1IssuingPersonalizationDesignRejectedEventNotification = Stripe_.V2.Core.Events.V1IssuingPersonalizationDesignRejectedEventNotification; + export type V1IssuingPersonalizationDesignUpdatedEvent = Stripe_.V2.Core.Events.V1IssuingPersonalizationDesignUpdatedEvent; + export type V1IssuingPersonalizationDesignUpdatedEventNotification = Stripe_.V2.Core.Events.V1IssuingPersonalizationDesignUpdatedEventNotification; + export type V1IssuingTokenCreatedEvent = Stripe_.V2.Core.Events.V1IssuingTokenCreatedEvent; + export type V1IssuingTokenCreatedEventNotification = Stripe_.V2.Core.Events.V1IssuingTokenCreatedEventNotification; + export type V1IssuingTokenUpdatedEvent = Stripe_.V2.Core.Events.V1IssuingTokenUpdatedEvent; + export type V1IssuingTokenUpdatedEventNotification = Stripe_.V2.Core.Events.V1IssuingTokenUpdatedEventNotification; + export type V1IssuingTransactionCreatedEvent = Stripe_.V2.Core.Events.V1IssuingTransactionCreatedEvent; + export type V1IssuingTransactionCreatedEventNotification = Stripe_.V2.Core.Events.V1IssuingTransactionCreatedEventNotification; + export type V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent = Stripe_.V2.Core.Events.V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent; + export type V1IssuingTransactionPurchaseDetailsReceiptUpdatedEventNotification = Stripe_.V2.Core.Events.V1IssuingTransactionPurchaseDetailsReceiptUpdatedEventNotification; + export type V1IssuingTransactionUpdatedEvent = Stripe_.V2.Core.Events.V1IssuingTransactionUpdatedEvent; + export type V1IssuingTransactionUpdatedEventNotification = Stripe_.V2.Core.Events.V1IssuingTransactionUpdatedEventNotification; + export type V1MandateUpdatedEvent = Stripe_.V2.Core.Events.V1MandateUpdatedEvent; + export type V1MandateUpdatedEventNotification = Stripe_.V2.Core.Events.V1MandateUpdatedEventNotification; + export type V1PaymentIntentAmountCapturableUpdatedEvent = Stripe_.V2.Core.Events.V1PaymentIntentAmountCapturableUpdatedEvent; + export type V1PaymentIntentAmountCapturableUpdatedEventNotification = Stripe_.V2.Core.Events.V1PaymentIntentAmountCapturableUpdatedEventNotification; + export type V1PaymentIntentCanceledEvent = Stripe_.V2.Core.Events.V1PaymentIntentCanceledEvent; + export type V1PaymentIntentCanceledEventNotification = Stripe_.V2.Core.Events.V1PaymentIntentCanceledEventNotification; + export type V1PaymentIntentCreatedEvent = Stripe_.V2.Core.Events.V1PaymentIntentCreatedEvent; + export type V1PaymentIntentCreatedEventNotification = Stripe_.V2.Core.Events.V1PaymentIntentCreatedEventNotification; + export type V1PaymentIntentPartiallyFundedEvent = Stripe_.V2.Core.Events.V1PaymentIntentPartiallyFundedEvent; + export type V1PaymentIntentPartiallyFundedEventNotification = Stripe_.V2.Core.Events.V1PaymentIntentPartiallyFundedEventNotification; + export type V1PaymentIntentPaymentFailedEvent = Stripe_.V2.Core.Events.V1PaymentIntentPaymentFailedEvent; + export type V1PaymentIntentPaymentFailedEventNotification = Stripe_.V2.Core.Events.V1PaymentIntentPaymentFailedEventNotification; + export type V1PaymentIntentProcessingEvent = Stripe_.V2.Core.Events.V1PaymentIntentProcessingEvent; + export type V1PaymentIntentProcessingEventNotification = Stripe_.V2.Core.Events.V1PaymentIntentProcessingEventNotification; + export type V1PaymentIntentRequiresActionEvent = Stripe_.V2.Core.Events.V1PaymentIntentRequiresActionEvent; + export type V1PaymentIntentRequiresActionEventNotification = Stripe_.V2.Core.Events.V1PaymentIntentRequiresActionEventNotification; + export type V1PaymentIntentSucceededEvent = Stripe_.V2.Core.Events.V1PaymentIntentSucceededEvent; + export type V1PaymentIntentSucceededEventNotification = Stripe_.V2.Core.Events.V1PaymentIntentSucceededEventNotification; + export type V1PaymentLinkCreatedEvent = Stripe_.V2.Core.Events.V1PaymentLinkCreatedEvent; + export type V1PaymentLinkCreatedEventNotification = Stripe_.V2.Core.Events.V1PaymentLinkCreatedEventNotification; + export type V1PaymentLinkUpdatedEvent = Stripe_.V2.Core.Events.V1PaymentLinkUpdatedEvent; + export type V1PaymentLinkUpdatedEventNotification = Stripe_.V2.Core.Events.V1PaymentLinkUpdatedEventNotification; + export type V1PaymentMethodAttachedEvent = Stripe_.V2.Core.Events.V1PaymentMethodAttachedEvent; + export type V1PaymentMethodAttachedEventNotification = Stripe_.V2.Core.Events.V1PaymentMethodAttachedEventNotification; + export type V1PaymentMethodAutomaticallyUpdatedEvent = Stripe_.V2.Core.Events.V1PaymentMethodAutomaticallyUpdatedEvent; + export type V1PaymentMethodAutomaticallyUpdatedEventNotification = Stripe_.V2.Core.Events.V1PaymentMethodAutomaticallyUpdatedEventNotification; + export type V1PaymentMethodDetachedEvent = Stripe_.V2.Core.Events.V1PaymentMethodDetachedEvent; + export type V1PaymentMethodDetachedEventNotification = Stripe_.V2.Core.Events.V1PaymentMethodDetachedEventNotification; + export type V1PaymentMethodUpdatedEvent = Stripe_.V2.Core.Events.V1PaymentMethodUpdatedEvent; + export type V1PaymentMethodUpdatedEventNotification = Stripe_.V2.Core.Events.V1PaymentMethodUpdatedEventNotification; + export type V1PayoutCanceledEvent = Stripe_.V2.Core.Events.V1PayoutCanceledEvent; + export type V1PayoutCanceledEventNotification = Stripe_.V2.Core.Events.V1PayoutCanceledEventNotification; + export type V1PayoutCreatedEvent = Stripe_.V2.Core.Events.V1PayoutCreatedEvent; + export type V1PayoutCreatedEventNotification = Stripe_.V2.Core.Events.V1PayoutCreatedEventNotification; + export type V1PayoutFailedEvent = Stripe_.V2.Core.Events.V1PayoutFailedEvent; + export type V1PayoutFailedEventNotification = Stripe_.V2.Core.Events.V1PayoutFailedEventNotification; + export type V1PayoutPaidEvent = Stripe_.V2.Core.Events.V1PayoutPaidEvent; + export type V1PayoutPaidEventNotification = Stripe_.V2.Core.Events.V1PayoutPaidEventNotification; + export type V1PayoutReconciliationCompletedEvent = Stripe_.V2.Core.Events.V1PayoutReconciliationCompletedEvent; + export type V1PayoutReconciliationCompletedEventNotification = Stripe_.V2.Core.Events.V1PayoutReconciliationCompletedEventNotification; + export type V1PayoutUpdatedEvent = Stripe_.V2.Core.Events.V1PayoutUpdatedEvent; + export type V1PayoutUpdatedEventNotification = Stripe_.V2.Core.Events.V1PayoutUpdatedEventNotification; + export type V1PersonCreatedEvent = Stripe_.V2.Core.Events.V1PersonCreatedEvent; + export type V1PersonCreatedEventNotification = Stripe_.V2.Core.Events.V1PersonCreatedEventNotification; + export type V1PersonDeletedEvent = Stripe_.V2.Core.Events.V1PersonDeletedEvent; + export type V1PersonDeletedEventNotification = Stripe_.V2.Core.Events.V1PersonDeletedEventNotification; + export type V1PersonUpdatedEvent = Stripe_.V2.Core.Events.V1PersonUpdatedEvent; + export type V1PersonUpdatedEventNotification = Stripe_.V2.Core.Events.V1PersonUpdatedEventNotification; + export type V1PlanCreatedEvent = Stripe_.V2.Core.Events.V1PlanCreatedEvent; + export type V1PlanCreatedEventNotification = Stripe_.V2.Core.Events.V1PlanCreatedEventNotification; + export type V1PlanDeletedEvent = Stripe_.V2.Core.Events.V1PlanDeletedEvent; + export type V1PlanDeletedEventNotification = Stripe_.V2.Core.Events.V1PlanDeletedEventNotification; + export type V1PlanUpdatedEvent = Stripe_.V2.Core.Events.V1PlanUpdatedEvent; + export type V1PlanUpdatedEventNotification = Stripe_.V2.Core.Events.V1PlanUpdatedEventNotification; + export type V1PriceCreatedEvent = Stripe_.V2.Core.Events.V1PriceCreatedEvent; + export type V1PriceCreatedEventNotification = Stripe_.V2.Core.Events.V1PriceCreatedEventNotification; + export type V1PriceDeletedEvent = Stripe_.V2.Core.Events.V1PriceDeletedEvent; + export type V1PriceDeletedEventNotification = Stripe_.V2.Core.Events.V1PriceDeletedEventNotification; + export type V1PriceUpdatedEvent = Stripe_.V2.Core.Events.V1PriceUpdatedEvent; + export type V1PriceUpdatedEventNotification = Stripe_.V2.Core.Events.V1PriceUpdatedEventNotification; + export type V1ProductCreatedEvent = Stripe_.V2.Core.Events.V1ProductCreatedEvent; + export type V1ProductCreatedEventNotification = Stripe_.V2.Core.Events.V1ProductCreatedEventNotification; + export type V1ProductDeletedEvent = Stripe_.V2.Core.Events.V1ProductDeletedEvent; + export type V1ProductDeletedEventNotification = Stripe_.V2.Core.Events.V1ProductDeletedEventNotification; + export type V1ProductUpdatedEvent = Stripe_.V2.Core.Events.V1ProductUpdatedEvent; + export type V1ProductUpdatedEventNotification = Stripe_.V2.Core.Events.V1ProductUpdatedEventNotification; + export type V1PromotionCodeCreatedEvent = Stripe_.V2.Core.Events.V1PromotionCodeCreatedEvent; + export type V1PromotionCodeCreatedEventNotification = Stripe_.V2.Core.Events.V1PromotionCodeCreatedEventNotification; + export type V1PromotionCodeUpdatedEvent = Stripe_.V2.Core.Events.V1PromotionCodeUpdatedEvent; + export type V1PromotionCodeUpdatedEventNotification = Stripe_.V2.Core.Events.V1PromotionCodeUpdatedEventNotification; + export type V1QuoteAcceptedEvent = Stripe_.V2.Core.Events.V1QuoteAcceptedEvent; + export type V1QuoteAcceptedEventNotification = Stripe_.V2.Core.Events.V1QuoteAcceptedEventNotification; + export type V1QuoteCanceledEvent = Stripe_.V2.Core.Events.V1QuoteCanceledEvent; + export type V1QuoteCanceledEventNotification = Stripe_.V2.Core.Events.V1QuoteCanceledEventNotification; + export type V1QuoteCreatedEvent = Stripe_.V2.Core.Events.V1QuoteCreatedEvent; + export type V1QuoteCreatedEventNotification = Stripe_.V2.Core.Events.V1QuoteCreatedEventNotification; + export type V1QuoteFinalizedEvent = Stripe_.V2.Core.Events.V1QuoteFinalizedEvent; + export type V1QuoteFinalizedEventNotification = Stripe_.V2.Core.Events.V1QuoteFinalizedEventNotification; + export type V1RadarEarlyFraudWarningCreatedEvent = Stripe_.V2.Core.Events.V1RadarEarlyFraudWarningCreatedEvent; + export type V1RadarEarlyFraudWarningCreatedEventNotification = Stripe_.V2.Core.Events.V1RadarEarlyFraudWarningCreatedEventNotification; + export type V1RadarEarlyFraudWarningUpdatedEvent = Stripe_.V2.Core.Events.V1RadarEarlyFraudWarningUpdatedEvent; + export type V1RadarEarlyFraudWarningUpdatedEventNotification = Stripe_.V2.Core.Events.V1RadarEarlyFraudWarningUpdatedEventNotification; + export type V1RefundCreatedEvent = Stripe_.V2.Core.Events.V1RefundCreatedEvent; + export type V1RefundCreatedEventNotification = Stripe_.V2.Core.Events.V1RefundCreatedEventNotification; + export type V1RefundFailedEvent = Stripe_.V2.Core.Events.V1RefundFailedEvent; + export type V1RefundFailedEventNotification = Stripe_.V2.Core.Events.V1RefundFailedEventNotification; + export type V1RefundUpdatedEvent = Stripe_.V2.Core.Events.V1RefundUpdatedEvent; + export type V1RefundUpdatedEventNotification = Stripe_.V2.Core.Events.V1RefundUpdatedEventNotification; + export type V1ReviewClosedEvent = Stripe_.V2.Core.Events.V1ReviewClosedEvent; + export type V1ReviewClosedEventNotification = Stripe_.V2.Core.Events.V1ReviewClosedEventNotification; + export type V1ReviewOpenedEvent = Stripe_.V2.Core.Events.V1ReviewOpenedEvent; + export type V1ReviewOpenedEventNotification = Stripe_.V2.Core.Events.V1ReviewOpenedEventNotification; + export type V1SetupIntentCanceledEvent = Stripe_.V2.Core.Events.V1SetupIntentCanceledEvent; + export type V1SetupIntentCanceledEventNotification = Stripe_.V2.Core.Events.V1SetupIntentCanceledEventNotification; + export type V1SetupIntentCreatedEvent = Stripe_.V2.Core.Events.V1SetupIntentCreatedEvent; + export type V1SetupIntentCreatedEventNotification = Stripe_.V2.Core.Events.V1SetupIntentCreatedEventNotification; + export type V1SetupIntentRequiresActionEvent = Stripe_.V2.Core.Events.V1SetupIntentRequiresActionEvent; + export type V1SetupIntentRequiresActionEventNotification = Stripe_.V2.Core.Events.V1SetupIntentRequiresActionEventNotification; + export type V1SetupIntentSetupFailedEvent = Stripe_.V2.Core.Events.V1SetupIntentSetupFailedEvent; + export type V1SetupIntentSetupFailedEventNotification = Stripe_.V2.Core.Events.V1SetupIntentSetupFailedEventNotification; + export type V1SetupIntentSucceededEvent = Stripe_.V2.Core.Events.V1SetupIntentSucceededEvent; + export type V1SetupIntentSucceededEventNotification = Stripe_.V2.Core.Events.V1SetupIntentSucceededEventNotification; + export type V1SigmaScheduledQueryRunCreatedEvent = Stripe_.V2.Core.Events.V1SigmaScheduledQueryRunCreatedEvent; + export type V1SigmaScheduledQueryRunCreatedEventNotification = Stripe_.V2.Core.Events.V1SigmaScheduledQueryRunCreatedEventNotification; + export type V1SourceCanceledEvent = Stripe_.V2.Core.Events.V1SourceCanceledEvent; + export type V1SourceCanceledEventNotification = Stripe_.V2.Core.Events.V1SourceCanceledEventNotification; + export type V1SourceChargeableEvent = Stripe_.V2.Core.Events.V1SourceChargeableEvent; + export type V1SourceChargeableEventNotification = Stripe_.V2.Core.Events.V1SourceChargeableEventNotification; + export type V1SourceFailedEvent = Stripe_.V2.Core.Events.V1SourceFailedEvent; + export type V1SourceFailedEventNotification = Stripe_.V2.Core.Events.V1SourceFailedEventNotification; + export type V1SourceRefundAttributesRequiredEvent = Stripe_.V2.Core.Events.V1SourceRefundAttributesRequiredEvent; + export type V1SourceRefundAttributesRequiredEventNotification = Stripe_.V2.Core.Events.V1SourceRefundAttributesRequiredEventNotification; + export type V1SubscriptionScheduleAbortedEvent = Stripe_.V2.Core.Events.V1SubscriptionScheduleAbortedEvent; + export type V1SubscriptionScheduleAbortedEventNotification = Stripe_.V2.Core.Events.V1SubscriptionScheduleAbortedEventNotification; + export type V1SubscriptionScheduleCanceledEvent = Stripe_.V2.Core.Events.V1SubscriptionScheduleCanceledEvent; + export type V1SubscriptionScheduleCanceledEventNotification = Stripe_.V2.Core.Events.V1SubscriptionScheduleCanceledEventNotification; + export type V1SubscriptionScheduleCompletedEvent = Stripe_.V2.Core.Events.V1SubscriptionScheduleCompletedEvent; + export type V1SubscriptionScheduleCompletedEventNotification = Stripe_.V2.Core.Events.V1SubscriptionScheduleCompletedEventNotification; + export type V1SubscriptionScheduleCreatedEvent = Stripe_.V2.Core.Events.V1SubscriptionScheduleCreatedEvent; + export type V1SubscriptionScheduleCreatedEventNotification = Stripe_.V2.Core.Events.V1SubscriptionScheduleCreatedEventNotification; + export type V1SubscriptionScheduleExpiringEvent = Stripe_.V2.Core.Events.V1SubscriptionScheduleExpiringEvent; + export type V1SubscriptionScheduleExpiringEventNotification = Stripe_.V2.Core.Events.V1SubscriptionScheduleExpiringEventNotification; + export type V1SubscriptionScheduleReleasedEvent = Stripe_.V2.Core.Events.V1SubscriptionScheduleReleasedEvent; + export type V1SubscriptionScheduleReleasedEventNotification = Stripe_.V2.Core.Events.V1SubscriptionScheduleReleasedEventNotification; + export type V1SubscriptionScheduleUpdatedEvent = Stripe_.V2.Core.Events.V1SubscriptionScheduleUpdatedEvent; + export type V1SubscriptionScheduleUpdatedEventNotification = Stripe_.V2.Core.Events.V1SubscriptionScheduleUpdatedEventNotification; + export type V1TaxSettingsUpdatedEvent = Stripe_.V2.Core.Events.V1TaxSettingsUpdatedEvent; + export type V1TaxSettingsUpdatedEventNotification = Stripe_.V2.Core.Events.V1TaxSettingsUpdatedEventNotification; + export type V1TaxRateCreatedEvent = Stripe_.V2.Core.Events.V1TaxRateCreatedEvent; + export type V1TaxRateCreatedEventNotification = Stripe_.V2.Core.Events.V1TaxRateCreatedEventNotification; + export type V1TaxRateUpdatedEvent = Stripe_.V2.Core.Events.V1TaxRateUpdatedEvent; + export type V1TaxRateUpdatedEventNotification = Stripe_.V2.Core.Events.V1TaxRateUpdatedEventNotification; + export type V1TerminalReaderActionFailedEvent = Stripe_.V2.Core.Events.V1TerminalReaderActionFailedEvent; + export type V1TerminalReaderActionFailedEventNotification = Stripe_.V2.Core.Events.V1TerminalReaderActionFailedEventNotification; + export type V1TerminalReaderActionSucceededEvent = Stripe_.V2.Core.Events.V1TerminalReaderActionSucceededEvent; + export type V1TerminalReaderActionSucceededEventNotification = Stripe_.V2.Core.Events.V1TerminalReaderActionSucceededEventNotification; + export type V1TerminalReaderActionUpdatedEvent = Stripe_.V2.Core.Events.V1TerminalReaderActionUpdatedEvent; + export type V1TerminalReaderActionUpdatedEventNotification = Stripe_.V2.Core.Events.V1TerminalReaderActionUpdatedEventNotification; + export type V1TestHelpersTestClockAdvancingEvent = Stripe_.V2.Core.Events.V1TestHelpersTestClockAdvancingEvent; + export type V1TestHelpersTestClockAdvancingEventNotification = Stripe_.V2.Core.Events.V1TestHelpersTestClockAdvancingEventNotification; + export type V1TestHelpersTestClockCreatedEvent = Stripe_.V2.Core.Events.V1TestHelpersTestClockCreatedEvent; + export type V1TestHelpersTestClockCreatedEventNotification = Stripe_.V2.Core.Events.V1TestHelpersTestClockCreatedEventNotification; + export type V1TestHelpersTestClockDeletedEvent = Stripe_.V2.Core.Events.V1TestHelpersTestClockDeletedEvent; + export type V1TestHelpersTestClockDeletedEventNotification = Stripe_.V2.Core.Events.V1TestHelpersTestClockDeletedEventNotification; + export type V1TestHelpersTestClockInternalFailureEvent = Stripe_.V2.Core.Events.V1TestHelpersTestClockInternalFailureEvent; + export type V1TestHelpersTestClockInternalFailureEventNotification = Stripe_.V2.Core.Events.V1TestHelpersTestClockInternalFailureEventNotification; + export type V1TestHelpersTestClockReadyEvent = Stripe_.V2.Core.Events.V1TestHelpersTestClockReadyEvent; + export type V1TestHelpersTestClockReadyEventNotification = Stripe_.V2.Core.Events.V1TestHelpersTestClockReadyEventNotification; + export type V1TopupCanceledEvent = Stripe_.V2.Core.Events.V1TopupCanceledEvent; + export type V1TopupCanceledEventNotification = Stripe_.V2.Core.Events.V1TopupCanceledEventNotification; + export type V1TopupCreatedEvent = Stripe_.V2.Core.Events.V1TopupCreatedEvent; + export type V1TopupCreatedEventNotification = Stripe_.V2.Core.Events.V1TopupCreatedEventNotification; + export type V1TopupFailedEvent = Stripe_.V2.Core.Events.V1TopupFailedEvent; + export type V1TopupFailedEventNotification = Stripe_.V2.Core.Events.V1TopupFailedEventNotification; + export type V1TopupReversedEvent = Stripe_.V2.Core.Events.V1TopupReversedEvent; + export type V1TopupReversedEventNotification = Stripe_.V2.Core.Events.V1TopupReversedEventNotification; + export type V1TopupSucceededEvent = Stripe_.V2.Core.Events.V1TopupSucceededEvent; + export type V1TopupSucceededEventNotification = Stripe_.V2.Core.Events.V1TopupSucceededEventNotification; + export type V1TransferCreatedEvent = Stripe_.V2.Core.Events.V1TransferCreatedEvent; + export type V1TransferCreatedEventNotification = Stripe_.V2.Core.Events.V1TransferCreatedEventNotification; + export type V1TransferReversedEvent = Stripe_.V2.Core.Events.V1TransferReversedEvent; + export type V1TransferReversedEventNotification = Stripe_.V2.Core.Events.V1TransferReversedEventNotification; + export type V1TransferUpdatedEvent = Stripe_.V2.Core.Events.V1TransferUpdatedEvent; + export type V1TransferUpdatedEventNotification = Stripe_.V2.Core.Events.V1TransferUpdatedEventNotification; + export type V2BillingCadenceBilledEvent = Stripe_.V2.Core.Events.V2BillingCadenceBilledEvent; + export type V2BillingCadenceBilledEventNotification = Stripe_.V2.Core.Events.V2BillingCadenceBilledEventNotification; + export type V2BillingCadenceCanceledEvent = Stripe_.V2.Core.Events.V2BillingCadenceCanceledEvent; + export type V2BillingCadenceCanceledEventNotification = Stripe_.V2.Core.Events.V2BillingCadenceCanceledEventNotification; + export type V2BillingCadenceCreatedEvent = Stripe_.V2.Core.Events.V2BillingCadenceCreatedEvent; + export type V2BillingCadenceCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingCadenceCreatedEventNotification; + export type V2BillingLicenseFeeCreatedEvent = Stripe_.V2.Core.Events.V2BillingLicenseFeeCreatedEvent; + export type V2BillingLicenseFeeCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingLicenseFeeCreatedEventNotification; + export type V2BillingLicenseFeeUpdatedEvent = Stripe_.V2.Core.Events.V2BillingLicenseFeeUpdatedEvent; + export type V2BillingLicenseFeeUpdatedEventNotification = Stripe_.V2.Core.Events.V2BillingLicenseFeeUpdatedEventNotification; + export type V2BillingLicenseFeeVersionCreatedEvent = Stripe_.V2.Core.Events.V2BillingLicenseFeeVersionCreatedEvent; + export type V2BillingLicenseFeeVersionCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingLicenseFeeVersionCreatedEventNotification; + export type V2BillingLicensedItemCreatedEvent = Stripe_.V2.Core.Events.V2BillingLicensedItemCreatedEvent; + export type V2BillingLicensedItemCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingLicensedItemCreatedEventNotification; + export type V2BillingLicensedItemUpdatedEvent = Stripe_.V2.Core.Events.V2BillingLicensedItemUpdatedEvent; + export type V2BillingLicensedItemUpdatedEventNotification = Stripe_.V2.Core.Events.V2BillingLicensedItemUpdatedEventNotification; + export type V2BillingMeteredItemCreatedEvent = Stripe_.V2.Core.Events.V2BillingMeteredItemCreatedEvent; + export type V2BillingMeteredItemCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingMeteredItemCreatedEventNotification; + export type V2BillingMeteredItemUpdatedEvent = Stripe_.V2.Core.Events.V2BillingMeteredItemUpdatedEvent; + export type V2BillingMeteredItemUpdatedEventNotification = Stripe_.V2.Core.Events.V2BillingMeteredItemUpdatedEventNotification; + export type V2BillingPricingPlanCreatedEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanCreatedEvent; + export type V2BillingPricingPlanCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanCreatedEventNotification; + export type V2BillingPricingPlanUpdatedEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanUpdatedEvent; + export type V2BillingPricingPlanUpdatedEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanUpdatedEventNotification; + export type V2BillingPricingPlanComponentCreatedEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanComponentCreatedEvent; + export type V2BillingPricingPlanComponentCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanComponentCreatedEventNotification; + export type V2BillingPricingPlanComponentUpdatedEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanComponentUpdatedEvent; + export type V2BillingPricingPlanComponentUpdatedEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanComponentUpdatedEventNotification; + export type V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent; + export type V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEventNotification; + export type V2BillingPricingPlanSubscriptionCollectionCurrentEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionCurrentEvent; + export type V2BillingPricingPlanSubscriptionCollectionCurrentEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionCurrentEventNotification; + export type V2BillingPricingPlanSubscriptionCollectionPastDueEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionPastDueEvent; + export type V2BillingPricingPlanSubscriptionCollectionPastDueEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionPastDueEventNotification; + export type V2BillingPricingPlanSubscriptionCollectionPausedEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionPausedEvent; + export type V2BillingPricingPlanSubscriptionCollectionPausedEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionPausedEventNotification; + export type V2BillingPricingPlanSubscriptionCollectionUnpaidEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionUnpaidEvent; + export type V2BillingPricingPlanSubscriptionCollectionUnpaidEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionCollectionUnpaidEventNotification; + export type V2BillingPricingPlanSubscriptionServicingActivatedEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingActivatedEvent; + export type V2BillingPricingPlanSubscriptionServicingActivatedEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingActivatedEventNotification; + export type V2BillingPricingPlanSubscriptionServicingCanceledEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingCanceledEvent; + export type V2BillingPricingPlanSubscriptionServicingCanceledEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingCanceledEventNotification; + export type V2BillingPricingPlanSubscriptionServicingPausedEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingPausedEvent; + export type V2BillingPricingPlanSubscriptionServicingPausedEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanSubscriptionServicingPausedEventNotification; + export type V2BillingPricingPlanVersionCreatedEvent = Stripe_.V2.Core.Events.V2BillingPricingPlanVersionCreatedEvent; + export type V2BillingPricingPlanVersionCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingPricingPlanVersionCreatedEventNotification; + export type V2BillingRateCardCreatedEvent = Stripe_.V2.Core.Events.V2BillingRateCardCreatedEvent; + export type V2BillingRateCardCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardCreatedEventNotification; + export type V2BillingRateCardUpdatedEvent = Stripe_.V2.Core.Events.V2BillingRateCardUpdatedEvent; + export type V2BillingRateCardUpdatedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardUpdatedEventNotification; + export type V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent = Stripe_.V2.Core.Events.V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent; + export type V2BillingRateCardCustomPricingUnitOverageRateCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardCustomPricingUnitOverageRateCreatedEventNotification; + export type V2BillingRateCardRateCreatedEvent = Stripe_.V2.Core.Events.V2BillingRateCardRateCreatedEvent; + export type V2BillingRateCardRateCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardRateCreatedEventNotification; + export type V2BillingRateCardSubscriptionActivatedEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionActivatedEvent; + export type V2BillingRateCardSubscriptionActivatedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionActivatedEventNotification; + export type V2BillingRateCardSubscriptionCanceledEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCanceledEvent; + export type V2BillingRateCardSubscriptionCanceledEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCanceledEventNotification; + export type V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent; + export type V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEventNotification; + export type V2BillingRateCardSubscriptionCollectionCurrentEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionCurrentEvent; + export type V2BillingRateCardSubscriptionCollectionCurrentEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionCurrentEventNotification; + export type V2BillingRateCardSubscriptionCollectionPastDueEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionPastDueEvent; + export type V2BillingRateCardSubscriptionCollectionPastDueEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionPastDueEventNotification; + export type V2BillingRateCardSubscriptionCollectionPausedEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionPausedEvent; + export type V2BillingRateCardSubscriptionCollectionPausedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionPausedEventNotification; + export type V2BillingRateCardSubscriptionCollectionUnpaidEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionUnpaidEvent; + export type V2BillingRateCardSubscriptionCollectionUnpaidEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionCollectionUnpaidEventNotification; + export type V2BillingRateCardSubscriptionServicingActivatedEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionServicingActivatedEvent; + export type V2BillingRateCardSubscriptionServicingActivatedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionServicingActivatedEventNotification; + export type V2BillingRateCardSubscriptionServicingCanceledEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionServicingCanceledEvent; + export type V2BillingRateCardSubscriptionServicingCanceledEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionServicingCanceledEventNotification; + export type V2BillingRateCardSubscriptionServicingPausedEvent = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionServicingPausedEvent; + export type V2BillingRateCardSubscriptionServicingPausedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardSubscriptionServicingPausedEventNotification; + export type V2BillingRateCardVersionCreatedEvent = Stripe_.V2.Core.Events.V2BillingRateCardVersionCreatedEvent; + export type V2BillingRateCardVersionCreatedEventNotification = Stripe_.V2.Core.Events.V2BillingRateCardVersionCreatedEventNotification; + export type V2CommerceProductCatalogImportsFailedEvent = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsFailedEvent; + export type V2CommerceProductCatalogImportsFailedEventNotification = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsFailedEventNotification; + export type V2CommerceProductCatalogImportsProcessingEvent = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsProcessingEvent; + export type V2CommerceProductCatalogImportsProcessingEventNotification = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsProcessingEventNotification; + export type V2CommerceProductCatalogImportsSucceededEvent = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsSucceededEvent; + export type V2CommerceProductCatalogImportsSucceededEventNotification = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsSucceededEventNotification; + export type V2CommerceProductCatalogImportsSucceededWithErrorsEvent = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsSucceededWithErrorsEvent; + export type V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification = Stripe_.V2.Core.Events.V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification; + export type V2CoreAccountClosedEvent = Stripe_.V2.Core.Events.V2CoreAccountClosedEvent; + export type V2CoreAccountClosedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountClosedEventNotification; + export type V2CoreAccountCreatedEvent = Stripe_.V2.Core.Events.V2CoreAccountCreatedEvent; + export type V2CoreAccountCreatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountCreatedEventNotification; + export type V2CoreAccountUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountUpdatedEvent; + export type V2CoreAccountUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent; + export type V2CoreAccountIncludingConfigurationCardCreatorUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationCustomerUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEvent; + export type V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationMerchantUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEvent; + export type V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationRecipientUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEvent; + export type V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationStorerUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerUpdatedEvent; + export type V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification; + export type V2CoreAccountIncludingDefaultsUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingDefaultsUpdatedEvent; + export type V2CoreAccountIncludingDefaultsUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingDefaultsUpdatedEventNotification; + export type V2CoreAccountIncludingFutureRequirementsUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingFutureRequirementsUpdatedEvent; + export type V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification; + export type V2CoreAccountIncludingIdentityUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingIdentityUpdatedEvent; + export type V2CoreAccountIncludingIdentityUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingIdentityUpdatedEventNotification; + export type V2CoreAccountIncludingRequirementsUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingRequirementsUpdatedEvent; + export type V2CoreAccountIncludingRequirementsUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingRequirementsUpdatedEventNotification; + export type V2CoreAccountLinkReturnedEvent = Stripe_.V2.Core.Events.V2CoreAccountLinkReturnedEvent; + export type V2CoreAccountLinkReturnedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountLinkReturnedEventNotification; + export type V2CoreAccountPersonCreatedEvent = Stripe_.V2.Core.Events.V2CoreAccountPersonCreatedEvent; + export type V2CoreAccountPersonCreatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountPersonCreatedEventNotification; + export type V2CoreAccountPersonDeletedEvent = Stripe_.V2.Core.Events.V2CoreAccountPersonDeletedEvent; + export type V2CoreAccountPersonDeletedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountPersonDeletedEventNotification; + export type V2CoreAccountPersonUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountPersonUpdatedEvent; + export type V2CoreAccountPersonUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountPersonUpdatedEventNotification; + export type V2CoreAccountSignalsFraudulentWebsiteReadyEvent = Stripe_.V2.Core.Events.V2CoreAccountSignalsFraudulentWebsiteReadyEvent; + export type V2CoreAccountSignalsFraudulentWebsiteReadyEventNotification = Stripe_.V2.Core.Events.V2CoreAccountSignalsFraudulentWebsiteReadyEventNotification; + export type V2CoreApprovalRequestApprovedEvent = Stripe_.V2.Core.Events.V2CoreApprovalRequestApprovedEvent; + export type V2CoreApprovalRequestApprovedEventNotification = Stripe_.V2.Core.Events.V2CoreApprovalRequestApprovedEventNotification; + export type V2CoreApprovalRequestCanceledEvent = Stripe_.V2.Core.Events.V2CoreApprovalRequestCanceledEvent; + export type V2CoreApprovalRequestCanceledEventNotification = Stripe_.V2.Core.Events.V2CoreApprovalRequestCanceledEventNotification; + export type V2CoreApprovalRequestCreatedEvent = Stripe_.V2.Core.Events.V2CoreApprovalRequestCreatedEvent; + export type V2CoreApprovalRequestCreatedEventNotification = Stripe_.V2.Core.Events.V2CoreApprovalRequestCreatedEventNotification; + export type V2CoreApprovalRequestExpiredEvent = Stripe_.V2.Core.Events.V2CoreApprovalRequestExpiredEvent; + export type V2CoreApprovalRequestExpiredEventNotification = Stripe_.V2.Core.Events.V2CoreApprovalRequestExpiredEventNotification; + export type V2CoreApprovalRequestFailedEvent = Stripe_.V2.Core.Events.V2CoreApprovalRequestFailedEvent; + export type V2CoreApprovalRequestFailedEventNotification = Stripe_.V2.Core.Events.V2CoreApprovalRequestFailedEventNotification; + export type V2CoreApprovalRequestRejectedEvent = Stripe_.V2.Core.Events.V2CoreApprovalRequestRejectedEvent; + export type V2CoreApprovalRequestRejectedEventNotification = Stripe_.V2.Core.Events.V2CoreApprovalRequestRejectedEventNotification; + export type V2CoreApprovalRequestSucceededEvent = Stripe_.V2.Core.Events.V2CoreApprovalRequestSucceededEvent; + export type V2CoreApprovalRequestSucceededEventNotification = Stripe_.V2.Core.Events.V2CoreApprovalRequestSucceededEventNotification; + export type V2CoreBatchJobBatchFailedEvent = Stripe_.V2.Core.Events.V2CoreBatchJobBatchFailedEvent; + export type V2CoreBatchJobBatchFailedEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobBatchFailedEventNotification; + export type V2CoreBatchJobCanceledEvent = Stripe_.V2.Core.Events.V2CoreBatchJobCanceledEvent; + export type V2CoreBatchJobCanceledEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobCanceledEventNotification; + export type V2CoreBatchJobCompletedEvent = Stripe_.V2.Core.Events.V2CoreBatchJobCompletedEvent; + export type V2CoreBatchJobCompletedEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobCompletedEventNotification; + export type V2CoreBatchJobCreatedEvent = Stripe_.V2.Core.Events.V2CoreBatchJobCreatedEvent; + export type V2CoreBatchJobCreatedEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobCreatedEventNotification; + export type V2CoreBatchJobReadyForUploadEvent = Stripe_.V2.Core.Events.V2CoreBatchJobReadyForUploadEvent; + export type V2CoreBatchJobReadyForUploadEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobReadyForUploadEventNotification; + export type V2CoreBatchJobTimeoutEvent = Stripe_.V2.Core.Events.V2CoreBatchJobTimeoutEvent; + export type V2CoreBatchJobTimeoutEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobTimeoutEventNotification; + export type V2CoreBatchJobUpdatedEvent = Stripe_.V2.Core.Events.V2CoreBatchJobUpdatedEvent; + export type V2CoreBatchJobUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobUpdatedEventNotification; + export type V2CoreBatchJobUploadTimeoutEvent = Stripe_.V2.Core.Events.V2CoreBatchJobUploadTimeoutEvent; + export type V2CoreBatchJobUploadTimeoutEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobUploadTimeoutEventNotification; + export type V2CoreBatchJobValidatingEvent = Stripe_.V2.Core.Events.V2CoreBatchJobValidatingEvent; + export type V2CoreBatchJobValidatingEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobValidatingEventNotification; + export type V2CoreBatchJobValidationFailedEvent = Stripe_.V2.Core.Events.V2CoreBatchJobValidationFailedEvent; + export type V2CoreBatchJobValidationFailedEventNotification = Stripe_.V2.Core.Events.V2CoreBatchJobValidationFailedEventNotification; + export type V2CoreClaimableSandboxClaimedEvent = Stripe_.V2.Core.Events.V2CoreClaimableSandboxClaimedEvent; + export type V2CoreClaimableSandboxClaimedEventNotification = Stripe_.V2.Core.Events.V2CoreClaimableSandboxClaimedEventNotification; + export type V2CoreClaimableSandboxCreatedEvent = Stripe_.V2.Core.Events.V2CoreClaimableSandboxCreatedEvent; + export type V2CoreClaimableSandboxCreatedEventNotification = Stripe_.V2.Core.Events.V2CoreClaimableSandboxCreatedEventNotification; + export type V2CoreClaimableSandboxExpiredEvent = Stripe_.V2.Core.Events.V2CoreClaimableSandboxExpiredEvent; + export type V2CoreClaimableSandboxExpiredEventNotification = Stripe_.V2.Core.Events.V2CoreClaimableSandboxExpiredEventNotification; + export type V2CoreClaimableSandboxExpiringEvent = Stripe_.V2.Core.Events.V2CoreClaimableSandboxExpiringEvent; + export type V2CoreClaimableSandboxExpiringEventNotification = Stripe_.V2.Core.Events.V2CoreClaimableSandboxExpiringEventNotification; + export type V2CoreClaimableSandboxUpdatedEvent = Stripe_.V2.Core.Events.V2CoreClaimableSandboxUpdatedEvent; + export type V2CoreClaimableSandboxUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreClaimableSandboxUpdatedEventNotification; + export type V2CoreEventDestinationPingEvent = Stripe_.V2.Core.Events.V2CoreEventDestinationPingEvent; + export type V2CoreEventDestinationPingEventNotification = Stripe_.V2.Core.Events.V2CoreEventDestinationPingEventNotification; + export type V2CoreHealthApiErrorFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthApiErrorFiringEvent; + export type V2CoreHealthApiErrorFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthApiErrorFiringEventNotification; + export type V2CoreHealthApiErrorResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthApiErrorResolvedEvent; + export type V2CoreHealthApiErrorResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthApiErrorResolvedEventNotification; + export type V2CoreHealthApiLatencyFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthApiLatencyFiringEvent; + export type V2CoreHealthApiLatencyFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthApiLatencyFiringEventNotification; + export type V2CoreHealthApiLatencyResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthApiLatencyResolvedEvent; + export type V2CoreHealthApiLatencyResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthApiLatencyResolvedEventNotification; + export type V2CoreHealthAuthorizationRateDropFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthAuthorizationRateDropFiringEvent; + export type V2CoreHealthAuthorizationRateDropFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthAuthorizationRateDropFiringEventNotification; + export type V2CoreHealthAuthorizationRateDropResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthAuthorizationRateDropResolvedEvent; + export type V2CoreHealthAuthorizationRateDropResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthAuthorizationRateDropResolvedEventNotification; + export type V2CoreHealthElementsErrorFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthElementsErrorFiringEvent; + export type V2CoreHealthElementsErrorFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthElementsErrorFiringEventNotification; + export type V2CoreHealthElementsErrorResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthElementsErrorResolvedEvent; + export type V2CoreHealthElementsErrorResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthElementsErrorResolvedEventNotification; + export type V2CoreHealthEventGenerationFailureResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthEventGenerationFailureResolvedEvent; + export type V2CoreHealthEventGenerationFailureResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthEventGenerationFailureResolvedEventNotification; + export type V2CoreHealthFraudRateIncreasedEvent = Stripe_.V2.Core.Events.V2CoreHealthFraudRateIncreasedEvent; + export type V2CoreHealthFraudRateIncreasedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthFraudRateIncreasedEventNotification; + export type V2CoreHealthInvoiceCountDroppedFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthInvoiceCountDroppedFiringEvent; + export type V2CoreHealthInvoiceCountDroppedFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthInvoiceCountDroppedFiringEventNotification; + export type V2CoreHealthInvoiceCountDroppedResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthInvoiceCountDroppedResolvedEvent; + export type V2CoreHealthInvoiceCountDroppedResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthInvoiceCountDroppedResolvedEventNotification; + export type V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent; + export type V2CoreHealthIssuingAuthorizationRequestErrorsFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsFiringEventNotification; + export type V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent; + export type V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEventNotification; + export type V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent; + export type V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEventNotification; + export type V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent; + export type V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEventNotification; + export type V2CoreHealthMeterEventSummariesDelayedFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedFiringEvent; + export type V2CoreHealthMeterEventSummariesDelayedFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedFiringEventNotification; + export type V2CoreHealthMeterEventSummariesDelayedResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedResolvedEvent; + export type V2CoreHealthMeterEventSummariesDelayedResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedResolvedEventNotification; + export type V2CoreHealthPaymentMethodErrorFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthPaymentMethodErrorFiringEvent; + export type V2CoreHealthPaymentMethodErrorFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthPaymentMethodErrorFiringEventNotification; + export type V2CoreHealthPaymentMethodErrorResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthPaymentMethodErrorResolvedEvent; + export type V2CoreHealthPaymentMethodErrorResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthPaymentMethodErrorResolvedEventNotification; + export type V2CoreHealthSepaDebitDelayedFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthSepaDebitDelayedFiringEvent; + export type V2CoreHealthSepaDebitDelayedFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthSepaDebitDelayedFiringEventNotification; + export type V2CoreHealthSepaDebitDelayedResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthSepaDebitDelayedResolvedEvent; + export type V2CoreHealthSepaDebitDelayedResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthSepaDebitDelayedResolvedEventNotification; + export type V2CoreHealthTrafficVolumeDropFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthTrafficVolumeDropFiringEvent; + export type V2CoreHealthTrafficVolumeDropFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthTrafficVolumeDropFiringEventNotification; + export type V2CoreHealthTrafficVolumeDropResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthTrafficVolumeDropResolvedEvent; + export type V2CoreHealthTrafficVolumeDropResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthTrafficVolumeDropResolvedEventNotification; + export type V2CoreHealthWebhookLatencyFiringEvent = Stripe_.V2.Core.Events.V2CoreHealthWebhookLatencyFiringEvent; + export type V2CoreHealthWebhookLatencyFiringEventNotification = Stripe_.V2.Core.Events.V2CoreHealthWebhookLatencyFiringEventNotification; + export type V2CoreHealthWebhookLatencyResolvedEvent = Stripe_.V2.Core.Events.V2CoreHealthWebhookLatencyResolvedEvent; + export type V2CoreHealthWebhookLatencyResolvedEventNotification = Stripe_.V2.Core.Events.V2CoreHealthWebhookLatencyResolvedEventNotification; + export type V2DataReportingQueryRunCreatedEvent = Stripe_.V2.Core.Events.V2DataReportingQueryRunCreatedEvent; + export type V2DataReportingQueryRunCreatedEventNotification = Stripe_.V2.Core.Events.V2DataReportingQueryRunCreatedEventNotification; + export type V2DataReportingQueryRunFailedEvent = Stripe_.V2.Core.Events.V2DataReportingQueryRunFailedEvent; + export type V2DataReportingQueryRunFailedEventNotification = Stripe_.V2.Core.Events.V2DataReportingQueryRunFailedEventNotification; + export type V2DataReportingQueryRunSucceededEvent = Stripe_.V2.Core.Events.V2DataReportingQueryRunSucceededEvent; + export type V2DataReportingQueryRunSucceededEventNotification = Stripe_.V2.Core.Events.V2DataReportingQueryRunSucceededEventNotification; + export type V2DataReportingQueryRunUpdatedEvent = Stripe_.V2.Core.Events.V2DataReportingQueryRunUpdatedEvent; + export type V2DataReportingQueryRunUpdatedEventNotification = Stripe_.V2.Core.Events.V2DataReportingQueryRunUpdatedEventNotification; + export type V2ExtendExtensionRunFailedEvent = Stripe_.V2.Core.Events.V2ExtendExtensionRunFailedEvent; + export type V2ExtendExtensionRunFailedEventNotification = Stripe_.V2.Core.Events.V2ExtendExtensionRunFailedEventNotification; + export type V2ExtendWorkflowRunFailedEvent = Stripe_.V2.Core.Events.V2ExtendWorkflowRunFailedEvent; + export type V2ExtendWorkflowRunFailedEventNotification = Stripe_.V2.Core.Events.V2ExtendWorkflowRunFailedEventNotification; + export type V2ExtendWorkflowRunStartedEvent = Stripe_.V2.Core.Events.V2ExtendWorkflowRunStartedEvent; + export type V2ExtendWorkflowRunStartedEventNotification = Stripe_.V2.Core.Events.V2ExtendWorkflowRunStartedEventNotification; + export type V2ExtendWorkflowRunSucceededEvent = Stripe_.V2.Core.Events.V2ExtendWorkflowRunSucceededEvent; + export type V2ExtendWorkflowRunSucceededEventNotification = Stripe_.V2.Core.Events.V2ExtendWorkflowRunSucceededEventNotification; + export type V2IamApiKeyCreatedEvent = Stripe_.V2.Core.Events.V2IamApiKeyCreatedEvent; + export type V2IamApiKeyCreatedEventNotification = Stripe_.V2.Core.Events.V2IamApiKeyCreatedEventNotification; + export type V2IamApiKeyDefaultSecretRevealedEvent = Stripe_.V2.Core.Events.V2IamApiKeyDefaultSecretRevealedEvent; + export type V2IamApiKeyDefaultSecretRevealedEventNotification = Stripe_.V2.Core.Events.V2IamApiKeyDefaultSecretRevealedEventNotification; + export type V2IamApiKeyExpiredEvent = Stripe_.V2.Core.Events.V2IamApiKeyExpiredEvent; + export type V2IamApiKeyExpiredEventNotification = Stripe_.V2.Core.Events.V2IamApiKeyExpiredEventNotification; + export type V2IamApiKeyPermissionsUpdatedEvent = Stripe_.V2.Core.Events.V2IamApiKeyPermissionsUpdatedEvent; + export type V2IamApiKeyPermissionsUpdatedEventNotification = Stripe_.V2.Core.Events.V2IamApiKeyPermissionsUpdatedEventNotification; + export type V2IamApiKeyRotatedEvent = Stripe_.V2.Core.Events.V2IamApiKeyRotatedEvent; + export type V2IamApiKeyRotatedEventNotification = Stripe_.V2.Core.Events.V2IamApiKeyRotatedEventNotification; + export type V2IamApiKeyUpdatedEvent = Stripe_.V2.Core.Events.V2IamApiKeyUpdatedEvent; + export type V2IamApiKeyUpdatedEventNotification = Stripe_.V2.Core.Events.V2IamApiKeyUpdatedEventNotification; + export type V2IamStripeAccessGrantApprovedEvent = Stripe_.V2.Core.Events.V2IamStripeAccessGrantApprovedEvent; + export type V2IamStripeAccessGrantApprovedEventNotification = Stripe_.V2.Core.Events.V2IamStripeAccessGrantApprovedEventNotification; + export type V2IamStripeAccessGrantCanceledEvent = Stripe_.V2.Core.Events.V2IamStripeAccessGrantCanceledEvent; + export type V2IamStripeAccessGrantCanceledEventNotification = Stripe_.V2.Core.Events.V2IamStripeAccessGrantCanceledEventNotification; + export type V2IamStripeAccessGrantDeniedEvent = Stripe_.V2.Core.Events.V2IamStripeAccessGrantDeniedEvent; + export type V2IamStripeAccessGrantDeniedEventNotification = Stripe_.V2.Core.Events.V2IamStripeAccessGrantDeniedEventNotification; + export type V2IamStripeAccessGrantRemovedEvent = Stripe_.V2.Core.Events.V2IamStripeAccessGrantRemovedEvent; + export type V2IamStripeAccessGrantRemovedEventNotification = Stripe_.V2.Core.Events.V2IamStripeAccessGrantRemovedEventNotification; + export type V2IamStripeAccessGrantRequestedEvent = Stripe_.V2.Core.Events.V2IamStripeAccessGrantRequestedEvent; + export type V2IamStripeAccessGrantRequestedEventNotification = Stripe_.V2.Core.Events.V2IamStripeAccessGrantRequestedEventNotification; + export type V2IamStripeAccessGrantUpdatedEvent = Stripe_.V2.Core.Events.V2IamStripeAccessGrantUpdatedEvent; + export type V2IamStripeAccessGrantUpdatedEventNotification = Stripe_.V2.Core.Events.V2IamStripeAccessGrantUpdatedEventNotification; + export type V2MoneyManagementAdjustmentCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementAdjustmentCreatedEvent; + export type V2MoneyManagementAdjustmentCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementAdjustmentCreatedEventNotification; + export type V2MoneyManagementFinancialAccountCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountCreatedEvent; + export type V2MoneyManagementFinancialAccountCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountCreatedEventNotification; + export type V2MoneyManagementFinancialAccountUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountUpdatedEvent; + export type V2MoneyManagementFinancialAccountUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountUpdatedEventNotification; + export type V2MoneyManagementFinancialAccountStatementCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountStatementCreatedEvent; + export type V2MoneyManagementFinancialAccountStatementCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountStatementCreatedEventNotification; + export type V2MoneyManagementFinancialAccountStatementRestatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountStatementRestatedEvent; + export type V2MoneyManagementFinancialAccountStatementRestatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountStatementRestatedEventNotification; + export type V2MoneyManagementFinancialAddressActivatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAddressActivatedEvent; + export type V2MoneyManagementFinancialAddressActivatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAddressActivatedEventNotification; + export type V2MoneyManagementFinancialAddressFailedEvent = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAddressFailedEvent; + export type V2MoneyManagementFinancialAddressFailedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAddressFailedEventNotification; + export type V2MoneyManagementInboundTransferAvailableEvent = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferAvailableEvent; + export type V2MoneyManagementInboundTransferAvailableEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferAvailableEventNotification; + export type V2MoneyManagementInboundTransferBankDebitFailedEvent = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitFailedEvent; + export type V2MoneyManagementInboundTransferBankDebitFailedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitFailedEventNotification; + export type V2MoneyManagementInboundTransferBankDebitProcessingEvent = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitProcessingEvent; + export type V2MoneyManagementInboundTransferBankDebitProcessingEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitProcessingEventNotification; + export type V2MoneyManagementInboundTransferBankDebitQueuedEvent = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitQueuedEvent; + export type V2MoneyManagementInboundTransferBankDebitQueuedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitQueuedEventNotification; + export type V2MoneyManagementInboundTransferBankDebitReturnedEvent = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitReturnedEvent; + export type V2MoneyManagementInboundTransferBankDebitReturnedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitReturnedEventNotification; + export type V2MoneyManagementInboundTransferBankDebitSucceededEvent = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitSucceededEvent; + export type V2MoneyManagementInboundTransferBankDebitSucceededEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferBankDebitSucceededEventNotification; + export type V2MoneyManagementOutboundPaymentCanceledEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentCanceledEvent; + export type V2MoneyManagementOutboundPaymentCanceledEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentCanceledEventNotification; + export type V2MoneyManagementOutboundPaymentCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentCreatedEvent; + export type V2MoneyManagementOutboundPaymentCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentCreatedEventNotification; + export type V2MoneyManagementOutboundPaymentFailedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentFailedEvent; + export type V2MoneyManagementOutboundPaymentFailedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentFailedEventNotification; + export type V2MoneyManagementOutboundPaymentPostedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentPostedEvent; + export type V2MoneyManagementOutboundPaymentPostedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentPostedEventNotification; + export type V2MoneyManagementOutboundPaymentReturnedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentReturnedEvent; + export type V2MoneyManagementOutboundPaymentReturnedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentReturnedEventNotification; + export type V2MoneyManagementOutboundPaymentUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentUpdatedEvent; + export type V2MoneyManagementOutboundPaymentUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentUpdatedEventNotification; + export type V2MoneyManagementOutboundTransferCanceledEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferCanceledEvent; + export type V2MoneyManagementOutboundTransferCanceledEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferCanceledEventNotification; + export type V2MoneyManagementOutboundTransferCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferCreatedEvent; + export type V2MoneyManagementOutboundTransferCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferCreatedEventNotification; + export type V2MoneyManagementOutboundTransferFailedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferFailedEvent; + export type V2MoneyManagementOutboundTransferFailedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferFailedEventNotification; + export type V2MoneyManagementOutboundTransferPostedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferPostedEvent; + export type V2MoneyManagementOutboundTransferPostedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferPostedEventNotification; + export type V2MoneyManagementOutboundTransferReturnedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferReturnedEvent; + export type V2MoneyManagementOutboundTransferReturnedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferReturnedEventNotification; + export type V2MoneyManagementOutboundTransferUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferUpdatedEvent; + export type V2MoneyManagementOutboundTransferUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferUpdatedEventNotification; + export type V2MoneyManagementPayoutMethodCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementPayoutMethodCreatedEvent; + export type V2MoneyManagementPayoutMethodCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementPayoutMethodCreatedEventNotification; + export type V2MoneyManagementPayoutMethodUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementPayoutMethodUpdatedEvent; + export type V2MoneyManagementPayoutMethodUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementPayoutMethodUpdatedEventNotification; + export type V2MoneyManagementReceivedCreditAvailableEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditAvailableEvent; + export type V2MoneyManagementReceivedCreditAvailableEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditAvailableEventNotification; + export type V2MoneyManagementReceivedCreditFailedEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditFailedEvent; + export type V2MoneyManagementReceivedCreditFailedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditFailedEventNotification; + export type V2MoneyManagementReceivedCreditReturnedEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditReturnedEvent; + export type V2MoneyManagementReceivedCreditReturnedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditReturnedEventNotification; + export type V2MoneyManagementReceivedCreditSucceededEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditSucceededEvent; + export type V2MoneyManagementReceivedCreditSucceededEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditSucceededEventNotification; + export type V2MoneyManagementReceivedDebitCanceledEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitCanceledEvent; + export type V2MoneyManagementReceivedDebitCanceledEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitCanceledEventNotification; + export type V2MoneyManagementReceivedDebitFailedEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitFailedEvent; + export type V2MoneyManagementReceivedDebitFailedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitFailedEventNotification; + export type V2MoneyManagementReceivedDebitPendingEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitPendingEvent; + export type V2MoneyManagementReceivedDebitPendingEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitPendingEventNotification; + export type V2MoneyManagementReceivedDebitSucceededEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitSucceededEvent; + export type V2MoneyManagementReceivedDebitSucceededEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitSucceededEventNotification; + export type V2MoneyManagementReceivedDebitUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitUpdatedEvent; + export type V2MoneyManagementReceivedDebitUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementReceivedDebitUpdatedEventNotification; + export type V2MoneyManagementRecipientVerificationCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementRecipientVerificationCreatedEvent; + export type V2MoneyManagementRecipientVerificationCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementRecipientVerificationCreatedEventNotification; + export type V2MoneyManagementRecipientVerificationUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementRecipientVerificationUpdatedEvent; + export type V2MoneyManagementRecipientVerificationUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementRecipientVerificationUpdatedEventNotification; + export type V2MoneyManagementTransactionCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementTransactionCreatedEvent; + export type V2MoneyManagementTransactionCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementTransactionCreatedEventNotification; + export type V2MoneyManagementTransactionUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementTransactionUpdatedEvent; + export type V2MoneyManagementTransactionUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementTransactionUpdatedEventNotification; + export type V2OrchestratedCommerceAgreementConfirmedEvent = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementConfirmedEvent; + export type V2OrchestratedCommerceAgreementConfirmedEventNotification = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementConfirmedEventNotification; + export type V2OrchestratedCommerceAgreementCreatedEvent = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementCreatedEvent; + export type V2OrchestratedCommerceAgreementCreatedEventNotification = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementCreatedEventNotification; + export type V2OrchestratedCommerceAgreementPartiallyConfirmedEvent = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementPartiallyConfirmedEvent; + export type V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification; + export type V2OrchestratedCommerceAgreementTerminatedEvent = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementTerminatedEvent; + export type V2OrchestratedCommerceAgreementTerminatedEventNotification = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementTerminatedEventNotification; + export type V2PaymentsOffSessionPaymentAttemptFailedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptFailedEvent; + export type V2PaymentsOffSessionPaymentAttemptFailedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptFailedEventNotification; + export type V2PaymentsOffSessionPaymentAttemptStartedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptStartedEvent; + export type V2PaymentsOffSessionPaymentAttemptStartedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptStartedEventNotification; + export type V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent; + export type V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification; + export type V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent; + export type V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEventNotification; + export type V2PaymentsOffSessionPaymentCanceledEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentCanceledEvent; + export type V2PaymentsOffSessionPaymentCanceledEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentCanceledEventNotification; + export type V2PaymentsOffSessionPaymentCreatedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentCreatedEvent; + export type V2PaymentsOffSessionPaymentCreatedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentCreatedEventNotification; + export type V2PaymentsOffSessionPaymentFailedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentFailedEvent; + export type V2PaymentsOffSessionPaymentFailedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentFailedEventNotification; + export type V2PaymentsOffSessionPaymentPausedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentPausedEvent; + export type V2PaymentsOffSessionPaymentPausedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentPausedEventNotification; + export type V2PaymentsOffSessionPaymentRequiresCaptureEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentRequiresCaptureEvent; + export type V2PaymentsOffSessionPaymentRequiresCaptureEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentRequiresCaptureEventNotification; + export type V2PaymentsOffSessionPaymentResumedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentResumedEvent; + export type V2PaymentsOffSessionPaymentResumedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentResumedEventNotification; + export type V2PaymentsOffSessionPaymentSucceededEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentSucceededEvent; + export type V2PaymentsOffSessionPaymentSucceededEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentSucceededEventNotification; + export type V2PaymentsSettlementAllocationIntentCanceledEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentCanceledEvent; + export type V2PaymentsSettlementAllocationIntentCanceledEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentCanceledEventNotification; + export type V2PaymentsSettlementAllocationIntentCreatedEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentCreatedEvent; + export type V2PaymentsSettlementAllocationIntentCreatedEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentCreatedEventNotification; + export type V2PaymentsSettlementAllocationIntentErroredEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentErroredEvent; + export type V2PaymentsSettlementAllocationIntentErroredEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentErroredEventNotification; + export type V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent; + export type V2PaymentsSettlementAllocationIntentFundsNotReceivedEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentFundsNotReceivedEventNotification; + export type V2PaymentsSettlementAllocationIntentMatchedEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentMatchedEvent; + export type V2PaymentsSettlementAllocationIntentMatchedEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentMatchedEventNotification; + export type V2PaymentsSettlementAllocationIntentNotFoundEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentNotFoundEvent; + export type V2PaymentsSettlementAllocationIntentNotFoundEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentNotFoundEventNotification; + export type V2PaymentsSettlementAllocationIntentSettledEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSettledEvent; + export type V2PaymentsSettlementAllocationIntentSettledEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSettledEventNotification; + export type V2PaymentsSettlementAllocationIntentSubmittedEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSubmittedEvent; + export type V2PaymentsSettlementAllocationIntentSubmittedEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSubmittedEventNotification; + export type V2PaymentsSettlementAllocationIntentSplitCanceledEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCanceledEvent; + export type V2PaymentsSettlementAllocationIntentSplitCanceledEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCanceledEventNotification; + export type V2PaymentsSettlementAllocationIntentSplitCreatedEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCreatedEvent; + export type V2PaymentsSettlementAllocationIntentSplitCreatedEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCreatedEventNotification; + export type V2PaymentsSettlementAllocationIntentSplitSettledEvent = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitSettledEvent; + export type V2PaymentsSettlementAllocationIntentSplitSettledEventNotification = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitSettledEventNotification; + export type V2ReportingReportRunCreatedEvent = Stripe_.V2.Core.Events.V2ReportingReportRunCreatedEvent; + export type V2ReportingReportRunCreatedEventNotification = Stripe_.V2.Core.Events.V2ReportingReportRunCreatedEventNotification; + export type V2ReportingReportRunFailedEvent = Stripe_.V2.Core.Events.V2ReportingReportRunFailedEvent; + export type V2ReportingReportRunFailedEventNotification = Stripe_.V2.Core.Events.V2ReportingReportRunFailedEventNotification; + export type V2ReportingReportRunSucceededEvent = Stripe_.V2.Core.Events.V2ReportingReportRunSucceededEvent; + export type V2ReportingReportRunSucceededEventNotification = Stripe_.V2.Core.Events.V2ReportingReportRunSucceededEventNotification; + export type V2ReportingReportRunUpdatedEvent = Stripe_.V2.Core.Events.V2ReportingReportRunUpdatedEvent; + export type V2ReportingReportRunUpdatedEventNotification = Stripe_.V2.Core.Events.V2ReportingReportRunUpdatedEventNotification; + export type V2SignalsAccountSignalFraudulentMerchantReadyEvent = Stripe_.V2.Core.Events.V2SignalsAccountSignalFraudulentMerchantReadyEvent; + export type V2SignalsAccountSignalFraudulentMerchantReadyEventNotification = Stripe_.V2.Core.Events.V2SignalsAccountSignalFraudulentMerchantReadyEventNotification; + export type V2SignalsAccountSignalMerchantDelinquencyReadyEvent = Stripe_.V2.Core.Events.V2SignalsAccountSignalMerchantDelinquencyReadyEvent; + export type V2SignalsAccountSignalMerchantDelinquencyReadyEventNotification = Stripe_.V2.Core.Events.V2SignalsAccountSignalMerchantDelinquencyReadyEventNotification; export namespace V1AccountSignalsIncludingDelinquencyCreatedEvent { - export type Data = Stripe.V2.Core.Events.V1AccountSignalsIncludingDelinquencyCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V1AccountSignalsIncludingDelinquencyCreatedEvent.Data; } export namespace V1BillingMeterErrorReportTriggeredEvent { export type Data = Stripe_.V2.Core.Events.V1BillingMeterErrorReportTriggeredEvent.Data; @@ -9239,37 +26422,37 @@ declare namespace StripeConstructor { export type Data = Stripe_.V2.Core.Events.V1BillingMeterNoMeterFoundEvent.Data; } export namespace V2BillingCadenceBilledEvent { - export type Data = Stripe.V2.Core.Events.V2BillingCadenceBilledEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingCadenceBilledEvent.Data; } export namespace V2BillingCadenceCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingCadenceCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingCadenceCreatedEvent.Data; } export namespace V2BillingLicenseFeeVersionCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingLicenseFeeVersionCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingLicenseFeeVersionCreatedEvent.Data; } export namespace V2BillingPricingPlanComponentCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingPricingPlanComponentCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingPricingPlanComponentCreatedEvent.Data; } export namespace V2BillingPricingPlanComponentUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingPricingPlanComponentUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingPricingPlanComponentUpdatedEvent.Data; } export namespace V2BillingPricingPlanVersionCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingPricingPlanVersionCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingPricingPlanVersionCreatedEvent.Data; } export namespace V2BillingRateCardCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingRateCardCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingRateCardCreatedEvent.Data; } export namespace V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent.Data; } export namespace V2BillingRateCardRateCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingRateCardRateCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingRateCardRateCreatedEvent.Data; } export namespace V2BillingRateCardVersionCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2BillingRateCardVersionCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2BillingRateCardVersionCreatedEvent.Data; } export namespace V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.Data; } export namespace V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent { export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent.Data; @@ -9281,7 +26464,7 @@ declare namespace StripeConstructor { export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.Data; } export namespace V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.Data; } export namespace V2CoreAccountLinkReturnedEvent { export type Data = Stripe_.V2.Core.Events.V2CoreAccountLinkReturnedEvent.Data; @@ -9296,482 +26479,482 @@ declare namespace StripeConstructor { export type Data = Stripe_.V2.Core.Events.V2CoreAccountPersonUpdatedEvent.Data; } export namespace V2CoreAccountSignalsFraudulentWebsiteReadyEvent { - export type Data = Stripe.V2.Core.Events.V2CoreAccountSignalsFraudulentWebsiteReadyEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreAccountSignalsFraudulentWebsiteReadyEvent.Data; } export namespace V2CoreHealthApiErrorFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthApiErrorFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthApiErrorFiringEvent.Data; } export namespace V2CoreHealthApiErrorResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthApiErrorResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthApiErrorResolvedEvent.Data; } export namespace V2CoreHealthApiLatencyFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthApiLatencyFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthApiLatencyFiringEvent.Data; } export namespace V2CoreHealthApiLatencyResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthApiLatencyResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthApiLatencyResolvedEvent.Data; } export namespace V2CoreHealthAuthorizationRateDropFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthAuthorizationRateDropFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthAuthorizationRateDropFiringEvent.Data; } export namespace V2CoreHealthAuthorizationRateDropResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthAuthorizationRateDropResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthAuthorizationRateDropResolvedEvent.Data; } export namespace V2CoreHealthElementsErrorFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthElementsErrorFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthElementsErrorFiringEvent.Data; } export namespace V2CoreHealthElementsErrorResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthElementsErrorResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthElementsErrorResolvedEvent.Data; } export namespace V2CoreHealthEventGenerationFailureResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthEventGenerationFailureResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthEventGenerationFailureResolvedEvent.Data; } export namespace V2CoreHealthFraudRateIncreasedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthFraudRateIncreasedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthFraudRateIncreasedEvent.Data; } export namespace V2CoreHealthInvoiceCountDroppedFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthInvoiceCountDroppedFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthInvoiceCountDroppedFiringEvent.Data; } export namespace V2CoreHealthInvoiceCountDroppedResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthInvoiceCountDroppedResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthInvoiceCountDroppedResolvedEvent.Data; } export namespace V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.Data; } export namespace V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.Data; } export namespace V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Data; } export namespace V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Data; } export namespace V2CoreHealthMeterEventSummariesDelayedFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedFiringEvent.Data; } export namespace V2CoreHealthMeterEventSummariesDelayedResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthMeterEventSummariesDelayedResolvedEvent.Data; } export namespace V2CoreHealthPaymentMethodErrorFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthPaymentMethodErrorFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthPaymentMethodErrorFiringEvent.Data; } export namespace V2CoreHealthPaymentMethodErrorResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthPaymentMethodErrorResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthPaymentMethodErrorResolvedEvent.Data; } export namespace V2CoreHealthSepaDebitDelayedFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthSepaDebitDelayedFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthSepaDebitDelayedFiringEvent.Data; } export namespace V2CoreHealthSepaDebitDelayedResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthSepaDebitDelayedResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthSepaDebitDelayedResolvedEvent.Data; } export namespace V2CoreHealthTrafficVolumeDropFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthTrafficVolumeDropFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthTrafficVolumeDropFiringEvent.Data; } export namespace V2CoreHealthTrafficVolumeDropResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthTrafficVolumeDropResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthTrafficVolumeDropResolvedEvent.Data; } export namespace V2CoreHealthWebhookLatencyFiringEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthWebhookLatencyFiringEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthWebhookLatencyFiringEvent.Data; } export namespace V2CoreHealthWebhookLatencyResolvedEvent { - export type Data = Stripe.V2.Core.Events.V2CoreHealthWebhookLatencyResolvedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2CoreHealthWebhookLatencyResolvedEvent.Data; } export namespace V2ExtendExtensionRunFailedEvent { - export type Data = Stripe.V2.Core.Events.V2ExtendExtensionRunFailedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2ExtendExtensionRunFailedEvent.Data; } export namespace V2ExtendWorkflowRunFailedEvent { - export type Data = Stripe.V2.Core.Events.V2ExtendWorkflowRunFailedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2ExtendWorkflowRunFailedEvent.Data; } export namespace V2IamApiKeyCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2IamApiKeyCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamApiKeyCreatedEvent.Data; } export namespace V2IamApiKeyDefaultSecretRevealedEvent { - export type Data = Stripe.V2.Core.Events.V2IamApiKeyDefaultSecretRevealedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamApiKeyDefaultSecretRevealedEvent.Data; } export namespace V2IamApiKeyExpiredEvent { - export type Data = Stripe.V2.Core.Events.V2IamApiKeyExpiredEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamApiKeyExpiredEvent.Data; } export namespace V2IamApiKeyPermissionsUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2IamApiKeyPermissionsUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamApiKeyPermissionsUpdatedEvent.Data; } export namespace V2IamApiKeyRotatedEvent { - export type Data = Stripe.V2.Core.Events.V2IamApiKeyRotatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamApiKeyRotatedEvent.Data; } export namespace V2IamApiKeyUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2IamApiKeyUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamApiKeyUpdatedEvent.Data; } export namespace V2IamStripeAccessGrantApprovedEvent { - export type Data = Stripe.V2.Core.Events.V2IamStripeAccessGrantApprovedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamStripeAccessGrantApprovedEvent.Data; } export namespace V2IamStripeAccessGrantCanceledEvent { - export type Data = Stripe.V2.Core.Events.V2IamStripeAccessGrantCanceledEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamStripeAccessGrantCanceledEvent.Data; } export namespace V2IamStripeAccessGrantDeniedEvent { - export type Data = Stripe.V2.Core.Events.V2IamStripeAccessGrantDeniedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamStripeAccessGrantDeniedEvent.Data; } export namespace V2IamStripeAccessGrantRemovedEvent { - export type Data = Stripe.V2.Core.Events.V2IamStripeAccessGrantRemovedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamStripeAccessGrantRemovedEvent.Data; } export namespace V2IamStripeAccessGrantRequestedEvent { - export type Data = Stripe.V2.Core.Events.V2IamStripeAccessGrantRequestedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamStripeAccessGrantRequestedEvent.Data; } export namespace V2IamStripeAccessGrantUpdatedEvent { - export type Data = Stripe.V2.Core.Events.V2IamStripeAccessGrantUpdatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2IamStripeAccessGrantUpdatedEvent.Data; } export namespace V2MoneyManagementFinancialAccountStatementCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountStatementCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountStatementCreatedEvent.Data; } export namespace V2MoneyManagementFinancialAccountStatementRestatedEvent { - export type Data = Stripe.V2.Core.Events.V2MoneyManagementFinancialAccountStatementRestatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2MoneyManagementFinancialAccountStatementRestatedEvent.Data; } export namespace V2MoneyManagementInboundTransferAvailableEvent { - export type Data = Stripe.V2.Core.Events.V2MoneyManagementInboundTransferAvailableEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2MoneyManagementInboundTransferAvailableEvent.Data; } export namespace V2MoneyManagementReceivedCreditAvailableEvent { - export type Data = Stripe.V2.Core.Events.V2MoneyManagementReceivedCreditAvailableEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2MoneyManagementReceivedCreditAvailableEvent.Data; } export namespace V2MoneyManagementTransactionCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2MoneyManagementTransactionCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2MoneyManagementTransactionCreatedEvent.Data; } export namespace V2OrchestratedCommerceAgreementConfirmedEvent { - export type Data = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementConfirmedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementConfirmedEvent.Data; } export namespace V2OrchestratedCommerceAgreementCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementCreatedEvent.Data; } export namespace V2OrchestratedCommerceAgreementPartiallyConfirmedEvent { - export type Data = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementPartiallyConfirmedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementPartiallyConfirmedEvent.Data; } export namespace V2OrchestratedCommerceAgreementTerminatedEvent { - export type Data = Stripe.V2.Core.Events.V2OrchestratedCommerceAgreementTerminatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2OrchestratedCommerceAgreementTerminatedEvent.Data; } export namespace V2PaymentsOffSessionPaymentAttemptFailedEvent { - export type Data = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptFailedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentAttemptFailedEvent.Data; } export namespace V2PaymentsOffSessionPaymentFailedEvent { - export type Data = Stripe.V2.Core.Events.V2PaymentsOffSessionPaymentFailedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentFailedEvent.Data; } export namespace V2PaymentsSettlementAllocationIntentErroredEvent { - export type Data = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentErroredEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentErroredEvent.Data; } export namespace V2PaymentsSettlementAllocationIntentNotFoundEvent { - export type Data = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentNotFoundEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentNotFoundEvent.Data; } export namespace V2PaymentsSettlementAllocationIntentSplitCanceledEvent { - export type Data = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCanceledEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCanceledEvent.Data; } export namespace V2PaymentsSettlementAllocationIntentSplitCreatedEvent { - export type Data = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCreatedEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitCreatedEvent.Data; } export namespace V2PaymentsSettlementAllocationIntentSplitSettledEvent { - export type Data = Stripe.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitSettledEvent.Data; + export type Data = Stripe_.V2.Core.Events.V2PaymentsSettlementAllocationIntentSplitSettledEvent.Data; } export namespace V2SignalsAccountSignalFraudulentMerchantReadyEvent { - export type Data = Stripe.V2.Core.Events.V2SignalsAccountSignalFraudulentMerchantReadyEvent.Data; - } - } - export type AccountApplicationAuthorizedEvent = Stripe.AccountApplicationAuthorizedEvent; - export type AccountApplicationDeauthorizedEvent = Stripe.AccountApplicationDeauthorizedEvent; - export type AccountExternalAccountCreatedEvent = Stripe.AccountExternalAccountCreatedEvent; - export type AccountExternalAccountDeletedEvent = Stripe.AccountExternalAccountDeletedEvent; - export type AccountExternalAccountUpdatedEvent = Stripe.AccountExternalAccountUpdatedEvent; - export type AccountUpdatedEvent = Stripe.AccountUpdatedEvent; - export type AccountNoticeCreatedEvent = Stripe.AccountNoticeCreatedEvent; - export type AccountNoticeUpdatedEvent = Stripe.AccountNoticeUpdatedEvent; - export type ApplicationFeeCreatedEvent = Stripe.ApplicationFeeCreatedEvent; - export type ApplicationFeeRefundUpdatedEvent = Stripe.ApplicationFeeRefundUpdatedEvent; - export type ApplicationFeeRefundedEvent = Stripe.ApplicationFeeRefundedEvent; - export type BalanceAvailableEvent = Stripe.BalanceAvailableEvent; - export type BalanceSettingsUpdatedEvent = Stripe.BalanceSettingsUpdatedEvent; - export type BillingAlertRecoveredEvent = Stripe.BillingAlertRecoveredEvent; - export type BillingAlertTriggeredEvent = Stripe.BillingAlertTriggeredEvent; - export type BillingCreditBalanceTransactionCreatedEvent = Stripe.BillingCreditBalanceTransactionCreatedEvent; - export type BillingCreditGrantCreatedEvent = Stripe.BillingCreditGrantCreatedEvent; - export type BillingCreditGrantUpdatedEvent = Stripe.BillingCreditGrantUpdatedEvent; - export type BillingMeterCreatedEvent = Stripe.BillingMeterCreatedEvent; - export type BillingMeterDeactivatedEvent = Stripe.BillingMeterDeactivatedEvent; - export type BillingMeterReactivatedEvent = Stripe.BillingMeterReactivatedEvent; - export type BillingMeterUpdatedEvent = Stripe.BillingMeterUpdatedEvent; - export type BillingPortalConfigurationCreatedEvent = Stripe.BillingPortalConfigurationCreatedEvent; - export type BillingPortalConfigurationUpdatedEvent = Stripe.BillingPortalConfigurationUpdatedEvent; - export type BillingPortalSessionCreatedEvent = Stripe.BillingPortalSessionCreatedEvent; - export type CapabilityUpdatedEvent = Stripe.CapabilityUpdatedEvent; - export type CapitalFinancingOfferAcceptedEvent = Stripe.CapitalFinancingOfferAcceptedEvent; - export type CapitalFinancingOfferCanceledEvent = Stripe.CapitalFinancingOfferCanceledEvent; - export type CapitalFinancingOfferCreatedEvent = Stripe.CapitalFinancingOfferCreatedEvent; - export type CapitalFinancingOfferExpiredEvent = Stripe.CapitalFinancingOfferExpiredEvent; - export type CapitalFinancingOfferFullyRepaidEvent = Stripe.CapitalFinancingOfferFullyRepaidEvent; - export type CapitalFinancingOfferPaidOutEvent = Stripe.CapitalFinancingOfferPaidOutEvent; - export type CapitalFinancingOfferRejectedEvent = Stripe.CapitalFinancingOfferRejectedEvent; - export type CapitalFinancingOfferReplacementCreatedEvent = Stripe.CapitalFinancingOfferReplacementCreatedEvent; - export type CapitalFinancingTransactionCreatedEvent = Stripe.CapitalFinancingTransactionCreatedEvent; - export type CashBalanceFundsAvailableEvent = Stripe.CashBalanceFundsAvailableEvent; - export type ChargeCapturedEvent = Stripe.ChargeCapturedEvent; - export type ChargeDisputeClosedEvent = Stripe.ChargeDisputeClosedEvent; - export type ChargeDisputeCreatedEvent = Stripe.ChargeDisputeCreatedEvent; - export type ChargeDisputeFundsReinstatedEvent = Stripe.ChargeDisputeFundsReinstatedEvent; - export type ChargeDisputeFundsWithdrawnEvent = Stripe.ChargeDisputeFundsWithdrawnEvent; - export type ChargeDisputeUpdatedEvent = Stripe.ChargeDisputeUpdatedEvent; - export type ChargeExpiredEvent = Stripe.ChargeExpiredEvent; - export type ChargeFailedEvent = Stripe.ChargeFailedEvent; - export type ChargePendingEvent = Stripe.ChargePendingEvent; - export type ChargeRefundUpdatedEvent = Stripe.ChargeRefundUpdatedEvent; - export type ChargeRefundedEvent = Stripe.ChargeRefundedEvent; - export type ChargeSucceededEvent = Stripe.ChargeSucceededEvent; - export type ChargeUpdatedEvent = Stripe.ChargeUpdatedEvent; - export type CheckoutSessionAsyncPaymentFailedEvent = Stripe.CheckoutSessionAsyncPaymentFailedEvent; - export type CheckoutSessionAsyncPaymentSucceededEvent = Stripe.CheckoutSessionAsyncPaymentSucceededEvent; - export type CheckoutSessionCompletedEvent = Stripe.CheckoutSessionCompletedEvent; - export type CheckoutSessionExpiredEvent = Stripe.CheckoutSessionExpiredEvent; - export type ClimateOrderCanceledEvent = Stripe.ClimateOrderCanceledEvent; - export type ClimateOrderCreatedEvent = Stripe.ClimateOrderCreatedEvent; - export type ClimateOrderDelayedEvent = Stripe.ClimateOrderDelayedEvent; - export type ClimateOrderDeliveredEvent = Stripe.ClimateOrderDeliveredEvent; - export type ClimateOrderProductSubstitutedEvent = Stripe.ClimateOrderProductSubstitutedEvent; - export type ClimateProductCreatedEvent = Stripe.ClimateProductCreatedEvent; - export type ClimateProductPricingUpdatedEvent = Stripe.ClimateProductPricingUpdatedEvent; - export type CouponCreatedEvent = Stripe.CouponCreatedEvent; - export type CouponDeletedEvent = Stripe.CouponDeletedEvent; - export type CouponUpdatedEvent = Stripe.CouponUpdatedEvent; - export type CreditNoteCreatedEvent = Stripe.CreditNoteCreatedEvent; - export type CreditNoteUpdatedEvent = Stripe.CreditNoteUpdatedEvent; - export type CreditNoteVoidedEvent = Stripe.CreditNoteVoidedEvent; - export type CustomerCreatedEvent = Stripe.CustomerCreatedEvent; - export type CustomerDeletedEvent = Stripe.CustomerDeletedEvent; - export type CustomerDiscountCreatedEvent = Stripe.CustomerDiscountCreatedEvent; - export type CustomerDiscountDeletedEvent = Stripe.CustomerDiscountDeletedEvent; - export type CustomerDiscountUpdatedEvent = Stripe.CustomerDiscountUpdatedEvent; - export type CustomerSourceCreatedEvent = Stripe.CustomerSourceCreatedEvent; - export type CustomerSourceDeletedEvent = Stripe.CustomerSourceDeletedEvent; - export type CustomerSourceExpiringEvent = Stripe.CustomerSourceExpiringEvent; - export type CustomerSourceUpdatedEvent = Stripe.CustomerSourceUpdatedEvent; - export type CustomerSubscriptionCollectionPausedEvent = Stripe.CustomerSubscriptionCollectionPausedEvent; - export type CustomerSubscriptionCollectionResumedEvent = Stripe.CustomerSubscriptionCollectionResumedEvent; - export type CustomerSubscriptionCreatedEvent = Stripe.CustomerSubscriptionCreatedEvent; - export type CustomerSubscriptionCustomEventEvent = Stripe.CustomerSubscriptionCustomEventEvent; - export type CustomerSubscriptionDeletedEvent = Stripe.CustomerSubscriptionDeletedEvent; - export type CustomerSubscriptionPausedEvent = Stripe.CustomerSubscriptionPausedEvent; - export type CustomerSubscriptionPendingUpdateAppliedEvent = Stripe.CustomerSubscriptionPendingUpdateAppliedEvent; - export type CustomerSubscriptionPendingUpdateExpiredEvent = Stripe.CustomerSubscriptionPendingUpdateExpiredEvent; - export type CustomerSubscriptionPriceMigrationFailedEvent = Stripe.CustomerSubscriptionPriceMigrationFailedEvent; - export type CustomerSubscriptionResumedEvent = Stripe.CustomerSubscriptionResumedEvent; - export type CustomerSubscriptionTrialWillEndEvent = Stripe.CustomerSubscriptionTrialWillEndEvent; - export type CustomerSubscriptionUpdatedEvent = Stripe.CustomerSubscriptionUpdatedEvent; - export type CustomerTaxIdCreatedEvent = Stripe.CustomerTaxIdCreatedEvent; - export type CustomerTaxIdDeletedEvent = Stripe.CustomerTaxIdDeletedEvent; - export type CustomerTaxIdUpdatedEvent = Stripe.CustomerTaxIdUpdatedEvent; - export type CustomerUpdatedEvent = Stripe.CustomerUpdatedEvent; - export type CustomerCashBalanceTransactionCreatedEvent = Stripe.CustomerCashBalanceTransactionCreatedEvent; - export type EntitlementsActiveEntitlementSummaryUpdatedEvent = Stripe.EntitlementsActiveEntitlementSummaryUpdatedEvent; - export type FileCreatedEvent = Stripe.FileCreatedEvent; - export type FinancialConnectionsAccountAccountNumbersUpdatedEvent = Stripe.FinancialConnectionsAccountAccountNumbersUpdatedEvent; - export type FinancialConnectionsAccountCreatedEvent = Stripe.FinancialConnectionsAccountCreatedEvent; - export type FinancialConnectionsAccountDeactivatedEvent = Stripe.FinancialConnectionsAccountDeactivatedEvent; - export type FinancialConnectionsAccountDisconnectedEvent = Stripe.FinancialConnectionsAccountDisconnectedEvent; - export type FinancialConnectionsAccountReactivatedEvent = Stripe.FinancialConnectionsAccountReactivatedEvent; - export type FinancialConnectionsAccountRefreshedBalanceEvent = Stripe.FinancialConnectionsAccountRefreshedBalanceEvent; - export type FinancialConnectionsAccountRefreshedInferredBalancesEvent = Stripe.FinancialConnectionsAccountRefreshedInferredBalancesEvent; - export type FinancialConnectionsAccountRefreshedOwnershipEvent = Stripe.FinancialConnectionsAccountRefreshedOwnershipEvent; - export type FinancialConnectionsAccountRefreshedTransactionsEvent = Stripe.FinancialConnectionsAccountRefreshedTransactionsEvent; - export type FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent = Stripe.FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent; - export type FinancialConnectionsSessionUpdatedEvent = Stripe.FinancialConnectionsSessionUpdatedEvent; - export type FxQuoteExpiredEvent = Stripe.FxQuoteExpiredEvent; - export type IdentityVerificationSessionCanceledEvent = Stripe.IdentityVerificationSessionCanceledEvent; - export type IdentityVerificationSessionCreatedEvent = Stripe.IdentityVerificationSessionCreatedEvent; - export type IdentityVerificationSessionProcessingEvent = Stripe.IdentityVerificationSessionProcessingEvent; - export type IdentityVerificationSessionRedactedEvent = Stripe.IdentityVerificationSessionRedactedEvent; - export type IdentityVerificationSessionRequiresInputEvent = Stripe.IdentityVerificationSessionRequiresInputEvent; - export type IdentityVerificationSessionVerifiedEvent = Stripe.IdentityVerificationSessionVerifiedEvent; - export type InvoiceCreatedEvent = Stripe.InvoiceCreatedEvent; - export type InvoiceDeletedEvent = Stripe.InvoiceDeletedEvent; - export type InvoiceFinalizationFailedEvent = Stripe.InvoiceFinalizationFailedEvent; - export type InvoiceFinalizedEvent = Stripe.InvoiceFinalizedEvent; - export type InvoiceMarkedUncollectibleEvent = Stripe.InvoiceMarkedUncollectibleEvent; - export type InvoiceOverdueEvent = Stripe.InvoiceOverdueEvent; - export type InvoiceOverpaidEvent = Stripe.InvoiceOverpaidEvent; - export type InvoicePaidEvent = Stripe.InvoicePaidEvent; - export type InvoicePaymentOverpaidEvent = Stripe.InvoicePaymentOverpaidEvent; - export type InvoicePaymentActionRequiredEvent = Stripe.InvoicePaymentActionRequiredEvent; - export type InvoicePaymentAttemptRequiredEvent = Stripe.InvoicePaymentAttemptRequiredEvent; - export type InvoicePaymentFailedEvent = Stripe.InvoicePaymentFailedEvent; - export type InvoicePaymentSucceededEvent = Stripe.InvoicePaymentSucceededEvent; - export type InvoiceSentEvent = Stripe.InvoiceSentEvent; - export type InvoiceUpcomingEvent = Stripe.InvoiceUpcomingEvent; - export type InvoiceUpdatedEvent = Stripe.InvoiceUpdatedEvent; - export type InvoiceVoidedEvent = Stripe.InvoiceVoidedEvent; - export type InvoiceWillBeDueEvent = Stripe.InvoiceWillBeDueEvent; - export type InvoicePaymentDetachedEvent = Stripe.InvoicePaymentDetachedEvent; - export type InvoicePaymentPaidEvent = Stripe.InvoicePaymentPaidEvent; - export type InvoiceItemCreatedEvent = Stripe.InvoiceItemCreatedEvent; - export type InvoiceItemDeletedEvent = Stripe.InvoiceItemDeletedEvent; - export type IssuingAuthorizationCreatedEvent = Stripe.IssuingAuthorizationCreatedEvent; - export type IssuingAuthorizationRequestEvent = Stripe.IssuingAuthorizationRequestEvent; - export type IssuingAuthorizationUpdatedEvent = Stripe.IssuingAuthorizationUpdatedEvent; - export type IssuingCardCreatedEvent = Stripe.IssuingCardCreatedEvent; - export type IssuingCardUpdatedEvent = Stripe.IssuingCardUpdatedEvent; - export type IssuingCardholderCreatedEvent = Stripe.IssuingCardholderCreatedEvent; - export type IssuingCardholderUpdatedEvent = Stripe.IssuingCardholderUpdatedEvent; - export type IssuingDisputeClosedEvent = Stripe.IssuingDisputeClosedEvent; - export type IssuingDisputeCreatedEvent = Stripe.IssuingDisputeCreatedEvent; - export type IssuingDisputeFundsReinstatedEvent = Stripe.IssuingDisputeFundsReinstatedEvent; - export type IssuingDisputeFundsRescindedEvent = Stripe.IssuingDisputeFundsRescindedEvent; - export type IssuingDisputeSubmittedEvent = Stripe.IssuingDisputeSubmittedEvent; - export type IssuingDisputeUpdatedEvent = Stripe.IssuingDisputeUpdatedEvent; - export type IssuingDisputeSettlementDetailCreatedEvent = Stripe.IssuingDisputeSettlementDetailCreatedEvent; - export type IssuingDisputeSettlementDetailUpdatedEvent = Stripe.IssuingDisputeSettlementDetailUpdatedEvent; - export type IssuingFraudLiabilityDebitCreatedEvent = Stripe.IssuingFraudLiabilityDebitCreatedEvent; - export type IssuingPersonalizationDesignActivatedEvent = Stripe.IssuingPersonalizationDesignActivatedEvent; - export type IssuingPersonalizationDesignDeactivatedEvent = Stripe.IssuingPersonalizationDesignDeactivatedEvent; - export type IssuingPersonalizationDesignRejectedEvent = Stripe.IssuingPersonalizationDesignRejectedEvent; - export type IssuingPersonalizationDesignUpdatedEvent = Stripe.IssuingPersonalizationDesignUpdatedEvent; - export type IssuingSettlementCreatedEvent = Stripe.IssuingSettlementCreatedEvent; - export type IssuingSettlementUpdatedEvent = Stripe.IssuingSettlementUpdatedEvent; - export type IssuingTokenCreatedEvent = Stripe.IssuingTokenCreatedEvent; - export type IssuingTokenUpdatedEvent = Stripe.IssuingTokenUpdatedEvent; - export type IssuingTransactionCreatedEvent = Stripe.IssuingTransactionCreatedEvent; - export type IssuingTransactionPurchaseDetailsReceiptUpdatedEvent = Stripe.IssuingTransactionPurchaseDetailsReceiptUpdatedEvent; - export type IssuingTransactionUpdatedEvent = Stripe.IssuingTransactionUpdatedEvent; - export type MandateUpdatedEvent = Stripe.MandateUpdatedEvent; - export type PaymentIntentAmountCapturableUpdatedEvent = Stripe.PaymentIntentAmountCapturableUpdatedEvent; - export type PaymentIntentCanceledEvent = Stripe.PaymentIntentCanceledEvent; - export type PaymentIntentCreatedEvent = Stripe.PaymentIntentCreatedEvent; - export type PaymentIntentExpiredEvent = Stripe.PaymentIntentExpiredEvent; - export type PaymentIntentPartiallyFundedEvent = Stripe.PaymentIntentPartiallyFundedEvent; - export type PaymentIntentPaymentFailedEvent = Stripe.PaymentIntentPaymentFailedEvent; - export type PaymentIntentProcessingEvent = Stripe.PaymentIntentProcessingEvent; - export type PaymentIntentRequiresActionEvent = Stripe.PaymentIntentRequiresActionEvent; - export type PaymentIntentSucceededEvent = Stripe.PaymentIntentSucceededEvent; - export type PaymentLinkCreatedEvent = Stripe.PaymentLinkCreatedEvent; - export type PaymentLinkUpdatedEvent = Stripe.PaymentLinkUpdatedEvent; - export type PaymentMethodAttachedEvent = Stripe.PaymentMethodAttachedEvent; - export type PaymentMethodAutomaticallyUpdatedEvent = Stripe.PaymentMethodAutomaticallyUpdatedEvent; - export type PaymentMethodDetachedEvent = Stripe.PaymentMethodDetachedEvent; - export type PaymentMethodUpdatedEvent = Stripe.PaymentMethodUpdatedEvent; - export type PayoutCanceledEvent = Stripe.PayoutCanceledEvent; - export type PayoutCreatedEvent = Stripe.PayoutCreatedEvent; - export type PayoutFailedEvent = Stripe.PayoutFailedEvent; - export type PayoutPaidEvent = Stripe.PayoutPaidEvent; - export type PayoutReconciliationCompletedEvent = Stripe.PayoutReconciliationCompletedEvent; - export type PayoutUpdatedEvent = Stripe.PayoutUpdatedEvent; - export type PersonCreatedEvent = Stripe.PersonCreatedEvent; - export type PersonDeletedEvent = Stripe.PersonDeletedEvent; - export type PersonUpdatedEvent = Stripe.PersonUpdatedEvent; - export type PlanCreatedEvent = Stripe.PlanCreatedEvent; - export type PlanDeletedEvent = Stripe.PlanDeletedEvent; - export type PlanUpdatedEvent = Stripe.PlanUpdatedEvent; - export type PriceCreatedEvent = Stripe.PriceCreatedEvent; - export type PriceDeletedEvent = Stripe.PriceDeletedEvent; - export type PriceUpdatedEvent = Stripe.PriceUpdatedEvent; - export type PrivacyRedactionJobCanceledEvent = Stripe.PrivacyRedactionJobCanceledEvent; - export type PrivacyRedactionJobCreatedEvent = Stripe.PrivacyRedactionJobCreatedEvent; - export type PrivacyRedactionJobReadyEvent = Stripe.PrivacyRedactionJobReadyEvent; - export type PrivacyRedactionJobSucceededEvent = Stripe.PrivacyRedactionJobSucceededEvent; - export type PrivacyRedactionJobValidationErrorEvent = Stripe.PrivacyRedactionJobValidationErrorEvent; - export type ProductCreatedEvent = Stripe.ProductCreatedEvent; - export type ProductDeletedEvent = Stripe.ProductDeletedEvent; - export type ProductUpdatedEvent = Stripe.ProductUpdatedEvent; - export type PromotionCodeCreatedEvent = Stripe.PromotionCodeCreatedEvent; - export type PromotionCodeUpdatedEvent = Stripe.PromotionCodeUpdatedEvent; - export type QuoteAcceptFailedEvent = Stripe.QuoteAcceptFailedEvent; - export type QuoteAcceptedEvent = Stripe.QuoteAcceptedEvent; - export type QuoteAcceptingEvent = Stripe.QuoteAcceptingEvent; - export type QuoteCanceledEvent = Stripe.QuoteCanceledEvent; - export type QuoteCreatedEvent = Stripe.QuoteCreatedEvent; - export type QuoteDraftEvent = Stripe.QuoteDraftEvent; - export type QuoteFinalizedEvent = Stripe.QuoteFinalizedEvent; - export type QuoteReestimateFailedEvent = Stripe.QuoteReestimateFailedEvent; - export type QuoteReestimatedEvent = Stripe.QuoteReestimatedEvent; - export type QuoteStaleEvent = Stripe.QuoteStaleEvent; - export type RadarEarlyFraudWarningCreatedEvent = Stripe.RadarEarlyFraudWarningCreatedEvent; - export type RadarEarlyFraudWarningUpdatedEvent = Stripe.RadarEarlyFraudWarningUpdatedEvent; - export type RefundCreatedEvent = Stripe.RefundCreatedEvent; - export type RefundFailedEvent = Stripe.RefundFailedEvent; - export type RefundUpdatedEvent = Stripe.RefundUpdatedEvent; - export type ReportingReportRunFailedEvent = Stripe.ReportingReportRunFailedEvent; - export type ReportingReportRunSucceededEvent = Stripe.ReportingReportRunSucceededEvent; - export type ReportingReportTypeUpdatedEvent = Stripe.ReportingReportTypeUpdatedEvent; - export type ReserveHoldCreatedEvent = Stripe.ReserveHoldCreatedEvent; - export type ReserveHoldUpdatedEvent = Stripe.ReserveHoldUpdatedEvent; - export type ReservePlanCreatedEvent = Stripe.ReservePlanCreatedEvent; - export type ReservePlanDisabledEvent = Stripe.ReservePlanDisabledEvent; - export type ReservePlanExpiredEvent = Stripe.ReservePlanExpiredEvent; - export type ReservePlanUpdatedEvent = Stripe.ReservePlanUpdatedEvent; - export type ReserveReleaseCreatedEvent = Stripe.ReserveReleaseCreatedEvent; - export type ReviewClosedEvent = Stripe.ReviewClosedEvent; - export type ReviewOpenedEvent = Stripe.ReviewOpenedEvent; - export type SetupIntentCanceledEvent = Stripe.SetupIntentCanceledEvent; - export type SetupIntentCreatedEvent = Stripe.SetupIntentCreatedEvent; - export type SetupIntentRequiresActionEvent = Stripe.SetupIntentRequiresActionEvent; - export type SetupIntentSetupFailedEvent = Stripe.SetupIntentSetupFailedEvent; - export type SetupIntentSucceededEvent = Stripe.SetupIntentSucceededEvent; - export type SigmaScheduledQueryRunCreatedEvent = Stripe.SigmaScheduledQueryRunCreatedEvent; - export type SourceCanceledEvent = Stripe.SourceCanceledEvent; - export type SourceChargeableEvent = Stripe.SourceChargeableEvent; - export type SourceFailedEvent = Stripe.SourceFailedEvent; - export type SourceMandateNotificationEvent = Stripe.SourceMandateNotificationEvent; - export type SourceRefundAttributesRequiredEvent = Stripe.SourceRefundAttributesRequiredEvent; - export type SourceTransactionCreatedEvent = Stripe.SourceTransactionCreatedEvent; - export type SourceTransactionUpdatedEvent = Stripe.SourceTransactionUpdatedEvent; - export type SubscriptionScheduleAbortedEvent = Stripe.SubscriptionScheduleAbortedEvent; - export type SubscriptionScheduleCanceledEvent = Stripe.SubscriptionScheduleCanceledEvent; - export type SubscriptionScheduleCompletedEvent = Stripe.SubscriptionScheduleCompletedEvent; - export type SubscriptionScheduleCreatedEvent = Stripe.SubscriptionScheduleCreatedEvent; - export type SubscriptionScheduleExpiringEvent = Stripe.SubscriptionScheduleExpiringEvent; - export type SubscriptionSchedulePriceMigrationFailedEvent = Stripe.SubscriptionSchedulePriceMigrationFailedEvent; - export type SubscriptionScheduleReleasedEvent = Stripe.SubscriptionScheduleReleasedEvent; - export type SubscriptionScheduleUpdatedEvent = Stripe.SubscriptionScheduleUpdatedEvent; - export type TaxFormUpdatedEvent = Stripe.TaxFormUpdatedEvent; - export type TaxSettingsUpdatedEvent = Stripe.TaxSettingsUpdatedEvent; - export type TaxRateCreatedEvent = Stripe.TaxRateCreatedEvent; - export type TaxRateUpdatedEvent = Stripe.TaxRateUpdatedEvent; - export type TerminalReaderActionFailedEvent = Stripe.TerminalReaderActionFailedEvent; - export type TerminalReaderActionSucceededEvent = Stripe.TerminalReaderActionSucceededEvent; - export type TerminalReaderActionUpdatedEvent = Stripe.TerminalReaderActionUpdatedEvent; - export type TestHelpersTestClockAdvancingEvent = Stripe.TestHelpersTestClockAdvancingEvent; - export type TestHelpersTestClockCreatedEvent = Stripe.TestHelpersTestClockCreatedEvent; - export type TestHelpersTestClockDeletedEvent = Stripe.TestHelpersTestClockDeletedEvent; - export type TestHelpersTestClockInternalFailureEvent = Stripe.TestHelpersTestClockInternalFailureEvent; - export type TestHelpersTestClockReadyEvent = Stripe.TestHelpersTestClockReadyEvent; - export type TopupCanceledEvent = Stripe.TopupCanceledEvent; - export type TopupCreatedEvent = Stripe.TopupCreatedEvent; - export type TopupFailedEvent = Stripe.TopupFailedEvent; - export type TopupReversedEvent = Stripe.TopupReversedEvent; - export type TopupSucceededEvent = Stripe.TopupSucceededEvent; - export type TransferCreatedEvent = Stripe.TransferCreatedEvent; - export type TransferReversedEvent = Stripe.TransferReversedEvent; - export type TransferUpdatedEvent = Stripe.TransferUpdatedEvent; - export type TreasuryCreditReversalCreatedEvent = Stripe.TreasuryCreditReversalCreatedEvent; - export type TreasuryCreditReversalPostedEvent = Stripe.TreasuryCreditReversalPostedEvent; - export type TreasuryDebitReversalCompletedEvent = Stripe.TreasuryDebitReversalCompletedEvent; - export type TreasuryDebitReversalCreatedEvent = Stripe.TreasuryDebitReversalCreatedEvent; - export type TreasuryDebitReversalInitialCreditGrantedEvent = Stripe.TreasuryDebitReversalInitialCreditGrantedEvent; - export type TreasuryFinancialAccountClosedEvent = Stripe.TreasuryFinancialAccountClosedEvent; - export type TreasuryFinancialAccountCreatedEvent = Stripe.TreasuryFinancialAccountCreatedEvent; - export type TreasuryFinancialAccountFeaturesStatusUpdatedEvent = Stripe.TreasuryFinancialAccountFeaturesStatusUpdatedEvent; - export type TreasuryInboundTransferCanceledEvent = Stripe.TreasuryInboundTransferCanceledEvent; - export type TreasuryInboundTransferCreatedEvent = Stripe.TreasuryInboundTransferCreatedEvent; - export type TreasuryInboundTransferFailedEvent = Stripe.TreasuryInboundTransferFailedEvent; - export type TreasuryInboundTransferSucceededEvent = Stripe.TreasuryInboundTransferSucceededEvent; - export type TreasuryOutboundPaymentCanceledEvent = Stripe.TreasuryOutboundPaymentCanceledEvent; - export type TreasuryOutboundPaymentCreatedEvent = Stripe.TreasuryOutboundPaymentCreatedEvent; - export type TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent = Stripe.TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent; - export type TreasuryOutboundPaymentFailedEvent = Stripe.TreasuryOutboundPaymentFailedEvent; - export type TreasuryOutboundPaymentPostedEvent = Stripe.TreasuryOutboundPaymentPostedEvent; - export type TreasuryOutboundPaymentReturnedEvent = Stripe.TreasuryOutboundPaymentReturnedEvent; - export type TreasuryOutboundPaymentTrackingDetailsUpdatedEvent = Stripe.TreasuryOutboundPaymentTrackingDetailsUpdatedEvent; - export type TreasuryOutboundTransferCanceledEvent = Stripe.TreasuryOutboundTransferCanceledEvent; - export type TreasuryOutboundTransferCreatedEvent = Stripe.TreasuryOutboundTransferCreatedEvent; - export type TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent = Stripe.TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent; - export type TreasuryOutboundTransferFailedEvent = Stripe.TreasuryOutboundTransferFailedEvent; - export type TreasuryOutboundTransferPostedEvent = Stripe.TreasuryOutboundTransferPostedEvent; - export type TreasuryOutboundTransferReturnedEvent = Stripe.TreasuryOutboundTransferReturnedEvent; - export type TreasuryOutboundTransferTrackingDetailsUpdatedEvent = Stripe.TreasuryOutboundTransferTrackingDetailsUpdatedEvent; - export type TreasuryReceivedCreditCreatedEvent = Stripe.TreasuryReceivedCreditCreatedEvent; - export type TreasuryReceivedCreditFailedEvent = Stripe.TreasuryReceivedCreditFailedEvent; - export type TreasuryReceivedCreditSucceededEvent = Stripe.TreasuryReceivedCreditSucceededEvent; - export type TreasuryReceivedDebitCreatedEvent = Stripe.TreasuryReceivedDebitCreatedEvent; - export type V2List = Stripe.V2List; - export type V2ListPromise = Stripe.V2ListPromise; + export type Data = Stripe_.V2.Core.Events.V2SignalsAccountSignalFraudulentMerchantReadyEvent.Data; + } + } + export type AccountApplicationAuthorizedEvent = Stripe_.AccountApplicationAuthorizedEvent; + export type AccountApplicationDeauthorizedEvent = Stripe_.AccountApplicationDeauthorizedEvent; + export type AccountExternalAccountCreatedEvent = Stripe_.AccountExternalAccountCreatedEvent; + export type AccountExternalAccountDeletedEvent = Stripe_.AccountExternalAccountDeletedEvent; + export type AccountExternalAccountUpdatedEvent = Stripe_.AccountExternalAccountUpdatedEvent; + export type AccountUpdatedEvent = Stripe_.AccountUpdatedEvent; + export type AccountNoticeCreatedEvent = Stripe_.AccountNoticeCreatedEvent; + export type AccountNoticeUpdatedEvent = Stripe_.AccountNoticeUpdatedEvent; + export type ApplicationFeeCreatedEvent = Stripe_.ApplicationFeeCreatedEvent; + export type ApplicationFeeRefundUpdatedEvent = Stripe_.ApplicationFeeRefundUpdatedEvent; + export type ApplicationFeeRefundedEvent = Stripe_.ApplicationFeeRefundedEvent; + export type BalanceAvailableEvent = Stripe_.BalanceAvailableEvent; + export type BalanceSettingsUpdatedEvent = Stripe_.BalanceSettingsUpdatedEvent; + export type BillingAlertRecoveredEvent = Stripe_.BillingAlertRecoveredEvent; + export type BillingAlertTriggeredEvent = Stripe_.BillingAlertTriggeredEvent; + export type BillingCreditBalanceTransactionCreatedEvent = Stripe_.BillingCreditBalanceTransactionCreatedEvent; + export type BillingCreditGrantCreatedEvent = Stripe_.BillingCreditGrantCreatedEvent; + export type BillingCreditGrantUpdatedEvent = Stripe_.BillingCreditGrantUpdatedEvent; + export type BillingMeterCreatedEvent = Stripe_.BillingMeterCreatedEvent; + export type BillingMeterDeactivatedEvent = Stripe_.BillingMeterDeactivatedEvent; + export type BillingMeterReactivatedEvent = Stripe_.BillingMeterReactivatedEvent; + export type BillingMeterUpdatedEvent = Stripe_.BillingMeterUpdatedEvent; + export type BillingPortalConfigurationCreatedEvent = Stripe_.BillingPortalConfigurationCreatedEvent; + export type BillingPortalConfigurationUpdatedEvent = Stripe_.BillingPortalConfigurationUpdatedEvent; + export type BillingPortalSessionCreatedEvent = Stripe_.BillingPortalSessionCreatedEvent; + export type CapabilityUpdatedEvent = Stripe_.CapabilityUpdatedEvent; + export type CapitalFinancingOfferAcceptedEvent = Stripe_.CapitalFinancingOfferAcceptedEvent; + export type CapitalFinancingOfferCanceledEvent = Stripe_.CapitalFinancingOfferCanceledEvent; + export type CapitalFinancingOfferCreatedEvent = Stripe_.CapitalFinancingOfferCreatedEvent; + export type CapitalFinancingOfferExpiredEvent = Stripe_.CapitalFinancingOfferExpiredEvent; + export type CapitalFinancingOfferFullyRepaidEvent = Stripe_.CapitalFinancingOfferFullyRepaidEvent; + export type CapitalFinancingOfferPaidOutEvent = Stripe_.CapitalFinancingOfferPaidOutEvent; + export type CapitalFinancingOfferRejectedEvent = Stripe_.CapitalFinancingOfferRejectedEvent; + export type CapitalFinancingOfferReplacementCreatedEvent = Stripe_.CapitalFinancingOfferReplacementCreatedEvent; + export type CapitalFinancingTransactionCreatedEvent = Stripe_.CapitalFinancingTransactionCreatedEvent; + export type CashBalanceFundsAvailableEvent = Stripe_.CashBalanceFundsAvailableEvent; + export type ChargeCapturedEvent = Stripe_.ChargeCapturedEvent; + export type ChargeDisputeClosedEvent = Stripe_.ChargeDisputeClosedEvent; + export type ChargeDisputeCreatedEvent = Stripe_.ChargeDisputeCreatedEvent; + export type ChargeDisputeFundsReinstatedEvent = Stripe_.ChargeDisputeFundsReinstatedEvent; + export type ChargeDisputeFundsWithdrawnEvent = Stripe_.ChargeDisputeFundsWithdrawnEvent; + export type ChargeDisputeUpdatedEvent = Stripe_.ChargeDisputeUpdatedEvent; + export type ChargeExpiredEvent = Stripe_.ChargeExpiredEvent; + export type ChargeFailedEvent = Stripe_.ChargeFailedEvent; + export type ChargePendingEvent = Stripe_.ChargePendingEvent; + export type ChargeRefundUpdatedEvent = Stripe_.ChargeRefundUpdatedEvent; + export type ChargeRefundedEvent = Stripe_.ChargeRefundedEvent; + export type ChargeSucceededEvent = Stripe_.ChargeSucceededEvent; + export type ChargeUpdatedEvent = Stripe_.ChargeUpdatedEvent; + export type CheckoutSessionAsyncPaymentFailedEvent = Stripe_.CheckoutSessionAsyncPaymentFailedEvent; + export type CheckoutSessionAsyncPaymentSucceededEvent = Stripe_.CheckoutSessionAsyncPaymentSucceededEvent; + export type CheckoutSessionCompletedEvent = Stripe_.CheckoutSessionCompletedEvent; + export type CheckoutSessionExpiredEvent = Stripe_.CheckoutSessionExpiredEvent; + export type ClimateOrderCanceledEvent = Stripe_.ClimateOrderCanceledEvent; + export type ClimateOrderCreatedEvent = Stripe_.ClimateOrderCreatedEvent; + export type ClimateOrderDelayedEvent = Stripe_.ClimateOrderDelayedEvent; + export type ClimateOrderDeliveredEvent = Stripe_.ClimateOrderDeliveredEvent; + export type ClimateOrderProductSubstitutedEvent = Stripe_.ClimateOrderProductSubstitutedEvent; + export type ClimateProductCreatedEvent = Stripe_.ClimateProductCreatedEvent; + export type ClimateProductPricingUpdatedEvent = Stripe_.ClimateProductPricingUpdatedEvent; + export type CouponCreatedEvent = Stripe_.CouponCreatedEvent; + export type CouponDeletedEvent = Stripe_.CouponDeletedEvent; + export type CouponUpdatedEvent = Stripe_.CouponUpdatedEvent; + export type CreditNoteCreatedEvent = Stripe_.CreditNoteCreatedEvent; + export type CreditNoteUpdatedEvent = Stripe_.CreditNoteUpdatedEvent; + export type CreditNoteVoidedEvent = Stripe_.CreditNoteVoidedEvent; + export type CustomerCreatedEvent = Stripe_.CustomerCreatedEvent; + export type CustomerDeletedEvent = Stripe_.CustomerDeletedEvent; + export type CustomerDiscountCreatedEvent = Stripe_.CustomerDiscountCreatedEvent; + export type CustomerDiscountDeletedEvent = Stripe_.CustomerDiscountDeletedEvent; + export type CustomerDiscountUpdatedEvent = Stripe_.CustomerDiscountUpdatedEvent; + export type CustomerSourceCreatedEvent = Stripe_.CustomerSourceCreatedEvent; + export type CustomerSourceDeletedEvent = Stripe_.CustomerSourceDeletedEvent; + export type CustomerSourceExpiringEvent = Stripe_.CustomerSourceExpiringEvent; + export type CustomerSourceUpdatedEvent = Stripe_.CustomerSourceUpdatedEvent; + export type CustomerSubscriptionCollectionPausedEvent = Stripe_.CustomerSubscriptionCollectionPausedEvent; + export type CustomerSubscriptionCollectionResumedEvent = Stripe_.CustomerSubscriptionCollectionResumedEvent; + export type CustomerSubscriptionCreatedEvent = Stripe_.CustomerSubscriptionCreatedEvent; + export type CustomerSubscriptionCustomEventEvent = Stripe_.CustomerSubscriptionCustomEventEvent; + export type CustomerSubscriptionDeletedEvent = Stripe_.CustomerSubscriptionDeletedEvent; + export type CustomerSubscriptionPausedEvent = Stripe_.CustomerSubscriptionPausedEvent; + export type CustomerSubscriptionPendingUpdateAppliedEvent = Stripe_.CustomerSubscriptionPendingUpdateAppliedEvent; + export type CustomerSubscriptionPendingUpdateExpiredEvent = Stripe_.CustomerSubscriptionPendingUpdateExpiredEvent; + export type CustomerSubscriptionPriceMigrationFailedEvent = Stripe_.CustomerSubscriptionPriceMigrationFailedEvent; + export type CustomerSubscriptionResumedEvent = Stripe_.CustomerSubscriptionResumedEvent; + export type CustomerSubscriptionTrialWillEndEvent = Stripe_.CustomerSubscriptionTrialWillEndEvent; + export type CustomerSubscriptionUpdatedEvent = Stripe_.CustomerSubscriptionUpdatedEvent; + export type CustomerTaxIdCreatedEvent = Stripe_.CustomerTaxIdCreatedEvent; + export type CustomerTaxIdDeletedEvent = Stripe_.CustomerTaxIdDeletedEvent; + export type CustomerTaxIdUpdatedEvent = Stripe_.CustomerTaxIdUpdatedEvent; + export type CustomerUpdatedEvent = Stripe_.CustomerUpdatedEvent; + export type CustomerCashBalanceTransactionCreatedEvent = Stripe_.CustomerCashBalanceTransactionCreatedEvent; + export type EntitlementsActiveEntitlementSummaryUpdatedEvent = Stripe_.EntitlementsActiveEntitlementSummaryUpdatedEvent; + export type FileCreatedEvent = Stripe_.FileCreatedEvent; + export type FinancialConnectionsAccountAccountNumbersUpdatedEvent = Stripe_.FinancialConnectionsAccountAccountNumbersUpdatedEvent; + export type FinancialConnectionsAccountCreatedEvent = Stripe_.FinancialConnectionsAccountCreatedEvent; + export type FinancialConnectionsAccountDeactivatedEvent = Stripe_.FinancialConnectionsAccountDeactivatedEvent; + export type FinancialConnectionsAccountDisconnectedEvent = Stripe_.FinancialConnectionsAccountDisconnectedEvent; + export type FinancialConnectionsAccountReactivatedEvent = Stripe_.FinancialConnectionsAccountReactivatedEvent; + export type FinancialConnectionsAccountRefreshedBalanceEvent = Stripe_.FinancialConnectionsAccountRefreshedBalanceEvent; + export type FinancialConnectionsAccountRefreshedInferredBalancesEvent = Stripe_.FinancialConnectionsAccountRefreshedInferredBalancesEvent; + export type FinancialConnectionsAccountRefreshedOwnershipEvent = Stripe_.FinancialConnectionsAccountRefreshedOwnershipEvent; + export type FinancialConnectionsAccountRefreshedTransactionsEvent = Stripe_.FinancialConnectionsAccountRefreshedTransactionsEvent; + export type FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent = Stripe_.FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent; + export type FinancialConnectionsSessionUpdatedEvent = Stripe_.FinancialConnectionsSessionUpdatedEvent; + export type FxQuoteExpiredEvent = Stripe_.FxQuoteExpiredEvent; + export type IdentityVerificationSessionCanceledEvent = Stripe_.IdentityVerificationSessionCanceledEvent; + export type IdentityVerificationSessionCreatedEvent = Stripe_.IdentityVerificationSessionCreatedEvent; + export type IdentityVerificationSessionProcessingEvent = Stripe_.IdentityVerificationSessionProcessingEvent; + export type IdentityVerificationSessionRedactedEvent = Stripe_.IdentityVerificationSessionRedactedEvent; + export type IdentityVerificationSessionRequiresInputEvent = Stripe_.IdentityVerificationSessionRequiresInputEvent; + export type IdentityVerificationSessionVerifiedEvent = Stripe_.IdentityVerificationSessionVerifiedEvent; + export type InvoiceCreatedEvent = Stripe_.InvoiceCreatedEvent; + export type InvoiceDeletedEvent = Stripe_.InvoiceDeletedEvent; + export type InvoiceFinalizationFailedEvent = Stripe_.InvoiceFinalizationFailedEvent; + export type InvoiceFinalizedEvent = Stripe_.InvoiceFinalizedEvent; + export type InvoiceMarkedUncollectibleEvent = Stripe_.InvoiceMarkedUncollectibleEvent; + export type InvoiceOverdueEvent = Stripe_.InvoiceOverdueEvent; + export type InvoiceOverpaidEvent = Stripe_.InvoiceOverpaidEvent; + export type InvoicePaidEvent = Stripe_.InvoicePaidEvent; + export type InvoicePaymentOverpaidEvent = Stripe_.InvoicePaymentOverpaidEvent; + export type InvoicePaymentActionRequiredEvent = Stripe_.InvoicePaymentActionRequiredEvent; + export type InvoicePaymentAttemptRequiredEvent = Stripe_.InvoicePaymentAttemptRequiredEvent; + export type InvoicePaymentFailedEvent = Stripe_.InvoicePaymentFailedEvent; + export type InvoicePaymentSucceededEvent = Stripe_.InvoicePaymentSucceededEvent; + export type InvoiceSentEvent = Stripe_.InvoiceSentEvent; + export type InvoiceUpcomingEvent = Stripe_.InvoiceUpcomingEvent; + export type InvoiceUpdatedEvent = Stripe_.InvoiceUpdatedEvent; + export type InvoiceVoidedEvent = Stripe_.InvoiceVoidedEvent; + export type InvoiceWillBeDueEvent = Stripe_.InvoiceWillBeDueEvent; + export type InvoicePaymentDetachedEvent = Stripe_.InvoicePaymentDetachedEvent; + export type InvoicePaymentPaidEvent = Stripe_.InvoicePaymentPaidEvent; + export type InvoiceItemCreatedEvent = Stripe_.InvoiceItemCreatedEvent; + export type InvoiceItemDeletedEvent = Stripe_.InvoiceItemDeletedEvent; + export type IssuingAuthorizationCreatedEvent = Stripe_.IssuingAuthorizationCreatedEvent; + export type IssuingAuthorizationRequestEvent = Stripe_.IssuingAuthorizationRequestEvent; + export type IssuingAuthorizationUpdatedEvent = Stripe_.IssuingAuthorizationUpdatedEvent; + export type IssuingCardCreatedEvent = Stripe_.IssuingCardCreatedEvent; + export type IssuingCardUpdatedEvent = Stripe_.IssuingCardUpdatedEvent; + export type IssuingCardholderCreatedEvent = Stripe_.IssuingCardholderCreatedEvent; + export type IssuingCardholderUpdatedEvent = Stripe_.IssuingCardholderUpdatedEvent; + export type IssuingDisputeClosedEvent = Stripe_.IssuingDisputeClosedEvent; + export type IssuingDisputeCreatedEvent = Stripe_.IssuingDisputeCreatedEvent; + export type IssuingDisputeFundsReinstatedEvent = Stripe_.IssuingDisputeFundsReinstatedEvent; + export type IssuingDisputeFundsRescindedEvent = Stripe_.IssuingDisputeFundsRescindedEvent; + export type IssuingDisputeSubmittedEvent = Stripe_.IssuingDisputeSubmittedEvent; + export type IssuingDisputeUpdatedEvent = Stripe_.IssuingDisputeUpdatedEvent; + export type IssuingDisputeSettlementDetailCreatedEvent = Stripe_.IssuingDisputeSettlementDetailCreatedEvent; + export type IssuingDisputeSettlementDetailUpdatedEvent = Stripe_.IssuingDisputeSettlementDetailUpdatedEvent; + export type IssuingFraudLiabilityDebitCreatedEvent = Stripe_.IssuingFraudLiabilityDebitCreatedEvent; + export type IssuingPersonalizationDesignActivatedEvent = Stripe_.IssuingPersonalizationDesignActivatedEvent; + export type IssuingPersonalizationDesignDeactivatedEvent = Stripe_.IssuingPersonalizationDesignDeactivatedEvent; + export type IssuingPersonalizationDesignRejectedEvent = Stripe_.IssuingPersonalizationDesignRejectedEvent; + export type IssuingPersonalizationDesignUpdatedEvent = Stripe_.IssuingPersonalizationDesignUpdatedEvent; + export type IssuingSettlementCreatedEvent = Stripe_.IssuingSettlementCreatedEvent; + export type IssuingSettlementUpdatedEvent = Stripe_.IssuingSettlementUpdatedEvent; + export type IssuingTokenCreatedEvent = Stripe_.IssuingTokenCreatedEvent; + export type IssuingTokenUpdatedEvent = Stripe_.IssuingTokenUpdatedEvent; + export type IssuingTransactionCreatedEvent = Stripe_.IssuingTransactionCreatedEvent; + export type IssuingTransactionPurchaseDetailsReceiptUpdatedEvent = Stripe_.IssuingTransactionPurchaseDetailsReceiptUpdatedEvent; + export type IssuingTransactionUpdatedEvent = Stripe_.IssuingTransactionUpdatedEvent; + export type MandateUpdatedEvent = Stripe_.MandateUpdatedEvent; + export type PaymentIntentAmountCapturableUpdatedEvent = Stripe_.PaymentIntentAmountCapturableUpdatedEvent; + export type PaymentIntentCanceledEvent = Stripe_.PaymentIntentCanceledEvent; + export type PaymentIntentCreatedEvent = Stripe_.PaymentIntentCreatedEvent; + export type PaymentIntentExpiredEvent = Stripe_.PaymentIntentExpiredEvent; + export type PaymentIntentPartiallyFundedEvent = Stripe_.PaymentIntentPartiallyFundedEvent; + export type PaymentIntentPaymentFailedEvent = Stripe_.PaymentIntentPaymentFailedEvent; + export type PaymentIntentProcessingEvent = Stripe_.PaymentIntentProcessingEvent; + export type PaymentIntentRequiresActionEvent = Stripe_.PaymentIntentRequiresActionEvent; + export type PaymentIntentSucceededEvent = Stripe_.PaymentIntentSucceededEvent; + export type PaymentLinkCreatedEvent = Stripe_.PaymentLinkCreatedEvent; + export type PaymentLinkUpdatedEvent = Stripe_.PaymentLinkUpdatedEvent; + export type PaymentMethodAttachedEvent = Stripe_.PaymentMethodAttachedEvent; + export type PaymentMethodAutomaticallyUpdatedEvent = Stripe_.PaymentMethodAutomaticallyUpdatedEvent; + export type PaymentMethodDetachedEvent = Stripe_.PaymentMethodDetachedEvent; + export type PaymentMethodUpdatedEvent = Stripe_.PaymentMethodUpdatedEvent; + export type PayoutCanceledEvent = Stripe_.PayoutCanceledEvent; + export type PayoutCreatedEvent = Stripe_.PayoutCreatedEvent; + export type PayoutFailedEvent = Stripe_.PayoutFailedEvent; + export type PayoutPaidEvent = Stripe_.PayoutPaidEvent; + export type PayoutReconciliationCompletedEvent = Stripe_.PayoutReconciliationCompletedEvent; + export type PayoutUpdatedEvent = Stripe_.PayoutUpdatedEvent; + export type PersonCreatedEvent = Stripe_.PersonCreatedEvent; + export type PersonDeletedEvent = Stripe_.PersonDeletedEvent; + export type PersonUpdatedEvent = Stripe_.PersonUpdatedEvent; + export type PlanCreatedEvent = Stripe_.PlanCreatedEvent; + export type PlanDeletedEvent = Stripe_.PlanDeletedEvent; + export type PlanUpdatedEvent = Stripe_.PlanUpdatedEvent; + export type PriceCreatedEvent = Stripe_.PriceCreatedEvent; + export type PriceDeletedEvent = Stripe_.PriceDeletedEvent; + export type PriceUpdatedEvent = Stripe_.PriceUpdatedEvent; + export type PrivacyRedactionJobCanceledEvent = Stripe_.PrivacyRedactionJobCanceledEvent; + export type PrivacyRedactionJobCreatedEvent = Stripe_.PrivacyRedactionJobCreatedEvent; + export type PrivacyRedactionJobReadyEvent = Stripe_.PrivacyRedactionJobReadyEvent; + export type PrivacyRedactionJobSucceededEvent = Stripe_.PrivacyRedactionJobSucceededEvent; + export type PrivacyRedactionJobValidationErrorEvent = Stripe_.PrivacyRedactionJobValidationErrorEvent; + export type ProductCreatedEvent = Stripe_.ProductCreatedEvent; + export type ProductDeletedEvent = Stripe_.ProductDeletedEvent; + export type ProductUpdatedEvent = Stripe_.ProductUpdatedEvent; + export type PromotionCodeCreatedEvent = Stripe_.PromotionCodeCreatedEvent; + export type PromotionCodeUpdatedEvent = Stripe_.PromotionCodeUpdatedEvent; + export type QuoteAcceptFailedEvent = Stripe_.QuoteAcceptFailedEvent; + export type QuoteAcceptedEvent = Stripe_.QuoteAcceptedEvent; + export type QuoteAcceptingEvent = Stripe_.QuoteAcceptingEvent; + export type QuoteCanceledEvent = Stripe_.QuoteCanceledEvent; + export type QuoteCreatedEvent = Stripe_.QuoteCreatedEvent; + export type QuoteDraftEvent = Stripe_.QuoteDraftEvent; + export type QuoteFinalizedEvent = Stripe_.QuoteFinalizedEvent; + export type QuoteReestimateFailedEvent = Stripe_.QuoteReestimateFailedEvent; + export type QuoteReestimatedEvent = Stripe_.QuoteReestimatedEvent; + export type QuoteStaleEvent = Stripe_.QuoteStaleEvent; + export type RadarEarlyFraudWarningCreatedEvent = Stripe_.RadarEarlyFraudWarningCreatedEvent; + export type RadarEarlyFraudWarningUpdatedEvent = Stripe_.RadarEarlyFraudWarningUpdatedEvent; + export type RefundCreatedEvent = Stripe_.RefundCreatedEvent; + export type RefundFailedEvent = Stripe_.RefundFailedEvent; + export type RefundUpdatedEvent = Stripe_.RefundUpdatedEvent; + export type ReportingReportRunFailedEvent = Stripe_.ReportingReportRunFailedEvent; + export type ReportingReportRunSucceededEvent = Stripe_.ReportingReportRunSucceededEvent; + export type ReportingReportTypeUpdatedEvent = Stripe_.ReportingReportTypeUpdatedEvent; + export type ReserveHoldCreatedEvent = Stripe_.ReserveHoldCreatedEvent; + export type ReserveHoldUpdatedEvent = Stripe_.ReserveHoldUpdatedEvent; + export type ReservePlanCreatedEvent = Stripe_.ReservePlanCreatedEvent; + export type ReservePlanDisabledEvent = Stripe_.ReservePlanDisabledEvent; + export type ReservePlanExpiredEvent = Stripe_.ReservePlanExpiredEvent; + export type ReservePlanUpdatedEvent = Stripe_.ReservePlanUpdatedEvent; + export type ReserveReleaseCreatedEvent = Stripe_.ReserveReleaseCreatedEvent; + export type ReviewClosedEvent = Stripe_.ReviewClosedEvent; + export type ReviewOpenedEvent = Stripe_.ReviewOpenedEvent; + export type SetupIntentCanceledEvent = Stripe_.SetupIntentCanceledEvent; + export type SetupIntentCreatedEvent = Stripe_.SetupIntentCreatedEvent; + export type SetupIntentRequiresActionEvent = Stripe_.SetupIntentRequiresActionEvent; + export type SetupIntentSetupFailedEvent = Stripe_.SetupIntentSetupFailedEvent; + export type SetupIntentSucceededEvent = Stripe_.SetupIntentSucceededEvent; + export type SigmaScheduledQueryRunCreatedEvent = Stripe_.SigmaScheduledQueryRunCreatedEvent; + export type SourceCanceledEvent = Stripe_.SourceCanceledEvent; + export type SourceChargeableEvent = Stripe_.SourceChargeableEvent; + export type SourceFailedEvent = Stripe_.SourceFailedEvent; + export type SourceMandateNotificationEvent = Stripe_.SourceMandateNotificationEvent; + export type SourceRefundAttributesRequiredEvent = Stripe_.SourceRefundAttributesRequiredEvent; + export type SourceTransactionCreatedEvent = Stripe_.SourceTransactionCreatedEvent; + export type SourceTransactionUpdatedEvent = Stripe_.SourceTransactionUpdatedEvent; + export type SubscriptionScheduleAbortedEvent = Stripe_.SubscriptionScheduleAbortedEvent; + export type SubscriptionScheduleCanceledEvent = Stripe_.SubscriptionScheduleCanceledEvent; + export type SubscriptionScheduleCompletedEvent = Stripe_.SubscriptionScheduleCompletedEvent; + export type SubscriptionScheduleCreatedEvent = Stripe_.SubscriptionScheduleCreatedEvent; + export type SubscriptionScheduleExpiringEvent = Stripe_.SubscriptionScheduleExpiringEvent; + export type SubscriptionSchedulePriceMigrationFailedEvent = Stripe_.SubscriptionSchedulePriceMigrationFailedEvent; + export type SubscriptionScheduleReleasedEvent = Stripe_.SubscriptionScheduleReleasedEvent; + export type SubscriptionScheduleUpdatedEvent = Stripe_.SubscriptionScheduleUpdatedEvent; + export type TaxFormUpdatedEvent = Stripe_.TaxFormUpdatedEvent; + export type TaxSettingsUpdatedEvent = Stripe_.TaxSettingsUpdatedEvent; + export type TaxRateCreatedEvent = Stripe_.TaxRateCreatedEvent; + export type TaxRateUpdatedEvent = Stripe_.TaxRateUpdatedEvent; + export type TerminalReaderActionFailedEvent = Stripe_.TerminalReaderActionFailedEvent; + export type TerminalReaderActionSucceededEvent = Stripe_.TerminalReaderActionSucceededEvent; + export type TerminalReaderActionUpdatedEvent = Stripe_.TerminalReaderActionUpdatedEvent; + export type TestHelpersTestClockAdvancingEvent = Stripe_.TestHelpersTestClockAdvancingEvent; + export type TestHelpersTestClockCreatedEvent = Stripe_.TestHelpersTestClockCreatedEvent; + export type TestHelpersTestClockDeletedEvent = Stripe_.TestHelpersTestClockDeletedEvent; + export type TestHelpersTestClockInternalFailureEvent = Stripe_.TestHelpersTestClockInternalFailureEvent; + export type TestHelpersTestClockReadyEvent = Stripe_.TestHelpersTestClockReadyEvent; + export type TopupCanceledEvent = Stripe_.TopupCanceledEvent; + export type TopupCreatedEvent = Stripe_.TopupCreatedEvent; + export type TopupFailedEvent = Stripe_.TopupFailedEvent; + export type TopupReversedEvent = Stripe_.TopupReversedEvent; + export type TopupSucceededEvent = Stripe_.TopupSucceededEvent; + export type TransferCreatedEvent = Stripe_.TransferCreatedEvent; + export type TransferReversedEvent = Stripe_.TransferReversedEvent; + export type TransferUpdatedEvent = Stripe_.TransferUpdatedEvent; + export type TreasuryCreditReversalCreatedEvent = Stripe_.TreasuryCreditReversalCreatedEvent; + export type TreasuryCreditReversalPostedEvent = Stripe_.TreasuryCreditReversalPostedEvent; + export type TreasuryDebitReversalCompletedEvent = Stripe_.TreasuryDebitReversalCompletedEvent; + export type TreasuryDebitReversalCreatedEvent = Stripe_.TreasuryDebitReversalCreatedEvent; + export type TreasuryDebitReversalInitialCreditGrantedEvent = Stripe_.TreasuryDebitReversalInitialCreditGrantedEvent; + export type TreasuryFinancialAccountClosedEvent = Stripe_.TreasuryFinancialAccountClosedEvent; + export type TreasuryFinancialAccountCreatedEvent = Stripe_.TreasuryFinancialAccountCreatedEvent; + export type TreasuryFinancialAccountFeaturesStatusUpdatedEvent = Stripe_.TreasuryFinancialAccountFeaturesStatusUpdatedEvent; + export type TreasuryInboundTransferCanceledEvent = Stripe_.TreasuryInboundTransferCanceledEvent; + export type TreasuryInboundTransferCreatedEvent = Stripe_.TreasuryInboundTransferCreatedEvent; + export type TreasuryInboundTransferFailedEvent = Stripe_.TreasuryInboundTransferFailedEvent; + export type TreasuryInboundTransferSucceededEvent = Stripe_.TreasuryInboundTransferSucceededEvent; + export type TreasuryOutboundPaymentCanceledEvent = Stripe_.TreasuryOutboundPaymentCanceledEvent; + export type TreasuryOutboundPaymentCreatedEvent = Stripe_.TreasuryOutboundPaymentCreatedEvent; + export type TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent = Stripe_.TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent; + export type TreasuryOutboundPaymentFailedEvent = Stripe_.TreasuryOutboundPaymentFailedEvent; + export type TreasuryOutboundPaymentPostedEvent = Stripe_.TreasuryOutboundPaymentPostedEvent; + export type TreasuryOutboundPaymentReturnedEvent = Stripe_.TreasuryOutboundPaymentReturnedEvent; + export type TreasuryOutboundPaymentTrackingDetailsUpdatedEvent = Stripe_.TreasuryOutboundPaymentTrackingDetailsUpdatedEvent; + export type TreasuryOutboundTransferCanceledEvent = Stripe_.TreasuryOutboundTransferCanceledEvent; + export type TreasuryOutboundTransferCreatedEvent = Stripe_.TreasuryOutboundTransferCreatedEvent; + export type TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent = Stripe_.TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent; + export type TreasuryOutboundTransferFailedEvent = Stripe_.TreasuryOutboundTransferFailedEvent; + export type TreasuryOutboundTransferPostedEvent = Stripe_.TreasuryOutboundTransferPostedEvent; + export type TreasuryOutboundTransferReturnedEvent = Stripe_.TreasuryOutboundTransferReturnedEvent; + export type TreasuryOutboundTransferTrackingDetailsUpdatedEvent = Stripe_.TreasuryOutboundTransferTrackingDetailsUpdatedEvent; + export type TreasuryReceivedCreditCreatedEvent = Stripe_.TreasuryReceivedCreditCreatedEvent; + export type TreasuryReceivedCreditFailedEvent = Stripe_.TreasuryReceivedCreditFailedEvent; + export type TreasuryReceivedCreditSucceededEvent = Stripe_.TreasuryReceivedCreditSucceededEvent; + export type TreasuryReceivedDebitCreatedEvent = Stripe_.TreasuryReceivedDebitCreatedEvent; + export type V2List = Stripe_.V2List; + export type V2ListPromise = Stripe_.V2ListPromise; // StripeInterfaceCJSExports: The end of the section generated from our OpenAPI spec export type Response = Stripe_.Response;